﻿/* Central Control: Arabic command centre for product owners. */
@font-face{font-family:'Readex Pro';src:url('/fonts/readex-pro-arabic-400-normal.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'Readex Pro';src:url('/fonts/readex-pro-arabic-500-normal.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:'Readex Pro';src:url('/fonts/readex-pro-arabic-600-normal.woff2') format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:'Readex Pro';src:url('/fonts/readex-pro-arabic-700-normal.woff2') format('woff2');font-weight:700;font-display:swap}
:root {
  color-scheme:light; --canvas:#f4f6fa; --surface:#fff; --surface-soft:#f8fafc;
  --border:#dde4ed; --border-soft:#edf1f6; --border-strong:#c5cfdd;
  --text:#182d43; --muted:#64748b; --faint:#91a0b3;
  --primary:#137e86; --primary-hover:#0b626a; --primary-soft:#e7f4f4; --secondary:#365776;
  --online:#177a65; --online-soft:#e8f5ee; --amber:#a96d0d; --amber-soft:#fff4df;
  --red:#bf4145; --red-soft:#fff0f0; --sidebar:#fff; --sidebar-width:244px;
  --radius:16px; --radius-small:9px; --shadow:0 3px 15px rgb(24 45 67 / 3%);
  --shadow-dialog:0 24px 85px rgb(24 45 67 / 22%);
}
* { box-sizing:border-box; }
html { min-height:100%; scroll-behavior:smooth; }
body { margin:0; min-width:320px; background:var(--canvas); color:var(--text); font:14px/1.75 'Readex Pro','Segoe UI',Tahoma,sans-serif; -webkit-font-smoothing:antialiased; }
button,input,select,textarea { font:inherit; }
button,summary { -webkit-tap-highlight-color:transparent; }
button,a,input,select,textarea,summary { touch-action:manipulation; }
button { color:inherit; }
a { color:var(--primary); text-decoration:none; }
a:hover { color:var(--primary-hover); }
img { display:block; max-width:100%; }
svg { width:20px; height:20px; flex-shrink:0; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
h1,h2,h3,h4,p { margin-top:0; }
h1 { margin-bottom:8px; font-size:clamp(25px,2.2vw,31px); font-weight:600; line-height:1.6; letter-spacing:-.65px; }
h2 { margin-bottom:7px; font-size:17px; font-weight:600; line-height:1.7; }
h3 { margin-bottom:6px; font-size:15px; font-weight:600; }
p { margin-bottom:16px; }
strong { font-weight:600; }
hr { margin:22px 0; border:0; border-top:1px solid var(--border-soft); }
::selection { background:#d2e9ed; }
:focus-visible { outline:3px solid #68afb6; outline-offset:3px; }
[hidden] { display:none !important; }
.sr-only { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.muted,.subtle { color:var(--muted); }
.small { font-size:11px; }
.ltr,[dir='ltr'] { direction:ltr; unicode-bidi:isolate; }
.danger-text,.tone-danger { color:var(--red); }
.tone-good { color:var(--online); }
.tone-warning { color:var(--amber); }
.tone-neutral { color:var(--muted); }
.surface { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); }
.stat-inline { display:inline-flex; align-items:baseline; gap:7px; font-variant-numeric:tabular-nums; }
.skip-link { position:fixed; z-index:200; top:10px; inset-inline-start:12px; padding:10px 16px; background:#fff; border-radius:8px; box-shadow:var(--shadow-dialog); transform:translateY(-180%); }
.skip-link:focus { transform:translateY(0); }
/* White navigation and a lightweight topbar. */
.shell { min-height:100vh; }
.sidebar { position:fixed; z-index:40; inset-block:0; inset-inline-start:0; display:flex; flex-direction:column; width:var(--sidebar-width); padding:29px 17px 20px; overflow-y:auto; background:var(--sidebar); border-inline-end:1px solid var(--border); }
.brand { display:flex; align-items:center; gap:11px; padding:0 5px 35px; color:var(--text); }
.brand:hover { color:var(--text); }
.brand strong { display:block; font-size:12px; line-height:1.9; }
.brand small { display:block; margin-top:3px; color:var(--muted); font-size:8px; line-height:1.8; }
.brand-symbol { display:grid; flex:0 0 39px; width:39px; height:43px; place-items:center; color:#fff; background:var(--text); border:1px solid var(--text); border-radius:11px; }
.brand-symbol svg { width:24px; height:24px; }
.nav-caption { margin:0 13px 13px; color:var(--faint); font-size:9px; font-weight:500; }
.sidebar nav { display:flex; flex-direction:column; gap:5px; }
.nav-link { position:relative; display:flex; align-items:center; gap:12px; min-height:46px; padding:11px 13px; border:1px solid transparent; border-radius:9px; color:#66768b; font-size:11px; transition:background .15s,color .15s; }
.nav-link svg { width:18px; height:18px; }
.nav-link:hover { color:var(--text); background:#f4f7fb; }
.nav-link.active { background:#edf5f7; color:#126f78; font-weight:500; }
.nav-link.active::before { position:absolute; inset-inline-start:0; top:13px; bottom:13px; width:3px; border-radius:3px; background:var(--primary); content:''; }
.nav-count { display:grid; min-width:21px; height:21px; margin-inline-start:auto; padding-inline:4px; place-items:center; border-radius:6px; background:var(--amber-soft); color:var(--amber); font-size:9px; }
.sidebar-footer { display:flex; align-items:center; gap:9px; margin-top:auto; padding:22px 8px 0; border-top:1px solid var(--border-soft); font-size:10px; }
.sidebar-footer small { display:block; margin-top:3px; color:var(--faint); font-size:8px; }
.sidebar-footer p { margin:4px 0; }
.version { margin-inline-start:auto; color:var(--faint); font-size:10px; }
.main-shell { margin-inline-start:var(--sidebar-width); min-height:100vh; }
.topbar { position:sticky; z-index:25; top:0; display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:70px; padding:13px 32px; background:rgb(255 255 255 / 96%); border-bottom:1px solid var(--border); }
.topbar-title { display:flex; align-items:center; gap:12px; font-size:11px; }
.topbar-title > span:first-of-type { color:var(--muted); }
.topbar-separator { color:#bcc7d6; }
.topbar-actions { display:flex; align-items:center; gap:18px; }
.topbar .mobile-toggle { display:none; }
.owner-menu { position:relative; }
.owner-menu > summary,.owner-trigger { display:flex; align-items:center; gap:10px; min-height:38px; padding:2px 0; list-style:none; cursor:pointer; font-size:11px; }
.owner-menu > summary::-webkit-details-marker { display:none; }
.owner-menu > summary svg { width:15px; height:15px; color:var(--muted); }
.avatar,.owner-avatar { display:grid; flex-shrink:0; width:34px; height:34px; place-items:center; background:#edf3f9; border:1px solid #dce6f1; border-radius:50%; color:#365776; font-size:12px; }
.owner-menu small { display:block; color:var(--muted); font-size:9px; }
.owner-dropdown { position:absolute; top:calc(100% + 12px); inset-inline-end:0; z-index:50; width:218px; padding:7px; background:#fff; border:1px solid var(--border); border-radius:12px; box-shadow:0 10px 35px rgb(24 45 67 / 12%); }
.owner-dropdown a,.owner-dropdown button { display:flex; align-items:center; gap:8px; width:100%; padding:10px 12px; border:0; border-radius:7px; background:none; color:var(--text); text-align:start; cursor:pointer; font-size:11px; }
.owner-dropdown a:hover,.owner-dropdown button:hover { background:var(--surface-soft); }
.owner-dropdown hr { margin:4px 8px; }
.page-content { width:100%; max-width:1430px; margin:0 auto; padding:32px 32px 42px; }
.page-heading { display:flex; justify-content:space-between; align-items:center; gap:24px; margin-bottom:27px; }
.page-heading p { margin:0; color:var(--muted); font-size:12px; }
.eyebrow,.command-kicker { display:block; margin-bottom:7px; color:var(--primary); font-size:10px; font-weight:500; }
.page-actions { display:flex; align-items:center; flex-wrap:wrap; gap:10px; flex-shrink:0; }
.section-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:27px 0 14px; }
.section-heading h2 { margin:0; font-size:15px; }
.section-heading p { margin:4px 0 0; color:var(--muted); font-size:11px; }
.section-heading a { font-size:10px; font-weight:500; }
.footer-note,.application-footer { display:flex; justify-content:space-between; gap:20px; margin-top:30px; padding-top:18px; border-top:1px solid var(--border); color:var(--faint); font-size:9px; }
.main-shell > .footer-note { margin:0 32px 22px; }
.prototype-label { display:inline-flex; align-items:center; gap:6px; padding:3px 8px; border:1px solid #e1e8f0; border-radius:5px; background:#f8fafc; color:var(--muted); font-size:8px; white-space:nowrap; }
.snapshot-time { color:var(--muted); font-size:9px; }
/* The command board prioritises decisions before product activity. */
.command-heading { align-items:flex-start; margin-bottom:24px; }
.command-heading .page-actions { padding-top:12px; }
.command-heading .snapshot-time { max-width:185px; }
.command-summary { color:var(--muted); font-size:12px; }
.command-strip { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); overflow:hidden; background:#fff; border:1px solid var(--border); border-radius:13px; }
.command-stat { display:flex; flex-direction:column; align-items:flex-start; gap:3px; color:var(--text); min-height:93px; padding:18px 22px; border-inline-end:1px solid var(--border-soft); }
.command-stat:last-child { border-inline-end:0; }
.command-stat > svg { color:var(--primary); }
.command-stat strong { display:block; font-size:23px; font-variant-numeric:tabular-nums; line-height:1.5; }
.command-stat > span { display:block; color:var(--muted); font-size:10px; }
.command-stat strong small { display:inline; color:var(--muted); font-size:12px; font-weight:400; }
.command-stat p { display:flex; align-items:center; gap:5px; margin:0; color:var(--muted); font-size:9px; }
.command-stat p svg { width:13px; height:13px; }
.command-stat:nth-child(2) strong { color:var(--red); }
.priority-ribbon { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.priority-item { display:flex; flex-direction:column; align-items:flex-start; gap:5px; width:100%; text-align:start; cursor:pointer; min-width:0; padding:15px 16px; border:1px solid #eadfc9; border-radius:11px; background:#fffbf3; color:var(--text); }
.priority-item:hover { border-color:#d7bd8b; color:var(--text); }
.priority-item > svg { margin-top:3px; color:var(--amber); width:17px; height:17px; }
.priority-item strong { display:block; font-size:11px; line-height:1.9; }
.priority-item p,.priority-item small { display:block; margin:3px 0 0; color:var(--muted); font-size:9px; }
.priority-item .text-link { display:inline-flex; align-items:center; gap:5px; margin-top:8px; }
.priority-item .text-link svg { width:13px; height:13px; }
.priority-item.critical { border-color:#edcfd1; background:#fff6f6; }
.priority-item.critical > svg { color:var(--red); }
.product-pulses { display:grid; grid-auto-flow:dense; grid-template-columns:repeat(12,minmax(0,1fr)); gap:18px; align-items:stretch; }
.product-pulses > .loading-state { grid-column:1 / -1; }
.product-pulse { display:flex; flex-direction:column; min-width:0; overflow:hidden; background:#fff; border:1px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow); }
.pulse-docxkeeper { grid-column:span 7; }
.pulse-mangol { grid-column:span 5; }
.pulse-daftark { grid-column:span 12; }
.product-pulse:not(.pulse-docxkeeper):not(.pulse-mangol):not(.pulse-daftark) { grid-column:span 6; }
.pulse-header { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; padding:21px 23px 0; }
.pulse-brand { display:flex; align-items:center; gap:12px; min-width:0; }
.pulse-brand h2,.pulse-brand h3 { margin:0; font-size:17px; }
.pulse-subtitle { display:block; margin:3px 0 0; color:var(--muted); font-size:10px; }
.pulse-status { display:flex; align-items:center; gap:7px; font-size:9px; }
.pulse-body { flex:1; padding:21px 23px; }
.pulse-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.pulse-metric { min-width:0; padding:13px 12px; border:1px solid #e6ecf3; border-radius:10px; background:#f8fafc; }
.pulse-metric strong,.pulse-metric-value { display:block; font-size:25px; font-weight:600; letter-spacing:-.6px; font-variant-numeric:tabular-nums; line-height:1.55; }
.pulse-metric > span,.pulse-label { display:block; color:var(--muted); font-size:10px; line-height:1.8; }
.pulse-metric small { display:block; margin-top:5px; color:var(--muted); font-size:9px; }
.pulse-footer { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:9px; margin-top:auto; padding:14px 23px; border-top:1px solid var(--border-soft); font-size:10px; }
.pulse-footer a { display:inline-flex; align-items:center; gap:7px; font-weight:500; }
.pulse-footer svg { width:14px; height:14px; }
.pulse-attention { display:flex; border:0; cursor:pointer; text-align:start; align-items:center; gap:8px; margin:0 23px 18px; padding:10px 12px; border-radius:8px; background:var(--amber-soft); color:var(--amber); font-size:10px; }
.pulse-attention > svg { width:15px; height:15px; }
.pulse-attention.critical { background:var(--red-soft); color:var(--red); }
.pulse-hero { display:flex; margin:16px 0 20px; align-items:flex-end; justify-content:space-between; gap:16px; }
.pulse-hero strong { display:block; font-size:34px; line-height:1.35; font-variant-numeric:tabular-nums; letter-spacing:-1px; }
.pulse-hero > div { flex:1; min-width:0; font-size:11px; }
.pulse-hero small { display:block; color:var(--muted); font-size:10px; }
.pulse-trend { margin-top:15px; }
.trend-chart { direction:ltr; width:100%; min-width:0; overflow:hidden; }
.trend-chart svg { display:block; width:100%; height:160px; fill:none; stroke:none; overflow:visible; }
.trend-chart.mini svg { height:96px; }
.trend-chart .trend-line,.trend-chart .chart-line { fill:none; stroke:var(--primary); stroke-width:2.5; vector-effect:non-scaling-stroke; }
.trend-chart .trend-area,.trend-chart .chart-area { fill:rgb(19 126 134 / 8%); stroke:none; }
.trend-chart .grid-line,.trend-chart .chart-grid { stroke:#e5ebf2; stroke-width:1; }
.trend-chart .chart-point { fill:var(--primary); stroke:#fff; stroke-width:2; }
.trend-chart text { fill:var(--faint); stroke:none; font:10px 'Readex Pro',sans-serif; }
.trend-legend { display:flex; justify-content:space-between; gap:8px; margin-top:6px; color:var(--muted); font-size:8px; }
.segmented { display:inline-flex; gap:3px; padding:3px; border:1px solid var(--border); border-radius:8px; background:#f4f7fb; }
.segment { padding:4px 9px; border:0; border-radius:5px; background:transparent; color:var(--muted); font-size:9px; cursor:pointer; }
.segment.active { background:#fff; color:var(--text); box-shadow:0 1px 4px rgb(24 45 67 / 9%); }
.composition-bar { display:flex; direction:ltr; width:100%; height:9px; margin:18px 0 11px; overflow:hidden; border-radius:4px; background:#edf1f6; }
.composition-segment { min-width:2px; height:100%; padding:0; border:0; background:var(--primary); cursor:pointer; }
.composition-segment > span { display:none; }
.composition-segment.tone-good,.category-dot.tone-good { background:var(--online); }
.composition-segment.tone-warning,.category-dot.tone-warning { background:#dcaa55; }
.composition-segment.tone-danger,.category-dot.tone-danger { background:#c85d62; }
.composition-segment.tone-neutral,.category-dot.tone-neutral { background:#a9bdcc; }
.composition-segment.tone-unknown,.category-dot.tone-unknown { background:#d1dde9; }
.composition-legend { display:flex; flex-wrap:wrap; gap:8px 19px; color:var(--muted); font-size:9px; }
.composition-legend > span,.composition-legend > button { display:inline-flex; align-items:center; gap:6px; padding:0; border:0; background:none; color:inherit; font-size:inherit; }
.composition-legend > button { cursor:pointer; }
.category-dot { display:inline-block; flex-shrink:0; width:7px; height:7px; border-radius:2px; background:var(--primary); }
.daftark-body { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(0,1fr); gap:25px; align-items:center; }
.project-funnel { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:11px; }
.funnel-step { position:relative; text-align:start; cursor:pointer; min-width:0; padding:17px 18px; border:1px solid #e1e7ef; border-radius:10px; background:#f8fafc; }
.funnel-step:not(:last-child)::after { position:absolute; z-index:1; top:50%; inset-inline-end:-10px; color:#acb9ca; font-size:17px; content:'\2190'; transform:translateY(-50%); }
.funnel-step strong { display:block; font-size:25px; line-height:1.5; font-variant-numeric:tabular-nums; }
.funnel-step span,.funnel-step small { display:block; color:var(--muted); font-size:10px; }
.pulse-note { margin:13px 0 0; color:var(--muted); font-size:10px; }
.infrastructure-strip { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.host-compact { display:flex; align-items:center; gap:15px; min-width:0; padding:16px 18px; border:1px solid var(--border); border-radius:11px; background:#fff; }
.host-compact > div:first-child { display:flex; align-items:center; flex-wrap:wrap; gap:8px; font-size:11px; }
.host-compact h3 { margin:0; font-size:12px; }
.host-compact small { display:block; color:var(--muted); font-size:9px; }
.host-capacity { width:38%; min-width:100px; margin-inline-start:auto; }
.host-capacity > span,.host-capacity > small { display:block; margin-bottom:5px; color:var(--muted); font-size:9px; }
.resource-meter { height:5px; overflow:hidden; border-radius:5px; background:#e7edf5; }
.resource-meter > span,.resource-meter > i { display:block; height:100%; border-radius:inherit; background:#759aa9; }
.application-directory .product-pulse { box-shadow:none; }
/* Product pages make service, activity, lifecycle and management distinct. */
.product-overview,.module-overview,.module-content { min-width:0; }
.product-header { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; margin-bottom:20px; }
.product-heading { display:flex; align-items:center; gap:15px; }
.product-heading h1 { margin:0; font-size:27px; }
.product-heading .app-logo { width:52px; height:52px; flex-basis:52px; }
.product-scope,.module-breadcrumb { display:block; margin:4px 0 8px; color:var(--muted); font-size:11px; }
.product-header-actions,.section-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.product-nav { display:flex; align-items:center; gap:5px; overflow-x:auto; padding:6px; margin:0 0 23px; border:1px solid var(--border); border-radius:10px; background:#ecf1f7; }
.product-nav .tab { min-height:36px; padding:8px 14px; border-radius:7px; }
.product-nav .tab.active { background:#fff; color:var(--text); }
.product-nav .tab.active::after { display:none; }
.product-nav-link { flex-shrink:0; padding:8px 14px; border:0; border-radius:7px; background:transparent; color:var(--muted); font-size:10px; white-space:nowrap; cursor:pointer; }
.product-nav-link:hover { color:var(--primary); }
.product-nav-link.active { background:#fff; color:var(--text); box-shadow:0 2px 5px rgb(24 45 67 / 5%); font-weight:500; }
.product-sections { display:flex; flex-direction:column; gap:20px; }
.product-section { min-width:0; padding:23px; border:1px solid var(--border); border-radius:var(--radius); background:#fff; }
.section-header { display:flex; align-items:flex-start; justify-content:space-between; gap:15px; margin-bottom:20px; }
.section-header h4 { margin:0; font-size:12px; }
.section-header h2 { margin:0; font-size:16px; }
.section-header p { margin:4px 0 0; color:var(--muted); font-size:10px; }
.health-strip { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; }
.health-service { display:grid; grid-template-columns:6px minmax(0,1fr); align-items:center; gap:8px; min-width:0; padding:12px 13px; border:1px solid var(--border); border-radius:9px; background:#f9fafc; color:var(--muted); font-size:10px; text-align:start; }
button.health-service { cursor:pointer; }
.health-service strong { grid-column:2; font-size:10px; font-weight:500; }
.health-service.good { color:var(--online); background:#f3faf7; border-color:#dceee5; }
.health-service.warning { color:var(--amber); background:#fffbf4; border-color:#eee2cc; }
.health-service.danger { color:var(--red); background:#fff5f5; border-color:#efd9d9; }
.health-service span { min-width:0; }
.health-service small { display:block; font-size:8px; color:var(--muted); }
.focus-grid,.domain-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; align-items:start; }
.focus-panel { min-width:0; padding:23px; border:1px solid var(--border); border-radius:var(--radius); background:#fff; }
.focus-panel-wide { grid-column:1 / -1; }
.focus-grid > .panel,.domain-grid > .panel { margin:0; }
.module-overview > .focus-grid,.module-overview > .domain-grid { margin-block:20px; }
.metric-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.metric-cell { min-width:0; padding:17px; border:1px solid var(--border); border-radius:10px; background:#f8fafc; color:var(--text); text-align:start; }
button.metric-cell { cursor:pointer; }
button.metric-cell:hover { border-color:#b6c9d8; background:#f1f6fa; }
.kpi-value { display:block; font-size:28px; line-height:1.55; font-weight:600; font-variant-numeric:tabular-nums; }
.kpi-value.kpi-text { font-size:18px; line-height:1.8; }
.kpi-label { display:block; font-size:11px; color:var(--muted); }
.kpi-note { display:block; margin-top:5px; font-size:9px; color:var(--muted); }
.action-list { display:flex; flex-direction:column; }
.action-row { display:flex; align-items:center; gap:12px; width:100%; padding:15px 0; border:0; border-bottom:1px solid var(--border-soft); background:none; color:var(--text); text-align:start; }
button.action-row { cursor:pointer; }
button.action-row:hover .action-copy strong { color:var(--primary); }
.action-row:first-child { padding-top:0; }
.action-row:last-child { padding-bottom:0; border-bottom:0; }
.action-priority { display:inline-flex; justify-content:center; align-items:center; flex:0 0 auto; min-width:42px; padding:3px 7px; border-radius:5px; background:var(--amber-soft); color:var(--amber); font-size:9px; }
.action-priority.critical,.action-priority.danger { background:var(--red-soft); color:var(--red); }
.action-copy { flex:1; min-width:0; }
.action-copy strong { display:block; font-size:11px; }
.action-copy p,.action-copy small,.action-meta { display:block; margin:4px 0 0; color:var(--muted); font-size:9px; }
.action-link { display:inline-flex; align-items:center; gap:6px; flex-shrink:0; font-size:10px; font-weight:500; color:var(--primary); }
.activity-section,.lifecycle-section { min-width:0; }
.activity-header { display:flex; justify-content:space-between; align-items:center; gap:15px; margin-bottom:19px; }
.activity-main { display:flex; align-items:baseline; flex-wrap:wrap; gap:8px 13px; margin:18px 0 12px; }
.activity-main > strong { font-size:40px; line-height:1.4; font-variant-numeric:tabular-nums; }
.activity-main > span { color:var(--muted); font-size:12px; }
.activity-main > small { font-size:10px; }
.activity-facts > div { padding:13px; border:1px solid var(--border-soft); border-radius:8px; background:var(--surface-soft); }
.activity-facts strong { display:block; font-size:21px; }
.activity-facts span,.activity-facts small { display:block; color:var(--muted); font-size:10px; }
.activity-facts small { margin-top:4px; font-size:9px; }
.activity-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.lifecycle-layout { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); gap:25px; align-items:start; }
.lifecycle-row,.breakdown-row { display:flex; align-items:center; justify-content:space-between; gap:14px; width:100%; padding:11px 0; border:0; border-bottom:1px solid var(--border-soft); background:none; color:var(--text); font-size:11px; text-align:start; }
button.breakdown-row { cursor:pointer; }
button.breakdown-row:hover { color:var(--primary); }
.lifecycle-row:last-child,.breakdown-row:last-child { border-bottom:0; }
.breakdown-list { min-width:0; }
.breakdown-row > span { display:flex; align-items:center; gap:7px; color:var(--muted); }
.operational-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
button.operational-item { cursor:pointer; color:var(--text); text-align:start; }
.operational-grid { margin-top:14px; }
.operational-item,.unit-policy { padding:15px; border:1px solid var(--border); border-radius:10px; background:var(--surface-soft); }
.operational-item strong,.unit-policy strong { display:block; font-size:13px; }
.operational-item small,.unit-policy p { display:block; margin:6px 0 0; color:var(--muted); font-size:10px; }
.insight-note { margin:17px 0 0; padding:12px 15px; border-inline-start:3px solid #87b4bf; background:#f2f7fa; border-radius:7px; color:#5d748b; font-size:10px; }
.domain-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:18px; }
.domain-toolbar input[type='search'] { max-width:280px; }
.domain-table-region { margin-top:20px; min-width:0; }
.domain-toolbar .field { width:280px; max-width:100%; }
.domain-table { width:100%; border-collapse:collapse; text-align:start; font-size:11px; }
.domain-table th { padding:11px 15px; background:#f8fafc; color:var(--muted); border-bottom:1px solid var(--border); text-align:start; font-size:9px; font-weight:400; }
.domain-table td { padding:14px 15px; border-bottom:1px solid var(--border-soft); vertical-align:middle; }
.domain-table tr:last-child td { border-bottom:0; }
.domain-table td:first-child { min-width:125px; }
.domain-row { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:15px 0; border-bottom:1px solid var(--border-soft); font-size:11px; }
.domain-row strong { display:block; }
.domain-row small { display:block; margin-top:3px; color:var(--muted); font-size:9px; }
.detail-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-bottom:22px; }
.detail-intro { margin-bottom:20px; color:var(--muted); font-size:11px; }
.unit-settings-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.unit-meta { margin-top:23px; }
.module-footer { display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; margin-top:25px; padding-top:17px; border-top:1px solid var(--border); }
.mock-caption { margin:0; color:var(--muted); font-size:9px; }
.chart-detail { min-width:0; }
.chart-detail .trend-chart svg { height:210px; }
.chart-placeholder { display:grid; min-height:180px; place-items:center; border:1px dashed var(--border-strong); border-radius:10px; background:var(--surface-soft); color:var(--muted); font-size:11px; }
.direct-shell { min-height:100vh; background:var(--canvas); }
.direct-topbar { display:flex; justify-content:space-between; align-items:center; gap:18px; padding:18px max(24px,calc((100vw - 1180px) / 2)); background:#fff; border-bottom:1px solid var(--border); }
.direct-brand { display:flex; align-items:center; gap:12px; color:var(--text); }
.direct-brand strong { display:block; font-size:13px; }
.direct-brand small,.direct-context { display:block; color:var(--muted); font-size:9px; }
.direct-content { width:min(1230px,100%); margin:auto; padding:30px 25px 45px; }
.direct-nav { display:flex; align-items:center; gap:5px; overflow-x:auto; margin-bottom:24px; border-bottom:1px solid var(--border); }
.direct-return { display:inline-flex; align-items:center; gap:8px; font-size:10px; }
.unit-mode { display:inline-flex; padding:4px 9px; border:1px solid #dce6f1; border-radius:6px; background:#f3f7fb; color:#58718b; font-size:9px; }
/* Shared controls preserve the prototype's existing interaction contracts. */
.button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:40px; padding:8px 16px; border:1px solid var(--border); border-radius:8px; background:#fff; color:var(--text); font-size:11px; font-weight:500; line-height:1.8; white-space:nowrap; cursor:pointer; transition:background .15s,border-color .15s; }
.button svg { width:16px; height:16px; }
.button:hover { border-color:#acbece; background:#f8fafc; color:var(--text); }
.button.primary,.button.button-primary { border-color:var(--primary); background:var(--primary); color:#fff; }
.button.primary:hover,.button.button-primary:hover { border-color:var(--primary-hover); background:var(--primary-hover); }
.button.secondary,.button.button-secondary { background:#fff; }
.button.danger { border-color:#edc9cc; color:var(--red); }
.button.danger:hover { border-color:#dcafb3; background:var(--red-soft); }
.button.danger.solid { background:var(--red); border-color:var(--red); color:#fff; }
.button.ghost,.button.button-quiet { border-color:transparent; background:transparent; color:var(--primary); }
.button.ghost:hover,.button.button-quiet:hover { background:var(--primary-soft); }
.button.danger-text { color:var(--red); }
.button.small { min-height:32px; padding:5px 11px; font-size:10px; border-radius:7px; }
.button.full-width { width:100%; }
.button:disabled,.icon-button:disabled { opacity:.45; cursor:not-allowed; }
.icon-button { display:inline-grid; place-items:center; width:34px; height:34px; padding:7px; border:1px solid var(--border); border-radius:8px; background:#fff; color:var(--muted); cursor:pointer; }
.icon-button:hover { color:var(--primary); background:var(--surface-soft); }
.icon-button svg { width:17px; height:17px; }
.status-badge,.badge { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:25px; padding:3px 9px; border-radius:6px; background:#eef2f7; color:#677b91; font-size:9px; line-height:1.8; white-space:nowrap; }
.status-badge.online,.status-badge.success,.badge-success { background:var(--online-soft); color:var(--online); }
.status-badge.degraded,.status-badge.warning,.badge-warning { background:var(--amber-soft); color:var(--amber); }
.status-badge.offline,.status-badge.danger,.badge-danger { background:var(--red-soft); color:var(--red); }
.status-badge.neutral,.badge-neutral { background:#eef2f7; color:#677b91; }
.status-badge.info,.badge-blue { background:#eaf1fc; color:#4874a6; }
.status-dot { display:inline-block; flex-shrink:0; width:6px; height:6px; border-radius:50%; background:var(--online); }
.status-dot.degraded,.status-dot.warning { background:var(--amber); }
.status-dot.offline,.status-dot.danger { background:var(--red); }
.status-dot.neutral { background:var(--faint); }
.status-badge .status-dot { background:currentColor; width:5px; height:5px; }
.field { display:flex; flex-direction:column; gap:6px; min-width:0; font-size:11px; }
.field > label,.field > .field-label,.field > span:first-child { color:var(--text); font-size:11px; font-weight:500; }
.field > small,.field-hint,.setting-hint { color:var(--muted); font-size:9px; line-height:1.9; }
.field .error,.field-error { color:var(--red); font-size:10px; }
.field.full,.form-grid .span-two { grid-column:1 / -1; }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:17px 20px; }
.form-stack { display:flex; flex-direction:column; gap:18px; }
.form-actions { display:flex; align-items:center; justify-content:flex-end; gap:10px; margin-top:24px; padding-top:20px; border-top:1px solid var(--border-soft); }
input:not([type='checkbox']):not([type='radio']):not([type='range']):not([type='submit']),select,textarea { width:100%; min-height:42px; padding:9px 12px; border:1px solid #cbd5e1; border-radius:8px; background:#fff; color:var(--text); font-size:11px; line-height:1.8; }
input::placeholder,textarea::placeholder { color:var(--faint); }
input:not([type='checkbox']):not([type='radio']):focus,select:focus,textarea:focus { border-color:#63a3ae; outline:0; box-shadow:0 0 0 3px rgb(19 126 134 / 9%); }
input[aria-invalid='true'],select[aria-invalid='true'],textarea[aria-invalid='true'] { border-color:#ca7878; }
input:disabled,select:disabled,textarea:disabled { background:#f3f6fa; color:var(--muted); cursor:not-allowed; }
textarea { min-height:92px; resize:vertical; }
select { padding-inline-end:28px; cursor:pointer; }
input[type='file'] { padding:7px !important; }
input[type='file']::file-selector-button { padding:5px 9px; margin-inline-end:10px; border:0; border-radius:5px; background:var(--primary-soft); color:var(--primary); font:inherit; cursor:pointer; }
input[type='checkbox'],input[type='radio'] { flex-shrink:0; width:16px; height:16px; margin:0; accent-color:var(--primary); cursor:pointer; }
.checkbox-row,.checkbox-field,.form-checkbox,.form-checkbox label { display:flex; align-items:center; gap:9px; font-size:11px; cursor:pointer; }
.checkbox-row + .checkbox-row { margin-top:10px; }
.checkbox-group,.check-list { display:flex; flex-wrap:wrap; gap:14px 24px; padding:12px; border:1px solid var(--border); border-radius:8px; background:var(--surface-soft); }
.input-with-icon { position:relative; }
.input-with-icon input { padding-inline-start:35px !important; }
.input-with-icon > svg { position:absolute; inset-inline-start:12px; top:14px; width:15px; height:15px; color:var(--faint); pointer-events:none; }
.tabs { display:flex; gap:4px; overflow-x:auto; margin-bottom:20px; border-bottom:1px solid var(--border); }
.tab { position:relative; flex-shrink:0; min-height:44px; padding:10px 18px 13px; border:0; background:transparent; color:var(--muted); font-size:11px; cursor:pointer; white-space:nowrap; }
.tab:hover,.tab.active { color:var(--primary); }
.tab.active { font-weight:600; }
.tab.active::after { position:absolute; bottom:0; inset-inline:15px; height:2px; border-radius:2px; background:var(--primary); content:''; }
.tab .count { margin-inline-start:5px; padding:1px 5px; border-radius:4px; background:#e9eff7; font-size:8px; }
.filter-toolbar { display:flex; align-items:center; flex-wrap:wrap; gap:9px; margin-bottom:20px; }
.quick-filters,.filter-fields { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.filter-fields { margin-inline-start:auto; }
.filter-toolbar .search-field,.filter-toolbar input[type='search'] { width:235px; max-width:100%; margin-inline-start:auto; }
.filter-toolbar select { width:auto; min-width:128px; min-height:35px; padding-block:5px; font-size:10px; }
.compact-field { display:flex; align-items:center; gap:8px; color:var(--muted); font-size:10px; }
.filter-button { display:inline-flex; align-items:center; gap:6px; min-height:34px; padding:6px 12px; border:1px solid var(--border); border-radius:7px; background:#fff; color:var(--muted); font-size:10px; cursor:pointer; }
.filter-button:hover { border-color:#9eb9c1; color:var(--primary); }
.filter-button.active { border-color:#a8cbd0; background:var(--primary-soft); color:var(--primary); }
.filter-button svg { width:13px; height:13px; }
.panel { min-width:0; padding:22px; background:#fff; border:1px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow); }
.panel + .panel { margin-top:20px; }
.panel-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; margin-bottom:20px; }
.panel-heading h2,.panel-heading h3 { margin-bottom:3px; }
.panel-heading p { margin:0; color:var(--muted); font-size:11px; }
.grid-two,.grid-three { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.grid-three { grid-template-columns:repeat(3,minmax(0,1fr)); }
.grid-two > .panel,.grid-three > .panel { margin:0; }
.table-wrap { width:100%; overflow-x:auto; border:1px solid var(--border); border-radius:12px; background:#fff; }
.panel .table-wrap { border-color:var(--border-soft); border-radius:9px; }
.data-table { width:100%; border-collapse:collapse; text-align:start; font-size:11px; white-space:nowrap; }
.data-table th { height:43px; padding:11px 18px; background:#f8fafc; border-bottom:1px solid var(--border); color:var(--muted); font-size:9px; font-weight:400; text-align:start; }
.data-table td { height:66px; padding:14px 18px; border-bottom:1px solid var(--border-soft); vertical-align:middle; }
.data-table tr:last-child td { border-bottom:0; }
.data-table tbody tr:hover { background:#fafcff; }
.data-table tr[data-detail],.data-table tr[data-event],.data-table tr[data-audit],.clickable-row { cursor:pointer; }
.data-table td small,.cell-secondary { display:block; color:var(--muted); font-size:9px; line-height:1.9; }
.data-table td.wrap { min-width:190px; max-width:330px; white-space:normal; }
.data-table td:last-child,.data-table th:last-child { text-align:end; }
.row-button,.row-main { padding:0; border:0; background:none; color:var(--text); font-size:inherit; font-weight:500; text-align:start; cursor:pointer; }
.row-button:hover,.row-main:hover { color:var(--primary); }
.date-cell { color:var(--muted); font-size:10px; font-variant-numeric:tabular-nums; }
.table-person,.table-app { display:flex; align-items:center; gap:10px; }
.table-app .app-logo { flex-basis:28px; width:28px; height:28px; border-radius:7px; }
.table-app .app-logo img { width:21px; height:21px; }
.table-caption,.table-footer { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-top:13px; color:var(--muted); font-size:9px; }
.mini-stat { display:inline-flex; align-items:center; gap:5px; color:var(--muted); font-size:10px; }
.mini-stat strong { color:var(--text); }
.event-severity { display:inline-flex; align-items:center; gap:6px; font-size:10px; }
.event-severity::before,.action-dot,.event-marker { display:inline-block; flex-shrink:0; width:6px; height:6px; border-radius:50%; background:currentColor; content:''; }
.event-severity.critical,.event-marker.critical { color:var(--red); }
.event-severity.warning,.action-dot,.event-marker.warning { color:var(--amber); }
.action-dot { margin-inline-end:6px; }
.empty-state,.loading-state { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:240px; padding:42px 25px; text-align:center; color:var(--muted); font-size:11px; }
.empty-icon { display:grid; width:49px; height:49px; margin-bottom:16px; place-items:center; border-radius:14px; background:#edf3f9; color:#849bb3; font-size:28px; }
.empty-state > svg { width:36px; height:36px; margin-bottom:17px; color:var(--faint); }
.empty-state h3 { color:var(--text); font-size:14px; }
.empty-state p { max-width:330px; margin-bottom:16px; font-size:11px; }
.loading-state::before { width:26px; height:26px; margin-bottom:16px; border:2px solid #dfe9f0; border-top-color:var(--primary); border-radius:50%; animation:spin .85s linear infinite; content:''; }
.notice { display:flex; align-items:flex-start; gap:11px; margin-bottom:20px; padding:14px 17px; border:1px solid #cfe5e9; border-radius:10px; background:#f0f8fa; color:#416d7a; font-size:11px; }
.notice svg { width:18px; height:18px; margin-top:2px; }
.notice p { margin:0; }
.notice strong { display:block; margin-bottom:2px; }
.notice.warning { border-color:#ead9b6; background:#fff9ec; color:var(--amber); }
.notice.success { border-color:#c9e2d7; background:#f0f9f5; color:var(--online); }
.notice.danger { border-color:#edcbce; background:#fff3f3; color:var(--red); }
.notice .button { margin-inline-start:auto; flex-shrink:0; }
.notice.compact { padding:10px 13px; font-size:10px; }
.notice-info { border-color:#dce6ef; background:#f6f9fc; color:var(--muted); }
.central-notice { align-items:center; margin:15px 32px 0; }
.central-notice strong { margin:0; }
.inline-note,.detail-note { margin:18px 0 0; padding:12px 14px; border:1px solid var(--border-soft); border-radius:8px; background:var(--surface-soft); color:var(--muted); font-size:10px; }
.detail-note h3 { font-size:11px; }
.detail-note p { margin:0; }
.detail-list { margin:0; }
.detail-row,.detail-list > div { display:flex; align-items:flex-start; justify-content:space-between; gap:22px; padding:12px 0; border-bottom:1px solid var(--border-soft); font-size:11px; }
.detail-row:last-child,.detail-list > div:last-child { border-bottom:0; }
.detail-row dt,.detail-row > span:first-child,.detail-list dt { margin:0; color:var(--muted); flex-shrink:0; }
.detail-row dd,.detail-list dd { margin:0; text-align:end; overflow-wrap:anywhere; min-width:0; }
.detail-list dd small { display:block; margin-top:3px; color:var(--muted); font-size:9px; }
.detail-row > strong,.detail-row > span:last-child { text-align:end; }
.list-row { display:flex; align-items:center; gap:15px; padding:13px 0; border-bottom:1px solid var(--border-soft); font-size:11px; }
.list-row:last-child { border-bottom:0; }
.list-row > div { flex:1; }
.list-row strong,.list-row small { display:block; }
.list-row small { margin-top:4px; font-size:9px; }
.text-link { display:inline-flex; align-items:center; gap:5px; padding:0; border:0; background:none; color:var(--primary); font-size:10px; font-weight:500; cursor:pointer; }
.text-link svg { width:14px; height:14px; }
/* System views retain readable storage indicators, subordinate to products. */
.app-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.app-card { display:flex; flex-direction:column; min-width:0; padding:22px; border:1px solid var(--border); border-radius:var(--radius); background:#fff; }
.app-card-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.app-card-head > div,.app-identity { display:flex; align-items:center; gap:11px; }
.app-card-head > .app-logo { display:grid; gap:0; }
.app-card-head h3 { margin:0; }
.app-card-head small { display:block; color:var(--muted); font-size:9px; }
.app-logo { display:grid; flex:0 0 43px; width:43px; height:43px; overflow:hidden; place-items:center; border:1px solid #e2e8f0; border-radius:11px; background:#f6f9fc; color:var(--primary); font-size:19px; font-weight:600; }
.app-logo img { width:30px; height:30px; object-fit:contain; }
.app-logo svg { width:25px; height:25px; }
.app-logo.docxkeeper { background:#fff; }
.app-logo.daftark { background:#f5f3fa; color:#776599; }
.app-logo.mangol { background:#fff8ed; color:#b88228; }
.app-description { margin:15px 0; color:var(--muted); font-size:11px; line-height:1.95; }
.app-meta { display:flex; align-items:center; gap:7px; margin-bottom:16px; color:var(--muted); font-size:10px; }
.app-meta svg { width:14px; height:14px; }
.app-card-footer { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:auto; padding-top:16px; border-top:1px solid var(--border-soft); font-size:10px; }
.app-open { display:inline-flex; align-items:center; gap:6px; }
.app-open svg { width:14px; height:14px; }
.instance-card { padding:22px; border:1px solid var(--border); border-radius:var(--radius); background:#fff; }
.instance-top { display:flex; justify-content:space-between; gap:14px; margin-bottom:22px; }
.instance-identity { display:flex; align-items:center; gap:10px; }
.instance-icon { display:grid; flex:0 0 35px; width:35px; height:35px; place-items:center; border:1px solid #dfe7ef; border-radius:9px; background:#f2f6fa; color:#597a97; }
.instance-icon svg { width:18px; height:18px; }
.instance-identity h3 { margin:0 0 3px; }
.instance-label { color:var(--muted); font-size:9px; }
.instance-apps { margin:-8px 0 20px; color:var(--muted); font-size:10px; }
.storage-layout,.instance-content { display:flex; align-items:center; gap:25px; }
.donut { display:grid; flex:0 0 108px; width:108px; height:108px; place-content:center; text-align:center; border-radius:50%; background:radial-gradient(closest-side,#fff 75%,transparent 76%),conic-gradient(#759aa9 var(--percent,35%),#e7edf5 0); direction:ltr; }
.donut strong { display:block; font-size:25px; font-weight:600; line-height:1.4; font-variant-numeric:tabular-nums; }
.donut small,.donut span { display:block; color:var(--muted); font-size:9px; direction:rtl; }
.donut.warning { background:radial-gradient(closest-side,#fff 75%,transparent 76%),conic-gradient(#c59b53 var(--percent,78%),#eee9df 0); }
.storage-stats { flex:1; min-width:0; }
.storage-stats > div { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:8px 0; border-bottom:1px solid var(--border-soft); font-size:11px; }
.storage-stats > div:last-child { border-bottom:0; }
.storage-stats strong { font-size:12px; font-variant-numeric:tabular-nums; }
.legend { display:inline-block; width:7px; height:7px; margin-inline-end:7px; vertical-align:middle; border-radius:2px; background:#759aa9; }
.legend.free,.legend.available { background:#d9e3ef; }
.legend.total { background:#a5b5c7; }
.instance-footer { display:flex; justify-content:space-between; gap:16px; margin-top:20px; padding-top:13px; border-top:1px solid var(--border-soft); color:var(--muted); font-size:9px; }
.storage-inline { display:flex; justify-content:space-between; gap:14px; margin:15px 0 8px; font-size:10px; }
.storage-inline > span { color:var(--muted); }
.storage-bar,.progress-track { width:100%; height:5px; overflow:hidden; border-radius:5px; background:#e7edf5; }
.storage-bar > i,.progress-track > span { display:block; height:100%; border-radius:inherit; background:#759aa9; }
.system-card > .muted { font-size:11px; }
.system-card .app-card-footer { margin-top:18px; }
.metrics-row,.summary-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:0 0 23px; }
.metric-card { display:flex; align-items:center; gap:13px; padding:18px; border:1px solid var(--border); border-radius:12px; background:#fff; color:var(--text); }
.metric-card > div > span,.metric-card .muted { color:var(--muted); font-size:10px; }
.metric-number { display:block; font-size:27px; font-weight:600; line-height:1.5; }
.metric-icon { display:grid; flex:0 0 36px; width:36px; height:36px; place-items:center; border-radius:10px; background:#edf3f9; color:#5f829d; }
.metric-icon.critical { background:var(--red-soft); color:var(--red); }
.metric-icon.warning { background:var(--amber-soft); color:var(--amber); }
.metric-arrow { margin-inline-start:auto; color:var(--faint); }
.summary-item.panel { margin:0; }
.summary-item > small,.summary-item > span:first-child { display:block; color:var(--muted); font-size:10px; }
.summary-item > strong { display:block; font-size:24px; }
.summary-item p { margin:8px 0 0; color:var(--muted); font-size:11px; }
.summary-link { color:var(--text); }
.module-banner { display:flex; align-items:center; gap:16px; padding:22px; margin-bottom:20px; border:1px solid var(--border); border-radius:var(--radius); background:#fff; }
.module-banner h1 { margin:0; font-size:22px; }
.module-banner .app-identity small { display:block; color:var(--muted); font-size:10px; }
.module-banner > .button,.module-banner > .status-badge { margin-inline-start:auto; }
.module-nav { display:flex; gap:5px; overflow-x:auto; padding:6px; margin-bottom:24px; border:1px solid var(--border); border-radius:10px; background:#ecf1f7; }
.module-nav a,.module-nav button { padding:7px 14px; border:0; border-radius:7px; color:var(--muted); font-size:10px; white-space:nowrap; }
.module-nav .active { background:#fff; color:var(--primary); }
.module-nav .tab.active::after { display:none; }
/* Settings and the two-step private entry use the same ink identity. */
.settings-layout,.settings-grid { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr); align-items:start; gap:22px; }
.settings-section { padding:24px; border:1px solid var(--border); border-radius:var(--radius); background:#fff; }
.settings-section + .settings-section { margin-top:20px; }
.settings-section .field + .field { margin-top:17px; }
.settings-section .form-grid .field + .field { margin-top:0; }
.field-set { margin:0; padding:19px; border:1px solid var(--border); border-radius:10px; }
.field-set legend { padding:0 7px; font-size:11px; font-weight:500; }
.settings-fieldset { margin:0; padding:0; border:0; }
.settings-fieldset .settings-section { padding:0 0 22px; border:0; border-bottom:1px solid var(--border); border-radius:0; }
.settings-fieldset .settings-section + .settings-section { margin-top:22px; }
.settings-fieldset .settings-section:last-child { padding-bottom:0; border-bottom:0; }
.settings-fieldset .settings-section h3 { margin-bottom:16px; }
.settings-fieldset .settings-section > .field { max-width:320px; margin-top:16px; }
.settings-grid .form-actions { margin-top:0; }
.settings-grid .form-actions > .subtle,.setting-hint { font-size:9px; }
.setting-hint { margin:14px 0 0; }
.confirmation-levels,.confirmation-options { display:grid; gap:12px; }
.level-card,.confirmation-option { display:flex; align-items:flex-start; gap:12px; padding:14px 16px; border:1px solid var(--border); border-radius:10px; background:#fff; }
.confirmation-option { cursor:pointer; }
.confirmation-option input { margin-top:4px; }
.confirmation-option:has(input:checked) { border-color:#8fb9c1; background:#f3f9fa; }
.confirmation-option strong { display:block; font-size:11px; }
.confirmation-option small,.level-card p { display:block; margin:0; color:var(--muted); font-size:10px; }
.level-card h3 { font-size:11px; }
.settings-side { display:flex; flex-direction:column; gap:20px; }
.settings-side > .panel { margin:0; }
.settings-app-link,.app-settings-link,.linked-app-row { display:flex; align-items:center; justify-content:space-between; gap:11px; padding:14px 0; border-bottom:1px solid var(--border-soft); color:var(--text); font-size:11px; }
.settings-app-link:last-child,.app-settings-link:last-child,.linked-app-row:last-child { border-bottom:0; }
.app-settings-brand { display:flex; align-items:center; gap:10px; }
.app-settings-brand .app-logo { width:34px; height:34px; flex-basis:34px; border-radius:9px; }
.app-settings-brand img.app-logo { display:block; padding:6px; background:#fff; object-fit:contain; }
.app-settings-brand small { display:block; color:var(--muted); font-size:9px; }
.auth-shell { display:grid; grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr); min-height:100vh; }
.auth-layout { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:100vh; padding:40px; }
.auth-card { display:flex; flex-direction:column; width:min(440px,100%); min-width:0; padding:35px; border:1px solid var(--border); border-radius:18px; background:#fff; box-shadow:0 14px 48px rgb(24 45 67 / 5%); }
.auth-brand { display:flex; align-items:center; gap:12px; margin-bottom:40px; color:var(--text); }
.auth-brand strong { display:block; font-size:13px; }
.auth-brand small { display:block; color:var(--muted); font-size:9px; }
.auth-card h1,.auth-card h2 { margin-bottom:10px; font-size:24px; }
.auth-card > p { margin-bottom:28px; color:var(--muted); font-size:11px; }
.auth-card input:not([type='checkbox']) { min-height:46px; }
.auth-card .button.primary { min-height:44px; }
.auth-card .checkbox-row { font-size:10px; }
.auth-footer { margin:25px 0 0; color:var(--muted); font-size:10px; }
.auth-note { display:flex; align-items:flex-start; gap:9px; margin:20px 0 0; padding:12px 13px; border:1px solid var(--border-soft); border-radius:8px; background:#f7fafc; color:var(--muted); font-size:9px; line-height:2; }
.auth-note svg { width:15px; height:15px; margin-top:3px; color:#7495aa; }
.auth-note p { margin:0; }
.auth-step { display:flex; align-items:center; gap:8px; width:100%; margin-bottom:29px; }
.auth-step > span { display:grid; width:26px; height:26px; place-items:center; border-radius:50%; background:var(--primary-soft); color:var(--primary); font-size:11px; }
.auth-step > span.muted { background:#eff3f8; color:var(--faint); }
.auth-step > span.completed { background:var(--primary); color:#fff; }
.auth-step > i { width:22px; height:1px; background:var(--border-strong); }
.auth-step > small { margin-inline-start:3px; color:var(--muted); font-size:10px; }
.otp-input { direction:ltr; text-align:center; font-size:23px !important; letter-spacing:13px; font-variant-numeric:tabular-nums; padding-inline-start:22px !important; }
.recovery-input { direction:ltr; text-align:center; letter-spacing:3px; }
.auth-secondary { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:18px; font-size:10px; }
.auth-secondary button { border:0; background:none; color:var(--primary); cursor:pointer; }
.auth-aside { position:relative; display:flex; flex-direction:column; justify-content:space-between; min-height:100vh; overflow:hidden; padding:53px 65px 37px; background:#182d43; color:#fff; }
.auth-aside > :not(.auth-decoration) { position:relative; z-index:1; }
.auth-aside .auth-brand { color:#fff; }
.auth-aside .brand-symbol { background:#24435b; border-color:#3c6077; color:#9bd9de; }
.auth-intro { margin-block:auto; padding:48px 0 60px; }
.auth-intro h1 { margin-bottom:24px; color:#fff; font-size:clamp(36px,4vw,52px); font-weight:500; line-height:1.65; }
.auth-aside .eyebrow { color:#91ced5; font-size:10px; }
.auth-aside p { max-width:345px; color:#abc0d4; font-size:12px; line-height:2.1; }
.auth-aside .auth-footer { display:flex; align-items:center; gap:9px; margin:0; color:#91aac2; font-size:9px; }
.auth-decoration { position:absolute; width:440px; height:440px; inset-inline-end:-245px; bottom:-220px; border:1px solid #35536c; border-radius:50%; box-shadow:0 0 0 60px rgb(93 129 157 / 5%),0 0 0 120px rgb(93 129 157 / 3%); }
.auth-apps { display:flex; flex-wrap:wrap; gap:9px; }
.auth-apps > span,.auth-apps > div { display:flex; align-items:center; gap:7px; padding:7px 10px; border:1px solid #35536c; border-radius:7px; color:#d4e2ef; font-size:9px; background:#203a52; }
.auth-apps img { width:17px; height:17px; object-fit:contain; }
.password-field { position:relative; }
.password-field input { padding-inline-end:61px !important; }
.password-toggle { position:absolute; inset-inline-end:9px; top:10px; padding:3px 5px; border:0; border-radius:4px; background:transparent; color:var(--muted); font-size:9px; cursor:pointer; }
.password-toggle:hover { color:var(--primary); background:var(--primary-soft); }
.form-error { margin:0; padding:10px 12px; border:1px solid #f0cbcf; border-radius:7px; color:var(--red); background:#fff5f5; font-size:10px; }
.auth-back { display:block; margin:15px 0 24px; font-size:11px; }
.verify-shell { display:grid; grid-template-columns:1fr; place-items:center; padding:36px; background:#182d43; }
.verify-shell .auth-layout { width:min(475px,100%); min-height:auto; padding:31px 34px; border:1px solid var(--border); border-radius:18px; background:#fff; box-shadow:var(--shadow-dialog); }
.verify-shell .auth-brand { align-self:flex-start; margin-bottom:30px; }
.verify-shell .auth-card { width:100%; padding:0; border:0; border-radius:0; box-shadow:none; }
.verify-icon { display:grid; width:46px; height:46px; margin-bottom:18px; place-items:center; border:1px solid #cde4e7; border-radius:13px; background:var(--primary-soft); color:var(--primary); }
.verify-icon svg { width:25px; height:25px; }
.recovery-link { align-self:flex-start; padding-inline:0; margin-top:10px; }
/* Native dialogs retain focus trapping, Escape and hidden closed state. */
dialog.ui-dialog { width:min(560px,calc(100% - 36px)); max-height:calc(100dvh - 64px); padding:0; overflow:auto; border:1px solid var(--border); border-radius:16px; background:#fff; color:var(--text); box-shadow:var(--shadow-dialog); }
dialog.ui-dialog:not([open]) { display:none; }
dialog.ui-dialog::backdrop { background:rgb(18 37 55 / 40%); backdrop-filter:blur(3px); }
dialog.ui-dialog[open] { animation:dialog-in .18s ease-out; }
dialog.ui-dialog.modal { margin:auto; }
dialog.ui-dialog.drawer { position:fixed; top:0; bottom:0; left:0; right:auto; width:min(510px,100%); max-width:100%; height:100dvh; max-height:100dvh; margin:0; border-block:0; border-inline-end:0; border-radius:0; }
dialog.ui-dialog.drawer[open] { animation:drawer-in .2s ease-out; }
.dialog-backdrop { position:fixed; z-index:90; inset:0; display:flex; align-items:center; justify-content:center; padding:25px; background:rgb(18 37 55 / 40%); backdrop-filter:blur(3px); }
.dialog-panel { width:560px; max-width:100%; max-height:calc(100dvh - 50px); overflow-y:auto; border:1px solid var(--border); border-radius:16px; background:#fff; box-shadow:var(--shadow-dialog); }
dialog.ui-dialog > .dialog-panel { width:100%; max-height:none; border:0; border-radius:0; box-shadow:none; overflow:visible; }
.dialog-header { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; padding:22px 25px; border-bottom:1px solid var(--border-soft); }
.dialog-header h2 { margin:0; font-size:16px; }
.dialog-header p { margin:4px 0 0; color:var(--muted); font-size:10px; }
.dialog-header .icon-button { width:29px; height:29px; padding:5px; border-color:transparent; background:#f4f7fb; }
.dialog-body { padding:25px; }
.dialog-body > p { color:var(--muted); font-size:11px; }
.dialog-body > p:last-child,.dialog-body .notice:last-child { margin-bottom:0; }
.dialog-body .detail-list + .notice { margin-top:20px; }
.dialog-footer { display:flex; align-items:center; justify-content:flex-end; gap:10px; padding:17px 25px; border-top:1px solid var(--border-soft); background:#fbfcfe; }
.dialog-footer .muted { margin-inline-end:auto; font-size:9px; }
.drawer-panel { position:fixed; z-index:100; top:0; bottom:0; inset-inline-end:0; width:min(510px,100%); max-height:100dvh; overflow-y:auto; border:0; border-inline-start:1px solid var(--border); border-radius:0; background:#fff; box-shadow:var(--shadow-dialog); }
.dialog-badges { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:18px; }
.event-description { margin:18px 0; padding:16px; border-radius:9px; background:var(--surface-soft); color:var(--text); font-size:11px; }
.timeline { margin:23px 0 0; padding:0; list-style:none; }
.timeline li { position:relative; padding:0 20px 22px 0; border-inline-start:1px solid #d8e3ed; font-size:11px; }
.timeline li::before { position:absolute; top:7px; inset-inline-start:-4px; width:7px; height:7px; border-radius:50%; background:#7c9aaf; content:''; }
.timeline li:last-child { padding-bottom:0; border-color:transparent; }
.timeline small { display:block; color:var(--muted); font-size:9px; }
.toast { position:fixed; z-index:150; bottom:24px; inset-inline-end:24px; display:flex; align-items:center; gap:11px; max-width:min(420px,calc(100vw - 40px)); padding:13px 18px; border:1px solid #c1dcd0; border-radius:11px; background:#f4fbf7; box-shadow:0 7px 28px rgb(24 45 67 / 12%); color:var(--online); font-size:11px; animation:dialog-in .2s ease-out; }
.toast svg { width:18px; height:18px; }
.toast.danger { border-color:#e6bbbf; background:#fff5f5; color:var(--red); }
.toast .icon-button { border:0; background:transparent; }
.emergency-shell { min-height:100vh; padding:42px 24px; }
.emergency-header { display:flex; align-items:center; justify-content:space-between; gap:20px; max-width:830px; margin:0 auto 24px; }
.emergency-header .auth-brand { margin:0; }
.emergency-card { width:min(830px,100%); margin:0 auto; padding:35px; border:1px solid var(--border); border-radius:18px; background:#fff; box-shadow:var(--shadow); }
.emergency-card h1 { font-size:28px; }
.emergency-card > p { color:var(--muted); font-size:12px; }
.emergency-card .app-grid { margin:25px 0; gap:14px; }
.emergency-card .app-card { padding:18px; }
.emergency-card .button { width:100%; }
.emergency-shell > .footer-note { display:block; max-width:830px; margin:21px auto 0; padding:0; border:0; text-align:center; }
.connection-state { display:flex; align-items:center; gap:12px; margin:22px 0; padding:15px 17px; border:1px solid #e9ccce; border-radius:10px; background:#fff6f6; color:var(--red); font-size:11px; }
.connection-state.online { border-color:#cee5dc; background:#f0f9f5; color:var(--online); }
.connection-state strong,.connection-state small { display:block; }
.connection-state small { font-size:9px; }
.connection-state .button { width:auto; margin-inline-start:auto; }
.connection-links { display:grid; grid-template-columns:1fr; gap:10px; margin:24px 0; }
.connection-link { display:flex; align-items:center; gap:13px; padding:17px; border:1px solid var(--border); border-radius:11px; background:#fff; color:var(--text); }
.connection-link:hover { border-color:#9eb7c7; background:#f7fafc; color:var(--text); }
.connection-link strong { font-size:13px; }
.connection-link small { display:block; margin-top:5px; color:var(--muted); font-size:10px; }
.connection-link > svg { width:16px; height:16px; margin-inline-start:auto; color:#8095a9; }
.dev-panel { margin-top:24px; border:1px dashed #cbd7e3; border-radius:9px; background:#f0f4f9; color:var(--muted); font-size:9px; }
.dev-panel > summary { padding:9px 13px; cursor:pointer; }
.dev-panel > div { display:flex; align-items:center; flex-wrap:wrap; gap:10px; padding:5px 13px 13px; }
.dev-panel select { width:auto; min-height:30px; padding:3px 28px 3px 8px; font-size:9px; }
.dev-panel .button { min-height:29px; padding:3px 9px; font-size:9px; }
.dev-panel:has(> button) { display:flex; flex-wrap:wrap; gap:4px; padding:6px; }
@keyframes spin { to { transform:rotate(360deg); } }
@keyframes dialog-in { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
@keyframes drawer-in { from { opacity:.6; transform:translateX(-20px); } to { opacity:1; transform:translateX(0); } }
@media (min-width:1600px) {
  .page-content { padding-top:38px; }
  .topbar { padding-inline:max(32px,calc((100vw - var(--sidebar-width) - 1366px) / 2)); }
}
@media (max-width:1200px) {
  .page-content,.topbar { padding-inline:25px; }
  .pulse-header,.pulse-body { padding-inline:19px; }
  .pulse-metrics { gap:8px; }
  .pulse-metric { padding:12px 9px; }
  .pulse-metric strong,.pulse-metric-value { font-size:23px; }
  .health-strip { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .priority-item { padding:13px; }
  .auth-aside { padding-inline:45px; }
}
@media (max-width:1024px) {
  :root { --sidebar-width:218px; }
  .sidebar { padding-inline:13px; }
  .brand { gap:9px; }
  .brand strong { font-size:10px; }
  .nav-link { gap:10px; padding-inline:11px; font-size:10px; }
  .page-content { padding:26px 22px 35px; }
  .topbar { padding-inline:22px; }
  .command-heading { flex-wrap:wrap; gap:8px; }
  .command-heading .page-actions { padding-top:0; }
  .command-heading .snapshot-time { max-width:none; }
  .command-stat { padding:15px 14px; }
  .priority-ribbon { grid-template-columns:1fr; gap:9px; }
  .pulse-docxkeeper,.pulse-mangol { grid-column:span 12; }
  .daftark-body,.settings-layout,.settings-grid,.focus-grid,.domain-grid { grid-template-columns:minmax(0,1fr); }
  .grid-three,.app-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .activity-main,.lifecycle-layout { grid-template-columns:minmax(0,1fr); }
  .host-compact { flex-wrap:wrap; }
  .host-capacity { width:100%; margin-inline-start:50px; }
}
@media (max-width:768px) {
  .sidebar { width:244px; transform:translateX(100%); transition:transform .2s; box-shadow:-15px 0 40px rgb(24 45 67 / 12%); }
  .sidebar.open,.sidebar.is-open,.shell.nav-open .sidebar,body.nav-open .sidebar,body.sidebar-open .sidebar { transform:translateX(0); }
  .sidebar-overlay { position:fixed; z-index:35; inset:0; background:rgb(24 45 67 / 35%); }
  .main-shell { margin-inline-start:0; }
  .topbar .mobile-toggle { display:inline-grid; }
  .topbar { min-height:65px; padding:12px 20px; gap:12px; }
  .topbar-actions { gap:10px; }
  .topbar-actions > .prototype-label { display:none; }
  .page-content { padding:25px 20px 35px; }
  .page-heading { flex-wrap:wrap; gap:15px; margin-bottom:22px; }
  .page-heading h1 { font-size:27px; }
  .command-strip { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .command-stat { min-height:84px; padding:16px 20px; }
  .command-stat:nth-child(2) { border-inline-end:0; }
  .command-stat:nth-child(3) { grid-column:1 / -1; }
  .command-stat:nth-child(-n+2) { border-bottom:1px solid var(--border-soft); }
  .project-funnel { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .funnel-step::after { display:none; }
  .pulse-header { flex-wrap:wrap; }
  .product-header { flex-wrap:wrap; gap:14px; }
  .product-heading h1 { font-size:25px; }
  .health-strip,.unit-settings-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .infrastructure-strip { grid-template-columns:1fr; }
  .host-compact { flex-wrap:nowrap; }
  .host-capacity { width:38%; margin-inline-start:auto; }
  .filter-fields { width:100%; margin-inline-start:0; }
  .filter-toolbar .search-field,.filter-toolbar input[type='search'] { width:100%; order:5; margin-inline-start:0; }
  .filter-toolbar select,.compact-field { flex:1; }
  .footer-note,.application-footer { flex-wrap:wrap; gap:5px; }
  .main-shell > .footer-note { margin-inline:20px; }
  .auth-shell { display:flex; flex-direction:column; }
  .auth-layout { min-height:auto; padding:30px 24px 36px; }
  .auth-aside { min-height:auto; padding:24px 30px; }
  .auth-aside .auth-brand { margin:0; }
  .auth-aside .auth-intro,.auth-aside .auth-footer { display:none; }
  .verify-shell { display:grid; min-height:100vh; padding:24px; }
  .direct-topbar { flex-wrap:wrap; padding:16px 22px; }
  .direct-content { padding:25px 20px; }
  .emergency-shell { padding-top:28px; }
  .emergency-card { padding:27px; }
  .emergency-card .app-grid { grid-template-columns:1fr; }
  .notice { flex-wrap:wrap; }
  .notice .button { margin-inline-start:0; }
}
@media (max-width:480px) {
  .topbar { padding-inline:15px; }
  .topbar-title { gap:7px; font-size:10px; }
  .topbar-title > span:first-of-type,.topbar-separator { display:none; }
  .owner-menu > summary > span:not(.avatar):not(.owner-avatar) { display:none; }
  .page-content { padding:23px 15px 30px; }
  .page-heading h1 { font-size:24px; }
  .page-heading p { font-size:11px; }
  .page-actions { width:100%; }
  .command-heading .page-actions { justify-content:space-between; }
  .command-strip { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .command-stat { padding:13px 10px; min-height:105px; }
  .command-stat:nth-child(-n+2) { border-bottom:0; }
  .command-stat:nth-child(2) { border-inline-end:1px solid var(--border-soft); }
  .command-stat:last-child { grid-column:auto; border-inline-end:0; }
  .command-stat p { font-size:8px; }
  .command-stat span,.command-stat small { font-size:9px; }
  .priority-ribbon { gap:8px; }
  .priority-item { padding:12px 14px; }
  .priority-item > .small:not(.muted),.priority-item > .text-link { display:none; }
  .section-heading { margin-top:23px; gap:9px; }
  .section-heading h2 { font-size:14px; }
  .section-heading a { font-size:9px; }
  .product-pulses { gap:15px; }
  .product-pulses > .product-pulse { grid-column:1 / -1; }
  .pulse-header { padding:18px 18px 0; gap:10px; }
  .pulse-brand { gap:10px; }
  .pulse-brand h2,.pulse-brand h3 { font-size:16px; }
  .pulse-body { padding:18px; }
  .pulse-metrics { gap:7px; }
  .pulse-metric { padding:11px 8px; }
  .pulse-metric strong,.pulse-metric-value { font-size:22px; }
  .pulse-metric > span,.pulse-label { font-size:9px; }
  .pulse-metric small { font-size:8px; }
  .pulse-footer { padding:13px 18px; }
  .pulse-attention { margin-inline:18px; }
  .pulse-attention { align-items:flex-start; font-size:9px; }
  .funnel-step { padding:13px; }
  .funnel-step strong { font-size:23px; }
  .host-compact { flex-wrap:wrap; padding:15px; }
  .host-capacity { width:100%; margin-inline-start:50px; }
  .product-heading { gap:12px; }
  .product-heading h1 { font-size:23px; }
  .product-scope { font-size:10px; }
  .product-header-actions { width:100%; }
  .product-header-actions .button { flex:1; }
  .product-nav .tab { min-height:36px; padding:8px 14px; border-radius:7px; }
.product-nav .tab.active { background:#fff; color:var(--text); }
.product-nav .tab.active::after { display:none; }
.product-nav-link { padding-inline:11px; }
  .product-section,.focus-panel { padding:18px; }
  .section-header { flex-wrap:wrap; gap:9px; margin-bottom:17px; }
  .section-header h4 { margin:0; font-size:12px; }
.section-header h2 { font-size:15px; }
  .metric-grid,.detail-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .metric-cell { padding:13px; }
  .kpi-value { font-size:25px; }
  .operational-grid,.unit-settings-grid,.grid-two,.grid-three,.app-grid { grid-template-columns:minmax(0,1fr); }
  .health-service { padding:10px; font-size:9px; }
  .action-row { align-items:flex-start; gap:9px; }
  .action-priority { margin-top:8px; }
  .action-link { font-size:9px; }
  .activity-header,.domain-toolbar { flex-wrap:wrap; }
  .domain-toolbar input[type='search'] { max-width:none; }
  .domain-toolbar .field { width:100%; }
  .panel,.settings-section { padding:20px; }
  .panel-heading { flex-wrap:wrap; gap:12px; }
  .form-grid { grid-template-columns:1fr; gap:16px; }
  .form-grid .span-two,.field.full { grid-column:auto; }
  .form-actions { flex-wrap:wrap; }
  .form-actions .button { flex:1; }
  .filter-button { padding-inline:10px; font-size:9px; }
  .compact-field { min-width:120px; }
  .tab { padding-inline:13px; font-size:10px; }
  .detail-row,.detail-list > div { gap:15px; font-size:10px; }
  .detail-row dt,.detail-list dt { max-width:45%; flex-shrink:1; }
  .metrics-row { gap:8px; }
  .metric-card { display:block; padding:12px; }
  .metric-icon { display:none; }
  .summary-grid { grid-template-columns:1fr; }
  .auth-layout { padding:24px 15px; }
  .auth-card { padding:30px 25px; }
  .auth-aside { padding:22px 25px; }
  .verify-shell { padding:15px; }
  .verify-shell .auth-layout { padding:27px 24px; }
  .otp-input { letter-spacing:10px; }
  .dialog-header { padding:19px 20px; }
  .dialog-body { padding:20px; }
  .dialog-footer { padding:16px 20px; flex-wrap:wrap; }
  .dialog-footer .button { flex:1; }
  .dialog-footer .muted { flex-basis:100%; }
  dialog.ui-dialog { width:calc(100% - 24px); max-height:calc(100dvh - 30px); }
  .toast { bottom:15px; inset-inline:15px; max-width:none; font-size:10px; }
  .emergency-shell { padding:20px 15px; }
  .emergency-header { flex-wrap:wrap; }
  .emergency-card { padding:24px 20px; }
  .emergency-card h1 { font-size:25px; }
  .connection-state { flex-wrap:wrap; }
  .connection-state .button { width:100%; margin-inline-start:0; }
  .direct-topbar { padding:15px; }
  .direct-content { padding:23px 15px; }
  .direct-nav { flex-wrap:nowrap; }
  .main-shell > .footer-note { margin-inline:15px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}
@media print {
  .sidebar,.topbar,.page-actions,.dev-panel,.toast,.mobile-toggle,.owner-menu { display:none !important; }
  .main-shell { margin:0; }
  .page-content { max-width:none; padding:0; }
  body { background:#fff; }
  .panel,.product-pulse,.product-section { box-shadow:none; break-inside:avoid; }
}

