:root{--brand-primary:#c8102e;--brand-primary-hover:#9f0d25;--brand-primary-active:#870b20;--brand-primary-soft:#fff0f3;--brand-primary-border:rgba(200,16,46,0.28);--brand-primary-foreground:#ffffff;--brand-accent:var(--brand-primary);--provider-red:var(--brand-primary);--provider-red-dark:var(--brand-primary-hover);--provider-red-soft:var(--brand-primary-soft);--navy:#12314a;--canvas:#f4f7fa;--surface:#ffffff;--surface-subtle:#f8fafc;--border:#d9e2ea;--border-strong:#c5d1dc;--control-border:#8293a2;--control-border-hover:#617487;--text:#193247;--text-muted:#617487;--success:#20835f;--success-soft:#e8f5f0;--success-foreground:#176b4d;--warning:#9a6100;--warning-soft:#fff5df;--warning-foreground:#805000;--danger:#b42332;--danger-soft:#fff0ef;--danger-foreground:#a12730;--info:#365f85;--info-soft:#edf4fa;--info-foreground:#315775;--neutral-soft:#f1f3f6;--neutral-foreground:#697386;color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{min-width:320px;background:var(--canvas)}body,html{overflow-x:hidden}body{min-height:100vh;margin:0;color:var(--text);background:linear-gradient(135deg,rgba(200,16,46,.08),transparent 34%),linear-gradient(315deg,rgba(32,131,95,.07),transparent 30%),var(--canvas)}button,input,select,textarea{font:inherit}:where(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]):not([type=hidden]),textarea,select){border:1px solid var(--control-border);border-radius:8px;color:var(--text);background:var(--surface)}:where(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]):not([type=hidden]),textarea,select):hover:not(:disabled):not([readonly]){border-color:var(--control-border-hover)}:where(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]):not([type=hidden]),textarea,select):focus-visible{border-color:rgba(200,16,46,.72);outline:3px solid rgba(200,16,46,.14);outline-offset:1px}:where(input,textarea,select)[aria-invalid=true]{border-color:var(--provider-red);background:var(--provider-red-soft)}:where(input,textarea)[readonly],:where(input,textarea,select):disabled{border-color:var(--border-strong);color:var(--text-muted);background:var(--surface-subtle)}button:disabled,input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;opacity:.68}button{color:inherit}.login-page{display:grid;min-height:100vh;place-items:center;padding:32px 18px}.login-panel{display:grid;width:min(100%,440px);gap:28px;padding:32px;border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:0 20px 55px rgba(18,49,74,.12)}.brand-lockup{display:flex;align-items:center;gap:13px;line-height:1.1}.logo-brand-lockup{justify-content:center}.logo-brand-lockup img{display:block;width:min(100%,292px);height:auto;object-fit:contain}.brand-mark{display:grid;width:46px;height:46px;flex:0 0 auto;place-items:center;border-radius:8px;color:white;background:var(--provider-red);font-size:.76rem;font-weight:800;letter-spacing:.03em}.brand-lockup div{display:grid;gap:3px}.brand-lockup strong{color:var(--navy);font-size:1.08rem;letter-spacing:-.01em}.brand-lockup span:not(.brand-mark){color:var(--appearance-brand-ink,var(--provider-red));font-size:.72rem;font-weight:750;letter-spacing:.12em;text-transform:uppercase}.login-heading{display:grid;gap:8px}.eyebrow{color:var(--appearance-brand-ink,var(--provider-red));font-size:.68rem;font-weight:750;letter-spacing:.1em;text-transform:uppercase}.login-heading h1{margin:0;color:var(--navy);font-size:1.72rem;line-height:1.14;letter-spacing:-.025em}.login-heading p{margin:0;color:var(--text-muted);font-size:.9rem;line-height:1.55}.login-form{display:grid;gap:16px}.field{display:grid;gap:7px}.field span{color:var(--navy);font-size:.78rem;font-weight:700}.field input,.field select{width:100%;min-height:46px;padding:0 13px;border:1px solid var(--border-strong);border-radius:8px;color:var(--text);background:var(--surface-subtle);outline:none;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.password-field{gap:7px}.password-input-wrap{position:relative;display:block}.password-input-wrap input{padding-right:58px}.password-toggle{position:absolute;top:50%;right:6px;transform:translateY(-50%);display:grid;width:40px;height:40px;place-items:center;border:0;border-radius:7px;background:transparent;color:var(--text-muted);cursor:pointer}.password-toggle:focus-visible,.password-toggle:hover:not(:disabled){color:var(--navy);background:var(--appearance-subtle,#eef3f7)}.password-toggle:focus-visible{outline:3px solid rgba(200,16,46,.18);outline-offset:1px}.field input::placeholder{color:var(--appearance-muted,#8a9bab)}.field input:focus,.field select:focus{border-color:var(--provider-red);background:var(--surface);box-shadow:0 0 0 3px rgba(200,16,46,.14)}.sign-in-button{display:grid;place-items:center;min-height:46px;margin-top:4px;border:1px solid var(--provider-red);border-radius:8px;color:white;background:var(--provider-red);cursor:pointer;font-size:.86rem;font-weight:750;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.button-spinner-label{display:inline-flex;align-items:center;justify-content:center;gap:9px}.button-spinner{width:15px;height:15px;border:2px solid rgba(255,255,255,.45);border-top:2px solid var(--appearance-line,#ffffff);border-radius:50%;animation:session-loader-spin .78s linear infinite}.sign-in-button:hover:not(:disabled){border-color:var(--provider-red-dark);background:var(--provider-red-dark);box-shadow:0 10px 24px rgba(159,13,37,.18)}.sign-in-button:focus-visible{outline:3px solid rgba(200,16,46,.22);outline-offset:2px}.login-error{margin:0;padding:11px 12px;border:1px solid rgba(200,16,46,.25);border-radius:8px;color:var(--appearance-brand-ink,var(--provider-red-dark));background:var(--provider-red-soft);font-size:.78rem;font-weight:700;line-height:1.4}.auth-success{margin:0;padding:11px 12px;border:1px solid var(--appearance-green-ink,#b9decf);border-radius:8px;color:var(--appearance-green-ink,#145f43);background:var(--success-soft);font-size:.8rem;font-weight:750;line-height:1.45}.auth-secondary-link{display:inline-flex;width:fit-content;align-items:center;color:var(--appearance-brand-ink,var(--provider-red-dark));font-size:.82rem;font-weight:800;text-decoration:none}.auth-secondary-link:focus-visible,.auth-secondary-link:hover{text-decoration:underline}.auth-forgot-link{justify-self:center;color:var(--text-muted);font-size:.82rem;font-weight:750;text-decoration:none;transition:color .15s ease,text-decoration-color .15s ease}.auth-forgot-link:focus-visible,.auth-forgot-link:hover{color:var(--appearance-brand-ink,var(--provider-red-dark));text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}.auth-forgot-link:focus-visible,.auth-secondary-link:focus-visible{border-radius:6px;outline:3px solid rgba(200,16,46,.18);outline-offset:3px}.password-requirements{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 12px;margin:-2px 0 0;padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--appearance-surface,#fbfcfe);list-style:none}.password-requirements li{color:var(--text-muted);font-size:.76rem;font-weight:750}.password-requirements li[data-met=true]{color:var(--appearance-green-ink,#17694a)}.session-loading-page{display:grid;min-height:100vh;place-items:center;align-content:center;gap:14px;padding:32px 18px}.session-loading-page p{margin:0;color:var(--text-muted);font-size:.82rem;font-weight:700}.portal-spinner-state{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px;min-height:clamp(180px,35dvh,360px);width:100%;padding:32px 16px;color:var(--appearance-brand-ink,var(--brand-primary))}.portal-spinner{width:40px;height:40px;flex-shrink:0;animation:portal-spinner-turn 2.4s linear infinite}.portal-spinner-label{color:var(--text-muted);font-size:.875rem;font-weight:500;text-align:center}@keyframes portal-spinner-turn{to{transform:rotate(1turn)}}@media (prefers-reduced-motion:reduce){.portal-spinner{animation:none}}.session-loader{width:34px;height:34px;border:3px solid var(--appearance-line,#d5dde5);border-top-color:var(--appearance-line,#7f8d9a);border-radius:50%;animation:session-loader-spin .85s linear infinite}@keyframes session-loader-spin{to{transform:rotate(1turn)}}.session-restore-panel{gap:24px}.session-restore-content{display:grid;gap:8px}.session-restore-content h1{margin:0;color:var(--navy);font-size:1.72rem;line-height:1.14;letter-spacing:-.025em}.session-restore-content p{margin:0;color:var(--text-muted);font-size:.9rem;line-height:1.55}.session-restore-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.secondary-button{min-height:46px;margin-top:4px;border:1px solid var(--border-strong);border-radius:8px;color:var(--navy);background:var(--surface);cursor:pointer;font-size:.86rem;font-weight:750;transition:border-color .15s ease,color .15s ease,box-shadow .15s ease}.secondary-button:hover:not(:disabled){border-color:var(--provider-red);color:var(--appearance-brand-ink,var(--provider-red));box-shadow:0 8px 20px rgba(18,49,74,.08)}.secondary-button:focus-visible{outline:3px solid rgba(200,16,46,.22);outline-offset:2px}.app-shell{position:relative;display:grid;grid-template-columns:260px minmax(0,1fr);transition:grid-template-columns .18s ease;overflow-x:clip;background:var(--appearance-subtle,#f5f6f8)}.app-shell.sidebar-is-collapsed{grid-template-columns:82px minmax(0,1fr)}.mobile-nav-overlay{display:none}.shell-sidebar{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:100vh;gap:18px;padding:20px 16px;background:#14171d;color:#eef1f5;transition:padding .18s ease}.shell-brand{display:flex;min-height:60px;align-items:center;gap:12px;padding:4px 2px 16px;border-bottom:1px solid rgba(255,255,255,.08)}.shell-logo-full{display:block;width:min(100%,238px);height:auto;max-height:50px;object-fit:contain;object-position:left center}.compact-brand-mark,.shell-logo-cube{display:none}.profile-avatar,.shell-brand .brand-mark{display:grid;width:38px;height:38px;flex:0 0 auto;place-items:center;border-radius:8px;color:#ffffff;background:var(--provider-red);font-size:.74rem;font-weight:850}.shell-brand-fallback{display:grid;gap:2px}.shell-brand strong{color:#ffffff;font-size:.98rem;font-weight:850}.shell-brand span:not(.brand-mark){color:rgba(255,255,255,.62);font-size:.68rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.shell-nav{display:grid;align-content:start;gap:10px;overflow:auto;padding-right:2px}.shell-nav-group{display:grid;gap:7px}.shell-nav-group+.shell-nav-group{padding-top:8px;border-top:1px solid rgba(255,255,255,.07)}.shell-nav-heading{padding:0 10px;color:rgba(255,255,255,.38);font-size:.64rem;font-weight:850;letter-spacing:.08em;line-height:1;text-transform:uppercase}.shell-nav-items{display:grid;gap:2px}.shell-nav-item{position:relative;width:100%;min-width:0;height:32px;display:flex;align-items:center;gap:9px;padding:0 10px 0 14px;border:1px solid transparent;border-radius:7px;color:rgba(255,255,255,.68);background:transparent;cursor:pointer;font-size:.82rem;font-weight:700;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:background .15s ease,border-color .15s ease,color .15s ease}.shell-nav-item svg{flex:0 0 auto;opacity:.82}.shell-nav-item span{min-width:0;overflow:hidden;text-overflow:ellipsis}.shell-nav-item:before{content:"";position:absolute;inset:8px auto 8px 5px;width:3px;border-radius:999px;background:transparent}.shell-nav-item:hover{color:rgba(255,255,255,.9);background:rgba(255,255,255,.045)}.shell-nav-item.is-active{border-color:var(--brand-primary-border);color:#ffffff;background:color-mix(in srgb,var(--brand-primary) 13%,transparent)}.shell-nav-item.is-active:before{background:var(--brand-primary)}.sidebar-profile{display:grid;grid-template-columns:auto minmax(0,1fr);gap:9px;padding:12px;border:1px solid rgba(255,255,255,.07);border-radius:8px;background:rgba(255,255,255,.045)}.sidebar-profile-copy{display:grid;min-width:0;gap:3px}.sidebar-profile-identity{display:grid;grid-column:1/-1;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px;width:100%;padding:0;border:0;color:inherit;text-align:left;background:transparent;cursor:pointer}.sidebar-profile-identity:focus-visible{outline:2px solid var(--appearance-line,rgba(255,255,255,.8));outline-offset:4px;border-radius:5px}.sidebar-profile strong{color:#ffffff;font-size:.82rem;font-weight:800;line-height:1.2}.sidebar-profile span,.sidebar-profile strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-profile span{color:rgba(255,255,255,.58);font-size:.72rem;line-height:1.25}.sidebar-logout{grid-column:1/-1;min-height:30px;border:1px solid rgba(255,255,255,.09);border-radius:7px;color:rgba(255,255,255,.7);background:rgba(255,255,255,.035);cursor:pointer;font-size:.78rem;font-weight:800}.sidebar-logout:hover{border-color:rgba(200,16,46,.62);color:#ffffff;background:rgba(200,16,46,.24)}.shell-main{display:grid;align-content:start;justify-items:center;gap:22px;padding:28px}.content-wrap,.shell-topbar{width:min(100%,1400px)}.shell-topbar{justify-content:space-between;min-height:64px;gap:14px}.shell-topbar,.topbar-left{display:flex;align-items:center}.topbar-left{min-width:0;flex:1 1 auto;gap:10px}.topbar-search{position:relative;display:flex;width:min(48vw,520px);min-width:180px;flex:1 1 320px;max-width:520px;height:36px;align-items:center;gap:8px;padding:0 11px;border:1px solid rgba(22,25,31,.09);border-radius:8px;color:var(--appearance-muted,#7a8490);background:var(--appearance-surface,rgba(255,255,255,.82))}.global-search-results{position:absolute;z-index:80;top:calc(100% + 7px);left:0;width:min(560px,calc(100vw - 32px));max-height:min(430px,calc(100vh - 96px));overflow-y:auto;overscroll-behavior:contain;padding:7px;border:1px solid rgba(22,25,31,.12);border-radius:10px;background:var(--appearance-surface,#fff);box-shadow:0 18px 48px rgba(18,25,38,.18)}.global-search-results section{display:grid;gap:2px;padding:5px 0}.global-search-results section>strong{padding:4px 8px;color:var(--appearance-muted,#7a8490);font-size:.68rem;letter-spacing:.08em;text-transform:uppercase}.global-search-results a{display:grid;gap:2px;padding:8px;border-radius:7px;color:var(--appearance-ink,#20262e);text-decoration:none}.global-search-results a.is-active,.global-search-results a:hover{color:var(--appearance-brand-ink,var(--provider-red-dark));background:var(--provider-red-soft)}.global-search-results a small{color:var(--appearance-muted,#77808b)}.global-search-results>p{margin:10px;color:var(--appearance-muted,#707986);font-size:.8rem}.topbar-search input{width:100%;min-width:0;border:0;color:var(--appearance-muted,#5c6672);background:transparent;outline:0;font-size:.8rem}.topbar-search input::placeholder{color:var(--appearance-muted,#8a929d)}.platform-health{display:flex;flex:0 0 auto;align-items:center;gap:7px;color:var(--appearance-muted,#5f6975);font-size:.74rem;font-weight:750;white-space:nowrap;border:0;background:transparent;cursor:pointer}.platform-health span{width:7px;height:7px;border-radius:50%;background:var(--success);box-shadow:0 0 0 3px rgba(32,131,95,.1)}.platform-health.is-degraded{color:var(--appearance-amber-ink,#9a5b00)}.platform-health.is-degraded span{background:#d98900;box-shadow:0 0 0 3px rgba(217,137,0,.12)}.last-updated{color:var(--appearance-muted,#9aa2ad);font-size:.68rem;font-weight:600;white-space:nowrap}.sidebar-toggle{display:grid;width:36px;height:36px;flex:0 0 auto;place-items:center;border:1px solid rgba(22,25,31,.1);border-radius:8px;color:var(--appearance-muted,#4f5865);background:var(--appearance-surface,rgba(255,255,255,.82));cursor:pointer;transition:border-color .15s ease,color .15s ease,background .15s ease,box-shadow .15s ease}.sidebar-toggle:hover{border-color:rgba(200,16,46,.26);color:var(--appearance-brand-ink,var(--provider-red-dark));background:var(--appearance-surface,#ffffff);box-shadow:0 8px 18px rgba(19,24,33,.06)}.sidebar-toggle:focus-visible{outline:3px solid rgba(200,16,46,.18);outline-offset:2px}.drawer-toggle{display:none}.desktop-sidebar-toggle{display:grid}.topbar-actions{display:flex;flex:0 0 auto;align-items:center;gap:8px}.topbar-menu{position:relative}.header-popover{position:absolute;z-index:85;top:calc(100% + 8px);right:0;width:min(360px,calc(100vw - 28px));border:1px solid rgba(22,25,31,.12);border-radius:10px;background:var(--appearance-surface,#fff);box-shadow:0 18px 48px rgba(18,25,38,.18);overflow:hidden}.header-popover header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border-bottom:1px solid rgba(22,25,31,.08)}.header-popover header button{border:0;color:var(--appearance-brand-ink,var(--provider-red-dark));background:transparent;cursor:pointer;font-size:.75rem;font-weight:750}.notification-scroll{max-height:min(360px,calc(100vh - 150px));overflow-y:auto;overscroll-behavior:contain}.notification-scroll>p{margin:18px;color:var(--appearance-muted,#747e8a);text-align:center}.notification-item{display:grid;width:100%;gap:4px;padding:11px 12px;border:0;border-bottom:1px solid rgba(22,25,31,.07);color:var(--appearance-ink,#252b33);background:var(--appearance-surface,#fff);text-align:left;cursor:pointer}.notification-item.is-unread,.notification-item:hover{background:var(--appearance-surface,#fff7f8)}.notification-item span,.notification-item time{color:var(--appearance-muted,#717b87);font-size:.74rem}.notification-badge{position:absolute;top:-5px;right:-5px;min-width:17px;height:17px;padding:0 4px;border:2px solid var(--appearance-line,#fff);border-radius:9px;color:#fff;background:var(--provider-red);font-size:.58rem;font-weight:850;line-height:13px}.popover-footer{display:block;padding:10px 12px;color:var(--appearance-brand-ink,var(--provider-red-dark));text-align:center;text-decoration:none;font-size:.78rem;font-weight:750}.user-popover{width:245px;padding:6px}.user-popover header{display:grid;justify-content:stretch;margin:-6px -6px 5px}.user-popover header small{overflow:hidden;color:var(--appearance-muted,#737d88);text-overflow:ellipsis}.user-popover>a,.user-popover>button{display:flex;width:100%;align-items:center;gap:9px;padding:9px;border:0;border-radius:7px;color:var(--appearance-ink,#343b45);background:transparent;text-decoration:none;cursor:pointer;font:inherit;font-size:.8rem}.user-popover>a:hover,.user-popover>button:hover{color:var(--appearance-brand-ink,var(--provider-red-dark));background:var(--provider-red-soft)}.icon-button{display:grid;width:34px;height:34px;place-items:center;border:1px solid rgba(22,25,31,.1);border-radius:8px;color:var(--appearance-muted,#5d6672);background:var(--appearance-surface,#ffffff);cursor:pointer;transition:border-color .15s ease,color .15s ease,background .15s ease,box-shadow .15s ease}.icon-button:hover{border-color:rgba(200,16,46,.28);color:var(--appearance-brand-ink,var(--provider-red-dark));box-shadow:0 8px 18px rgba(19,24,33,.06)}.icon-button:focus-visible{outline:3px solid rgba(200,16,46,.18);outline-offset:2px}.topbar-avatar{display:grid;width:34px;height:34px;place-items:center;border:1px solid rgba(200,16,46,.18);border-radius:8px;color:var(--appearance-brand-ink,var(--provider-red-dark));background:var(--provider-red-soft);font-size:.72rem;font-weight:850;cursor:pointer}.content-wrap{display:grid;gap:22px}.view-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.view-hero h1{margin:0;color:var(--appearance-ink,#171a20);font-size:1.75rem;line-height:1.16}.view-hero p{margin:7px 0 0;color:var(--appearance-muted,#626975);font-size:.92rem;line-height:1.45}.kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.kpi-card,.panel{border:1px solid rgba(22,25,31,.09);border-radius:8px;background:var(--appearance-surface,#ffffff);box-shadow:0 12px 30px rgba(19,24,33,.06)}.communications-review{display:grid;min-width:0;max-width:100%;gap:16px;overflow-x:clip}.communications-review-header{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.communications-review-header h1{margin:5px 0;font-size:1.55rem}.communications-review-header p{margin:0;max-width:760px;color:var(--muted)}.communications-compact-summary,.communications-review-filters{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center;padding:10px 12px;border:1px solid var(--border);border-radius:9px;background:var(--surface);font-size:.72rem}.communications-compact-summary span{color:var(--muted)}.communications-review-filters button,.conversation-human-review button{padding:7px 10px;border:1px solid var(--border);border-radius:7px;background:var(--appearance-surface,white);cursor:pointer;font-size:.7rem;font-weight:750}.communications-review-filters button.is-selected,.conversation-human-review button.is-selected{border-color:var(--provider-red);background:var(--appearance-subtle,#fcf1f1)}.communications-review-workspace{display:grid;min-width:0;grid-template-columns:minmax(230px,300px) minmax(0,1fr);gap:14px;align-items:start}.communications-review-queue{display:grid;max-height:78vh;overflow:auto;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.communications-review-queue button{display:grid;gap:4px;padding:12px;border:0;border-bottom:1px solid var(--border);background:transparent;color:inherit;text-align:left;cursor:pointer}.communications-review-queue button.is-selected{border-left:3px solid var(--provider-red);background:var(--appearance-subtle,#fcf5f5)}.communications-review-queue strong{overflow:hidden;font-size:.8rem;text-overflow:ellipsis;white-space:nowrap}.communications-review-queue small,.communications-review-queue span{color:var(--muted);font-size:.68rem}.communications-review-queue button div{display:flex;justify-content:space-between;gap:8px}.communications-review-queue em{font-size:.62rem;font-style:normal;font-weight:750;text-transform:uppercase}.communications-console-controls{display:grid;gap:10px;padding:12px;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.communications-console-controls nav{display:flex;flex-wrap:wrap;gap:7px}.communications-console-controls button,.matter-review button,.related-row button{padding:7px 10px;border:1px solid var(--border);border-radius:7px;background:var(--appearance-surface,white);cursor:pointer}.communications-console-controls button.is-selected,.matter-review button.is-selected{border-color:var(--provider-red);background:var(--appearance-subtle,#fcf1f1)}.communications-console-controls label{display:grid;gap:5px;color:var(--muted);font-size:.7rem;font-weight:700}.communications-console-controls input{width:min(100%,520px);padding:9px 10px;border:1px solid var(--border);border-radius:7px;background:var(--appearance-surface,white);color:inherit}.communications-review-queue b{overflow:hidden;font-size:.78rem;text-overflow:ellipsis;white-space:nowrap}.communications-review-queue i{padding:2px 5px;border-radius:4px;background:var(--appearance-subtle,#f2e7e7);font-size:.58rem;font-style:normal}.communication-reader{min-width:0;display:grid;gap:14px}.communication-ai,.communication-reader-header,.communication-secondary,.communication-source,.communication-source-details{padding:18px;border:1px solid var(--border);border-radius:11px;background:var(--surface)}.communication-reader-header h2{margin:8px 0;font-size:1.35rem}.communication-reader-header p{margin:4px 0;color:var(--muted);overflow-wrap:anywhere}.communication-ai{border-top:4px solid var(--provider-red)}.communication-ai h3,.communication-secondary h3,.communication-source h3{margin:0 0 12px}.communication-ai article{margin-top:12px;padding:13px;border:1px solid var(--border);border-radius:8px;background:var(--appearance-surface,#fafafa)}.communication-ai article h4,.communication-ai article p{margin:5px 0}.call-timing,.communication-ai dl,.communication-source-details dl{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:5px 14px}.call-timing dt,.communication-ai dt,.communication-source-details dt{color:var(--muted);font-size:.7rem;font-weight:700}.call-timing dd,.communication-ai dd,.communication-source-details dd{margin:0;overflow-wrap:anywhere;font-size:.75rem}.matter-review{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.email-metadata{display:flex;flex-wrap:wrap;gap:8px 18px;margin-bottom:14px;color:var(--muted);font-size:.72rem}.email-body{max-width:100%;max-height:520px;padding:18px;overflow:auto;border:1px solid var(--border);border-radius:8px;background:var(--appearance-surface,white);white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}.call-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.call-facts>div{display:grid;gap:5px;align-content:start;padding:12px;border:1px solid var(--border);border-radius:8px}.call-facts h3{margin:0;font-size:.65rem;text-transform:uppercase}.call-facts h3,.call-facts small{color:var(--muted)}.call-timing{margin:16px 0;padding:12px;background:var(--appearance-surface,#fafafa);border-radius:8px}.communication-full-transcript{max-height:520px;overflow:auto;padding:10px 14px;border:1px solid var(--border);border-radius:8px;background:var(--appearance-surface,white)}.communication-full-transcript p{display:grid;grid-template-columns:72px 90px minmax(0,1fr);gap:10px;margin:0;padding:9px 0;border-bottom:1px solid var(--border);line-height:1.45}.communication-full-transcript time{color:var(--muted);font-size:.68rem}.communication-full-transcript strong{font-size:.72rem}.communication-secondary details{margin-top:8px;padding:10px;border:1px solid var(--border);border-radius:7px}.communication-secondary summary{cursor:pointer;font-size:.76rem;font-weight:700}.communication-secondary details .email-body{margin-top:10px}.related-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid var(--border);font-size:.72rem}.related-row span{color:var(--muted)}.communication-source-details summary{cursor:pointer;font-weight:750}.conversation-detail{display:grid;gap:12px}.conversation-assessment,.conversation-header,.conversation-human-review,.conversation-identity{padding:15px;border:1px solid var(--border);border-radius:9px;background:var(--surface)}.conversation-header{display:flex;justify-content:space-between;gap:16px}.conversation-header h2{margin:3px 0;font-size:1.05rem}.conversation-header p{margin:0;color:var(--muted);font-size:.74rem}.conversation-header dl{display:grid;grid-template-columns:auto auto;gap:3px 10px;margin:0;font-size:.68rem}.conversation-header dt{color:var(--muted)}.conversation-header dd{margin:0}.conversation-timeline{display:grid;gap:10px;padding:8px 0}.conversation-timeline article{max-width:82%;padding:12px 14px;border:1px solid var(--border);border-radius:10px;background:var(--appearance-surface,white)}.conversation-timeline article.is-outbound{justify-self:end;background:var(--appearance-subtle,#f3f7fb)}.conversation-timeline article header{display:flex;flex-wrap:wrap;gap:8px;font-size:.67rem}.conversation-timeline article header time{margin-left:auto;color:var(--muted)}.conversation-timeline article p{white-space:pre-wrap;font-size:.78rem;line-height:1.5}.conversation-assessment,.conversation-human-review,.conversation-identity{display:grid;gap:9px}.conversation-assessment>div,.conversation-human-review>div{display:flex;flex-wrap:wrap;gap:9px}.conversation-assessment p,.conversation-identity p{margin:0;font-size:.78rem}.communications-call-review{display:grid;gap:10px}.communications-call-review h2{margin:0;font-size:1rem}.communications-call-review>article{padding:14px;border:1px solid var(--border);border-radius:9px;background:var(--surface)}.communications-call-review>article>header{display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:.72rem}.communications-call-review time{margin-left:auto;color:var(--muted)}.channel-badge{padding:4px 7px;border-radius:999px;background:var(--appearance-subtle,#e9f3fa);color:var(--appearance-blue-ink,#195c86);font-size:.62rem}.call-review-layers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}.call-review-layers>section{padding:10px;border-left:3px solid var(--border);background:var(--appearance-surface,#fafafa);font-size:.72rem}.call-review-layers p{margin:7px 0}.call-review-layers button{margin:3px;padding:5px 7px;border:1px solid var(--border);border-radius:6px;background:var(--appearance-surface,white);font-size:.63rem}.call-transcript{max-height:240px;overflow:auto;white-space:pre-wrap}.review-fact-panel{position:relative;display:grid;gap:12px;align-content:start;padding:18px;border:1px solid var(--border);border-top:4px solid var(--appearance-line,#65717e);border-radius:10px;background:var(--surface)}.review-fact-panel.deterministic-facts{border-top-color:var(--appearance-blue-ink,#2875b8)}.review-fact-panel.ai-interpretation{border-top-color:var(--appearance-purple-ink,#8b5fbf)}.review-fact-panel.human-review{border-top-color:var(--appearance-green-ink,#278659)}.review-layer-label{color:var(--muted);font-size:.68rem;font-weight:850;letter-spacing:.09em;text-transform:uppercase}.review-fact-panel h2,.review-fact-panel h3{margin:0}.review-fact-panel h3{font-size:.82rem}.review-fact-panel dl{display:grid;grid-template-columns:125px 1fr;gap:7px 12px;margin:0;font-size:.78rem}.review-fact-panel dt{color:var(--muted);font-weight:750}.review-fact-panel dd{margin:0;overflow-wrap:anywhere}.review-fact-panel pre{margin:0;max-height:420px;padding:14px;overflow:auto;border-radius:7px;background:var(--appearance-subtle,#f6f7f8);font:inherit;font-size:.78rem;line-height:1.55;white-space:pre-wrap}.review-fact-panel article{padding:10px;border-radius:7px;background:var(--appearance-subtle,#f7f4fa);font-size:.75rem}.review-fact-panel article p{margin:4px 0 0}.review-decision-buttons,.review-tags{display:flex;flex-wrap:wrap;gap:7px}.review-tags span{padding:4px 7px;border-radius:999px;background:var(--appearance-subtle,#edf3f8);color:var(--appearance-blue-ink,#315b7d);font-size:.65rem;font-weight:750}.review-decision-buttons button{padding:8px 10px;border:1px solid var(--border);border-radius:7px;background:var(--appearance-surface,white);cursor:pointer;font-size:.7rem;font-weight:750}.review-decision-buttons button.is-selected{border-color:var(--appearance-green-ink,#278659);background:var(--appearance-subtle,#eaf7f0);color:var(--appearance-green-ink,#17613e)}.review-correction-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.review-correction-grid label{display:grid;gap:5px;color:var(--muted);font-size:.7rem;font-weight:700}.review-correction-grid input,.review-correction-grid select,.review-correction-grid textarea{width:100%;padding:9px;border:1px solid var(--border);border-radius:6px;background:var(--appearance-surface,white);color:var(--ink)}.review-note{grid-column:1/-1}.communications-safety{padding:10px 12px;border:1px solid var(--appearance-line,#9bcbb4);border-radius:8px;background:var(--appearance-subtle,#edf8f2);color:var(--appearance-green-ink,#17613e);font-size:.72rem}.supervised-action{display:grid;gap:9px;margin-top:14px;padding:13px;border:1px solid var(--appearance-line,#b9d5c7);border-radius:8px;background:var(--appearance-subtle,#f4fbf7)}.ground-truth-picker,.supervised-action label{position:relative;display:grid;gap:5px;color:var(--muted);font-size:.7rem;font-weight:700}.supervised-action input,.supervised-action select,.supervised-action textarea{padding:9px;border:1px solid var(--border);border-radius:6px;background:var(--appearance-surface,white)}.supervised-action button{justify-self:start;padding:8px 11px;border:1px solid var(--appearance-green-ink,#278659);border-radius:7px;background:#278659;color:white;cursor:pointer}.ground-truth-picker>span{position:absolute;z-index:4;top:58px;right:0;left:0;display:grid;max-height:190px;overflow:auto;border:1px solid var(--border);border-radius:6px;background:var(--appearance-surface,white);box-shadow:0 10px 24px rgba(0,0,0,.12)}.ground-truth-picker>span button{padding:8px;border:0;border-bottom:1px solid var(--border);background:var(--appearance-surface,white);color:var(--ink);text-align:left}.communications-review-error,.review-saved{margin:0;font-size:.75rem}.communications-review-error{padding:10px 12px;border:1px solid var(--appearance-red-ink,#e4a8ad);border-radius:7px;background:var(--appearance-subtle,#fff2f3);color:var(--appearance-red-ink,#9b1c27)}@media (max-width:1280px){.communications-review-workspace{grid-template-columns:240px minmax(0,1fr)}}@media (max-width:1100px){.communications-review-workspace{grid-template-columns:1fr}.communications-review-queue{grid-template-columns:repeat(2,minmax(0,1fr));max-height:280px}}@media (max-width:760px){.call-facts,.call-review-layers,.communications-review-queue,.review-correction-grid{grid-template-columns:1fr}.conversation-header{display:grid}.conversation-timeline article{max-width:94%}.communication-full-transcript p,.related-row{grid-template-columns:1fr}}.kpi-card{display:grid;min-height:132px;align-content:space-between;gap:14px;padding:17px}.kpi-card span{color:var(--appearance-muted,#6b7280);font-size:.7rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.kpi-card strong{color:var(--appearance-ink,#171a20);font-size:1.85rem;line-height:1}.kpi-card small{color:var(--appearance-muted,#6b7280);font-size:.76rem;font-weight:700;line-height:1.35}.kpi-card:before{content:"";display:block;width:34px;height:3px;border-radius:999px;background:var(--provider-red)}.dashboard-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.personal-dashboard{max-width:none}.dashboard-hero{margin-bottom:20px}.dashboard-mapping-notice{display:flex;gap:6px;flex-direction:column;margin:0 0 18px;padding:14px 16px;border:1px solid var(--appearance-amber-ink,#f0c987);border-radius:10px;background:var(--appearance-subtle,#fff9ed);color:var(--appearance-amber-ink,#674612)}.dashboard-mapping-notice span{color:var(--appearance-amber-ink,#7d622f);font-size:.87rem}.dashboard-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.dashboard-metric-card{position:relative;display:flex;min-height:116px;flex-direction:column;padding:18px 20px;overflow:hidden;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:inherit;text-decoration:none;transition:border-color .15s ease,transform .15s ease}.dashboard-metric-card:before{position:absolute;inset:0 auto 0 0;width:3px;background:#c81e2a;content:""}.dashboard-metric-card:hover{border-color:var(--appearance-red-ink,#d7a4a8);transform:translateY(-1px)}.dashboard-metric-card>span{color:var(--muted);font-size:.78rem;font-weight:700;letter-spacing:.025em;text-transform:uppercase}.dashboard-metric-card>strong{margin-top:7px;color:var(--ink);font-size:1.8rem;line-height:1}.dashboard-metric-card>small{margin-top:auto;color:var(--muted)}.dashboard-metric-card.danger:before{background:#c81e2a}.dashboard-metric-card.attention:before{background:#d68b1f}.dashboard-metric-card.positive:before{background:#278659}.dashboard-workspace{display:grid;grid-template-columns:minmax(0,2.25fr) minmax(270px,.75fr);gap:18px;align-items:start}.dashboard-section{min-width:0;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:0 1px 2px rgb(23 31 44/4%)}.dashboard-section-heading{display:flex;min-height:68px;align-items:center;justify-content:space-between;padding:15px 18px;border-bottom:1px solid var(--border)}.dashboard-section-heading h2{margin:2px 0 0;font-size:1.05rem}.dashboard-section-heading>a{color:var(--appearance-red-ink,#a71621);font-size:.82rem;font-weight:700;text-decoration:none}.dashboard-section-heading .eyebrow{color:var(--muted);font-size:.67rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.dashboard-ticket-list{display:flex;flex-direction:column}.dashboard-ticket-row{display:grid;grid-template-columns:minmax(240px,1fr) auto 150px;gap:18px;align-items:center;padding:13px 18px;border-bottom:1px solid var(--border);color:inherit;text-decoration:none}.dashboard-ticket-row:last-child{border-bottom:0}.dashboard-ticket-row:hover{background:var(--appearance-surface,#fcf8f8)}.dashboard-ticket-identity{display:grid;min-width:0;gap:2px}.dashboard-ticket-identity>strong{color:var(--appearance-red-ink,#a71621);font-size:.78rem}.dashboard-ticket-identity>span{overflow:hidden;color:var(--ink);font-size:.88rem;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.dashboard-ticket-identity>small,.dashboard-ticket-time small{color:var(--muted)}.dashboard-ticket-badges{display:flex;gap:6px;align-items:center}.ticket-priority,.ticket-status{padding:4px 8px;border-radius:999px;background:var(--appearance-subtle,#f1f3f5);color:var(--appearance-muted,#52606d);font-size:.67rem;font-weight:700;white-space:nowrap}.priority-critical,.priority-high,.priority-urgent{background:var(--appearance-subtle,#fdebed);color:var(--appearance-red-ink,#a71621)}.dashboard-ticket-time{display:grid;gap:3px;justify-items:end;color:var(--appearance-muted,#506070);font-size:.76rem}.dashboard-ticket-time .is-overdue{color:var(--appearance-red-ink,#b31c28);font-weight:750}.dashboard-action-list{display:grid;gap:9px;padding:14px}.dashboard-action{display:flex;gap:11px;align-items:center;padding:12px;border:1px solid var(--border);border-radius:9px;color:inherit;text-decoration:none}.dashboard-action:hover{border-color:var(--appearance-red-ink,#d7a4a8);background:var(--appearance-surface,#fcf8f8)}.dashboard-action>span{display:grid;width:34px;height:34px;place-items:center;border-radius:8px;background:var(--appearance-subtle,#f5f1f1);color:var(--appearance-red-ink,#a71621);font-size:1.15rem}.dashboard-action div{display:grid;gap:2px}.dashboard-action strong{font-size:.83rem}.dashboard-action small{color:var(--muted)}.dashboard-action.primary{border-color:var(--appearance-red-ink,#b61c27);background:#b61c27;color:white}.dashboard-action.primary>span{background:rgb(255 255 255/15%);color:white}.dashboard-action.primary small{color:rgb(255 255 255/76%)}.dashboard-activity-list{display:flex;flex-direction:column}.dashboard-activity-list>a{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 18px;border-bottom:1px solid var(--border);color:inherit;text-decoration:none}.dashboard-activity-list>a:last-child{border-bottom:0}.dashboard-activity-list>a:hover{background:var(--appearance-surface,#fafafa)}.activity-mark{width:8px;height:8px;border-radius:50%;background:#87929d}.activity-ticket-note{background:#2875b8}.activity-time-entry{background:#278659}.activity-charge{background:#b97619}.dashboard-activity-list div{display:grid;gap:2px}.dashboard-activity-list strong{font-size:.82rem}.dashboard-activity-list span,.dashboard-activity-list time{color:var(--muted);font-size:.73rem}.dashboard-today-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:var(--border)}.dashboard-today-grid div{display:grid;gap:3px;padding:19px 16px;background:var(--surface)}.dashboard-today-grid strong{font-size:1.35rem}.dashboard-today-grid span{color:var(--muted);font-size:.75rem}.dashboard-today>p{margin:0;padding:13px 16px;color:var(--muted);font-size:.7rem}.dashboard-empty,.dashboard-section-empty{padding:32px 18px;color:var(--muted);text-align:center}.dashboard-empty{display:grid;gap:6px}.dashboard-empty strong{color:var(--ink)}@media (max-width:1100px){.dashboard-metric-grid{grid-template-columns:repeat(2,1fr)}.dashboard-workspace{grid-template-columns:1fr}}@media (max-width:720px){.dashboard-metric-grid{grid-template-columns:1fr 1fr}.dashboard-ticket-row{grid-template-columns:1fr;gap:8px}.dashboard-ticket-time{justify-items:start}.dashboard-ticket-badges{flex-wrap:wrap}}@media (max-width:480px){.dashboard-metric-grid{grid-template-columns:1fr}}.panel{display:grid;gap:16px;align-content:start;padding:20px}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.panel-heading div{display:grid;gap:7px}.panel-heading h2,.placeholder-panel h1{margin:0;color:var(--appearance-ink,#171a20);font-size:1.04rem;line-height:1.2}.activity-list,.checklist,.status-list{display:grid;gap:10px}.activity-list div,.checklist div,.status-list div{display:grid;gap:4px;min-height:44px;padding:11px 0;border-bottom:1px solid rgba(22,25,31,.08)}.activity-list div:last-child,.checklist div:last-child,.status-list div:last-child{border-bottom:0}.activity-list strong,.checklist strong,.status-list strong{color:var(--appearance-ink,#22262d);font-size:.84rem;font-weight:850}.activity-list span,.checklist span,.placeholder-panel p,.status-list small{margin:0;color:var(--appearance-muted,#6b7280);font-size:.78rem;line-height:1.4}.status-list div{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;column-gap:12px}.status-list small{justify-self:end;font-weight:800}.status-dot.neutral{background:#6f7681;box-shadow:0 0 0 4px rgba(111,118,129,.12)}.status-dot.muted{background:#a3aab5;box-shadow:0 0 0 4px rgba(163,170,181,.14)}.quick-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.primary-action,.secondary-action{min-height:40px;padding:0 14px;border-radius:8px;cursor:pointer;font-size:.82rem;font-weight:850}.primary-action{border:1px solid var(--provider-red);color:#ffffff;background:var(--provider-red);box-shadow:0 10px 22px rgba(200,16,46,.18)}.primary-action:hover:not(:disabled){border-color:var(--provider-red-dark);background:var(--provider-red-dark)}.secondary-action{border:1px solid rgba(22,25,31,.12);color:var(--appearance-ink,#2b3038);background:var(--appearance-surface,#ffffff)}.secondary-action:hover:not(:disabled){border-color:rgba(200,16,46,.35);color:var(--appearance-brand-ink,var(--provider-red-dark))}.toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:14px}.search-field{display:grid;width:min(100%,420px);gap:7px}.search-field span{color:var(--appearance-ink,#2b3038);font-size:.76rem;font-weight:800}.search-field input,.search-field select{width:100%;min-height:40px;padding:0 12px;border:1px solid rgba(22,25,31,.12);border-radius:8px;color:var(--appearance-ink,#22262d);background:var(--appearance-surface,#ffffff);outline:none}.search-field input:focus,.search-field select:focus{border-color:rgba(200,16,46,.64);box-shadow:0 0 0 3px rgba(200,16,46,.12)}.customer-toolbar{display:grid;grid-template-columns:minmax(190px,260px) minmax(240px,1fr) auto}.filter-field{width:100%}.inline-create{display:grid;grid-template-columns:minmax(260px,1fr) auto;align-items:flex-end;gap:12px;padding:14px;border:1px solid rgba(22,25,31,.09);border-radius:8px;background:var(--appearance-surface,#fafbfc)}.customer-inline-create,.site-inline-create{grid-template-columns:minmax(190px,260px) minmax(260px,1fr) auto}.organisation-message{margin:0;padding:11px 12px;border:1px solid var(--appearance-line,#cfe5dc);border-radius:8px;color:var(--success);background:var(--success-soft);font-size:.78rem;font-weight:800;line-height:1.4}.organisation-table{display:grid;border:1px solid rgba(22,25,31,.09);border-radius:8px;overflow:hidden}.organisation-table-header,.organisation-table-row{display:grid;grid-template-columns:minmax(0,1fr) 120px;align-items:center;gap:14px;min-height:46px;padding:0 14px}.customer-table-row,.site-table-row{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) 120px}.organisation-table-header{color:var(--appearance-muted,#6b7280);background:var(--appearance-subtle,#f7f8fa);font-size:.68rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.organisation-table-row{background:var(--appearance-surface,#ffffff);border-top:1px solid rgba(22,25,31,.08);transition:background .12s ease}.organisation-table-row.is-clickable{cursor:pointer}.organisation-table-row.is-clickable:hover{background:var(--appearance-surface,#fafbfc)}.organisation-table-row span{color:var(--appearance-ink,#1f232a);font-size:.84rem;font-weight:850;overflow-wrap:anywhere}.organisation-table-row strong{color:var(--appearance-muted,#6b7280);font-size:.79rem;font-weight:750;overflow-wrap:anywhere}.organisation-table-row small{justify-self:start;padding:5px 8px;border-radius:999px;color:var(--appearance-muted,#6b7280);background:var(--appearance-subtle,#f2f3f5);font-size:.66rem;font-weight:850;text-transform:uppercase}.organisation-table-row small[data-status=active]{color:var(--success);background:var(--success-soft)}.organisation-table-row small[data-status=disabled]{color:var(--appearance-muted,#6b7280);background:var(--appearance-subtle,#eef0f3)}.directory-note{justify-self:end;margin:0;color:var(--appearance-muted,#6b7280);font-size:.78rem;font-weight:750}.global-site-table-row{grid-template-columns:minmax(180px,1fr) minmax(160px,.9fr) minmax(180px,1fr) 110px}.global-asset-table-row{grid-template-columns:minmax(180px,1.1fr) minmax(110px,.7fr) minmax(110px,.7fr) minmax(150px,.9fr) 104px minmax(110px,.7fr)}.asset-toolbar{display:grid;grid-template-columns:minmax(220px,360px) minmax(0,1fr) auto;align-items:flex-end}.asset-category-filter{display:flex;flex-wrap:wrap;gap:7px}.filter-chip{min-height:34px;padding:0 10px;border:1px solid rgba(22,25,31,.1);border-radius:999px;color:var(--appearance-muted,#5f6975);background:var(--appearance-surface,#ffffff);cursor:pointer;font-size:.74rem;font-weight:850}.filter-chip:hover{border-color:rgba(200,16,46,.28)}.filter-chip.is-active,.filter-chip:hover{color:var(--appearance-brand-ink,var(--provider-red-dark))}.filter-chip.is-active{border-color:rgba(200,16,46,.26);background:var(--provider-red-soft)}.asset-create-form{grid-template-columns:repeat(3,minmax(180px,1fr)) auto}.asset-table-row{grid-template-columns:minmax(180px,1.15fr) minmax(110px,.7fr) minmax(110px,.7fr) minmax(150px,1fr) 110px}.customer-detail-header small[data-status=inactive],.customer-detail-header small[data-status=unknown],.detail-fields small[data-status=inactive],.detail-fields small[data-status=unknown],.organisation-table-row small[data-status=inactive],.organisation-table-row small[data-status=unknown]{color:var(--appearance-muted,#6b7280);background:var(--appearance-subtle,#eef0f3)}.customer-detail-header small[data-status=fault],.detail-fields small[data-status=fault],.organisation-table-row small[data-status=fault]{color:var(--appearance-brand-ink,var(--provider-red-dark));background:var(--provider-red-soft)}.customer-breadcrumb{display:flex;align-items:center;gap:8px;color:var(--appearance-muted,#6b7280);font-size:.82rem;font-weight:750}.customer-breadcrumb button{border:0;color:var(--appearance-muted,#4f5865);background:transparent;cursor:pointer;font-weight:850;padding:0}.customer-breadcrumb button:hover{color:var(--appearance-brand-ink,var(--provider-red-dark))}.customer-breadcrumb strong{color:var(--appearance-ink,#171a20);font-weight:850}.customer-detail-header{grid-template-columns:minmax(0,1fr) auto auto;align-items:center}.customer-detail-header h1{margin:0;color:var(--appearance-ink,#171a20);font-size:1.55rem;line-height:1.16}.customer-detail-header p{margin:6px 0 0;color:var(--appearance-muted,#6b7280);font-size:.88rem;line-height:1.4}.customer-detail-header small,.detail-fields small{justify-self:start;padding:5px 8px;border-radius:999px;color:var(--appearance-muted,#6b7280);background:var(--appearance-subtle,#f2f3f5);font-size:.66rem;font-weight:850;text-transform:uppercase}.customer-detail-header small[data-status=active],.detail-fields small[data-status=active]{color:var(--success);background:var(--success-soft)}.customer-detail-header small[data-status=disabled],.detail-fields small[data-status=disabled]{color:var(--appearance-muted,#6b7280);background:var(--appearance-subtle,#eef0f3)}.detail-tabs{display:flex;gap:6px;overflow-x:auto;border-bottom:1px solid rgba(22,25,31,.1)}.detail-tab{min-height:40px;padding:0 12px;border:0;border-bottom:2px solid transparent;color:var(--appearance-muted,#6b7280);background:transparent;cursor:pointer;font-size:.82rem;font-weight:850;white-space:nowrap}.detail-tab:hover{color:var(--appearance-ink,#2b3038)}.detail-tab.is-active{border-bottom-color:var(--provider-red);color:var(--appearance-brand-ink,var(--provider-red-dark))}.customer-overview-grid{display:grid;grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr);gap:16px}.detail-summary-panel{align-content:start}.detail-fields{display:grid;gap:0;margin:0}.detail-fields div{display:grid;grid-template-columns:minmax(120px,.42fr) minmax(0,1fr);gap:14px;padding:13px 0;border-bottom:1px solid rgba(22,25,31,.08)}.detail-fields div:last-child{border-bottom:0}.detail-fields dt{color:var(--appearance-muted,#6b7280);font-size:.76rem;font-weight:850}.detail-fields dd{margin:0;color:var(--appearance-ink,#22262d);font-size:.84rem;font-weight:800;overflow-wrap:anywhere}.detail-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.detail-empty-panel{min-height:180px;align-content:center}.site-health-grid,.site-overview-layout{display:grid;gap:16px}.site-health-grid{grid-template-columns:minmax(240px,.42fr) minmax(0,.58fr)}.site-health-panel{align-content:center;gap:10px}.site-health-panel div{display:flex;align-items:center;gap:11px}.site-health-panel h2{margin:0;color:var(--appearance-ink,#171a20);font-size:1.2rem;line-height:1.2}.site-health-panel p{margin:0;color:var(--appearance-muted,#5f6975);font-size:.84rem;font-weight:760}.site-operations-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.site-operation-card{min-height:128px;gap:12px;align-content:space-between;padding:17px}.site-operation-card span{color:var(--appearance-muted,#5f6975);font-size:.72rem;font-weight:850;letter-spacing:.06em;text-transform:uppercase}.site-operation-card strong{color:var(--appearance-ink,#171a20);font-size:1rem;line-height:1.2}.site-operation-card small{color:var(--appearance-muted,#6b7280);font-size:.76rem;font-weight:720;line-height:1.35}.site-operation-card:before{content:"";display:block;width:28px;height:3px;border-radius:999px;background:rgba(200,16,46,.72)}.site-empty-panel{justify-items:start}.organisation-table-row.is-loading small,.organisation-table-row.is-loading span,.organisation-table-row.is-loading strong{color:var(--appearance-muted,#8a9099)}.empty-state{margin:0;padding:28px 18px;color:var(--appearance-muted,#6b7280);font-size:.86rem;font-weight:750}.placeholder-panel{max-width:760px}.dashboard-error{max-width:760px;margin:0;padding:12px 14px;border:1px solid rgba(200,16,46,.25);border-radius:8px;color:var(--appearance-brand-ink,var(--provider-red-dark));background:var(--provider-red-soft);font-size:.82rem;font-weight:800;line-height:1.45}.app-shell.sidebar-is-collapsed .shell-sidebar{gap:16px;padding:20px 10px}.shelly-view.shelly-management-view{max-width:1720px;gap:16px}.shelly-workspace-header{grid-template-columns:minmax(220px,.72fr) minmax(0,1.5fr)}.shelly-title-block h1{margin:0 0 4px;font-size:clamp(1.65rem,2vw,2rem);letter-spacing:-.035em}.shelly-title-block p{color:var(--text-muted);font-size:.9rem;font-weight:500}.shelly-scope-label{display:inline-block;margin-top:8px;color:var(--text-muted);font-size:.75rem}.shelly-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-end}.shelly-toolbar .shelly-control{min-width:112px}.shelly-toolbar .shelly-search-control{flex:1 1 220px}.shelly-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr)) minmax(210px,1.35fr)}.shelly-summary-card{min-height:94px;border-radius:12px}.shelly-summary-card>span{font-size:.67rem}.shelly-summary-card>strong{font-size:1.65rem}.shelly-summary-card.is-filter-card{display:grid;gap:4px;text-align:left;cursor:pointer;color:var(--text);transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.shelly-summary-card.is-filter-card:hover{border-color:var(--brand-primary-border);box-shadow:0 6px 18px rgba(25,50,71,.08);transform:translateY(-1px)}.shelly-summary-card.is-filter-card:focus-visible{outline:2px solid var(--brand-primary);outline-offset:2px}.shelly-summary-card.is-filter-card small{color:var(--text-muted);font-size:.7rem}.shelly-summary-card[data-tone=success]>strong{color:var(--success-foreground,var(--appearance-green-ink,#127344))}.shelly-physical-inventory{min-width:0;overflow:hidden}.shelly-inventory-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 17px;border-bottom:1px solid var(--border)}.shelly-inventory-heading h2{margin:2px 0 3px;font-size:1rem}.shelly-inventory-heading p{margin:0;color:var(--text-muted);font-size:.75rem}.shelly-inventory-summary{display:flex;align-items:center;gap:10px}.shelly-physical-device-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:12px}.shelly-physical-device-card{display:grid;grid-template-columns:40px minmax(0,1fr) 14px;gap:11px;align-items:start;min-width:0;padding:13px;border:1px solid var(--border);border-radius:11px;background:var(--surface);color:var(--text);text-align:left;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.shelly-physical-device-card.is-selected,.shelly-physical-device-card:hover{border-color:var(--brand-primary-border);box-shadow:0 5px 16px rgba(25,50,71,.07)}.shelly-physical-device-card:hover{transform:translateY(-1px)}.shelly-device-title-icon,.shelly-physical-device-icon{display:grid;width:40px;height:40px;place-items:center;border:1px solid var(--border);border-radius:11px;background:var(--surface-subtle);color:var(--text-muted)}.shelly-physical-device-main{display:grid;min-width:0;gap:5px}.shelly-physical-device-title{display:flex;min-width:0;justify-content:space-between;align-items:center;gap:8px}.shelly-physical-device-title>strong{font-size:.84rem;text-overflow:ellipsis;white-space:nowrap}.shelly-physical-device-model{overflow:hidden;color:var(--text-muted);font-size:.73rem;text-overflow:ellipsis;white-space:nowrap}.shelly-device-capability-tags{display:flex;gap:4px}.shelly-device-capability-tags>span{padding:3px 6px;border:1px solid var(--border);border-radius:999px;color:var(--text-muted);font-size:.62rem;line-height:1.1}.shelly-physical-device-meta{display:flex;flex-wrap:wrap;gap:5px 10px;color:var(--text-muted);font-size:.64rem}.shelly-physical-device-open{align-self:center;color:var(--text-muted);font-size:1.2rem}.shelly-device-drawer-backdrop{position:fixed;z-index:1000;inset:0;display:flex;justify-content:flex-end;background:rgba(16,24,40,.38)}.shelly-device-drawer{display:flex;width:min(760px,94vw);height:100%;flex-direction:column;overflow:auto;padding:18px;background:var(--surface);box-shadow:-16px 0 45px rgba(16,24,40,.18)}.shelly-device-drawer-heading{position:sticky;z-index:2;top:-18px;display:grid;grid-template-columns:42px minmax(0,1fr) auto auto auto;gap:11px;align-items:center;margin:-18px -18px 14px;padding:16px 18px;border-bottom:1px solid var(--border);background:var(--surface)}.shelly-device-drawer-heading h2{margin:2px 0;font-size:1.1rem}.shelly-device-drawer-heading p{margin:0;color:var(--text-muted);font-size:.73rem}.shelly-device-edit-button{min-height:30px;padding:5px 8px;font-size:.7rem}.shelly-device-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin-bottom:11px;overflow:hidden;border:1px solid var(--border);border-radius:10px;background:var(--border)}.shelly-device-overview>div{display:grid;gap:4px;min-width:0;padding:10px 12px;background:var(--surface)}.shelly-device-overview>div>span{color:var(--text-muted);font-size:.64rem;font-weight:750;letter-spacing:.04em;text-transform:uppercase}.shelly-device-overview>div>strong{overflow-wrap:anywhere;color:var(--text);font-size:.76rem}.shelly-device-components{display:grid;gap:9px;margin-bottom:12px;padding:12px;border:1px solid var(--border);border-radius:11px;background:var(--surface-subtle)}.shelly-device-components h3{margin:0 0 3px;font-size:.8rem}.shelly-device-components p{margin:0;color:var(--text-muted);font-size:.7rem}.shelly-component-list{display:flex;flex-wrap:wrap;gap:6px}.shelly-component-chip{display:grid;grid-template-columns:18px auto;gap:1px 6px;align-items:center;padding:6px 9px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);text-align:left;cursor:pointer}.shelly-component-chip>span{grid-row:span 2;color:var(--text-muted)}.shelly-component-chip strong{font-size:.68rem}.shelly-component-chip small{color:var(--text-muted);font-size:.6rem}.shelly-component-chip.is-selected{border-color:var(--brand-primary-border);background:var(--brand-primary-soft)}.shelly-device-drawer .device-inspector{display:block;overflow:visible;padding:0;border:0;box-shadow:none}.shelly-device-drawer .device-inspector>.inspector-header{display:none}.shelly-device-drawer .selected-device-body{display:grid;gap:10px;overflow:visible}.shelly-device-drawer .selected-device-body>.shelly-expander:last-child{display:block}.shelly-device-drawer .shelly-expander{padding:12px;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.shelly-device-drawer .shelly-expander>h3{margin:0 0 7px;font-size:.8rem}.shelly-device-drawer .shelly-expander>p{margin:0;color:var(--text-muted);font-size:.8rem}.shelly-device-drawer .shelly-notes-section{display:grid;gap:5px}.shelly-inline-measurements{display:grid;gap:4px;margin-top:10px;padding-top:9px;border-top:1px solid var(--border)}.shelly-inline-measurements h4{margin:0;color:var(--text-muted);font-size:.66rem;letter-spacing:.04em;text-transform:uppercase}.shelly-inline-measurements .empty-state{margin:0;padding:4px 0;text-align:left}.shelly-device-drawer .shelly-expander:not([open])>summary{cursor:pointer}@media (max-width:1200px){.shelly-workspace-header{grid-template-columns:1fr}.shelly-toolbar{justify-content:flex-start}.shelly-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:760px){.shelly-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shelly-physical-device-grid{grid-template-columns:1fr;padding:8px}.shelly-inventory-heading{align-items:flex-start}.shelly-device-drawer{width:100%;padding:12px}.shelly-device-drawer-heading{top:-12px;grid-template-columns:38px minmax(0,1fr) auto;margin:-12px -12px 10px;padding:12px}.shelly-device-drawer-heading .status-pill{grid-column:2}.shelly-device-drawer-heading .shelly-device-edit-button{grid-column:2;justify-self:start}.shelly-device-drawer-heading .dialog-close{grid-column:3;grid-row:1}}.app-shell.sidebar-is-collapsed .shell-brand{justify-content:center;padding:2px 0 14px}.app-shell.sidebar-is-collapsed .shell-brand-fallback,.app-shell.sidebar-is-collapsed .shell-logo-full{display:none}.app-shell.sidebar-is-collapsed .shell-logo-cube{display:block;width:38px;height:38px;object-fit:contain}.app-shell.sidebar-is-collapsed .compact-brand-mark{display:grid;width:38px;height:38px}.app-shell.sidebar-is-collapsed .shell-nav{gap:12px;padding-right:0}.app-shell.sidebar-is-collapsed .shell-nav-group{gap:6px}.app-shell.sidebar-is-collapsed .shell-nav-group+.shell-nav-group{padding-top:12px}.app-shell.sidebar-is-collapsed .shell-nav-heading,.app-shell.sidebar-is-collapsed .shell-nav-item span,.app-shell.sidebar-is-collapsed .sidebar-logout,.app-shell.sidebar-is-collapsed .sidebar-profile-copy{display:none}.app-shell.sidebar-is-collapsed .shell-nav-item{justify-content:center;height:38px;padding:0}.app-shell.sidebar-is-collapsed .shell-nav-item:before{inset:9px auto 9px 4px}.app-shell.sidebar-is-collapsed .sidebar-profile{grid-template-columns:1fr;justify-items:center;padding:9px}@media (max-width:1200px){.app-shell,.app-shell.sidebar-is-collapsed{display:block;min-width:0}.desktop-sidebar-toggle{display:none}.drawer-toggle{display:grid}.mobile-nav-overlay{position:fixed;inset:0;z-index:35;display:block;border:0;background:rgba(9,12,18,.44);opacity:0;pointer-events:none;transition:opacity .16s ease}.app-shell.nav-is-open .mobile-nav-overlay{opacity:1;pointer-events:auto}.app-shell.sidebar-is-collapsed .shell-sidebar,.shell-sidebar{position:fixed;inset:0 auto 0 0;z-index:40;width:min(82vw,300px);min-height:100dvh;gap:14px;padding:16px 12px;transform:translateX(-105%);transition:transform .18s ease;box-shadow:16px 0 40px rgba(0,0,0,.28)}.app-shell.nav-is-open .shell-sidebar{transform:translateX(0)}.app-shell.sidebar-is-collapsed .shell-brand,.shell-brand{justify-content:flex-start;min-height:52px;padding:2px 4px 14px}.app-shell.sidebar-is-collapsed .compact-brand-mark,.app-shell.sidebar-is-collapsed .shell-logo-cube,.compact-brand-mark,.shell-logo-cube{display:none}.app-shell.sidebar-is-collapsed .shell-logo-full,.shell-logo-full{display:block;width:auto;max-width:220px;height:auto;max-height:46px}.app-shell.sidebar-is-collapsed .shell-brand-fallback,.shell-brand-fallback{display:grid}.app-shell.sidebar-is-collapsed .shell-nav,.shell-nav{gap:14px;overflow-x:hidden}.app-shell.sidebar-is-collapsed .shell-nav-heading,.shell-nav-heading{display:block}.app-shell.sidebar-is-collapsed .shell-nav-item,.shell-nav-item{justify-content:flex-start;height:36px;padding:0 11px 0 14px;font-size:.84rem;text-align:left}.app-shell.sidebar-is-collapsed .shell-nav-item span,.shell-nav-item span{display:block}.app-shell.sidebar-is-collapsed .sidebar-profile,.sidebar-profile{grid-template-columns:auto minmax(0,1fr);justify-items:stretch;gap:8px;padding:10px}.app-shell.sidebar-is-collapsed .sidebar-profile-copy,.sidebar-profile div:not(.profile-avatar){display:grid}.profile-avatar{width:34px;height:34px}.app-shell.sidebar-is-collapsed .sidebar-logout,.sidebar-logout{display:block;grid-column:1/-1;width:100%;min-height:30px;padding:0 4px;font-size:.72rem}.topbar-search{width:min(42vw,380px);min-width:220px}.last-updated{display:none}.shell-main{gap:18px;padding:20px}.content-wrap{gap:18px}.panel{padding:18px}.detail-kpi-grid,.kpi-grid,.site-operations-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-overview-grid,.dashboard-panels,.site-health-grid{grid-template-columns:1fr}}@media (max-width:767px){.gate-phonebook-browser{grid-template-columns:1fr}.gate-person-detail{position:static}.login-page{align-items:flex-start;padding:20px 14px}.login-panel{gap:24px;padding:24px 20px}.login-heading h1{font-size:1.48rem}.shell-main{gap:16px;padding:14px}.shell-topbar{min-height:52px}.sidebar-toggle{width:34px;height:34px}.last-updated,.platform-health,.topbar-search{display:none}.topbar-actions{gap:6px}.icon-button,.topbar-avatar{width:32px;height:32px}.last-updated{max-width:42vw;overflow:hidden;text-overflow:ellipsis}.content-wrap{gap:16px}.view-hero h1{font-size:1.42rem}.customer-inline-create,.customer-toolbar,.detail-kpi-grid,.inline-create,.kpi-grid,.quick-actions,.site-inline-create,.site-operations-grid{grid-template-columns:1fr}.kpi-card,.panel{padding:16px}.kpi-card{min-height:112px}.customer-detail-header,.panel-heading,.toolbar,.view-hero{align-items:stretch;flex-direction:column}.customer-detail-header{grid-template-columns:1fr}.search-field{width:100%}.organisation-table{overflow-x:auto;-webkit-overflow-scrolling:touch}.customer-table-row,.organisation-table-header,.organisation-table-row{grid-template-columns:minmax(160px,1fr) minmax(120px,auto);min-width:100%}.customer-table-row,.site-table-row{grid-template-columns:minmax(150px,1fr) minmax(150px,1fr) 104px;min-width:520px}.asset-toolbar{align-items:stretch}.asset-create-form,.asset-toolbar{grid-template-columns:1fr}.asset-table-row{grid-template-columns:minmax(150px,1fr) minmax(120px,.7fr) minmax(120px,.7fr) minmax(150px,1fr) 104px;min-width:760px}.global-site-table-row{grid-template-columns:minmax(150px,1fr) minmax(150px,1fr) minmax(150px,1fr) 104px;min-width:700px}.global-asset-table-row{grid-template-columns:minmax(150px,1fr) minmax(110px,.7fr) minmax(110px,.7fr) minmax(140px,.9fr) 104px minmax(110px,.7fr);min-width:860px}.directory-note{justify-self:start}.organisation-table-row{gap:10px;padding:12px}.detail-tabs{margin-right:-14px;padding-right:14px}.detail-fields div{gap:6px}.detail-fields div,.session-restore-actions{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){*,:after,:before{transition:none!important}}.entity-action-menu{position:relative;justify-self:end}.dialog-close,.row-action-trigger{display:grid;width:32px;height:32px;place-items:center;border:1px solid rgba(22,25,31,.1);border-radius:8px;color:var(--appearance-muted,#5f6975);background:var(--appearance-surface,#ffffff);cursor:pointer}.dialog-close:hover,.row-action-trigger:hover{border-color:rgba(200,16,46,.28);color:var(--appearance-brand-ink,var(--provider-red-dark))}.row-action-menu{position:absolute;z-index:30;top:calc(100% + 6px);right:0;display:grid;min-width:134px;padding:5px;border:1px solid rgba(22,25,31,.12);border-radius:8px;background:var(--appearance-surface,#ffffff);box-shadow:0 16px 36px rgba(19,24,33,.14)}.row-action-menu button{display:flex;min-height:32px;align-items:center;gap:8px;padding:0 9px;border:0;border-radius:7px;color:var(--appearance-ink,#2b3038);background:transparent;cursor:pointer;font-size:.78rem;font-weight:800;text-align:left}.row-action-menu button:hover{background:var(--appearance-subtle,#f7f8fa)}.row-action-menu button.is-danger{color:var(--appearance-brand-ink,var(--provider-red-dark))}.row-action-menu button.is-danger:hover{background:var(--provider-red-soft)}.dialog-backdrop{position:fixed;z-index:80;inset:0;display:grid;place-items:center;padding:20px;background:rgba(9,12,18,.42)}.entity-dialog{display:grid;width:min(100%,480px);max-height:calc(100vh - 40px);gap:16px;overflow:auto;padding:20px;border:1px solid rgba(22,25,31,.12);border-radius:8px;background:var(--appearance-surface,#ffffff);box-shadow:0 24px 60px rgba(9,12,18,.24)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.dialog-heading h2{margin:0;color:var(--appearance-ink,#171a20);font-size:1rem;line-height:1.25}.dialog-form{display:grid;gap:13px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px}.delete-dialog p{margin:0;color:var(--appearance-muted,#4f5865);font-size:.86rem;line-height:1.48}.delete-dialog strong{color:var(--appearance-ink,#171a20);font-weight:850}.dialog-error{max-width:none}.danger-action{min-height:40px;padding:0 14px;border:1px solid var(--provider-red);border-radius:8px;color:#ffffff;background:var(--provider-red);cursor:pointer;font-size:.82rem;font-weight:850}.danger-action:hover:not(:disabled){border-color:var(--provider-red-dark);background:var(--provider-red-dark)}.organisation-table{overflow:visible}.organisation-table-header,.organisation-table-row{grid-template-columns:minmax(0,1fr) 120px 56px}.customer-table-row,.site-table-row{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) 120px 56px}.global-site-table-row{grid-template-columns:minmax(180px,1fr) minmax(160px,.9fr) minmax(180px,1fr) 110px 56px}.global-asset-table-row{grid-template-columns:minmax(180px,1.1fr) minmax(110px,.7fr) minmax(110px,.7fr) minmax(150px,.9fr) 104px minmax(110px,.7fr) 56px}.asset-table-row{grid-template-columns:minmax(180px,1.15fr) minmax(110px,.7fr) minmax(110px,.7fr) minmax(150px,1fr) 110px 56px}.customer-detail-header{grid-template-columns:minmax(0,1fr) auto auto auto}.icon-text-button{gap:8px;white-space:nowrap}.shelly-view{gap:16px}.shelly-hero,.shelly-panel-heading,.shelly-results-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.shelly-create-actions,.shelly-hero-actions,.shelly-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.shelly-connections-panel,.shelly-selector-panel{gap:14px}.shelly-toolbar{align-items:flex-end}.shelly-selector-fields{display:grid;grid-template-columns:repeat(2,minmax(190px,280px));gap:12px}.shelly-selector-fields .search-field{width:100%}.shelly-create-form{grid-template-columns:minmax(190px,.8fr) minmax(220px,1fr) minmax(190px,.8fr) auto}.shelly-table-row{grid-template-columns:minmax(170px,1fr) minmax(150px,.9fr) 116px minmax(150px,.8fr) minmax(150px,.8fr) minmax(190px,auto)}.shelly-table-row strong{line-height:1.35}.shelly-row-actions .secondary-action{min-height:34px;padding:0 10px;box-shadow:none}.shelly-row-error{margin:-4px 0 10px;color:var(--appearance-brand-ink,var(--provider-red-dark));font-size:.76rem;font-weight:780;line-height:1.4}.organisation-table-row small[data-status=connected],.shelly-device-badges small[data-status=connected],.shelly-device-badges small[data-status=fully-supported],.shelly-gate-assessment small[data-status=connected]{color:var(--success);background:var(--success-soft)}.organisation-table-row small[data-status=disconnected],.shelly-device-badges small[data-status=disconnected],.shelly-device-badges small[data-status=unknown],.shelly-gate-assessment small[data-status=disconnected]{color:var(--appearance-muted,#6b7280);background:var(--appearance-subtle,#eef0f3)}.organisation-table-row small[data-status=degraded],.shelly-device-badges small[data-status=partially-supported]{color:var(--appearance-amber-ink,#8a5b0a);background:var(--appearance-amber-soft,#fff6dd)}.organisation-table-row small[data-status=error],.shelly-device-badges small[data-status=unsupported]{color:var(--appearance-brand-ink,var(--provider-red-dark));background:var(--provider-red-soft)}.shelly-discovery-section{display:grid;gap:14px}.shelly-panel-heading h2,.shelly-results-heading h2{margin:0;color:var(--appearance-ink,#171a20);font-size:1rem;line-height:1.25}.shelly-panel-heading p,.shelly-results-heading p{margin:5px 0 0;color:var(--appearance-muted,#6b7280);font-size:.82rem;font-weight:730}.shelly-device-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.shelly-device-card{gap:14px;align-content:start}.shelly-device-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.shelly-device-header h3{margin:0;color:var(--appearance-ink,#171a20);font-size:1rem;line-height:1.25}.shelly-device-header p{margin:5px 0 0;color:var(--appearance-muted,#6b7280);font-size:.8rem;font-weight:750}.shelly-device-badges{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.shelly-device-badges small,.shelly-gate-assessment small{padding:5px 8px;border-radius:999px;font-size:.66rem;font-weight:850;text-transform:uppercase}.shelly-device-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;margin:0}.shelly-device-fields div{display:grid;gap:3px}.shelly-device-fields dt{color:var(--appearance-muted,#6b7280);font-size:.68rem;font-weight:850;text-transform:uppercase}.shelly-device-fields dd{margin:0;color:var(--appearance-ink,#22262d);font-size:.82rem;font-weight:800;overflow-wrap:anywhere}.shelly-capability-summary{display:flex;flex-wrap:wrap;gap:7px}.shelly-capability-summary span,.shelly-muted-chip{padding:6px 8px;border-radius:999px;color:var(--appearance-muted,#4f5865);background:var(--appearance-subtle,#f2f3f5);font-size:.7rem;font-weight:820}.shelly-gate-assessment{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;border:1px solid rgba(22,25,31,.09);border-radius:8px;background:var(--appearance-surface,#fafbfc)}.shelly-gate-assessment div{display:grid;gap:3px}.shelly-gate-assessment strong{color:var(--appearance-ink,#171a20);font-size:.78rem;font-weight:850}.shelly-channel-list span,.shelly-gate-assessment span{color:var(--appearance-muted,#6b7280);font-size:.74rem;font-weight:760}.shelly-channel-list{display:grid;gap:5px}.shelly-expander{border-top:1px solid rgba(22,25,31,.08);padding-top:10px}.shelly-expander summary{color:var(--appearance-muted,#4f5865);font-size:.76rem}.shelly-expander ul{display:grid;gap:6px;margin:10px 0 0;padding-left:18px;color:var(--appearance-muted,#5f6975);font-size:.76rem;font-weight:730;line-height:1.42}@media (max-width:767px){.organisation-table{overflow-x:auto;-webkit-overflow-scrolling:touch}.organisation-table-header,.organisation-table-row{grid-template-columns:minmax(160px,1fr) minmax(110px,auto) 56px;min-width:420px}.customer-table-row,.site-table-row{grid-template-columns:minmax(150px,1fr) minmax(150px,1fr) 104px 56px;min-width:580px}.asset-table-row{grid-template-columns:minmax(150px,1fr) minmax(120px,.7fr) minmax(120px,.7fr) minmax(150px,1fr) 104px 56px;min-width:820px}.global-site-table-row{grid-template-columns:minmax(150px,1fr) minmax(150px,1fr) minmax(150px,1fr) 104px 56px;min-width:760px}.global-asset-table-row{grid-template-columns:minmax(150px,1fr) minmax(110px,.7fr) minmax(110px,.7fr) minmax(140px,.9fr) 104px minmax(110px,.7fr) 56px;min-width:920px}.shelly-device-header,.shelly-gate-assessment,.shelly-hero,.shelly-panel-heading,.shelly-results-heading{align-items:stretch;flex-direction:column}.shelly-create-actions,.shelly-hero-actions,.shelly-row-actions{justify-content:flex-start;flex-wrap:wrap}.shelly-create-form,.shelly-device-fields,.shelly-device-grid,.shelly-selector-fields,.shelly-toolbar{grid-template-columns:1fr}.shelly-table-row{grid-template-columns:minmax(170px,1fr) minmax(150px,.9fr) 116px minmax(150px,.8fr) minmax(150px,.8fr) minmax(190px,auto);min-width:930px}.customer-detail-header,.dialog-actions{grid-template-columns:1fr}.dialog-actions{display:grid}}.icon-text-button{display:inline-flex;align-items:center;justify-content:center;gap:7px}.gate-controller-details{display:grid;width:min(100%,1400px);gap:22px}.customer-integration-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.customer-integration-card{display:flex;min-height:230px;flex-direction:column;gap:16px;padding:18px}.customer-integration-card header{display:grid;grid-template-columns:auto 1fr auto;align-items:start;gap:12px}.customer-integration-card h2,.customer-integration-card p{margin:0}.customer-integration-card p{margin-top:4px;color:var(--muted-text,var(--appearance-muted,#667085))}.customer-integration-card dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;border-block:1px solid var(--appearance-line,#e6e9ee)}.customer-integration-card dl div{min-width:0;padding:12px 8px}.customer-integration-card dt{color:var(--appearance-muted,#667085);font-size:.72rem}.customer-integration-card dd{overflow:hidden;margin:4px 0 0;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.customer-integration-card .primary-action{align-self:flex-start;margin-top:auto;text-decoration:none}.gate-schedule-grid{display:grid;gap:8px;margin-top:18px}.gate-schedule-enabled{display:flex;align-items:center;gap:9px;margin-top:16px;font-weight:650}.gate-schedule-row{display:grid;grid-template-columns:minmax(90px,1fr) minmax(120px,1fr) minmax(110px,1fr) minmax(110px,1fr);align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--control-border,var(--appearance-line,#d0d5dd));border-radius:8px}.gate-schedule-row label{display:flex;align-items:center;gap:8px}.gate-schedule-row input[type=time]{min-height:38px;border:1px solid var(--control-border,var(--appearance-line,#d0d5dd));border-radius:7px;padding:7px 9px;background:var(--surface,var(--appearance-surface,#fff));color:inherit}.gate-schedule-heading{border:0;padding-block:4px;color:var(--muted-text,var(--appearance-muted,#667085));font-size:.78rem}@media (max-width:700px){.gate-schedule-row{grid-template-columns:1fr 1fr}.gate-schedule-heading{display:none}}.gate-controller-toolbar{display:grid;grid-template-columns:minmax(240px,1fr) auto auto;align-items:flex-end}.gate-controller-table-row{grid-template-columns:minmax(160px,1fr) minmax(190px,1.1fr) minmax(110px,.7fr) 96px 96px minmax(130px,.7fr)}.gate-detail-header{grid-template-columns:minmax(0,1fr) auto auto auto}.gate-overview-grid{grid-template-columns:minmax(280px,1fr) minmax(260px,.42fr)}.gate-dashboard{display:grid;gap:16px}.gate-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.gate-status-card{display:flex;flex-direction:column;gap:7px;min-height:142px;padding:20px}.gate-status-card>span{color:var(--appearance-muted,#667085);font-size:.76rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.gate-status-card>strong{color:var(--appearance-ink,#202b38);font-size:clamp(1.15rem,1.6vw,1.7rem);line-height:1.2}.gate-status-card>small{color:var(--appearance-muted,#667085)}.gate-dashboard-main{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:16px}.gate-activity-panel,.gate-control-card,.gate-recent-card,.gate-today-card{padding:22px}.gate-control-card{display:flex;flex-direction:column;align-items:flex-start;gap:15px}.gate-control-card .panel-heading{align-self:stretch}.gate-control-card p{color:var(--appearance-muted,#667085);margin:0}.gate-control-state{display:flex;align-items:baseline;flex-wrap:wrap;gap:12px}.gate-control-state strong{font-size:2rem}.gate-control-state span{color:var(--appearance-muted,#667085)}.gate-transition-list{list-style:none;margin:14px 0;padding:0}.gate-transition-list li{display:flex;align-items:center;gap:15px;padding:12px 0;border-bottom:1px solid var(--appearance-line,#e5e8ed)}.gate-transition-list li time{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;color:var(--appearance-muted,#667085)}.gate-transition-list li strong{flex:1 1}.gate-transition-list li small{text-transform:capitalize}.gate-today-footer{display:flex;flex-direction:column;gap:5px;margin-top:15px;color:var(--appearance-muted,#667085)}.gate-today-footer strong{color:var(--appearance-ink,#202b38)}.gate-alert{display:flex;flex-direction:column;gap:4px;padding:15px}.gate-activity-list{margin-top:16px}.gate-activity-row{padding:16px 0;border-top:1px solid var(--appearance-line,#e5e8ed)}.gate-activity-row>div{display:flex;align-items:center;flex-wrap:wrap;gap:16px}.gate-activity-row time{color:var(--appearance-muted,#667085);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.gate-activity-row p{margin:8px 0}.gate-activity-row>small{color:var(--appearance-muted,#667085)}@media (max-width:1050px){.gate-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gate-dashboard-main{grid-template-columns:1fr}}@media (max-width:580px){.gate-status-grid{grid-template-columns:1fr}}.gate-note,.gate-test-panel p,.wizard-pane p{margin:0;color:var(--appearance-muted,#5f6975);font-size:.84rem;line-height:1.45}.gate-wizard-dialog{width:min(100%,760px)}.wizard-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.wizard-steps span{display:grid;min-height:30px;place-items:center;border:1px solid rgba(22,25,31,.1);border-radius:8px;color:var(--appearance-muted,#6b7280);background:var(--appearance-subtle,#f7f8fa);font-size:.78rem;font-weight:850}.wizard-steps span.is-active{border-color:rgba(200,16,46,.32);color:var(--appearance-brand-ink,var(--provider-red-dark));background:var(--provider-red-soft)}.wizard-steps span.is-complete{color:var(--success);background:var(--success-soft)}.wizard-pane{display:grid;gap:14px}.wizard-pane h3{margin:0;color:var(--appearance-ink,#171a20);font-size:.98rem}.gate-warning,.gate-warning-text{margin:0;padding:12px 14px;border:1px solid rgba(200,16,46,.22);border-radius:8px;color:var(--appearance-brand-ink,var(--provider-red-dark));background:var(--provider-red-soft);font-size:.82rem;font-weight:800;line-height:1.45}.gate-warning{display:flex;align-items:center;justify-content:space-between;gap:12px}.gate-warning p{margin:0;color:inherit;font-weight:850}.gate-warning a{color:var(--appearance-brand-ink,var(--provider-red-dark));font-size:.8rem;font-weight:850;text-decoration:none}.gate-inline-actions,.gate-row-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.gate-inline-actions span{color:var(--appearance-muted,#6b7280);font-size:.78rem;font-weight:800}.compact-empty{padding:12px 0}.gate-device-list{display:grid;gap:8px}.gate-device-option{display:grid;grid-template-columns:minmax(140px,1fr) minmax(120px,.8fr) 80px auto auto;align-items:center;gap:10px;min-height:48px;padding:9px 11px;border:1px solid rgba(22,25,31,.1);border-radius:8px;color:var(--appearance-ink,#2b3038);background:var(--appearance-surface,#ffffff);cursor:pointer;text-align:left}.gate-device-option.is-active,.gate-device-option:hover{border-color:rgba(200,16,46,.34);background:var(--appearance-surface,#fffafb)}.gate-device-option span,.gate-device-option strong{min-width:0;overflow-wrap:anywhere;font-size:.8rem}.gate-device-option span{color:var(--appearance-muted,#6b7280);font-weight:750}.gate-device-option small{justify-self:start;padding:5px 8px;border-radius:999px;color:var(--appearance-muted,#6b7280);background:var(--appearance-subtle,#f2f3f5);font-size:.66rem;font-weight:850;text-transform:uppercase}.gate-input-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gate-review-fields div{grid-template-columns:minmax(130px,.32fr) minmax(0,1fr)}.caller-form{grid-template-columns:repeat(3,minmax(160px,1fr))}.checkbox-field input{width:20px;min-height:20px}.day-picker{display:flex;flex-wrap:wrap;align-items:flex-end;gap:7px}.caller-table-row{grid-template-columns:minmax(140px,1fr) minmax(130px,.8fr) 90px minmax(220px,1.2fr) minmax(150px,.8fr)}.gate-event-table-row{grid-template-columns:minmax(150px,.9fr) minmax(110px,.7fr) minmax(120px,.7fr) 90px minmax(220px,1.3fr) minmax(120px,.8fr)}.gate-danger-zone{display:flex;justify-content:flex-start;padding-top:14px;border-top:1px solid rgba(22,25,31,.08)}.gate-settings-form{display:grid;gap:16px}.gate-settings-section{display:grid;gap:10px;padding:16px;border:1px solid rgba(22,25,31,.1);border-radius:10px}.gate-settings-section h3,.gate-settings-section p{margin:0}.gate-settings-section p,.gate-settings-section small{color:var(--appearance-muted,#667085)}.gate-settings-section .gate-inline-actions{margin:2px 0}.gate-phonebook{display:grid;gap:16px}.gate-person-detail .panel-heading p,.gate-phonebook .panel-heading p{margin:4px 0 0;color:var(--appearance-muted,#667085)}.gate-event-tools,.gate-phonebook-tools{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.gate-event-tools .search-field,.gate-phonebook-tools .search-field{flex:1 1 300px}.gate-company-list{display:grid;gap:9px}.gate-phonebook-browser{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.55fr);align-items:start;gap:16px}.gate-phonebook-browser:not(:has(.gate-person-detail)){grid-template-columns:1fr}.gate-company-card{border:1px solid rgba(22,25,31,.1);border-radius:10px;overflow:hidden;background:var(--appearance-surface,#fff)}.gate-company-heading,.gate-person-row{display:grid;width:100%;align-items:center;gap:10px;border:0;background:var(--appearance-surface,#fff);text-align:left;cursor:pointer}.gate-company-heading{grid-template-columns:minmax(0,1fr) auto 18px;padding:14px 16px}.gate-company-heading span{color:var(--appearance-muted,#667085);font-size:.83rem}.gate-company-heading[aria-expanded=true]{background:var(--appearance-surface,#fffafb)}.gate-company-people{border-top:1px solid rgba(22,25,31,.08)}.gate-company-more{padding:10px 16px;border:0;color:var(--appearance-brand-ink,var(--provider-red-dark));background:transparent;font-weight:700;cursor:pointer}.gate-person-row{grid-template-columns:minmax(0,1fr) minmax(130px,.6fr) 90px;padding:11px 16px;border-top:1px solid rgba(22,25,31,.06)}.gate-person-row:first-child{border-top:0}.gate-person-row.is-active,.gate-person-row:hover{background:var(--appearance-surface,#fffafb)}.gate-person-row small[data-status=active]{color:var(--success)}.gate-person-row small[data-status=disabled]{color:var(--appearance-brand-ink,var(--provider-red-dark))}.gate-person-detail{display:grid;gap:12px;position:sticky;top:20px}.gate-person-detail h4,.gate-person-detail p{margin:0}.gate-person-activity{display:grid;gap:6px;margin:0;padding:0;list-style:none}.gate-person-activity li{display:flex;flex-wrap:wrap;gap:12px;padding:8px 0;border-top:1px solid rgba(22,25,31,.08)}.gate-caller-dialog{width:min(100%,760px)}.gate-event-detail{border-bottom:1px solid rgba(22,25,31,.08)}.gate-event-detail summary{cursor:pointer;list-style:none}.gate-event-detail summary::-webkit-details-marker{display:none}.gate-event-detail summary:hover{background:var(--appearance-surface,#fffafb)}.gate-event-evidence{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;padding:15px;background:var(--appearance-surface,#f8f9fb)}.gate-event-evidence dt{color:var(--appearance-muted,#667085);font-size:.75rem}.gate-event-evidence dd{margin:2px 0 0;overflow-wrap:anywhere}.gate-event-evidence code{white-space:normal}.gate-device-option small[data-status=connected],.organisation-table-row small[data-status=connected]{color:var(--success);background:var(--success-soft)}.gate-device-option small[data-status=disconnected],.organisation-table-row small[data-status=denied],.organisation-table-row small[data-status=disconnected],.organisation-table-row small[data-status=failed]{color:var(--appearance-brand-ink,var(--provider-red-dark));background:var(--provider-red-soft)}.organisation-table-row small[data-status=accepted],.organisation-table-row small[data-status=confirmed],.organisation-table-row small[data-status=granted]{color:var(--success);background:var(--success-soft)}@media (max-width:1200px){.gate-overview-grid{grid-template-columns:1fr}.caller-form{grid-template-columns:repeat(2,minmax(160px,1fr))}}@media (max-width:767px){.caller-form,.gate-controller-toolbar,.gate-detail-header,.gate-input-grid{grid-template-columns:1fr}.gate-controller-table-row{grid-template-columns:minmax(150px,1fr) minmax(180px,1fr) minmax(120px,.7fr) 90px 90px minmax(140px,.8fr);min-width:860px}.gate-device-option{grid-template-columns:minmax(160px,1fr) minmax(130px,.8fr) 80px auto auto;min-width:640px}.gate-device-list{overflow-x:auto}.caller-table-row{grid-template-columns:minmax(140px,1fr) minmax(130px,.8fr) 90px minmax(220px,1.2fr) minmax(150px,.8fr);min-width:820px}.gate-event-table-row{grid-template-columns:minmax(150px,.9fr) minmax(110px,.7fr) minmax(120px,.7fr) 90px minmax(220px,1.3fr) minmax(120px,.8fr);min-width:920px}}.shelly-connection-options{display:grid;gap:12px}.shelly-developer-form{grid-template-columns:minmax(260px,1.2fr) minmax(220px,.8fr) minmax(220px,.8fr) auto}.shelly-consent-copy{display:grid;gap:5px}.shelly-consent-copy strong{color:var(--appearance-ink,#171a20);font-size:.9rem;font-weight:850}.shelly-consent-copy p{margin:0;color:var(--appearance-muted,#6b7280);font-size:.78rem;line-height:1.4}@media (max-width:1200px){.shelly-developer-form{grid-template-columns:1fr}}.shelly-device-title-block{min-width:0;flex:1 1}.shelly-device-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-width:0}.shelly-device-title-row>div{min-width:0}.shelly-device-title-row h3,.shelly-provider-name{overflow-wrap:anywhere}.shelly-device-title-row .secondary-action{min-height:32px;padding:0 10px;flex-shrink:0;box-shadow:none}.shelly-provider-name{color:var(--appearance-muted,#4f5865)}.shelly-device-search{width:min(320px,100%)}.shelly-alias-dialog-copy{margin:0;color:var(--appearance-muted,#5f6975);font-size:.84rem;font-weight:720;line-height:1.45}.shelly-alias-actions{align-items:center}.shelly-alias-actions .danger-action{margin-right:auto}.shelly-room-badge{display:inline-flex;align-items:center;width:fit-content;margin-top:6px;border:1px solid var(--appearance-line,#c8d3df);border-radius:999px;padding:3px 8px;color:var(--appearance-ink,#344256);background:var(--appearance-surface,#f8fafc);font-size:.74rem;font-weight:800}.app-shell{min-height:100vh;align-items:stretch}.shell-sidebar{position:sticky;top:0;height:100vh;max-height:100vh;display:flex;flex-direction:column;overflow:hidden}.shell-brand{flex:0 0 auto}.shell-nav{flex:1 1 auto;min-height:0;overflow-y:auto;padding-right:4px;scrollbar-width:none;-ms-overflow-style:none}.shell-nav::-webkit-scrollbar{display:none;width:0;height:0}.sidebar-profile{flex:0 0 auto;margin-top:auto}.shelly-management-view{display:flex;flex-direction:column;gap:14px;width:min(100%,1720px);margin-inline:auto}.shelly-summary-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.shelly-summary-card{min-width:0;display:grid;gap:5px;align-content:start;padding:13px 15px;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:var(--shadow-card,0 1px 2px rgba(25,50,71,.05))}.shelly-summary-card>span{color:var(--text-muted);font-size:.71rem;font-weight:750;letter-spacing:.055em;text-transform:uppercase}.shelly-summary-card>strong{color:var(--text);font-size:1.45rem;line-height:1.25}.shelly-summary-card>small{color:var(--text-muted);font-size:.76rem}.shelly-summary-card[data-tone=success]>strong{color:var(--success-foreground)}.shelly-summary-card[data-tone=warning]>strong{color:var(--warning-foreground)}.shelly-summary-card[data-health=healthy]>strong{color:var(--success-foreground)}.shelly-summary-card[data-health=syncing]>strong{color:var(--appearance-brand-ink,var(--brand-primary))}.shelly-summary-card[data-health=auth_error]>strong,.shelly-summary-card[data-health=degraded]>strong,.shelly-summary-card[data-health=failed]>strong,.shelly-summary-card[data-health=rate_limited]>strong,.shelly-sync-health>p{color:var(--warning-foreground)}.shelly-sync-health>p{margin:3px 0 0;font-size:.78rem}@media (max-width:1100px){.shelly-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:650px){.shelly-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.shelly-context-strip,.shelly-management-grid,.shelly-workspace-header{width:100%}.shelly-workspace-header{display:grid;grid-template-columns:minmax(220px,.9fr) minmax(420px,1.4fr);gap:18px;align-items:end}.shelly-title-block h1{margin:4px 0}.device-browser-heading p,.shelly-inline-status,.shelly-title-block p{margin:0;color:var(--appearance-muted,#5f6975);font-size:.86rem;font-weight:700}.shelly-header-controls{display:grid;gap:10px}.shelly-global-search{width:100%}.segmented-control,.shelly-context-strip,.shelly-drawer-actions,.shelly-filter-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.shelly-filter-row select{min-height:36px}.shelly-context-strip{padding:12px;justify-content:space-between}.compact-status{margin:0;padding:8px 10px}.shelly-management-grid{display:grid;gap:12px;align-items:start;min-height:min(720px,calc(100vh - 220px))}.device-browser,.integration-rooms-panel,.weekly-schedule-state{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--appearance-line,#e5ebf3);border-radius:8px;padding:10px 12px;background:var(--appearance-surface,#f8fafc)}.weekly-schedule-state h3,.weekly-schedule-state p{margin:0}.weekly-schedule-state h3{color:var(--appearance-blue-ink,#172033);font-size:.84rem}.weekly-schedule-state p{color:var(--appearance-ink,#344054);font-size:.8rem;font-weight:850}.schedule-edit-dialog{width:min(100%,520px);max-height:min(760px,calc(100vh - 48px));overflow-y:auto;overflow-x:hidden}.schedule-offset-grid{display:grid;grid-template-columns:minmax(0,1fr) 86px 92px;gap:10px;min-width:0}.schedule-day-picker,.schedule-quick-days{display:flex;flex-wrap:wrap;gap:6px;min-width:0}.schedule-day-picker button,.schedule-quick-days button{min-height:30px;border:1px solid var(--appearance-line,#d0d5dd);border-radius:7px;padding:0 9px;background:var(--appearance-surface,#ffffff);color:var(--appearance-ink,#344054);font-size:.76rem;font-weight:820}.schedule-day-picker button.is-active{border-color:rgba(29,78,216,.28);color:var(--appearance-blue-ink,#1d4ed8);background:var(--appearance-subtle,#eff6ff)}.schedule-preview{margin:0;border:1px solid var(--appearance-line,#e5ebf3);border-radius:8px;padding:10px 12px;background:var(--appearance-surface,#f8fafc);color:var(--appearance-blue-ink,#172033);font-size:.82rem;font-weight:820;overflow-wrap:anywhere}.device-inspector{min-height:min(720px,calc(100vh - 220px));max-height:calc(100vh - 180px)}.device-inspector,.integration-rooms-panel{position:sticky;top:82px}.room-row-wrap{grid-template-columns:1fr 32px;gap:6px;margin-bottom:6px}.room-row,.room-row-wrap{display:grid;align-items:center}.room-row{grid-template-columns:20px minmax(0,1fr) auto;width:100%;min-height:38px;border:1px solid transparent;background:transparent;color:var(--appearance-ink,#253044);font-weight:800;text-align:left;cursor:pointer}.room-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-row strong{font-size:.75rem;color:var(--appearance-muted,#667085)}.room-row.is-active{border-color:var(--appearance-blue-ink,#9bb7db);color:var(--appearance-blue-ink,#123a6f)}.room-edit-button{width:30px;height:30px}.device-browser-heading,.inspector-header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:12px}.segmented-control{border:1px solid var(--appearance-line,#d8e0ea);border-radius:8px;padding:2px;background:var(--appearance-surface,#f8fafc)}.segmented-control button{border:0;border-radius:6px;padding:6px 10px;background:transparent;color:var(--appearance-muted,#566273);font-weight:800;cursor:pointer}.segmented-control button.is-active{background:var(--appearance-surface,#ffffff);color:var(--appearance-blue-ink,#1d3557);box-shadow:0 1px 2px rgba(16,24,40,.08)}.status-dot{border-radius:50%;background:#a0a9b6}.status-dot.is-online{background:#039855}.inspector-header h2{overflow-wrap:anywhere}.device-inspector .detail-fields{grid-template-columns:1fr}.inspector-section{border-top:1px solid var(--appearance-line,#e5eaf0);margin-top:12px;padding-top:12px}.inspector-section h3{margin:0 0 8px;font-size:.9rem}.shelly-drawer-backdrop{justify-content:flex-end;align-items:stretch}.shelly-connections-drawer{width:min(980px,100%);min-height:100vh;overflow:auto;background:var(--appearance-surface,#fff);padding:18px;box-shadow:-20px 0 50px rgba(16,24,40,.22)}.shelly-connection-list{gap:8px;margin-top:14px}.shelly-connection-row{display:grid;grid-template-columns:minmax(130px,1.1fr) minmax(110px,.9fr) 90px minmax(120px,.9fr) minmax(120px,.9fr) minmax(240px,1.2fr);gap:10px;align-items:center;border:1px solid var(--appearance-line,#dfe7f0);border-radius:8px;padding:10px}.shelly-connection-row.is-header{border:0;padding-block:0;color:var(--appearance-muted,#697586);font-size:.74rem;font-weight:900;text-transform:uppercase}.shelly-connection-row .shelly-row-error{grid-column:1/-1}.icon-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(128px,1fr));gap:8px;border:0;padding:0;margin:0}.icon-picker legend{grid-column:1/-1;color:var(--appearance-muted,#465467);font-size:.78rem;font-weight:900}.icon-picker-option{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--appearance-line,#d6dee8);border-radius:8px;background:var(--appearance-surface,#fff);padding:8px;color:var(--appearance-ink,#344054);font-weight:800;cursor:pointer}.icon-picker-option.is-active{border-color:var(--brand-primary);background:var(--appearance-subtle,#eef6ff);color:var(--appearance-blue-ink,#123a6f)}@media (max-width:1180px){.shelly-management-grid,.shelly-workspace-header{grid-template-columns:1fr}.device-inspector,.integration-rooms-panel{position:static}.device-browser,.device-inspector,.integration-rooms-panel{min-height:auto;max-height:none}}@media (max-width:760px){.shelly-context-strip,.shelly-filter-row{align-items:stretch}.shelly-context-strip>*,.shelly-filter-row button,.shelly-filter-row>*{width:100%}.shelly-connection-row,.shelly-connection-row.is-header{grid-template-columns:1fr}.shelly-connection-row.is-header{display:none}}.compact-pagination{justify-content:center;gap:4px}.pagination-button{width:30px;height:30px;border:1px solid var(--appearance-line,#d8e0ea);border-radius:7px;background:var(--appearance-surface,#ffffff);color:var(--appearance-ink,#253044);font-size:.82rem;font-weight:850;line-height:1}.pagination-button.is-current,.pagination-button:hover:not(:disabled){border-color:var(--brand-primary);background:var(--appearance-subtle,#eef6ff);color:var(--appearance-blue-ink,#123a6f)}.pagination-button:disabled{opacity:.45}.pagination-ellipsis{display:inline-flex;width:24px;height:30px;align-items:center;justify-content:center;color:var(--appearance-muted,#667085);font-weight:850}.app-shell{height:100dvh;min-height:100dvh;overflow:hidden}.shell-sidebar{height:100dvh;max-height:100dvh;min-height:0}.shell-main{display:flex;flex-direction:column;align-items:center;align-content:flex-start;height:100dvh;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain}.shell-main>*{flex:0 0 auto}.shell-main:has(.shelly-management-view){gap:12px;padding:14px}.shell-main:has(.shelly-management-view) .shell-topbar{min-height:44px}.shell-main:has(.shelly-management-view) .content-wrap{width:100%}.shelly-management-view{height:calc(100vh - 72px);max-width:none;gap:10px;overflow:hidden}.shelly-workspace-header{grid-template-columns:minmax(210px,.75fr) minmax(620px,2.25fr);gap:14px;align-items:center;flex:0 0 auto}.shelly-title-block h1{margin:2px 0;font-size:1.55rem;line-height:1.08}.shelly-title-block p{max-width:48ch;font-size:.82rem;line-height:1.35}.shelly-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) minmax(120px,.45fr) minmax(150px,.6fr) auto auto auto;gap:8px;min-width:0}.shelly-control{position:relative;display:grid;min-width:0;gap:4px}.shelly-control span{color:var(--appearance-muted,#657386);font-size:.68rem;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.shelly-context-strip select,.shelly-control input,.shelly-control select{width:100%;height:38px;min-height:38px;border:1px solid var(--appearance-line,#d5dee9);border-radius:8px;color:var(--appearance-blue-ink,#26364a);background-color:var(--appearance-surface,#ffffff);outline:0;font-size:.82rem;font-weight:750;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.shelly-control input{padding:0 12px}.shelly-context-strip select,.shelly-control select{appearance:none;padding:0 32px 0 11px;background-image:linear-gradient(45deg,transparent 50%,#667085 0),linear-gradient(135deg,#667085 50%,transparent 0);background-position:calc(100% - 15px) 16px,calc(100% - 10px) 16px;background-repeat:no-repeat;background-size:5px 5px,5px 5px}.shelly-context-strip select:hover,.shelly-control input:hover,.shelly-control select:hover{border-color:var(--appearance-line,#b9c8d9)}.shelly-context-strip select:focus,.shelly-control input:focus,.shelly-control select:focus{border-color:var(--appearance-blue-ink,#9bb7db);box-shadow:0 0 0 3px rgba(37,99,235,.12)}.shelly-toolbar-action{height:38px;min-height:38px;align-self:end;white-space:nowrap}.shelly-context-strip{flex:0 0 auto;padding:9px 10px;border-color:var(--appearance-line,#dfe7f0);box-shadow:none}.shelly-context-strip .search-field{min-width:190px;max-width:260px;gap:4px}.shelly-context-strip .search-field span{font-size:.68rem;letter-spacing:.04em;text-transform:uppercase}.shelly-inline-status{margin-left:auto;white-space:nowrap}.shelly-management-grid{grid-template-columns:minmax(220px,250px) minmax(0,1fr) minmax(300px,340px);flex:1 1 auto;min-height:0;gap:14px;align-items:stretch}.device-browser,.device-inspector,.integration-rooms-panel{display:flex;min-height:0;max-height:none;height:100%;overflow:hidden;flex-direction:column;padding:12px;border-color:var(--appearance-line,#dfe7f0);border-radius:10px;box-shadow:0 8px 22px rgba(16,24,40,.04)}.device-inspector,.integration-rooms-panel{position:static}.device-browser-heading,.shelly-panel-heading{flex:0 0 auto;margin-bottom:10px}.device-browser-heading h2,.shelly-panel-heading h2{margin:0;font-size:.96rem;letter-spacing:0}.device-inspector>.shelly-expander:last-child,.rooms-scroll{min-height:0}.rooms-scroll{overflow:auto;padding-right:2px}.room-row-wrap{grid-template-columns:minmax(0,1fr) 28px;gap:4px;margin-bottom:4px}.room-row{grid-template-columns:38px minmax(0,1fr) auto;min-height:44px;gap:8px;padding:4px 7px 4px 4px;border-radius:8px;font-size:.82rem}.room-row.is-fixed{position:sticky;top:0;z-index:1;margin-bottom:7px;background:var(--appearance-surface,#ffffff)}.room-row:hover{background:var(--appearance-surface,#f7faff)}.room-row.is-active{border-color:var(--appearance-blue-ink,#c7dcf6);background:var(--appearance-subtle,#eef6ff);color:var(--appearance-blue-ink,#14365d)}.room-row strong{min-width:26px;border-radius:999px;padding:2px 7px;color:var(--appearance-muted,#536174);background:var(--appearance-subtle,#f1f5f9);font-size:.72rem;text-align:center}.room-edit-button{width:28px;height:28px;opacity:0;box-shadow:none}.room-edit-button:focus-visible,.room-row-wrap:hover .room-edit-button{opacity:1}.integration-icon-tile{display:inline-grid;width:42px;height:42px;flex:0 0 auto;place-items:center;border:1px solid var(--appearance-line,#dbe7f3);border-radius:10px;color:var(--appearance-blue-ink,#23527c);background:var(--appearance-subtle,#edf6ff)}.room-row .integration-icon-tile{width:34px;height:34px;border-radius:9px}.device-browser-heading{margin-bottom:8px}.room-badge,.status-pill{display:inline-flex;width:fit-content;align-items:center;border-radius:999px;padding:3px 8px;font-size:.7rem;font-weight:850;line-height:1}.room-badge{color:var(--appearance-blue-ink,#28507a);background:var(--appearance-subtle,#edf6ff)}.status-pill{color:var(--appearance-muted,#6b7280);background:var(--appearance-subtle,#eef2f6)}.status-pill.is-online{color:var(--appearance-green-ink,#08714f);background:var(--appearance-subtle,#e7f6f0)}.status-dot{width:8px;height:8px;box-shadow:none}.device-inspector{gap:10px;overflow:auto}.inspector-header{display:grid;grid-template-columns:46px minmax(0,1fr) auto;margin-bottom:2px}.inspector-header .integration-icon-tile{width:46px;height:46px}.inspector-title{display:grid;min-width:0;gap:7px}.inspector-title h2{margin:0;color:var(--appearance-blue-ink,#172033);font-size:1.05rem;line-height:1.18}.inspector-badges{display:flex;gap:5px;flex-wrap:wrap}.device-inspector .compact-detail-fields{display:grid;gap:7px;margin:0}.device-inspector .compact-detail-fields div{border-radius:8px;padding:8px 9px;background:var(--appearance-surface,#f8fafc)}.shelly-expander{border:1px solid var(--appearance-line,#e1e8f0);border-radius:8px;padding:0;background:var(--appearance-surface,#ffffff)}.shelly-expander summary{padding:9px 10px;color:var(--appearance-blue-ink,#26364a);font-size:.82rem;font-weight:850}.shelly-expander p,.shelly-expander ul{margin:0;padding:0 10px 10px 26px;color:var(--appearance-muted,#536174);font-size:.78rem;line-height:1.45}.shelly-drawer-backdrop{background:rgba(15,23,42,.34)}.shelly-connections-drawer{width:min(900px,92vw);max-height:78vh;padding:16px;box-shadow:0 24px 70px rgba(15,23,42,.24)}.shelly-connections-drawer .dialog-heading{flex:0 0 auto}.shelly-drawer-actions{flex:0 0 auto;justify-content:flex-end}.shelly-connection-list{overflow:auto}.shelly-connection-row{grid-template-columns:minmax(130px,1fr) minmax(110px,.82fr) 82px minmax(118px,.82fr) minmax(118px,.82fr) minmax(220px,1.2fr);gap:8px;padding:8px}.shelly-row-actions{display:flex;gap:6px;justify-content:flex-end;flex-wrap:wrap}.shelly-row-actions .secondary-action{min-height:30px;padding:0 8px}@media (max-width:1180px){.shelly-management-view{height:auto;min-height:calc(100vh - 72px);overflow:visible}.shelly-management-grid,.shelly-workspace-header{grid-template-columns:1fr}.shelly-toolbar{grid-template-columns:minmax(220px,1fr) minmax(120px,.5fr) minmax(150px,.6fr) auto auto auto}.device-browser,.device-inspector,.integration-rooms-panel{height:auto;max-height:none;overflow:visible}.rooms-scroll{max-height:none;overflow:visible}}@media (max-width:900px){.shelly-toolbar{grid-template-columns:minmax(0,1fr) minmax(118px,auto) minmax(140px,auto)}.shelly-toolbar-action{width:100%}}@media (max-width:760px){.shell-main:has(.shelly-management-view){padding:10px}.shelly-context-strip,.shelly-toolbar{grid-template-columns:1fr}.shelly-toolbar{display:grid}.shelly-context-strip>*,.shelly-filter-row button,.shelly-filter-row>*{width:100%}.shelly-inline-status{margin-left:0;white-space:normal}.integration-rooms-panel{max-height:260px;overflow:hidden}.rooms-scroll{overflow:auto}.shelly-connections-drawer{width:min(100%,92vw);max-height:82vh}.shelly-connection-row,.shelly-connection-row.is-header{grid-template-columns:1fr}.shelly-connection-row.is-header{display:none}}.shelly-toolbar{grid-template-columns:minmax(240px,1fr) minmax(120px,.42fr) minmax(150px,.58fr) auto auto}.device-browser-heading{align-items:center}.device-browser-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:nowrap}.hide-offline-toggle{display:inline-flex;height:34px;align-items:center;gap:7px;border:1px solid var(--appearance-line,#d8e0ea);border-radius:8px;padding:0 10px;color:var(--appearance-ink,#344054);background:var(--appearance-surface,#ffffff);font-size:.78rem;font-weight:850;white-space:nowrap;cursor:pointer}.hide-offline-toggle:hover{border-color:var(--appearance-line,#b9c8d9);background:var(--appearance-surface,#f8fbff)}.hide-offline-toggle:focus-within{border-color:var(--appearance-blue-ink,#9bb7db);box-shadow:0 0 0 3px rgba(37,99,235,.12)}.hide-offline-toggle input{width:15px;height:15px;accent-color:var(--brand-primary)}@media (max-width:1180px){.shelly-toolbar{grid-template-columns:minmax(220px,1fr) minmax(120px,.5fr) minmax(150px,.6fr) auto auto}}@media (max-width:900px){.device-browser-heading{align-items:flex-start;flex-wrap:wrap}.device-browser-heading-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}.shelly-toolbar{grid-template-columns:minmax(0,1fr) minmax(118px,auto) minmax(140px,auto) auto auto}}@media (max-width:760px){.shelly-toolbar{grid-template-columns:1fr}}.relay-control-card,.schedules-card{display:grid;gap:10px;border:1px solid var(--appearance-line,#dfe7f1);border-radius:10px;padding:12px;background:var(--appearance-surface,#ffffff)}.relay-control-card.is-readonly p,.shelly-muted-note{margin:0;color:var(--appearance-muted,#667085);font-size:.82rem;font-weight:700}.inspector-card-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.inspector-card-heading h3{margin:0;color:var(--appearance-blue-ink,#172033);font-size:.9rem}.relay-state-indicator{display:grid;gap:3px;min-height:78px;place-content:center;border-radius:10px;border:1px solid var(--appearance-line,#dfe6ef);background:var(--appearance-surface,#f8fafc);text-align:center}.relay-state-indicator strong{font-size:1.6rem}.relay-state-indicator span{color:var(--appearance-muted,#5f6b7a);font-size:.82rem;font-weight:800}.relay-state-indicator.is-on{border-color:var(--appearance-green-ink,#9bd8b9);background:var(--appearance-subtle,#ecfdf3)}.relay-state-indicator.is-off{border-color:var(--appearance-line,#d8e0ea);background:var(--appearance-surface,#f8fafc);color:var(--appearance-ink,#344054)}.relay-state-indicator.is-unavailable,.relay-state-indicator.is-unknown{border-color:var(--appearance-amber-ink,#f7d89b);background:var(--appearance-subtle,#fffaeb);color:var(--appearance-amber-ink,#b54708)}.relay-state-indicator.is-disconnected{border-color:var(--appearance-line,#d0d5dd);background:var(--appearance-subtle,#f2f4f7);color:var(--appearance-muted,#667085)}.relay-primary-action,.relay-secondary-action{width:100%;justify-content:center}.relay-secondary-action span{color:var(--appearance-muted,#667085);font-size:.75rem}.relay-control-card>small{color:var(--appearance-muted,#667085);font-size:.76rem;font-weight:700;text-align:center}.relay-control-card.is-loading{min-height:196px;border-color:var(--appearance-blue-ink,#d7e3f3);background:var(--appearance-surface,#f6f9fd)}.live-state-loading-body{display:grid;min-height:118px;place-items:center;align-content:center;gap:8px;color:var(--appearance-ink,#344054);text-align:center}.live-state-loading-body strong{color:var(--appearance-blue-ink,#1d2939);font-size:.96rem}.live-state-loading-body span{color:var(--appearance-muted,#667085);font-size:.82rem;font-weight:700}.shelly-live-spinner,.shelly-spin{animation:shelly-live-spin .9s linear infinite}.shelly-live-spinner{color:var(--appearance-blue-ink,#3b82f6)}@keyframes shelly-live-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.shelly-warning-banner{border:1px solid var(--appearance-amber-ink,#f7d89b);border-radius:8px;padding:8px 10px;background:var(--appearance-subtle,#fffaeb);color:var(--appearance-red-ink,#93370d);font-size:.8rem;font-weight:800}.shelly-telemetry-list{display:grid;gap:8px;margin:0}.shelly-telemetry-list>div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid rgba(148,163,184,.22)}.shelly-telemetry-list dt{color:var(--muted-text);font-size:.82rem}.shelly-telemetry-list dd{margin:0;font-weight:700}.schedule-detail-list,.schedule-list,.schedule-row,.schedule-row summary,.schedules-card,.shelly-expander{box-sizing:border-box;max-width:100%}.schedule-list{display:grid;gap:6px;width:100%;min-width:0}.schedule-row{display:block;width:100%;min-width:0;overflow:hidden;border:1px solid var(--appearance-line,#e5ebf3);border-radius:8px;background:var(--appearance-surface,#ffffff);transition:border-color .14s ease,background .14s ease,box-shadow .14s ease}.schedule-row:hover{border-color:var(--appearance-blue-ink,#cdd8e7);background:var(--appearance-surface,#fbfdff);box-shadow:0 3px 10px rgba(16,24,40,.04)}.schedule-row summary{display:grid;grid-template-columns:8px minmax(0,1fr) auto;width:100%;min-width:0;align-items:center;gap:8px;padding:7px 9px;cursor:pointer;list-style:none}.schedule-row summary::-webkit-details-marker{display:none}.schedule-action-indicator{width:8px;height:30px;border-radius:999px;background:#98a2b3}.schedule-action-indicator.is-on{background:#12b76a}.schedule-action-indicator.is-off{background:#f04438}.schedule-action-indicator.is-blue{background:#2e90fa}.schedule-action-indicator.is-neutral{background:#98a2b3}.schedule-summary-main{display:grid;min-width:0;gap:1px}.schedule-summary-main strong{overflow:hidden;color:var(--appearance-blue-ink,#172033);font-size:.84rem;font-weight:850;letter-spacing:0;text-overflow:ellipsis;white-space:nowrap}.schedule-summary-main span{overflow:hidden;font-size:.75rem;font-weight:780;text-overflow:ellipsis}.schedule-status,.schedule-summary-main span{color:var(--appearance-muted,#667085);white-space:nowrap}.schedule-status{border:1px solid var(--appearance-line,#d0d5dd);border-radius:999px;padding:2px 7px;background:var(--appearance-surface,#f8fafc);font-size:.7rem;font-weight:850;line-height:1.2}.schedule-status.is-active{border-color:var(--appearance-green-ink,#abefc6);color:var(--appearance-green-ink,#027a48)}.schedule-detail-list{display:grid;grid-template-columns:1fr;gap:6px;margin:0;padding:0 9px 9px 25px}.schedule-detail-list>div{display:grid;grid-template-columns:1fr;gap:2px;min-width:0;border-top:1px solid rgba(148,163,184,.2);padding-top:6px}.schedule-detail-list dt{color:var(--appearance-muted,#667085);font-size:.72rem;font-weight:800}.schedule-detail-list dd{min-width:0;margin:0;overflow-wrap:anywhere;color:var(--appearance-blue-ink,#172033);font-size:.8rem;font-weight:800}.device-inspector,.device-inspector *,.schedules-card,.shelly-expander{box-sizing:border-box}.device-inspector,.schedules-card,.shelly-expander{max-width:100%;min-width:0;overflow-x:hidden}.shelly-expander p,.shelly-expander ul{max-width:100%;overflow-wrap:anywhere}.schedule-summary-card{gap:8px 12px;width:100%;min-height:118px;align-content:start;overflow:hidden;padding:16px}.schedule-summary-card .inspector-card-heading p{margin:3px 0 0;color:var(--appearance-blue-ink,#172033);font-size:.86rem;font-weight:850}.schedule-summary-card .inspector-card-heading small{display:block;margin-top:2px;color:var(--appearance-muted,#667085);font-size:.74rem;font-weight:760}.schedule-view-button{width:100%;justify-content:center}.schedule-modal-backdrop{align-items:center;justify-items:center}.schedule-modal{max-height:min(760px,calc(100vh - 48px));grid-template-rows:auto auto minmax(0,1fr);gap:12px;overflow:hidden;padding:18px}.schedule-modal-heading p{margin:3px 0 0;color:var(--appearance-muted,#667085);font-size:.8rem;font-weight:750}.schedule-modal-actions{flex-wrap:wrap;min-width:0}.schedule-modal-body{display:grid;gap:10px;min-height:0;overflow-y:auto;overflow-x:hidden;padding-right:2px}.schedule-modal-list{overflow:visible}.schedule-modal .schedule-row summary{grid-template-columns:8px minmax(0,1fr) auto auto}.schedule-row-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px;min-width:0}.schedule-row-actions button{min-height:26px;padding:0 7px;background:var(--appearance-surface,#f8fafc);color:var(--appearance-muted,#667085);font-size:.7rem;font-weight:820}.schedule-modal-state{display:grid;min-height:160px;place-items:center;align-content:center;gap:10px;color:var(--appearance-ink,#344054);text-align:center}.schedule-modal-state p{margin:0;font-weight:820}.device-schedule-section{display:grid;gap:4px;margin-top:2px;border-top:1px solid var(--appearance-line,#e5ebf3);padding-top:10px}.device-schedule-section h3,.device-schedule-section p{margin:0}.device-schedule-section h3{color:var(--appearance-blue-ink,#172033);font-size:.86rem}.device-schedule-section p{color:var(--appearance-muted,#667085);font-size:.78rem;font-weight:760}.device-inspector{overflow-x:hidden}.device-inspector .relay-control-card,.device-inspector .schedules-card,.device-inspector .shelly-expander{width:100%;min-width:0}@media (max-width:720px){.schedule-modal .schedule-row summary{grid-template-columns:8px minmax(0,1fr) auto}.schedule-row-actions{grid-column:2/-1;justify-content:flex-start}}.schedule-master-toggle{display:grid;grid-template-columns:42px auto;align-items:center;gap:8px;border:0;background:transparent;color:var(--appearance-muted,#667085);cursor:pointer;font-size:.78rem;font-weight:850}.schedule-master-toggle span{position:relative;width:42px;height:24px;border-radius:999px;background:var(--appearance-subtle,#d0d5dd);transition:background .16s ease}.schedule-master-toggle span:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:var(--appearance-surface,#fff);box-shadow:0 1px 2px rgba(16,24,40,.22);transition:transform .16s ease}.schedule-master-toggle.is-on{color:var(--appearance-green-ink,#047857)}.schedule-master-toggle.is-on span{background:#10b981}.schedule-master-toggle.is-on span:after{transform:translateX(18px)}.schedule-master-toggle:focus-visible{outline:2px solid rgba(29,78,216,.45);outline-offset:3px;border-radius:8px}.schedule-status.is-active{color:var(--appearance-green-ink,#047857);background:var(--appearance-subtle,#ecfdf3)}.schedule-wizard-form{gap:12px}.schedule-wizard-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0;padding:0;list-style:none}.schedule-wizard-progress li{display:flex;align-items:center;gap:6px;min-width:0;color:var(--appearance-muted,#667085);font-size:.76rem;font-weight:850}.schedule-wizard-progress span{display:inline-grid;width:22px;height:22px;place-items:center;border-radius:999px;background:var(--appearance-subtle,#eef2f7);color:var(--appearance-muted,#667085);font-size:.72rem}.schedule-wizard-progress li.is-current{color:var(--appearance-blue-ink,#1d4ed8)}.schedule-wizard-progress li.is-complete span,.schedule-wizard-progress li.is-current span{background:var(--appearance-blue-soft,#dbeafe);color:var(--appearance-blue-ink,#1d4ed8)}.schedule-wizard-panel{display:grid;gap:10px;min-width:0}.schedule-wizard-panel h3{margin:0;color:var(--appearance-blue-ink,#172033);font-size:.88rem;font-weight:850}.schedule-action-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.schedule-action-options button{min-height:36px;border:1px solid var(--appearance-line,#d0d5dd);border-radius:8px;background:var(--appearance-surface,#ffffff);color:var(--appearance-ink,#344054);font-size:.82rem;font-weight:850}.schedule-action-options button.is-active{border-color:rgba(29,78,216,.32);background:var(--appearance-subtle,#eff6ff);color:var(--appearance-blue-ink,#1d4ed8)}.schedule-final-summary{display:grid;gap:8px;margin:0;border:1px solid var(--appearance-line,#e5ebf3);border-radius:8px;padding:10px 12px;background:var(--appearance-surface,#f8fafc)}.schedule-final-summary div{display:grid;gap:2px}.schedule-final-summary dt{color:var(--appearance-muted,#667085);font-size:.72rem;font-weight:800}.schedule-final-summary dd{margin:0;color:var(--appearance-blue-ink,#172033);font-size:.82rem;font-weight:850}.shelly-management-grid{grid-template-columns:240px minmax(0,1fr) minmax(340px,380px);gap:16px;overflow:hidden}.device-browser,.device-inspector,.integration-rooms-panel{min-width:0;border-radius:8px}.device-inspector{display:flex;width:100%;min-width:320px;max-width:400px;height:100%;padding:0}.device-inspector>.empty-state{margin:12px}.inspector-header{grid-template-columns:54px minmax(0,1fr) auto;grid-template-rows:auto;min-height:112px;gap:10px;align-items:start;flex:0 0 auto;margin:0;padding:18px;border-bottom:1px solid var(--appearance-line,#e7edf4)}.inspector-title h2{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.inspector-header>.secondary-action{grid-column:3;grid-row:1;white-space:nowrap}.selected-device-body{display:grid;flex:1 1 auto;min-height:0;align-content:start;gap:12px;padding:12px}.shelly-expander,.shelly-expander p,.shelly-expander summary,.shelly-expander ul{overflow:visible}.shelly-expander summary{display:flex;min-height:56px;align-items:center;justify-content:space-between;cursor:pointer;list-style:none}.shelly-expander summary::-webkit-details-marker{display:none}.shelly-expander summary::marker{content:""}.shelly-expander summary:hover{background:var(--appearance-surface,#f8fbff)}.shelly-expander summary:after{content:"›";color:var(--appearance-muted,#667085);font-size:1rem;font-weight:850;transition:transform .15s ease}.shelly-expander[open] summary:after{transform:rotate(90deg)}.relay-control-card{grid-template-columns:minmax(0,1fr) auto;min-height:158px;align-items:center;gap:10px 12px;padding:16px}.relay-control-card .inspector-card-heading{grid-column:1/-1}.relay-state-indicator{display:inline-flex;min-height:0;width:fit-content;align-items:center;justify-content:flex-start;gap:8px;border:0;border-radius:999px;padding:0;background:transparent;text-align:left}.relay-state-indicator:before{width:10px;height:10px;border:2px solid;border-radius:999px;content:""}.relay-state-indicator strong{font-size:1rem;letter-spacing:0}.relay-state-indicator.is-on{color:var(--appearance-green-ink,#027a48);background:transparent}.relay-state-indicator.is-on:before{border-color:var(--appearance-green-ink,#12b76a);background:#12b76a}.relay-state-indicator.is-disconnected,.relay-state-indicator.is-off{color:var(--appearance-ink,#344054);background:transparent}.relay-state-indicator.is-unavailable,.relay-state-indicator.is-unknown{color:var(--appearance-muted,#667085);background:transparent}.relay-action-row{display:flex;grid-column:2;grid-row:2;justify-content:flex-end;gap:8px}.relay-primary-action,.relay-secondary-action{width:auto;min-height:34px;white-space:nowrap}.relay-control-card>.dashboard-error,.relay-control-card>.shelly-muted-note,.relay-control-card>small{grid-column:1/-1;text-align:left}.schedule-summary-card{grid-template-columns:minmax(0,1fr) auto;align-items:center}.schedule-summary-card .inspector-card-heading,.schedule-summary-card .inspector-card-heading>div{min-width:0}.schedule-summary-card p,.schedule-summary-card small{display:block;margin:2px 0 0;color:var(--appearance-muted,#667085);font-size:.78rem;font-weight:750}.schedule-modal{width:min(960px,calc(100vw - 48px))}.schedule-modal-heading{padding-bottom:8px}.schedule-modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.schedule-modal .schedule-row summary{min-height:54px}.app-confirmation-backdrop{z-index:80;align-items:center;justify-content:center;padding:24px;background:rgba(15,23,42,.42)}.app-confirmation-dialog{width:min(420px,calc(100vw - 32px));max-height:calc(100vh - 48px);overflow:hidden}.app-confirmation-body{color:var(--appearance-ink,#344054);font-size:.9rem;line-height:1.55}.app-confirmation-actions{justify-content:flex-end}@media (min-width:1500px){.shelly-management-grid{grid-template-columns:250px minmax(0,1fr) minmax(350px,400px)}}@media (max-width:1280px) and (min-width:1101px){.shelly-management-grid{grid-template-columns:minmax(220px,240px) minmax(0,1fr) minmax(320px,360px)}.device-inspector{min-width:320px;max-width:360px}}@media (max-width:1100px){.shelly-management-grid{grid-template-columns:1fr;overflow:visible}.device-inspector{min-width:0;height:auto;max-height:none}.selected-device-body{overflow:visible}}@media (max-width:520px){.inspector-header{grid-template-columns:48px minmax(0,1fr);min-height:112px}.inspector-header>.secondary-action{grid-column:2;grid-row:3;justify-self:start}.relay-control-card,.schedule-summary-card{grid-template-columns:1fr}.relay-action-row{grid-column:1;grid-row:auto;justify-content:stretch}.relay-action-row button,.schedule-view-button{width:100%}.schedule-modal{width:min(100%,calc(100vw - 24px))}}.integration-rooms-panel{justify-content:flex-start;align-content:flex-start}.integration-rooms-panel .shelly-panel-heading{width:100%;margin-bottom:8px}.rooms-scroll{display:flex;width:100%;min-height:0;flex:1 1 auto;flex-direction:column;justify-content:flex-start;align-content:flex-start;gap:0;overflow-y:auto;overflow-x:hidden}.rooms-scroll .room-row.is-fixed{flex:0 0 auto}.room-row-wrap{flex:0 0 auto;min-width:0}.room-row strong{justify-self:end}.shelly-drawer-backdrop{align-items:center;justify-content:center;padding:24px}.shelly-connections-drawer{display:flex;width:min(1050px,calc(100vw - 48px));max-height:min(820px,calc(100vh - 48px));min-height:0;flex-direction:column;overflow:hidden;border-radius:12px;background:var(--appearance-surface,#ffffff);padding:0}.shelly-connections-header{display:flex;flex:0 0 auto;align-items:flex-start;justify-content:space-between;gap:16px;border-bottom:1px solid var(--appearance-line,#e7edf4);padding:16px 18px}.shelly-add-account-header h3,.shelly-connections-header h2{margin:0;color:var(--appearance-blue-ink,#172033)}.shelly-add-account-header p,.shelly-connections-header p,.shelly-consent-copy p{margin:3px 0 0;color:var(--appearance-muted,#667085);font-size:.82rem;font-weight:750}.shelly-connections-header-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;min-width:0}.shelly-connections-body{display:grid;flex:1 1 auto;min-height:0;gap:12px;overflow-y:auto;overflow-x:hidden;padding:14px 18px 18px}.shelly-add-account-flow{display:grid;gap:12px;border:0;border-radius:8px;padding:12px;background:var(--appearance-surface,#f8fafc)}.shelly-add-account-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.shelly-connection-choices,.shelly-create-actions{display:flex;flex-wrap:wrap;gap:8px}.shelly-consent-form,.shelly-developer-form{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1fr);gap:10px;min-width:0}.shelly-consent-copy,.shelly-create-actions{grid-column:1/-1}.shelly-connection-list{display:grid;align-content:start;gap:10px;min-width:0;overflow:visible}.shelly-connection-card{display:grid;grid-template-columns:minmax(210px,1.1fr) minmax(220px,1fr) minmax(240px,1.1fr);gap:14px;align-items:start;border:1px solid var(--appearance-line,#dfe7f0);border-radius:8px;padding:12px;background:var(--appearance-surface,#ffffff)}.shelly-connection-identity{display:grid;gap:6px;min-width:0}.shelly-connection-identity strong{min-width:0;overflow:hidden;color:var(--appearance-blue-ink,#172033);text-overflow:ellipsis;white-space:nowrap}.shelly-connection-identity span{color:var(--appearance-muted,#667085);font-size:.82rem;font-weight:760}.connection-status-badge{width:fit-content;border-radius:999px;padding:3px 8px;background:var(--appearance-subtle,#eef2f6);color:var(--appearance-muted,#667085);font-size:.72rem;font-weight:850}.connection-status-badge[data-status=connected]{background:var(--appearance-subtle,#e7f6f0);color:var(--appearance-green-ink,#08714f)}.shelly-connection-meta{display:grid;gap:8px;margin:0;min-width:0}.shelly-connection-meta div{display:grid;gap:2px}.shelly-connection-meta dt{color:var(--appearance-muted,#667085);font-size:.72rem;font-weight:850}.shelly-connection-meta dd{margin:0;color:var(--appearance-blue-ink,#172033);font-size:.82rem;font-weight:800}.shelly-connection-card .shelly-row-actions{justify-content:flex-end;min-width:0}.shelly-connection-card .shelly-row-actions button{min-height:34px;white-space:normal}.shelly-row-error{grid-column:1/-1}.device-inspector{overflow:hidden}.selected-device-body{overflow-y:auto;overflow-x:hidden}.shelly-expander,.shelly-expander p,.shelly-expander ul{overflow:visible}@media (max-width:900px){.shelly-connection-card{grid-template-columns:1fr}.shelly-connection-card .shelly-row-actions{justify-content:flex-start}}@media (max-width:760px){.shelly-connections-drawer{width:min(100%,calc(100vw - 24px));max-height:min(820px,calc(100vh - 24px))}.shelly-add-account-header,.shelly-connections-header{flex-direction:column}.shelly-connection-card .shelly-row-actions,.shelly-connection-choices,.shelly-connections-header-actions,.shelly-create-actions{width:100%;justify-content:stretch}.shelly-connection-card .shelly-row-actions button,.shelly-connection-choices button,.shelly-connections-header-actions button,.shelly-create-actions button{width:100%;justify-content:center}.shelly-consent-form,.shelly-developer-form{grid-template-columns:1fr}}.danger-action:not(:disabled),.primary-action:not(:disabled),.schedule-action-options button,.schedule-master-toggle,.schedule-row-actions button,.secondary-action:not(:disabled){cursor:pointer}.schedule-row-actions button{min-height:32px;border:1px solid var(--appearance-line,#d0d5dd);border-radius:7px;padding:0 9px;background:var(--appearance-surface,#ffffff);color:var(--appearance-blue-ink,#26364a);font-size:.72rem;font-weight:850;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease,color .15s ease,transform .15s ease}.schedule-row-actions button:hover:not(:disabled){border-color:var(--brand-primary);background:var(--appearance-surface,#f8fbff);color:var(--appearance-blue-ink,#172033);box-shadow:0 3px 9px rgba(16,24,40,.08);transform:translateY(-1px)}.schedule-row-actions button:focus-visible{outline:2px solid rgba(37,99,235,.45);outline-offset:2px}.danger-action:disabled,.primary-action:disabled,.schedule-action-options button:disabled,.schedule-master-toggle:disabled,.schedule-row-actions button:disabled,.secondary-action:disabled{cursor:not-allowed;opacity:.52;transform:none;box-shadow:none}.schedule-row-actions button:last-child:not(:disabled){border-color:var(--appearance-red-ink,#fecaca);color:var(--appearance-red-ink,#b42318);background:var(--appearance-surface,#fffafa)}.schedule-row-actions button:last-child:hover:not(:disabled){border-color:var(--appearance-red-ink,#ef4444);background:var(--appearance-subtle,#fef2f2);color:var(--appearance-red-ink,#991b1b)}.schedule-action-options button{cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease,transform .15s ease}.schedule-action-options button:hover:not(:disabled){border-color:var(--brand-primary);background:var(--appearance-surface,#f8fbff);box-shadow:0 3px 9px rgba(16,24,40,.08);transform:translateY(-1px)}.schedule-action-options button:focus-visible{outline:2px solid rgba(37,99,235,.45);outline-offset:2px}.devices-panel{display:flex;flex-direction:column;min-width:0;min-height:0;--device-list-columns:minmax(0,2.2fr) minmax(110px,0.8fr) minmax(78px,0.45fr)}.devices-panel-header{display:flex;flex:0 0 auto;width:100%;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:12px}.devices-panel-title{min-width:0;text-align:left}.devices-panel-controls{display:flex;flex:0 1 auto;min-width:0;min-height:40px;align-items:center;justify-content:flex-end;gap:18px}.hide-offline-toggle{min-height:40px;height:40px;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease}.devices-results-shell{display:flex;flex:1 1 auto;min-width:0;min-height:0;flex-direction:column}.devices-results-scroll{flex:1 1 auto;min-width:0;min-height:0;overflow-y:auto}.devices-pagination{display:flex;flex:0 0 auto;align-items:center;justify-content:center;gap:8px;margin-top:auto;padding-top:9px;border-top:1px solid var(--appearance-line,#e7edf4)}.device-browser-row,.devices-list-header{display:grid;grid-template-columns:var(--device-list-columns);column-gap:10px;align-items:center;width:100%}.devices-list-header{position:sticky;z-index:2;top:0;flex:0 0 auto;padding:0 10px 7px 14px;background:var(--appearance-surface,#f8fafc);color:var(--appearance-muted,#6b7788);font-size:.68rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.device-browser-list{display:grid;flex:1 1 auto;min-width:0;min-height:0;align-content:start;gap:0;overflow-y:auto}.device-browser-row{height:58px;min-height:58px;max-height:58px;border:0;border-top:1px solid var(--appearance-line,#e7edf4);padding:6px 10px 6px 14px;color:var(--appearance-blue-ink,#26364a);background:var(--appearance-surface,#ffffff);cursor:pointer;text-align:left}.device-browser-row:hover{background:var(--appearance-surface,#f8fbff)}.device-browser-row.is-active{background:var(--appearance-subtle,#eef6ff);box-shadow:inset 3px 0 0 var(--brand-primary)}.device-browser-row small,.device-browser-row strong,.device-browser-row>span,.devices-list-header>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;overflow-wrap:normal;word-break:normal}.device-browser-row>span{color:var(--appearance-muted,#475467);font-size:.79rem;font-weight:760}.device-row-title{display:flex;min-width:0;align-items:center;gap:9px}.device-row-title>span:last-child{display:grid;min-width:0;gap:1px}.device-row-title strong{color:var(--appearance-blue-ink,#172033);font-size:.86rem;font-weight:850}.device-row-title small{color:var(--appearance-muted,#7a8698);font-size:.71rem;font-weight:750}.device-row-title .integration-icon-tile{width:38px;height:38px}.device-browser-list .empty-state{align-self:start;justify-self:start;margin-top:0}.device-browser-row svg{justify-self:center}.schedule-row-actions .schedule-action-button{min-height:40px;border:1px solid var(--appearance-line,#cbd5e1);border-radius:7px;padding:0 12px;background:var(--appearance-surface,#ffffff);color:var(--appearance-blue-ink,#172033);cursor:pointer;opacity:1;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease,color .15s ease,transform .15s ease}.schedule-row-actions .schedule-action-button:hover:not(:disabled){border-color:var(--appearance-line,#94a3b8);background:var(--appearance-subtle,#f1f5f9);box-shadow:0 4px 10px rgba(16,24,40,.09);transform:translateY(-1px)}.schedule-row-actions .schedule-action-button:active:not(:disabled){background:var(--appearance-subtle,#e8eef6);box-shadow:none;transform:translateY(0)}.schedule-row-actions .schedule-action-button:focus-visible{outline:2px solid rgba(37,99,235,.45);outline-offset:2px}.schedule-row-actions .schedule-action-button.is-danger:not(:disabled){border-color:var(--appearance-red-ink,#f3b4b4);color:var(--appearance-red-ink,#b42318);background:var(--appearance-surface,#fffafa)}.schedule-row-actions .schedule-action-button.is-danger:hover:not(:disabled){border-color:var(--appearance-red-ink,#ef4444);background:var(--appearance-subtle,#fef2f2);color:var(--appearance-red-ink,#991b1b)}.schedule-row-actions .schedule-action-button:disabled,.schedule-row-actions .schedule-action-button[aria-disabled=true]{cursor:not-allowed;opacity:.52;box-shadow:none;transform:none}.pagination-button{min-width:40px;min-height:40px;cursor:pointer}.pagination-button:disabled{cursor:not-allowed}@media (max-width:900px){.devices-panel-header{align-items:flex-start;flex-wrap:wrap}.devices-panel-controls{width:100%;justify-content:flex-start;flex-wrap:wrap}}.autotask-entities-panel,.autotask-summary-grid{margin-bottom:18px}.autotask-entity-form{display:grid;gap:16px}.autotask-entity-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;max-height:360px;overflow:auto;padding-right:4px}.autotask-entity-option{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 10px;align-items:center;min-height:58px;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface-subtle)}.autotask-entity-option input{width:16px;height:16px}.autotask-entity-option small,.autotask-entity-option span{min-width:0;overflow-wrap:anywhere}.autotask-entity-option span{color:var(--navy);font-size:.85rem;font-weight:750}.autotask-entity-option small{grid-column:2;color:var(--text-muted);font-size:.72rem}.autotask-run-row{grid-template-columns:minmax(150px,1.5fr) minmax(110px,.8fr) minmax(80px,.5fr) minmax(90px,.5fr) minmax(150px,1fr)}.autotask-run-errors{grid-column:1/-1;margin:0;padding-left:18px;color:var(--appearance-brand-ink,var(--provider-red-dark));font-size:.78rem}@media (max-width:860px){.autotask-run-row{grid-template-columns:1fr}}.integration-framework-view{display:grid;gap:22px;width:100%}.integration-framework-detail-heading,.integration-framework-header{align-items:flex-start;display:flex;gap:16px;justify-content:space-between}.integration-framework-detail-heading h2,.integration-framework-header h1{color:var(--text);margin:0}.integration-framework-header h1{font-size:1.75rem;letter-spacing:-.025em}.integration-framework-detail-heading p,.integration-framework-header p{color:var(--muted-text);margin:6px 0 0}.integration-framework-grid{display:grid;gap:12px;grid-template-columns:repeat(5,minmax(0,1fr))}.integration-status-card{align-items:flex-start;background:var(--panel-bg);border:1px solid var(--border);border-radius:8px;color:inherit;display:grid;cursor:pointer;gap:13px;min-height:232px;padding:17px;text-align:left;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.integration-status-card:hover{border-color:color-mix(in srgb,var(--brand) 45%,var(--border));transform:translateY(-1px)}.integration-status-card.is-selected{border-color:var(--brand);box-shadow:inset 3px 0 0 var(--brand),0 8px 22px rgba(18,49,74,.07)}.integration-framework-list span,.integration-framework-summary span,.integration-status-card small{color:var(--muted-text)}.integration-card-identity,.integration-card-meta,.integration-detail-identity{display:flex}.integration-card-identity{align-items:flex-start;gap:11px}.integration-card-copy{display:grid;gap:5px;min-width:0}.integration-card-copy strong{color:var(--text);font-size:.98rem;line-height:1.2}.integration-card-copy small{font-size:.76rem;line-height:1.42}.integration-status-card>.status-pill{justify-self:start}.integration-card-meta{align-items:stretch;display:grid;gap:12px;grid-template-columns:minmax(58px,.65fr) minmax(0,1.35fr)}.integration-card-meta>span{display:grid;gap:4px;min-width:0}.integration-card-meta small{color:var(--muted-text);font-size:.67rem;font-weight:700;letter-spacing:.045em;text-transform:uppercase}.integration-card-meta strong{color:var(--text);font-size:.73rem;font-weight:700;line-height:1.35}.integration-card-separator{border-top:1px solid var(--border);display:block;margin-top:auto}.integration-icon{align-items:center;background:color-mix(in srgb,var(--brand) 9%,var(--surface-bg));border:1px solid color-mix(in srgb,var(--brand) 18%,var(--border));border-radius:8px;color:var(--brand);display:inline-flex;flex:0 0 auto;height:46px;justify-content:center;width:46px}.integration-icon.is-large{border-radius:10px;height:56px;width:56px}.integration-framework-view .status-pill[data-status=green]{background:#15803d}.integration-framework-view .status-pill[data-status=amber]{background:#b45309}.integration-framework-view .status-pill[data-status=red]{background:#b91c1c}.integration-framework-view .status-pill[data-status=grey]{background:#64748b}.integration-framework-details{background:var(--panel-bg);border:1px solid var(--border);border-radius:8px;display:grid;gap:22px;padding:22px;width:100%}.integration-framework-list,.integration-framework-summary div{display:grid;gap:4px;padding:11px 13px}.integration-framework-details h3{color:var(--text);font-size:.9rem;margin:0 0 11px}.integration-detail-identity{gap:12px}.integration-detail-grid{display:grid;gap:18px;grid-template-columns:.9fr 1.2fr 1fr}.integration-detail-grid section{min-width:0}.integration-detail-panel{background:var(--surface-bg);border:1px solid var(--border);border-radius:8px;height:calc(100% - 28px);overflow:hidden}.integration-detail-panel .integration-framework-list+.integration-framework-list,.integration-status-list div+div{border-top:1px solid var(--border)}.integration-status-list>div{align-items:center;display:flex;justify-content:space-between;padding:9px 12px}.integration-status-list span,.integration-status-list strong{font-size:.77rem}.integration-framework-list span{font-size:.7rem;font-weight:700;overflow-wrap:anywhere}.integration-framework-list strong{color:var(--text);font-size:.76rem;font-weight:650;line-height:1.4}.integration-healthy-notice{align-items:flex-start;background:var(--appearance-subtle,#f0fdf4);border-top:1px solid var(--appearance-green-ink,#bbf7d0);color:var(--appearance-green-ink,#166534);display:flex;font-size:.76rem;gap:8px;line-height:1.45;margin:0;padding:12px}.integration-activity-row>i,.integration-healthy-notice i,.status-pill i{background:currentColor;border-radius:999px;display:inline-block;flex:0 0 auto;height:7px;margin-top:.3em;width:7px}.integration-requirement-warning[data-severity=error]{background:var(--appearance-subtle,#fef2f2)}.integration-requirement-warning[data-severity=warning]{background:var(--appearance-subtle,#fffbeb)}.integration-recent-activity{border-top:1px solid var(--border);padding-top:16px}.integration-activity-row{align-items:center;background:var(--surface-bg);border:1px solid var(--border);border-radius:8px;display:grid;gap:12px;grid-template-columns:8px minmax(150px,.35fr) minmax(0,1fr);margin-top:8px;padding:11px 13px}.integration-activity-row>i{margin:0}.integration-activity-row[data-status=green]>i{color:var(--appearance-green-ink,#15803d)}.integration-activity-row[data-status=amber]>i{color:var(--appearance-amber-ink,#b45309)}.integration-activity-row[data-status=red]>i{color:var(--appearance-red-ink,#b91c1c)}.integration-activity-row[data-status=grey]>i{color:var(--appearance-muted,#64748b)}.integration-activity-row span{color:var(--muted-text);font-size:.74rem}.integration-activity-row strong{color:var(--text);font-size:.78rem;font-weight:650}.integration-framework-view .status-pill{align-items:center;border-radius:999px;color:#fff;display:inline-flex;font-size:.75rem;font-weight:700;gap:6px;line-height:1;padding:7px 11px}.integration-framework-view .status-pill i{background:currentColor;margin:0;opacity:.85}.empty-state.compact{margin:0;min-height:auto;padding:10px}@media (max-width:1180px){.integration-framework-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.integration-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:900px){.integration-framework-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:720px){.integration-framework-header{align-items:stretch;flex-direction:column}.integration-framework-header button{align-self:flex-start}.integration-detail-grid,.integration-framework-grid{grid-template-columns:1fr}.integration-activity-row{grid-template-columns:8px 1fr}.integration-activity-row strong{grid-column:2}}.autotask-explorer-view{display:grid;gap:18px}.autotask-global-search{align-items:center;background:var(--panel-bg);border:1px solid var(--border);border-radius:8px;display:grid;gap:10px;grid-template-columns:auto minmax(0,1fr) auto;min-height:54px;padding:8px 10px 8px 14px}.autotask-filter-bar input,.autotask-global-search input{background:transparent;border:0;color:var(--text-strong);font:inherit;min-width:0;outline:0}.autotask-chart-grid,.autotask-relationship-grid,.autotask-result-groups,.autotask-sync-grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}.autotask-failure-card,.autotask-record-card,.autotask-result-card,.autotask-result-group,.autotask-sync-card{background:var(--panel-bg);border:1px solid var(--border);border-radius:8px}.autotask-result-group{padding:12px}.autotask-card-actions,.autotask-detail-header,.autotask-failure-card header,.autotask-result-group header,.autotask-sync-card header{align-items:center;display:flex;gap:10px;justify-content:space-between}.autotask-record-card,.autotask-result-card{align-items:center;color:inherit;cursor:pointer;display:grid;gap:8px;grid-template-columns:auto minmax(0,1fr) auto;margin-top:8px;padding:11px;text-align:left;width:100%}.autotask-record-card{grid-template-columns:minmax(0,1fr)}.autotask-mini-list strong,.autotask-record-card strong,.autotask-result-card strong{color:var(--navy);display:block;font-size:.88rem;overflow-wrap:anywhere}.autotask-mini-list span,.autotask-record-card small,.autotask-record-card span,.autotask-result-card small,.autotask-result-group span{color:var(--muted-text);font-size:.76rem;overflow-wrap:anywhere}.autotask-split{align-items:start;display:grid;gap:16px;grid-template-columns:minmax(280px,.42fr) minmax(0,.58fr)}.autotask-detail-pane,.autotask-list-pane{min-width:0}.autotask-card-list,.autotask-mini-list,.autotask-relationship-sections{display:grid;gap:10px}.autotask-detail-header{border-bottom:1px solid var(--border);margin-bottom:14px;padding-bottom:14px}.autotask-detail-header h2{font-size:1.2rem;margin:2px 0 4px;overflow-wrap:anywhere}.autotask-breadcrumbs{color:var(--muted-text);display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px;font-size:.76rem;font-weight:750}.autotask-breadcrumbs span:after{content:"/";margin-left:8px}.autotask-filter-bar{align-items:end;background:var(--panel-bg);border:1px solid var(--border);border-radius:8px;display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr)) auto;padding:12px}.autotask-filter-bar label{display:grid;gap:5px}.autotask-filter-bar label span{color:var(--muted-text);font-size:.72rem;font-weight:850}.autotask-filter-bar input{border:1px solid var(--border);border-radius:8px;min-height:38px;padding:0 10px}.autotask-failure-card,.autotask-mini-chart,.autotask-mini-list article,.autotask-sync-card{padding:12px}.autotask-progress{background:var(--surface-subtle);border-radius:999px;height:10px;margin:12px 0;overflow:hidden}.autotask-progress span{background:var(--provider-red);display:block;height:100%}.autotask-failure-card dl,.autotask-sync-card dl{display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr));margin:0 0 12px}.autotask-failure-card dt,.autotask-sync-card dt{color:var(--muted-text);font-size:.68rem;font-weight:850}.autotask-failure-card dd,.autotask-sync-card dd{margin:2px 0 0;overflow-wrap:anywhere}.autotask-relationship-sections,.autotask-stats-panel,.autotask-timeline{border-top:1px solid var(--border);margin-top:16px;padding-top:16px}.autotask-mini-chart div{align-items:center;display:grid;gap:8px;grid-template-columns:64px minmax(0,1fr) 32px;margin-top:8px}.autotask-mini-chart b{background:var(--provider-red);border-radius:999px;display:block;height:8px}.autotask-timeline article{display:grid;gap:10px;grid-template-columns:auto minmax(0,1fr);padding:10px 0}.autotask-timeline article>span{background:var(--provider-red);border-radius:999px;height:12px;margin-top:4px;width:12px}.autotask-timeline article>span[data-severity=error]{background:#dc2626}.autotask-skeleton{display:grid;gap:10px}.autotask-skeleton span{animation:skeleton-pulse 1.2s ease-in-out infinite;background:var(--surface-subtle);border-radius:8px;height:42px}@keyframes skeleton-pulse{0%,to{opacity:.55}50%{opacity:1}}@media (max-width:960px){.autotask-filter-bar,.autotask-global-search,.autotask-split{grid-template-columns:1fr}}.customers-shell{display:grid;min-height:100vh;gap:18px;padding:24px;background:var(--canvas)}.comparison-checklist,.customer-data-card,.customer-detail-header,.customer-metric,.customer-overview-grid article,.customers-header,.customers-list-panel,.customers-toolbar{border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:0 10px 28px rgba(18,49,74,.08)}.customer-detail-header,.customers-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px}.comparison-checklist h2,.customer-detail-header h1,.customer-overview-grid h2,.customers-header h1{margin:0;color:var(--navy)}.customer-detail-header p,.customers-header p{margin:6px 0 0;color:var(--text-muted)}.customers-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) 180px 180px;gap:12px;padding:14px}.customers-search{display:flex;align-items:center;gap:8px;min-height:42px;padding:0 12px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface-subtle)}.customers-search input,.customers-toolbar select{width:100%;min-height:40px;border:0;background:transparent;outline:0}.customers-toolbar select{padding:0 10px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface-subtle)}.customers-list-panel{display:grid;gap:12px;padding:14px;overflow-x:auto}.comparison-checklist h2,.customer-contact-stack span,.customer-tabs,.customers-breadcrumb,.customers-list-meta,.customers-pager,.timeline-row{display:flex;align-items:center;gap:8px}.customers-list-meta,.customers-pager{justify-content:space-between;color:var(--text-muted);font-size:.86rem}.customers-table{display:grid;min-width:960px}.customers-row{display:grid;grid-template-columns:minmax(210px,1.4fr) 110px minmax(170px,1fr) 80px 90px 80px 90px 120px 90px;gap:12px;align-items:center;min-height:58px;padding:10px 12px;border-bottom:1px solid var(--border);color:inherit;text-decoration:none}.customers-row-head{min-height:42px;color:var(--text-muted);font-size:.78rem;font-weight:750;text-transform:uppercase}.customers-row-head button{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;color:inherit;cursor:pointer;font-weight:inherit;text-transform:inherit}.customers-row strong{display:grid;gap:3px;color:var(--navy)}.customers-row small{color:var(--text-muted);font-weight:500}.customers-row mark,.status-pill{width:fit-content;border-radius:999px;padding:4px 8px;color:var(--success);background:var(--success-soft);font-size:.74rem;font-weight:750}.customer-empty,.customers-skeleton{display:grid;gap:8px;padding:28px;border:1px dashed var(--border-strong);border-radius:8px;background:rgba(255,255,255,.72);color:var(--text-muted)}.customers-skeleton{min-height:78px;background:linear-gradient(90deg,var(--appearance-subtle,#eef3f7),var(--appearance-surface,#ffffff),var(--appearance-subtle,#eef3f7));background-size:220% 100%;animation:customers-loading 1.2s ease-in-out infinite}.customers-skeleton.tall{min-height:240px}@keyframes customers-loading{to{background-position:-220% 0}}.customers-breadcrumb{color:var(--text-muted);font-size:.88rem}.customers-breadcrumb a{color:var(--appearance-brand-ink,var(--provider-red));text-decoration:none;font-weight:700}.customer-contact-stack{display:grid;justify-items:end;gap:7px;color:var(--text-muted);font-size:.88rem}.customer-count-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.customer-metric{display:grid;gap:6px;padding:14px}.customer-metric span{color:var(--text-muted);font-size:.8rem}.customer-metric strong{color:var(--navy);font-size:1.4rem}.customer-tabs{overflow-x:auto;border-bottom:1px solid var(--border)}.customer-tabs button{min-height:42px;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--text-muted);cursor:pointer;font-weight:750;text-transform:capitalize}.customer-tabs button.is-active{border-bottom-color:var(--provider-red);color:var(--navy)}.customer-card-list,.customer-overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.comparison-checklist,.customer-data-card,.customer-overview-grid article{display:grid;gap:12px;padding:18px}.comparison-checklist dl,.customer-overview-grid dl{display:grid;gap:10px;margin:0}.comparison-checklist dl div,.customer-overview-grid dl div{display:grid;gap:3px}.comparison-checklist dt,.customer-overview-grid dt{color:var(--text-muted);font-size:.78rem;font-weight:750}.comparison-checklist dd,.customer-overview-grid dd{margin:0;color:var(--navy);overflow-wrap:anywhere}.customer-data-card h3,.customer-data-card p{margin:0}.customer-data-card p{color:var(--text-muted)}.documentation-content{display:grid;gap:10px}.documentation-content p{display:flex;align-items:center;gap:6px;color:var(--appearance-brand-ink,var(--provider-red))}.documentation-content pre{max-height:260px;overflow:auto;padding:12px;border-radius:8px;background:var(--surface-subtle);color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere}.customer-table-panel{display:grid;gap:12px;overflow-x:auto}.ticket-toolbar{align-items:center}.tickets-table{display:grid;min-width:1320px;border:1px solid var(--border);border-radius:8px;background:var(--appearance-surface,rgba(255,255,255,.82));overflow:hidden}.tickets-row{display:grid;grid-template-columns:120px minmax(230px,1.4fr) 120px 120px 140px 180px 160px 150px 130px 130px 130px 90px;gap:10px;align-items:center;min-height:48px;padding:9px 12px;border-bottom:1px solid var(--border);font-size:.84rem}.tickets-row:last-child{border-bottom:0}.tickets-row-head{min-height:40px;background:var(--surface-subtle);color:var(--text-muted);font-size:.72rem;font-weight:800;text-transform:uppercase}.tickets-row-head button{border:0;background:transparent;color:inherit;cursor:pointer;font:inherit;text-align:left;text-transform:inherit}.tickets-row span,.tickets-row strong{min-width:0;overflow-wrap:anywhere}.documentation-group dl dl,.documentation-group ul{margin:0;padding-left:16px}.documentation-group dt small{display:block;margin-top:3px;color:var(--text-muted);font-weight:500;text-transform:none}.timeline-row{align-items:flex-start;color:var(--text-muted)}.timeline-row p{color:var(--text)}.comparison-checklist{max-width:760px}.comparison-checklist label{display:flex;align-items:center;gap:8px;color:var(--text)}.review-notes{display:grid!important;align-items:stretch!important}.review-notes textarea{min-height:110px;padding:10px;border:1px solid var(--border-strong);border-radius:8px;resize:vertical}@media (max-width:980px){.customer-card-list,.customer-count-grid,.customer-overview-grid,.customers-toolbar{grid-template-columns:1fr}.customer-detail-header,.customers-header{flex-direction:column}.customer-contact-stack{justify-items:start}}@media (max-width:1200px){.app-shell.sidebar-is-collapsed .shell-sidebar,.shell-sidebar{position:fixed}}.shell-main:has(.shelly-management-view){min-width:0}.shell-main:has(.shelly-management-view) .content-wrap{min-width:0;max-width:1720px;margin-inline:auto}.shelly-management-view{width:100%;height:auto;min-width:0;min-height:0;overflow:visible;align-content:start}.shelly-workspace-header{min-width:0;grid-template-columns:minmax(190px,.65fr) minmax(0,1.7fr)}.shelly-inventory-heading,.shelly-physical-device-grid,.shelly-physical-device-main,.shelly-physical-inventory,.shelly-title-block,.shelly-toolbar{min-width:0}.shelly-toolbar{grid-template-columns:repeat(6,minmax(0,1fr));align-items:end}.shelly-toolbar .shelly-search-control{grid-column:span 2;min-width:0}.shelly-toolbar .shelly-select-control{min-width:0}.shelly-toolbar .shelly-toolbar-action:last-child{grid-column:span 2}.shelly-control select{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shelly-hide-offline{display:inline-flex;min-width:0;grid-column:span 2;align-items:center;gap:8px;align-self:center;color:var(--text);font-size:.77rem;font-weight:650;white-space:nowrap}.shelly-hide-offline input{width:16px;height:16px;margin:0;accent-color:var(--brand-primary)}.shelly-inventory-heading{flex-wrap:wrap}.shelly-inventory-heading>div:first-child{min-width:0}.shelly-inventory-heading p{max-width:100%;line-height:1.45;overflow-wrap:anywhere}.shelly-physical-device-title>strong{display:-webkit-box;overflow:hidden;white-space:normal;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}.shelly-physical-device-model{height:auto;min-height:1em;overflow-wrap:anywhere;white-space:normal}.shelly-device-capability-tags{min-width:0;flex-wrap:wrap}.shelly-device-drawer{overscroll-behavior:contain}@media (max-width:1200px){.shelly-workspace-header{grid-template-columns:minmax(0,1fr)}.shelly-toolbar{grid-template-columns:repeat(4,minmax(0,1fr));justify-content:stretch}.shelly-hide-offline,.shelly-toolbar .shelly-search-control{grid-column:span 2}}@media (max-width:1024px){.shelly-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))}.shelly-toolbar .shelly-search-control{grid-column:span 2}.shelly-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:760px){.shelly-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.shelly-hide-offline,.shelly-toolbar .shelly-search-control{grid-column:1/-1}.shelly-toolbar-action{width:100%}}.workspace-dialog.workspace-dialog{position:fixed;inset:24px;margin:auto;width:min(1200px,calc(100vw - 48px));height:min(860px,calc(100dvh - 48px));min-height:0;max-height:calc(100dvh - 48px);box-sizing:border-box;overflow:auto;overscroll-behavior:contain;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);box-shadow:0 18px 54px rgba(23,32,51,.22)}.workspace-dialog a,.workspace-dialog a:visited{color:var(--appearance-brand-ink,var(--brand-primary))}.workspace-dialog a:hover{color:var(--appearance-brand-ink,var(--brand-primary-hover))}.workspace-dialog :is(button,a,input,select,textarea):focus-visible{outline:2px solid var(--brand-primary);outline-offset:2px}.shelly-device-drawer-backdrop{z-index:60}.shelly-device-drawer>:is(header,section,aside){flex-shrink:0}.shelly-device-drawer .selected-device-body{grid-template-columns:minmax(0,1fr)}.shelly-device-drawer .selected-device-body>*{width:100%;max-width:none;min-width:0;box-sizing:border-box}.shelly-device-drawer .relay-control-card{width:100%;max-width:none}.shelly-device-drawer .shelly-device-overview{grid-template-columns:repeat(3,minmax(0,1fr))}.shelly-device-drawer .shelly-device-components{flex-shrink:0}.shelly-device-drawer .shelly-component-list{flex-wrap:wrap}@media (max-width:700px){.workspace-dialog.workspace-dialog{inset:8px;width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}.shelly-device-drawer .shelly-device-overview{grid-template-columns:repeat(2,minmax(0,1fr))}}:root{--page-gap:16px;--page-title-size:clamp(1.4rem,1.2rem + .45vw,1.75rem);--card-radius:10px;--card-padding:18px;--card-shadow:0 1px 3px rgba(25,31,40,.05);--control-height:38px}.shell-main{min-width:0}.shell-main>:is(main,.content-wrap){min-width:0;max-width:100%}.content-wrap.content-wrap{gap:var(--page-gap)}.shell-main main h1,.view-hero h1{font-size:var(--page-title-size);line-height:1.2;letter-spacing:-.02em;color:var(--text)}.dashboard-metric-card,.dashboard-section,.panel,.shelly-physical-device-card,.shelly-summary-card{border-color:var(--border);border-radius:var(--card-radius);background:var(--surface);box-shadow:var(--card-shadow)}.dashboard-metric-card,.shelly-summary-card{padding:var(--card-padding);min-height:112px;box-sizing:border-box}.dashboard-metric-card:before{background:var(--brand-primary)}.dashboard-section-heading>a{color:var(--appearance-brand-ink,var(--brand-primary))}.dashboard-metric-grid,.dashboard-panels{gap:var(--page-gap)}:is(.primary-action,.secondary-action,.icon-button,.dialog-close){min-height:var(--control-height)}@media (max-width:700px){:root{--page-gap:12px;--card-padding:14px;--control-height:44px}.view-hero{flex-direction:column;align-items:stretch;gap:12px}.dashboard-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-panels{grid-template-columns:minmax(0,1fr)}.dashboard-section-heading{flex-wrap:wrap;gap:10px}.shell-main main :is(input,select,textarea){font-size:16px}}.shell-main,.shell-main:has(.shelly-management-view){padding:24px;gap:20px}.shell-main:has(.shelly-management-view)>.content-wrap,.shell-main>.content-wrap,.shell-main>main{width:min(100%,1400px);margin-inline:auto;padding:0;box-sizing:border-box}@media (max-width:700px){.shell-main,.shell-main:has(.shelly-management-view){padding:12px;gap:12px}.dashboard-workspace{grid-template-columns:minmax(0,1fr)}.relay-action-row{flex-wrap:wrap}.relay-action-row>button{flex:1 1 110px;min-height:44px}}.workspace-dialog::backdrop{background:rgba(15,23,42,.45)}.shelly-device-drawer>.device-inspector{width:100%;max-width:none;min-width:0;box-sizing:border-box}.shelly-device-drawer .shelly-device-overview>:last-child:nth-child(5){grid-column:span 2}.shell-main a:not([class]),.shell-main a:not([class]):visited{color:var(--appearance-brand-ink,var(--brand-primary))}.shell-main a:not([class]):hover{color:var(--appearance-brand-ink,var(--brand-primary-hover))}.device-browser-row.is-active,.icon-picker-option.is-active,.pagination-button.is-current,.pagination-button:hover:not(:disabled){background:var(--brand-primary-soft);color:var(--appearance-brand-ink,var(--brand-primary))}.device-browser-row:hover,.schedule-action-options button:hover:not(:disabled),.schedule-row-actions button:hover:not(:disabled){background:var(--brand-primary-soft)}.shell-main>.portal-page-loading,.shell-main>.portal-spinner-state,.shell-main>:has(>.portal-spinner-state):not(:has(>:not(.portal-spinner-state))){flex:1 0 auto;width:100%;display:flex;align-items:center;justify-content:center;min-height:0;margin:0}.shell-nav-item:disabled{cursor:wait}.shelly-organisation{display:grid;gap:16px}.shelly-group-members p,.shelly-organisation header p{color:var(--muted,var(--appearance-muted,#64748b));font-size:13px;line-height:1.5}.shelly-room-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px}.shelly-room-tile{display:flex;flex-direction:column;align-items:flex-start;gap:6px;text-align:left;padding:14px;border:1px solid var(--appearance-line,#e2e8f0);border-radius:12px;background:var(--appearance-surface,#fff);color:var(--appearance-blue-ink,#172033);cursor:pointer}.shelly-room-tile span{font-size:12px;color:var(--appearance-muted,#64748b)}.shelly-room-tile.is-selected,.shelly-room-tile:hover{border-color:var(--appearance-red-ink,#c62828);background:var(--appearance-surface,#fff5f5)}.shelly-group-members{padding:14px;border:1px solid var(--appearance-line,#e2e8f0);border-radius:12px}.branded-select{display:block;position:relative;min-width:0;max-width:100%;font:inherit}.branded-select>div{width:100%;min-width:0}.branded-select select.branded-select-native{position:absolute!important;left:0!important;bottom:0!important;width:1px!important;height:1px!important;opacity:0!important;padding:0!important;border:0!important;pointer-events:none!important;min-height:0!important}input[type=checkbox],input[type=radio]{appearance:none;-webkit-appearance:none;display:inline-grid;place-content:center;vertical-align:middle;flex:none;width:18px;height:18px;min-width:18px;min-height:18px;padding:0;border:1.5px solid var(--control-border,var(--appearance-line,#8190a2));border-radius:4px;background:var(--appearance-surface,#fff);cursor:pointer;accent-color:var(--provider-red,#c8102e)}input[type=radio]{border-radius:50%}input[type=checkbox]:checked,input[type=checkbox]:indeterminate,input[type=radio]:checked{background:var(--provider-red,#c8102e);border-color:var(--provider-red,var(--appearance-red-ink,#c8102e))}input[type=checkbox]:checked:after{content:"";width:8px;height:4px;border-left:2px solid var(--appearance-line,#fff);border-bottom:2px solid var(--appearance-line,#fff);transform:rotate(-45deg) translateY(-1px)}input[type=checkbox]:indeterminate:after{content:"";width:9px;height:2px;background:var(--appearance-surface,#fff)}input[type=radio]:checked:after{content:"";width:6px;height:6px;border-radius:50%;background:var(--appearance-surface,#fff)}input[type=checkbox]:focus-visible,input[type=radio]:focus-visible{outline:3px solid rgba(200,16,46,.22);outline-offset:3px}input[type=checkbox]:disabled,input[type=radio]:disabled{opacity:.5;cursor:not-allowed}input::file-selector-button{font:inherit;color:var(--appearance-brand-ink,var(--provider-red,var(--appearance-red-ink,#c8102e)));background:var(--appearance-subtle,#fff0f3);border:1px solid rgba(200,16,46,.28);border-radius:8px;padding:8px 12px;margin-right:12px;cursor:pointer}@media(forced-colors:active){input[type=checkbox],input[type=radio]{appearance:auto}}.branded-multi-select{display:flex;flex-direction:column;min-height:120px;max-height:240px;overflow:auto;border:1px solid var(--control-border);border-radius:10px;background:var(--appearance-surface,#fff);padding:4px;gap:3px}.branded-multi-select button{font:inherit;text-align:left;border:1px solid transparent;background:var(--appearance-surface,#fff);color:var(--appearance-blue-ink,#183448);border-radius:6px;padding:8px 10px;min-height:36px}.branded-multi-select button[aria-selected=true]{background:var(--appearance-subtle,#fff0f3);border-color:rgba(200,16,46,.28);color:var(--appearance-red-ink,#a50d27)}.branded-multi-select button:focus-visible{outline:2px solid var(--appearance-red-ink,#c8102e);outline-offset:-2px}.branded-control-error{display:block;color:var(--appearance-brand-ink,var(--provider-red,var(--appearance-red-ink,#c8102e)));font-size:12px;margin-top:5px}:where(button,input,textarea,select){font:inherit}:where(button){border:1px solid var(--control-border,var(--appearance-line,#8190a2));border-radius:8px;background:var(--appearance-surface,#fff);color:var(--appearance-blue-ink,#183448);padding:8px 12px;cursor:pointer}:where(button):focus-visible{outline:3px solid rgba(200,16,46,.22);outline-offset:2px}:where(button):disabled{cursor:not-allowed;opacity:.55}input[type=number]{appearance:textfield}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=color]{border:1px solid var(--control-border,var(--appearance-line,#8190a2));border-radius:8px;padding:4px;background:var(--appearance-surface,#fff);min-height:40px}.app-shell{grid-template-columns:276px minmax(0,1fr)}.accordion-navigation{display:flex;flex-direction:column;gap:8px;overflow:auto;min-height:0}.accordion-section-toggle{width:100%;display:flex;align-items:center;gap:12px;min-height:48px;padding:0 12px;border:1px solid transparent;border-radius:10px;background:transparent;color:#bfc7d2;font:inherit;font-size:14px;font-weight:650;text-align:left;cursor:pointer}.accordion-section-toggle:hover{background:#ffffff08;color:#fff}.accordion-section-toggle[aria-expanded=true]{background:#ffffff0b;color:#fff}.accordion-section-toggle[aria-expanded=true]>svg:first-child{color:#ff5276}.accordion-chevron{margin-left:auto;transition:transform .15s}.accordion-section-toggle[aria-expanded=true] .accordion-chevron{transform:rotate(180deg)}.accordion-section-content{padding:8px 0 12px 12px}.accordion-section-content[hidden]{display:none}.accordion-navigation .shell-nav-group{gap:6px}.accordion-navigation .shell-nav-group+.shell-nav-group{border:0;padding-top:14px}.accordion-navigation .shell-nav-heading{font-size:10px;color:#94a0b1;padding:8px 12px 4px}.workspace-nav-row{display:flex;align-items:center;position:relative}.accordion-navigation .shell-nav-item{min-height:40px;height:auto;padding:10px 30px 10px 12px;font-size:13px;font-weight:550;gap:10px;border-radius:8px}.workspace-pin{position:absolute;right:4px;display:grid;place-items:center;width:25px;height:30px;border:0;background:transparent;color:#8d99a9;cursor:pointer;opacity:0;border-radius:5px}.workspace-nav-row:hover .workspace-pin,.workspace-pin:focus-visible,.workspace-pin[aria-pressed=true]{opacity:1}.workspace-pin[aria-pressed=true]{color:#ffb7c7}.workspace-pin:hover{background:#ffffff15;color:#fff}.workspace-empty{color:#aeb8c6;font-size:12px;line-height:1.6;padding:0 12px}.accordion-section-toggle:focus-visible,.workspace-pin:focus-visible{outline:2px solid #ff5276;outline-offset:2px}.app-shell.sidebar-is-collapsed .accordion-section-toggle{justify-content:center;padding:0}.app-shell.sidebar-is-collapsed .accordion-chevron,.app-shell.sidebar-is-collapsed .accordion-section-content,.app-shell.sidebar-is-collapsed .accordion-section-toggle span{display:none}@media(max-width:1200px){.workspace-pin{opacity:1}.app-shell.sidebar-is-collapsed .accordion-section-toggle{justify-content:flex-start;padding:0 12px}.app-shell.sidebar-is-collapsed .accordion-chevron,.app-shell.sidebar-is-collapsed .accordion-section-content:not([hidden]),.app-shell.sidebar-is-collapsed .accordion-section-toggle span{display:block}}.login-page.login-page-clean{min-height:100svh;align-items:center;padding:32px 18px;background:radial-gradient(ellipse at 0 0,rgba(207,24,48,.045),transparent 48%),radial-gradient(ellipse at 100% 100%,rgba(73,153,234,.09),transparent 52%),#f7f9fc}.login-panel.login-panel-clean{width:min(100%,460px);gap:36px;padding:40px 32px 28px;border:1px solid #e0e7ef;border-radius:18px;background:#fff;box-shadow:0 18px 48px rgba(18,49,74,.09)}.login-panel-clean .logo-brand-lockup img{width:min(100%,280px)}.login-panel-clean .login-form{gap:20px}.login-panel-clean .field{gap:8px}.login-panel-clean .field span{color:#12314a;font-size:.88rem;font-weight:650}.login-panel-clean .field input{min-height:48px;border-color:#d2ddea;border-radius:9px;background:#f3f6fa;color:#12314a}.login-panel-clean .field input:focus{background:#fff;border-color:#c8102e}.login-panel-clean .sign-in-button{min-height:48px;margin-top:0;border-radius:9px;font-size:.96rem;background:#c8102e;border-color:#c8102e}.login-panel-clean .sign-in-button:hover:not(:disabled){background:#ac0d27;border-color:#ac0d27}.login-panel-clean .auth-forgot-link{color:#64768b;font-weight:500;font-size:.88rem;text-align:center;text-decoration:none}.login-panel-clean .auth-forgot-link:hover{color:#12314a;text-decoration:underline}@media (max-width:480px){.login-page.login-page-clean{padding:20px 16px}.login-panel.login-panel-clean{padding:32px 24px 24px;gap:30px}}.dashboard-selector:has(~[data-dashboard-loading]){display:none!important}.dashboard-header.dashboard-header{align-items:center;flex-wrap:wrap;gap:24px;margin:0 0 24px}.dashboard-header.dashboard-header h1{font-size:clamp(28px,2.4vw,36px);line-height:1.2;letter-spacing:-.035em;margin:8px 0 12px}.dashboard-header.dashboard-header p{line-height:1.6;margin:0 0 8px}.dashboard-refresh{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:var(--control-height);flex:0 0 auto;white-space:nowrap;line-height:1}.dashboard-refresh svg{display:block;flex:0 0 auto}.shell-topbar .icon-button{position:relative;display:inline-flex;align-items:center;justify-content:center;width:var(--control-height);height:var(--control-height);padding:0;flex:0 0 auto;line-height:1}.shell-topbar .icon-button>svg{display:block;flex:0 0 auto}.shell-topbar .notification-badge{top:-4px;right:-4px;display:flex;align-items:center;justify-content:center;line-height:1}.shell-main{--workspace-gap:24px;--workspace-radius:14px;--workspace-heading:30px;--workspace-table-text:14px}.shell-main>.content-wrap,.shell-main>.shell-topbar,.shell-main>[data-page-layout]{width:100%;max-width:1700px;justify-self:stretch}.shell-main [data-page-layout]{width:100%;min-width:0;max-width:1700px;margin:0 auto;padding:0!important;box-sizing:border-box;align-self:start}.shell-main [data-page-header]{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;width:100%;min-width:0;min-height:0!important;padding:0!important;margin:0 0 24px!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;text-align:left!important}.shell-main [data-page-layout]:is(.content-wrap){gap:24px!important}.shell-main [data-page-layout]:is(.content-wrap)>[data-page-header]{margin-bottom:0!important}.shell-main [data-page-header]>div{min-width:0}.shell-main [data-page-header] h1{margin:5px 0!important;font-size:var(--workspace-heading)!important;line-height:1.2!important;letter-spacing:-.025em!important;font-weight:750!important;color:var(--text)!important;max-width:none!important}.shell-main [data-page-header] p{font-size:14px!important;line-height:1.5!important;font-weight:400;margin:6px 0!important;color:var(--appearance-muted,var(--text-muted))!important;max-width:850px}.shell-main [data-page-header] :is([class*=eyebrow],[class*=kicker]){font-size:12px!important;font-weight:800!important;letter-spacing:.12em!important;color:var(--appearance-red-ink,var(--brand-primary))!important;line-height:1.4!important;text-transform:uppercase}.shell-main [data-page-header] :is([class*=titleIcon],[class*=heroIcon]),.shell-main [data-page-header] h1>svg{display:none!important}.shell-main [data-page-header] :is([class*=titleRow],[class*=heroTitle],[class*=_title_]){gap:0!important;background:none!important;border:0!important;padding:0!important}.shell-main [data-page-header] a:is(.primary-action,.secondary-action),.shell-main [data-page-header] button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border-radius:9px!important;font-size:14px!important;line-height:1.25;white-space:nowrap}.shell-main [data-page-header] button:is([aria-label^=Refresh],[title=Refresh],[class*=_iconButton_],[class*=_icon_]){width:40px;height:40px;min-width:40px;padding:0!important;flex-shrink:0}.shell-main [data-page-header] button>svg{display:block;flex-shrink:0;width:17px;height:17px}.shell-main [data-page-header]>h1{flex:1 1}.shell-main [data-page-header]:has(>h1):has(>p){display:block!important}.shell-main [data-page-table-wrap]{width:100%;max-width:100%;overflow-x:auto;border:1px solid var(--appearance-line,var(--border))!important;border-radius:var(--workspace-radius)!important;background:var(--appearance-surface,var(--surface))!important}.shell-main table[data-page-table]{width:100%;border-collapse:collapse!important;border-spacing:0;text-align:left;font-size:var(--workspace-table-text)!important;color:var(--text);background:var(--appearance-surface,var(--surface))}.shell-main table[data-page-table] th{padding:14px 16px!important;background:var(--appearance-subtle,var(--surface-subtle))!important;color:var(--appearance-muted,var(--text-muted))!important;font-size:12px!important;font-weight:700!important;line-height:1.4;text-align:left;text-transform:none!important;letter-spacing:normal!important;border-bottom:1px solid var(--appearance-line,var(--border))!important}.shell-main table[data-page-table] td{padding:12px 16px!important;border-bottom:1px solid var(--appearance-line,var(--border))!important;font-size:14px!important;line-height:1.45;vertical-align:middle!important}.shell-main table[data-page-table] tbody tr:last-child td{border-bottom:0!important}.shell-main table[data-page-table] tbody tr:hover{background:var(--appearance-subtle,var(--surface-subtle))}.shell-main table[data-page-table] small{font-size:12px!important;line-height:1.45;color:var(--appearance-muted,var(--text-muted))}.shell-main table[data-page-table] button:not([role=checkbox]):not([role=switch]){min-height:36px;border-radius:8px;font-size:13px}.shell-main .organisation-table{border:1px solid var(--appearance-line,var(--border));border-radius:14px;overflow:hidden;background:var(--appearance-surface,var(--surface))}.shell-main .organisation-table-header{padding:14px 16px;font-size:12px;background:var(--appearance-subtle,var(--surface-subtle));color:var(--appearance-muted,var(--text-muted))}.shell-main .organisation-table-row{padding:12px 16px;font-size:14px;border-bottom:1px solid var(--appearance-line,var(--border))}.shell-main .organisation-table-row strong{font-size:14px}.shell-main .organisation-table-row small{font-size:12px}@media(max-width:900px){.shell-main [data-page-header]{flex-wrap:wrap!important;align-items:flex-start!important}.shell-main table[data-page-table] td,.shell-main table[data-page-table] th{padding:12px!important}}@media(max-width:600px){.shell-main{--workspace-heading:26px}.shell-main [data-page-header]{gap:14px!important;margin-bottom:20px!important}.shell-main [data-page-header]>div:last-child{flex-wrap:wrap}.shell-main [data-page-header] h1{font-size:26px!important}}.shell-main [data-page-header]{flex:0 0 auto!important}.shell-main [data-page-header] :is(a,button){flex-shrink:0}.shell-main [data-page-header] :is([class*=Actions],[class*=actions],[class*=controls]){display:flex;align-items:center;gap:10px;flex-wrap:wrap}.shell-main [data-table]{font-size:14px;background:var(--surface)}.shell-main [data-table]>:is([role=row],[role=button],[class*=RowHead]){padding:12px 16px;line-height:1.45;border-bottom:1px solid var(--border)}.shell-main [data-table]>:is([role=row],[role=button],[class*=RowHead]):first-child{padding:14px 16px;background:var(--surface-subtle);color:var(--text-muted);font-size:12px;font-weight:700;text-transform:none}.shell-main [data-table]>:is([role=row],[role=button],[class*=RowHead]):first-child button{text-transform:none;font-size:12px}.shell-main [data-table]>:is([role=row],[role=button],[class*=RowHead]) strong{font-size:14px}.shell-main [data-table]>:is([role=row],[role=button],[class*=RowHead]) small{font-size:12px}.shell-main [data-table]>:is([role=row],[role=button],[class*=RowHead]):not(:first-child):hover{background:var(--surface-subtle)}.shell-main [data-page-layout]{background:transparent!important;height:auto!important;max-height:none!important;overflow:visible!important}.shell-main :is([data-page-table-wrap],[data-table],[class*=_tableScroll_],[class*=_tableWrap_],[class*=_resultsBody_]){height:auto!important;max-height:none!important;overflow-x:auto;overflow-y:visible}.workspace-pagination{justify-content:space-between;flex-wrap:wrap;padding:16px;border-top:1px solid var(--line);color:var(--muted);font-size:13px}.workspace-pagination,.workspace-pagination>div{display:flex;align-items:center;gap:12px}.workspace-pagination button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 14px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--text);font:inherit;cursor:pointer}.workspace-pagination button:disabled{opacity:.4;cursor:default}[data-page-table],[data-table]{scroll-margin-top:24px}