:root {
  color-scheme: dark;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--base);
  --df-bg-canvas: #090B0E;
  --df-bg-surface: #12161F;
  --df-bg-surface-raised: #1E2534;
  --df-bg-surface-glass: rgba(18,22,31,.84);
  --df-border-subtle: rgba(255,255,255,.09);
  --df-border-active: rgba(229,192,123,.35);
  --df-gold-primary: #E2B86B;
  --df-gold-hover: #EDD096;
  --df-gold-glow: rgba(226,184,107,.22);
  --df-red-cinema: #FF3B5C;
  --df-emerald-secure: #10B981;
  --df-amber-coin: #F59E0B;
  --df-cyan-stream: #06B6D4;
  --df-text-hero: #FFFFFF;
  --df-text-body: #F3F5F8;
  --df-text-muted: #96A3B3;
  --df-text-gold: #F7D794;
  --df-shadow-card: 0 10px 30px -10px rgba(0,0,0,.6);
  --df-shadow-glow: 0 0 25px -5px rgba(226,184,107,.25);
  --df-backdrop-blur: blur(16px);
  --df-radius-sm: 8px;
  --df-radius-md: 12px;
  --df-radius-lg: 18px;
  --df-radius-full: 9999px;
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --base: var(--df-bg-canvas);
  --panel: var(--df-bg-surface);
  --panel-soft: #171C27;
  --panel-raised: var(--df-bg-surface-raised);
  --line: var(--df-border-subtle);
  --muted: var(--df-text-muted);
  --text: var(--df-text-body);
  --coral: #FF7187;
  --mint: #2DD4BF;
  --amber: #F6C568;
  --red: #F43F5E;
  --font-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Plus Jakarta Sans", var(--font-sans);
  --font-mono: "JetBrains Mono", Consolas, "Courier New", monospace;
  --df-bg-canvas: #090B0E;
  --df-bg-surface: #12161F;
  --df-bg-surface-raised: #1E2534;
  --df-bg-surface-glass: rgba(18,22,31,.84);
  --df-border-subtle: #232B3A;
  --df-border-active: rgba(226,184,107,.36);
  --df-gold-primary: #E2B86B;
  --df-gold-hover: #EDD096;
  --df-text-body: #F3F5F8;
  --df-text-muted: #8A96A8;
  --base-elevated: #0D1016;
  --panel-soft: #171C27;
  --panel-glass: var(--df-bg-surface-glass);
  --line-strong: #313C52;
  --line-gold: var(--df-border-active);
  --text-secondary: #C5CDD8;
  --gold: var(--df-gold-primary);
  --gold-hover: var(--df-gold-hover);
  --gold-surface: rgba(226,184,107,.12);
  --mint-hover: #5EEAD4;
  --mint-surface: rgba(45,212,191,.12);
  --coral: #E64866;
  --coral-surface: rgba(230,72,102,.14);
  --amber: #F59E0B;
  --amber-surface: rgba(245,158,11,.14);
  --red-surface: rgba(244,63,94,.14);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.35);
  --shadow-md: 0 12px 32px rgba(0,0,0,.48);
  --shadow-lg: 0 24px 64px rgba(0,0,0,.65);
  --shadow-gold: 0 0 0 1px rgba(226,184,107,.25), 0 8px 24px rgba(226,184,107,.12);
  --transition: 180ms cubic-bezier(.16,1,.3,1);
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--base);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--base); }
button, input, select, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .44; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
a { color: var(--mint); }
[hidden] { display: none !important; }
.login-screen { position: relative; min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 460px); grid-template-rows: auto 1fr auto; align-items: center; gap: 24px 7vw; padding: 5vh 7vw; background: radial-gradient(ellipse at 10% 0%, rgba(226,184,107,.08), transparent 55%), var(--base); }
.login-showcase { position: relative; grid-column: 1; grid-row: 1 / 4; display: flex; flex-direction: column; justify-content: center; min-height: 650px; padding: 300px 0 32px; }
.cinema-orbit { position: absolute; width: min(440px, 100%); height: 360px; top: 0; left: 0; stroke: var(--gold); stroke-width: 1; }
.cinema-orbit circle { opacity: .16; }
.cinema-orbit rect { fill: var(--panel); stroke-opacity: .55; }
.cinema-orbit path { fill: var(--gold); stroke: none; }
.login-showcase h2 { max-width: 650px; margin: 18px 0; font: 600 clamp(32px, 3.8vw, 58px)/1.12 var(--font-display); letter-spacing: -.04em; text-wrap: balance; }
.login-showcase p { max-width: 440px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.cinema-capabilities { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.cinema-capabilities span { padding: 9px 12px; border: 1px solid var(--line-gold); border-radius: 999px; color: var(--text-secondary); font-size: 11px; }
.login-screen > .login-brand, .login-screen > .login-panel, .login-screen > .login-foot { grid-column: 2; width: 100%; }
.login-screen > .login-panel { padding: 36px; border-radius: 20px; box-shadow: 0 24px 80px #0006; }
.login-screen > .login-brand { margin: 0; }
.login-screen > .login-foot { font-size: 10px; line-height: 1.8; text-align: center; color: var(--muted); }
@media (max-width: 1000px) { .login-screen { grid-template-columns: 1fr; max-width: none; padding: 40px 24px; justify-items: center; } .login-showcase { display: none; } .login-screen > .login-brand, .login-screen > .login-panel, .login-screen > .login-foot { grid-column: 1; max-width: 460px; } }
@media (max-width: 520px) { .login-screen > .login-panel { padding: 24px; } }
.login-brand, .brand-lockup, .mobile-brand { display: flex; align-items: center; gap: 12px; }
.login-brand { width: min(440px, 100%); margin: auto; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #55756c; border-radius: 7px; color: var(--mint); background: #1b2b27; font-size: 13px; font-weight: 800; }
.login-brand b, .brand-lockup b { display: block; font-size: 15px; }
.login-brand small, .brand-lockup small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; letter-spacing: 1px; }
.login-panel { width: min(440px, calc(100vw - 32px)); padding: 28px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); }
.locale-row { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin: 0 0 14px; }
.locale-row label { display: inline; color: var(--muted); }
.language-select { width: auto; min-width: 104px; padding: 7px 9px; font-size: 11px; }
.top-language-select { min-width: 66px; max-width: 76px; padding: 7px 6px; }
.eyebrow { color: var(--mint); font-size: 10px; font-weight: 750; letter-spacing: 1.2px; text-transform: uppercase; }
.login-panel h1 { margin: 8px 0 0; font-size: 23px; }
.login-panel > p { margin: 8px 0 22px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.login-panel form { display: grid; gap: 14px; }
label { display: grid; gap: 7px; min-width: 0; color: #cbd3d5; font-size: 12px; }
input, select, textarea { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 5px; padding: 10px 11px; color: var(--text); background: #12171a; }
input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--mint); }
input[type="color"] { min-height: 38px; padding: 4px; }
textarea { resize: vertical; line-height: 1.45; }
.primary-button, .secondary-button, .danger-button, .quiet-button, .icon-button, .text-button, .link-button, .side-link, .nav-item, .segment { border: 1px solid transparent; border-radius: 5px; padding: 9px 12px; font-size: 12px; font-weight: 650; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.primary-button { color: #10211b; background: var(--mint); }
.primary-button:hover { background: #8ce3c1; }
.secondary-button { border-color: #465156; color: #e5eaeb; background: #252d31; }
.secondary-button:hover { border-color: #66757a; background: #303a3e; }
.danger-button { color: #fff; background: #a44750; }
.danger-button:hover { background: #bb5761; }
.quiet-button, .text-button, .link-button { border-color: transparent; color: #c2cccf; background: transparent; }
.quiet-button:hover, .text-button:hover, .link-button:hover { color: var(--mint); background: #26302f; }
.icon-button { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border-color: var(--line); color: #cbd4d6; background: #20272b; font-size: 15px; }
.icon-button:hover { border-color: #647277; color: var(--mint); }
.danger-text { color: #f1939a; }
.compact-button { min-height: 28px; padding: 5px 8px; font-size: 10px; white-space: nowrap; }
.demo-access { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.demo-access .text-button { padding: 4px; color: var(--mint); font-size: 10px; }
.login-foot { color: #748187; text-align: center; font-size: 10px; }
.inline-error, .field-error, .form-alert { min-height: 0; color: #ff9da3; font-size: 11px; }
.api-inspector { margin-top: 14px; border-top: 1px solid var(--line); }
.api-inspector > summary { padding: 12px 0; color: var(--mint); cursor: pointer; font-size: 12px; font-weight: 650; }
.api-inspector .payload-heading { display: flex; justify-content: flex-end; margin: 0 0 8px; }
.subtitle-toolbar { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(240px, 1fr); align-items: end; gap: 18px; margin-bottom: 16px; }
.subtitle-provider-note, .field-help { color: var(--muted); font-size: 11px; line-height: 1.5; }
.subtitle-layout { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); align-items: start; gap: 16px; }
.subtitle-player-panel, .subtitle-editor-panel, .glossary-panel { min-width: 0; }
.subtitle-layout > *, .sim-layout > * { min-width: 0; }
.video-stage { position: relative; width: min(100%, 360px); max-height: 62vh; aspect-ratio: 9 / 16; margin: 0 auto 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #050708; }
.video-stage video { display: block; width: 100%; height: 100%; object-fit: contain; background: #050708; }
.video-empty-state { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 9px; padding: 28px; color: #d7e0e2; text-align: center; pointer-events: none; background: rgb(8 11 13 / 82%); }
.video-empty-state[hidden] { display: none; }
.video-empty-state p { max-width: 260px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.subtitle-overlay { position: absolute; z-index: 2; right: 8%; left: 8%; padding: 4px 8px; color: white; font-weight: 700; line-height: 1.25; text-align: center; white-space: pre-line; text-shadow: 0 1px 3px #000, 1px 1px 2px #000; background: rgb(0 0 0 / 72%); pointer-events: none; }
.subtitle-overlay[data-position="bottom"] { bottom: 12%; }
.subtitle-overlay[data-position="middle"] { top: 50%; transform: translateY(-50%); }
.subtitle-overlay[data-position="top"] { top: 12%; }
.subtitle-overlay:empty, .subtitle-overlay.subtitle-clear { background: transparent; }
.video-gesture-zone { position: absolute; z-index: 3; top: 12%; bottom: 14%; display: flex; width: 23%; flex-direction: column; justify-content: center; gap: 8px; opacity: 0; transition: opacity .16s; pointer-events: none; }
.video-gesture-zone.left { left: 0; }
.video-gesture-zone.right { right: 0; align-items: flex-end; }
.video-stage:hover .video-gesture-zone, .video-stage:focus-within .video-gesture-zone { opacity: .75; }
.video-gesture-zone button { border: 0; border-radius: 4px; padding: 8px 5px; color: white; background: rgb(0 0 0 / 64%); pointer-events: auto; }
.subtitle-player-controls, .subtitle-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.subtitle-player-controls { justify-content: center; margin: 8px 0 12px; }
.subtitle-player-controls .secondary-button { white-space: nowrap; }
.player-settings { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 15px; padding-top: 14px; border-top: 1px solid var(--line); }
.player-settings label, .subtitle-import-row label { font-size: 10px; }
.subtitle-editor-panel > .surface-heading { align-items: flex-start; }
.subtitle-import-row { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; margin: 14px 0; }
.file-picker { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 38px; cursor: pointer; }
.file-picker input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.subtitle-cue-table { max-height: 430px; }
.subtitle-cue-table table { min-width: 620px; }
.subtitle-cue-table td:first-child { width: 32px; color: var(--muted); }
.subtitle-cue-table td:nth-child(2), .subtitle-cue-table td:nth-child(3) { width: 108px; }
.subtitle-cue-table td:last-child { width: 38px; }
.subtitle-cue-table input, .subtitle-cue-table textarea { padding: 7px; font-size: 11px; }
.subtitle-cue-table textarea { min-height: 42px; }
.subtitle-actions { margin-top: 12px; }
.subtitle-actions .control { width: auto; min-width: 126px; flex: 1 1 130px; }
.subtitle-job-status { display: flex; align-items: center; gap: 8px; min-height: 28px; margin-top: 8px; color: var(--mint); font-size: 11px; }
.glossary-panel { margin-top: 16px; }
.glossary-form { grid-template-columns: repeat(2, minmax(0, 1fr)) auto; align-items: end; }
.glossary-terms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.glossary-terms span { border: 1px solid var(--line); border-radius: 4px; padding: 6px 8px; color: #cbd3d5; font-size: 11px; }
.split-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.resume-button { display: block; margin: 0 auto; }
.inline-error:empty, .field-error:empty, .form-alert:empty { display: none; }
.batch-preview { max-height: 260px; overflow: auto; border: 1px solid var(--line); border-radius: 5px; background: #171d20; }
.batch-preview:empty { display: none; }
.batch-preview > p, .batch-preview > small { display: block; margin: 10px 12px; font-size: 11px; }
.preview-valid { color: #a8dfcc; }
.preview-invalid { color: #ff9da3; }
.batch-preview ul { margin: 0 12px 12px; padding-left: 20px; color: #ffb1b5; font-size: 10px; line-height: 1.6; }
.batch-preview .table-scroll { border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.batch-preview table { min-width: 0; }
.studio { min-height: 100vh; display: grid; grid-template-columns: 230px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; display: flex; flex-direction: column; width: 230px; height: 100vh; padding: 19px 12px 13px; border-right: 1px solid var(--line); background: #171c1f; }
.brand-lockup { padding: 0 9px 20px; }
.tenant-block { display: grid; gap: 5px; margin: 0 5px 18px; padding: 12px 10px; border: 1px solid #303a3e; border-radius: 5px; background: #1b2225; }
.tenant-block b { font-size: 12px; }
.tenant-block small { color: var(--muted); font-size: 10px; }
.main-nav { display: grid; gap: 4px; }
.nav-item { display: flex; align-items: center; gap: 10px; min-height: 39px; padding: 8px 10px; color: #aeb9bc; text-align: left; background: transparent; }
.nav-item:hover { color: var(--text); background: #222a2e; }
.nav-item.active { color: #f4f7f7; background: #2b3538; box-shadow: inset 2px 0 var(--coral); }
.nav-item small { display: grid; place-items: center; width: 20px; height: 20px; margin-left: auto; border-radius: 50%; color: #261b17; background: var(--amber); font-size: 10px; }
.nav-symbol { width: 20px; color: var(--mint); text-align: center; font-size: 16px; }
.sidebar-bottom { display: grid; gap: 10px; margin-top: auto; }
.side-link { display: flex; align-items: center; gap: 9px; color: #c9d2d4; text-align: left; background: transparent; }
.side-link:hover { background: #252d31; }
.storage-status { display: flex; align-items: center; gap: 8px; padding: 10px 9px 2px; color: var(--muted); font-size: 10px; }
.storage-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px #233a33; }
.main-column { min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; min-height: 62px; padding: 0 26px; border-bottom: 1px solid var(--line); background: #151a1d; }
.crumb { display: flex; align-items: center; gap: 10px; color: #89969a; font-size: 11px; }
.crumb b { color: var(--text); font-weight: 650; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.identity { display: grid; gap: 2px; margin: 0 5px 0 8px; text-align: right; }
.identity b { font-size: 11px; }
.identity small { color: var(--muted); font-size: 9px; }
.language-button { min-width: 52px; }
.language-button span { padding-left: 4px; color: var(--muted); }
.mobile-brand, .mobile-menu { display: none; }
.view-root { width: min(1560px, 100%); margin: 0 auto; padding: 26px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 0 0 21px; }
.page-heading h1 { margin: 5px 0 0; font-size: 22px; line-height: 1.25; }
.page-heading p { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.heading-actions, .form-actions, .toolbar, .actions-cell, .rule-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.metric { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 3px 10px; min-height: 82px; padding: 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); }
.metric-mark { grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 5px; color: var(--mint); background: #24352f; font-size: 14px; font-weight: 800; }
.metric:nth-child(4n + 2) .metric-mark { color: var(--coral); background: #3a2a28; }
.metric:nth-child(4n + 3) .metric-mark { color: var(--amber); background: #3b3427; }
.metric-label { overflow-wrap: anywhere; color: var(--muted); font-size: 10px; }
.metric b { font-size: 20px; font-variant-numeric: tabular-nums; }
.dashboard-grid, .content-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 14px; margin-top: 15px; }
.surface { min-width: 0; margin-top: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); }
.dashboard-grid .surface, .content-grid .surface { margin-top: 0; }
.surface-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 13px; }
.surface-heading h2 { margin: 0; font-size: 14px; }
.surface-heading p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.compact-list, .activity-list, .rule-list, .schedule-list, .license-list, .sync-list { display: grid; }
.compact-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto 32px; align-items: center; gap: 10px; min-height: 53px; border-top: 1px solid #2c3539; }
.poster-letter { display: grid; place-items: center; width: 30px; height: 38px; border-radius: 3px; color: #f5d8c5; background: #5a3933; font-family: Georgia, serif; font-size: 17px; }
.compact-row:nth-child(3n) .poster-letter { color: #d2eee1; background: #2c5147; }
.compact-row:nth-child(3n + 2) .poster-letter { color: #eee0bd; background: #685a39; }
.compact-copy, .activity-row > div, .license-copy, .schedule-copy { display: grid; gap: 4px; min-width: 0; }
.compact-copy b, .activity-row b, .license-copy b, .schedule-copy b { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.compact-copy small, .activity-row small, .license-copy small, .schedule-copy small { overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.activity-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 9px; min-height: 47px; border-top: 1px solid #2c3539; }
.activity-mark { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #42554e; border-radius: 50%; color: var(--mint); font-size: 10px; }
.dashboard-foot { display: flex; align-items: center; gap: 14px; margin-top: 13px; color: var(--muted); font-size: 10px; }
.dashboard-foot button { margin-left: auto; }
.toolbar { margin-bottom: 12px; }
.search-field { display: flex; align-items: center; gap: 8px; width: min(360px, 100%); padding-left: 10px; border: 1px solid var(--line); border-radius: 5px; background: #12171a; color: var(--muted); }
.search-field input { border: 0; background: transparent; outline: none; }
.search-field input:focus-visible { outline: none; }
.control { width: auto; min-width: 130px; }
.small-control { width: 120px; }
.table-scroll { width: 100%; overflow-x: auto; border: 1px solid #30393d; border-radius: 5px; }
table { width: 100%; border-collapse: collapse; min-width: 690px; }
th, td { padding: 10px 11px; border-bottom: 1px solid #2d363a; color: #d9e0e1; font-size: 11px; text-align: left; vertical-align: middle; }
th { position: sticky; top: 0; z-index: 1; color: #9fadaf; background: #20272b; font-size: 9px; font-weight: 700; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #20282b; }
.selected-row { background: #212a2c; }
.table-sub { display: block; max-width: 410px; overflow: hidden; margin-top: 4px; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.link-button { padding: 0; color: #e4f2ec; text-align: left; font-size: 11px; }
.actions-cell { min-width: 138px; }
.status-pill { display: inline-flex; align-items: center; max-width: 160px; padding: 4px 7px; border: 1px solid #40494c; border-radius: 4px; color: #bdc8ca; background: #252d30; font-size: 8px; font-weight: 750; letter-spacing: .2px; line-height: 1.2; text-transform: uppercase; white-space: normal; }
.status-pill.ok { border-color: #36594b; color: #91dfbb; background: #20362e; }
.status-pill.warn { border-color: #675637; color: #e7ce8b; background: #393324; }
.status-pill.danger { border-color: #684046; color: #f2a1a5; background: #3e292d; }
.episode-surface { margin-top: 15px; }
.episode-surface .surface-heading { align-items: center; }
.episode-surface h2 { margin: 5px 0 0; }
.count-tag { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 4px; color: var(--mint); background: #24352f; font-size: 10px; vertical-align: 2px; }
.episode-toolbar { padding: 10px 0; }
.selection-count { margin-left: auto; color: var(--muted); font-size: 10px; }
.number-cell { width: 45px; color: var(--amber); font-variant-numeric: tabular-nums; }
.empty-cell { padding: 26px; color: var(--muted); text-align: center; }
.empty-panel { max-width: 580px; margin: 24px auto; padding: 24px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); }
.empty-panel h2 { margin-top: 0; }
.notice { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 0; padding: 10px 12px; border: 1px solid #665737; border-radius: 5px; color: #ebd59b; background: #332f23; font-size: 10px; line-height: 1.5; }
.rights-note { margin-top: 14px; }
.rule-row, .license-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 68px; border-top: 1px solid #2d363a; }
.rule-row-main { display: flex; align-items: center; gap: 10px; min-width: 0; }
.rule-row-main > div:last-child { display: grid; gap: 5px; min-width: 0; }
.rule-row-main b { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.rule-row-main small { color: var(--muted); font-size: 9px; line-height: 1.4; }
.rule-symbol, .license-icon { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 auto; border: 1px solid #3e5d51; border-radius: 5px; color: var(--mint); background: #22332d; }
.rule-actions { justify-content: flex-end; }
.schedule-row { position: relative; display: grid; grid-template-columns: 12px minmax(0, 1fr) auto auto; align-items: center; gap: 8px; min-height: 58px; border-top: 1px solid #2d363a; }
.timeline-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 3px #3b2d2a; }
.schedule-copy b { white-space: normal; }
.sim-layout { display: grid; grid-template-columns: minmax(260px, 350px) minmax(0, 1fr); align-items: start; gap: 15px; }
.simulator-column { display: grid; justify-items: center; gap: 10px; }
.phone-frame { position: relative; width: min(300px, 100%); aspect-ratio: 300 / 600; padding: 17px 10px 14px; border: 2px solid #687275; border-radius: 28px; background: #080b0d; box-shadow: 0 12px 40px #0006; }
.phone-speaker { position: absolute; top: 7px; left: calc(50% - 22px); width: 44px; height: 4px; border-radius: 5px; background: #434b4e; }
.phone-screen { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 19px; background: #181d1e; }
.phone-top { display: flex; justify-content: space-between; padding: 11px 12px; color: var(--mint); background: #202727; font-size: 9px; }
.phone-brand { font-weight: 800; }
.film-poster { position: relative; display: flex; flex: 1; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; padding: 18px 15px 22px; background: #4b342f; }
.film-poster::before { position: absolute; top: -18%; right: -28%; width: 76%; height: 92%; border: 1px solid #ffffff30; border-radius: 50% 0 50% 50%; content: ""; transform: rotate(18deg); }
.film-poster::after { position: absolute; top: 2%; left: -24%; width: 70%; height: 70%; border: 1px solid #ffffff26; border-radius: 0 52% 50% 50%; content: ""; transform: rotate(-24deg); }
.film-kicker, .film-title, .film-meta { position: relative; z-index: 1; }
.film-kicker { color: #f3c4a4; font-size: 9px; font-weight: 750; letter-spacing: .7px; text-transform: uppercase; }
.film-title { max-width: 210px; color: #fff8ef; font-family: Georgia, serif; font-size: 25px; line-height: 1.04; overflow-wrap: anywhere; }
.film-meta { color: #e6d6ca; font-size: 9px; }
.poster-lines { position: absolute; right: 12px; bottom: 20px; width: 48px; height: 2px; background: var(--mint); box-shadow: 0 -6px #ffffff80, 0 -12px #ffffff45; }
.phone-controls { display: flex; justify-content: center; align-items: center; gap: 14px; padding: 10px; background: #121617; }
.round-control { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #4b5558; border-radius: 50%; color: #dfe7e8; background: #232b2e; font-size: 17px; }
.play-control { width: 40px; height: 40px; border-color: #507563; color: #10211b; background: var(--mint); }
.phone-unlock { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 6px; padding: 10px; background: #171d1e; }
.phone-unlock span { grid-column: 1 / -1; color: #d1d8d8; font-size: 9px; text-align: center; }
.phone-home { position: absolute; bottom: 5px; left: calc(50% - 34px); width: 68px; height: 3px; border-radius: 4px; background: #788184; }
.phone-empty { display: grid; flex: 1; place-items: center; padding: 20px; color: var(--muted); font-size: 11px; text-align: center; }
.simulator-select { width: 100%; }
.simulator-select select { flex: 1; min-width: 0; }
.wallet-line { max-width: 330px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.wallet-line b { color: var(--mint); }
.contract-panel { margin: 0; }
.segmented { display: flex; gap: 4px; margin: -3px 0 14px; padding: 4px; border: 1px solid #303a3d; border-radius: 5px; background: #151a1c; }
.segment { flex: 1; min-height: 32px; color: var(--muted); background: transparent; }
.segment.active { color: #f1f6f4; background: #303a3d; }
.segment span { display: inline-grid; place-items: center; min-width: 16px; height: 16px; margin-left: 4px; border-radius: 50%; color: #2d211b; background: var(--amber); font-size: 9px; }
.payload-heading { margin-bottom: 8px; }
.json-payload, .sync-item pre { max-height: 500px; overflow: auto; margin: 0; padding: 14px; border: 1px solid #2e3d3d; border-radius: 5px; color: #a5ddc5; background: #111716; font: 10px/1.55 Consolas, "Courier New", monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.sync-item { border-top: 1px solid #30393d; padding: 10px 0; }
.sync-item summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; cursor: pointer; list-style: none; }
.sync-item summary::-webkit-details-marker { display: none; }
.sync-item summary > span:first-child { display: grid; gap: 4px; }
.sync-item summary b { font-size: 10px; }
.sync-item summary small { color: var(--muted); font-size: 9px; }
.sync-item pre { max-height: 170px; margin: 9px 0; }
.brand-swatch { width: 20px; height: 20px; padding: 0; border: 1px solid #ffffff55; border-radius: 4px; background: transparent; appearance: none; }
.brand-swatch::-webkit-color-swatch-wrapper { padding: 0; }
.brand-swatch::-webkit-color-swatch, .brand-swatch::-moz-color-swatch { border: 0; border-radius: 3px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.full { grid-column: 1 / -1; }
.form-actions { justify-content: flex-end; margin-top: 6px; }
.check-field { display: flex; align-items: center; gap: 8px; min-height: 39px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 5px; background: #14191c; }
.field-help { color: var(--muted); font-size: 9px; line-height: 1.5; }
.license-row { grid-template-columns: 30px minmax(0, 1fr) auto 32px; }
.license-copy { gap: 4px; }
.role-surface { margin-top: 14px; }
.role-grid { display: grid; }
.role-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid #30393d; }
.role-row b { font-size: 10px; }
.role-row span { color: var(--muted); font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.role-row code, td code { color: #a6d9c2; font: 9px/1.5 Consolas, monospace; overflow-wrap: anywhere; }
.stepper { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 5px 0 20px; }
.step { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #475257; border-radius: 50%; color: var(--muted); font-size: 10px; }
.step.active { border-color: var(--mint); color: #10211b; background: var(--mint); }
.step.done { border-color: #437560; color: var(--mint); background: #1d342b; }
.step-line { width: 42px; height: 1px; background: #485256; }
.step-line.done { background: var(--mint); }
.verification-result { padding: 16px; border: 1px solid var(--line); border-radius: 5px; }
.verification-result.valid { border-color: #426650; color: #98e3ba; background: #20342c; }
.verification-result.invalid { border-color: #714248; color: #f3a4a7; background: #3e292d; }
.verification-result p { margin-bottom: 0; font-size: 11px; }
.ai-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr) 270px; gap: 14px; align-items: stretch; }
.ai-shell .surface { margin-top: 0; }
.ai-sidebar, .ai-inspector { min-height: 650px; }
.ai-conversation-list, .ai-knowledge-list, .ai-provider-list { display: grid; gap: 5px; }
.ai-history-search { gap: 5px; margin: 0 0 8px; }
.ai-history-search .control { min-width: 0; padding: 7px 8px; font-size: 10px; }
.ai-conversation { display: grid; gap: 5px; width: 100%; padding: 9px 10px; border: 1px solid transparent; border-radius: 5px; color: #d9e4e2; background: transparent; text-align: left; }
.ai-conversation:hover, .ai-conversation.active { border-color: #3a5c50; background: #21322e; }
.ai-conversation b { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.ai-conversation small, .ai-knowledge-row small { color: var(--muted); font-size: 9px; }
.ai-sidebar-footer { display: grid; gap: 8px; margin-top: auto; padding-top: 18px; }
.ai-status-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 30px; color: #cbd5d4; font-size: 10px; }
.ai-chat-panel { display: flex; min-height: 650px; flex-direction: column; }
.ai-context { display: flex; flex-wrap: wrap; gap: 6px; margin: -2px 0 12px; color: var(--muted); font-size: 9px; }
.ai-context span { padding: 4px 7px; border: 1px solid #354548; border-radius: 4px; background: #182124; }
.ai-messages { display: grid; flex: 1; align-content: start; gap: 10px; min-height: 0; max-height: 510px; overflow-y: auto; padding-right: 4px; }
.ai-message { max-width: 92%; padding: 10px 12px; border: 1px solid #303e40; border-radius: 6px; background: #182024; }
.ai-message.user { justify-self: end; border-color: #425f54; background: #20342f; }
.ai-message-role { margin-bottom: 5px; color: var(--mint); font-size: 9px; font-weight: 750; text-transform: uppercase; }
.ai-message-body { color: #e2e9e8; font-size: 11px; line-height: 1.6; white-space: pre-wrap; }
.ai-citation, .ai-tool-result { margin-top: 9px; border-top: 1px solid #324145; padding-top: 7px; color: #a7cdbf; font-size: 9px; }
.ai-citation summary, .ai-tool-result summary { cursor: pointer; }
.ai-citation p { margin: 5px 0 0; color: var(--muted); line-height: 1.45; }
.ai-citation small { display: block; margin-top: 4px; color: #7f9698; }
.ai-tool-result pre { max-height: 170px; overflow: auto; margin: 7px 0 0; color: #9fd6bd; font: 9px/1.5 Consolas, monospace; white-space: pre-wrap; }
.ai-empty { display: grid; place-items: center; align-content: center; min-height: 330px; color: var(--muted); text-align: center; }
.ai-empty b { color: var(--mint); font-size: 20px; }
.ai-empty p { max-width: 340px; margin: 8px 0 14px; font-size: 11px; line-height: 1.5; }
.ai-suggestions { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.ai-composer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.ai-composer textarea { min-height: 50px; resize: none; }
.ai-knowledge-row { display: grid; gap: 4px; padding: 8px 0; border-bottom: 1px solid #2d393d; }
.ai-knowledge-row b { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.ai-inspector-heading { margin-top: 22px; }
.ai-tool-list { display: flex; flex-wrap: wrap; gap: 5px; }
.ai-tool-chip { padding: 5px 7px; border: 1px solid #3b5650; border-radius: 4px; color: #a9ddc5; background: #1e302b; font: 9px Consolas, monospace; }
.modal-backdrop { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; overflow-y: auto; padding: 22px; background: #07090bd1; }
.modal { width: min(560px, 100%); max-height: min(88vh, 820px); overflow: auto; border: 1px solid #465156; border-radius: 7px; background: #1b2225; box-shadow: 0 24px 70px #0009; }
.modal.modal-wide { width: min(760px, 100%); }
.modal-header { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: #1b2225; }
.modal-header h2 { margin: 0; font-size: 14px; }
.modal-body { padding: 16px; }
.confirm-copy { color: #dce4e5; font-size: 12px; line-height: 1.6; }
#toast-stack { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; gap: 8px; width: min(360px, calc(100vw - 36px)); }
.toast-item { padding: 11px 14px; border: 1px solid #53625d; border-left: 3px solid var(--mint); border-radius: 5px; color: #eaf2ef; background: #202a27; box-shadow: 0 8px 28px #0006; font-size: 11px; }
.toast-item.error { border-left-color: var(--red); background: #382528; }
.toast-item.warning { border-left-color: var(--amber); background: #352f22; }

@media (max-width: 1100px) {
  .view-root { padding: 20px; }
  .metric-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .subtitle-layout, .subtitle-toolbar, .sim-layout { grid-template-columns: minmax(0, 1fr); }
  .ai-shell { grid-template-columns: 190px minmax(0, 1fr); }
  .ai-inspector { grid-column: 1 / -1; min-height: 0; }
}
@media (max-width: 760px) {
  .studio { display: block; }
  .sidebar { position: fixed; z-index: 10; top: 0; left: 0; width: 245px; transform: translateX(-101%); transition: transform .2s ease; box-shadow: 12px 0 30px #0007; }
  .sidebar.open { transform: translateX(0); }
  .topbar { min-height: 56px; justify-content: flex-start; gap: 9px; padding: 0 12px; }
  .mobile-menu { display: inline-grid; flex: 0 0 auto; }
  .mobile-brand { display: flex; flex: 0 0 auto; gap: 7px; font-size: 11px; }
  .mobile-brand .brand-mark { width: 28px; height: 28px; }
  .crumb { display: none; }
  .top-actions { gap: 3px; margin-left: auto; }
  .top-actions > [data-i18n="setupWizard"] { display: none; }
  .identity { display: none; }
  .view-root { padding: 16px 12px; }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .page-heading h1 { font-size: 20px; }
  .heading-actions { width: 100%; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-grid { grid-template-columns: 1fr; }
  .sim-layout { grid-template-columns: 1fr; }
  .ai-shell { grid-template-columns: 1fr; }
  .ai-sidebar, .ai-chat-panel, .ai-inspector { min-height: 0; }
  .ai-messages { max-height: 440px; }
  .ai-composer { grid-template-columns: 1fr; }
  .simulator-column { justify-items: center; }
  .phone-frame { width: min(280px, 84vw); }
  .contract-panel { margin-top: 0; }
  .schedule-row { grid-template-columns: 12px minmax(0, 1fr) auto; }
  .schedule-row > .status-pill { grid-column: 2; }
  .schedule-row > .icon-button { grid-column: 3; grid-row: 1 / span 2; }
  .dashboard-foot { flex-wrap: wrap; }
  .dashboard-foot button { margin-left: 0; }
  .subtitle-toolbar, .subtitle-layout, .glossary-form { grid-template-columns: 1fr; }
  .subtitle-import-row { grid-template-columns: 1fr 1fr; }
  .video-stage { width: min(100%, 300px); max-height: 58vh; }
}
@media (max-width: 420px) {
  .subtitle-import-row { grid-template-columns: 1fr; }
  .subtitle-player-controls { gap: 5px; }
  .subtitle-player-controls .secondary-button { padding: 7px 8px; font-size: 10px; }
  .player-settings { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .login-screen { gap: 18px; }
  .login-panel { padding: 21px; }
  .view-root { padding: 13px 9px; }
  .metric { min-height: 76px; grid-template-columns: 26px minmax(0, 1fr); gap: 3px 8px; padding: 10px; }
  .metric-mark { width: 26px; height: 26px; }
  .metric b { font-size: 17px; }
  .surface { padding: 12px; }
  .heading-actions .primary-button, .heading-actions .secondary-button { flex: 1 1 auto; }
  .toolbar { align-items: stretch; }
  .search-field { width: 100%; }
  .toolbar > .control { flex: 1 1 auto; }
  .episode-surface .surface-heading { align-items: flex-start; flex-direction: column; }
  .episode-surface .heading-actions { width: 100%; }
  .selection-count { width: 100%; margin-left: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: 1; }
  .role-row { grid-template-columns: 1fr; gap: 6px; }
  .modal-backdrop { place-items: end center; padding: 8px; }
  .modal { max-height: 92vh; border-radius: 8px 8px 5px 5px; }
  .phone-frame { width: min(270px, 82vw); }
  .compact-row { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 7px; }
  .compact-row > .icon-button { display: none; }
  .rule-row { grid-template-columns: minmax(0, 1fr); padding: 8px 0; }
  .rule-actions { justify-content: flex-start; }
  .license-row { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 8px; }
  .license-row > .icon-button { grid-column: 3; }
}

/* Cinema system: shared surfaces and controls across every authenticated view. */
:root { --radius-sm: 8px; --radius-md: 12px; --radius-lg: 18px; }
body { background: #090B0E; }
.app-shell { background: #090B0E; }
.sidebar { width: 256px; padding: 22px 14px 16px; border-right-color: #232B3A; background: #0D1016; }
.brand-lockup { padding: 0 10px 24px; }
.brand-mark { border-color: rgba(226,184,107,.55); color: #E2B86B; background: rgba(226,184,107,.10); box-shadow: 0 0 22px rgba(226,184,107,.12); }
.tenant-block { margin: 0 6px 20px; border-color: #232B3A; border-radius: 10px; background: #12161F; }
.tenant-block::before { content: ''; width: 7px; height: 7px; margin-bottom: -1px; border-radius: 50%; background: #2DD4BF; box-shadow: 0 0 0 4px rgba(45,212,191,.10); }
.nav-item { min-height: 42px; border-radius: 8px; color: #96A3B3; }
.nav-item:hover { color: #F3F5F8; background: #171C27; }
.nav-item.active { color: #E2B86B; background: rgba(226,184,107,.12); box-shadow: inset 3px 0 #E2B86B; }
.nav-symbol { width: 20px; color: #8A96A8; }
.nav-item.active .nav-symbol { color: #E2B86B; }
.nav-symbol svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.topbar { min-height: 64px; border-bottom-color: #232B3A; background: rgba(18,22,31,.84); backdrop-filter: blur(14px); }
.surface, .metric { border-color: #232B3A; border-radius: 12px; background: #12161F; box-shadow: 0 10px 30px -18px rgba(0,0,0,.8); }
.surface:hover, .metric:hover { border-color: rgba(226,184,107,.32); }
.metric-mark { color: #E2B86B; background: rgba(226,184,107,.12); border-radius: 8px; }
.metric:nth-child(4n + 2) .metric-mark { color: #2DD4BF; background: rgba(45,212,191,.12); }
.metric:nth-child(4n + 3) .metric-mark { color: #F59E0B; background: rgba(245,158,11,.12); }
.primary-button { color: #090B0E; background: #E2B86B; }
.primary-button:hover { background: #EDD096; }
.secondary-button { border-color: #313C52; background: #171C27; }
.secondary-button:hover { border-color: rgba(226,184,107,.45); background: rgba(226,184,107,.08); }
.demo-access { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); align-items: stretch; gap: 8px; }
.demo-access > span { grid-column: 1 / -1; }
.demo-access .text-button { padding: 10px; border: 1px solid #232B3A; border-radius: 8px; color: #C5CDD8; background: #171C27; text-align: left; }
.demo-access .text-button:hover, .demo-access .text-button.is-selected { border-color: #E2B86B; color: #E2B86B; background: rgba(226,184,107,.10); }
@media (max-width: 1000px) { .sidebar { width: 256px; } }

/* Cinema interaction and layout contract, shared by every Studio view. */
:where(button, input, select, textarea, summary, a):focus-visible {
  outline: 2px solid var(--gold, #E2B86B);
  outline-offset: 2px;
}
.main-column, .view-root, .content-grid, .dashboard-grid { min-width: 0; }
.table-scroll { overflow-x: auto; scrollbar-color: var(--line-strong) var(--base-elevated); }
.tenant-block small { width: fit-content; padding: 3px 7px; border: 1px solid var(--line); border-radius: 6px; font-family: var(--font-mono); }
.number-cell { font-variant-numeric: tabular-nums; color: var(--gold); }
.selected-row { box-shadow: inset 3px 0 var(--gold); }
@media (max-width: 760px) {
  .topbar { padding-inline: 12px; }
  .top-actions .quiet-button { display: none; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  button, .icon-button { min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Cinema Studio: shared presentation layer, no business-state overrides. */
:root { --base:#090B0E; --panel:#12161F; --panel-raised:#1E2534; --line:#232B3A; --gold:#E2B86B; --radius-lg:16px; --shadow-lg:0 24px 64px #0009; }
.ui-icon { display:inline-block; width:19px; height:19px; flex-shrink:0; vertical-align:middle; }
.primary-button,.secondary-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; }
.login-screen { display:flex; flex-direction:column; justify-content:center; gap:22px; padding:48px 24px; background:radial-gradient(ellipse at 8% 15%,#E2B86B12,transparent 50%),radial-gradient(ellipse at 90% 100%,#2DD4BF08,transparent 45%),var(--base); }
.login-shell { display:grid; grid-template-columns:1.15fr .85fr; align-items:center; gap:0 64px; width:min(1120px,100%); }
.login-shell>.login-brand { grid-column:2; grid-row:1; margin-bottom:24px; }
.login-shell>.login-panel { grid-column:2; grid-row:2; width:100%; padding:32px; border:1px solid var(--line-strong); border-radius:20px; background:linear-gradient(155deg,#171C27,var(--panel) 50%); box-shadow:var(--shadow-lg); }
.login-showcase { grid-column:1; grid-row:1 / 3; min-height:0; padding:0; align-self:center; }
.cinema-orbit { display:none; }
.login-showcase h2 { font-size:clamp(36px,4.1vw,58px); font-weight:650; }
.login-screen>.login-foot { width:min(1120px,100%); text-align:center; }
.showcase-posters { display:flex; gap:16px; height:244px; margin:12px 24px 44px 12px; align-items:center; }
.art-poster { position:relative; overflow:hidden; flex:1; aspect-ratio:9/16; max-height:242px; border:1px solid #E2B86B35; border-radius:12px; box-shadow:0 18px 35px #0008; }
.art-poster-one { transform:rotate(-9deg) translateY(14px); background:radial-gradient(ellipse at 60% 20%,#ca9974,transparent 40%),linear-gradient(150deg,#5c3240,#101521 65%); }
.art-poster-two { z-index:1; background:radial-gradient(ellipse at 50% 30%,#e9c883,transparent 30%),linear-gradient(160deg,#5d4b37,#151317 72%); }
.art-poster-three { transform:rotate(9deg) translateY(14px); background:radial-gradient(ellipse at 45% 15%,#5e9ca3,transparent 40%),linear-gradient(150deg,#253e50,#101521 65%); }
.art-poster i { position:absolute; width:90%; height:65%; bottom:-16%; left:5%; border-radius:50% 50% 0 0; background:linear-gradient(#0a0d1266,#05070c); }
.art-poster span { position:absolute; z-index:2; bottom:18px; left:12px; font:9px var(--font-mono); letter-spacing:.15em; color:#f0ddba; }
.demo-access .text-button { display:grid; gap:5px; min-width:0; padding:12px; transition:background 180ms,border-color 180ms; }
.demo-access .text-button b { font-size:12px; }.demo-access small { color:var(--muted); font-size:10px; overflow-wrap:anywhere; }
.sidebar { width:256px; background:var(--base-elevated); }.brand-mark { color:var(--gold); border:1px solid var(--line-gold); background:linear-gradient(135deg,#E2B86B38,#E2B86B0d); }
.tenant-block { position:relative; border:1px solid var(--line); border-radius:12px; background:linear-gradient(135deg,#171C27,#0D1016); }
.tenant-block::after { content:''; position:absolute; right:14px; top:18px; width:6px; height:6px; border-radius:50%; background:var(--mint); box-shadow:0 0 0 4px #2dd4bf12; }
.nav-item { position:relative; min-height:40px; }.nav-item.active { background:var(--gold-surface); color:var(--gold); box-shadow:inset 3px 0 var(--gold); }.nav-symbol { color:inherit; }
.topbar { background:#0D1016ed; backdrop-filter:blur(16px); }.metric-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.metric { position:relative; overflow:hidden; min-height:128px; border:1px solid var(--line); background:linear-gradient(135deg,#171C27,var(--panel)); border-radius:14px; padding:20px; }
.metric-mark { display:grid; place-items:center; width:32px; height:32px; border:1px solid var(--line-gold); border-radius:9px; color:var(--gold); background:var(--gold-surface); }.metric b { letter-spacing:-.04em; font-variant-numeric:tabular-nums; }
.metric::after { content:''; position:absolute; bottom:0; left:0; right:0; height:2px; background:linear-gradient(90deg,var(--gold),#E2B86B08); }
.metric-warning .metric-mark { color:var(--amber); border-color:var(--amber); background:var(--amber-surface); }
.metric-warning::after { background:linear-gradient(90deg,var(--amber),transparent); }
.metric-revenue b { color:var(--gold); }
.compact-row .poster-letter { width:36px; height:56px; flex-shrink:0; border-radius:6px; background:linear-gradient(155deg,#866743,#242535 65%,#12161f); color:#f8e3b5; font:600 22px var(--font-display); }
.activity-list { position:relative; }.activity-row { position:relative; }.activity-mark { color:var(--mint); background:var(--mint-surface); }.activity-row:not(:last-child)::after { content:''; position:absolute; left:16px; top:48px; bottom:-12px; width:1px; background:var(--line); }
.dashboard-foot { padding:16px 20px; border:1px solid var(--line); border-radius:12px; background:var(--panel); }
@media(min-width:761px) { .studio { grid-template-columns:256px minmax(0,1fr); } }
@media(max-width:1100px) { .login-shell { gap:0 32px; }.login-showcase h2 { font-size:38px; }.dashboard-grid { grid-template-columns:1fr; } }
@media(max-width:920px) { .login-shell { grid-template-columns:1fr; max-width:580px; gap:20px; }.login-showcase { display:flex; grid-column:1; grid-row:1; padding:0 8px; }.login-showcase h2 { margin:12px 0; font-size:32px; }.login-showcase p { margin:4px 0; }.showcase-posters,.cinema-capabilities { display:none; }.login-shell>.login-brand { grid-column:1; grid-row:2; margin:4px 0; }.login-shell>.login-panel { grid-column:1; grid-row:3; } }
@media(max-width:760px) { .login-screen { padding:28px 18px; }.login-shell>.login-panel { padding:24px; }.metric-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }.metric { padding:14px; min-height:120px; }.dashboard-foot { flex-wrap:wrap; gap:12px; }.sidebar { width:256px; }.compact-row { gap:8px; }.compact-copy { min-width:0; } }
