/* Final surface corrections: rounded selection with no detached accent stripe. */
.room-row.selected {
  box-shadow:
    inset 0 0 0 1px rgba(126, 201, 239, .18),
    0 10px 24px rgba(2, 9, 14, .12);
}

/* Keep the public surface on the same readable 12px floor as the desktop and operator UI. */
.window-state,
.product-heading small,
.room-row small,
.room-row em,
.product-body > article small,
.product-body > article p,
.plan header small,
.plan-metric small,
.policy-note,
.status-card small,
.download-card small,
.status-card p,
.download-card p,
.support-grid small,
footer p,
footer small,
.legal-status,
.legal-meta { font-size: 12px; }

.legal-shell { width: min(900px, calc(100% - 36px)); margin: 80px auto; }
.ui-film { margin: 34px 0 0; overflow: hidden; border-radius: var(--r); }
.ui-film video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #dae6ee; }
.ui-film figcaption { padding: 12px 18px; color: var(--text2); font-size: 12px; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; color: var(--text2); }
.legal-hero { padding: 64px 0 34px; }
.legal-hero h1 { max-width: 760px; font-size: clamp(44px, 7vw, 78px); }
.legal-hero p { max-width: 690px; color: var(--text2); font-size: 16px; }
.legal-card { margin: 14px 0; padding: 30px; border-radius: var(--r); }
.legal-card h2 { margin: 0 0 16px; font-size: 21px; }
.legal-card h3 { margin: 26px 0 8px; font-size: 15px; }
.legal-card p, .legal-card li { color: var(--text2); font-size: 13px; }
.legal-card ul { display: grid; gap: 8px; padding-left: 20px; }
.legal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.legal-callout { border-color: rgba(231, 184, 94, .25); background: linear-gradient(145deg, rgba(171, 119, 43, .11), rgba(255,255,255,.02)), var(--glass); }
.legal-status { display: inline-flex; padding: 5px 10px; border-radius: 999px; background: rgba(231,184,94,.12); color: #eac77f; font-size: 12px; }
.legal-meta { margin-top: 32px; color: var(--muted); font-size: 12px; }
@media(max-width:720px){.legal-shell{margin-top:42px}.legal-grid{grid-template-columns:1fr}.legal-card{padding:22px}.legal-hero{padding-top:48px}}
@media(prefers-color-scheme:light){
  body:not([data-theme]){
    color-scheme:light;
    --bg:#dfeef6;--bg2:#f4f8fa;--text:#172631;--text2:#405866;--muted:#667d89;
    --line:rgba(32,62,80,.13);--glass:rgba(246,252,255,.6);--glass-strong:rgba(250,253,255,.8);
    --soft:rgba(34,74,98,.055);--accent:#277aaa;--accent2:#268f76;
    --shadow:0 26px 70px rgba(35,63,78,.12),inset 0 1px rgba(255,255,255,.76);
    background:radial-gradient(circle at 20% -10%,#c8e5f4 0,transparent 40%),linear-gradient(155deg,var(--bg),var(--bg2));
  }
}
