:root{
  --bg:#f6f5f2;
  --bg-2:#ecefeb;
  --surface:#ffffff;
  --surface-soft:#fafaf8;
  --surface-strong:#f1f4f1;
  --ink:#1d2228;
  --ink-strong:#070b10;
  --muted:#6b737c;
  --muted-2:#929aa3;
  --line:#e0e3e0;
  --line-strong:#cdd4cf;
  --accent:#078a78;
  --accent-strong:#056f61;
  --accent-soft:#e5f6f2;
  --accent-tint:#f1fbf8;
  --danger:#b42318;
  --danger-soft:#fff1ef;
  --ok:#087a53;
  --ok-soft:#e7f6ee;
  --warn:#b65c00;
  --warn-soft:#fff5e6;
  --info:#3154a3;
  --info-soft:#eef4ff;
  --nav:#0c131a;
  --nav-2:#111b24;
  --nav-line:#22303b;
  --nav-text:#d8e0e7;
  --nav-muted:#8e9aa6;
  --radius:8px;
  --shadow:0 1px 2px rgba(15,23,42,.05),0 16px 40px rgba(15,23,42,.07);
  --shadow-soft:0 1px 2px rgba(15,23,42,.04),0 8px 20px rgba(15,23,42,.04);
}

*{box-sizing:border-box}
html{background:var(--bg)}
body{
  margin:0;
  min-height:100vh;
  background:
    linear-gradient(135deg,rgba(255,255,255,.84),rgba(255,255,255,0) 360px),
    linear-gradient(180deg,var(--bg),#f8f8f6 560px);
  color:var(--ink);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:14px;
  line-height:1.48;
  letter-spacing:0;
}
a{color:inherit}
code{
  font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace;
  font-size:12px;
  color:#344054;
  word-break:break-all;
}

.shell{min-height:100vh;display:flex;align-items:flex-start}
.sidebar{
  width:232px;
  min-height:100vh;
  height:100vh;
  position:fixed;
  left:0;
  top:0;
  overflow:auto;
  padding:28px 14px 20px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,0) 240px),
    linear-gradient(180deg,var(--nav),#080e14);
  color:var(--nav-text);
  display:flex;
  flex-direction:column;
  gap:30px;
  border-right:1px solid rgba(255,255,255,.07);
}
.brand{
  color:#fff;
  text-decoration:none;
  font-size:20px;
  line-height:1;
  font-weight:850;
  letter-spacing:-.01em;
  padding:6px 12px;
  background:linear-gradient(90deg,#fff 0 56%,#55d6c8 56% 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.brand::after{content:"";display:block;width:34px;height:2px;background:var(--accent);border-radius:99px;margin-top:12px}
.sidebar nav{display:grid;gap:8px}
.sidebar a,.logout button{
  min-height:44px;
  width:100%;
  display:flex;
  align-items:center;
  gap:0;
  padding:0 12px;
  color:var(--nav-text);
  background:transparent;
  border:0;
  border-radius:8px;
  text-align:left;
  text-decoration:none;
  font:inherit;
  font-size:14px;
  font-weight:720;
  cursor:pointer;
  white-space:nowrap;
}
.sidebar a:hover,.logout button:hover{background:rgba(255,255,255,.07);color:#fff}
.sidebar a.active{
  background:rgba(255,255,255,.1);
  color:#6ee7d8;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);
}
.logout{
  margin-top:auto;
  padding-top:18px;
  border-top:1px solid var(--nav-line);
  display:grid;
  gap:8px;
}

.content{
  flex:1;
  width:calc(100% - 232px);
  max-width:1500px;
  margin-left:232px;
  padding:30px 32px 48px;
}
.content-login{
  width:100%;
  max-width:none;
  min-height:100vh;
  margin-left:0;
  display:grid;
  place-items:center;
  padding:28px;
}

.page-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:22px;
}
.page-kicker{
  margin:0 0 6px;
  color:var(--muted);
  font-size:13px;
  font-weight:720;
}
h1{font-size:30px;line-height:1.08;margin:0;font-weight:820;color:var(--ink-strong);letter-spacing:-.02em}
h2{font-size:16px;line-height:1.3;margin:0 0 14px;font-weight:780;color:var(--ink-strong)}
h3{font-size:14px;line-height:1.35;margin:0;font-weight:780;color:var(--ink-strong)}
p{margin:0 0 10px}.compact{margin-top:16px}
.muted{color:var(--muted)}.error{color:var(--danger)}.ok{color:var(--ok)}

.panel,.form-card,.editor,.table-wrap,.danger-zone,.soft-panel,.work-card,.publish-panel,.source-column,.playlist-canvas,.quick-panel{
  background:rgba(255,255,255,.94);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-soft);
}
.panel,.form-card,.editor,.danger-zone,.soft-panel{padding:18px}
.quick-panel{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px;
  margin-bottom:16px;
  background:linear-gradient(180deg,#ffffff,#f7fbf9);
}
.quick-panel h2{margin-bottom:4px}
.quick-actions,.inline-form,.save-dock{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.inline-form select{width:auto;min-width:180px}
.flow-editor{gap:16px}
.form-section{
  display:grid;
  gap:14px;
}
.form-advanced{box-shadow:none}
.save-dock{
  position:sticky;
  bottom:14px;
  z-index:12;
  padding:12px;
  border:1px solid var(--line);
  border-radius:8px;
  background:rgba(255,255,255,.94);
  box-shadow:var(--shadow);
}
.table-wrap{padding:0;overflow:visible}
.soft-panel{background:rgba(255,255,255,.7)}
.two-col{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}

.task-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-bottom:18px;
}
.task-card{
  display:flex;
  align-items:center;
  gap:14px;
  min-height:114px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--surface);
  text-decoration:none;
  box-shadow:var(--shadow-soft);
}
.task-card:hover{border-color:#b8dcd4;background:var(--accent-tint)}
.task-card strong{display:block;font-size:17px;color:var(--ink-strong);margin-bottom:4px}
.task-card span{color:var(--muted);font-size:13px}
.task-icon{
  width:42px;
  height:42px;
  border-radius:8px;
  display:grid;
  place-items:center;
  background:var(--accent-soft);
  color:var(--accent);
  font-weight:850;
}

.metric-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:12px;
  margin-bottom:18px;
}
.metric-grid div{
  min-height:92px;
  padding:15px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:8px;
  box-shadow:var(--shadow-soft);
}
.metric-grid span{display:block;color:var(--muted);font-size:12px;font-weight:760}
.metric-grid strong{display:block;margin-top:10px;font-size:28px;line-height:1;color:var(--ink-strong);font-weight:830}

.workspace{
  display:grid;
  grid-template-columns:282px minmax(460px,1fr) 310px;
  gap:14px;
  align-items:start;
}
.source-column,.playlist-canvas,.publish-panel{
  min-height:calc(100vh - 110px);
  padding:16px;
}
.source-column{background:rgba(255,255,255,.76)}
.column-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:16px;
}
.source-stack{display:grid;gap:8px}
.source-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px;
  border:1px solid transparent;
  border-radius:8px;
  color:var(--ink);
  text-decoration:none;
}
.source-card:hover,.source-card.active{background:#edf8f5;border-color:#c9eee5}
.source-card strong{display:block;color:var(--ink-strong)}
.source-card small{display:block;color:var(--muted);font-size:12px;margin-top:2px}
.source-count{color:var(--muted);font-weight:720}

.playlist-canvas{background:rgba(255,255,255,.86)}
.canvas-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}
.canvas-actions{display:flex;gap:8px;align-items:center}
.hint-box{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--surface-soft);
  color:var(--muted);
  margin-bottom:14px;
}
.playlist-sections{display:grid;gap:12px}
.playlist-section{
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--surface);
  overflow:hidden;
}
.section-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:11px 12px;
  background:var(--surface-soft);
  border-bottom:1px solid var(--line);
}
.section-title{display:flex;align-items:center;gap:8px;font-weight:800;color:var(--ink-strong)}
.section-title span{color:var(--muted);font-weight:680}
.channel-row{
  display:grid;
  grid-template-columns:28px minmax(0,1fr) auto auto;
  align-items:center;
  gap:12px;
  padding:12px;
  border-bottom:1px solid var(--line);
}
.channel-row:last-child{border-bottom:0}
.channel-row:hover{background:#fbfcfa}
.drag-handle,.drag-dot{
  min-width:28px;
  width:28px;
  height:28px;
  padding:0;
  display:grid;
  place-items:center;
  color:var(--muted-2);
  background:transparent;
  border:0;
  cursor:grab;
  box-shadow:none;
}
.drag-handle::before,.drag-dot::before{content:"::";font-weight:900;letter-spacing:-2px;transform:rotate(90deg)}
.channel-title strong{display:block;font-size:14px;color:var(--ink-strong)}
.channel-title small{display:block;color:var(--muted);font-size:12px;margin-top:2px}
.drop-zone{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:72px;
  border:1px dashed var(--line-strong);
  border-radius:8px;
  color:var(--muted);
  background:rgba(255,255,255,.58);
}
.publish-panel{
  position:sticky;
  top:26px;
  background:rgba(255,255,255,.9);
}
.export-field{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:46px;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--surface-soft);
}
.export-field code{flex:1;color:var(--muted)}
.check-list{display:grid;gap:12px;margin:18px 0 0;padding:0;list-style:none}
.check-list li{display:flex;align-items:center;gap:10px;color:var(--ink)}
.check-list li::before{
  content:"";
  width:20px;
  height:20px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:inset 0 0 0 5px var(--accent-soft);
}
.advanced-dock{
  margin-top:auto;
  padding-top:18px;
}
details.advanced{
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--surface);
}
details.advanced summary{
  min-height:50px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 14px;
  cursor:pointer;
  font-weight:780;
  color:var(--ink-strong);
}
details.advanced summary::after{content:"⌄";color:var(--muted);font-size:18px}
details.advanced[open] summary::after{transform:rotate(180deg)}
.advanced-body{padding:0 14px 14px}

.library-cards,.playlist-cards{display:grid;gap:12px}
.library-card,.playlist-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:14px;
  padding:16px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:8px;
  box-shadow:var(--shadow-soft);
}
.library-card:hover,.playlist-card:hover{border-color:#c9d8d4}
.library-meta,.playlist-meta{display:flex;gap:14px;flex-wrap:wrap;margin-top:8px;color:var(--muted);font-size:12px}
.library-actions,.playlist-actions{display:flex;align-items:flex-start;gap:8px;flex-wrap:wrap;justify-content:flex-end}

.kv{display:grid;grid-template-columns:150px minmax(0,1fr);gap:8px 16px;margin:0}
.kv dt{color:var(--muted);font-size:12px;font-weight:760}
.kv dd{margin:0;word-break:break-word}
.banner{
  background:var(--warn-soft);
  border:1px solid #fedf89;
  color:#7a3b00;
  padding:12px;
  border-radius:8px;
  margin-bottom:14px;
}
.banner.error{background:var(--danger-soft);border-color:#fecdca;color:#7a271a}

.toolbar,.form-actions,.actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.toolbar{
  padding:12px;
  margin-bottom:14px;
  background:rgba(255,255,255,.76);
  border:1px solid var(--line);
  border-radius:8px;
  box-shadow:var(--shadow-soft);
}
.actions{align-items:flex-start}
.actions form{display:inline-flex}

.button,button,.actions a{
  min-height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0 13px;
  border:1px solid var(--line-strong);
  border-radius:8px;
  background:var(--surface);
  color:var(--ink);
  text-decoration:none;
  font:inherit;
  font-size:13px;
  font-weight:760;
  cursor:pointer;
  box-shadow:var(--shadow-soft);
}
.button:hover,button:hover,.actions a:hover{border-color:#b4beb8;background:#fbfcfa}
.primary,.button.primary{
  background:linear-gradient(180deg,#0c9a86,#087b6d);
  border-color:#087b6d;
  color:#fff;
  box-shadow:0 10px 22px rgba(7,138,120,.22);
}
.primary:hover,.button.primary:hover{background:#087b6d;border-color:#087b6d}
.ghost{background:transparent;border-color:transparent;box-shadow:none}
.icon-button{
  width:40px;
  min-width:40px;
  padding:0;
  font-size:18px;
}
.danger-zone button,.actions form[action*="delete"] button,.actions form[action*="remove"] button{
  color:var(--danger);
  border-color:#fecdca;
  background:#fff;
}
.danger-zone button:hover,.actions form[action*="delete"] button:hover,.actions form[action*="remove"] button:hover{background:var(--danger-soft)}
button.is-copied{border-color:#9bd8c8;background:var(--accent-soft);color:var(--accent-strong)}

input,select,textarea{
  width:100%;
  min-height:38px;
  border:1px solid var(--line-strong);
  border-radius:8px;
  background:#fff;
  padding:8px 10px;
  color:var(--ink);
  font:inherit;
  font-size:14px;
  outline:none;
}
textarea{min-height:118px;resize:vertical}
input[type="checkbox"],input[type="radio"]{
  width:16px;
  min-height:16px;
  height:16px;
  padding:0;
  border-radius:4px;
  accent-color:var(--accent);
}
input:focus,textarea:focus,select:focus,button:focus-visible,a:focus-visible{
  outline:2px solid rgba(7,138,120,.24);
  outline-offset:2px;
  border-color:#6bc9ba;
}
label{display:grid;gap:6px;color:var(--ink);font-size:13px;font-weight:720}
label small{font-weight:520;color:var(--muted)}
.editor,.form-card{display:grid;gap:14px}
.file-inline{display:flex;align-items:center;gap:10px}
.file-inline input{width:auto}

.stream-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  background:var(--surface);
}
.stream-table th,.stream-table td{
  border-bottom:1px solid var(--line);
  padding:12px 13px;
  text-align:left;
  vertical-align:top;
}
.stream-table th{
  background:var(--surface-soft);
  color:#59626d;
  font-size:11px;
  line-height:1.2;
  font-weight:820;
  text-transform:uppercase;
  letter-spacing:.02em;
  white-space:nowrap;
}
.stream-table tbody tr{transition:background .14s ease}
.stream-table tbody tr:hover{background:#fbfcfa}
.stream-table tbody tr:last-child td{border-bottom:0}
.stream-table strong{font-weight:780;color:var(--ink-strong)}
.stream-table small{display:block;margin-top:3px;color:var(--muted);font-size:12px;line-height:1.35}

.status{
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:24px;
  padding:3px 8px;
  border-radius:999px;
  font-size:12px;
  font-weight:780;
  color:#475467;
  background:#f2f4f7;
  white-space:nowrap;
}
.status::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.72}
.status-live,.status-ok,.status-valid{background:var(--ok-soft);color:var(--ok)}
.status-waiting,.status-offline,.status-unknown,.status-needs_conversion,.status-needs_resolver{background:var(--warn-soft);color:var(--warn)}
.status-resolver_failed,.status-login_required,.status-cookie_expired,.status-po_token_required,.status-blocked,.status-failed,.status-import_failed{background:var(--danger-soft);color:var(--danger)}
.status-resolving,.status-converting,.status-starting,.status-running{background:var(--info-soft);color:var(--info)}

.menu-actions{position:relative;display:inline-block}
.menu-actions summary{
  list-style:none;
  width:36px;
  min-height:36px;
  display:grid;
  place-items:center;
  border:1px solid var(--line-strong);
  border-radius:8px;
  background:var(--surface);
  cursor:pointer;
  box-shadow:var(--shadow-soft);
}
.menu-actions summary::-webkit-details-marker{display:none}
.menu-actions summary::before{content:"⋯";font-size:20px;line-height:1;color:var(--muted)}
.menu-actions[open] summary{border-color:#98d8cc;background:var(--accent-tint)}
.menu-actions .menu{
  position:absolute;
  right:0;
  top:42px;
  z-index:20;
  min-width:190px;
  padding:6px;
  display:grid;
  gap:4px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:8px;
  box-shadow:var(--shadow);
}
.menu-actions .menu a,.menu-actions .menu button{
  width:100%;
  min-height:34px;
  justify-content:flex-start;
  border:0;
  box-shadow:none;
  background:transparent;
}

.errors{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.errors li{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}
.errors li:last-child{border-bottom:0}
.status-box{border-left:3px solid var(--line-strong)}
.cookie-actions{align-items:end;flex-wrap:wrap}
.stack{display:grid;gap:8px}
.video-panel video{width:100%;border-radius:8px;background:#000}

.login-panel{
  width:min(840px,100%);
  display:grid;
  grid-template-columns:1fr 360px;
  gap:18px;
}
.login-copy,.login-panel .form-card{
  background:rgba(255,255,255,.94);
  border:1px solid var(--line);
  border-radius:8px;
  box-shadow:var(--shadow);
}
.login-copy{padding:34px;display:flex;flex-direction:column;justify-content:center}
.login-copy h1{font-size:42px;margin-bottom:12px}
.login-copy p{font-size:16px;color:var(--muted)}
.login-panel .form-card{padding:24px}

[data-sortable-item].dragging{opacity:.58;background:var(--accent-tint)}

@media(max-width:1180px){
  .workspace{grid-template-columns:250px minmax(0,1fr)}
  .publish-panel{position:static;grid-column:1 / -1;min-height:auto}
  .source-column,.playlist-canvas{min-height:auto}
}
@media(max-width:900px){
  .sidebar{
    position:sticky;
    width:100%;
    height:auto;
    min-height:0;
    padding:14px 16px;
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    gap:12px;
    z-index:10;
  }
  .sidebar nav{display:flex;gap:6px;overflow:auto}
  .sidebar a,.logout button{min-height:36px;padding:0 10px}
  .brand{padding:0;font-size:18px}.brand::after{display:none}
  .logout{margin:0;padding:0;border:0;display:flex;gap:6px}
  .content{width:100%;margin-left:0;padding:20px 16px 36px}
  .shell{display:block}
  .workspace{grid-template-columns:1fr}
  .source-column,.playlist-canvas,.publish-panel{min-height:auto}
  .task-grid,.two-col,.grid-2,.grid-3{grid-template-columns:1fr}
  .page-head{flex-direction:column;align-items:stretch}
  .quick-panel{flex-direction:column;align-items:stretch}
  .quick-actions,.inline-form,.save-dock{align-items:stretch}
  .inline-form select,.quick-actions .button,.quick-actions button,.save-dock button{width:100%}
  .table-wrap{overflow:auto}
  .stream-table{min-width:900px}
  .channel-row{grid-template-columns:28px minmax(0,1fr);align-items:start}
  .channel-row .status,.channel-row .menu-actions{grid-column:2}
  .login-panel{grid-template-columns:1fr}
}

/* Cinematic console theme */
:root{
  --bg:#050807;
  --bg-2:#0b0f0d;
  --surface:#10120f;
  --surface-soft:#141711;
  --surface-strong:#1b1a15;
  --ink:#efe5d5;
  --ink-strong:#fff4e2;
  --muted:#a99b88;
  --muted-2:#6f6659;
  --line:rgba(214,183,133,.18);
  --line-strong:rgba(214,183,133,.34);
  --accent:#c99b61;
  --accent-strong:#e7c58e;
  --accent-soft:rgba(201,155,97,.16);
  --accent-tint:rgba(201,155,97,.09);
  --danger:#ff8b75;
  --danger-soft:rgba(255,105,82,.13);
  --ok:#7acb91;
  --ok-soft:rgba(122,203,145,.12);
  --warn:#d6a057;
  --warn-soft:rgba(214,160,87,.13);
  --info:#8fb4d9;
  --info-soft:rgba(143,180,217,.12);
  --nav:#030606;
  --nav-2:#07100e;
  --nav-line:rgba(214,183,133,.15);
  --nav-text:#dac7aa;
  --nav-muted:#7d725f;
  --shadow:0 18px 60px rgba(0,0,0,.45);
  --shadow-soft:0 10px 34px rgba(0,0,0,.26);
}

html{background:#020404}
body{
  background:
    radial-gradient(circle at 58% 0%,rgba(146,96,48,.28),transparent 34rem),
    radial-gradient(circle at 12% 12%,rgba(24,82,72,.18),transparent 28rem),
    linear-gradient(180deg,#070b09,#020404 760px);
  color:var(--ink);
}
a{color:var(--ink)}
code{color:#d9c5a5}

.sidebar{
  width:248px;
  padding:34px 22px 24px;
  background:
    linear-gradient(90deg,rgba(5,11,10,.96),rgba(5,11,10,.9)),
    radial-gradient(circle at 0 0,rgba(35,95,85,.2),transparent 20rem);
  border-right:1px solid rgba(214,183,133,.12);
  box-shadow:18px 0 50px rgba(0,0,0,.22);
}
.brand{
  display:flex;
  align-items:center;
  min-height:46px;
  padding:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:27px;
  font-weight:400;
  letter-spacing:0;
  background:none;
  color:var(--ink-strong);
}
.brand::after{
  width:1px;
  height:28px;
  margin:0 0 0 auto;
  background:rgba(214,183,133,.32);
}
.sidebar nav{gap:18px;margin-top:34px}
.sidebar a,.logout button{
  min-height:34px;
  padding:0;
  border-radius:0;
  color:var(--nav-muted);
  font-size:12px;
  font-weight:640;
  letter-spacing:.28em;
  text-transform:uppercase;
}
.sidebar a:hover,.logout button:hover{background:transparent;color:var(--ink-strong)}
.sidebar a.active{
  background:transparent;
  color:var(--ink-strong);
  box-shadow:none;
}
.system-chip{
  margin-top:auto;
  padding:18px 0;
  border-top:1px solid var(--nav-line);
  border-bottom:1px solid var(--nav-line);
  display:grid;
  gap:8px;
}
.system-chip span{
  color:var(--nav-muted);
  text-transform:uppercase;
  letter-spacing:.24em;
  font-size:11px;
}
.system-chip strong{
  color:#9bd8a6;
  font-size:11px;
  font-weight:520;
  text-transform:uppercase;
  letter-spacing:.1em;
}
.system-chip strong::before{
  content:"";
  display:inline-block;
  width:6px;
  height:6px;
  margin-right:8px;
  border-radius:50%;
  background:#7acb91;
}
.logout{margin-top:0;border-top:0}

.content{
  width:calc(100% - 248px);
  max-width:none;
  margin-left:248px;
  padding:0 34px 42px;
}
.topbar{
  min-height:90px;
  display:grid;
  grid-template-columns:minmax(320px,620px) auto;
  align-items:center;
  justify-content:space-between;
  gap:26px;
}
.global-search{
  display:flex;
  align-items:center;
  border-bottom:1px solid rgba(214,183,133,.28);
}
.global-search input{
  min-height:42px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:var(--ink);
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.global-search input::placeholder{color:#927f66}
.global-search button{
  min-width:42px;
  padding:0;
  border:0;
  background:transparent;
  color:transparent;
  box-shadow:none;
  position:relative;
}
.global-search button::before{
  content:"";
  width:17px;
  height:17px;
  border:1px solid #a58c6e;
  border-radius:50%;
  position:absolute;
}
.global-search button::after{
  content:"";
  width:7px;
  height:1px;
  background:#a58c6e;
  transform:translate(12px,11px) rotate(45deg);
  position:absolute;
}
.top-clock{
  display:flex;
  align-items:center;
  gap:18px;
  color:#8d7f68;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.24em;
}
.top-clock strong{
  padding-left:18px;
  border-left:1px solid rgba(214,183,133,.2);
  color:#c5ad89;
  font-weight:520;
}

.page-head{margin:8px 0 22px}
.page-kicker{
  color:#b49366;
  font-size:11px;
  font-weight:520;
  letter-spacing:.24em;
  text-transform:uppercase;
}
h1{
  color:var(--ink-strong);
  font-family:Georgia,"Times New Roman",serif;
  font-size:44px;
  font-weight:400;
  letter-spacing:.01em;
}
h2{
  color:var(--ink-strong);
  font-family:Georgia,"Times New Roman",serif;
  font-size:18px;
  font-weight:400;
}
.muted{color:var(--muted)}

.panel,.form-card,.editor,.table-wrap,.danger-zone,.soft-panel,.work-card,.publish-panel,.source-column,.playlist-canvas,.quick-panel,
.library-card,.playlist-card,.metric-grid div,.task-card{
  background:linear-gradient(180deg,rgba(22,24,19,.88),rgba(10,13,11,.92));
  border-color:var(--line);
  box-shadow:var(--shadow-soft);
}
.panel,.form-card,.editor,.danger-zone,.soft-panel{padding:20px}
.glass-panel{background:rgba(12,15,13,.72);backdrop-filter:blur(18px)}

.button,button,.actions a{
  min-height:38px;
  border-color:rgba(214,183,133,.25);
  background:rgba(255,255,255,.03);
  color:#dcc6a4;
  box-shadow:none;
  font-size:11px;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.button:hover,button:hover,.actions a:hover{
  background:rgba(201,155,97,.12);
  border-color:rgba(214,183,133,.45);
  color:#fff0d7;
}
.primary,.button.primary{
  background:rgba(201,155,97,.2);
  border-color:rgba(231,197,142,.48);
  color:#fff1d8;
  box-shadow:0 12px 32px rgba(201,155,97,.14);
}
.primary:hover,.button.primary:hover{background:rgba(201,155,97,.3);border-color:#d7b883}
.ghost{color:#a89980}

input,select,textarea{
  border-color:rgba(214,183,133,.24);
  background:rgba(255,255,255,.045);
  color:var(--ink);
}
input::placeholder,textarea::placeholder{color:#766a59}
input:focus,textarea:focus,select:focus,button:focus-visible,a:focus-visible{
  outline:1px solid rgba(231,197,142,.38);
  border-color:rgba(231,197,142,.58);
}
label{color:#d8c4a8}

.cinema-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) 360px;
  min-height:520px;
  border-bottom:1px solid rgba(214,183,133,.12);
  margin:0 -34px 28px 0;
}
.hero-stage{
  position:relative;
  min-height:520px;
  display:flex;
  align-items:center;
  padding:52px 60px 58px 34px;
  overflow:hidden;
  background:
    linear-gradient(90deg,rgba(6,8,7,.95),rgba(6,8,7,.36) 52%,rgba(6,8,7,.12)),
    radial-gradient(circle at 74% 42%,rgba(210,151,85,.3),transparent 22rem),
    linear-gradient(135deg,#13120d,#050706);
}
.hero-stage.has-art{
  background:
    linear-gradient(90deg,rgba(5,7,6,.96),rgba(5,7,6,.58) 46%,rgba(5,7,6,.2)),
    linear-gradient(0deg,rgba(5,7,6,.78),rgba(5,7,6,.05) 45%,rgba(5,7,6,.24)),
    var(--poster) center / cover no-repeat;
}
.hero-stage::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 78% 30%,rgba(255,208,141,.18),transparent 18rem),
    linear-gradient(180deg,transparent 70%,rgba(2,4,4,.75));
  pointer-events:none;
}
.hero-content{position:relative;z-index:1;max-width:720px}
.live-dot{
  margin-bottom:18px;
  color:#e4bd82;
  font-size:12px;
  letter-spacing:.24em;
  text-transform:uppercase;
}
.live-dot::before{
  content:"";
  display:inline-block;
  width:7px;
  height:7px;
  margin-right:10px;
  border-radius:50%;
  background:#d8a45f;
}
.hero-content h1{
  max-width:860px;
  margin-bottom:14px;
  font-size:64px;
  line-height:1.04;
  text-shadow:0 18px 60px rgba(0,0,0,.65);
}
.hero-subtitle{
  max-width:720px;
  color:#d8c7aa;
  font-size:18px;
  letter-spacing:.08em;
}
.hero-specs{
  display:flex;
  gap:24px;
  flex-wrap:wrap;
  max-width:560px;
  margin:28px 0;
  padding-top:18px;
  border-top:1px solid rgba(214,183,133,.24);
}
.hero-specs span{
  color:#a99576;
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}

.on-air-panel{
  padding:28px 34px;
  background:linear-gradient(180deg,rgba(5,9,8,.96),rgba(5,8,7,.9));
  border-left:1px solid rgba(214,183,133,.1);
}
.section-title-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
.section-title-row h2,.section-title-row .page-kicker{margin:0}
.section-title-row a{
  color:#b6986c;
  text-decoration:none;
  font-size:11px;
  letter-spacing:.22em;
  text-transform:uppercase;
}
.on-air-list{display:grid;gap:18px}
.on-air-item{
  display:grid;
  grid-template-columns:100px minmax(0,1fr) auto;
  align-items:center;
  gap:16px;
  text-decoration:none;
}
.thumb{
  width:100px;
  aspect-ratio:16/9;
  border:1px solid rgba(214,183,133,.16);
  background:linear-gradient(135deg,#262015,#0b0d0a);
  overflow:hidden;
}
.thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.on-air-item strong{display:block;color:#eadac0;font-family:Georgia,"Times New Roman",serif;font-size:16px;font-weight:400}
.on-air-item small{display:block;color:#8d806d;margin-top:3px}
.on-air-item em{color:#d5a86b;font-style:normal;font-size:11px;text-transform:uppercase}

.cinema-section{margin:30px 0}
.poster-row,.source-gallery{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
}
.poster-card,.source-tile{
  position:relative;
  min-height:150px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:16px;
  overflow:hidden;
  border:1px solid rgba(214,183,133,.14);
  border-radius:8px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.02),rgba(0,0,0,.18)),
    radial-gradient(circle at 70% 20%,rgba(201,155,97,.2),transparent 14rem),
    #0d100e;
  color:var(--ink);
  text-decoration:none;
}
.poster-card.has-art{
  background:
    linear-gradient(180deg,rgba(4,6,5,.08),rgba(4,6,5,.86)),
    var(--poster) center / cover no-repeat;
}
.poster-shade,.tile-glow{
  position:absolute;
  inset:auto 0 0;
  height:70%;
  background:linear-gradient(180deg,transparent,rgba(0,0,0,.78));
  pointer-events:none;
}
.poster-card strong,.source-tile strong{
  position:relative;
  z-index:1;
  color:#f1dfc4;
  font-family:Georgia,"Times New Roman",serif;
  font-size:18px;
  font-weight:400;
}
.poster-card small,.source-tile small{
  position:relative;
  z-index:1;
  margin-top:4px;
  color:#a99981;
}
.source-tile{min-height:130px}
.source-tile:nth-child(2n){background:linear-gradient(135deg,rgba(201,155,97,.22),rgba(8,13,11,.94)),#111}
.source-tile:nth-child(3n){background:linear-gradient(135deg,rgba(67,103,94,.24),rgba(8,13,11,.94)),#111}

.playlist-mini{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 0;
  border-bottom:1px solid rgba(214,183,133,.12);
}
.playlist-mini:last-child{border-bottom:0}
.playlist-mini strong{display:block;color:#f2dfbf}
.playlist-mini small{display:block;color:#9d8e78;margin-top:3px}

.task-grid,.metric-grid{gap:12px}
.task-card{
  min-height:120px;
  border-color:rgba(214,183,133,.14);
  background:linear-gradient(135deg,rgba(28,25,18,.86),rgba(9,12,10,.94));
}
.task-card:hover,.source-card:hover,.source-card.active{
  border-color:rgba(214,183,133,.38);
  background:rgba(201,155,97,.1);
}
.task-card strong{color:#f1dfc4;font-family:Georgia,"Times New Roman",serif;font-weight:400}
.task-card span,.task-card small{color:#a99b88}
.task-icon{background:rgba(201,155,97,.12);color:#ddb77b}

.library-card,.playlist-card{
  background:linear-gradient(135deg,rgba(25,24,19,.9),rgba(7,10,9,.94));
  border-color:rgba(214,183,133,.14);
}
.library-card h2,.playlist-card h2{font-size:22px}
.library-meta,.playlist-meta{color:#9d8e78}

.workspace{grid-template-columns:300px minmax(500px,1fr) 330px}
.source-column,.playlist-canvas,.publish-panel{
  background:rgba(9,12,10,.78);
  border-color:rgba(214,183,133,.14);
}
.publish-panel{top:24px}
.channel-row{
  border-color:rgba(214,183,133,.11);
}
.channel-row:hover,.stream-table tbody tr:hover{background:rgba(201,155,97,.06)}
.channel-title strong,.stream-table strong{color:#efddbf}
.channel-title small,.stream-table small{color:#998b76}

.table-wrap{background:rgba(8,11,10,.82)}
.stream-table{background:transparent}
.stream-table th{
  background:rgba(201,155,97,.07);
  color:#bda076;
  border-color:rgba(214,183,133,.13);
}
.stream-table td{border-color:rgba(214,183,133,.1)}
.toolbar{
  background:rgba(12,15,13,.76);
  border-color:rgba(214,183,133,.14);
}
.export-field{
  background:rgba(255,255,255,.04);
  border-color:rgba(214,183,133,.17);
}
.export-field code{color:#9f927e}

.status{background:rgba(255,255,255,.08);color:#b5aa98}
.status-live,.status-ok,.status-valid{background:rgba(122,203,145,.13);color:#8fd99e}
.status-waiting,.status-offline,.status-unknown,.status-needs_conversion,.status-needs_resolver{background:rgba(214,160,87,.13);color:#d6a057}
.status-resolver_failed,.status-login_required,.status-cookie_expired,.status-po_token_required,.status-blocked,.status-failed,.status-import_failed{background:rgba(255,105,82,.13);color:#ff937f}
.status-resolving,.status-converting,.status-starting,.status-running{background:rgba(143,180,217,.12);color:#9ec1e0}

.menu-actions summary{
  background:rgba(255,255,255,.04);
  border-color:rgba(214,183,133,.2);
}
.menu-actions .menu{
  background:#11130f;
  border-color:rgba(214,183,133,.18);
}
.menu-actions .menu a,.menu-actions .menu button{color:#d9c3a2}

.kv dt{color:#a88f69}
.kv dd{color:#ead9bd}
.banner{background:rgba(214,160,87,.12);border-color:rgba(214,160,87,.3);color:#e0b879}
.banner.error{background:rgba(255,105,82,.13);border-color:rgba(255,105,82,.32);color:#ffad9f}
.quick-panel{background:linear-gradient(135deg,rgba(27,25,18,.88),rgba(8,12,10,.9))}
.save-dock{background:rgba(13,16,14,.96);border-color:rgba(214,183,133,.18)}

.login-panel{grid-template-columns:1.1fr 380px}
.login-copy,.login-panel .form-card{
  background:linear-gradient(135deg,rgba(22,22,17,.92),rgba(7,10,9,.96));
  border-color:rgba(214,183,133,.16);
}
.login-copy h1{font-family:Georgia,"Times New Roman",serif;font-weight:400;color:#f4dfbd}

@media(max-width:1280px){
  .cinema-hero{grid-template-columns:1fr}
  .on-air-panel{border-left:0;border-top:1px solid rgba(214,183,133,.12)}
  .poster-row,.source-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
  .sidebar{width:100%;padding:14px 16px}
  .content{width:100%;margin-left:0;padding:0 16px 34px}
  .topbar{grid-template-columns:1fr;min-height:auto;padding:16px 0}
  .top-clock{display:none}
  .cinema-hero{margin:0 -16px 24px;min-height:auto}
  .hero-stage{min-height:440px;padding:38px 22px}
  .hero-content h1{font-size:42px}
  .on-air-panel{padding:22px}
  .poster-row,.source-gallery{grid-template-columns:1fr}
  .workspace{grid-template-columns:1fr}
}

/* Cinematic polish pass */
:root{
  --bg:#040605;
  --surface:#10110e;
  --surface-soft:#15150f;
  --surface-strong:#201c14;
  --ink:#f0e1c7;
  --ink-strong:#fff2d7;
  --muted:#b7a384;
  --muted-2:#86765e;
  --line:rgba(223,188,124,.16);
  --line-strong:rgba(223,188,124,.32);
  --accent:#d8a45f;
  --accent-strong:#f1cb8b;
  --accent-soft:rgba(216,164,95,.14);
  --accent-tint:rgba(216,164,95,.08);
  --nav-text:#e7d2ad;
  --nav-muted:#8d7b61;
}

*{letter-spacing:0!important}

body{
  background:
    linear-gradient(110deg,rgba(5,14,13,.92),rgba(7,7,5,.86) 34%,rgba(24,17,10,.72) 68%,rgba(3,5,5,.96)),
    linear-gradient(180deg,#080a07,#030404 760px);
}

.sidebar{
  background:
    linear-gradient(180deg,rgba(3,8,8,.98),rgba(3,5,5,.98)),
    linear-gradient(90deg,rgba(223,188,124,.08),transparent 44%);
}
.sidebar nav{gap:14px}
.sidebar a,.logout button{
  font-size:12px;
  line-height:1.1;
  opacity:.92;
}
.sidebar a.active{color:#fff1d4}
.sidebar a.active::before{
  content:"";
  display:inline-block;
  width:4px;
  height:4px;
  margin-right:10px;
  border-radius:50%;
  background:var(--accent);
  vertical-align:middle;
}
.brand{color:#f5dfbd}

.topbar{min-height:82px}
.global-search input{
  color:#efdfc4;
  font-size:13px;
  text-transform:none;
}
.global-search input::placeholder{color:#9a876b}
.top-clock{color:#9b8a70}
.top-clock strong{color:#dcb878}

.page-head{
  padding-top:12px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:22px;
}
.page-kicker{
  color:#c99b61;
  font-size:12px;
  text-transform:none;
}
h1{color:#f7e7cd}
h2,h3{color:#f0dfc1}
.muted,p,li{color:#b8a98f}

.panel,.form-card,.editor,.table-wrap,.danger-zone,.soft-panel,.work-card,.publish-panel,.source-column,.playlist-canvas,.quick-panel,
.library-card,.playlist-card,.metric-grid div,.task-card{
  background:linear-gradient(180deg,rgba(18,19,15,.9),rgba(8,10,9,.94));
  border:1px solid rgba(223,188,124,.14);
}

.button,button,.actions a{
  min-height:36px;
  color:#e8cfaa;
  font-size:12px;
  text-transform:none;
}
.button.primary,.primary{
  color:#140f08;
  background:linear-gradient(180deg,#e8be7a,#c9944f);
  border-color:#efcf98;
  box-shadow:0 14px 32px rgba(216,164,95,.16);
}
.button.primary:hover,.primary:hover{
  color:#120e07;
  background:linear-gradient(180deg,#f0cf96,#d9a760);
}

input,select,textarea{
  background:#0d100e;
  color:#f3e5ce;
  border-color:rgba(223,188,124,.22);
}
select option{background:#0d100e;color:#f3e5ce}
label{color:#e9d6b7}
label small{color:#a99678}

.cinema-hero{
  min-height:560px;
  border-bottom-color:rgba(223,188,124,.11);
}
.hero-stage{
  min-height:560px;
  isolation:isolate;
  background:#080a07;
}
.hero-stage::before,.poster-card::before,.source-tile::before,.thumb::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(115deg,rgba(255,235,194,.09),transparent 34%),
    repeating-linear-gradient(100deg,rgba(255,255,255,.028) 0 1px,transparent 1px 8px);
  mix-blend-mode:screen;
  opacity:.55;
  pointer-events:none;
}
.hero-stage::after{
  background:
    linear-gradient(90deg,rgba(4,6,5,.96),rgba(4,6,5,.58) 48%,rgba(4,6,5,.18)),
    linear-gradient(180deg,rgba(4,6,5,.16),rgba(4,6,5,.9));
  z-index:0;
}
.hero-stage.visual-news{
  background:
    linear-gradient(135deg,#121716,#080a08 42%,#2b1d10),
    linear-gradient(20deg,transparent 45%,rgba(214,151,80,.36));
}
.hero-stage.visual-sports{
  background:
    linear-gradient(135deg,#15130e,#080908 48%,#2c1b10),
    linear-gradient(28deg,transparent 50%,rgba(219,174,91,.34));
}
.hero-stage.visual-documentary{
  background:
    linear-gradient(140deg,#0e1210,#1b1c13 42%,#392817),
    linear-gradient(18deg,rgba(41,77,67,.34),transparent 48%);
}
.hero-stage.visual-entertainment{
  background:
    linear-gradient(135deg,#120d11,#080808 50%,#342010),
    linear-gradient(18deg,rgba(154,76,105,.28),transparent 48%);
}
.hero-stage.visual-kids{
  background:
    linear-gradient(135deg,#121411,#080908 48%,#362518),
    linear-gradient(18deg,rgba(98,132,118,.3),transparent 48%);
}
.hero-stage.visual-live{
  background:
    linear-gradient(135deg,#0d1312,#080a08 46%,#2b2113),
    linear-gradient(18deg,rgba(51,108,96,.28),transparent 48%);
}
.hero-content{z-index:2}
.live-dot{color:#e4bd82;font-size:13px;text-transform:none}
.hero-content h1{
  color:#fff0d5;
  max-width:820px;
  font-size:68px;
  text-wrap:balance;
}
.hero-subtitle{
  color:#d5c09c;
  font-size:18px;
  text-shadow:0 10px 30px rgba(0,0,0,.45);
}
.hero-specs{border-top-color:rgba(223,188,124,.26)}
.hero-specs span{color:#b79a6e;font-size:12px;text-transform:none}
.hero-logo{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:86px;
  height:54px;
  margin-top:14px;
  padding:9px;
  border:1px solid rgba(223,188,124,.24);
  background:rgba(6,8,7,.54);
  backdrop-filter:blur(12px);
}
.hero-logo img{max-width:100%;max-height:100%;object-fit:contain}

.on-air-panel{
  background:linear-gradient(180deg,rgba(4,8,8,.96),rgba(4,6,6,.98));
}
.on-air-list{gap:16px}
.on-air-item{
  grid-template-columns:92px minmax(0,1fr) auto;
  padding:7px 0;
}
.on-air-item:hover strong{color:#fff0d5}
.thumb{
  position:relative;
  width:92px;
  border-color:rgba(223,188,124,.16);
  background:#0e100c;
}
.thumb img{
  position:relative;
  z-index:1;
  width:100%;
  height:100%;
  padding:12px;
  object-fit:contain;
  background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.3));
}
.on-air-item strong{color:#ead8ba}
.on-air-item small{color:#978871}
.on-air-item em{color:#d4a261}

.poster-row,.source-gallery{gap:14px}
.poster-card,.source-tile{
  min-height:168px;
  background:#0c0f0c;
  border-color:rgba(223,188,124,.14);
  box-shadow:0 18px 44px rgba(0,0,0,.26);
}
.poster-card::before,.source-tile::before,.thumb::before{z-index:0}
.poster-card.visual-news,.source-tile.visual-news,.thumb.visual-news{
  background:linear-gradient(135deg,#151b1a,#090b09 54%,#2a1b10);
}
.poster-card.visual-sports,.source-tile.visual-sports,.thumb.visual-sports{
  background:linear-gradient(135deg,#22190f,#0a0b08 52%,#3a2312);
}
.poster-card.visual-documentary,.source-tile.visual-documentary,.thumb.visual-documentary{
  background:linear-gradient(135deg,#15201d,#0a0d0a 52%,#332815);
}
.poster-card.visual-entertainment,.source-tile.visual-entertainment,.thumb.visual-entertainment{
  background:linear-gradient(135deg,#1e121b,#090908 52%,#34200f);
}
.poster-card.visual-kids,.source-tile.visual-kids,.thumb.visual-kids{
  background:linear-gradient(135deg,#16201d,#090b09 52%,#3b2817);
}
.poster-card.visual-live,.source-tile.visual-live,.thumb.visual-live{
  background:linear-gradient(135deg,#131a18,#090b09 52%,#2b2113);
}
.poster-card:hover,.source-tile:hover{
  transform:translateY(-2px);
  border-color:rgba(223,188,124,.34);
  box-shadow:0 24px 60px rgba(0,0,0,.34);
}
.poster-card strong,.source-tile strong{
  color:#f6e2bf;
  font-size:19px;
  line-height:1.2;
  text-shadow:0 12px 28px rgba(0,0,0,.58);
}
.poster-card small,.source-tile small{color:#b8a181}
.poster-logo{
  position:absolute;
  top:14px;
  right:14px;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:center;
  width:54px;
  height:34px;
  padding:7px;
  border:1px solid rgba(223,188,124,.18);
  background:rgba(3,5,5,.48);
  backdrop-filter:blur(10px);
}
.poster-logo img{max-width:100%;max-height:100%;object-fit:contain}
.poster-shade,.tile-glow{
  height:78%;
  background:linear-gradient(180deg,transparent,rgba(0,0,0,.7) 48%,rgba(0,0,0,.92));
}
.source-tile{min-height:144px}

.stream-table th{
  color:#d0ad78;
  font-size:12px;
  text-transform:none;
}
.stream-table td{color:#d8c7aa}
.stream-table a{color:#f0dcb9}
.channel-title strong,.stream-table strong{color:#f4dfbd}
.channel-title small,.stream-table small{color:#a9987b}
.toolbar{
  background:rgba(9,12,10,.82);
  border-color:rgba(223,188,124,.14);
}
.status{font-weight:700}
.status-live,.status-ok,.status-valid{color:#a7e0b0}
.status-waiting,.status-offline,.status-unknown,.status-needs_conversion,.status-needs_resolver{color:#e2b66f}
.status-resolver_failed,.status-login_required,.status-cookie_expired,.status-po_token_required,.status-blocked,.status-failed,.status-import_failed{color:#ffab9b}

@media(max-width:900px){
  .page-head{align-items:flex-start}
  .hero-content h1{font-size:42px}
  .hero-stage,.cinema-hero{min-height:auto}
  .hero-logo{width:72px;height:46px}
}

/* Image-led dashboard hero */
.cinema-hero{
  display:block;
  min-height:auto;
  margin:0 -34px 34px 0;
  border-bottom:1px solid rgba(223,188,124,.12);
}
.hero-stage{
  min-height:560px;
  padding:76px 70px 64px 34px;
  align-items:center;
  background:
    linear-gradient(90deg,rgba(3,5,5,.96) 0%,rgba(3,5,5,.82) 31%,rgba(3,5,5,.38) 63%,rgba(3,5,5,.18) 100%),
    linear-gradient(180deg,rgba(3,5,5,.18),rgba(3,5,5,.88)),
    url("/static/img/dashboard-hero-cinema.jpg") center right / cover no-repeat;
}
.hero-stage.visual-news,
.hero-stage.visual-sports,
.hero-stage.visual-documentary,
.hero-stage.visual-entertainment,
.hero-stage.visual-kids,
.hero-stage.visual-live{
  background:
    linear-gradient(90deg,rgba(3,5,5,.96) 0%,rgba(3,5,5,.82) 31%,rgba(3,5,5,.38) 63%,rgba(3,5,5,.18) 100%),
    linear-gradient(180deg,rgba(3,5,5,.18),rgba(3,5,5,.88)),
    url("/static/img/dashboard-hero-cinema.jpg") center right / cover no-repeat;
}
.hero-stage::before{
  background:
    radial-gradient(circle at 78% 28%,rgba(245,195,122,.16),transparent 20rem),
    linear-gradient(90deg,transparent 0 72%,rgba(245,195,122,.08));
  mix-blend-mode:normal;
  opacity:1;
}
.hero-stage::after{
  background:
    linear-gradient(180deg,transparent 64%,rgba(3,5,5,.86)),
    linear-gradient(90deg,rgba(3,5,5,.42),transparent 58%);
}
.hero-content{
  max-width:700px;
}
.hero-content h1{
  max-width:620px;
  margin-bottom:12px;
  font-size:58px;
  line-height:1.02;
}
.hero-subtitle{
  max-width:520px;
  color:#d8c5a5;
  font-size:17px;
}
.hero-now{
  position:relative;
  z-index:2;
  display:block;
  max-width:560px;
  margin-top:26px;
  padding:16px 18px;
  border:1px solid rgba(223,188,124,.18);
  background:linear-gradient(90deg,rgba(10,12,10,.72),rgba(10,12,10,.36));
  color:#f2dfbf;
  text-decoration:none;
  backdrop-filter:blur(14px);
}
.hero-now:hover{
  border-color:rgba(223,188,124,.38);
  background:linear-gradient(90deg,rgba(18,18,13,.78),rgba(18,18,13,.42));
}
.hero-now span{
  display:block;
  margin-bottom:8px;
  color:#c99b61;
  font-size:12px;
  font-weight:700;
}
.hero-now strong{
  display:block;
  overflow:hidden;
  color:#fff0d5;
  font-family:Georgia,"Times New Roman",serif;
  font-size:22px;
  font-weight:400;
  line-height:1.25;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.hero-now small{
  display:block;
  margin-top:8px;
  overflow:hidden;
  color:#a99372;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.hero-specs{
  max-width:560px;
  margin:28px 0 24px;
}
.hero-logo{
  position:absolute;
  left:34px;
  bottom:34px;
  margin:0;
}
.hero-actions .button{
  padding:0 16px;
}

@media(max-width:900px){
  .cinema-hero{margin:0 -16px 24px}
  .hero-stage{
    min-height:520px;
    padding:42px 22px 80px;
    background:
      linear-gradient(90deg,rgba(3,5,5,.96),rgba(3,5,5,.7)),
      linear-gradient(180deg,rgba(3,5,5,.08),rgba(3,5,5,.92)),
      url("/static/img/dashboard-hero-cinema.jpg") center / cover no-repeat;
  }
  .hero-content h1{font-size:42px}
  .hero-now strong{font-size:19px}
  .hero-logo{left:22px;bottom:22px}
}
