:root{color-scheme:light;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif;background:#f1f3f7;color:#111827;--text: #111827;--muted: #6b7280;--line: #d7dde8;--line-strong: #c8d0dc;--surface: #ffffff;--surface-alt: #f1f3f7;--surface-soft: #f8fafc;--primary: #111827;--primary-strong: #000000;--accent: #2f6fed;--danger: #d92d20;--shadow: none;--warning-bg: #fff8e6;--warning-line: #f2d17a;--success-bg: #eefaf2}:root[data-theme=dark]{color-scheme:dark;background:#0f172a;color:#e5e7eb;--text: #e5e7eb;--muted: #94a3b8;--line: #273449;--line-strong: #334155;--surface: #111827;--surface-alt: #172033;--surface-soft: #1f2937;--primary: #38bdf8;--primary-strong: #7dd3fc;--accent: #60a5fa;--danger: #ef4444;--shadow: 0 16px 40px rgba(0, 0, 0, .22);--warning-bg: #2a2109;--warning-line: #854d0e;--success-bg: #092a19}:root[data-theme=dark] .work-animation{--work-passive: #252a45}*{box-sizing:border-box}body{margin:0;background:var(--surface-alt);font-size:16px;line-height:1.45}button,input,select{font:inherit}input,select{min-height:52px;border:1px solid var(--line);border-radius:9px;padding:0 16px;color:var(--text);background:var(--surface);font-size:16px;transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease}input:hover,select:hover{border-color:var(--line-strong)}input:focus,select:focus{outline:0;border-color:#8da2c0;box-shadow:0 0 0 3px #2f6fed1a}label{display:grid;gap:8px;color:var(--text);font-size:14px;font-weight:700}.center-screen{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-panel{width:min(100%,420px);display:grid;gap:18px;padding:34px;border:1px solid var(--line);border-radius:4px;background:var(--surface);box-shadow:var(--shadow)}.auth-panel h1,.page-header h1{margin:0;color:#05080f;font-size:32px;line-height:1.1;letter-spacing:0;font-weight:850}.auth-panel p,.page-header p{margin:8px 0 0;color:var(--muted);line-height:1.5}.eyebrow{margin:0;color:var(--muted);font-size:13px;font-weight:850;text-transform:uppercase}.app-frame{min-height:100vh;background:var(--surface-alt)}.topbar{position:sticky;top:0;z-index:30;height:84px;display:grid;grid-template-columns:64px auto auto auto 1fr auto auto auto auto;align-items:center;gap:28px;padding:0 22px;border-top:1px solid #d7dde8;border-bottom:1px solid #dfe5ee;background:#f7f8fb;box-shadow:0 2px 8px #1f29370d}.topbar-brand{color:#1f232b;font-size:32px;line-height:1;font-weight:900;letter-spacing:-.2px}.topbar-link,.topbar-account,.topbar-text-button,.topbar-icon-button{color:#2f343d;font-size:20px;font-weight:500}.topbar-link{white-space:nowrap}.muted-link{color:#333a45}.topbar-spacer{min-width:20px}.topbar-icon-button,.topbar-text-button{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;background:transparent;cursor:pointer}.topbar-icon-button{width:48px;padding:0}.topbar-text-button{padding:0 8px}.topbar-icon-button:hover,.topbar-text-button:hover{color:#000}.topbar-account{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.notification-button{position:relative}.notification-button span{position:absolute;top:10px;right:9px;width:9px;height:9px;border:2px solid #f7f8fb;border-radius:999px;background:#22c55e}.shell{min-height:calc(100vh - 84px);display:grid;grid-template-columns:280px minmax(0,1fr);background:var(--surface-alt)}.sidebar{position:sticky;top:84px;height:calc(100vh - 84px);display:flex;flex-direction:column;gap:0;padding:0;border-right:1px solid var(--line);background:var(--surface)}.brand-block{display:none;align-items:center;gap:12px;padding:0 22px 18px;border-bottom:1px solid var(--line)}.brand-mark{width:48px;height:48px;display:grid;place-items:center;border-radius:12px;color:#fff;background:#111827;font-weight:900}.brand-block strong,.brand-block small{display:block}.brand-block small{color:var(--muted);margin-top:2px}nav{display:grid;gap:0;padding:10px 0}nav a,.logout-button{min-height:75px;display:flex;align-items:center;gap:24px;padding:0 22px 0 32px;border:0;border-radius:0;color:var(--text);background:transparent;text-decoration:none;font-size:18px;font-weight:500}nav a:hover,.logout-button:hover{background:#f7f8fb}nav a.active{color:#05080f;background:#fff;box-shadow:inset 3px 0 #2f6fed;font-weight:700}nav a span,.logout-button span{white-space:nowrap}.logout-button{margin-top:auto;cursor:pointer}.main{min-width:0;padding:42px 76px 56px;background:var(--surface-alt)}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:0 auto 26px;max-width:1424px}.toolbar-section,.table-wrap,.panel,.kpi-grid{max-width:1424px}.toolbar-section{margin-left:auto;margin-right:auto}.page-actions{display:flex;gap:10px}.help-button{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line-strong);border-radius:50%;color:var(--text);background:var(--surface);cursor:pointer;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}.help-button span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.help-button:hover{border-color:#2563eb;background:#eff6ff;box-shadow:0 8px 20px #2563eb24}.toolbar{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:18px;padding:0}.toolbar input{min-width:min(100%,320px)}.primary-button,.secondary-button,.small-button{min-height:52px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line-strong);border-radius:9px;padding:0 18px;color:#111827;background:var(--surface);font-size:16px;font-weight:700;cursor:pointer;transition:border-color .15s ease,background-color .15s ease,color .15s ease,box-shadow .15s ease}.primary-button{color:#fff;border-color:#111827;background:#111827}.primary-button .work-animation{--work-passive: rgba(255, 255, 255, .22);--work-active: #ffffff;color:#fff}.primary-button .work-copy strong{color:#fff}.secondary-button,.small-button{color:var(--text);border:1px solid var(--line);background:var(--surface)}.primary-button:hover{border-color:#000;background:#000}.secondary-button:hover,.small-button:hover{border-color:#9aa7bb;background:#f8fafc}.small-button{min-height:38px;padding:0 12px;font-size:14px}.danger-button{color:#991b1b;border-color:#fecaca;background:#fff7f7}.danger-primary{background:var(--danger)}button:disabled{cursor:not-allowed;opacity:.55}.error-box,.state-error{color:#991b1b;background:#fef2f2;border-color:#fecaca}.state-block{margin:16px 0;padding:16px;border:1px solid var(--line);border-radius:4px;background:var(--surface)}.inline-loading{margin:8px 0 10px;color:var(--muted);font-size:13px}.work-animation{--work-cell: 32px;--work-gap: 8px;--work-step: calc(var(--work-cell) + var(--work-gap));--work-active: var(--accent);--work-passive: #eceaff;display:inline-flex;align-items:center;gap:14px;min-width:0;color:var(--text)}.work-tone-success{--work-active: #16a34a;--work-passive: #e7f8ec}.work-tone-warning{--work-active: #f59e0b;--work-passive: #fff4d6}.work-loader{position:relative;width:calc(var(--work-cell) * 2 + var(--work-gap));height:calc(var(--work-cell) * 2 + var(--work-gap));flex:0 0 auto;display:grid;grid-template-columns:repeat(2,var(--work-cell));grid-template-rows:repeat(2,var(--work-cell));gap:var(--work-gap)}.work-cell{display:block;border:1px solid rgba(99,102,241,.12);border-radius:11px;background:linear-gradient(145deg,var(--work-passive),var(--surface-soft));box-shadow:inset 0 1px 1px #ffffffd9,0 4px 10px #5950a01f}.work-cell-2,.work-cell-4{opacity:.82}.work-cell-3{opacity:.62}.work-cell-active{position:absolute;left:0;top:0;width:var(--work-cell);height:var(--work-cell);border-color:#6366f13d;background:linear-gradient(145deg,#8b5cf6,var(--work-active));box-shadow:0 9px 18px #6366f142,inset 0 1px 1px #ffffff59;animation:work-rebuild 1.6s cubic-bezier(.22,.61,.36,1) infinite}.work-copy{min-width:0;display:grid;gap:3px}.work-copy strong{color:var(--text);font-size:15px;font-weight:600;line-height:1.2}.work-copy span{color:var(--muted);font-size:13px;line-height:1.35}.work-inline{--work-cell: 10px;--work-gap: 3px;gap:8px}.work-inline .work-cell{border-radius:4px;box-shadow:0 2px 5px #5950a01a}.work-inline .work-copy{display:block}.work-inline .work-copy strong{font-size:13px;font-weight:500}.work-inline .work-copy span,.work-inline .work-steps{display:none}.work-block{min-height:56px}.work-screen{--work-cell: 42px;--work-gap: 10px;flex-direction:column;justify-content:center;padding:28px;text-align:center}.work-screen .work-copy{justify-items:center;gap:8px}.work-screen .work-copy strong{font-size:18px}.work-steps{display:flex;justify-content:center;gap:8px;margin-top:4px}.work-steps i{width:22px;height:22px;display:grid;place-items:center;border-radius:999px;color:#4f46e5;background:#f0efff;font-size:12px;font-style:normal}@keyframes work-rebuild{0%,18%{transform:translate(0) scale(1)}24%,43%{transform:translate(var(--work-step)) scale(1.06)}50%,68%{transform:translate(var(--work-step),var(--work-step)) scale(1)}74%,93%{transform:translateY(var(--work-step)) scale(1.06)}to{transform:translate(0) scale(1)}}.kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px}.kpi-grid.compact{grid-template-columns:repeat(auto-fit,minmax(180px,260px));margin-bottom:18px}.kpi-card,.panel{border:1px solid var(--line);border-radius:4px;background:var(--surface);box-shadow:var(--shadow)}.kpi-card{min-height:132px;display:grid;grid-template-rows:34px 42px 22px;align-content:start;gap:8px;padding:20px}.kpi-warning{border-color:var(--warning-line);background:var(--warning-bg)}.kpi-danger{border-color:#fecaca;background:#fef2f2}.kpi-success{border-color:#bbf7d0;background:var(--success-bg)}.clickable-card{cursor:pointer}.clickable-card:hover{transform:translateY(-1px)}.kpi-card span,.kpi-card small{display:block;color:var(--muted);font-size:13px;font-weight:750}.kpi-card span{min-height:34px}.kpi-card small{min-height:22px}.kpi-card strong{display:flex;align-items:end;font-size:32px;line-height:1}.dashboard-grid,.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.panel{padding:24px}.panel h2{margin:0 0 14px;font-size:18px;letter-spacing:0}.panel-note{margin:-4px 0 14px;color:var(--muted);font-size:14px}.danger-panel{border-color:#fed7aa;background:#fff7ed}.detail-wide{grid-column:1 / -1}.button-row{display:flex;gap:10px;margin-top:12px}.row-actions{display:flex;flex-wrap:wrap;gap:8px}.cell-subtext{display:block;margin-top:4px;color:var(--muted);font-size:12px;word-break:break-word}.status-pill{display:inline-flex;align-items:center;min-height:26px;padding:0 10px;border:1px solid var(--line);border-radius:999px;font-size:12px;font-weight:800}.level-owner{color:#7c2d12;border-color:#fed7aa;background:#fff7ed}.level-admin{color:#075985;border-color:#bae6fd;background:#f0f9ff}.level-viewer{color:#475467;background:var(--surface-alt)}.status-active{color:#166534;border-color:#bbf7d0;background:#f0fdf4}.status-suspended{color:#92400e;border-color:#fde68a;background:#fffbeb}.status-revoked{color:#991b1b;border-color:#fecaca;background:#fef2f2}.status-muted{color:var(--muted);background:var(--surface-alt)}.status-code-sent,.status-confirmation-sent,.status-pending-deletion,.status-processing,.status-failed{color:#92400e;border-color:#fde68a;background:#fffbeb}.status-canceled,.status-completed,.status-accepted,.status-saved,.status-active{color:#166534;border-color:#bbf7d0;background:#f0fdf4}.status-error,.status-offline{color:#991b1b;border-color:#fecaca;background:#fef2f2}.status-partial,.status-unknown{color:#92400e;border-color:#fde68a;background:#fffbeb}.theme-button{width:42px;min-width:42px;padding:0}.sidebar-footer{margin-top:auto;display:grid;gap:8px}.toolbar-section{display:grid;gap:8px;margin-bottom:16px}.chip-row{display:flex;flex-wrap:wrap;gap:8px}.chip{min-height:40px;border:1px solid var(--line);border-radius:999px;padding:0 16px;color:var(--text);background:var(--surface);font-size:15px;font-weight:700;cursor:pointer}.chip.active{color:#05080f;border-color:#111827;background:#eef2f7}.banner{margin-bottom:16px;padding:12px 14px;border:1px solid var(--warning-line);border-radius:4px;color:#92400e;background:var(--warning-bg);font-weight:750}.tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.live-debug-toolbar{max-width:1440px;margin-left:auto;margin-right:auto}.live-debug-toolbar input{min-width:min(100%,360px)}.live-debug-state{max-width:1440px;display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:-6px auto 14px;color:var(--text);font-size:13px}.live-dot{width:9px;height:9px;border-radius:999px;background:#22c55e;box-shadow:0 0 0 4px #22c55e24}.live-dot.paused{background:#f59e0b;box-shadow:0 0 0 4px #f59e0b24}.fresh-live-row{animation:fresh-row 3s ease-out}@keyframes fresh-row{0%{background:#ecfdf5}to{background:transparent}}.live-detail-backdrop{display:block;padding:96px 78px 24px 328px}.live-detail-panel{width:100%;max-width:none;height:calc(100vh - 120px);max-height:calc(100vh - 120px);display:flex;flex-direction:column;gap:0;overflow:hidden}.live-detail-panel .panel{max-width:100%;min-width:0;overflow:visible}.live-detail-panel .table-wrap{max-width:100%}.live-detail-panel .modal-header{flex:0 0 auto;padding-bottom:16px;background:var(--surface)}.live-detail-scroll{min-height:0;flex:1 1 auto;display:grid;align-content:start;gap:14px;overflow-y:auto;overflow-x:hidden;padding-right:4px;overscroll-behavior:contain}.raw-row-box{width:100%;max-width:100%;min-height:150px;max-height:none;overflow-x:auto;overflow-y:visible;margin:0;padding:12px;border:1px solid var(--line);border-radius:4px;color:var(--text);background:var(--surface-soft);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace;font-size:13px;line-height:1.45;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere}.sticky-tabs{max-width:1440px;margin-left:auto;margin-right:auto}.thresholds-panel{max-width:1440px;margin:0 auto 16px}.threshold-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.threshold-card{display:grid;gap:8px;padding:14px;border:1px solid var(--line);border-radius:4px;background:var(--surface-soft)}.threshold-card h3,.threshold-card p{margin:0}.threshold-card h3{font-size:15px;font-weight:600}.threshold-card p{color:var(--muted);font-size:13px;line-height:1.45}.threshold-card strong{color:var(--text);font-weight:600}.sparkline{width:120px;height:28px}.resource-grid{max-width:1440px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 auto 16px}.resource-card{display:grid;gap:12px;padding:16px;border:1px solid var(--line);border-radius:4px;background:var(--surface);box-shadow:var(--shadow)}.resource-card h2{margin:0;font-size:16px;font-weight:600}.resource-meter{height:10px;overflow:hidden;border-radius:999px;background:#e5e7eb}.resource-meter span{display:block;height:100%;border-radius:inherit;background:#2563eb}.table-size-panel{max-width:1440px;margin:16px auto 0}.services-grid{max-width:1440px;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}.service-card{min-height:132px;display:grid;align-content:start;gap:12px;padding:16px;border:1px solid var(--line);border-radius:4px;background:var(--surface)}.service-ok{border-color:#bbf7d0;background:#f3fbf5}.service-error{border-color:#fecaca;background:#fff7f7}.service-warning{border-color:#f2d17a;background:#fffaf0}.service-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.service-card h2{margin:0;font-size:16px;font-weight:600}.service-status{min-height:24px;display:inline-flex;align-items:center;padding:0 9px;border:1px solid var(--line);border-radius:999px;background:var(--surface);font-size:12px;font-weight:500}.service-meta-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.service-meta{display:grid;gap:2px;padding:8px 10px;border:1px solid var(--line);border-radius:4px;background:#ffffffb8}.service-meta span{color:var(--muted);font-size:11px;text-transform:uppercase}.service-meta strong{font-size:15px;font-weight:600}.service-message,.service-error-text{margin:0;font-size:12px;line-height:1.35}.service-message{color:#92400e}.service-error-text{color:#991b1b}.service-card .sparkline{width:100%;height:22px;color:var(--muted)}.trend-up{color:#16a34a}.trend-down{color:#dc2626}.trend-flat{color:var(--muted)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-items:center;padding:20px;background:#0f172a6b}.modal-panel{width:min(100%,560px);max-height:calc(100vh - 40px);min-width:0;display:grid;gap:14px;overflow:auto;padding:22px;border:1px solid var(--line);border-radius:4px;background:var(--surface);box-shadow:0 24px 70px #0f172a40}.large-modal{width:min(100%,980px)}.help-modal{width:min(100%,780px)}.modal-backdrop.live-detail-backdrop{display:block;place-items:unset;padding:96px 16px 16px 312px}.modal-panel.live-detail-panel{width:100%;max-width:none;height:calc(100vh - 112px);max-height:calc(100vh - 112px);display:flex;flex-direction:column;gap:0;overflow:hidden}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.modal-panel h2,.modal-panel p{margin:0}.modal-panel p{margin-top:6px;color:var(--muted)}.help-content{display:grid;gap:18px}.help-content section{display:grid;gap:8px}.help-content h3{margin:0;font-size:17px;font-weight:600}.help-content ul{margin:0;padding-left:20px;color:var(--muted)}.help-content li+li{margin-top:6px}.help-content code{color:var(--text)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.kv-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;min-width:0}.kv-grid div{min-width:0;display:grid;gap:4px;padding:10px;border:1px solid var(--line);border-radius:4px;background:var(--surface-alt)}.kv-grid span{color:var(--muted);font-size:12px;font-weight:800}.table-wrap{max-width:100%;margin-left:auto;margin-right:auto;overflow:auto;border:1px solid var(--line-strong);border-radius:0;background:var(--surface)}.table-wrap-stretch table{width:100%;min-width:0}.table-wrap-stretch th,.table-wrap-stretch td{width:auto}table{border-collapse:collapse;font-size:15px;table-layout:fixed}th,td{padding:14px 16px;border-bottom:1px solid var(--line);border-right:1px solid var(--line-strong);text-align:left;vertical-align:top;overflow:hidden;text-overflow:ellipsis;white-space:normal;word-break:break-word}th:last-child,td:last-child{border-right:0}th{position:sticky;top:0;z-index:1;color:#344054;background:#f5f7fa;font-size:12px;font-weight:850;text-transform:uppercase;-webkit-user-select:none;user-select:none}.th-sort-button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:0;border:0;color:inherit;background:transparent;font:inherit;text-align:left;text-transform:inherit;cursor:pointer}.th-sort-button:disabled{cursor:default}.sort-hint{flex:0 0 auto;color:var(--muted);font-size:11px;font-weight:850;white-space:nowrap}.sort-hint.active{color:var(--accent)}.column-resizer{position:absolute;top:0;right:-1px;width:10px;height:100%;cursor:col-resize;touch-action:none;z-index:2}.column-resizer:after{content:"";position:absolute;top:8px;right:4px;width:2px;height:calc(100% - 16px);border-radius:999px;background:#aab4c3;opacity:.85}.column-resizer:hover:after,.column-resizer.is-resizing:after{background:var(--accent);opacity:1;width:3px}td code,.json-value{display:block;max-width:100%;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere}.clickable-row{cursor:pointer}.clickable-row:hover{background:var(--surface-alt)}.muted{color:var(--muted)}@media (max-width: 1180px){.shell{grid-template-columns:84px minmax(0,1fr)}.sidebar{padding:18px 12px;align-items:center}.brand-block div,nav a span,.logout-button span{display:none}nav a,.logout-button{justify-content:center;width:48px;padding:0}}@media (max-width: 900px){.shell{grid-template-columns:1fr}.sidebar{position:static;height:auto}nav{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.brand-block div,nav a span,.logout-button span{display:block}nav a,.logout-button{justify-content:flex-start;width:auto;padding:0 12px}.main{padding:18px}.page-header,.dashboard-grid,.detail-grid{display:block}.panel{margin-bottom:14px}.form-grid{grid-template-columns:1fr}.row-actions{display:grid}}body{font-size:15px;font-weight:400}label,nav a,.logout-button,.topbar-link,.topbar-account,.topbar-text-button,.topbar-icon-button,.primary-button,.secondary-button,.small-button,.chip,.banner,.kpi-card span,.kpi-card small,.status-pill,.kv-grid span,.th-sort-button,.sort-hint{font-weight:500}.auth-panel h1,.page-header h1{font-size:28px;font-weight:600}.topbar-brand{font-weight:700}.kpi-card strong{font-size:30px;font-weight:600}.kpi-card span,.kpi-card small{font-weight:500}.kpi-card{min-height:124px;grid-template-rows:32px 38px 20px}input,select,.primary-button,.secondary-button,.topbar-icon-button,.topbar-text-button{min-height:44px;font-size:15px}.small-button{min-height:34px;font-size:13px}.topbar{height:72px;grid-template-columns:52px auto auto auto 1fr auto auto auto auto;gap:20px}.topbar-brand{font-size:28px}.topbar-current-section{display:none;color:var(--muted);font-size:15px;font-weight:500}.shell{min-height:calc(100vh - 72px);grid-template-columns:260px minmax(0,1fr)}.sidebar{top:72px;height:calc(100vh - 72px)}nav a,.logout-button{min-height:58px;gap:18px;font-size:16px}.main{padding:32px}.page-header,.toolbar-section,.table-wrap,.panel,.kpi-grid{max-width:1440px}.mobile-bottom-nav,.mobile-more-menu,.mobile-card-list{display:none}.mobile-filter-details{display:contents}.mobile-filter-details>summary{display:none}.mobile-filter-content{display:contents}.toolbar .chip-row{align-items:center}@media (min-width: 1440px){.main{padding:36px 48px 56px}}@media (max-width: 1439px){.resource-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.threshold-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body{font-size:14px}.auth-panel h1,.page-header h1{font-size:24px}input,select,.primary-button,.secondary-button,.topbar-icon-button,.topbar-text-button{min-height:40px;font-size:14px}.topbar{height:64px;grid-template-columns:44px auto auto 1fr auto auto;gap:14px;padding:0 16px}.topbar-brand{font-size:24px}.topbar-link,.muted-link,.topbar-account span{display:none}.topbar-current-section{display:block}.shell{min-height:calc(100vh - 64px);grid-template-columns:76px minmax(0,1fr)}.sidebar{top:64px;height:calc(100vh - 64px);padding:0;align-items:stretch}nav{padding:8px 0}nav a,.logout-button{width:auto;min-height:56px;justify-content:center;padding:0}nav a span,.logout-button span,.brand-block div{display:none}.main{padding:24px}.kpi-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.kpi-grid.compact{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.modal-backdrop.live-detail-backdrop{padding:80px 14px 14px 94px}.modal-panel.live-detail-panel{height:calc(100vh - 94px);max-height:calc(100vh - 94px)}}@media (max-width: 1023px){.resource-grid{grid-template-columns:1fr}.topbar{grid-template-columns:44px auto 1fr auto auto}.topbar-spacer,.notification-button{display:none}.dashboard-grid,.detail-grid{grid-template-columns:1fr}.toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.toolbar .chip-row{grid-column:1 / -1}.toolbar input,.toolbar select,.toolbar button{width:100%;min-width:0}.panel{padding:18px}.form-grid{grid-template-columns:1fr}.modal-backdrop.live-detail-backdrop{padding:76px 12px 12px 88px}}@media (max-width: 767px){.threshold-grid{grid-template-columns:1fr}body{overflow-x:hidden;font-size:14px}.app-frame{min-height:100vh}.topbar{height:56px;grid-template-columns:40px auto 1fr auto;gap:8px;padding:0 10px}.topbar-brand{font-size:20px}.topbar-current-section{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.topbar-text-button span,.topbar-account,.notification-button,.topbar-link,.muted-link{display:none}.shell{min-height:calc(100vh - 56px);display:block}.sidebar{display:none}.main{padding:12px 12px 86px}.page-header{display:block;margin-bottom:14px}.auth-panel h1,.page-header h1{font-size:22px}.page-header p{display:none}.page-actions,.button-row,.row-actions{display:grid;grid-template-columns:1fr;gap:8px}.modal-backdrop.live-detail-backdrop{padding:64px 10px 76px}.modal-panel.live-detail-panel{height:calc(100vh - 140px);max-height:calc(100vh - 140px);padding:14px}.raw-row-box{min-height:130px;font-size:12px}.toolbar{display:grid;grid-template-columns:1fr;gap:10px}.toolbar input{width:100%}.mobile-filter-details{display:block;width:100%}.mobile-filter-details>summary{min-height:40px;display:flex;align-items:center;padding:0 14px;border:1px solid var(--line);border-radius:8px;background:var(--surface);cursor:pointer}.mobile-filter-content{display:grid;grid-template-columns:1fr;gap:10px;margin-top:10px}.chip-row{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.chip{flex:0 0 auto;min-height:36px;font-size:13px}.kpi-grid,.kpi-grid.compact{grid-template-columns:1fr;gap:10px}.kpi-card,.panel{padding:14px}.kpi-card{min-height:112px;grid-template-rows:auto auto auto}.kpi-card strong{font-size:24px}.work-block{--work-cell: 24px;--work-gap: 6px}.work-screen{--work-cell: 34px;--work-gap: 8px}.work-block .work-copy span,.work-screen .work-copy span,.table-wrap{display:none}.mobile-card-list{display:grid;gap:10px}.mobile-data-card{width:100%;display:grid;gap:8px;padding:12px;border:1px solid var(--line-strong);border-radius:8px;color:var(--text);background:var(--surface);text-align:left}.mobile-card-field{display:grid;grid-template-columns:minmax(100px,38%) minmax(0,1fr);gap:10px;align-items:start}.mobile-card-label{color:var(--muted);font-size:11px;text-transform:uppercase}.mobile-card-value{min-width:0;word-break:break-word}.mobile-card-actions{display:grid;gap:8px;margin-top:4px}.mobile-card-actions .row-actions,.mobile-card-actions button{width:100%}.mobile-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:40;height:64px;display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid var(--line);background:var(--surface)}.mobile-bottom-nav a,.mobile-bottom-nav button{display:grid;place-items:center;gap:3px;border:0;color:var(--muted);background:transparent;font-size:11px;text-decoration:none}.mobile-bottom-nav a.active,.mobile-bottom-nav button.active{color:var(--text)}.mobile-more-menu{position:fixed;left:12px;right:12px;bottom:74px;z-index:41;display:grid;gap:4px;padding:8px;border:1px solid var(--line);border-radius:10px;background:var(--surface);box-shadow:0 18px 50px #0f172a2e}.mobile-more-menu a{min-height:44px;display:flex;align-items:center;gap:10px;padding:0 10px;color:var(--text);text-decoration:none}}@media (max-width: 480px){.main{padding-left:10px;padding-right:10px}input,select,.primary-button,.secondary-button{min-height:40px;padding-left:12px;padding-right:12px}.mobile-card-field{grid-template-columns:1fr;gap:2px}}@media (prefers-reduced-motion: reduce){.work-cell-active{animation:none;transform:translate(0) scale(1)}.fresh-live-row{animation:none}}:root{--crit: #d92d20;--crit-soft: #fdecea;--warn: #b45309;--warn-soft: #fff8e6;--ok: #15803d;--ok-soft: #eefaf2;--info: #475569;--info-soft: #eef1f6;--accent-soft: #e8efff;--topbar-h: 60px}:root[data-theme=dark]{--crit: #f87171;--crit-soft: #3a1414;--warn: #fbbf24;--warn-soft: #2a2109;--ok: #4ade80;--ok-soft: #092a19;--info: #94a3b8;--info-soft: #1c2638;--accent-soft: #172a4a}.topbar{height:var(--topbar-h);display:flex;align-items:center;gap:14px;padding:0 16px;border-top:0;border-bottom:1px solid var(--line);background:var(--surface);box-shadow:none}.topbar-brand{color:var(--text);font-size:20px;font-weight:800}.topbar-text-button,.topbar-icon-button{color:var(--text)}.topbar-current-section{display:none;font-weight:600}.env-badge{padding:2px 10px;border-radius:999px;color:var(--crit);background:var(--crit-soft);font-size:12px;font-weight:700;letter-spacing:.02em;white-space:nowrap}.level-badge{padding:2px 8px;border-radius:6px;color:var(--accent);background:var(--accent-soft);font-size:12px;font-weight:700}.global-search{flex:1;max-width:460px;margin-left:auto;display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--line);border-radius:9px;color:var(--muted);background:var(--surface-soft)}.global-search input{flex:1;min-width:0;min-height:38px;border:0;padding:0;background:transparent;font-size:14px}.global-search input:focus{outline:none;box-shadow:none}.global-search:focus-within{border-color:var(--accent)}.shell{min-height:calc(100vh - var(--topbar-h));grid-template-columns:228px minmax(0,1fr)}.sidebar{top:var(--topbar-h);height:calc(100vh - var(--topbar-h));overflow-y:auto}.sidebar nav{gap:2px;padding:10px 8px}.nav-group{display:grid;gap:2px}.nav-group+.nav-group{margin-top:10px}.nav-group-title{padding:4px 12px;color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.sidebar nav a{min-height:38px;gap:12px;padding:0 10px 0 12px;border-radius:8px;font-size:15px}.sidebar nav a:hover{background:var(--surface-soft)}.sidebar nav a.active{color:var(--accent);background:var(--accent-soft);box-shadow:none}.sidebar nav a span{flex:1}.nav-badge{min-width:20px;padding:0 6px;border-radius:999px;font-size:11px;font-style:normal;font-weight:800;line-height:18px;text-align:center}.nav-badge-critical{color:#fff;background:var(--crit)}.nav-badge-warning{color:var(--warn);background:var(--warn-soft)}.nav-badge-info{color:var(--info);background:var(--info-soft)}.main{padding:28px 32px 48px}.verdict{max-width:1424px;display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-bottom:18px;padding:12px 16px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.verdict strong{font-size:17px}.verdict-dot{width:12px;height:12px;border-radius:50%;background:var(--ok)}.verdict-critical{border-color:var(--crit);background:var(--crit-soft)}.verdict-critical strong{color:var(--crit)}.verdict-critical .verdict-dot{background:var(--crit)}.verdict-warning{border-color:var(--warn);background:var(--warn-soft)}.verdict-warning .verdict-dot{background:var(--warn)}.verdict-time{margin-left:auto;color:var(--muted);font-size:13px}.pulse-grid{max-width:1424px;display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:18px;align-items:start}.problems-panel h2{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.problems-panel h2 small{color:var(--muted);font-size:13px;font-weight:500}.problem-list{display:grid;margin:0;padding:0;list-style:none}.problem-row{display:grid;grid-template-columns:4px minmax(0,1fr) auto;gap:12px;padding:12px 0;border-top:1px solid var(--line)}.problem-row:first-child{border-top:0}.problem-stripe{border-radius:2px;background:var(--info)}.priority-p1 .problem-stripe{background:var(--crit)}.priority-p2 .problem-stripe{background:var(--warn)}.problem-body{min-width:0;display:grid;gap:4px}.problem-title{display:flex;align-items:center;gap:8px;font-weight:600}.problem-title a{color:var(--text);text-decoration:none}.problem-title a:hover{color:var(--accent);text-decoration:underline}.problem-detail{display:flex;flex-wrap:wrap;gap:4px 12px;color:var(--muted);font-size:13px;overflow-wrap:anywhere}.problem-owner{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.problem-note{color:var(--muted);font-size:13px}.problem-note-form{display:flex;flex-wrap:wrap;gap:8px}.problem-note-form input{flex:1;min-width:180px;min-height:36px}.problem-actions{display:flex;flex-direction:column;gap:6px;align-items:stretch}.priority-tag{flex:0 0 auto;padding:1px 6px;border-radius:5px;color:var(--info);background:var(--info-soft);font-size:11px;font-weight:800;font-variant-numeric:tabular-nums}.priority-tag.priority-p1{color:var(--crit);background:var(--crit-soft)}.priority-tag.priority-p2{color:var(--warn);background:var(--warn-soft)}.small-button.primary-small{border-color:var(--accent);color:#fff;background:var(--accent)}.small-button:disabled,.secondary-button:disabled,.primary-button:disabled{cursor:not-allowed;opacity:.5}.pulse-side{display:grid;gap:14px}.pulse-kpis{grid-template-columns:1fr;gap:10px}.resolved-panel ul{display:grid;gap:8px;margin:0;padding:0;list-style:none}.resolved-panel li{display:grid;grid-template-columns:auto 1fr;gap:2px 8px;font-size:13px}.resolved-panel small{grid-column:2;color:var(--muted)}.pulse-charts{max-width:1424px;margin-top:26px}.section-title{margin:0 0 12px;font-size:18px}.users-layout{display:grid;gap:18px}.users-layout.with-preview{grid-template-columns:minmax(0,1fr) 380px;align-items:start}.users-main{min-width:0}.users-table table{width:100%;border-collapse:collapse}.users-table th,.users-table td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap}.users-table th{color:var(--muted);font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.users-table td strong{display:block}.users-table tr:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.selected-row td{background:var(--accent-soft)}.consents{font-variant-numeric:tabular-nums}.freshness{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.freshness i{width:8px;height:8px;border-radius:50%;background:var(--line-strong)}.freshness-fresh i{background:var(--ok)}.freshness-stale i{background:var(--warn)}.freshness-none{color:var(--muted)}.freshness-none i{background:transparent;border:1px solid var(--line-strong)}.status-pill.severity-critical{color:var(--crit);background:var(--crit-soft)}.status-pill.severity-warning{color:var(--warn);background:var(--warn-soft)}.status-pill.severity-normal{color:var(--ok);background:var(--ok-soft)}.state-pills{display:inline-flex;flex-wrap:wrap;gap:4px}.user-cards{display:none;margin:0;padding:0;list-style:none}.pager{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:12px;color:var(--muted);font-variant-numeric:tabular-nums}.more-filters{display:block}.more-filters>summary{min-height:40px;display:inline-flex;align-items:center;padding:0 14px;border:1px solid var(--line-strong);border-radius:9px;background:var(--surface);cursor:pointer;font-weight:600}.more-filters[open] .mobile-filter-content{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}.user-preview{position:sticky;top:calc(var(--topbar-h) + 16px);display:grid;gap:12px;padding:16px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.user-preview header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.user-preview h2,.user-preview h3,.user-preview p{margin:0}.user-preview h3{margin-bottom:8px;font-size:14px}.user-preview .panel{padding:12px}.preview-kv{display:grid;grid-template-columns:auto 1fr;gap:6px 12px;margin:0;font-size:14px}.preview-kv dt{color:var(--muted)}.preview-kv dd{margin:0;min-width:0;overflow-wrap:anywhere}.preview-note{font-size:13px}.fresh-grid{display:grid;gap:8px}.fresh-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:10px;align-items:center}.user-header{max-width:1424px;display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px}.user-header h1{margin:2px 0 8px;font-size:28px}.user-header-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.user-header-actions{display:grid;gap:6px;justify-items:end}.id-copy{display:inline-flex;align-items:center;gap:6px;padding:2px 8px;border:1px solid var(--line);border-radius:6px;color:var(--text);background:var(--surface-soft);cursor:pointer;font:inherit;font-size:12px}.id-copy span{color:var(--ok)}.user-summary{max-width:1424px;margin-bottom:18px}.confirm-backdrop{z-index:60}.confirm-panel label{display:grid;gap:6px;font-weight:600}.confirm-consequence{padding:10px 12px;border-radius:8px;color:var(--text);background:var(--warn-soft)}.thresholds-details>summary{cursor:pointer;font-weight:700}.thresholds-details[open]>summary{margin-bottom:12px}@media (min-width: 1800px){.main{padding:28px 40px 48px}.verdict,.pulse-grid,.pulse-charts,.page-header,.toolbar-section,.table-wrap,.panel,.kpi-grid,.user-header,.user-summary{max-width:none}.pulse-grid{grid-template-columns:minmax(0,1.6fr) minmax(300px,.7fr)}.pulse-side{grid-template-columns:1fr 1fr;align-items:start}.pulse-kpis{grid-template-columns:1fr}}@media (min-width: 1180px) and (max-width: 1439px){.shell{grid-template-columns:220px minmax(0,1fr)}.sidebar nav a{justify-content:flex-start;min-height:36px;padding:0 10px 0 12px}.sidebar nav a span{display:inline}.nav-group-title{display:block}}@media (max-width: 1439px){.topbar{height:var(--topbar-h)}.shell{min-height:calc(100vh - var(--topbar-h))}.sidebar{top:var(--topbar-h);height:calc(100vh - var(--topbar-h))}.main{padding:22px 24px 40px}}@media (min-width: 768px) and (max-width: 1179px){.shell{grid-template-columns:64px minmax(0,1fr)}.nav-group-title{display:none}.sidebar nav a{position:relative;justify-content:center;padding:0}.nav-badge{position:absolute;top:2px;right:4px;min-width:16px;line-height:16px;font-size:10px}.pulse-grid{grid-template-columns:1fr}.pulse-kpis{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}}@media (max-width: 1023px){.global-search{max-width:320px}.env-badge{display:none}}@media (max-width: 767px){:root{--topbar-h: 56px}.topbar{gap:8px;padding:0 10px}.topbar .global-search,.topbar .level-badge{display:none}.topbar-current-section{display:block;margin-right:auto}.env-badge{display:inline;font-size:11px}.mobile-bottom-nav{grid-template-columns:repeat(4,1fr);padding-bottom:env(safe-area-inset-bottom,0px)}.mobile-bottom-nav a{position:relative}.mobile-bottom-nav .nav-badge{position:absolute;top:4px;left:calc(50% + 6px);min-width:16px;line-height:16px;font-size:10px}.mobile-more-menu .global-search{max-width:none;margin:0 0 6px}.mobile-more-menu a{display:flex;align-items:center;gap:10px}.mobile-more-menu a span{flex:1}.main{padding:12px 12px 86px}.verdict-time{margin-left:0;width:100%}.pulse-grid{grid-template-columns:1fr}.pulse-kpis{grid-template-columns:1fr 1fr}.problem-row{grid-template-columns:4px minmax(0,1fr)}.problem-actions{grid-column:2;flex-direction:row;flex-wrap:wrap}.problem-actions .small-button{min-height:44px;flex:1}.users-table{display:none}.user-cards{display:grid;gap:8px}.user-cards button{width:100%;min-height:44px;display:grid;gap:4px;padding:12px;border:1px solid var(--line);border-radius:10px;color:var(--text);background:var(--surface);text-align:left;font:inherit;cursor:pointer}.user-card-head{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.pager{justify-content:space-between}.user-header{display:grid}.user-header-actions{justify-items:stretch}.fresh-row{grid-template-columns:minmax(0,1fr) auto auto}.fresh-row .freshness{grid-column:1 / -1;font-size:12px}.confirm-backdrop{align-items:end;padding:0}.confirm-panel{width:100%;max-height:90vh;border-radius:14px 14px 0 0;padding-bottom:calc(22px + env(safe-area-inset-bottom,0px))}}@media (prefers-reduced-motion: reduce){*{transition:none!important}}.pulse-kpis .kpi-card{min-height:0;gap:4px;padding:12px 14px}.pulse-kpis .kpi-card strong{font-size:24px;line-height:1.15}.mobile-bottom-nav a span{display:block}.mobile-bottom-nav a.active{box-shadow:none}.pulse-kpis .kpi-card strong{margin:0}@media (max-width: 767px){.users-main .toolbar .chip-row{display:flex;flex-wrap:wrap;gap:6px;overflow:visible}.users-main .toolbar .chip-row .chip{width:auto;flex:0 1 auto;min-height:40px}}:root{--p-tone-0: #5b7fd6;--p-tone-1: #3f9a8a;--p-tone-2: #b4705a;--p-tone-3: #8a6bc9;--p-tone-4: #6f8a3a;--p-tone-5: #c0577a;--p-pane-h: calc(100vh - var(--topbar-h) - 150px)}.p-small{font-size:13px}.p-grow{flex:1;min-width:0;display:grid;gap:1px}.p-row-wrap{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.p-name{font-weight:600;color:var(--text);text-decoration:none}.p-name:hover{color:var(--accent);text-decoration:underline}.p-link{border:0;background:none;color:var(--accent);font:inherit;font-size:13px;cursor:pointer;padding:0;text-transform:none;letter-spacing:0;font-weight:500}.p-h{margin:0;font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-weight:600;display:flex;align-items:baseline;justify-content:space-between;gap:8px}.p-h small{text-transform:none;letter-spacing:0;font-weight:500;font-size:12px}details>summary.p-h{cursor:pointer;justify-content:flex-start}.p-back{color:var(--muted);text-decoration:none;font-size:13px}.p-back:hover{color:var(--accent)}.p-ava{display:inline-grid;place-items:center;border-radius:50%;color:#fff;font-weight:700;flex:none;letter-spacing:.02em}.p-ava-s{width:30px;height:30px;font-size:12px}.p-ava-m{width:40px;height:40px;font-size:14px}.p-ava-l{width:60px;height:60px;font-size:21px}.p-tone-0{background:var(--p-tone-0)}.p-tone-1{background:var(--p-tone-1)}.p-tone-2{background:var(--p-tone-2)}.p-tone-3{background:var(--p-tone-3)}.p-tone-4{background:var(--p-tone-4)}.p-tone-5{background:var(--p-tone-5)}.p-status{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;padding:2px 10px;border-radius:999px;white-space:nowrap}.p-status:before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}.p-status.p-crit{color:var(--crit);background:var(--crit-soft)}.p-status.p-warn{color:var(--warn);background:var(--warn-soft)}.p-status.p-ok{color:var(--ok);background:var(--ok-soft)}.p-status.p-none,.p-status.p-muted{color:var(--muted);background:var(--info-soft)}.p-dot{width:9px;height:9px;border-radius:50%;flex:none;display:inline-block}.p-dot.p-crit{background:var(--crit)}.p-dot.p-warn{background:var(--warn)}.p-dot.p-ok{background:var(--ok)}.p-dot.p-none{background:var(--muted)}.p-dot.p-muted{background:transparent;border:1.5px solid var(--line-strong)}.p-text-crit{color:var(--crit)}.p-text-warn{color:var(--warn)}.p-text-ok{color:var(--ok)}.p-text-none,.p-text-muted{color:var(--muted)}.p-dx-row{display:inline-flex;flex-wrap:wrap;gap:4px}.p-dx{font-size:12px;padding:1px 8px;border-radius:6px;background:var(--info-soft);color:var(--text);white-space:nowrap}.p-kv{display:grid;grid-template-columns:minmax(110px,max-content) 1fr;gap:6px 14px;margin:0;font-size:14px}.p-kv dt{color:var(--muted)}.p-kv dd{margin:0;min-width:0;overflow-wrap:anywhere}.p-people{list-style:none;margin:0;padding:0;display:grid;gap:10px}.p-people li{display:flex;gap:10px;align-items:center}.p-people small{font-size:12px}.p-ring{display:flex;gap:10px;align-items:center}.p-ring small{font-size:12px}.p-spark{width:100%;height:36px;display:block}.p-spark .l{fill:none;stroke:var(--accent);stroke-width:1.8;vector-effect:non-scaling-stroke}.p-spark .a{fill:var(--accent-soft)}.p-spark .n{fill:none;stroke:var(--line-strong);stroke-dasharray:3 3;vector-effect:non-scaling-stroke}.p-spark circle{fill:var(--accent)}.p-spark.p-crit .l{stroke:var(--crit)}.p-spark.p-crit .a{fill:var(--crit-soft)}.p-spark.p-crit circle{fill:var(--crit)}.p-spark.p-warn .l{stroke:var(--warn)}.p-spark.p-warn .a{fill:var(--warn-soft)}.p-spark.p-warn circle{fill:var(--warn)}.p-spark-empty{font-size:12px;display:block;height:36px;line-height:36px}.p-border-crit{border-left:4px solid var(--crit)!important}.p-border-warn{border-left:4px solid var(--warn)!important}.p-border-none{border-left:4px solid var(--muted)!important}.p-border-ok{border-left:4px solid var(--ok)!important}.people-page{display:grid;gap:14px;min-width:0}.people-head{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.people-head h1{margin:0;font-size:24px}.people-switch{display:inline-flex;border:1px solid var(--line);border-radius:10px;padding:3px;background:var(--surface);gap:2px}.people-switch button{border:0;background:none;font:inherit;font-size:14px;padding:6px 14px;border-radius:7px;color:var(--muted);cursor:pointer;display:inline-flex;gap:8px;align-items:center}.people-switch button.on{background:var(--accent-soft);color:var(--accent);font-weight:600}.people-switch button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.people-switch-badge{background:var(--crit);color:#fff;border-radius:999px;font-size:11px;font-weight:700;padding:1px 7px;font-variant-numeric:tabular-nums}.ws{display:grid;grid-template-columns:var(--ws-list-w, 360px) 12px minmax(0,1fr);gap:16px 4px;align-items:start}.ws.ws-wide{grid-template-columns:var(--ws-list-w, 400px) 12px minmax(0,1fr) 340px;column-gap:4px}.ws.ws-wide>.ws-side{margin-left:12px}.ws-splitter{align-self:stretch;min-height:360px;cursor:col-resize;position:relative;touch-action:none;border-radius:6px}.ws-splitter:after{content:"";position:absolute;top:0;bottom:0;left:5px;width:2px;border-radius:2px;background:var(--line);transition:background .15s}.ws-splitter:hover:after,.ws-splitter:focus-visible:after,body.ws-resizing .ws-splitter:after{background:var(--accent)}.ws-splitter:focus-visible{outline:none}body.ws-resizing{cursor:col-resize;-webkit-user-select:none;user-select:none}.ws-list{background:var(--surface);border:1px solid var(--line);border-radius:10px;display:flex;flex-direction:column;max-height:var(--p-pane-h);min-height:360px;overflow:hidden;position:sticky;top:calc(var(--topbar-h) + 12px)}.ws-list-head{padding:12px;display:grid;gap:8px;border-bottom:1px solid var(--line)}.ws-list-head input[type=search]{width:100%}.ws-chips{display:flex;flex-wrap:wrap;gap:6px}.ws-chips .chip{font-size:12.5px;padding:3px 10px}.ws-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ws-field{display:grid;gap:2px;min-width:0;font-size:12px;color:var(--muted)}.ws-field select{width:100%;min-width:0;color:var(--text)}.ws-count-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:20px}.ws-count{font-size:12.5px}.link-button{border:0;background:none;padding:0;font:inherit;font-size:13px;color:var(--accent);cursor:pointer}.link-button:hover{text-decoration:underline}.ws-more{position:relative}.ws-more summary{cursor:pointer;font-size:13px;color:var(--accent);white-space:nowrap}.ws-more-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:8px}.ws-more-body select{min-width:0;width:100%}.ws-rows{list-style:none;margin:0;padding:0;overflow-y:auto;flex:1}.ws-row{width:100%;display:flex;align-items:center;gap:10px;padding:10px 12px;border:0;border-bottom:1px solid var(--line);background:none;text-align:left;font:inherit;color:var(--text);cursor:pointer}.ws-row:hover{background:var(--surface-soft)}.ws-row.on{background:var(--accent-soft)}.ws-row:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.ws-row-main{flex:1;min-width:0;display:grid;gap:1px}.ws-row-name{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ws-row-name .muted{font-weight:400}.ws-row-sub{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted)}.ws-row-sub.p-text-crit{color:var(--crit)}.ws-row-sub.p-text-warn{color:var(--warn)}.ws-row-time{font-size:12px;white-space:nowrap}.ws-pager{padding:8px 12px;border-top:1px solid var(--line);margin:0}.ws-empty{padding:40px;text-align:center}.ws-card,.ws-side{display:grid;gap:14px;align-content:start;min-width:0}.ws-card .panel,.ws-side .panel,.card-page .panel{display:grid;gap:10px;align-content:start;margin:0;min-width:0}.ws-card-head{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px!important}.ws-card-title{display:grid;gap:4px;min-width:0}.ws-card-title h2{margin:0;font-size:21px}.ws-card-title p{margin:0}.ws-card-actions{display:grid;gap:6px;justify-items:stretch}.ws-card-actions .small-button{display:inline-flex;gap:6px;align-items:center;justify-content:center}.ws-two{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:14px}.ws-note{margin:0}.ws-actions{display:grid;gap:8px}.ws-actions>*{display:inline-flex;gap:6px;align-items:center;justify-content:center;text-decoration:none}.ws-now{list-style:none;margin:0;padding:0;display:grid;gap:0}.ws-now li{display:grid;grid-template-columns:minmax(120px,1fr) auto minmax(90px,auto);gap:12px;align-items:baseline;padding:7px 0;border-bottom:1px solid var(--line);font-size:14px}.ws-now li:last-child{border-bottom:0}.ws-now li>:last-child{text-align:right;font-size:12px}.ws-now strong{font-variant-numeric:tabular-nums}.ws-now strong small{font-weight:500;font-size:12px;color:var(--muted)}.att{display:grid;gap:12px;min-width:0}.att-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.att-count{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:10px 14px;display:grid;gap:4px;justify-items:start;text-decoration:none;color:var(--text)}.att-count strong{font-size:26px;font-variant-numeric:tabular-nums;line-height:1.1}.att-count:hover{border-color:var(--line-strong)}.att-table table{width:100%;border-collapse:collapse}.att-table th,.att-table td{text-align:left;padding:9px 10px;border-bottom:1px solid var(--line);vertical-align:middle;font-size:14px}.att-table thead th{font-size:11.5px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-weight:600}.att-group-row th{font-size:13px;font-weight:700;padding-top:16px;background:var(--surface-soft)}.att-toggle{margin-left:12px}.att-who{display:inline-flex;gap:10px;align-items:center;min-width:0}.att-who>span{display:grid;min-width:0}.att-who small{font-size:12px}.att-reasons{display:grid;gap:2px;font-size:13.5px}.att-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:start}.att-lane{background:var(--surface);border:1px solid var(--line);border-radius:10px;overflow:hidden;display:flex;flex-direction:column;max-height:calc(100vh - var(--topbar-h) - 250px);min-height:200px}.att-lane>header{display:flex;align-items:center;gap:8px;padding:12px 14px;border-bottom:1px solid var(--line);font-weight:600}.att-lane>header .muted{margin-left:auto;font-weight:500;font-variant-numeric:tabular-nums}.att-lane-body{padding:8px;display:grid;gap:8px;align-content:start;overflow-y:auto}.att-tile{border:1px solid var(--line);border-radius:9px;padding:10px 12px;display:grid;gap:6px;background:var(--surface);cursor:pointer}.att-tile:hover{background:var(--surface-soft)}.att-tile:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.att-tile-top{display:flex;gap:8px;align-items:center;justify-content:space-between}.att-tile-top small{white-space:nowrap;font-size:12px}.att-phone-group{display:grid;gap:8px}.att-phone-group h2{font-size:15px;margin:8px 0 0}.card-page{display:grid;gap:14px;min-width:0}.card-head{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px!important;padding:18px 20px}.card-title{display:grid;gap:5px;min-width:0}.card-title h1{margin:0;font-size:24px;text-wrap:balance}.card-title p{margin:0}.card-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.card-actions button{display:inline-flex;gap:6px;align-items:center}.card-tabs{margin:0}.card-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:14px;align-items:start}.card-cols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) minmax(0,1.15fr);gap:16px;align-items:start}.card-col{display:grid;gap:16px;align-content:start;min-width:0}.card-tech{display:grid;gap:10px}.card-tech details>:not(summary){margin-top:10px}.p-vitals{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:14px 18px}.p-vitals.p-vitals-spark{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:18px 22px}.p-vital{display:grid;gap:3px;align-content:start;min-width:0}.p-vital-k{font-size:12.5px;color:var(--muted)}.p-vital-v{font-size:22px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.15}.p-vital-v small{font-size:12px;font-weight:500;color:var(--muted)}.p-vital-crit .p-vital-v{color:var(--crit)}.p-vital-warn .p-vital-v{color:var(--warn)}.p-vital-w{font-size:12px}.p-vital-w b{font-weight:600}.p-vitals{overflow-x:clip;--p-vital-gap: 18px}.p-vitals.p-vitals-spark{--p-vital-gap: 22px}.p-vitals>.p-vital{position:relative}.p-vitals>.p-vital:before{content:"";position:absolute;grid-row:1 / 4;grid-column:1;top:2px;bottom:2px;left:calc(var(--p-vital-gap) / -2);width:1px;background:var(--line);pointer-events:none}.p-timeline{list-style:none;margin:0;padding:0;display:grid;gap:12px}.p-timeline li{display:grid;grid-template-columns:70px minmax(0,1fr);gap:10px;font-size:14px}.p-timeline time{color:var(--muted);font-variant-numeric:tabular-nums;font-size:13px}.p-timeline li>span{display:grid;gap:1px;min-width:0}.p-timeline small{font-size:12.5px;overflow-wrap:anywhere}.p-ev-crit strong{color:var(--crit)}.p-ev-warn strong{color:var(--warn)}.p-ev-muted strong{color:var(--muted);font-weight:500}@media (max-width: 1439px){.ws{grid-template-columns:var(--ws-list-w, 330px) 12px minmax(0,1fr)}.card-two{grid-template-columns:minmax(0,1fr)}}@media (max-width: 1179px){.ws-two{grid-template-columns:minmax(0,1fr)}.att-counts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 767px){.ws,.ws.ws-sized{grid-template-columns:minmax(0,1fr)}.ws-list{position:static;max-height:none;min-height:0;overflow:visible}.ws-rows{overflow:visible}.people-head h1{font-size:21px}.people-switch{width:100%}.people-switch button{flex:1;justify-content:center}.att-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.att-count .p-status{white-space:normal;max-width:100%}.card-head{grid-template-columns:auto minmax(0,1fr);padding:14px}.card-head .p-ava-l{width:48px;height:48px;font-size:17px}.card-title h1{font-size:20px}.card-actions{grid-column:1 / -1;justify-content:stretch}.card-actions button{flex:1;justify-content:center}.p-vitals{grid-template-columns:repeat(2,minmax(0,1fr))}.card-tabs{overflow-x:auto;flex-wrap:nowrap}.card-tabs .chip{white-space:nowrap}}.p-check{display:flex;gap:8px;align-items:center;font-weight:500}.mx{display:grid;gap:14px}.mx-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.mx-tools input[type=search]{flex:1 1 220px;min-width:0}.mx-seg{display:inline-flex;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--surface)}.mx-seg button{border:0;background:none;padding:7px 14px;font:inherit;font-size:14px;color:var(--muted);cursor:pointer}.mx-seg button+button{border-left:1px solid var(--line)}.mx-seg button.on{background:var(--accent-soft);color:var(--accent);font-weight:600}.mx-summary{margin:0;font-size:15px}.mx-day{display:grid;gap:8px}.mx-day-title{margin:6px 0 0;font-size:15px;text-transform:none}.mx-day-title:first-letter{text-transform:uppercase}.mx-list{list-style:none;margin:0;padding:0;background:var(--surface);border:1px solid var(--line);border-radius:10px;overflow:hidden}.mx-item+.mx-item{border-top:1px solid var(--line)}.mx-row{width:100%;display:grid;grid-template-columns:74px minmax(180px,1.1fr) minmax(220px,1.6fr) minmax(160px,1fr) 190px;gap:14px;align-items:center;padding:12px 16px;border:0;background:none;font:inherit;color:var(--text);text-align:left;cursor:pointer}.mx-row:hover,.mx-item.on .mx-row{background:var(--surface-soft)}.mx-row:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.mx-time{display:grid;gap:1px}.mx-time strong{font-size:16px;font-variant-numeric:tabular-nums}.mx-time small,.mx-who small,.mx-what small,.mx-state small{font-size:12.5px}.mx-who{display:flex;gap:10px;align-items:center;min-width:0}.mx-who>span{display:grid;min-width:0}.mx-who .p-name{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mx-what{display:grid;gap:2px;min-width:0}.mx-what>span{font-weight:600;font-size:15px;display:inline-flex;gap:6px;align-items:center}.mx-dx{min-width:0}.mx-state{display:grid;gap:4px;justify-items:start}.mx-details{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 24px;padding:4px 16px 16px 104px;background:var(--surface-soft)}.mx-details-actions{align-self:start}.mx-details-actions a{text-decoration:none;display:inline-flex}.mx-tech{grid-column:1 / -1;font-size:13px}.mx-tech summary{cursor:pointer;color:var(--muted)}@media (max-width: 1439px){.mx-row{grid-template-columns:64px minmax(170px,1fr) minmax(200px,1.5fr) 170px}.mx-dx{display:none}}@media (max-width: 767px){.mx-row{grid-template-columns:52px minmax(0,1fr);gap:6px 10px;padding:12px}.mx-what,.mx-state,.mx-dx{grid-column:2}.mx-dx{display:block}.mx-state{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.mx-details{grid-template-columns:minmax(0,1fr);padding:4px 12px 14px}.mx-seg{width:100%}.mx-seg button{flex:1}.mx-tools select{flex:1 1 140px}.people-switch button{padding-left:6px;padding-right:6px;font-size:13px}}.ws-card-actions-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.ws-card-actions-row .small-button{display:inline-flex;gap:5px;align-items:center;justify-content:center}.ws-actions .secondary-button{display:inline-flex;gap:6px;align-items:center;justify-content:center}.confirm-panel label.p-check{display:flex;flex-direction:row;align-items:center;gap:8px}.p-check input[type=checkbox]{width:18px;height:18px;min-height:0;flex:none;margin:0;padding:0}.ov-row{display:grid;gap:14px;align-items:start}.ov-row-4{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.ov-row-3{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.card-actions a.primary-button{display:inline-flex;gap:6px;align-items:center;text-decoration:none}.ov-more{position:relative}.ov-more>summary{list-style:none;display:inline-flex;gap:6px;align-items:center;cursor:pointer}.ov-more>summary::-webkit-details-marker{display:none}.ov-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:20;display:grid;gap:6px;padding:8px;min-width:200px;background:var(--surface);border:1px solid var(--line, #e3e6eb);border-radius:10px;box-shadow:0 8px 24px #0f172a24}.ov-menu button{justify-content:flex-start}.ov-sleep .p-vital-v{margin-bottom:2px}.ov-stages{display:grid;gap:3px;font-size:12px;color:var(--muted)}.ov-stage{display:grid;grid-template-columns:82px minmax(24px,1fr) auto;gap:6px;align-items:center}.ov-stage b{color:var(--text, inherit);font-weight:600;font-variant-numeric:tabular-nums}.ov-stage-bar{height:6px;border-radius:3px;background:var(--surface-alt);overflow:hidden}.ov-stage-bar>span{display:block;height:100%;border-radius:3px}.ov-tone-deep{background:#1d3a99}.ov-tone-light{background:#7f9ae6}.ov-tone-rem{background:#9b5de5}.ov-tone-awake{background:#e8962f}.p-vitals:has(.ov-sleep) .ov-sleep{grid-column:span 2;max-width:340px}.ov-plates{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px;padding-top:12px;border-top:1px solid var(--line, #eceef1)}.ov-plate{display:flex;gap:16px;align-items:center;border-radius:10px;padding:10px 14px;min-width:0}.ov-plate-main{display:grid;gap:2px;min-width:0}.ov-plate-motion{background:#2f8a5214;border:1px solid rgba(47,138,82,.28)}.ov-plate-quiet{background:#e8962f14;border:1px solid rgba(232,150,47,.3)}.ov-plate-quiet .ov-plate-main+.ov-plate-main{border-left:1px solid rgba(232,150,47,.3);padding-left:16px}.ov-sensor{position:relative;width:40px;height:40px;flex:none;display:grid;place-items:center}.ov-sensor b{width:13px;height:13px;border-radius:50%;background:#9ca3af;position:relative}.ov-sensor i{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;border:2px solid #2f8a52;opacity:0}.is-live .ov-sensor b{background:#2f8a52}.is-live .ov-sensor i{animation:ov-wave 2s ease-out infinite}.is-live .ov-sensor i+i{animation-delay:1s}.ov-motion-bars{margin-left:auto;display:flex;gap:2px;align-items:flex-end;height:34px;flex:none}.ov-motion-bars span{width:5px;border-radius:1px;background:#2f8a5240}.ov-motion-bars span.on{background:#2f8a52}.is-live .ov-motion-bars span:last-child.on{transform-origin:bottom;animation:ov-tick 1.2s ease-in-out infinite}@keyframes ov-wave{0%{transform:scale(.4);opacity:.8}to{transform:scale(1);opacity:0}}@keyframes ov-tick{0%,to{transform:scaleY(.45)}50%{transform:scaleY(1)}}@media (prefers-reduced-motion: reduce){.ov-sensor i,.ov-motion-bars span{animation:none!important}}.ov-steps{display:flex;gap:3px;align-items:flex-end;height:70px}.ov-steps span{flex:1;min-width:2px;border-radius:2px 2px 0 0;background:var(--accent)}.ov-axis{display:flex;justify-content:space-between;font-size:11px}.ov-map{display:block;width:100%;height:130px;border:1px solid var(--line, #e1dccd);border-radius:10px;background:var(--surface-alt);overflow:hidden}.ov-address{display:grid;gap:2px;font-size:13px}.ov-address strong{font-size:15px}.ov-actions{display:flex;flex-wrap:wrap;gap:6px}.ov-actions .small-button{display:inline-flex;gap:6px;align-items:center;text-decoration:none}.ov-row .p-kv{grid-template-columns:minmax(78px,max-content) 1fr;gap:6px 12px}.ov-battery{display:inline-flex;gap:8px;align-items:center}.ov-battery>span{width:46px;height:8px;border-radius:4px;background:var(--surface-alt);overflow:hidden}.ov-battery i{display:block;height:100%;background:#2f8a52}.ov-battery i.low{background:var(--crit, #c62828)}@media (max-width: 767px){.p-vitals:has(.ov-sleep) .ov-sleep{grid-column:1 / -1;max-width:none}.ov-plate-quiet{flex-wrap:wrap}.ov-plate-quiet .ov-plate-main+.ov-plate-main{border-left:0;padding-left:0}.ov-menu{right:auto;left:0}}
