:root {
  color-scheme: dark;
  --bg: #10141b; --surface: #191f29; --edge: #303a49;
  --text: #edf1f7; --muted: #a7b2c3; --accent: #8bb5ff; --action: #305dc0;
}
* { box-sizing: border-box }
body { margin:0; color:var(--text); background:var(--bg); font:16px/1.55 system-ui,-apple-system,sans-serif }
a { color:var(--accent); text-underline-offset:.2em }
:focus-visible { outline:3px solid var(--accent); outline-offset:3px }
h1,h2,h3,p { margin:0 }
h1,h2,h3 { line-height:1.2 }
h1,h2 { font-weight:680; letter-spacing:-.035em }
h1,.simple-title { font-size:clamp(32px,4vw,44px) }
h2 { font-size:22px }
h3 { font-size:17px }
.wrap { width:min(1120px,calc(100% - 48px)); margin:auto }
.masthead { border-bottom:1px solid var(--edge) }
.nav, .brand, .nav nav, .scope, .scope-actions, .request-head, .decision, footer { display:flex; align-items:center }
.nav { min-height:64px; gap:24px }
.brand { gap:9px; text-decoration:none; color:var(--text); font-size:19px; letter-spacing:.045em; font-weight:800 }

.nav nav { margin-left:auto; gap:18px }
.nav nav a { text-decoration:none; font-size:14px; color:var(--muted) }
.nav nav a:hover,.nav nav a[aria-current] { color:var(--text) }
.nav nav a[aria-current] { text-decoration:underline; text-decoration-color:var(--accent); text-underline-offset:6px }
button,input,select { font:inherit }
button { cursor:pointer; padding:8px 14px; border-radius:6px; background:#202836; border:1px solid #3b485b; color:var(--text) }
button:hover { border-color:var(--accent) }
button.primary { background:var(--action); border-color:#4975d5; color:white; font-weight:650 }
button.primary:hover { background:#3a6bc9 }
.quiet { font-size:14px }
.skip { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%) }
.skip:focus { position:fixed; top:4px; left:4px; width:auto; height:auto; z-index:3; background:var(--surface); padding:8px; clip-path:none }
input,select { min-width:0; max-width:100%; background:#10151e; color:var(--text); border:1px solid #404c60; border-radius:6px; padding:9px 11px; font-size:15px }
input::placeholder { color:#98a4b6 }
label { display:block; color:#c2ccdc; font-size:14px; font-weight:600 }
label input,label select { display:block; margin-top:4px }
.catalog-page { padding:32px 0 12px }
.catalog-heading p,.catalog-empty p,.page-head p,.meta,.muted,small,.help { color:var(--muted) }
.catalog-heading p,.catalog-empty p,.page-head p { margin-top:7px }
.catalog-search,.filters { display:flex; align-items:end; gap:12px; margin:22px 0; padding:16px; background:var(--surface); border:1px solid var(--edge); border-radius:9px }
.search-term { flex:1 }
.catalog-search input,.catalog-search select { width:100%; height:42px }
.catalog-search button { min-height:42px; padding-inline:22px }
.results-heading { display:flex; justify-content:space-between; align-items:center; gap:14px; margin:28px 0 14px }
.results-heading span,.item-meta,.pagination span,.availability-label,.small { font-size:13px; color:var(--muted) }
.titles-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(160px,100%),1fr)); gap:16px }
.title-card { display:flex; flex-direction:column; min-width:0; color:var(--text); text-decoration:none; border:1px solid var(--edge); border-radius:8px; overflow:hidden; background:var(--surface) }
.title-card:hover { border-color:#6885ae }
.cover { aspect-ratio:2/3; display:grid; place-items:center; background:#202835; border-bottom:1px solid var(--edge); position:relative }
.cover img { width:100%; height:100%; position:absolute; inset:0; object-fit:cover }
.cover-fallback { color:var(--muted); font-size:13px }
.card-body { padding:11px 13px 15px }
.card-body h3 { margin:3px 0 6px; line-height:1.35; overflow-wrap:anywhere }
.catalog-empty,.empty,.request,.auth { border:1px solid var(--edge); border-radius:8px; padding:24px; background:var(--surface) }
.pagination { display:flex; gap:16px; align-items:center; justify-content:center; margin:22px 0 }
.pagination a { padding:7px 13px; background:var(--surface); border:1px solid var(--edge); border-radius:6px; color:var(--text); text-decoration:none }
.notice { padding:12px 16px; margin:14px 0; background:var(--surface); border:1px solid var(--edge); border-left:3px solid var(--accent); border-radius:5px }
.back { display:inline-block; margin:22px 0 }
.detail { display:grid; grid-template-columns:minmax(140px,205px) 1fr; gap:26px; align-items:start }
.detail .cover { border:1px solid var(--edge); border-radius:7px }
.detail-content h1 { margin:4px 0 }
.detail-content h2 { margin:15px 0 5px; font-size:18px }
.detail-content .small,.trailer { display:inline-block; margin:10px 0 }
.facts { display:grid; gap:5px; margin:12px 0 }
.facts div { display:flex; gap:10px; align-items:baseline; flex-wrap:wrap }
.facts dt { color:var(--muted); font-size:14px }.facts dd { margin:0 }
.availability,.episodes,.backdrop { margin-top:25px }
.availability h2,.episodes h2 { margin-bottom:12px }
.scope { justify-content:space-between; gap:12px; padding:13px 0; border-top:1px solid var(--edge) }
.scope small { display:block }
.scope-actions { gap:14px; flex-wrap:wrap }
.pill { padding:4px 9px; border:1px solid var(--edge); border-radius:6px; font-size:13px; color:#ccd8ef; white-space:nowrap }
.episodes ol { list-style:none; margin:0; padding:0 }
.episodes li { padding:10px 0; border-top:1px solid var(--edge) }
.episodes small { margin-left:12px }
.backdrop img { display:block; max-width:100%; max-height:360px; margin-top:10px }
summary { cursor:pointer; color:var(--accent) }
.page-head { margin:32px 0 22px }
.filters,.decision { flex-wrap:wrap }
.list { display:grid; gap:12px }
.request,.empty { padding:18px }
.request-head { justify-content:space-between; gap:12px }
.eyebrow { font-size:12px; color:var(--muted) }
.request h2 { margin:4px 0 }
.request h2 a { color:inherit }
.request details { margin:12px 0 }
.decision { gap:12px; align-items:end; margin-top:15px; padding-top:15px; border-top:1px solid var(--edge) }
.empty p { margin:8px 0 }
.auth { max-width:445px; margin:40px auto; padding:26px }
.auth h1 { margin-bottom:15px; font-size:30px }
.auth label { margin:14px 0 4px }
.auth input { width:100% }
.auth button { margin:18px 0 12px; width:100% }
.help,.errorlist { font-size:13px }.help ul,.errorlist { padding-left:18px }
.errorlist { color:#ffc5be }
footer { justify-content:space-between; gap:20px; border-top:1px solid var(--edge); margin:44px auto 0!important; padding:18px 0 24px; color:var(--muted); font-size:13px; flex-wrap:wrap }
.credits { max-width:380px }.credits h2 { display:inline; margin-right:6px; font-size:14px }.credits p { font-size:12px; margin-top:3px }
.loading:not(:empty) { position:fixed; bottom:20px; right:20px; padding:10px 16px; z-index:2; border:1px solid var(--edge); background:var(--surface); border-radius:7px }
@media(max-width:680px) {
 .wrap { width:calc(100% - 32px) }.nav { gap:8px 14px; flex-wrap:wrap; padding:12px 0 }.signout { margin-left:auto }
 .nav nav { order:3; width:100%; margin:0; gap:8px 16px; flex-wrap:wrap }
 .catalog-page { padding-top:22px }.catalog-search { flex-wrap:wrap; gap:10px }.search-term { flex-basis:100% }.catalog-search label:not(.search-term) { flex:1 }
 .titles-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px }.card-body { padding:8px }
 .detail { grid-template-columns:1fr; gap:14px }.detail .cover { max-width:135px; width:100% }
 .scope,.request-head { align-items:flex-start; flex-wrap:wrap }.scope-actions { gap:10px }
 .auth { margin-top:22px }.credits { max-width:100% }
}
.catalog-status,.inventory-date { display:block; margin-top:5px; font-size:13px; color:var(--muted) }
.global-state,.inventory-panel,.request-id { display:flex; align-items:center; gap:12px; flex-wrap:wrap }
.global-state { margin:10px 0 }
.inventory-panel { justify-content:space-between; padding:16px; border:1px solid var(--edge); border-radius:8px; background:var(--surface) }
.inventory-panel h2 { font-size:18px; margin-bottom:4px }
.filters .query { flex:1; min-width:150px }.filters .query input { width:100% }
.request-id { flex:1; flex-wrap:nowrap; min-width:0 }
.request-id .cover { flex:0 0 52px; width:52px; border-radius:4px; overflow:hidden }
.request-id .cover-fallback { text-align:center; font-size:10px; line-height:1.2 }
.request-id h2 { overflow-wrap:anywhere }
.request-data { margin-top:16px }
.request-data>strong { margin-right:6px; font-size:14px }.request-data>span { color:var(--muted) }
.part-list,.history ol { margin:10px 0; padding:0; list-style:none }
.part-list li { display:flex; flex-wrap:wrap; justify-content:space-between; gap:6px 14px; border-top:1px solid var(--edge); padding:7px 0 }
.part-list li span:last-child,.history small { color:var(--muted); font-size:14px }
.public-note,.internal { margin-top:8px; overflow-wrap:anywhere; white-space:pre-line }
.internal { color:var(--muted) }
.history li { border-left:2px solid var(--edge); padding:3px 0 7px 12px }
.history small { display:block }
.change { border-top:1px solid var(--edge); padding-top:12px }
.decision { display:grid; grid-template-columns:minmax(130px, .7fr) repeat(2,minmax(150px, 1fr)); align-items:start; margin-top:12px; padding-top:0; border:0 }
.decision .help { grid-column:1/-1 }.decision button { justify-self:start }
.decision select,.decision textarea { width:100% }
textarea { display:block; margin-top:4px; min-width:0; padding:9px 11px; border:1px solid #404c60; border-radius:6px; resize:vertical; color:var(--text); background:#10151e; font-size:15px; line-height:1.4; font-family:inherit }
.admin-entry { margin-top:14px; padding-top:10px; border-top:1px solid var(--edge); font-size:14px }
@media(max-width:680px) {
  .decision { grid-template-columns:1fr }.inventory-panel { align-items:start }.filters label { min-width:0; flex:1 1 44% }.filters .query { flex:1 1 100% }.filters select { width:100% }
  .request-head .pill { white-space:normal }.scope>div { min-width:0 }.request-id { flex-basis:100% }
}

.last-known { display:block; margin:4px 0 0; font-size:12px; line-height:1.4; color:var(--muted) }
.part-list li>div { text-align:right }

:root{--bg:#030712;--surface:#1f2937;--edge:#374151;--text:#f9fafb;--muted:#9ca3af;--action:#2563eb}
.wrap{width:min(1504px,calc(100% - 48px))}
.masthead{background:var(--surface)}.nav{max-width:1200px}
.account{position:relative}.account summary{color:var(--text);white-space:nowrap}.account summary b{border-radius:50%;background:#334155;padding:3px 8px}.account>div{position:absolute;right:0;z-index:3;min-width:170px;display:grid;gap:9px;padding:14px;background:var(--surface);border:1px solid var(--edge);border-radius:8px}
.catalog-heading h1{font-size:30px}.discover-search{display:flex;gap:8px;margin:24px 0}.discover-search input{flex:1;background:var(--surface);min-height:42px}
.categories{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.categories a{--tint:#93c5fd;display:grid;align-content:center;justify-items:center;gap:4px;text-align:center;padding:8px 4px;min-height:88px;text-decoration:none;background:var(--surface);border-radius:12px;border:2px solid color-mix(in srgb,var(--tint) 32%,var(--surface));color:var(--tint);font-size:14px;font-weight:650}.categories a:nth-child(2){--tint:#f87171}.categories a:nth-child(3){--tint:#facc15}.categories a:nth-child(4){--tint:#4ade80}.categories a:nth-child(5){--tint:#818cf8}.categories a:nth-child(6){--tint:#c084fc}.categories span{font-size:23px}.categories [aria-current],.section-title>span{color:white;background:linear-gradient(125deg,#3b82f6,#9333ea)}
.section-title{display:flex;gap:12px;align-items:center;margin:32px 0 20px}.section-title>span{display:grid;place-items:center;border-radius:10px;width:44px;height:44px;font-size:24px}.media-tabs{display:flex;gap:14px;margin:-10px 0 14px;font-size:14px}
.titles-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.title-card{position:relative;border-radius:12px}.type-tag,.rating-tag{position:absolute;top:8px;border-radius:5px;color:white;padding:2px 7px;font-size:12px;font-weight:700}.type-tag{right:8px;background:#2452ab}.rating-tag{left:8px;background:#111c}.card-body{padding:10px}.card-body h3{font-size:15px;margin:0}.availability-label{display:block;font-size:12px}
@media(max-width:900px){.titles-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.categories{grid-template-columns:repeat(3,minmax(0,1fr))}.nav{flex-wrap:wrap;gap:12px}}
@media(max-width:680px){.wrap{width:calc(100% - 28px)}.titles-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.categories{gap:6px}.categories a{font-size:12px;min-height:66px}.nav .account{margin-left:auto}.nav nav{order:2;flex-basis:100%;flex-wrap:wrap}.discover-search{flex-wrap:wrap}.discover-search input{width:55%}.section-title h2{font-size:19px}}
.totals,.actions{display:grid;gap:20px}.totals{grid-template-columns:repeat(4,minmax(0,1fr))}.totals div,.actions a{padding:24px;border-radius:10px}.totals div{background:#2563eb;color:white}.totals div:nth-child(2){background:#986900}.totals div:nth-child(3){background:#15803d}.totals div:nth-child(4){background:#dc2626}.totals strong{display:block;font-size:28px}.actions{grid-template-columns:1fr 1fr;margin-top:24px}.actions a{color:var(--text);background:var(--surface);border:1px solid var(--edge);text-decoration:none;font-weight:650}.actions small{display:block}.actions a:last-child{grid-column:1/-1}.new-link{float:right;background:var(--action);color:white;border-radius:6px;padding:8px 14px;text-decoration:none}.empty{text-align:center}.auth textarea{width:100%}
@media(max-width:680px){.totals,.actions{grid-template-columns:1fr 1fr;gap:8px}.actions a,.totals div{padding:12px}.new-link{float:none;display:inline-block;margin-bottom:8px}}
.admin-summary{overflow-x:auto;margin:12px 0}.admin-summary table{width:100%;border-collapse:collapse;background:var(--surface);font-size:14px}.admin-summary td,.admin-summary th{text-align:left;border-bottom:1px solid var(--edge);padding:10px}.admin-summary th{color:var(--muted)}
.new-page{max-width:896px;margin:auto}.new-page h1{font-size:30px}.mode-row,.new-form,.new-empty{background:var(--surface);padding:16px;border:1px solid var(--edge);border-radius:12px;margin:24px 0}.mode-row,.type-choice{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mode-row a,.type-choice label{display:block;text-align:center;padding:9px;background:#374151;border-radius:7px;color:white;text-decoration:none;cursor:pointer}.type-choice input{display:inline;margin:0}.mode-row [aria-current],.type-choice label:has(:checked){background:#2563eb}.new-form .discover-search{margin:14px 0 6px}.new-empty{padding:48px 12px}.new-empty b{font-size:38px}
.utilities{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:13px}.utilities a,.utilities button{color:inherit;background:none;border:0;text-decoration:none;font-size:19px;padding:2px}
:root[data-theme=light]{color-scheme:light;--bg:#f3f6fa;--surface:white;--text:#172339;--muted:#4b586e;--edge:#c9d3df;--accent:#174ba6}
[data-theme=light] input,[data-theme=light] select,[data-theme=light] textarea,[data-theme=light] button:not(.primary){background:white;color:#172339;border-color:#94a3b8}
[data-theme=light] label,[data-theme=light] .pill{color:#334155}[data-theme=light] .categories a:not([aria-current]){color:#334155}[data-theme=light] .account b{color:white}
@media(max-width:1100px){.nav{flex-wrap:wrap;padding-block:8px}.nav nav{order:3;width:100%;margin:0;flex-wrap:wrap}.utilities{margin-left:auto}.nav .account{margin-left:0}}

/* Controale de navigare: aceeași stare de selecție pentru categorii și filtre. */
.categories a {
  position:relative; display:flex; align-items:center; gap:12px; text-align:left;
  padding:14px; min-height:72px; border-width:1px; border-radius:14px;
  background:linear-gradient(110deg,color-mix(in srgb,var(--tint) 8%,var(--surface)),var(--surface));
}
.category-icon { flex:none; width:36px; height:36px; display:grid; place-items:center;
  border-radius:11px; background:color-mix(in srgb,var(--tint) 13%,var(--surface)); }
.category-icon svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.8;
  stroke-linecap:round; stroke-linejoin:round; }
.categories [aria-current] { background:linear-gradient(118deg,#3049ab,#6333a7); color:white;
  border-color:#ac99fa; box-shadow:inset 0 -3px #baa9ff; }
.categories [aria-current] .category-icon { background:#ffffff25; }
.categories a:hover { border-color:var(--tint); }
.media-tabs,.queues { display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.media-tabs a,.queues a,.bookmark-form button { display:inline-flex; align-items:center; gap:8px;
  border:1px solid var(--edge); border-radius:999px; padding:7px 12px; color:var(--text);
  background:var(--surface); text-decoration:none; font-size:14px; font-weight:600; }
.media-tabs a[aria-current],.queues a[aria-current] { color:white; background:#364fa1; border-color:#829ce9; }
.queues { margin:20px 0 12px; }.queues b { border-radius:5px; background:#8882; padding:0 5px; font-size:12px; }
.title-card:hover,.title-card:focus-visible { border-color:#93a8ef; box-shadow:0 6px 20px #0003; }
button.primary,.new-link { border-radius:10px; background:#335ad0; color:white; font-weight:650; }
.bookmark-form { margin:12px 0; }.bookmark-form button:hover,.queues a:hover,.media-tabs a:hover { border-color:var(--accent); }
.saved-card { overflow:hidden; border:1px solid var(--edge); border-radius:12px; background:var(--surface); }
.saved-card a { color:var(--text); text-decoration:none; }.saved-card h2,.saved-card form { padding:10px; }.saved-card h2{font-size:17px}
.request .pill { display:inline-flex; align-items:center; gap:6px; }.pill[data-state]::before {content:'';width:8px;height:8px;border-radius:50%;background:#fbbf24}
.pill[data-state="Aprobată"]::before,.pill[data-state="Adăugată"]::before {background:#34d399}.pill[data-state="Respinsă"]::before {background:#fb7185}
@media(min-width:1101px){.nav{max-width:1504px}.nav nav{gap:14px}}
@media(max-width:680px){.categories a{display:grid;justify-items:start;align-content:start;padding:10px;gap:5px;min-height:80px}.category-icon{width:28px;height:28px}.category-icon svg{width:17px;height:17px}.media-tabs a,.queues a{min-height:40px}.queues{gap:5px}}
.public-table{width:100%;border-collapse:collapse;background:var(--surface);border-radius:12px;overflow:hidden}.public-table :is(td,th){text-align:left;padding:12px 16px;border-bottom:1px solid var(--edge)}.public-table th{font-size:13px;color:var(--muted)}.public-media,.public-links{display:flex;align-items:center;gap:14px}.public-media .cover{width:58px;border-radius:6px;overflow:hidden}.public-media strong{color:var(--text)}.public-media small{display:block}.public-links{flex-wrap:wrap}.public-date{display:none}
@media(max-width:680px){.public-table,.public-table tbody{display:block;background:transparent}.public-table thead{display:none}.public-table tr{display:grid;grid-template-columns:auto 1fr;gap:10px;padding:14px;margin-bottom:12px;background:var(--surface);border-radius:12px}.public-table td{padding:0;border:0}.public-table td:first-child,.public-table td:last-child{grid-column:1/-1}.public-date{display:inline}.public-table td:nth-child(3){font-size:12px;color:var(--muted)}}

.brand-logo { display:block; width:112px; max-width:100%; height:auto }
@media(max-width:680px) { .brand-logo { width:94px } }

.guest-page { display:flex; flex-direction:column; min-height:100svh }
.guest-page .brand-logo { width:138px }
.guest-page main { flex:1; display:flow-root }
.guest-page .auth { margin:clamp(32px,9vh,90px) auto 38px; border-radius:14px; padding:clamp(22px,3vw,32px) }
.guest-page footer { margin-top:0!important }
@media(max-width:680px) {
  .guest-page .brand-logo { width:116px }
  .guest-page .auth { margin:24px auto 32px }
}

/* Identitatea comună și spațiul de lucru al redacției. */
:root{--bg:#0a0d17;--surface:#171e30;--edge:#344158;--text:#f4f5fa;--muted:#afbbce;--accent:#a8baff;--action:#4846be;--hot:#ffc278;--cool:#70dfcc}
:root[data-theme=light]{--bg:#f3f4fa;--surface:#fff;--edge:#c7ccda;--text:#192237;--muted:#48566c;--accent:#4043a6;--hot:#8a4300;--cool:#006a5a}
body{background:radial-gradient(ellipse 90% 22rem at 30% 0%,color-mix(in srgb,var(--accent) 7%,transparent),transparent),var(--bg)}
.masthead{background:var(--surface);border-bottom:1px solid var(--edge)}
.masthead .nav{display:flex;gap:clamp(12px,2vw,32px);min-height:62px;flex-wrap:nowrap}
.masthead .nav nav{order:0;width:auto;flex-wrap:nowrap;margin:0;gap:4px}
.nav nav>a,.nav-more summary{padding:7px 11px;border-radius:8px;text-decoration:none;font-weight:600;white-space:nowrap;color:var(--muted)}
.masthead .nav nav a:hover,.masthead .nav nav a:focus-visible,.nav-more summary:hover,.nav-more summary:focus-visible{background:color-mix(in srgb,var(--accent) 10%,transparent)}
.nav nav a[aria-current]{background:color-mix(in srgb,var(--accent) 17%,var(--surface));text-decoration:none;color:var(--text)}
.nav-more{position:relative}.nav-more summary{list-style:none;cursor:pointer;font-size:14px}.nav-more summary:after{content:'⌄';margin-left:4px}
.nav-more div,.account>div{position:absolute;z-index:10;min-width:180px;padding:8px;background:var(--surface);border:1px solid var(--edge);border-radius:12px;box-shadow:0 12px 26px #0004}
.nav-more div{right:0;display:grid}.nav-more a{padding:9px}.masthead .utilities{margin-left:auto}.account summary{list-style:none}
button.primary,.new-link{background:linear-gradient(110deg,#4b49c4,#6540b2);color:white;border-color:#8070de}
button.primary:hover,.new-link:hover{background:#4943ba}.title-card,.request,.filters,.auth,.saved-card{border-radius:14px}
.workbench{max-width:1140px;margin:auto}.section-kicker{font-size:11px;letter-spacing:.14em;font-weight:750;color:var(--hot)}.workbench .page-head{margin:28px 0 18px}.workbench h1{font-size:clamp(28px,3.4vw,40px);margin-top:5px}
.vod-strip,.filter-drawer,.table-drawer{border-radius:10px;border:1px solid var(--edge);background:var(--surface);margin:10px 0}
.vod-strip summary,.filter-drawer summary,.table-drawer summary{padding:10px 14px;font-size:14px;color:var(--text);cursor:pointer}
.vod-strip summary span{margin-left:10px;color:var(--muted)}.vod-strip summary strong{color:var(--cool)}.vod-strip>div{padding:0 14px 12px}
.workbench .filter-title{font-size:16px;margin:20px 0 8px}.workbench .queues{margin:0 0 12px;gap:6px}.queues a{border-radius:8px;padding:6px 9px;font-size:13px}
.queues a[aria-current]{background:#35386a;border-color:#8988d1;color:#fff}.queues a[aria-current] b{background:#ffffff24}
.filter-drawer .filters{margin:0;border:0;padding:0 14px 14px}.list-count{font-size:14px;color:var(--muted);margin:15px 0 8px}
.request{border-inline-start:3px solid color-mix(in srgb,var(--accent) 70%,var(--surface))}.request h2 a{text-decoration:none}
.decision button[value="Respinsă"]{border-color:#ae6574;color:var(--text)}.decision button[value="Aprobată"]{border-color:#508f83;color:var(--text)}
.totals div{background:var(--surface);border:1px solid var(--edge);border-top:3px solid var(--accent);color:var(--text)}.totals div:nth-child(2){border-top-color:var(--hot)}.totals div:nth-child(3){border-top-color:var(--cool)}.totals div:nth-child(4){border-top-color:#de829b}
@media(max-width:850px){
 .masthead .nav{flex-wrap:wrap;padding:8px 0;gap:4px 12px}.masthead .nav nav{order:3;width:100%;justify-content:flex-start;gap:2px}
 .nav nav>a,.nav-more summary{font-size:13px;padding:8px 6px}.masthead .account{margin:0}.brand-logo{width:96px}
}
@media(max-width:520px){
 .masthead .nav nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
 .nav nav>a,.nav-more summary{text-align:center;font-size:12px;padding:6px 3px}
 .nav-more div{right:auto;left:0}.workbench .page-head{margin:20px 0 14px}
 .workbench .queues{flex-wrap:nowrap;overflow:auto;padding:2px 1px 6px}.workbench .queues a{flex:none;white-space:nowrap}
 .workbench .request{padding:14px}.vod-strip summary,.filter-drawer summary,.table-drawer summary{min-height:42px}.account summary{font-size:14px}
}
.workbench .page-head{position:relative;padding-left:17px}
.workbench .page-head::before{content:"";position:absolute;inset:3px auto 3px 0;width:4px;border-radius:8px;background:linear-gradient(var(--hot),#d381b9,#8797f5)}
.workbench .queues a[aria-current]{background:#ffd09d;color:#312034;border-color:#ffd09d}.workbench .queues a[aria-current] b{background:#4023351a}
.workbench .request{background:linear-gradient(110deg,color-mix(in srgb,var(--accent) 6%,var(--surface)),var(--surface) 45%)}
.workbench .request .change>summary{display:inline-block;border-radius:8px;background:#4943a7;color:#fff;padding:7px 12px}
.totals div:nth-child(n){background:var(--surface);color:var(--text)}

/* Laguna: petrol și mentă. */
:root{--bg:#082e2b;--surface:#12423d;--edge:#38645d;--text:#f0fff9;--muted:#b6d5cb;--accent:#64e3c6;--action:#64e3c6;--hot:#8bebd2;--cool:#ace7bc;--ink:#092e29;--paper:#12423d;--well:#0d3632;--selected:#196656;--hover:#98f3da;--ledger-text:#f0fff9;--ledger-muted:#b6d5cb}
:root[data-theme=light]{--bg:#f5eee3;--surface:#fffaf3;--edge:#c9b9a8;--text:#302620;--muted:#69594e;--accent:#9c3522;--action:#ff9776;--hot:#9a4225;--cool:#316444;--ink:#301810;--paper:#eee1cb;--well:#fffaf5;--selected:#994432;--hover:#ffb69c;--ledger-text:#392d24;--ledger-muted:#5d4f41}
body{background:var(--bg)}.masthead{background:var(--surface)}
input,select,textarea,button,.cover,.mode-row a,.type-choice label{background:var(--well);color:var(--text);border-color:var(--edge)}
label,.pill{color:var(--text)}.account summary b,.profile-page .profile-avatar{background:var(--selected);color:#fff}
button.primary,.new-link,.ticket,.workbench .request .change>summary{background:var(--action);color:var(--ink);border-color:transparent}
button.primary:hover,.new-link:hover,.ticket:hover{background:var(--hover);color:var(--ink)}
.categories [aria-current],.media-tabs a[aria-current],.mode-row [aria-current],.type-choice label:has(:checked),.queues a[aria-current],.workbench .queues a[aria-current],.section-title>span{background:var(--selected);color:#fff;border-color:var(--accent);box-shadow:none}
.categories a:nth-child(n){--tint:var(--accent)}.type-tag{background:var(--selected)}.workbench .page-head::before{background:linear-gradient(var(--hot),var(--selected))}
.masthead .wide-links{display:contents}.masthead .nav-more{display:none}
.wide-links>a{padding:7px 8px;border-radius:8px;font-weight:600;white-space:nowrap}
.masthead .nav nav{flex-wrap:wrap;row-gap:2px}.nav .utilities{flex-shrink:0}.nav .account{flex-shrink:0}
@media(min-width:681px) and (max-width:1240px){.masthead .nav{flex-wrap:wrap;padding-block:8px;gap:4px 14px}.masthead .nav nav{order:3;width:100%}}
@media(max-width:680px){.masthead .wide-links{display:none}.masthead .nav-more{display:block}}
.lobby{max-width:1050px;margin:clamp(25px,5vw,64px) auto}.lobby-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:26px}
.lobby-head small{color:var(--accent);letter-spacing:.16em;font-size:11px;font-weight:750}.lobby-head h1{font-size:clamp(28px,4vw,46px);margin:6px 0;overflow-wrap:anywhere}.ticket{display:inline-flex;align-items:center;gap:9px;padding:12px 21px;text-decoration:none;font-weight:750;border-radius:10px;white-space:nowrap}.ticket span{font-size:20px}
.ledger{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:var(--paper);border-radius:14px;padding:22px 0;color:var(--ledger-text)}.ledger div{padding:2px clamp(14px,3vw,32px);border-inline-end:1px dashed var(--edge)}.ledger div:last-child{border:0}.ledger strong,.ledger small{display:block}.ledger strong{font-size:32px;line-height:1.15;font-variant-numeric:tabular-nums}.ledger small{color:var(--ledger-muted);margin-top:4px}
.lobby h2{margin:28px 0 14px;font-size:20px}.lobby-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.lobby-actions a{display:flex;align-items:center;gap:14px;padding:18px;border:1px solid var(--edge);border-radius:12px;background:var(--surface);color:var(--text);text-decoration:none}.lobby-actions a:hover,.lobby-actions a:focus-visible{border-color:var(--accent)}.lobby-actions i{font:600 22px/1 system-ui;color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,var(--surface));border-radius:10px;display:grid;place-items:center;width:40px;height:40px;flex:none}.lobby-actions small{display:block;color:var(--muted)}.lobby-actions b{margin-left:auto;color:var(--accent)}.lobby-actions .desk{border-inline-start:3px solid var(--hot)}
@media(max-width:650px){.lobby-head{align-items:flex-start;flex-direction:column;gap:10px}.ledger{grid-template-columns:1fr 1fr;row-gap:16px}.ledger div:nth-child(2){border:0}.lobby-actions{grid-template-columns:1fr}.lobby-actions a{padding:14px}}

/* Laguna de seară: fundal neutru, culoare concentrată în comenzile panoului. */
:root:not([data-theme="light"]){--bg:#0c1015;--surface:#18212b;--edge:#374452;--well:#111a22;--paper:#1b2933;--muted:#b2c0ca;--text:#f2f6f8;--selected:#225259}
.lobby [data-tone=blue]{--tone:#78b5ff}
.lobby [data-tone=amber]{--tone:#ffd073}
.lobby [data-tone=mint]{--tone:#66e2bd}
.lobby [data-tone=rose]{--tone:#ff8fa9}
.lobby [data-tone=violet]{--tone:#bc9aff}
.lobby [data-tone=danger]{--tone:#ff5555}
.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0}
.metric{position:relative;overflow:hidden;min-width:0;padding:17px 19px;background:linear-gradient(135deg,color-mix(in srgb,var(--tone) 10%,var(--surface)),var(--surface));border:1px solid var(--edge);border-radius:14px}
.metric:after{content:"";position:absolute;bottom:0;left:19px;width:38px;height:3px;background:var(--tone);border-radius:4px 4px 0 0}
.metric dt{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:650;color:var(--text)}
.metric svg{width:20px;height:20px;fill:none;stroke:var(--tone);stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
.metric dd{text-align:center;margin:10px 0 0;font-size:35px;font-weight:750;font-variant-numeric:tabular-nums;line-height:1}
.lobby-actions a[data-tone]{background:linear-gradient(112deg,color-mix(in srgb,var(--tone) 23%,var(--surface)),color-mix(in srgb,var(--tone) 8%,var(--surface)));border:1px solid color-mix(in srgb,var(--tone) 42%,var(--edge))}
.lobby-actions [data-tone] i{background:var(--tone);color:#121a20}
.lobby-actions [data-tone] b{color:var(--tone)}
.lobby-actions a[data-tone]:is(:hover,:focus-visible){border-color:var(--tone);background:color-mix(in srgb,var(--tone) 24%,var(--surface))}
:root[data-theme=light] .metric svg,:root[data-theme=light] .lobby-actions [data-tone] b{color:color-mix(in srgb,var(--tone) 45%,#111);stroke:currentColor}
@media(max-width:680px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.metric{padding:14px}.metric dd{font-size:29px}.metric dt{font-size:13px}.metric:after{left:14px}}

/* Același cadru pentru antet, panou și catalog pe ecranele mari. */
.wrap,.masthead .wrap.nav{width:calc(100% - clamp(28px,6vw,128px));max-width:1920px}
.lobby,.workbench{max-width:none}.lobby{margin-block:clamp(24px,3vw,52px)}
.lobby-actions a{padding:clamp(16px,1.6vw,28px)}.lobby-actions strong{font-size:clamp(16px,1.1vw,21px)}
.metric{padding:clamp(16px,1.5vw,26px)}.metric dt{font-size:clamp(14px,1vw,18px)}.metric dd{font-size:clamp(32px,2.6vw,48px)}
.metric::after{inset:auto 0 0;width:auto;height:4px;border-radius:0}
.masthead .nav{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px}
.masthead .brand{justify-self:start}.nav-tools{display:flex;align-items:center;justify-self:end;gap:14px;min-width:0}
.masthead .nav nav{justify-self:center;justify-content:center;order:0;width:auto;margin:0}
.nav nav a{font-size:clamp(14px,.92vw,17px)}.nav-tools .account{max-width:clamp(90px,8vw,160px)}.nav-tools .account summary{overflow:hidden;text-overflow:ellipsis}
@media(max-width:1399px){.masthead .nav{grid-template-columns:minmax(0,1fr) auto;padding:8px 0;row-gap:4px}.masthead .nav nav{grid-area:2/1/3/-1;justify-content:center;width:100%}.nav-tools{grid-area:1/2}}
@media(max-width:680px){.masthead .nav nav{display:flex;flex-wrap:wrap;gap:2px}.nav nav>a,.nav-more summary{padding:8px 5px}.nav-more div{left:auto;right:0}.nav-tools .account{max-width:110px}}
@media(min-width:1600px){.titles-grid{gap:20px}.catalog-heading h1,.workbench h1{font-size:40px}.card-body h3{font-size:18px}}

[data-category=trending],[data-page=administrare],[data-page=activitate]{--section-tone:#bd9dff}
[data-category=cinema],[data-page=noua]{--section-tone:#ffa177}
[data-category=top-filme],[data-page=salvate]{--section-tone:#ffd073}
[data-category=populare],[data-page=cereri],[data-page=publice]{--section-tone:#78b5ff}
[data-category=top-seriale],[data-page=probleme],[data-page=problema_noua]{--section-tone:#ff8fa9}
[data-category=curand],[data-page=profil],[data-page=titlu]{--section-tone:#66e2bd}
.categories a[data-category]{--tint:var(--section-tone);background:linear-gradient(115deg,color-mix(in srgb,var(--tint) 20%,var(--surface)),var(--surface));color:var(--text);border-color:color-mix(in srgb,var(--tint) 54%,var(--edge))}
.categories a[data-category] .category-icon,.catalog-page .section-title>span{background:var(--section-tone,var(--accent));color:#151923}
.categories a[data-category][aria-current]{border:2px solid var(--tint);box-shadow:inset 0 -3px var(--tint)}
.catalog-page .section-title h2{color:var(--text)}.catalog-page .media-tabs [aria-current]{border-color:var(--section-tone,var(--accent))}
main[data-page] .page-head h1,main[data-page] .profile-head,.detail-content h1{border-inline-start:4px solid var(--section-tone,var(--accent));padding-inline-start:14px}
.workbench .page-head h1{border:0!important;padding:0!important}.workbench .page-head:before{background:var(--section-tone,var(--accent))}
.public-links a,.profile-actions a,.saved-card,.filters{border-color:color-mix(in srgb,var(--section-tone,var(--accent)) 42%,var(--edge))}
.public-links a{border-width:1px;border-style:solid;border-radius:8px;padding:4px 9px;text-decoration:none}
.request .pill[data-state],.public-table .pill[data-state]{--state:#ffd073;border-color:color-mix(in srgb,var(--state) 55%,var(--edge));background:color-mix(in srgb,var(--state) 14%,var(--surface));color:var(--text)}
.pill:is([data-state="Aprobată"],[data-state="Adăugată"]){--state:#66e2bd!important}.pill[data-state="Respinsă"]{--state:#ff7288!important}.pill[data-state="În pregătire"]{--state:#78b5ff!important}
/* Proporții comune pentru paginile portalului. */
body{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
body>main.wrap{flex:1 0 auto}
body>footer.wrap{flex:none}
.wrap,.masthead .wrap.nav{width:calc(100% - clamp(28px,5vw,80px));max-width:1440px}
.catalog-page .catalog-heading,.workbench .page-head,.lobby-head{margin:0 0 20px}
.catalog-page,.workbench,.lobby{margin-block:clamp(20px,2vw,32px) 0}
.catalog-heading h1,.workbench .page-head h1,.lobby-head h1{font-size:clamp(28px,2.5vw,38px);line-height:1.15;margin:0}
.workbench .page-head{padding-left:0}.workbench .page-head::before{display:none}
.catalog-heading p,.workbench .page-head p{margin:8px 0 0}
.categories a[data-category]{background:var(--surface);border:1px solid var(--edge)}
.categories a[data-category][aria-current]{border:1px solid var(--tint);box-shadow:inset 0 -2px var(--tint);background:color-mix(in srgb,var(--tint) 8%,var(--surface))}
@media(min-width:681px){.catalog-page .titles-grid{grid-template-columns:repeat(auto-fill,minmax(184px,1fr));gap:16px}}

/* Navigare și acțiuni comune. */
.masthead .nav nav a,.masthead .nav-more summary{font-weight:450;font-size:.9375rem;line-height:1.4}
.masthead .nav nav a[aria-current]{background:transparent;font-weight:550;box-shadow:inset 0 -2px var(--accent);border-radius:0}
.browse-types{display:flex;gap:16px;margin:-6px 0 16px}
.browse-types a{color:var(--muted);text-underline-offset:4px}
.browse-types a:is(:hover,[aria-current]){color:var(--accent)}
.lobby .ticket,.workbench .new-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 15px;border:1px solid color-mix(in srgb,var(--accent) 50%,var(--edge));border-radius:9px;background:var(--surface);color:var(--text);font-size:15px;font-weight:550;line-height:1.3}
.ticket svg,.new-link svg{color:var(--accent);flex:none}
.lobby .ticket:hover,.workbench .new-link:hover{background:color-mix(in srgb,var(--accent) 12%,var(--surface));border-color:var(--accent)}

.utilities .notice-count{display:inline-block;padding:1px 5px;border-radius:8px;background:var(--accent);color:var(--ink);font-size:12px}

.catalog-page .discover-search{display:flex;flex-wrap:wrap;align-items:center;max-width:54rem;gap:8px}
.catalog-page .discover-search input{min-width:0;flex:1 1 13rem}
.catalog-page .discover-search button{min-height:44px;padding-inline:18px;background:var(--surface);color:var(--text);border:1px solid var(--accent)}
.issue-compose,.issues-list{margin:28px auto;width:100%}
.issue-compose{max-width:42rem;padding:clamp(18px,3vw,32px);background:var(--surface);border:1px solid var(--edge);border-radius:14px}
.issue-compose h1,.issue-heading h1{font-size:clamp(26px,3vw,36px);margin:12px 0 4px}
.issue-compose p,.issue-heading p,.issue-empty p{color:var(--muted);margin:0 0 16px}
.issue-field{display:grid;gap:5px;margin-block:14px}.issue-field :is(input,select,textarea){width:100%;min-width:0}.issue-field textarea{height:7rem;resize:vertical}
.report-action{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 15px;border-radius:9px;border:1px solid #c95e66;background:var(--surface);color:var(--text);font-weight:550;text-decoration:none}
.report-action:hover{background:color-mix(in srgb,#e85865 20%,var(--surface))}
.issues-list{max-width:72rem}.issue-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.issue-filters{display:grid;grid-template-columns:2fr 1fr 1fr auto;align-items:end;gap:12px;padding:16px;background:var(--surface);border:1px solid var(--edge);border-radius:12px;margin:16px 0}
.issue-filters label{display:grid;gap:4px;min-width:0}.issue-filters :is(input,select){width:100%;min-width:0}
.issue-empty{padding:22px;border-inline-start:3px solid #ff8fa9;background:var(--surface);border-radius:8px}
.issue-empty p{margin:4px 0 0}
@media(max-width:700px){.issue-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.issue-filters label:first-child{grid-column:1/-1}.issue-filters button{grid-column:1/-1}}

/* Acțiunile de căutare, filtrare și raportare urmăresc butonul Cerere nouă. */
:is(.filters,.issue-filters,.discover-search) button,.filters>a,.issues-list .report-action,.issue-compose .report-action,.catalog-page .discover-search button {
 --control-accent:var(--accent);display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 15px;border:1px solid color-mix(in srgb,var(--control-accent) 50%,var(--edge));border-radius:9px;background:var(--surface);color:var(--text);font:550 15px/1.3 system-ui,sans-serif;text-decoration:none;
}
.issues-list .report-action,.issue-compose .report-action{--control-accent:#ed7480}
.filters>a{--control-accent:var(--muted)}
:is(.filters,.issue-filters,.discover-search,.report-action) svg{flex:none;color:var(--control-accent,var(--accent))}
:is(.filters,.issue-filters,.discover-search) :is(button,a):hover,.report-action:hover{background:color-mix(in srgb,var(--control-accent,var(--accent)) 12%,var(--surface))}
.filters input,.filters select{font-weight:400}

.server-badge{display:inline-flex;align-items:center;gap:7px;width:fit-content;padding:5px 10px;border:1px solid #a65060;border-radius:99px;background:#301e27;color:#ff9ca8;font-size:14px;font-weight:650}
:root[data-theme=light] .server-badge{background:#fff1f3;color:#932c40}
.saved-card>.server-badge{margin:4px 10px}
.request-controls{margin:12px 0 16px;padding:12px 16px;max-width:58rem;border:1px solid var(--edge);border-radius:10px;background:var(--surface)}
.request-controls summary{cursor:pointer;font-weight:600;color:var(--text)}
.request-controls summary span{margin-left:8px;color:var(--muted);font-size:.875em}
.decision .scope-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:8px}
@media(max-width:680px){.decision .scope-actions button{flex:1 1 10rem}}

.inbox{max-width:64rem}.inbox-bar,.inbox-card{display:flex;gap:16px;padding:16px;border:1px solid var(--edge);border-radius:12px;background:var(--surface);margin-bottom:12px}
.inbox-bar{align-items:center;justify-content:space-between;flex-wrap:wrap}.inbox-bar small{display:block;color:var(--muted)}
.inbox .inbox-ack{background:var(--action);color:var(--ink);border:0;font-weight:600;min-height:44px}
.inbox-poster{flex:0 0 clamp(52px,9vw,78px);align-self:flex-start;aspect-ratio:2/3;border-radius:6px;overflow:hidden;background:var(--well);display:grid;place-items:center}
.inbox-poster img{width:100%;height:100%;object-fit:cover}.inbox-body{min-width:0;overflow-wrap:anywhere}.inbox-body h2{font-size:1.2rem;margin:4px 0}.inbox-body small b{color:var(--accent)}
.decision-message{max-width:68ch;margin:10px 0;padding:10px 14px;border-inline-start:3px solid #e78392;background:var(--well);border-radius:6px;overflow-wrap:anywhere}
.decision-message strong{font-size:.85rem;color:var(--muted)}.decision-message p{margin:3px 0;white-space:pre-line}.public-table .decision-message{white-space:normal}

.pill[data-state],.request .pill[data-state],.public-table .pill[data-state]{--state:#ffd073;color:var(--state);border-color:color-mix(in srgb,var(--state) 56%,var(--edge));background:color-mix(in srgb,var(--state) 12%,var(--surface))}
.pill[data-state]::before{background:var(--state)}
:root[data-theme=light] .pill[data-state]{color:color-mix(in srgb,var(--state) 34%,#172028)}
