:root,:root[data-theme-version=light]{--ink: rgba(47, 43, 61, .78);--heading: #2f2b3d;--primary: #7367f0;--primary-ink: #ffffff;--primary-soft: rgba(115, 103, 240, .16);--secondary: #a8aaae;--paper: #f8f7fa;--panel: #ffffff;--line: rgba(47, 43, 61, .16);--muted: rgba(47, 43, 61, .68);--live: #28c76f;--warn: #ff9f43;--info: #00cfe8;--danger: #ea5455;--shadow: 0 2px 6px rgba(47, 43, 61, .12);--sidebar: #ffffff;--sidebar-ink: rgba(47, 43, 61, .78);--sidebar-active: #7367f0;--topbar: #ffffff;--radius: 6px;--font: "Public Sans", Arial, Helvetica, sans-serif;color:var(--muted);background:var(--paper);font-family:var(--font);line-height:1.5}:root[data-theme-version=dark]{--ink: #f3f4f6;--heading: #ffffff;--primary-ink: #ffffff;--primary-soft: rgba(37, 99, 235, .18);--paper: #25293c;--panel: #2f3349;--line: rgba(208, 212, 241, .16);--muted: rgba(208, 212, 241, .68);--shadow: 0 10px 28px rgba(15, 20, 34, .28);--sidebar: #2f3349;--sidebar-ink: rgba(208, 212, 241, .78);--sidebar-active: #7367f0;--topbar: #2f3349}:root[data-primary=color_2]{--primary: #5e72e4;--primary-ink: #ffffff;--primary-soft: rgba(94, 114, 228, .14)}:root[data-primary=color_3]{--primary: #864ad1;--primary-ink: #ffffff;--primary-soft: rgba(134, 74, 209, .16)}:root[data-primary=color_4]{--primary: #20c997;--primary-ink: #063226;--primary-soft: rgba(32, 201, 151, .16)}:root[data-theme-version=dark][data-primary=color_2]{--primary-ink: #ffffff}:root[data-theme-version=dark][data-primary=color_4]{--primary-ink: #063226}:root[data-typography=arial]{--font: Arial, Helvetica, sans-serif}:root[data-typography=poppins]{--font: Arial, Helvetica, sans-serif}:root[data-typography=roboto]{--font: "Roboto", sans-serif}:root[data-typography=jakarta]{--font: "Plus Jakarta Sans", sans-serif}*{box-sizing:border-box}html{font-size:16.5px;-webkit-text-size-adjust:100%}html,body,#root{min-height:100%;margin:0}body{background:var(--paper);color:var(--muted);font-family:var(--font);font-size:.94rem}body,button,input,select,textarea,optgroup,table,th,td,h1,h2,h3,h4,h5,h6,p,span,a,label{font-family:Public Sans,Arial,Helvetica,sans-serif}h1,h2,h3{font-weight:700;margin:0;letter-spacing:-.02em;color:var(--heading)}h1{font-size:clamp(1.6rem,2.4vw,2.1rem)}h2{font-size:1.15rem}p{margin:0}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit;color:inherit}.brand-lockup{display:inline-flex;align-items:center;gap:.7rem}.brand-wordmark{font-weight:700;font-size:1.15rem;letter-spacing:-.03em;line-height:1.05;white-space:nowrap}.sidebar .brand-wordmark{display:grid;white-space:normal;font-size:1.05rem}.login-card .brand-lockup{margin-bottom:1.2rem}.login-story .brand-lockup{margin-bottom:1.8rem}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:.78rem;font-weight:600;color:var(--primary);margin:0 0 .45rem}.lede,.muted{color:var(--muted)}.lede{max-width:56ch;margin-top:.35rem;font-size:.92rem}.btn{border:0;border-radius:var(--radius);padding:.7rem 1.1rem;background:var(--primary);color:var(--primary-ink);font-weight:600;cursor:pointer}.btn:hover{filter:brightness(.96)}.btn.ghost{background:transparent;color:var(--ink);border:1px solid var(--line)}.btn.danger{background:var(--danger);color:#fff}.btn:disabled{opacity:.55;cursor:wait}.field{display:grid;gap:.35rem;margin-bottom:.9rem}.field span,.field-hint{color:var(--muted);font-size:.88rem;font-weight:600}input,select,textarea{width:100%;box-sizing:border-box;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:.65rem .85rem;outline:none;color:var(--ink)}select{box-sizing:border-box!important;min-height:40px;height:40px;line-height:1.4!important;padding:.45rem 2rem .45rem .75rem!important;font-size:.88rem;vertical-align:middle;background-color:#fff;color:#1e293b;cursor:pointer}input:focus,select:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:1.15rem 1.2rem;box-shadow:none}.login-screen{min-height:100vh;position:relative;display:flex;font-family:Inter,system-ui,-apple-system,sans-serif;background:#fff}.login-hero{position:relative;overflow:hidden;flex:1 1 54%;background:linear-gradient(135deg,#7367f0,#9e95f5);color:#fff;padding:64px 80px;display:flex;flex-direction:column;justify-content:space-between;box-sizing:border-box}.login-hero-radar{position:absolute;right:-220px;bottom:-240px;opacity:.5;pointer-events:none}.login-hero-brand{position:relative;display:flex;align-items:center;gap:16px}.login-brand-text{font-family:Space Grotesk,sans-serif;font-weight:700;font-size:28px;letter-spacing:-.015em}.login-hero-content{position:relative;max-width:540px}.login-hero-title{margin:0 0 22px;font-family:Space Grotesk,sans-serif;font-weight:700;font-size:68px;line-height:1.03;letter-spacing:-.03em;color:#fff}.login-hero-desc{margin:0 0 44px;font-size:19px;line-height:1.62;color:#ffffffdb}.login-hero-features{display:flex;flex-direction:column;gap:18px}.login-hero-feature-row{display:flex;align-items:center;gap:16px}.login-feature-icon-box{flex:none;width:44px;height:44px;border-radius:12px;background:#ffffff29;display:flex;align-items:center;justify-content:center}.login-feature-text{font-size:16.5px;color:#fff}.login-formside{flex:1 1 46%;display:flex;align-items:center;justify-content:center;padding:48px;box-sizing:border-box;background:#fff;position:relative}.login-form-box{width:100%;max-width:400px}.login-form-title{margin:0 0 8px;font-family:Public Sans,sans-serif;font-weight:600;font-size:34px;letter-spacing:-.02em;color:#2f2b3d}.login-form-lede{margin:0 0 32px;font-size:15px;line-height:1.55;color:#2f2b3dad}.login-form-fields{display:flex;flex-direction:column;gap:20px}.login-input-group{display:flex;flex-direction:column;gap:8px}.login-input-group label{font-size:14px;font-weight:600;color:#1f2e26}.login-input-wrap{position:relative}.login-input-icon{position:absolute;left:14px;top:15px;pointer-events:none}.login-field{width:100%;height:48px;box-sizing:border-box;padding:0 14px 0 42px;border:1px solid #7D9185;border-radius:10px;font:inherit;font-size:15px;color:#0b1f14;background:#fff;transition:border-color .15s,outline .15s}.login-field.password-input{padding:0 64px 0 42px}.login-field:focus{outline:3px solid #9BE9BD;border-color:#0b7a3e}.login-password-toggle{position:absolute;right:6px;top:6px;height:36px;padding:0 12px;border:0;border-radius:8px;background:transparent;font:inherit;font-size:13px;font-weight:600;color:#0b7a3e;cursor:pointer}.login-forgot-wrap{display:flex;justify-content:flex-end;margin-top:-4px}.login-forgot-link{background:none;border:0;padding:0;font:inherit;font-size:14px;font-weight:600;color:#0b7a3e;cursor:pointer;text-decoration:none}.login-forgot-link:hover{text-decoration:underline}.login-btn-primary{height:50px;border:0;border-radius:6px;background:#7367f0;color:#fff;font:inherit;font-size:16px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;transition:filter .15s}.login-btn-primary:hover{filter:brightness(.95)}.login-btn-primary:focus-visible{outline:3px solid #0B7A3E;outline-offset:2px}.login-btn-primary:disabled{opacity:.65;cursor:not-allowed}.login-footer-text{margin:32px 0 0;font-size:14px;color:#4b5b52;text-align:center}.login-theme{position:absolute;top:1rem;right:1rem;z-index:10}@media(max-width:820px){.login-hero{display:none!important}.login-formside{padding:32px 24px!important}}.password-wrap{position:relative}.password-wrap input{padding-right:4.2rem}.password-toggle{position:absolute;right:.45rem;top:50%;transform:translateY(-50%);border:0;background:transparent;color:var(--primary);font-weight:700;font-size:.78rem;cursor:pointer}.text-link{display:inline-block;margin:0 0 .8rem;border:0;background:none;color:var(--primary);font-weight:700;cursor:pointer;padding:0}.shell{display:grid;grid-template-columns:264px 1fr;min-height:100vh;transition:grid-template-columns .2s ease}.shell.sidebar-collapsed{grid-template-columns:84px 1fr}.shell.layout-horizontal{grid-template-columns:1fr}.workspace{min-width:0;display:flex;flex-direction:column;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;overflow-y:auto;padding:24px 12px 20px;background:var(--sidebar);color:var(--sidebar-ink);display:flex;flex-direction:column;gap:1.1rem;border-right:1px solid var(--line);box-sizing:border-box}.brand{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.2rem .4rem .6rem}.app-nav{display:grid;gap:.2rem}.app-nav a{display:flex;align-items:center;gap:.65rem;padding:.62rem .8rem;border-radius:var(--radius);color:var(--sidebar-ink);font-weight:500}.topbar-nav .app-nav a.active,.topbar-nav .app-nav a:hover{background:var(--sidebar-active);color:var(--heading)}.topbar-nav .app-nav a.active{color:var(--primary);font-weight:600}.nav-short{display:none;font-weight:700;min-width:1.6rem;text-align:center}.shell.sidebar-collapsed .sidebar{padding:1.1rem .55rem}.shell.sidebar-collapsed .nav-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.shell.sidebar-collapsed .nav-short{display:inline-block}.shell.sidebar-collapsed .app-nav a{justify-content:center;padding:.7rem .4rem}.topbar{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.7rem 1.4rem;border-bottom:1px solid var(--line);background:var(--topbar);position:sticky;top:0;z-index:12}.topbar-left,.topbar-right{display:flex;align-items:center;gap:.7rem}.topbar-nav{display:flex;flex:1;min-width:0;overflow:auto}.topbar-nav .app-nav{display:flex;gap:.15rem}.topbar-nav .app-nav a{white-space:nowrap}.topbar-nav .nav-short{display:none}.icon-chip{width:2.3rem;height:2.3rem;border:0;border-radius:12px;background:#7367f01f;color:#7367f0;cursor:pointer;display:grid;place-items:center;font-size:1rem;transition:all .15s ease}.icon-chip:hover{background:#7367f033}.hamburger,.hamburger:before,.hamburger:after{display:block;width:1rem;height:2px;background:#7367f0;border-radius:99px;position:relative}.hamburger:before,.hamburger:after{content:"";position:absolute;left:0}.hamburger:before{top:-5px}.hamburger:after{top:5px}.topbar-account{position:relative}.account-trigger{display:flex;align-items:center;gap:.7rem;border:0;background:transparent;padding:.1rem;cursor:pointer}.avatar{width:2.25rem;height:2.25rem;border-radius:50%;display:grid;place-items:center;background:var(--primary);color:var(--primary-ink);font-size:.82rem;font-weight:700}.topbar-user{display:grid;text-align:left;line-height:1.15;color:var(--heading)}.topbar-user strong{font-size:.95rem}.topbar-user small{color:var(--muted);font-weight:500;font-size:.82rem}.account-menu{position:absolute;right:0;top:calc(100% + .45rem);min-width:220px;background:var(--panel);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);padding:.7rem;display:grid;gap:.25rem}.account-menu-name{font-weight:700;color:var(--heading)}.account-menu a,.account-menu button{display:block;width:100%;text-align:left;border:0;background:transparent;border-radius:8px;padding:.55rem .6rem;cursor:pointer;font-weight:600;color:var(--ink)}.account-menu a:hover,.account-menu button:hover{background:var(--primary-soft);color:var(--heading)}.mobile-nav{padding:.6rem 1rem;border-bottom:1px solid var(--line);background:var(--panel)}.content{padding:1.5rem 1.6rem 2.4rem;flex:1}.page-head{display:flex;justify-content:space-between;gap:1rem;align-items:flex-end;margin-bottom:1.25rem}.row-actions{display:flex;flex-wrap:wrap;gap:.35rem;justify-content:flex-end}a.btn{display:inline-flex;align-items:center;justify-content:center}.stat-grid,.module-grid,.role-grid,.split{display:grid;gap:1rem}.stat-grid,.stat-grid.dense{grid-template-columns:repeat(4,1fr)}.stat-grid .card,.stat-grid .panel{display:grid;gap:.2rem;position:relative;overflow:hidden;padding-top:1.25rem}.stat-grid .panel:before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:var(--stat, var(--primary))}.stat-grid .card strong,.stat-grid .stat-value{font-size:1.7rem;color:var(--heading)}.module-grid,.role-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.split{grid-template-columns:1fr 1fr;margin-top:1rem}.stat-label{color:var(--muted);font-size:.8rem;font-weight:500}.stat-value{font-size:2rem;font-weight:700;color:var(--heading)}.content a{color:var(--primary);font-weight:600}table{width:100%;border-collapse:collapse;margin-top:.8rem}th,td{text-align:left;padding:.75rem .35rem;border-bottom:1px solid var(--line);font-size:.9rem;color:var(--ink)}th{color:var(--muted);font-weight:600}.badge{display:inline-flex;padding:.18rem .6rem;border-radius:999px;background:var(--primary-soft);color:var(--primary);font-size:.82rem;font-weight:700}.badge.live{background:#68cf2929;color:var(--live)}.badge.warn{background:#ffac3029;color:var(--warn)}@keyframes badge-spin{to{transform:rotate(360deg)}}.badge-spinner{display:inline-block;width:10px;height:10px;border:1.5px solid currentColor;border-right-color:transparent;border-radius:50%;animation:badge-spin .75s linear infinite;margin-right:5px;vertical-align:-1px}.card-title{display:flex;justify-content:space-between;gap:.8rem;align-items:flex-start}.perm-list{list-style:none;padding:0;margin:1rem 0 0;display:grid;gap:.55rem}.perm-list li{display:grid;gap:.1rem}.perm-list code,.chip,.check code{font-size:.82rem;color:var(--primary)}.chip-row{display:flex;flex-wrap:wrap;gap:.4rem;margin:1rem 0}.chip{border:1px solid var(--line);border-radius:999px;padding:.2rem .55rem;background:var(--primary-soft)}.empty{padding:1.2rem 0;color:var(--muted)}.error-banner,.notice-banner{padding:.75rem .9rem;border-radius:var(--radius);margin-bottom:1rem}.error-banner{background:#fee2e2;color:#991b1b}.notice-banner{background:#d1fae5;color:#065f46}:root[data-theme-version=dark] .error-banner{background:#ff4c4129;color:#fecaca}:root[data-theme-version=dark] .notice-banner{background:#43dc8029;color:#bbf7d0}.modal-backdrop,.theme-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#1118276b;display:grid;place-items:center;padding:1.5rem;z-index:20;overscroll-behavior:contain!important}.theme-backdrop{justify-content:end;padding:0}.modal{width:min(720px,100%);max-height:88vh;display:flex;flex-direction:column;overflow:hidden;overscroll-behavior:contain!important;background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:1.2rem}.modal-head,.modal-actions{display:flex;justify-content:space-between;align-items:center;gap:.8rem;flex-shrink:0}.modal-body{margin:.85rem 0;overflow-y:auto;flex:1 1 auto;overscroll-behavior:contain;padding-right:.35rem;max-height:calc(85vh - 150px)}.break-tooltip-container{position:relative;display:inline-flex;align-items:center}.break-tooltip-bubble{visibility:hidden;opacity:0;position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%);background:#1e293b;color:#fff;font-size:.75rem;font-weight:600;padding:.3rem .6rem;border-radius:6px;white-space:nowrap;pointer-events:none;z-index:50;transition:opacity .15s ease,visibility .15s ease;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a}.break-tooltip-bubble:after{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border-width:4px;border-style:solid;border-color:#1e293b transparent transparent transparent}.break-tooltip-container:hover .break-tooltip-bubble{visibility:visible;opacity:1}.action-tooltip-container{position:relative;display:inline-flex;align-items:center}.action-tooltip-bubble{visibility:hidden;opacity:0;position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%);background:#0f172a;color:#fff;font-size:.72rem;font-weight:600;padding:.25rem .5rem;border-radius:5px;white-space:nowrap;pointer-events:none;z-index:50;transition:opacity .15s ease,visibility .15s ease;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a}.action-tooltip-bubble:after{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border-width:4px;border-style:solid;border-color:#0f172a transparent transparent transparent}.action-tooltip-container:hover .action-tooltip-bubble{visibility:visible;opacity:1}.status-tooltip-container{position:relative;display:inline-flex;align-items:center}.status-tooltip-bubble{visibility:hidden;opacity:0;position:absolute;bottom:calc(100% + 7px);left:50%;transform:translate(-50%);background:#fff;color:#0f172a;border:1px solid #cbd5e1;font-family:Arial,sans-serif;font-size:.76rem;line-height:1.35;padding:.45rem .7rem;border-radius:6px;pointer-events:none;z-index:60;transition:opacity .15s ease,visibility .15s ease;box-shadow:0 8px 20px -4px #0f172a26,0 2px 4px -1px #0f172a0f;text-align:left;white-space:nowrap}.status-tooltip-bubble:after{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border-width:5px;border-style:solid;border-color:#ffffff transparent transparent transparent;filter:drop-shadow(0 1px 1px rgba(0,0,0,.1))}.status-tooltip-container:hover .status-tooltip-bubble{visibility:visible;opacity:1}.icon-btn{border:0;background:transparent;color:var(--ink);font-size:1.5rem;cursor:pointer}.perm-picker{display:grid;gap:.8rem}.perm-picker fieldset{border:1px solid var(--line);border-radius:12px;padding:.7rem .9rem}.perm-picker legend{color:var(--primary);padding:0 .3rem;font-weight:700}.check{display:flex;gap:.6rem;align-items:flex-start;margin:.45rem 0}.check input{width:auto;margin-top:.25rem}.check span{display:grid}.filters{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem}.filters.triple{grid-template-columns:1.4fr 1fr 1fr}.filters.audit-filters{grid-template-columns:1fr 1.1fr 1fr 1fr 1fr}.filters.attendance-filters{grid-template-columns:1.2fr 1.1fr 1fr 1fr}.filters.device-filters{grid-template-columns:repeat(4,minmax(0,1fr))}.hierarchy-tree{display:grid;gap:1rem;margin-top:1rem}.hierarchy-floor{margin:.85rem 0 0;padding-top:.7rem;border-top:1px solid var(--line)}.setup-doc article{display:grid;gap:.75rem}.setup-doc h3,.setup-doc h4{margin:.4rem 0 0}.setup-doc ol,.setup-doc ul{margin:0;padding-left:1.2rem;display:grid;gap:.35rem}.setup-doc pre{overflow:auto;background:var(--primary-soft);padding:.75rem .9rem;border-radius:var(--radius)}.recon-bar{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}.pager{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;margin-top:1rem}.pager select{width:auto}.boot{min-height:100vh;display:grid;place-items:center;color:var(--primary);font-weight:800;font-size:1.6rem}.theme-panel{width:min(360px,100%);height:100%;overflow:auto;background:var(--panel);border-left:1px solid var(--line);padding:1.2rem 1.15rem 2rem;box-shadow:var(--shadow)}.theme-panel-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1.2rem}.theme-panel section{margin-bottom:1.2rem}.theme-panel h3{font-size:.82rem;margin-bottom:.55rem;color:var(--muted);font-weight:600}.theme-choices{display:flex;gap:.45rem}.theme-choices.wrap{flex-wrap:wrap}.theme-choices button{flex:1;border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:999px;padding:.5rem .7rem;cursor:pointer;font-weight:600}.theme-choices button.active{background:var(--primary);color:var(--primary-ink);border-color:var(--primary)}.theme-swatches{display:flex;gap:.55rem}.theme-swatches button{width:1.7rem;height:1.7rem;border-radius:50%;border:2px solid transparent;cursor:pointer}.theme-swatches button.active{box-shadow:0 0 0 3px var(--panel),0 0 0 5px var(--ink)}.toast-host{position:fixed;z-index:500;display:grid;gap:.55rem;width:min(360px,calc(100vw - 2rem));pointer-events:none}.toast-host.top-right{top:1.2rem;right:1.2rem}.toast-host.top-left{top:1.2rem;left:1.2rem}.toast-host.top-center{top:1.2rem;left:50%;transform:translate(-50%)}.toast-host.bottom-right{bottom:1.2rem;right:1.2rem}.toast-host.bottom-left{bottom:1.2rem;left:1.2rem}.toast-host.bottom-center{bottom:1.2rem;left:50%;transform:translate(-50%)}.toast{margin:0;pointer-events:auto;padding:.85rem 1rem;border-radius:10px;background:#7367f0;color:#fff;font-weight:700;box-shadow:var(--shadow)}.toast.error{background:#ea5455;color:#fff}.toast.warn{background:#ff9f43;color:#fff}.toast.info{background:#7367f0;color:#fff}@media(max-width:1100px){.topbar-nav{display:none}.shell.layout-horizontal .mobile-nav{display:block}}@media(max-width:960px){.shell,.shell.sidebar-collapsed,.stat-grid,.stat-grid.dense,.split,.filters,.filters.triple,.filters.audit-filters,.filters.attendance-filters,.filters.device-filters{grid-template-columns:1fr}.topbar{padding:.7rem 1rem}.content{padding:1rem}.shell:not(.layout-horizontal){grid-template-columns:1fr}.shell:not(.layout-horizontal) .sidebar{display:none}.topbar-user{display:none}}.stitch-kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-bottom:1.25rem}.stitch-kpi-card{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:1.1rem 1.25rem;display:flex;align-items:center;justify-content:space-between;box-shadow:0 1px 3px #0000000d;transition:transform .15s ease,box-shadow .15s ease}.stitch-kpi-card:hover{transform:translateY(-1px);box-shadow:0 4px 12px #00000014}.stitch-kpi-info{display:flex;flex-direction:column}.stitch-kpi-label{font-size:.82rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:0}.stitch-kpi-val-row{display:flex;align-items:baseline;gap:.5rem;margin-top:.25rem}.stitch-kpi-val{font-size:1.85rem;font-weight:700;color:var(--heading);line-height:1.1;margin:0}.stitch-kpi-badge{font-size:.82rem;font-weight:600;padding:.18rem .55rem;border-radius:9999px}.stitch-kpi-badge.emerald{background:#10b9811f;color:#10b981}.stitch-kpi-badge.amber{background:#f59e0b1f;color:#d97706}.stitch-kpi-sub{font-size:.84rem;color:var(--muted);margin-top:.3rem;font-weight:500}.stitch-kpi-sub.highlight{color:#10b981;font-weight:600}.stitch-kpi-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.stitch-kpi-icon.brand,.stitch-kpi-icon.emerald{background:#10b9811a;color:#10b981}.stitch-kpi-icon.amber{background:#f59e0b1a;color:#d97706}.stitch-kpi-icon.blue{background:#3b82f61a;color:#3b82f6}.stitch-pulse-dot{position:relative;display:inline-flex;width:10px;height:10px}.stitch-pulse-dot:before{content:"";position:absolute;top:-3px;right:-3px;bottom:-3px;left:-3px;border-radius:50%;background-color:#10b981;opacity:.75;animation:stitch-pulse 2s cubic-bezier(0,0,.2,1) infinite}.stitch-pulse-dot:after{content:"";position:relative;width:10px;height:10px;border-radius:50%;background-color:#10b981}@keyframes stitch-pulse{75%,to{transform:scale(2);opacity:0}}.stitch-filter-panel{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:1rem 1.25rem;margin-bottom:1.25rem;box-shadow:0 1px 3px #0000000d;display:flex;flex-direction:column;gap:.85rem}.stitch-filter-grid{display:grid;grid-template-columns:minmax(180px,1.35fr) minmax(140px,1.15fr) minmax(125px,1.05fr) minmax(100px,.85fr) minmax(100px,.85fr) minmax(100px,.85fr);gap:.65rem;align-items:center}.stitch-search-box{position:relative;display:flex;align-items:center}.stitch-search-icon{position:absolute;left:.75rem;width:16px;height:16px;color:var(--muted);pointer-events:none}.stitch-search-input{width:100%;padding-left:2.3rem!important;font-size:.92rem;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);color:var(--ink)}.stitch-search-input:focus{background:var(--panel);border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.stitch-select{font-size:.9rem;padding:.65rem .8rem;border-radius:var(--radius);background:var(--paper);border:1px solid var(--line);color:var(--ink);outline:none}.stitch-select:focus{background:var(--panel);border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.stitch-hierarchy-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;padding-top:.75rem;border-top:1px solid var(--line);font-size:.88rem}.stitch-hierarchy-scopes{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem}.stitch-hierarchy-chip{display:inline-flex;align-items:center;padding:.22rem .65rem;background:var(--paper);border:1px solid var(--line);border-radius:6px;font-size:.84rem;font-weight:500;color:var(--ink)}.stitch-hierarchy-chip strong{color:var(--muted);font-weight:600;margin-right:.25rem}.stitch-count-badge{display:inline-flex;align-items:center;padding:.25rem .65rem;background:#10b9811f;color:#059669;border-radius:9999px;font-size:.82rem;font-weight:600}.stitch-table-card{background:#fff;border:1px solid #dfe1e6;border-radius:10px;overflow:hidden;box-shadow:0 1px 1px #091e4214;padding:.35rem}.stitch-table-scroll{overflow-x:auto;overflow-y:auto;max-height:calc(100vh - 420px);min-height:350px}.stitch-table-scroll::-webkit-scrollbar{width:6px;height:6px}.stitch-table-scroll::-webkit-scrollbar-track{background:transparent}.stitch-table-scroll::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:9999px}.stitch-table-scroll::-webkit-scrollbar-thumb:hover{background:#94a3b8}.stitch-table{width:100%;border-collapse:collapse;border-spacing:0;margin:0;font-size:.9rem;min-width:720px}.stitch-table thead{position:sticky;top:0;z-index:5}.stitch-table thead tr{background:#f6f6f7}.stitch-table th{padding:.55rem .8rem;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#2f2b3db3;background:#f6f6f7;border:1px solid #dfe1e6;position:sticky;top:0;z-index:5;text-align:left}.stitch-table td{padding:.55rem .8rem;border:1px solid #dfe1e6;color:var(--ink);vertical-align:middle}.stitch-table tbody tr{transition:background-color .15s ease}.stitch-table tbody tr:hover{background-color:var(--primary-soft)}.stitch-device-name{font-size:1.05rem;font-weight:700;color:var(--heading)}.stitch-device-sn{font-size:.84rem;font-family:monospace;color:var(--muted);margin-top:.15rem}.stitch-ip-badge{display:inline-flex;align-items:center;margin-top:.35rem;padding:.18rem .55rem;font-family:monospace;font-size:.8rem;color:var(--muted);background:var(--paper);border:1px solid var(--line);border-radius:4px}.stitch-vendor-pill{display:inline-flex;align-items:center;padding:.22rem .7rem;border-radius:9999px;font-size:.82rem;font-weight:600;border:1px solid rgba(16,185,129,.3);background:#10b98114;color:#10b981}.stitch-vendor-pill.neutral{border-color:var(--line);background:var(--paper);color:var(--muted)}.stitch-protocol-text{font-size:.82rem;color:var(--muted);font-weight:500;margin-top:.25rem}.stitch-location-title{font-weight:600;color:var(--heading);font-size:.92rem}.stitch-location-sub{font-size:.82rem;color:var(--muted);display:flex;align-items:center;gap:.3rem;margin-top:.15rem}.stitch-dept-tag{display:inline-block;margin-top:.3rem;padding:.12rem .5rem;background:var(--paper);border:1px solid var(--line);border-radius:4px;font-size:.78rem;color:var(--muted);font-weight:500}.stitch-staff-pill{display:inline-flex;align-items:center;gap:.35rem;padding:.25rem .7rem;border-radius:9999px;font-size:.82rem;font-weight:600;background:#10b98114;border:1px solid rgba(16,185,129,.25);color:#059669}.stitch-staff-pill.neutral{background:var(--paper);border-color:var(--line);color:var(--muted)}.stitch-status-cell{display:flex;align-items:center;gap:.45rem}.stitch-status-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.stitch-status-dot.online{background-color:#10b981;box-shadow:0 0 0 2px #10b98140}.stitch-status-dot.offline{background-color:#f59e0b}.stitch-status-dot.danger{background-color:#ef4444}.stitch-status-dot.neutral{background-color:#9ca3af}.stitch-status-label{font-weight:700;font-size:.88rem}.stitch-status-label.online{color:#10b981}.stitch-status-label.offline{color:#f59e0b}.stitch-status-label.danger{color:#ef4444}.stitch-status-label.neutral{color:var(--muted)}.stitch-last-seen{font-size:.82rem;color:var(--muted);margin-top:.2rem}.stitch-action-group{display:flex;align-items:center;justify-content:flex-end;gap:.35rem}.stitch-btn-fetch{display:inline-flex;align-items:center;gap:.3rem;padding:.38rem .7rem;border-radius:6px;border:1px solid var(--line);background:var(--panel);color:var(--ink);font-size:.85rem;font-weight:600;cursor:pointer;transition:background-color .15s,border-color .15s}.stitch-btn-fetch:hover{background:var(--paper);border-color:var(--muted)}.stitch-btn-manage{display:inline-flex;align-items:center;gap:.3rem;padding:.38rem .8rem;border-radius:6px;background:var(--primary);color:var(--primary-ink);font-size:.85rem;font-weight:600;border:0;cursor:pointer;box-shadow:0 1px 2px #0000000d;transition:filter .15s}.stitch-btn-manage:hover{filter:brightness(.95)}.stitch-btn-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:6px;border:1px solid var(--line);background:var(--panel);color:var(--muted);cursor:pointer;transition:all .15s}.stitch-btn-icon:hover{color:var(--ink);background:var(--paper)}.stitch-btn-icon.danger:hover{color:#ef4444;background:#ef44441a;border-color:#ef44444d}.stitch-table-footer{padding:.85rem 1.25rem;border-top:1px solid var(--line);background:var(--paper);display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.75rem;font-size:.88rem;color:var(--muted)}.stitch-pagination{display:flex;align-items:center;gap:.35rem}.stitch-page-btn{display:inline-flex;align-items:center;padding:.55rem .9rem;border-radius:4px;border:1px solid #f1f0f2;background:#f1f0f2;color:#333;font-size:.94rem;font-weight:500;cursor:pointer}.stitch-page-btn:hover:not(:disabled):not(.active){border-color:#cbd5e1;background:#f1f5f9;color:#1e293b}.stitch-page-btn.active,.stitch-page-btn:hover:not(:disabled){border-color:#7367f0;background:#7367f0;color:#fff}.stitch-page-btn:disabled{opacity:.5;cursor:not-allowed}@media(max-width:1024px){.stitch-kpi-grid{grid-template-columns:repeat(2,1fr)}.stitch-filter-grid{grid-template-columns:1fr 1fr}}@media(max-width:640px){.stitch-kpi-grid,.stitch-filter-grid{grid-template-columns:1fr}}.modal-backdrop{z-index:100}.modal-backdrop.confirm-host{z-index:400}body.modal-open,html.modal-open{overflow:hidden!important;overscroll-behavior:none!important}.stitch-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;background-color:#0f172a8c;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:1rem;overscroll-behavior:contain!important}.stitch-modal-dialog{background:#fff;width:100%;max-width:1020px;max-height:92vh;border-radius:24px;box-shadow:0 25px 50px -12px #00000040;border:1px solid #e2e8f0;display:flex;flex-direction:column;overflow:hidden;overscroll-behavior:contain!important;color:#1e293b;animation:stitch-modal-pop .2s cubic-bezier(.16,1,.3,1)}@keyframes stitch-modal-pop{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}.stitch-modal-header{padding:1.25rem 1.75rem;background:#fff;border-bottom:1px solid #e2e8f0;display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;flex-shrink:0}.stitch-modal-header-left{display:flex;align-items:flex-start;gap:1rem}.stitch-modal-icon-box{width:48px;height:48px;border-radius:16px;background:#ecfdf5;border:1px solid #d1fae5;display:flex;align-items:center;justify-content:center;color:#059669;box-shadow:0 1px 2px #0000000d;flex-shrink:0;margin-top:2px}.stitch-modal-title-row{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap}.stitch-modal-title{font-size:1.25rem;font-weight:700;color:#0f172a;letter-spacing:-.02em;margin:0}.stitch-modal-online-badge{display:inline-flex;align-items:center;gap:.35rem;padding:.2rem .65rem;border-radius:9999px;font-size:.82rem;font-weight:600;background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}.stitch-modal-online-badge.offline{background:#f8fafc;color:#64748b;border-color:#cbd5e1}.stitch-modal-online-dot{width:6px;height:6px;border-radius:9999px;background:#10b981}.stitch-modal-online-dot.offline{background:#94a3b8}.stitch-modal-subtitle{display:flex;align-items:center;gap:.75rem;font-size:.84rem;color:#64748b;margin-top:.25rem;font-weight:500;flex-wrap:wrap}.stitch-modal-subtitle strong{color:#334155}.stitch-modal-subtitle .sep{color:#cbd5e1}.stitch-modal-header-actions{display:flex;align-items:center;gap:.5rem}.stitch-modal-refresh-btn{display:inline-flex;align-items:center;gap:.4rem;padding:.4rem .75rem;font-size:.84rem;font-weight:600;color:#334155;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:12px;cursor:pointer;transition:all .15s}.stitch-modal-refresh-btn:hover:not(:disabled){background:#e2e8f0;color:#0f172a}.stitch-modal-close-btn{width:36px;height:36px;border-radius:12px;display:flex;align-items:center;justify-content:center;border:none;background:transparent;color:#94a3b8;cursor:pointer;font-size:1.25rem;transition:all .15s}.stitch-modal-close-btn:hover{background:#f1f5f9;color:#334155}.stitch-modal-tabs{padding:0 1.75rem;background:#f8fafc;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.stitch-modal-tabs-nav{display:flex;gap:.25rem}.stitch-modal-tab-btn{padding:.85rem .95rem;border-bottom:2px solid transparent;font-size:.8rem;font-weight:600;color:#64748b;display:flex;align-items:center;gap:.5rem;background:none;border-top:none;border-left:none;border-right:none;cursor:pointer;transition:color .15s,border-color .15s}.stitch-modal-tab-btn:hover{color:#0f172a}.stitch-modal-tab-btn.active{border-bottom-color:#059669;color:#047857;font-weight:700}.stitch-modal-tab-badge{padding:.1rem .5rem;border-radius:9999px;font-size:.78rem;font-weight:700;background:#e2e8f0;color:#334155}.stitch-modal-tab-badge.amber{background:#f59e0b;color:#fff}.stitch-modal-tab-badge.emerald{background:#10b981;color:#fff}.stitch-modal-auto-sync{font-size:.8rem;color:#94a3b8}.stitch-modal-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain!important;padding:1.5rem 1.75rem;display:flex;flex-direction:column;gap:1.25rem;background:#f8fafc}.stitch-roster-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.stitch-roster-metric-card{background:#fff;padding:1rem 1.15rem;border-radius:16px;border:1px solid #e2e8f0;box-shadow:0 1px 2px #0000000a;display:flex;align-items:center;justify-content:space-between}.stitch-roster-metric-card.mapped{border-color:#a7f3d0;background:linear-gradient(135deg,#fff 60%,#ecfdf5)}.stitch-roster-metric-card.unmapped{border-color:#fde68a;background:linear-gradient(135deg,#fff 60%,#fffbeb)}.stitch-roster-metric-label{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#94a3b8}.stitch-roster-metric-label.mapped{color:#047857}.stitch-roster-metric-label.unmapped{color:#b45309}.stitch-roster-metric-val-row{display:flex;align-items:baseline;gap:.5rem;margin-top:.25rem}.stitch-roster-metric-val{font-size:1.6rem;font-weight:900;color:#0f172a;line-height:1}.stitch-roster-metric-val.mapped{color:#059669}.stitch-roster-metric-val.unmapped{color:#d97706}.stitch-roster-metric-subtext{font-size:.82rem;color:#64748b;margin-top:.2rem}.stitch-roster-metric-subtext.mapped{color:#059669}.stitch-roster-metric-subtext.unmapped{color:#b45309}.stitch-roster-metric-icon{width:44px;height:44px;border-radius:12px;background:#f1f5f9;display:flex;align-items:center;justify-content:center;color:#475569;flex-shrink:0}.stitch-roster-metric-icon.mapped{background:#d1fae5;color:#047857}.stitch-roster-metric-icon.unmapped{background:#fef3c7;color:#b45309}.stitch-roster-toolbar{display:flex;align-items:center;justify-content:space-between;gap:.75rem;background:#fff;padding:.75rem .9rem;border-radius:16px;border:1px solid #e2e8f0;box-shadow:0 1px 2px #00000008;flex-wrap:wrap}.stitch-roster-pills{display:flex;align-items:center;gap:.4rem}.stitch-roster-pill{padding:.4rem .85rem;border-radius:12px;font-size:.84rem;font-weight:600;border:1px solid transparent;cursor:pointer;transition:all .15s}.stitch-roster-pill.all{background:#f1f5f9;color:#334155}.stitch-roster-pill.all.active{background:#0f172a;color:#fff}.stitch-roster-pill.unmapped{background:#fffbeb;color:#b45309;border-color:#fde68a}.stitch-roster-pill.unmapped.active{background:#f59e0b;color:#fff;border-color:#f59e0b}.stitch-roster-pill.mapped{background:#ecfdf5;color:#047857;border-color:#a7f3d0}.stitch-roster-pill.mapped.active{background:#059669;color:#fff;border-color:#059669}.stitch-roster-search-group{display:flex;align-items:center;gap:.5rem;margin-left:auto}.stitch-roster-search{position:relative;width:220px}.stitch-roster-search input{width:100%;padding:.4rem .65rem .4rem 2rem;font-size:.88rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;color:#1e293b;outline:none}.stitch-roster-search input:focus{border-color:#10b981;background:#fff}.stitch-roster-search-icon{position:absolute;left:.65rem;top:50%;transform:translateY(-50%);color:#94a3b8;pointer-events:none}.stitch-roster-btn{padding:.4rem .75rem;border-radius:12px;font-size:.84rem;font-weight:600;border:1px solid #e2e8f0;background:#fff;color:#334155;display:inline-flex;align-items:center;gap:.35rem;cursor:pointer;transition:all .15s}.stitch-roster-btn:hover{background:#f8fafc;color:#0f172a}.stitch-roster-table-card{background:#fff;border-radius:16px;border:1px solid #e2e8f0;box-shadow:0 1px 2px #00000008;overflow:hidden}.stitch-roster-table-scroll{max-height:400px;overflow-y:auto}.stitch-roster-table{width:100%;text-align:left;border-collapse:collapse;font-size:.78rem}.stitch-roster-table thead{position:sticky;top:0;background:#f8fafc;border-bottom:1px solid #e2e8f0;z-index:5}.stitch-roster-table th{padding:.75rem 1rem;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#64748b;white-space:nowrap}.stitch-roster-table td{padding:.85rem 1rem;border-bottom:1px solid #f1f5f9;vertical-align:middle;color:#1e293b}.stitch-roster-table tr:hover td{background:#f8fafc}.stitch-roster-table tr.unmapped-row{background:#fef3c726}.stitch-roster-pin{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-weight:700;color:#0f172a}.stitch-roster-terminal-name{font-weight:600;color:#1e293b}.stitch-roster-terminal-pending{display:inline-flex;align-items:center;gap:.4rem;font-weight:600;color:#b45309}.stitch-roster-terminal-pending .dot{width:6px;height:6px;border-radius:9999px;background:#f59e0b}.stitch-roster-priv-badge{display:inline-block;margin-left:.4rem;padding:.1rem .4rem;font-size:.76rem;font-weight:600;border-radius:6px;background:#f1f5f9;color:#475569}.stitch-roster-priv-badge.admin{background:#e2e8f0;color:#1e293b;font-weight:700}.stitch-roster-target-cell{display:flex;align-items:center;gap:.6rem}.stitch-roster-avatar{width:28px;height:28px;border-radius:9999px;background:#d1fae5;color:#047857;font-size:.78rem;font-weight:800;display:flex;align-items:center;justify-content:center;flex-shrink:0}.stitch-roster-target-name{font-weight:600;color:#0f172a;line-height:1.2}.stitch-roster-target-code{font-size:.78rem;color:#94a3b8}.stitch-roster-unlinked-target{color:#94a3b8;font-style:italic;font-size:.8rem}.stitch-roster-status-badge{display:inline-flex;align-items:center;gap:.35rem;padding:.2rem .65rem;border-radius:9999px;font-size:.8rem;font-weight:600}.stitch-roster-status-badge.linked{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}.stitch-roster-status-badge.needs-review{background:#fffbeb;color:#b45309;border:1px solid #fde68a}.stitch-roster-actions-cell{display:flex;align-items:center;justify-content:flex-end;gap:.4rem}.stitch-roster-btn-edit{padding:.25rem .65rem;border-radius:8px;border:1px solid #e2e8f0;background:#fff;color:#475569;font-size:.84rem;font-weight:600;cursor:pointer;transition:all .15s}.stitch-roster-btn-edit:hover{background:#f1f5f9;color:#0f172a}.stitch-roster-btn-unlink{padding:.25rem .65rem;border-radius:8px;border:1px solid transparent;background:transparent;color:#e11d48;font-size:.84rem;font-weight:600;cursor:pointer;transition:all .15s}.stitch-roster-btn-unlink:hover{background:#ffe4e6}.stitch-roster-btn-map{padding:.3rem .75rem;border-radius:8px;border:1px solid #a7f3d0;background:#ecfdf5;color:#047857;font-size:.84rem;font-weight:700;cursor:pointer;transition:all .15s;white-space:nowrap}.stitch-roster-btn-map:hover{background:#d1fae5;color:#065f46}.stitch-roster-table-footer{padding:.75rem 1.25rem;border-top:1px solid #e2e8f0;background:#f8fafc;display:flex;align-items:center;justify-content:space-between;font-size:.85rem;color:#64748b}.stitch-modal-footer{padding:1rem 1.75rem;background:#fff;border-top:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.stitch-modal-footer-status{display:flex;align-items:center;gap:.5rem;font-size:.84rem;color:#64748b;font-weight:500}.stitch-modal-footer-status .dot{width:7px;height:7px;border-radius:9999px;background:#10b981}.stitch-modal-footer-actions{display:flex;align-items:center;gap:.6rem}.stitch-modal-btn-cancel{padding:.5rem 1rem;border-radius:12px;border:1px solid #e2e8f0;background:#fff;color:#334155;font-size:.78rem;font-weight:600;cursor:pointer;transition:all .15s}.stitch-modal-btn-cancel:hover{background:#f8fafc;color:#0f172a}.stitch-modal-btn-save{padding:.5rem 1.25rem;border-radius:12px;border:none;background:var(--primary);color:#fff;font-size:.78rem;font-weight:700;box-shadow:0 2px 4px #2563eb40;display:inline-flex;align-items:center;gap:.4rem;cursor:pointer;transition:all .15s}.stitch-modal-btn-save:hover{filter:brightness(.94)}@media(max-width:768px){.stitch-roster-metrics{grid-template-columns:1fr}.stitch-modal-header{padding:1rem}.stitch-modal-tabs{padding:0 1rem}.stitch-modal-body{padding:1rem}.stitch-modal-footer{padding:.85rem 1rem;flex-direction:column;gap:.75rem}.stitch-roster-toolbar{flex-direction:column;align-items:stretch}.stitch-roster-search-group{width:100%;margin-left:0}.stitch-roster-search{flex:1;width:auto}}.stitch-emp-avatar{width:38px;height:38px;border-radius:9999px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.88rem;letter-spacing:-.01em;flex-shrink:0;border:1px solid rgba(0,0,0,.05)}.stitch-emp-avatar.emerald{background:#d1fae5;color:#065f46;border-color:#a7f3d0}.stitch-emp-avatar.teal{background:#ccfbf1;color:#115e59;border-color:#99f6e4}.stitch-emp-avatar.blue{background:#dbeafe;color:#1e40af;border-color:#bfdbfe}.stitch-emp-avatar.indigo{background:#e0e7ff;color:#3730a3;border-color:#c7d2fe}.stitch-emp-avatar.amber{background:#fef3c7;color:#92400e;border-color:#fde68a}.stitch-emp-avatar.rose{background:#ffe4e6;color:#9f1239;border-color:#fecdd3}.stitch-emp-avatar.purple{background:#f3e8ff;color:#6b21a8;border-color:#e9d5ff}.stitch-code-chip{display:inline-flex;align-items:center;gap:.35rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.84rem;padding:.22rem .55rem;border-radius:6px;background:var(--paper, #f8fafc);border:1px solid var(--line, #e2e8f0);color:var(--ink, #1e293b);transition:all .15s ease}.stitch-code-chip:hover{background:#fff;border-color:#cbd5e1}.stitch-copy-btn{background:none;border:none;padding:.1rem .2rem;color:var(--muted, #64748b);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:4px;transition:color .15s ease}.stitch-copy-btn:hover{color:#10b981}.stitch-pin-chip{display:inline-flex;align-items:center;gap:.3rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.88rem;font-weight:700;letter-spacing:.05em;padding:.25rem .6rem;border-radius:6px;background:var(--paper, #f8fafc);border:1px solid var(--line, #e2e8f0);color:var(--ink, #1e293b)}.stitch-pin-chip svg{color:var(--muted, #64748b)}.stitch-master-badge{display:inline-flex;align-items:center;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.84rem;font-weight:700;padding:.18rem .5rem;border-radius:6px;background:#10b9811a;color:#059669;border:1px solid rgba(16,185,129,.2)}.stitch-dev-chip{display:inline-flex;align-items:center;gap:.4rem;padding:.28rem .6rem;border-radius:6px;background:var(--paper, #f8fafc);border:1px solid var(--line, #e2e8f0);font-size:.84rem;color:var(--ink, #1e293b);max-width:100%}.stitch-dev-dot{width:7px;height:7px;border-radius:9999px;flex-shrink:0}.stitch-dev-dot.online{background:#10b981;box-shadow:0 0 0 2px #10b98133}.stitch-dev-dot.offline{background:#ef4444}.stitch-dev-dot.unknown{background:#94a3b8}.stitch-dev-pin-tag{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.8rem;font-weight:600;padding:.1rem .35rem;background:#fff;border:1px solid #e2e8f0;border-radius:4px;color:#0f172a}.stitch-status-pill{display:inline-flex;align-items:center;gap:.3rem;padding:.22rem .65rem;border-radius:9999px;font-size:.82rem;font-weight:600;line-height:1.2}.stitch-status-pill.active{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}.stitch-status-pill.inactive{background:#f8fafc;color:#64748b;border:1px solid #cbd5e1}.stitch-status-pill.complete{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}.stitch-status-pill.incomplete{background:#fef3c7;color:#92400e;border:1px solid #fde68a}.stitch-row-action-btn.icon-only{width:36px;height:36px;padding:0;justify-content:center;gap:0}.stitch-row-action-btn{display:inline-flex;align-items:center;gap:.35rem;padding:.38rem .7rem;border-radius:8px;font-size:.84rem;font-weight:600;cursor:pointer;transition:all .15s ease;border:1px solid var(--line, #e2e8f0);background:#fff;color:#334155}.stitch-row-action-btn:hover{background:#f8fafc;color:#0f172a;border-color:#cbd5e1}.stitch-row-action-btn.view:hover{background:#ecfdf5;color:#047857;border-color:#a7f3d0}.stitch-row-action-btn.edit:hover{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}.stitch-row-action-btn.danger{color:#ef4444;border-color:#fecdd3;background:#fff5f5}.stitch-row-action-btn.danger:hover{background:#fee2e2;color:#b91c1c}.stitch-row-action-btn.activate{color:#059669;border-color:#a7f3d0;background:#ecfdf5}.stitch-row-action-btn.activate:hover{background:#d1fae5;color:#047857}.stitch-row-action-btn.deactivate{color:#d97706;border-color:#fde68a;background:#fffbeb}.stitch-row-action-btn.deactivate:hover{background:#fef3c7;color:#b45309}.stitch-drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;background-color:#0f172a73;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;justify-content:flex-end;animation:stitch-drawer-fade-in .2s ease-out;overscroll-behavior:contain!important}@keyframes stitch-drawer-fade-in{0%{opacity:0}to{opacity:1}}.stitch-drawer-dialog{background:#fff;width:100%;max-width:520px;height:100vh;box-shadow:-10px 0 35px #00000026;border-left:1px solid #e2e8f0;display:flex;flex-direction:column;overflow:hidden;overscroll-behavior:contain!important;animation:stitch-drawer-slide-in .25s cubic-bezier(.16,1,.3,1)}@keyframes stitch-drawer-slide-in{0%{transform:translate(100%)}to{transform:translate(0)}}.stitch-drawer-header{padding:1.25rem 1.5rem;border-bottom:1px solid #f1f5f9;display:flex;align-items:center;justify-content:space-between;background:#fff}.stitch-drawer-profile{padding:1.1rem 1.5rem .95rem;display:flex;flex-direction:column;align-items:center;text-align:center;border-bottom:1px solid #f1f5f9;background:#fafbfc}.stitch-drawer-avatar-wrap{position:relative;margin-bottom:.75rem}.stitch-drawer-avatar{width:76px;height:76px;border-radius:9999px;background:#ecfdf5;color:#059669;font-size:1.75rem;font-weight:700;display:flex;align-items:center;justify-content:center;border:3px solid #ffffff;box-shadow:0 4px 12px #05966926}.stitch-drawer-avatar-check{position:absolute;bottom:0;right:0;width:24px;height:24px;border-radius:9999px;background:#10b981;color:#fff;border:2px solid #ffffff;display:flex;align-items:center;justify-content:center}.stitch-drawer-name{font-size:1.35rem;font-weight:700;color:#0f172a;margin:0}.stitch-drawer-designation{font-size:.85rem;color:#64748b;margin:.2rem 0 .5rem}.stitch-role-badge{display:inline-flex;align-items:center;font-size:.75rem;font-weight:700;color:#4338ca;background:#eef2ff;border:1px solid #c7d2fe;padding:.2rem .55rem;border-radius:6px;line-height:1.2}.stitch-drawer-hierarchy-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.4rem .65rem;margin-top:.75rem;padding:.5rem .85rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;font-size:.78rem;color:#334155;width:100%;box-sizing:border-box}.stitch-hierarchy-item{display:inline-flex;align-items:center;gap:.35rem}.stitch-hierarchy-icon{font-size:.88rem;line-height:1}.stitch-hierarchy-sep{color:#cbd5e1;-webkit-user-select:none;user-select:none}.stitch-drawer-org-summary-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:.85rem 1rem;box-shadow:0 1px 2px #00000008}.stitch-drawer-org-summary-header{display:flex;align-items:center;gap:.45rem;font-size:.72rem;font-weight:700;letter-spacing:.05em;color:#475569;margin-bottom:.65rem;text-transform:uppercase}.stitch-drawer-org-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.65rem 1rem}.stitch-drawer-org-item{display:flex;flex-direction:column}.stitch-drawer-org-label{font-size:.68rem;font-weight:700;color:#64748b;letter-spacing:.04em;margin-bottom:.15rem}.stitch-drawer-org-val{font-size:.88rem;font-weight:700;color:#0f172a;word-break:break-word}.stitch-drawer-role-highlight{color:#1e40af}.stitch-drawer-pills{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.5rem}.stitch-drawer-actions{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;width:100%;margin-top:.85rem}.stitch-drawer-btn-primary{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;padding:.55rem 1rem;border-radius:10px;background:#10b981;color:#fff;font-weight:600;font-size:.82rem;border:none;cursor:pointer;transition:all .15s ease;box-shadow:0 1px 3px #10b9814d}.stitch-drawer-btn-primary:hover{background:#059669}.stitch-drawer-btn-secondary{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;padding:.55rem 1rem;border-radius:10px;background:#fff;color:#334155;font-weight:600;font-size:.82rem;border:1px solid #e2e8f0;cursor:pointer;transition:all .15s ease}.stitch-drawer-btn-secondary:hover{background:#f8fafc;color:#0f172a}.stitch-drawer-body{padding:1.25rem 1.5rem;flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:1.25rem}.stitch-drawer-bio-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.6rem}.stitch-drawer-bio-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:.85rem .6rem;display:flex;flex-direction:column;align-items:center;text-align:center}.stitch-drawer-bio-label{font-size:.7rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.04em;margin-top:.35rem}.stitch-drawer-bio-value{font-size:.95rem;font-weight:700;color:#0f172a;margin-top:.15rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.stitch-drawer-section-title{font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#64748b;display:flex;align-items:center;justify-content:space-between;margin-bottom:.6rem}.stitch-drawer-terminal-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:.85rem 1rem;display:flex;flex-direction:column;gap:.6rem;box-shadow:0 1px 2px #00000008}.stitch-drawer-terminal-top{display:flex;align-items:flex-start;justify-content:space-between;gap:.5rem}.stitch-drawer-terminal-info{display:flex;align-items:center;gap:.65rem}.stitch-drawer-terminal-icon{width:34px;height:34px;border-radius:8px;background:#f1f5f9;display:flex;align-items:center;justify-content:center;color:#475569;flex-shrink:0}.stitch-drawer-terminal-bottom{padding-top:.5rem;border-top:1px solid #f1f5f9;display:flex;align-items:center;justify-content:space-between;font-size:.84rem}.stitch-drawer-footer{padding:1rem 1.5rem;border-top:1px solid #e2e8f0;background:#fafbfc;display:flex;align-items:center;justify-content:space-between}.stitch-form-section{background:#fafbfc;border:1px solid #e2e8f0;border-radius:10px;padding:.85rem 1rem;display:flex;flex-direction:column;gap:.75rem}.stitch-form-section-header{display:flex;align-items:center;justify-content:space-between;padding-bottom:.4rem;border-bottom:1px solid #edf2f7}.stitch-form-section-title{font-size:.84rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#059669;display:inline-flex;align-items:center;gap:.4rem}.stitch-form-section-sub{font-size:.82rem;color:#64748b;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.stitch-device-check-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:.7rem .9rem;display:flex;align-items:center;justify-content:space-between;gap:.85rem;cursor:pointer;transition:all .18s cubic-bezier(.16,1,.3,1);box-sizing:border-box}.stitch-device-check-card:hover{border-color:#cbd5e1;background:#f8fafc}.stitch-device-check-card.checked{background:#f0fdf4;border-color:#86efac;box-shadow:0 1px 3px #10b9811f}.stitch-device-check-card.checked:hover{background:#ecfdf5;border-color:#4ade80}.stitch-org-modal-dialog{background:#fff;width:100%;max-width:900px;max-height:90vh;border-radius:20px;box-shadow:0 25px 50px -12px #0f172a40;border:1px solid #e2e8f0;display:flex;flex-direction:column;overflow:hidden;overscroll-behavior:contain!important;animation:stitch-modal-pop .2s cubic-bezier(.16,1,.3,1)}.stitch-org-input-wrap{position:relative;display:flex;align-items:center;width:100%}.stitch-org-input-icon{position:absolute;left:.75rem;width:16px;height:16px;color:#94a3b8;pointer-events:none;flex-shrink:0}.stitch-org-input-with-icon{width:100%;box-sizing:border-box!important;padding-left:2.35rem!important;padding-right:.75rem;font-size:.88rem;border-radius:8px;border:1px solid #cbd5e1;background:#fff;color:#1e293b;outline:none;transition:all .15s ease;height:40px;min-height:40px;line-height:1.4}.stitch-org-input-with-icon:focus{border-color:#10b981;box-shadow:0 0 0 3px #10b98126}.stitch-org-select{width:100%;box-sizing:border-box!important;height:40px!important;min-height:40px!important;padding:.45rem 2rem .45rem .75rem!important;font-size:.88rem!important;border-radius:8px;border:1px solid #cbd5e1;background-color:#fff;color:#1e293b;outline:none;transition:all .15s ease;line-height:1.4!important;cursor:pointer;-moz-appearance:auto;appearance:auto;-webkit-appearance:menulist}.stitch-org-select:focus{border-color:#10b981;box-shadow:0 0 0 3px #10b98126}.stitch-org-select-with-icon{width:100%;box-sizing:border-box!important;height:40px!important;min-height:40px!important;padding:.45rem 2rem .45rem 2.35rem!important;font-size:.88rem!important;border-radius:8px;border:1px solid #cbd5e1;background-color:#fff;color:#1e293b;outline:none;transition:all .15s ease;line-height:1.4!important;cursor:pointer;-moz-appearance:auto;appearance:auto;-webkit-appearance:menulist}.stitch-org-select-with-icon:focus{border-color:#10b981;box-shadow:0 0 0 3px #10b98126}.stitch-org-textarea-with-icon{width:100%;padding-left:2.35rem!important;font-size:.85rem;border-radius:8px;border:1px solid #cbd5e1;background:#fff;color:#1e293b;outline:none;transition:all .15s ease;resize:vertical}.stitch-org-textarea-with-icon:focus{border-color:#10b981;box-shadow:0 0 0 3px #10b98126}.stitch-org-shift-badge{font-size:.7rem;font-weight:700;background:#dcfce7;color:#166534;padding:.2rem .6rem;border-radius:9999px;display:inline-flex;align-items:center;gap:.3rem;border:1px solid #bbf7d0}.stitch-org-info-card{padding:.65rem .75rem;border-radius:8px;background:#fff;border:1px solid #e2e8f0;font-size:.84rem;color:#475569;display:flex;align-items:flex-start;gap:.5rem;line-height:1.4}.stitch-branch-modal-dialog{background:#fff;width:100%;max-width:920px;max-height:92vh;border-radius:20px;box-shadow:0 25px 50px -12px #0f172a40;border:1px solid #e2e8f0;display:flex;flex-direction:column;overflow:hidden;overscroll-behavior:contain!important;animation:stitch-modal-pop .2s cubic-bezier(.16,1,.3,1)}.stitch-org-view-tabs-bar{padding:.75rem 1.75rem;background:#f8fafc;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-shrink:0}.stitch-org-view-segmented-tabs{display:inline-flex;background:#e2e8f0;padding:3px;border-radius:10px;gap:3px}.stitch-org-view-tab{display:inline-flex;align-items:center;gap:.45rem;padding:.45rem .95rem;border-radius:8px;font-size:.82rem;font-weight:600;color:#64748b;background:transparent;border:none;cursor:pointer;transition:all .15s ease;font-family:Arial,sans-serif}.stitch-org-view-tab:hover{color:#0f172a;background:#ffffff73}.stitch-org-view-tab.active{background:#fff;color:#1d4ed8;font-weight:700;box-shadow:0 1px 3px #00000014}.stitch-org-view-tab-count{display:inline-flex;align-items:center;padding:.1rem .5rem;border-radius:9999px;font-size:.74rem;font-weight:700;background:#cbd5e1;color:#475569}.stitch-org-view-tab.active .stitch-org-view-tab-count{background:#ecfdf5;color:#1d4ed8;border:1px solid #a7f3d0}.stitch-org-view-sites-link{display:inline-flex;align-items:center;gap:.35rem;padding:.45rem .85rem;border-radius:8px;background:#fff;border:1px solid #cbd5e1;color:#059669;font-size:.8rem;font-weight:700;text-decoration:none;transition:all .15s ease;font-family:Arial,sans-serif}.stitch-org-view-sites-link:hover{background:#ecfdf5;border-color:#a7f3d0}.stitch-org-shift-card{background:transparent;border:none;border-radius:0;padding:.25rem 0;box-shadow:none}.stitch-org-shift-header{display:flex;align-items:center;gap:.75rem;margin-bottom:1.25rem;padding-bottom:.85rem;border-bottom:1px solid #e2e8f0}.stitch-org-shift-icon{width:42px;height:42px;border-radius:10px;background:#ecfdf5;color:#059669;border:1px solid #a7f3d0;display:flex;align-items:center;justify-content:center;flex-shrink:0}.stitch-org-shift-title{margin:0;font-size:1.05rem;font-weight:800;color:#0f172a}.stitch-org-shift-sub{margin:.2rem 0 0;font-size:.82rem;color:#64748b}.stitch-org-shift-grid{display:flex;flex-direction:column;gap:1rem}.stitch-org-shift-block{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1rem 1.15rem;box-shadow:0 1px 3px #00000008}.stitch-org-shift-block.highlight{background:#f0fdf4;border-color:#bbf7d0}.stitch-org-shift-label{display:block;font-size:.68rem;font-weight:700;color:#64748b;letter-spacing:.04em;margin-bottom:.35rem;text-transform:uppercase}.stitch-org-shift-hours-wrap{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.stitch-org-shift-hours{font-size:1.35rem;font-weight:800;color:#065f46;font-family:ui-monospace,monospace}.stitch-org-shift-badge{font-size:.76rem;font-weight:700;padding:.2rem .6rem;border-radius:9999px;background:#fff;color:#059669;border:1px solid #a7f3d0}.stitch-org-shift-hint{font-size:.8rem;color:#059669;margin-top:.35rem}.stitch-org-shift-subgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem}.stitch-org-shift-val{font-size:.95rem;font-weight:700;color:#0f172a;display:block}.stitch-org-shift-notice{display:flex;align-items:center;gap:.6rem;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:9px;padding:.75rem 1rem;font-size:.82rem;color:#065f46}.stitch-branch-header-dark{padding:1.15rem 1.75rem;background:#fff;color:#0f172a;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e2e8f0;flex-shrink:0}.stitch-branch-metric-strip{background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:.85rem 1.75rem;display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;flex-shrink:0}.stitch-branch-metric-item{display:flex;align-items:center;gap:.75rem}.stitch-branch-metric-icon{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1rem;flex-shrink:0}.stitch-branch-metric-icon.emerald{background:#ecfdf5;color:#059669;border:1px solid #a7f3d0}.stitch-branch-metric-icon.sky{background:#f0f9ff;color:#0284c7;border:1px solid #bae6fd}.stitch-branch-metric-icon.indigo{background:#eef2ff;color:#4f46e5;border:1px solid #c7d2fe}.stitch-branch-metric-label{font-size:.7rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.04em}.stitch-branch-metric-val{font-size:.88rem;font-weight:700;color:#0f172a;margin-top:.1rem}.stitch-branch-tabs-bar{padding:0 1.75rem;border-bottom:1px solid #e2e8f0;background:#fff;display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.stitch-branch-tab-btn{padding:.85rem 1rem;font-size:.82rem;font-weight:600;color:#64748b;border-bottom:2px solid transparent;background:none;border-top:none;border-left:none;border-right:none;cursor:pointer;display:inline-flex;align-items:center;gap:.45rem;transition:all .15s ease}.stitch-branch-tab-btn:hover{color:#0f172a}.stitch-branch-tab-btn.active{color:#10b981;font-weight:700;border-bottom-color:#10b981}.stitch-branch-floor-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;box-shadow:0 1px 2px #00000008;transition:border-color .15s ease}.stitch-branch-floor-card:hover{border-color:#cbd5e1}.stitch-branch-floor-header{padding:.75rem 1rem;background:#f8fafc;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between}.stitch-branch-dept-pill{display:inline-flex;align-items:center;gap:.4rem;padding:.35rem .65rem;border-radius:8px;background:#f8fafc;border:1px solid #e2e8f0;font-size:.78rem;font-weight:600;color:#1e293b;transition:all .15s ease}.stitch-branch-dept-pill:hover{background:#fff;border-color:#cbd5e1}.stitch-branch-dept-input{font-size:.78rem;padding:.35rem .65rem;border-radius:8px;border:1px dashed #cbd5e1;background:#f8fafc;color:#1e293b;outline:none;width:190px;transition:all .15s ease}.stitch-branch-dept-input:focus{border-style:solid;border-color:#10b981;background:#fff;box-shadow:0 0 0 2px #10b98126}.stitch-branch-add-box{background:#fff;border:2px dashed #a7f3d0;border-radius:12px;padding:1rem;margin-bottom:1rem}.stitch-device-modal-dialog{background:#fff;width:100%;max-width:980px;max-height:92vh;border-radius:16px;box-shadow:0 25px 50px -12px #0f172a40,0 0 0 1px #0f172a14;border:1px solid #e2e8f0;display:flex;flex-direction:column;overflow:hidden;overscroll-behavior:contain!important;animation:stitch-modal-pop .2s cubic-bezier(.16,1,.3,1);color:#1e293b}.stitch-device-modal-header{padding:1rem 1.5rem;background:#fff;border-bottom:1px solid #f1f5f9;display:flex;align-items:center;justify-content:space-between;flex-shrink:0;gap:1rem}.stitch-device-modal-title{font-size:1.15rem;font-weight:700;color:#0f172a;letter-spacing:-.02em;margin:0;line-height:1.2}.stitch-device-modal-body{padding:1.25rem 1.5rem;overflow-y:auto;overscroll-behavior:contain!important;max-height:calc(88vh - 130px);display:flex;flex-direction:column;gap:1rem;background:#fff}.stitch-device-grid-2col{display:grid;grid-template-columns:1fr 1fr;gap:1rem}@media(max-width:768px){.stitch-device-grid-2col{grid-template-columns:1fr}}.stitch-device-card{background:#f8fafcbf;border:1px solid #e2e8f0;border-radius:12px;padding:1rem;display:flex;flex-direction:column;justify-content:space-between;gap:.85rem}.stitch-device-card-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e2e8f0;padding-bottom:.5rem}.stitch-device-card-title{font-size:.84rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#334155;display:flex;align-items:center;gap:.4rem}.stitch-device-input{width:100%;font-size:.88rem;padding:.45rem .7rem;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#0f172a;outline:none;box-sizing:border-box;transition:all .15s ease}.stitch-device-input:focus{border-color:#10b981;box-shadow:0 0 0 2px #10b98126}.stitch-device-textarea{width:100%;font-size:.88rem;padding:.45rem .7rem;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#0f172a;outline:none;resize:none;box-sizing:border-box;transition:all .15s ease}.stitch-device-textarea:focus{border-color:#10b981;box-shadow:0 0 0 2px #10b98126}.stitch-device-hierarchy-grid{display:grid;grid-template-columns:1fr 1fr;gap:.65rem}.stitch-device-hierarchy-grid .field{display:flex;flex-direction:column;gap:.25rem;margin-bottom:0}.stitch-device-hierarchy-grid .field span{font-size:.82rem;font-weight:600;color:#475569}.stitch-device-hierarchy-grid select{font-size:.88rem;padding:.42rem .65rem;border-radius:8px;border:1px solid #cbd5e1;background:#fff;color:#0f172a;outline:none;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.stitch-device-hierarchy-grid select:focus{border-color:#10b981;box-shadow:0 0 0 2px #10b98126}.stitch-device-emp-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1rem;box-shadow:0 1px 3px #00000008;display:flex;flex-direction:column;gap:.75rem}.stitch-device-search-wrap{position:relative;width:100%;max-width:280px}.stitch-device-search-input{width:100%;font-size:.88rem;padding:.35rem .5rem .35rem 1.8rem;border-radius:8px;border:1px solid #cbd5e1;background:#f8fafc;outline:none;box-sizing:border-box;transition:all .15s ease}.stitch-device-search-input:focus{background:#fff;border-color:#10b981;box-shadow:0 0 0 2px #10b98126}.stitch-device-search-clear{position:absolute;right:.45rem;top:50%;transform:translateY(-50%);background:none;border:none;color:#94a3b8;font-size:.84rem;cursor:pointer;padding:0;line-height:1}.stitch-device-emp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:.65rem;max-height:190px;overflow-y:auto;padding-right:.35rem}.stitch-device-emp-item{display:flex;align-items:flex-start;gap:.65rem;padding:.55rem .75rem;border-radius:8px;border:1px solid #e2e8f0;background:#fff;cursor:pointer;transition:all .15s ease;-webkit-user-select:none;user-select:none;box-sizing:border-box}.stitch-device-emp-item:hover{border-color:#cbd5e1;background:#f8fafc}.stitch-device-emp-item.selected{border-color:#86efac;background:#f0fdf4;box-shadow:0 1px 2px #10b98114}.stitch-device-count-pill{padding:.15rem .55rem;border-radius:9999px;font-size:.78rem;font-weight:700;background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}.stitch-device-modal-footer{padding:.85rem 1.5rem;background:#f8fafc;border-top:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between;flex-shrink:0;gap:1rem}.stitch-device-test-btn{display:inline-flex;align-items:center;gap:.35rem;padding:.35rem .75rem;border-radius:6px;border:1px solid #e2e8f0;background:#fff;color:#334155;font-size:.84rem;font-weight:600;cursor:pointer;transition:all .15s ease;align-self:flex-start}.stitch-device-test-btn:hover:not(:disabled){background:#f1f5f9;border-color:#cbd5e1;color:#0f172a}.stitch-heartbeat-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1.5rem;margin-bottom:1.25rem;flex-wrap:wrap}.stitch-telemetry-pill{display:inline-flex;align-items:center;gap:.5rem;padding:.45rem .85rem;border-radius:9999px;background:#fff;border:1px solid #e2e8f0;font-size:.84rem;font-weight:600;color:#334155;box-shadow:0 1px 2px #0000000a}.stitch-heartbeat-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;overflow:hidden;box-shadow:0 1px 3px #0000000a;margin-bottom:1.25rem}.stitch-heartbeat-card-head{padding:1rem 1.25rem;background:#f8fafc99;border-bottom:1px solid #f1f5f9;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.stitch-heartbeat-table{width:100%;border-collapse:separate;border-spacing:0;font-size:.9rem;text-align:left}.stitch-heartbeat-table thead{background:#f8fafc;color:#64748b;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;-webkit-user-select:none;user-select:none}.stitch-heartbeat-table th{padding:.75rem 1rem;border-bottom:1px solid #e2e8f0;font-weight:700;position:sticky;top:0;z-index:5;background:#f8fafc}.stitch-heartbeat-table td{padding:.85rem 1rem;border-bottom:1px solid #f1f5f9;color:#1e293b;vertical-align:middle}.stitch-heartbeat-table tbody tr{transition:background .12s ease}.stitch-heartbeat-table tbody tr:hover{background:#f8fafc}.stitch-timer-off-badge{display:inline-flex;align-items:center;gap:.35rem;padding:.2rem .55rem;border-radius:9999px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.8rem;font-weight:700;background:#ef44441a;color:#dc2626;border:1px solid rgba(239,68,68,.2)}.stitch-telemetry-bar{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:.75rem 1.25rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;font-size:.84rem;color:#64748b;box-shadow:0 1px 3px #00000008;flex-wrap:wrap;margin-top:1rem}.stitch-tab-pill{padding:.45rem .85rem;border-radius:8px;font-size:.88rem;font-weight:600;color:#64748b;background:transparent;border:none;cursor:pointer;display:inline-flex;align-items:center;gap:.45rem;transition:all .15s ease;white-space:nowrap}.stitch-tab-pill:hover{background:#f1f5f9;color:#0f172a}.stitch-tab-pill.active{background:#10b981;color:#fff;box-shadow:0 1px 3px #10b98140}.stitch-tab-pill.active .stitch-tab-count{background:#ffffff40;color:#fff}.stitch-hb-action-btn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:6px;border:1px solid #e2e8f0;background:#fff;color:#64748b;cursor:pointer;transition:all .15s ease;text-decoration:none}.stitch-hb-action-btn:hover{background:#f8fafc;color:#0f172a;border-color:#cbd5e1}.stitch-hb-action-btn.ping:hover{background:#ecfdf5;color:#059669;border-color:#a7f3d0}.stitch-hb-action-btn,.stitch-row-action-btn,.stitch-btn-icon,.stitch-btn-fetch,.stitch-btn-manage,[data-tooltip]{position:relative}[data-tooltip]:before{content:attr(data-tooltip);position:absolute;bottom:calc(100% + 7px);left:50%;transform:translate(-50%) translateY(3px);padding:.32rem .6rem;background:#0f172a;color:#fff;font-size:.74rem;font-weight:600;line-height:1.1;letter-spacing:.01em;white-space:nowrap;border-radius:6px;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .15s ease,transform .15s cubic-bezier(.16,1,.3,1),visibility .15s ease;z-index:60;box-shadow:0 4px 12px #00000040,0 1px 3px #00000026}[data-tooltip]:after{content:"";position:absolute;bottom:calc(100% + 2px);left:50%;transform:translate(-50%) translateY(3px);border-width:5px 5px 0 5px;border-style:solid;border-color:#0f172a transparent transparent transparent;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .15s ease,transform .15s cubic-bezier(.16,1,.3,1),visibility .15s ease;z-index:60}[data-tooltip]:hover:before,[data-tooltip]:hover:after{opacity:1;visibility:visible;transform:translate(-50%) translateY(0)}[data-tooltip-align=right]:before{left:auto;right:0;transform:translateY(3px)}[data-tooltip-align=right]:after{left:auto;right:9px;transform:translateY(3px)}[data-tooltip-align=right]:hover:before,[data-tooltip-align=right]:hover:after{transform:translateY(0)}.stitch-tab-count{padding:.1rem .45rem;border-radius:9999px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.7rem;background:#e2e8f0;color:#475569}.stitch-switch-wrap{display:inline-flex;align-items:center;gap:.5rem;background:#fff;border:1px solid #e2e8f0;padding:.35rem .75rem;border-radius:8px;font-size:.78rem;font-weight:500;color:#475569}.stitch-switch-btn{position:relative;width:36px;height:20px;border-radius:9999px;background:#cbd5e1;border:none;cursor:pointer;transition:background-color .2s ease;padding:2px;display:inline-block}.stitch-switch-btn.active{background:#10b981}.stitch-switch-thumb{width:16px;height:16px;border-radius:50%;background:#fff;display:block;box-shadow:0 1px 2px #0003;transition:transform .2s ease;transform:translate(0)}.stitch-switch-btn.active .stitch-switch-thumb{transform:translate(16px)}.stitch-atten-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1.5rem;margin-bottom:1.25rem;flex-wrap:wrap}.stitch-atten-filter-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:1.15rem 1.25rem;margin-bottom:1.25rem;box-shadow:0 1px 3px #0000000a;display:flex;flex-direction:column;gap:1rem}.stitch-atten-filter-grid{display:grid;grid-template-columns:2fr repeat(4,1fr);gap:.75rem;align-items:end}@media(max-width:1200px){.stitch-atten-filter-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:640px){.stitch-atten-filter-grid{grid-template-columns:1fr}}.stitch-atten-banner{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:.85rem 1.25rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.25rem;flex-wrap:wrap}.stitch-atten-table-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;overflow:hidden;box-shadow:0 1px 3px #0000000a}.stitch-atten-table-head{padding:1rem 1.25rem;background:#fff;border-bottom:1px solid #f1f5f9;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.stitch-atten-table{width:100%;border-collapse:separate;border-spacing:0;font-size:.9rem;text-align:left}.stitch-atten-table thead{background:#f8fafc;color:#64748b;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;-webkit-user-select:none;user-select:none}.stitch-atten-table th{padding:.75rem 1rem;border-bottom:1px solid #e2e8f0;font-weight:700;position:sticky;top:0;z-index:5;background:#f8fafc}.stitch-atten-table td{padding:.85rem 1rem;border-bottom:1px solid #f1f5f9;color:#1e293b;vertical-align:middle}.stitch-atten-table tbody tr{transition:background .12s ease}.stitch-atten-table tbody tr:hover{background:#f8fafc}.stitch-reason-chip{padding:.25rem .65rem;border-radius:9999px;font-size:.8rem;font-weight:600;background:#f1f5f9;color:#334155;border:1px solid #e2e8f0;cursor:pointer;transition:all .15s ease;white-space:nowrap}.stitch-reason-chip:hover{background:#ecfdf5;color:#059669;border-color:#a7f3d0}.stitch-reason-chip.active{background:#1d4ed8;color:#fff;border-color:#1d4ed8}.sidebar{padding:24px 12px 20px;background:var(--sidebar);color:var(--sidebar-ink);display:flex;flex-direction:column;justify-content:space-between;border-right:1px solid var(--line);overflow-y:auto;overflow-x:hidden;gap:1rem;height:100vh;position:sticky;top:0;box-sizing:border-box}.sidebar-brand-wrapper{padding:0 10px 18px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:center}.sidebar-collapse-btn{width:34px;height:34px;border:0;border-radius:10px;background:#2f2b3d0f;color:#2f2b3dad;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .15s ease}.sidebar-collapse-btn:hover{background:#7367f029;color:#7367f0}.sidebar-clusters{display:flex;flex-direction:column;gap:1.1rem;flex:1}.sidebar-cluster{display:flex;flex-direction:column;gap:.2rem}.sidebar-cluster-title{width:100%;border:0;background:transparent;display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:#2f2b3d6b;padding:.55rem .85rem .25rem;-webkit-user-select:none;user-select:none;cursor:pointer}.nav-count{margin-left:auto;min-width:18px;height:18px;padding:0 5px;border-radius:99px;background:#7367f0;color:#fff;font-size:11px;font-weight:700;line-height:18px;text-align:center}.qr-standalone{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;gap:1rem}.dash-head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.dash-head h1{margin:0;font-size:1.75rem}.dash-head select,.dash-head input{height:38px;border:1px solid #dfe1e6;border-radius:8px;padding:0 .7rem;background:#fff}.app-breadcrumb{display:flex;align-items:center;gap:.45rem;margin:0 0 .85rem;color:#6d6b77;font-size:.86rem}.crumb-back{width:28px;height:28px;border:1px solid #dfe1e6;border-radius:8px;background:#fff;cursor:pointer}.page-kicker,.lede{display:none}.stitch-table th,.stitch-table td{text-align:center}.stitch-table th{text-transform:capitalize}.sidebar-cluster .sidebar-nav-link{margin-left:.35rem}.shell.sidebar-collapsed .sidebar-cluster-title{display:none}.sidebar-nav-link,.sidebar .app-nav a.sidebar-nav-link{display:flex;align-items:center;gap:12px;height:42px;padding:0 14px;border-radius:10px;color:var(--sidebar-ink);font-size:14px;font-weight:500;text-decoration:none;transition:all .15s ease;position:relative}.sidebar .sidebar-nav-link:hover,.sidebar .app-nav a.sidebar-nav-link:hover,.sidebar .app-nav a:hover,.sidebar-nav-link:hover{background:#2f2b3d0a!important;color:var(--sidebar-ink)!important}.sidebar .sidebar-nav-link.active,.sidebar .app-nav a.sidebar-nav-link.active,.sidebar-nav-link.active{background:linear-gradient(72deg,#7367f0 22%,#7367f0b3 76%)!important;color:#fff!important;font-weight:600;box-shadow:0 2px 6px #7367f07a}.sidebar-nav-link.active:before{content:none}.sidebar-icon{width:18px;height:18px;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:currentColor}.sidebar .sidebar-nav-link:hover .sidebar-icon,.sidebar .sidebar-nav-link:hover svg,.sidebar-nav-link:hover .sidebar-icon,.sidebar-nav-link:hover svg{color:var(--sidebar-ink)!important}.sidebar .sidebar-nav-link.active .sidebar-icon,.sidebar .sidebar-nav-link.active svg,.sidebar-nav-link.active .sidebar-icon,.sidebar-nav-link.active svg{color:#fff!important}.sidebar-badge-dot{width:8px;height:8px;border-radius:50%;margin-left:auto;flex-shrink:0}.sidebar-badge-dot.pulse{background:#7367f0;box-shadow:0 0 6px #7367f099}.sidebar-badge-dot.amber{background:#ffb84d;box-shadow:0 0 6px #ffb84d}.shell.sidebar-collapsed .sidebar-badge-dot{display:none}.sidebar-dock{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:14px 16px;margin-top:auto;display:flex;flex-direction:column;flex-shrink:0}.shell.sidebar-collapsed .sidebar-dock{display:none}.sidebar-dock-head{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:14px;font-weight:600;color:var(--heading)}.sidebar-dock-status{font-size:12px;font-weight:600;color:#7367f0;margin-left:auto}.stitch-overview-container{max-width:1400px;margin:0 auto;display:flex;flex-direction:column;gap:1.5rem}.stitch-overview-head{display:flex;flex-direction:column;gap:.25rem}.stitch-overview-row{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}@media(max-width:1100px){.stitch-overview-row{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.stitch-overview-row{grid-template-columns:1fr}}.stitch-overview-card{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:1.15rem 1.25rem;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 1px 3px #0000000a;position:relative;overflow:hidden;transition:transform .15s ease,box-shadow .15s ease}.stitch-overview-card:hover{transform:translateY(-1px);box-shadow:0 4px 12px #0000000f}.stitch-overview-card.accent-purple{border-top:3.5px solid #8b5cf6}.stitch-overview-card.accent-amber{border-top:3.5px solid #f59e0b}.stitch-overview-card.accent-emerald{border-top:3.5px solid #10b981}.stitch-overview-card.accent-blue{border-top:3.5px solid #3b82f6}.stitch-overview-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:.5rem}.stitch-overview-card-label{font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);margin:0}.stitch-overview-card-dot{width:8px;height:8px;border-radius:50%}.stitch-overview-card-val{font-size:1.85rem;font-weight:800;color:var(--heading);letter-spacing:-.02em;margin:0;line-height:1.15}.stitch-overview-split{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem}@media(max-width:900px){.stitch-overview-split{grid-template-columns:1fr}}.stitch-overview-panel{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:1.25rem 1.5rem;box-shadow:0 1px 3px #0000000a}.device-workspace-container{display:block;width:100%;margin-top:.25rem}.sidebar-back-link{display:flex;align-items:center;gap:.5rem;padding:.6rem .85rem;margin:.4rem .5rem .85rem;border-radius:8px;background:var(--surface-card, #ffffff);border:1px solid var(--border, #e2e8f0);color:var(--heading, #1e293b);font-size:.86rem;font-weight:700;text-decoration:none;box-shadow:0 1px 2px #00000008;transition:all .15s ease}.sidebar-back-link:hover{background:var(--surface-subtle, #f1f5f9);border-color:#cbd5e1;color:#0f172a}.sidebar-device-card{margin:0 .5rem 1rem;padding:.85rem;background:var(--surface-subtle, #f8fafc);border-radius:10px;border:1px solid var(--border, #e2e8f0);box-shadow:0 1px 3px #00000005}.device-workspace-main{width:100%}.stitch-dev-emp-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem;flex-wrap:wrap}.stitch-dev-emp-pills{display:inline-flex;padding:4px;background:#f1f5f9;border-radius:8px;gap:2px}.stitch-dev-emp-pill-btn{padding:6px 14px;font-size:.82rem;font-weight:600;border-radius:6px;border:none;background:transparent;color:#64748b;cursor:pointer;transition:all .15s ease}.stitch-dev-emp-pill-btn:hover{color:#0f172a}.stitch-dev-emp-pill-btn.active{background:#10b981;color:#fff;box-shadow:0 1px 2px #10b98133}.stitch-dev-emp-search-wrap{position:relative;width:280px}.stitch-dev-emp-search-wrap svg{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:#94a3b8;pointer-events:none}.stitch-dev-emp-search{width:100%;padding:6px 12px 6px 32px;font-size:.82rem;border-radius:8px;border:1px solid #e2e8f0;background:#fff;color:#0f172a;outline:none;transition:border-color .15s ease}.stitch-dev-emp-search:focus{border-color:#10b981;box-shadow:0 0 0 2px #10b98126}.stitch-dev-emp-count{font-size:.82rem;color:#64748b;white-space:nowrap}.stitch-dev-emp-count strong{color:#0f172a}.stitch-dev-emp-add-btn{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;background:#059669;color:#fff;font-size:.82rem;font-weight:600;border-radius:8px;border:none;cursor:pointer;box-shadow:0 1px 3px #0596694d;transition:background-color .15s ease;white-space:nowrap}.stitch-dev-emp-add-btn:hover{background:#047857}.stitch-modern-table-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 3px #00000008;overflow:hidden}.stitch-modern-table{width:100%;border-collapse:collapse;text-align:left;font-size:.82rem;color:#475569}.stitch-modern-table thead{background:#f8fafc;border-bottom:1px solid #e2e8f0}.stitch-modern-table th{padding:10px 14px;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#64748b;background:#f8fafc}.stitch-modern-table td{padding:12px 14px;border-bottom:1px solid #f1f5f9;vertical-align:middle}.stitch-modern-table tbody tr{transition:background-color .15s ease}.stitch-modern-table tbody tr:hover{background-color:#f8fafc}.stitch-emp-bio-pill{display:inline-flex;align-items:center;gap:4px;padding:2px 7px;border-radius:4px;font-size:.72rem;font-weight:600;background:#f1f5f9;color:#334155;border:1px solid #e2e8f0}.stitch-emp-bio-pill svg{color:#059669}.stitch-sync-pill{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:9999px;font-size:.74rem;font-weight:600}.stitch-sync-pill.synced{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}.stitch-sync-pill.pending{background:#fffbeb;color:#b45309;border:1px solid #fde68a}.stitch-sync-pill.error{background:#fff1f2;color:#be123c;border:1px solid #fecdd3}.stitch-table-action-btn{display:inline-flex;align-items:center;gap:4px;padding:4px 9px;font-size:.78rem;font-weight:600;border-radius:6px;cursor:pointer;transition:all .15s ease;border:1px solid #e2e8f0;background:#fff;color:#475569}.stitch-table-action-btn:hover{background:#f1f5f9;color:#0f172a}.stitch-table-action-btn.view{background:#f8fafc;border-color:#e2e8f0;color:#334155}.stitch-table-action-btn.view:hover{background:#ecfdf5;color:#047857;border-color:#a7f3d0}.stitch-table-action-btn.view svg{color:#64748b}.stitch-table-action-btn.view:hover svg{color:#059669}.stitch-table-action-btn.edit{background:#ecfdf5;border-color:#a7f3d0;color:#047857}.stitch-table-action-btn.edit:hover{background:#d1fae5;color:#065f46}.stitch-table-action-btn.edit svg{color:#059669}.stitch-table-action-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;border:1px solid #e2e8f0;background:#fff;color:#64748b;cursor:pointer;transition:all .15s ease;box-shadow:0 1px 2px #00000005}.stitch-table-action-icon-btn:hover{background:#f8fafc;border-color:#cbd5e1;color:#0f172a}.stitch-table-action-icon-btn.view{background:#f8fafc;color:#475569;border-color:#e2e8f0}.stitch-table-action-icon-btn.view:hover{background:#ecfdf5;color:#047857;border-color:#a7f3d0}.stitch-table-action-icon-btn.edit{background:#f0fdf4;color:#059669;border-color:#a7f3d0}.stitch-table-action-icon-btn.edit:hover{background:#d1fae5;color:#065f46;border-color:#6ee7b7}.stitch-table-action-icon-btn.remove{background:#fff5f5;color:#e11d48;border-color:#fecdd3}.stitch-table-action-icon-btn.remove:hover{background:#fee2e2;color:#be123c;border-color:#fda4af}.stitch-modern-pagination{padding:10px 16px;background:#f8fafc;border-top:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between;font-size:.8rem;color:#64748b}.stitch-modern-page-btn{padding:4px 10px;border-radius:6px;border:1px solid #e2e8f0;background:#fff;color:#334155;font-size:.78rem;font-weight:600;cursor:pointer;transition:all .15s ease}.stitch-modern-page-btn:hover:not(:disabled){background:#f1f5f9}.stitch-modern-page-btn:disabled{opacity:.5;cursor:not-allowed}.stitch-modern-page-btn.active{background:#ecfdf5;border-color:#10b981;color:#047857}.stitch-mode-pill{display:inline-flex;align-items:center;gap:.3rem;padding:.2rem .65rem;border-radius:9999px;font-size:.78rem;font-weight:600;border:1px solid transparent}.stitch-mode-pill.single{background:#f1f5f9;border-color:#cbd5e1;color:#475569}.stitch-mode-pill.inside{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}.stitch-mode-pill.outside{background:#faf5ff;border-color:#e9d5ff;color:#7e22ce}.stitch-mode-pill.unpaired{background:#fffbeb;border-color:#fde68a;color:#b45309}.qr-settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.9rem 1rem;margin-top:1rem}.check-row{display:flex;grid-column:1 / -1;align-items:center;gap:.55rem;color:var(--heading);font-weight:600}.page-kicker{font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--primary);margin-bottom:.3rem}.app-cta{display:inline-flex;align-items:center;gap:.45rem;background:var(--primary);color:#fff;border:none;border-radius:10px;padding:.6rem 1.25rem;font-size:.88rem;font-weight:700;cursor:pointer;box-shadow:0 2px 6px #7367f05c;text-decoration:none}.app-cta:hover{filter:brightness(.94);color:#fff}.app-cta:disabled{opacity:.55;cursor:wait}.field-tip-label{position:relative;display:inline-flex;align-items:center;gap:6px;font-size:.84rem;font-weight:700;color:#2f2b3d;margin-bottom:.3rem}.field-tip-label:hover .field-tip-bubble,.field-tip-label:focus .field-tip-bubble,.field-tip-label:focus-within .field-tip-bubble{display:block}.icon-action{width:36px;height:36px;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;border:1px solid rgba(47,43,61,.16);background:#fff;color:#2f2b3d;cursor:pointer;text-decoration:none}.icon-action.add{background:#7367f0;border-color:transparent;color:#fff}.icon-action.view:hover,.icon-action.edit:hover{background:#7367f01f;color:#7367f0}.icon-action.delete{color:#ea5455}.icon-action.delete:hover{background:#ffe9e6}.icon-action.add:hover{filter:brightness(.94);color:#fff}.icon-action.labeled{width:auto;height:40px;padding:0 .95rem;gap:.4rem;font-weight:700;font-size:.88rem}.content .stitch-kpi-grid{display:none}.field .req,.field-tip-label .req{color:#ef4444}.field-label{display:inline-flex;align-items:center;gap:.35rem;min-height:1.25rem}.field .field-tip{color:var(--primary)}.field .field-tip-bubble{left:0;top:auto;bottom:calc(100% + 8px);color:#fff;font-size:.78rem;font-weight:600;z-index:40}.employee-section .stitch-form-section-header{flex-direction:column;align-items:flex-start;gap:.15rem}.employee-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:.85rem 1rem;align-items:start}.employee-form-grid>.span-2,.employee-form-grid>.field.span-2{grid-column:1 / -1}.stitch-form-section .employee-form-grid .field{margin-bottom:0;min-width:0}.stitch-form-section .employee-form-grid input,.stitch-form-section .employee-form-grid select{height:42px;min-height:42px}.stitch-form-section .employee-form-grid textarea{height:auto;min-height:72px}@media(max-width:720px){.employee-form-grid{grid-template-columns:1fr}}.location-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:.75rem 1rem}.location-detail-grid div{display:flex;flex-direction:column;gap:.15rem;padding:.7rem .8rem;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}.location-detail-grid span{color:#64748b;font-size:.78rem;font-weight:700}.location-detail-grid strong{color:#0f172a;font-size:.95rem}.field-tip{position:relative;display:inline-flex;align-items:center;color:var(--primary);cursor:pointer}.field-tip-bubble{display:none;position:absolute;left:0;top:calc(100% + 8px);z-index:30;width:max-content;max-width:260px;padding:.5rem .65rem;border-radius:8px;background:#0f2744;color:#fff;font-size:.78rem;font-weight:600;line-height:1.4;letter-spacing:0;text-transform:none;box-shadow:0 8px 20px #0f274438}.field-tip:hover .field-tip-bubble,.field-tip:focus .field-tip-bubble,.field-tip:focus-within .field-tip-bubble{display:block}.workplace-section-title{margin:0;display:inline-flex;align-items:center;gap:.35rem;font-size:.98rem;font-weight:700;color:#0f2744;letter-spacing:-.01em}.workplace-section-title .field-tip-label{margin:0}.workplace-fields,.workplace-grid,.workplace-row{display:flex;flex-direction:column;gap:.75rem}.workplace-grid{display:grid;grid-template-columns:1fr 1fr;gap:.75rem 1rem;align-items:end}.branch-form-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:.85rem 1rem;align-items:end}.branch-form-grid .span-2{grid-column:1 / -1}.branch-field{display:flex;flex-direction:column;min-width:0}.branch-field input,.branch-field select,.branch-form-row input,.branch-form-row select,.workplace-grid input,.workplace-grid select{width:100%;height:42px;min-height:42px;padding:0 .75rem;border:1px solid #cbd5e1;border-radius:8px;box-sizing:border-box;background:#fff;color:#0f172a;font:inherit;font-weight:600}.branch-code{font-family:ui-monospace,monospace;text-transform:uppercase}.branch-form-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.75rem;align-items:end}.branch-form-row.three{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}.branch-form-row label{display:flex;flex-direction:column;min-width:0}.branch-form-row .btn{height:42px;margin:0;white-space:nowrap}.workplace-grid label,.workplace-fields>label{display:flex;flex-direction:column}.stitch-form-section select{width:100%;min-height:42px;padding:.45rem .7rem;border:1px solid #cbd5e1;border-radius:8px;box-sizing:border-box}.workplace-row{flex-direction:row;align-items:center;flex-wrap:wrap}.field-error{margin:.4rem 0 0;color:#b42318;font-size:.84rem}.check-row input{width:auto}.qr-settings-actions,.qr-row-actions{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.qr-kiosk-toolbar{display:flex;justify-content:flex-end;margin-bottom:1rem}.qr-kiosk-toolbar label{display:flex;flex-direction:column;gap:.35rem;min-width:240px;color:var(--heading);font-weight:600}.qr-stage{display:flex;flex-direction:column;align-items:center;gap:.8rem;padding:2rem 1rem 2.5rem;background:var(--panel);border:1px solid var(--line);border-radius:16px}.qr-canvas{background:#fff;border-radius:12px;width:min(360px,80vw);height:auto}.qr-pending{display:grid;place-items:center;min-height:220px;color:var(--muted);border:1px dashed var(--line)}.qr-row-open{display:inline-flex;align-items:center;justify-content:flex-end;gap:.75rem}.qr-mini{display:block;width:88px;height:88px;background:#fff;border:1px solid var(--line);border-radius:8px}.qr-mini.pending{background:repeating-linear-gradient(-45deg,#f8f7fa,#f8f7fa 8px,#fff 8px,#fff 16px)}.qr-canvas.dim{opacity:.72}.qr-countdown{margin:0;font-size:1.6rem;font-weight:700;color:var(--heading)}.qr-notice,.qr-disabled{margin:0;max-width:36rem;text-align:center;color:var(--muted)}.qr-disabled strong{display:block;margin-bottom:.35rem;color:var(--heading)}a.btn,.content a.btn,button.btn,.app-cta,.content a.app-cta{display:inline-flex;align-items:center;justify-content:center;background:var(--primary);color:#fff;text-decoration:none}a.btn.ghost,.content a.btn.ghost,button.btn.ghost{background:#fff;color:#2f2b3d;border:1px solid rgba(47,43,61,.16)}a.icon-action,button.icon-action{color:#2f2b3d;background:#fff}a.icon-action.add,button.icon-action.add{color:#fff;background:#7367f0}.scrum-filters,.stitch-filter-panel.scrum-filters{display:flex;flex-direction:row;flex-wrap:wrap;gap:.85rem 1rem;align-items:center;margin:0 0 1rem}.scrum-filters>:not(.scrum-filters-action){flex:1 1 calc(25% - 1rem);max-width:calc(25% - .75rem);min-width:160px;height:auto;align-self:center}.filter-extra{display:none!important}.filter-shell>div:first-child{display:none!important}.scrum-filters input,.scrum-filters select,.scrum-filters .stitch-search-input,.scrum-filters .stitch-select{width:100%;height:40px;min-height:40px;max-height:40px;border:1px solid #dfe1e6;border-radius:3px;padding:8px 12px;font-size:14px;background:#fff;box-sizing:border-box}.scrum-filters-action{display:flex;justify-content:flex-end;align-items:center;align-self:center;flex:0 0 auto;height:40px;margin-left:auto}.stitch-table td[colspan],.empty,.empty-state{text-align:center}.scrum-search-btn{height:40px;min-width:44px;padding:0 .85rem;border:0;border-radius:3px;background:#7367f0;color:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.scrum-search-btn:hover{filter:brightness(.94)}.scrum-pager .stitch-page-btn{min-width:38px;padding:8px 14px;border-radius:6px;border:1px solid #f1f0f2;background:#f1f0f2;color:#433c50;font-weight:500}.scrum-pager .stitch-page-btn.active,.scrum-pager .stitch-page-btn:hover:not(:disabled){background:#7367f0;border-color:#7367f0;color:#fff}.branch-filters{display:flex;align-items:flex-start;gap:.75rem;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:1rem 1.1rem;margin-bottom:1rem}.branch-filter-fields{flex:1;min-width:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem}.branch-filter-fields input,.branch-filter-fields select{width:100%;height:40px;min-height:40px;border:1px solid #dfe1e6;border-radius:3px;padding:8px 12px;font-size:14px;background:#fff;box-sizing:border-box}.branch-filters .scrum-search-btn{flex:0 0 44px}:root[data-theme-version=dark] .branch-filter-fields input,:root[data-theme-version=dark] .branch-filter-fields select,:root[data-theme-version=dark] .scrum-filters input,:root[data-theme-version=dark] .scrum-filters select{background:var(--panel);color:var(--ink);border-color:var(--line)}@media(max-width:1100px){.branch-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.branch-filter-fields{grid-template-columns:1fr}}.floor-stack{display:grid;gap:.85rem}.floor-card{display:grid;gap:.7rem;padding:.9rem;border:1px solid #e6e6e8;border-radius:8px;background:#fff}.floor-actions{display:flex;flex-wrap:wrap;gap:.5rem}.branch-config-section{display:grid;gap:.75rem}.branch-config-section h4,.floor-card h4{margin:0;font-size:.95rem}.section-head{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.text-cta{border:0;background:transparent;color:#7367f0;font-weight:700;cursor:pointer;padding:0}.text-cta.danger{color:#ef4444}.config-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem;background:#f8fafc;border-radius:10px;padding:.7rem .9rem}.config-row-actions{display:inline-flex;gap:.75rem}.dept-chips{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.45rem}.dept-chip{border:1px solid #e2e8f0;background:#fff;color:#334155;border-radius:999px;padding:.35rem .8rem;font-weight:650;cursor:pointer}.dept-chip.on{background:#111827;color:#fff;border-color:#111827}.branch-status-pill{margin-left:auto;background:#f1f5f9;color:#475569;border-radius:999px;padding:.2rem .65rem;font-size:.78rem;font-weight:700}.qr-open-list{display:flex;flex-wrap:wrap;gap:.4rem;justify-content:center}.scrum-pager{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;padding:.75rem .35rem .25rem;color:#2f2b3dc7;font-size:.94rem}.scrum-pager-size,.scrum-pager-foot{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap}.scrum-pager select{height:38px;width:74px;border:1px solid #dfe1e6;border-radius:3px;background:#fff}.scrum-pager .pagination{display:flex;gap:4px;list-style:none;margin:0;padding:0}@media(max-width:1100px){.scrum-filters{grid-template-columns:1fr 1fr}}@media(max-width:640px){.scrum-filters{grid-template-columns:1fr}}.stitch-modal-body.is-locked input,.stitch-modal-body.is-locked select,.stitch-modal-body.is-locked textarea,.stitch-modal-body.is-locked button{pointer-events:none}:root[data-theme-version=dark] .stitch-table-card,:root[data-theme-version=dark] .table-wrap,:root[data-theme-version=dark] .floor-card,:root[data-theme-version=dark] .config-row,:root[data-theme-version=dark] .location-detail-grid div,:root[data-theme-version=dark] .stitch-form-section,:root[data-theme-version=dark] .stitch-modal-dialog,:root[data-theme-version=dark] .stitch-modal-header,:root[data-theme-version=dark] .stitch-modal-body,:root[data-theme-version=dark] .stitch-modal-footer,:root[data-theme-version=dark] .stitch-drawer-dialog,:root[data-theme-version=dark] .stitch-drawer-header,:root[data-theme-version=dark] .stitch-drawer-profile,:root[data-theme-version=dark] .modal{background:var(--panel);color:var(--ink);border-color:var(--line)}:root[data-theme-version=dark] .stitch-table th,:root[data-theme-version=dark] .stitch-table thead tr,:root[data-theme-version=dark] .stitch-roster-table thead,:root[data-theme-version=dark] .stitch-roster-table th,:root[data-theme-version=dark] .stitch-modern-table thead,:root[data-theme-version=dark] .stitch-modern-table th,:root[data-theme-version=dark] .stitch-atten-table thead,:root[data-theme-version=dark] .stitch-atten-table th,:root[data-theme-version=dark] .stitch-heartbeat-table thead,:root[data-theme-version=dark] .stitch-heartbeat-table th{background:#3b4058;color:#e7e9f4;border-color:var(--line)}:root[data-theme-version=dark] .stitch-table td,:root[data-theme-version=dark] .stitch-roster-table td,:root[data-theme-version=dark] .stitch-modern-table td,:root[data-theme-version=dark] .stitch-atten-table td,:root[data-theme-version=dark] .stitch-heartbeat-table td,:root[data-theme-version=dark] .stitch-roster-pin,:root[data-theme-version=dark] .stitch-modal-title,:root[data-theme-version=dark] .stitch-drawer-name,:root[data-theme-version=dark] .stitch-drawer-org-val,:root[data-theme-version=dark] .location-detail-grid strong,:root[data-theme-version=dark] .field-label,:root[data-theme-version=dark] .field span,:root[data-theme-version=dark] .field-hint{color:#f3f4f6;border-color:var(--line)}:root[data-theme-version=dark] .stitch-table tbody tr:hover,:root[data-theme-version=dark] .stitch-roster-table tr:hover td,:root[data-theme-version=dark] .stitch-modern-table tbody tr:hover,:root[data-theme-version=dark] .stitch-atten-table tbody tr:hover,:root[data-theme-version=dark] .stitch-heartbeat-table tbody tr:hover{background:#7367f029}:root[data-theme-version=dark] input,:root[data-theme-version=dark] select,:root[data-theme-version=dark] textarea{background:#25293c;color:#f3f4f6;border-color:var(--line)}:root[data-theme-version=dark] .icon-action:not(.add),:root[data-theme-version=dark] .dept-chip,:root[data-theme-version=dark] .stitch-modal-btn-cancel,:root[data-theme-version=dark] .scrum-pager .stitch-page-btn{background:#3b4058;color:#f3f4f6;border-color:var(--line)}:root[data-theme-version=dark] .scrum-pager,:root[data-theme-version=dark] .stitch-form-section-sub,:root[data-theme-version=dark] .stitch-modal-subtitle,:root[data-theme-version=dark] .location-detail-grid span{color:#c9cde4}:root[data-theme-version=dark] .field .req{color:#f87171}:root[data-theme-version=dark] .field-error{color:#fca5a5}:root[data-theme-version=dark] .icon-action.add,:root[data-theme-version=dark] .scrum-pager .stitch-page-btn.active,:root[data-theme-version=dark] .btn{color:#fff}:root[data-theme-version=dark] .btn.ghost{background:#3b4058;color:#f3f4f6;border-color:var(--line)}
