/* festival.productions · dashboard-mockup v2 (bento) */

:root {
  --bg: #100E15;
  --panel: #16131C;
  --tile: #1B1823;
  --tile-hi: #241F2E;
  --edge: #2E2939;
  --hover-edge: #453D55;
  --track: #2A2534;
  --text: #F2EDE3;
  --dim: #A79FB3;
  --faint: #6F6880;
  --amber: #F0A63C;
  --amber-text: #F0A63C;
  --amber-ink: #201500;
  --violet: #8B7BD8;
  --good: #6FBF8E;
  --warn: #E07856;
  --glass: rgba(16,14,21,.72);
  --schaduw: 0 14px 40px -22px rgba(0,0,0,.65);
  color-scheme: dark;
}
/* Dark-only: light-thema uitgezet (2026-07-14). */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}
.mono { font-family: "IBM Plex Mono", monospace; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 4px; }

/* sfeerlicht */
.gloed { position: fixed; border-radius: 50%; filter: blur(100px); pointer-events: none; z-index: 0; }
.gloed.a { width: 55vmax; height: 55vmax; top: -30vmax; right: -20vmax; background: radial-gradient(circle, rgba(240,166,60,.10), transparent 65%); }
.gloed.b { width: 50vmax; height: 50vmax; bottom: -28vmax; left: -18vmax; background: radial-gradient(circle, rgba(139,123,216,.09), transparent 65%); }

/* ── raamwerk ── */
.app { display: grid; grid-template-columns: 252px 1fr; min-height: 100vh; position: relative; z-index: 1; }

/* zijbalk */
.side {
  background: var(--panel);
  border-right: 1px solid var(--edge);
  padding: 20px 14px;
  display: flex; flex-direction: column; gap: 18px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.side-brand { display: flex; align-items: center; gap: 9px; padding: 2px 8px; text-decoration: none; }
.side-brand .mark {
  font-size: 22px; line-height: 1; font-weight: 700;
  background: linear-gradient(135deg, var(--text) 40%, var(--amber));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.side-brand .wm { font-weight: 700; font-size: 14.5px; letter-spacing: -0.01em; white-space: nowrap; }
.side-brand .wm i { font-style: normal; color: var(--amber-text); }

.fest-switch {
  display: grid; gap: 2px;
  border: 1px solid var(--edge); border-radius: 14px;
  background: linear-gradient(180deg, var(--tile), var(--panel));
  padding: 11px 13px; cursor: pointer; text-align: left;
  color: var(--text); font: inherit; width: 100%;
  box-shadow: var(--schaduw);
}
.fest-switch .fs-name { font-weight: 700; font-size: 14px; display: flex; justify-content: space-between; align-items: center; }
.fest-switch .fs-name svg { color: var(--faint); }
.fest-switch .fs-ed { font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-text); }
.fest-switch:hover { border-color: var(--hover-edge); }

.nav { display: grid; gap: 16px; flex: 1; align-content: start; }
.nav-sec { display: grid; gap: 1px; }
.nav-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--faint);
  padding: 0 10px 7px;
}
.nav a {
  display: flex; align-items: center; gap: 11px;
  padding: 8px 10px; border-radius: 10px;
  text-decoration: none; color: var(--dim);
  font-size: 13.5px; font-weight: 500;
  border: 1px solid transparent;
}
.nav a svg { flex-shrink: 0; opacity: .75; }
.nav a:hover { color: var(--text); background: var(--tile); }
.nav a.actief {
  color: var(--text);
  background: linear-gradient(90deg, color-mix(in srgb, var(--amber) 14%, var(--tile)), var(--tile) 55%);
  border-color: var(--edge);
}
.nav a.actief svg { color: var(--amber-text); opacity: 1; }
.nav a .badge {
  margin-left: auto;
  font-family: "IBM Plex Mono", monospace; font-size: 10px;
  background: var(--amber); color: var(--amber-ink);
  border-radius: 999px; padding: 1px 7px;
}
.side-foot { border-top: 1px solid var(--edge); padding-top: 14px; display: flex; align-items: center; gap: 10px; }
.side-foot .face { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #40332A, #241F2E); color: var(--amber); display: grid; place-items: center; font-family: "IBM Plex Mono", monospace; font-size: 12px; border: 1px solid var(--edge); }
.side-foot .wie { display: grid; }
.side-foot .wie b { font-size: 13px; }
.side-foot .wie span { font-size: 11px; color: var(--faint); }

/* hoofdvlak */
.main { padding: 0 26px 60px; min-width: 0; }
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 18px 0 14px;
  margin-bottom: 18px;
  background: var(--glass);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--edge);
}
.topbar h1 { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; margin: 0; }
.topbar .sub { color: var(--faint); font-size: 12.5px; }
.top-chips { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.chip {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--edge); color: var(--dim);
  padding: 6px 12px; border-radius: 999px; white-space: nowrap;
  background: var(--panel);
}
.chip.amber { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
.chip.warn { border-color: color-mix(in srgb, var(--warn) 60%, var(--edge)); color: var(--warn); }
.chip .live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--good); margin-right: 7px; vertical-align: 1px; animation: pols 2.4s ease-in-out infinite; }
@keyframes pols { 0%,100% { opacity: 1; } 50% { opacity: .45; } }

.menu-knop { display: none; }

/* ── bento ── */
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.tile {
  background: linear-gradient(180deg, var(--tile), color-mix(in srgb, var(--tile) 88%, var(--bg)));
  border: 1px solid var(--edge);
  border-radius: 20px;
  padding: 20px;
  min-width: 0;
  box-shadow: var(--schaduw);
  transition: transform .16s ease, border-color .16s ease;
}
.tile:hover { border-color: var(--hover-edge); }
.tile.urgent { border-color: color-mix(in srgb, var(--warn) 50%, var(--edge)); }
.s3 { grid-column: span 3; } .s4 { grid-column: span 4; } .s5 { grid-column: span 5; }
.s6 { grid-column: span 6; } .s7 { grid-column: span 7; } .s8 { grid-column: span 8; } .s12 { grid-column: span 12; }

.tile-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--faint);
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.tile-label .accent { color: var(--amber-text); letter-spacing: .06em; }
.tile-label .alarm { color: var(--warn); letter-spacing: .06em; }

/* video-held */
.t-held {
  position: relative; overflow: hidden;
  min-height: 340px;
  display: grid; align-content: end;
  border-color: color-mix(in srgb, var(--amber) 22%, var(--edge));
}
.t-held video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.06) brightness(.82); }
.held-tint { position: absolute; inset: 0; background: linear-gradient(150deg, rgba(240,166,60,.25), rgba(18,16,23,.12) 45%, rgba(139,123,216,.24)); mix-blend-mode: overlay; }
.held-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,12,18,.30), rgba(14,12,18,.06) 40%, rgba(14,12,18,.82)); }
.held-inhoud { position: relative; z-index: 2; display: grid; gap: 6px; }
.held-top { position: absolute; top: 18px; left: 20px; right: 20px; z-index: 2; display: flex; justify-content: space-between; gap: 10px; }
.held-top .chip { background: rgba(14,12,18,.5); border-color: rgba(242,237,227,.22); color: rgba(242,237,227,.85); backdrop-filter: blur(6px); }
.held-num { font-family: "Anton", sans-serif; font-size: clamp(72px, 9vw, 118px); line-height: .9; letter-spacing: .01em; color: #F2EDE3; }
.held-num small { font-family: "IBM Plex Mono", monospace; font-size: 14px; letter-spacing: .1em; color: rgba(242,237,227,.75); }
.held-sub { font-family: "IBM Plex Mono", monospace; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #F0A63C; }
.held-balk { margin-top: 14px; }
.held-balk .bar { background: rgba(242,237,227,.16); }
.held-balk .bar-top { color: rgba(242,237,227,.75); }
.held-balk .bar-top b { color: #F2EDE3; }

/* kpi's & ring */
.kpi { display: grid; gap: 2px; }
.kpi b { font-family: "Anton", sans-serif; font-weight: 400; font-size: 36px; line-height: 1.05; letter-spacing: .01em; }
.kpi b small { font-family: "IBM Plex Mono", monospace; font-size: 13px; color: var(--faint); }
.kpi span { font-size: 12.5px; color: var(--faint); }

.ring-tegel { display: grid; justify-items: center; gap: 8px; }
.ring { position: relative; width: 128px; height: 128px; }
.ring svg { transform: rotate(-90deg); }
.ring .spoor { fill: none; stroke: var(--track); stroke-width: 10; }
.ring .voortgang { fill: none; stroke: var(--amber); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; transition: stroke-dashoffset 1.2s cubic-bezier(.2,.7,.2,1); }
.ring .midden { position: absolute; inset: 0; display: grid; place-items: center; }
.ring .midden b { font-family: "Anton", sans-serif; font-weight: 400; font-size: 32px; }
.ring .midden b small { font-family: "IBM Plex Mono", monospace; font-size: 13px; color: var(--faint); }
.ring-sub { font-size: 12.5px; color: var(--faint); text-align: center; }

/* grafiek */
.graf { width: 100%; height: 84px; margin-top: 6px; }

/* lijsten */
.rl { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.rl li { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: baseline; padding: 9px 10px; border-radius: 10px; }
.rl .t { font-family: "IBM Plex Mono", monospace; font-size: 11.5px; color: var(--dim); font-variant-numeric: tabular-nums; }
.rl .w { font-size: 13.5px; }
.rl .w small { display: block; font-size: 11.5px; color: var(--faint); }
.rl .st { font-family: "IBM Plex Mono", monospace; font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.rl li.af { opacity: .38; }
.rl li.af .st { color: var(--good); }
.rl li.nu { background: var(--tile-hi); border: 1px solid rgba(240,166,60,.3); }
.rl li.nu .t, .rl li.nu .st { color: var(--amber-text); }

/* balken */
.bars { display: grid; gap: 11px; }
.bar-row { display: grid; gap: 4px; }
.bar-top { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--dim); }
.bar-top b { color: var(--text); font-weight: 500; font-family: "IBM Plex Mono", monospace; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.bar { height: 6px; border-radius: 999px; background: var(--track); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, color-mix(in srgb, var(--amber) 75%, #fff 0%), var(--amber)); width: 0; transition: width 1s cubic-bezier(.2,.7,.2,1); }
.bar i.rood { background: var(--warn); }

/* avatars */
.faces { display: flex; margin: 0 0 12px; }
.face { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: "IBM Plex Mono", monospace; font-size: 11.5px; font-weight: 500; border: 2px solid var(--tile); margin-left: -8px; }
.face:first-child { margin-left: 0; }
.fv { background: #3A3145; color: var(--violet); }
.fa { background: #40332A; color: var(--amber); }
.fg { background: #2C3A33; color: var(--good); }
.face.meer { background: transparent; border: 1.5px dashed var(--faint); color: var(--dim); }
/* light-face-varianten uitgezet (dark-only) */

/* taken */
.taken { display: grid; gap: 4px; }
.taak { display: grid; grid-template-columns: 26px 1fr auto auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid transparent; }
.taak:hover { background: var(--tile-hi); }
.taak input { width: 16px; height: 16px; accent-color: var(--amber); cursor: pointer; }
.taak .tt { font-size: 14px; }
.taak .tt small { display: block; font-size: 11.5px; color: var(--faint); }
.taak.af .tt { text-decoration: line-through; color: var(--faint); }
.taak .wie { font-family: "IBM Plex Mono", monospace; font-size: 11px; color: var(--dim); }
.taak .dl { font-family: "IBM Plex Mono", monospace; font-size: 11px; color: var(--faint); font-variant-numeric: tabular-nums; }
.taak .dl.krap { color: var(--warn); }
.groep-kop { font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--faint); padding: 16px 12px 6px; display: flex; justify-content: space-between; }

/* mijlpalen */
.mijlpalen { list-style: none; margin: 0; padding: 0; display: grid; }
.mp { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; padding: 10px 4px; position: relative; }
.mp::before { content: ""; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px; background: var(--track); }
.mp .stip { width: 10px; height: 10px; border-radius: 50%; background: var(--track); border: 2px solid var(--tile); margin: 5px 0 0 4px; z-index: 1; }
.mp.nu .stip { background: var(--amber); box-shadow: 0 0 0 4px rgba(240,166,60,.18); }
.mp.af .stip { background: var(--good); }
.mp .mw { font-size: 13.5px; }
.mp .mw small { display: block; font-size: 11.5px; color: var(--faint); }
.mp .md { font-family: "IBM Plex Mono", monospace; font-size: 11px; color: var(--faint); }
.mp.nu .md { color: var(--amber-text); }

/* lege staat */
.leeg { max-width: 560px; margin: 8vh auto 0; text-align: center; display: grid; gap: 14px; justify-items: center; }
.leeg .icoon { font-size: 40px; background: linear-gradient(135deg, var(--text) 40%, var(--amber)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.leeg h2 { margin: 0; font-size: 22px; }
.leeg p { margin: 0; color: var(--dim); }

/* knoppen & toast */
.knop { background: var(--amber); color: var(--amber-ink); border: none; border-radius: 10px; font: inherit; font-weight: 700; font-size: 13.5px; padding: 9px 16px; cursor: pointer; }
.knop.stil { background: transparent; color: var(--dim); border: 1px solid var(--edge); font-weight: 500; }
.knop:hover { filter: brightness(1.06); }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(8px); background: var(--text); color: var(--bg); padding: 10px 18px; border-radius: 12px; font-size: 13.5px; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 90; box-shadow: var(--schaduw); }
.toast.zien { opacity: 1; transform: translateX(-50%); }

.view { display: none; }
.view.actief { display: block; }

/* faselijn */
.fases { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.fase { display: grid; gap: 7px; }
.fase .track { height: 4px; border-radius: 999px; background: var(--track); position: relative; }
.fase.nu .track { background: linear-gradient(90deg, var(--amber), color-mix(in srgb, var(--amber) 55%, var(--track))); }
.fase.nu .track::after { content: ""; position: absolute; right: -2px; top: 50%; translate: 0 -50%; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(240,166,60,.18); }
.fase .fl { font-family: "IBM Plex Mono", monospace; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fase.nu .fl { color: var(--amber-text); }

/* mobiel */
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .side { position: fixed; inset: 0; z-index: 60; height: 100vh; width: min(300px, 84vw); transform: translateX(-102%); transition: transform .22s ease; box-shadow: 30px 0 60px -30px rgba(0,0,0,.5); }
  .side.open { transform: none; }
  .menu-knop { display: grid; place-items: center; width: 40px; height: 40px; background: transparent; border: 1px solid var(--edge); border-radius: 10px; color: var(--text); cursor: pointer; }
  .main { padding: 0 16px 60px; }
  .s3, .s4, .s5, .s6, .s7, .s8 { grid-column: span 12; }
  .t-held { min-height: 300px; }
  .taak { grid-template-columns: 26px 1fr auto; }
  .taak .wie { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .side, .tile, .toast, .bar i, .ring .voortgang { transition: none; }
  .chip .live-dot { animation: none; }
}

/* producent-balk */
.prod-balk { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; border-color: color-mix(in srgb, var(--amber) 28%, var(--edge)); }
.prod-mark { font-size: 22px; font-weight: 700; background: linear-gradient(135deg, var(--text) 40%, var(--amber)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.prod-balk input { flex: 1; min-width: 220px; background: var(--tile-hi); border: 1px solid var(--edge); border-radius: 12px; color: var(--text); font: inherit; font-size: 14px; padding: 12px 16px; }
.prod-balk input::placeholder { color: var(--faint); }
.prod-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.prod-chips .chip { cursor: pointer; background: var(--tile); }
.prod-chips .chip:hover { border-color: var(--hover-edge); color: var(--text); }


/* ── taalvlag + schakelaar in de zijbalk ─────────────────────── */
.flag { display: inline-block; width: 19px; height: 13px; border-radius: 2.5px; background: center/cover no-repeat; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); flex: none; }
.flag-nl { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2012'%3E%3Crect%20width='16'%20height='4'%20fill='%23AE1C28'/%3E%3Crect%20y='4'%20width='16'%20height='4'%20fill='%23F4F4F4'/%3E%3Crect%20y='8'%20width='16'%20height='4'%20fill='%2321468B'/%3E%3C/svg%3E"); }
.flag-gb { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2012'%3E%3Crect%20width='16'%20height='12'%20fill='%23012169'/%3E%3Cpath%20d='M0%200%2016%2012%20M16%200%200%2012'%20stroke='%23fff'%20stroke-width='2.6'/%3E%3Cpath%20d='M0%200%2016%2012%20M16%200%200%2012'%20stroke='%23C8102E'%20stroke-width='1.2'/%3E%3Cpath%20d='M8%200V12%20M0%206H16'%20stroke='%23fff'%20stroke-width='4'/%3E%3Cpath%20d='M8%200V12%20M0%206H16'%20stroke='%23C8102E'%20stroke-width='2.2'/%3E%3C/svg%3E"); }
.side-lang { display: inline-flex; align-items: center; gap: 8px; margin: 14px 8px 4px; padding: 7px 11px; border: 1px solid var(--rand, #2E2939); border-radius: 10px; color: var(--dim, #A79FB3); text-decoration: none; font: 600 12px/1 "IBM Plex Mono", monospace; letter-spacing: .06em; width: max-content; }
.side-lang:hover { color: var(--tekst, #F2EDE3); border-color: var(--dim, #A79FB3); }
