/* Kaaps Film Dashboard — huisstijl: olijfgroen, crème, kobalt, rood, DM Sans, bliksem. */
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans.woff2") format("woff2-variations"), url("fonts/dm-sans.woff2") format("woff2");
             font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans-italic.woff2") format("woff2-variations"), url("fonts/dm-sans-italic.woff2") format("woff2");
             font-weight: 100 1000; font-style: italic; font-display: swap; }

:root {
  --olive: #141412; --olive-deep: #000000; /* was groen; Kaaps-zwart */ --cream: #eeece2; --paper: #f6f4ec; --ink: #16160f;
  --cobalt: #2138b6; --red: #d43b2a; --peach: #f2c9a8; --shoot: #2f8fd0; --optie: #8f5ba0;
  --bg: var(--paper); --panel: #fffdf6; --text: var(--ink); --quiet: #6b6b5e; --line: #e2dece; --strong: var(--ink);
  --c-aanvraag: #d43b2a; --c-project: #2138b6; --c-kansen: #55554d; --c-sollicitatie: #9a6331;
  --c-factuur: #16160f; --c-overig: #a3a194;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --radius: 10px;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #11110c; --panel: #1a1a13; --text: var(--cream); --quiet: #a7a594; --line: #2c2c22; --strong: #3a3a2e;
          --c-factuur: #eeece2; }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 15px/1.5 var(--font); font-optical-sizing: auto; overflow-x: hidden; }
a { color: inherit; }
::selection { background: var(--cobalt); color: var(--cream); }
.label { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--quiet); }

/* ---------- app-indeling: zijbalk + inhoud ---------- */
.app { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 18px; padding: 22px 16px 18px;
        background: var(--olive) var(--grain); color: var(--cream); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream);
         font-weight: 900; font-size: 19px; line-height: 1; letter-spacing: -.02em; text-transform: uppercase; }
.brand svg { width: 16px; height: 26px; fill: var(--cream); flex: none; }
.tagline { margin: -10px 0 0 26px; font-size: 12px; font-style: italic; color: var(--peach); }
.side-search input { width: 100%; padding: 9px 12px; border-radius: 999px; border: 1px solid rgba(238,236,226,.3);
                     background: rgba(0,0,0,.18); color: var(--cream); font: inherit; font-size: 13.5px; }
.side-search input::placeholder { color: rgba(238,236,226,.6); }
.side nav { display: flex; flex-direction: column; gap: 2px; }
.side nav a { text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: 14.5px; opacity: .82; }
.side nav a:hover { opacity: 1; background: rgba(0,0,0,.14); }
.side nav a.on { opacity: 1; background: var(--cream); color: var(--ink); font-weight: 700; }
.nav-sep { height: 1px; background: rgba(238,236,226,.2); margin: 8px 12px; }
.who { margin-top: auto; display: flex; flex-direction: column; padding: 12px; border-top: 1px solid rgba(238,236,226,.2); font-size: 14px; }
.who span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }

main { padding: 34px 40px 64px; width: 100%; min-width: 0; } /* beeldvullend */
h1 { font-weight: 800; font-size: 30px; line-height: 1.1; letter-spacing: -.025em; margin: 0 0 8px; }
h2 { font-weight: 800; font-size: 19px; letter-spacing: -.01em; margin: 0; }
h3 { font-weight: 700; font-size: 16px; }
.sub { color: var(--quiet); margin: 0 0 22px; max-width: 70ch; }
code { font-size: 13px; background: var(--line); padding: 1px 5px; border-radius: 4px; }

/* ---------- vandaag ---------- */
.hello { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.hello h1 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 900; letter-spacing: -.035em; margin: 6px 0 4px; }
.hello h1 .bolt { width: .4em; height: .62em; fill: var(--red); margin-left: .12em; vertical-align: -.02em; }
.hello-sub { margin: 0; color: var(--quiet); font-size: 15.5px; }
.tabs { display: flex; gap: 6px; padding: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; }
.tabs a { text-decoration: none; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--quiet); }
.tabs a.on { background: var(--text); color: var(--bg); }

.stats { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; margin-bottom: 28px; }
.stat { display: flex; align-items: baseline; gap: 8px; padding: 10px 14px; background: var(--panel); border: 1px solid var(--line);
        border-left: 4px solid var(--c); border-radius: 8px; text-decoration: none; transition: transform .12s, border-color .12s; }
.stat:hover { transform: translateY(-1px); border-color: var(--c); }
.stat b { font-size: 22px; font-weight: 900; letter-spacing: -.02em; }
.stat span { font-size: 13px; color: var(--quiet); }
.stats-note { align-self: center; font-size: 12px; color: var(--quiet); margin-left: 4px; }

.home { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.col-right { position: sticky; top: 24px; }

.deadlines { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.dl { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 11px 14px;
      border-top: 1px solid var(--line); text-decoration: none; }
.dl:first-child { border-top: 0; }
.dl:hover { background: var(--bg); }
.dl-date { text-align: center; border-radius: 8px; padding: 5px 0 4px; background: var(--bg); border: 1px solid var(--line); line-height: 1; }
.dl-date b { display: block; font-size: 20px; font-weight: 900; }
.dl-date span { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--quiet); }
.dl-title { font-weight: 600; font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dl-left { font-size: 12.5px; font-weight: 700; color: var(--quiet); white-space: nowrap; text-align: right; }
.dl-left small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.dl.soon .dl-date { background: var(--peach); border-color: var(--peach); color: var(--ink); }
.dl.soon .dl-date span { color: var(--ink); }
.dl.soon .dl-left { color: var(--red); }
.dl.late .dl-date { background: var(--red); border-color: var(--red); color: var(--cream); }
.dl.late .dl-date span { color: var(--cream); }
.dl.late .dl-left { color: var(--red); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }

.reel { position: relative; margin: 18px 0 0; border-radius: var(--radius); overflow: hidden; background: var(--olive); transform: rotate(-1.2deg); }
.reel video { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.reel figcaption { position: absolute; left: 10px; bottom: 10px; padding: 3px 8px; border-radius: 4px; background: rgba(22,22,15,.75);
                   color: var(--cream); font-size: 12px; font-weight: 600; }

/* ---------- lijsten ---------- */
.list { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.row { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; padding: 14px 16px; border-top: 1px solid var(--line);
       align-items: start; text-decoration: none; }
.row:first-child { border-top: 0; }
.row:hover { background: var(--bg); }
.score { font-size: 20px; font-weight: 900; letter-spacing: -.02em; line-height: 1; text-align: center; padding: 10px 0 9px;
         border-radius: 8px; background: var(--red); color: var(--cream); }
.score.mid { background: transparent; color: var(--text); border: 1.5px solid var(--strong); }
.subject { font-weight: 700; font-size: 15.5px; letter-spacing: -.005em; }
.meta { color: var(--quiet); font-size: 12.5px; }
.summary { margin-top: 3px; }
.reasons { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.chip { font-size: 12px; font-weight: 500; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--quiet);
        white-space: nowrap; text-decoration: none; display: inline-block; }
.chip.hot { border-color: var(--red); color: var(--red); font-weight: 700; }
.cat { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 5px;
       color: var(--cream); white-space: nowrap; }
.cat-aanvraag { background: var(--c-aanvraag); } .cat-project { background: var(--c-project); }
.cat-kansen { background: var(--c-kansen); } .cat-sollicitatie { background: var(--c-sollicitatie); }
.cat-factuur { background: var(--c-factuur); color: var(--bg); } .cat-overig, .cat-None { background: var(--c-overig); }
.right { text-align: right; white-space: nowrap; }
.right .meta { margin-top: 4px; }
mark { background: #ffe38a; color: var(--ink); padding: 0 2px; border-radius: 2px; }

/* ---------- formulieren ---------- */
form.filters { display: grid; grid-template-columns: 2fr repeat(5, 1fr) auto; gap: 8px; margin-bottom: 16px; }
input, select, button { font: inherit; font-size: 14px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px;
                        background: var(--panel); color: var(--text); }
input:focus, select:focus { outline: 2px solid var(--cobalt); outline-offset: 0; border-color: transparent; }
button { cursor: pointer; font-weight: 600; }
button:hover { border-color: var(--strong); }
button.primary { background: var(--text); color: var(--bg); border-color: var(--text); }
button.primary:hover { background: var(--red); border-color: var(--red); color: var(--cream); }

/* ---------- panelen & tabellen ---------- */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 16px; }
.mailbody { white-space: pre-wrap; font-size: 15px; line-height: 1.65; max-height: 70vh; overflow: auto; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; }
.actions form { margin-bottom: 8px; }
.actions button, .actions select { width: 100%; }
.actions label.meta { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; display: block; margin: 8px 0 4px; }
table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--panel); border: 1px solid var(--line);
        border-radius: var(--radius); overflow: hidden; }
th, td { text-align: left; padding: 10px 12px; border-top: 1px solid var(--line); font-size: 14px; vertical-align: top; }
th { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cream);
     background: var(--olive); border-top: 0; }
.empty { padding: 34px; text-align: center; color: var(--quiet); }
.pager { display: flex; gap: 14px; justify-content: center; margin: 18px 0; font-size: 13px; }
.notice { background: var(--cream); color: var(--ink); border-left: 4px solid var(--red); border-radius: 0 8px 8px 0; padding: 10px 14px; margin: 12px 0 16px; }

@media (prefers-reduced-motion: reduce) { .reel video { display: none; } .reel { background: var(--olive) url("kaaps-kleur.jpg") center/cover; aspect-ratio: 16/9; } }
@media (max-width: 1080px) { .home { grid-template-columns: minmax(0, 1fr); } .col-right { position: static; } }
@media (max-width: 820px) {
  /* Ook smal blijft het menu links staan, als smallere kolom */
  .app { grid-template-columns: 150px minmax(0, 1fr); }
  .side { padding: 16px 10px 14px; gap: 12px; }
  .brand { font-size: 14px; } .tagline { display: none; }
  .side nav a { padding: 7px 8px; font-size: 13px; }
  main { padding: 22px 16px 48px; }
  .grid2 { grid-template-columns: 1fr; } form.filters { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 46px 1fr; } .row .right { grid-column: 2; text-align: left; }
  .stats-note { display: none; }
  .stats { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  .stat { flex: none; }
  .col-right { order: -1; } .reel { display: none; }
}

/* ---------- deadlines-overzicht ---------- */
.mk { position: relative; display: inline-block; width: 12px; height: 12px; vertical-align: -1px; }
.mk::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--c-project); }
.mk.aanleveren::before { border-radius: 0; background: var(--red); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); inset: -1px; }
.tl { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 0 10px; margin-bottom: 28px; overflow-x: auto; }
.tl-head, .tl-row { display: grid; grid-template-columns: 250px minmax(560px, 1fr); align-items: center; }
.tl-weeks { display: grid; grid-template-columns: repeat(var(--n), 1fr); }
.tl-weeks div { padding: 8px 8px 6px; border-left: 1px solid var(--line); font-size: 12px; }
.tl-weeks b { display: block; font-size: 12.5px; }
.tl-weeks span { color: var(--quiet); }
.tl-weeks .now { background: var(--bg); }
.tl-weeks .now b { color: var(--red); }
.tl-row { border-top: 1px solid var(--line); min-height: 64px; }
.tl-row:hover { background: var(--bg); }
.tl-name { padding: 8px 16px; text-decoration: none; overflow: hidden; }
.tl-name b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-name span { font-size: 12px; color: var(--quiet); }
.tl-track { position: relative; height: 64px; background-image: linear-gradient(to right, var(--line) 1px, transparent 1px);
            background-size: calc(100% / var(--n)) 100%; }
.tl-today { position: absolute; top: 0; bottom: 0; width: 0; border-left: 2px dashed var(--red); opacity: .55; }
.tl-track .mk { position: absolute; top: 26px; width: 14px; height: 14px; margin-left: -7px; text-decoration: none; z-index: 1; }
.tl-track .mk em { position: absolute; top: 17px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 10.5px;
                   font-weight: 600; white-space: nowrap; color: var(--quiet); }
.tl-track .mk.up em { top: -17px; }
.tl-track .mk:hover em { color: var(--text); }
.tl-track .mk.late { opacity: .45; }
.weeks { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; align-items: start; }
.week { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.week.now { border-color: var(--text); }
.week h3 { margin: 0 0 8px; font-size: 15px; }
.week h3 span { font-weight: 500; color: var(--quiet); font-size: 13px; }
.wk-item { display: grid; grid-template-columns: 44px 14px 1fr; gap: 8px; align-items: start; padding: 7px 0; border-top: 1px solid var(--line); text-decoration: none; }
.wk-item:first-of-type { border-top: 0; }
.wk-item .mk { margin-top: 4px; }
.wk-day { font-size: 12px; font-weight: 700; color: var(--quiet); padding-top: 1px; }
.wk-body b { display: block; font-size: 13.5px; font-weight: 600; }
.wk-body small { color: var(--quiet); font-size: 12px; }
.wk-item.late { opacity: .5; }
@media (min-width: 821px) { .side { min-height: 100vh; } }

/* ---------- deadlines-scherm: 16:9 (tv/beamer) en mobiel, zonder zijbalk ---------- */
body.screen { background: var(--paper); color: var(--ink); min-height: 100vh; display: flex; flex-direction: column;
              padding: 2.2vw 2.4vw 2vw; gap: 1.6vw; }
@media (prefers-color-scheme: dark) { body.screen { background: #11110c; color: var(--cream); } }
.scr-top { display: flex; align-items: flex-end; gap: 2vw; }
.scr-title { font-size: clamp(44px, 6.2vw, 150px); font-weight: 1000; letter-spacing: -.05em; line-height: .82; text-decoration: none; }
.scr-title .bolt { width: .36em; height: .6em; fill: var(--red); margin-left: .05em; }
.scr-count { font-size: clamp(14px, 1.2vw, 28px); font-weight: 900; letter-spacing: .04em; padding-bottom: .4vw; }
.scr-count b { font-size: 2.4em; color: var(--red); margin-right: .15em; vertical-align: -.25em; }
.scr-clock { margin-left: auto; text-align: right; font-size: clamp(14px, 1.5vw, 34px); font-weight: 900; letter-spacing: .02em; padding-bottom: .4vw; }
.scr-clock small { display: block; font-size: .5em; letter-spacing: .2em; opacity: .55; }
.scr-grid { flex: 1; max-width: none; width: 100%; padding: 0; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 1.2vw; align-items: start; }
.scr-col h2 { font-size: clamp(13px, 1.05vw, 24px); font-weight: 1000; letter-spacing: .12em; margin: 0 0 .8vw; padding-bottom: .5vw;
              border-bottom: .25vw solid currentColor; opacity: .6; display: flex; justify-content: space-between; gap: 8px; }
.scr-col h2 span { font-weight: 700; letter-spacing: .04em; }
.scr-col.now h2 { color: var(--red); opacity: 1; }
.card { display: flex; flex-direction: column; gap: .35vw; padding: 1vw 1.1vw; margin-bottom: .7vw; border: .16vw solid currentColor;
        border-radius: .8vw; text-decoration: none; background: var(--panel); text-transform: uppercase; }
.card-date { font-size: clamp(11px, .85vw, 20px); font-weight: 800; letter-spacing: .08em; opacity: .75; }
.card-name { font-size: clamp(20px, 1.9vw, 46px); font-weight: 1000; letter-spacing: -.035em; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-what { align-self: flex-start; font-size: clamp(14px, 1.3vw, 32px); font-weight: 1000; letter-spacing: -.01em; padding: .2em .5em;
             border-radius: .3em; background: var(--c-project); color: var(--cream); }
.card.aanleveren { background: var(--red); border-color: var(--red); color: var(--cream); }
.card.aanleveren .card-what { background: var(--cream); color: var(--red); }
.card.mail .card-what { background: transparent; color: inherit; border: 2px solid currentColor; opacity: .6; }
.card.today { box-shadow: 0 0 0 .3vw var(--peach); }
.card.late { opacity: .35; } .card.late .card-name { text-decoration: line-through; }
.empty-card { border-style: dashed; opacity: .35; font-weight: 900; font-size: clamp(12px, .9vw, 20px); letter-spacing: .1em; }
.more { font-weight: 900; letter-spacing: .1em; opacity: .5; font-size: clamp(12px, .9vw, 20px); }
@media (max-width: 820px) {
  body.screen { padding: 18px 16px 32px; gap: 18px; }
  .scr-top { flex-wrap: wrap; align-items: center; } .scr-clock { display: none; }
  .scr-grid { grid-template-columns: 1fr; gap: 22px; }
  .scr-col h2 { font-size: 13px; margin-bottom: 8px; padding-bottom: 6px; border-bottom-width: 3px; }
  .card { padding: 12px 14px; margin-bottom: 8px; border-width: 2px; border-radius: 12px; gap: 4px;
          display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .card-date { grid-column: 1 / -1; font-size: 11.5px; }
  .card-name { font-size: 22px; white-space: normal; } .card-what { font-size: 15px; align-self: center; border-radius: 6px; }
  .card.today { box-shadow: 0 0 0 4px var(--peach); }
}
.dl-title.loudish { font-weight: 900; font-size: 15px; text-transform: uppercase; letter-spacing: -.01em; -webkit-line-clamp: 1; }
.dl-what { display: inline-block; margin-top: 3px; font-size: 11.5px; font-weight: 900; text-transform: uppercase; padding: 1px 7px;
           border-radius: 5px; background: var(--c-project); color: var(--cream); }
.dl-what.aanleveren { background: var(--red); }
.dl-what.mail { background: transparent; color: var(--quiet); border: 1px solid var(--line); }

/* shoots en opties op het deadlinescherm */
.scr-count.shoot b { color: var(--shoot); }
.scr-count.optie b { color: var(--optie); }
.scr-counts { display: flex; flex-direction: column; gap: .2vw; padding-bottom: .3vw; }
.scr-row { display: flex; gap: 1.6vw; }
.scr-row .scr-count { padding-bottom: 0; }
.scr-counts small { font-size: clamp(10px, .7vw, 16px); font-weight: 800; letter-spacing: .18em; opacity: .5; }
.card.shoot { background: var(--shoot); border-color: var(--shoot); color: #fff; }
.card.shoot .card-what { background: #fff; color: var(--shoot); }
.card.optie { background: transparent; border-style: dashed; border-color: var(--optie); color: var(--optie); }
.card.optie .card-what { background: var(--optie); color: #fff; }
.card.dense { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .15vw .8vw; padding: .65vw .9vw; margin-bottom: .5vw; }
.card.dense .card-date { grid-column: 1 / -1; font-size: clamp(10px, .75vw, 18px); }
.card.dense .card-name { font-size: clamp(16px, 1.45vw, 36px); }
.card.dense .card-what { align-self: center; font-size: clamp(11px, .95vw, 24px); }
.dl-what.shoot { background: var(--shoot); }
.dl-what.optie { background: transparent; color: var(--optie); border: 1.5px dashed var(--optie); }
@media (max-width: 820px) { .card.dense { padding: 12px 14px; gap: 4px 12px; } .card.dense .card-name { font-size: 20px; } .card.dense .card-what { font-size: 14px; }
  .scr-row { gap: 14px; flex-wrap: wrap; } }

/* ---------- hoofdpagina 'Vandaag' ---------- */
.block { margin-bottom: 26px; }
.block h2, .section-head h2 { font-size: 14px; font-weight: 900; letter-spacing: .12em; }
.section-head a.label { text-decoration: none; }
.nextup { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(420px, 100%), 1fr)); gap: 10px; }
.nextup .card { margin: 0; padding: 14px 16px; border-width: 2px; border-radius: 12px; }
.nextup .card .card-date { font-size: 11.5px; } .nextup .card .card-name { font-size: 24px; } .nextup .card .card-what { font-size: 15px; }
.nextup .card.today { box-shadow: 0 0 0 4px var(--peach); }
.who-bar { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 12px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; }
.who-item b { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-right: 4px; }
.who-item.shoot b { color: var(--shoot); } .who-item.optie b { color: var(--optie); } .who-item.edit b, .who-item.studio b { color: #2b9a5a; }
.who-item.afwezig { color: var(--quiet); }
.row.act { grid-template-columns: 40px 1fr auto; align-items: center; }
.tick { width: 32px; height: 32px; padding: 0; border-radius: 50%; font-size: 15px; font-weight: 900; line-height: 1; }
.tick:hover { background: var(--text); color: var(--bg); }
.row.mv { grid-template-columns: 1fr; padding: 11px 14px; }
.row.mv .summary { font-size: 14px; }
.row.sug { grid-template-columns: 1fr auto; align-items: center; padding: 10px 14px; }
.sug-btns { display: flex; gap: 6px; } .sug-btns button { padding: 5px 12px; }

/* ---------- wie werkt waaraan (16:9 en mobiel) ---------- */
body.screen.team { gap: 1.2vw; }
body.team .scr-title { font-size: clamp(32px, 4.2vw, 100px); }
.tm { display: flex; flex-direction: column; border-top: .2vw solid currentColor; }
.tm-row { display: grid; grid-template-columns: minmax(150px, 13vw) repeat(var(--days), minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.tm-head { border-bottom: .2vw solid currentColor; }
.tm-name { padding: .55vw .6vw; font-weight: 900; font-size: clamp(14px, 1.15vw, 28px); line-height: 1.1; align-self: center; text-transform: uppercase; letter-spacing: -.01em; }
.tm-name small { display: block; font-size: .5em; font-weight: 700; letter-spacing: .1em; opacity: .5; margin-top: 2px; }
.tm-day { padding: .55vw .6vw; font-size: clamp(11px, .85vw, 20px); font-weight: 800; letter-spacing: .08em; border-left: 1px solid var(--line); }
.tm-day b { font-size: 1.5em; letter-spacing: -.02em; }
.tm-day.now { color: var(--red); }
.tm-cell { padding: .35vw; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: .3vw; min-height: 3.2vw; }
.tm-cell.now { background: rgba(212, 59, 42, .06); }
.tm-chip { display: flex; flex-direction: column; padding: .3vw .5vw; border-radius: .4vw; line-height: 1.05; border: 2px solid transparent; }
.tm-chip b { font-size: clamp(11px, .95vw, 22px); font-weight: 1000; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-chip small { font-size: clamp(9px, .62vw, 15px); font-weight: 700; letter-spacing: .04em; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-chip.shoot { background: var(--shoot); color: #fff; }
.tm-chip.optie, .tm-chip.optie-edit { border: 2px dashed var(--optie); color: var(--optie); }
.tm-chip.edit { background: #2b9a5a; color: #fff; }
.tm-chip.prepro { border-color: #16a085; color: #12806a; }
.tm-tag { align-self: flex-start; font-size: clamp(9px, .62vw, 15px); font-weight: 800; letter-spacing: .1em; padding: .1vw .4vw; border-radius: .3vw; background: var(--line); color: var(--quiet); }
.tm-tag.thuis { background: var(--peach); color: var(--ink); }
.tm-away { display: block; text-align: center; padding: .45vw; border-radius: .4vw; font-weight: 900; font-size: clamp(10px, .75vw, 18px); letter-spacing: .14em; color: var(--quiet);
           background: repeating-linear-gradient(45deg, transparent 0 6px, var(--line) 6px 8px); }
.tm-legend { display: flex; flex-wrap: wrap; gap: .6vw 1vw; align-items: center; font-size: clamp(10px, .75vw, 18px); }
.tm-legend .tm-chip { flex-direction: row; padding: .15vw .5vw; } .tm-legend .tm-away { display: inline-block; padding: .15vw .6vw; }
.tm-src { margin-left: auto; opacity: .5; font-weight: 700; letter-spacing: .06em; }
@media (prefers-color-scheme: dark) { .tm-chip.prepro { color: #4fd1b5; border-color: #4fd1b5; } }
@media (max-width: 820px) {
  .tm { border-top: 0; gap: 14px; }
  .tm-head { display: none; }
  .tm-row { display: block; border: 2px solid currentColor; border-radius: 12px; padding: 10px 12px; }
  .tm-name { padding: 0 0 6px; font-size: 18px; }
  .tm-cell { border-left: 0; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px 0; min-height: 0; border-top: 1px solid var(--line); }
  .tm-cell::before { content: attr(data-day); width: 100%; font-size: 11px; font-weight: 800; letter-spacing: .08em; opacity: .6; }
  .tm-cell:empty { display: none; }
  .tm-chip { padding: 5px 8px; border-radius: 7px; } .tm-chip b { font-size: 14px; } .tm-chip small { font-size: 10.5px; }
  .tm-tag, .tm-away { font-size: 10.5px; padding: 3px 7px; }
  .tm-cell.now { background: transparent; } .tm-cell.now::before { color: var(--red); opacity: 1; }
  .tm-legend { display: none; }
}
/* team: volle breedte en compacter, zodat het op één 16:9-scherm past */
body.team main.tm { max-width: none; width: 100%; margin: 0; padding: 0; }
@media (min-width: 821px) {
  body.screen.team { gap: .8vw; }
  body.team .scr-title { font-size: clamp(30px, 3.4vw, 84px); }
  .tm-cell { padding: .25vw; gap: .2vw; min-height: 2.6vw; }
  .tm-chip { padding: .18vw .45vw; }
  .tm-chip b { font-size: clamp(11px, .85vw, 20px); }
  .tm-name { padding: .3vw .6vw; font-size: clamp(13px, 1vw, 24px); }
}

/* home-knop op de schermpagina's */
.scr-home { margin-left: auto; align-self: center; text-decoration: none; font-weight: 900; letter-spacing: .08em;
  font-size: clamp(12px, .8vw, 18px); padding: .6em 1.1em; border-radius: 999px; border: 2px solid currentColor; color: inherit; white-space: nowrap; }
.scr-home:hover, .scr-home:focus-visible { background: var(--ink, #21231a); color: var(--paper, #eeece2); outline: none; }
@media (max-width: 820px) { .scr-home { order: -1; margin-left: 0; } .scr-top { flex-wrap: wrap; } }
@media (max-width: 820px) { .tm-row.tm-head { display: none; } }

/* nog niet gesorteerd */
.badge.open, .badge.vip { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; padding: 3px 7px; border-radius: 6px; align-self: center; }
.badge.open { background: var(--line); color: var(--quiet); }
.badge.vip { background: var(--red); color: #fff; }
.note-unsorted { font-size: 12.5px; color: var(--quiet); padding: 10px 14px; border-top: 1px dashed var(--line); }

/* archief: lijst links, mail rechts */
body:has(.split) main { max-width: none; }
.split { display: grid; grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); gap: 20px; align-items: start; }
.split-list { display: flex; flex-direction: column; max-height: calc(100vh - 170px); overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.split-list > .meta { padding: 10px 14px; margin: 0; border-bottom: 1px solid var(--line); }
.sl-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); text-decoration: none; }
.sl-row:hover { background: rgba(0,0,0,.035); }
.sl-row.on { background: var(--text); color: var(--bg); }
.sl-who { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-date { font-size: 12px; color: var(--quiet); }
.sl-row.on .sl-date, .sl-row.on .sl-subj { color: inherit; opacity: .75; }
.sl-subj { grid-column: 1 / -1; font-size: 12.5px; color: var(--quiet); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.split-read { min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; max-height: calc(100vh - 170px); overflow: auto; position: sticky; top: 16px; }
.split-read h2 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.01em; text-wrap: balance; }
.split-read .mailbody { max-height: none; overflow: visible; max-width: 80ch; }
@media (max-width: 820px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split-list { max-height: 45vh; }
  .split-read { position: static; max-height: none; padding: 16px; }
}
form.filters { grid-template-columns: minmax(0, 2fr) repeat(5, minmax(0, 1fr)) auto; }
form.filters > * { min-width: 0; }
@media (max-width: 820px) { form.filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* urenregistratie in het weekoverzicht */
.tm.with-hours .tm-row { grid-template-columns: minmax(150px, 13vw) repeat(var(--days), minmax(0, 1fr)) minmax(90px, 7vw); }
.tm-tot { text-align: right; }
.tm-cell.tm-tot { align-items: flex-end; justify-content: center; gap: 0; }
.tm-cell.tm-tot b { font-size: clamp(16px, 1.5vw, 34px); font-weight: 1000; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.tm-cell.tm-tot small { font-size: clamp(9px, .62vw, 15px); font-weight: 700; letter-spacing: .03em; color: var(--quiet); white-space: nowrap; }
.tm-cell.tm-tot small.open { color: var(--red); }
.tm-projects { display: flex; flex-wrap: wrap; gap: .4vw .8vw; align-items: center; font-size: clamp(11px, .8vw, 19px); }
.tm-pl { font-weight: 900; letter-spacing: .1em; font-size: .85em; color: var(--quiet); }
.tm-pp { padding: .2vw .6vw; border-radius: 999px; border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
@media (max-width: 820px) {
  .tm.with-hours .tm-row { grid-template-columns: none; }
  .tm-cell.tm-tot { align-items: flex-start; flex-direction: row; gap: 8px; }
  .tm-cell.tm-tot b { font-size: 18px; }
  .tm-cell.tm-tot small { font-size: 11px; align-self: center; }
  .tm-projects { font-size: 12px; gap: 6px; }
}

/* veel mensen: chips op één regel, zodat het op één 16:9-scherm past */
@media (min-width: 821px) {
  .tm.dense .tm-chip { flex-direction: row; align-items: baseline; gap: .35vw; padding: .14vw .45vw; }
  .tm.dense .tm-chip small { flex: 1 1 auto; min-width: 0; }
  .tm.dense .tm-cell { min-height: 2.1vw; gap: .15vw; padding: .2vw; }
  .tm.dense .tm-name { padding-block: .2vw; }
  .tm.dense .tm-cell.tm-tot b { font-size: clamp(14px, 1.2vw, 28px); }
}
@media (min-width: 821px) { .tm.dense .tm-chip b { flex: 0 1 auto; min-width: 0; } .tm.dense .tm-chip small { flex: 1 1 0; } }
@media (max-width: 820px) {
  body.team .tabs a { padding: 7px 10px; font-size: 12px; white-space: nowrap; }
  .tm-tot, .tm-cell.tm-tot::before { text-align: left; }
  .tm-cell.tm-tot { justify-content: flex-start; flex-wrap: wrap; }
}

.sr-project { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 4px 0 14px; }
.proj-link { display: inline-block; text-decoration: none; font-weight: 800; font-size: 13px; letter-spacing: .02em;
  padding: 5px 11px; border-radius: 999px; background: var(--olive); color: var(--cream); }
.proj-link:hover, .proj-link:focus-visible { background: var(--text); color: var(--bg); outline: none; }

.proj-filter { min-width: 0; width: 100%; max-width: 220px; padding: 7px 10px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--panel); color: var(--text); font: inherit; font-size: 13px; }
form.filters .proj-filter { max-width: none; }
@media (min-width: 821px) { form.filters { grid-template-columns: minmax(0, 2fr) repeat(6, minmax(0, 1fr)) auto; } }
.side-box .proj-filter, aside .proj-filter { max-width: none; margin-bottom: 6px; }

/* afspraken */
.mt-list { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.mt { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 2px 14px; padding: 10px 16px; border-top: 1px solid var(--line); }
.mt:first-child { border-top: 0; }
.mt-time { grid-row: span 2; font-weight: 800; font-size: 13px; letter-spacing: .04em; font-variant-numeric: tabular-nums; padding-top: 2px; }
.mt-title { font-weight: 700; min-width: 0; }
.mt-meta { font-size: 12.5px; color: var(--quiet); min-width: 0; overflow-wrap: anywhere; }
.mt.private .mt-title { color: var(--quiet); font-weight: 600; font-style: italic; }
.mt.past { opacity: .5; }
.proj-link.sm { font-size: 11px; padding: 2px 8px; vertical-align: 2px; }
.now-red { color: var(--red); }

/* Frame.io-feedback per project */
.fio-proj{border:1px solid var(--line,#e5e5e5);border-radius:10px;margin:10px 0;background:var(--panel,#fff)}
.fio-proj>summary{cursor:pointer;padding:12px 14px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;list-style:none}
.fio-proj>summary::-webkit-details-marker{display:none}
.fio-proj>summary::before{content:"▸";margin-right:6px;transition:transform .15s}
.fio-proj[open]>summary::before{transform:rotate(90deg)}
.fio-name{flex:1;font-weight:600}
.fio-count{font-size:.9em;opacity:.8}
.fio-file{padding:0 14px 12px}
.fio-file-head{font-weight:600;margin:6px 0}
.fio-table{width:100%;border-collapse:collapse;font-size:.92em}
.fio-table th{text-align:left;font-weight:600;font-size:.8em;text-transform:uppercase;opacity:.6;padding:4px 8px;border-bottom:1px solid var(--line,#e5e5e5)}
.fio-table td{padding:6px 8px;border-bottom:1px solid var(--line,#f0f0f0);vertical-align:top}
.fio-table .tc{font-family:ui-monospace,Menlo,monospace;white-space:nowrap;width:1%}
.fio-table .fwho,.fio-table .st,.fio-table .dt{white-space:nowrap;width:1%}
.fio-table tr.done{opacity:.45}
.fio-table tr.done .txt{text-decoration:line-through}
@media (max-width:700px){.fio-table .dt,.fio-table th:last-child{display:none}}

/* Echt Kaaps Film-logo bovenin de zijbalk */
.brand { flex-direction: column; align-items: flex-start; gap: 6px; }
.brand { align-self: center; align-items: center; padding: 6px 0 4px; border-radius: 10px; }
.brand img { display: block; height: 84px; width: auto; transition: transform .15s; }
.brand:hover img { transform: scale(1.05); }
@media (max-width: 820px) { .brand img { height: 60px; } }

/* ---------- Frame.io-look in de inhoudskolom (rechts) ---------- */
[data-theme=zwart] .app { --bg: #16161b; --panel: #1d1d23; --panel-2: #24242b; --text: #ececf1; --quiet: #8d8d99; --line: #2b2b33;
       --strong: #ececf1; --accent: #6b5cff; --c-factuur: #ececf1; --c-kansen: #8d8d99; }
[data-theme=zwart] body:has(.app) { background: #16161b; }
[data-theme=zwart] .app main { background: var(--bg); color: var(--text); }
[data-theme=zwart] .app .side { background: #000; }                         /* zijbalk zwart, zoals de rail van Frame.io */
[data-theme=zwart] .app .side nav a.on { background: #26262e; color: #fff; }
[data-theme=zwart] .app .side nav a:hover { background: #1a1a20; }
[data-theme=zwart] .app h1, .app .hello h1 { font-weight: 600; letter-spacing: -.02em; }
[data-theme=zwart] .app .hello h1 { font-size: clamp(26px, 2.4vw, 34px); }
[data-theme=zwart] .app .label, .app .section-head h2 { color: var(--quiet); }
[data-theme=zwart] .app .section-head h2 { font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: none; }
[data-theme=zwart] .app th, .app .fio-table th { background: transparent; color: var(--quiet); font-weight: 500; font-size: 12px;
       letter-spacing: 0; text-transform: none; opacity: 1; border-bottom: 1px solid var(--line); }
[data-theme=zwart] .app table { background: transparent; border-color: var(--line); }
[data-theme=zwart] .app tr:hover td { background: #1f1f26; }
[data-theme=zwart] .app .panel, .app .fio-proj, .app .row, .app .card { border-color: var(--line); }
[data-theme=zwart] .app .card { border-width: 1px; background: var(--panel); }
[data-theme=zwart] .app .tabs { background: var(--panel); border-color: var(--line); }
[data-theme=zwart] .app .tabs a.on { background: #2e2e37; color: #fff; }
[data-theme=zwart] .app .chip { border-color: var(--line); color: var(--quiet); }
[data-theme=zwart] .app .proj-link { background: #2e2e37; color: #fff; }
[data-theme=zwart] .app .proj-link:hover { background: var(--accent); color: #fff; }
[data-theme=zwart] .app a:not(.proj-link):not(.card):not(.brand):hover { color: #fff; }
[data-theme=zwart] .app input, .app select, .app textarea { background: var(--panel-2); color: var(--text); border-color: var(--line); }
[data-theme=zwart] .app mark { background: var(--accent); color: #fff; }


/* Voor alle thema's: zwarte zijbalk, rustige koppen */
.app .side { background: #000; }
.app .side nav a.on { background: #26262e; color: #fff; }
.app h1, .app .hello h1 { font-weight: 600; letter-spacing: -.02em; }
.app .hello h1 { font-size: clamp(26px, 2.4vw, 34px); }
.app .section-head h2 { font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: none; color: var(--quiet); }
.app th, .app .fio-table th { background: transparent; color: var(--quiet); font-weight: 500; font-size: 12px;
       letter-spacing: 0; text-transform: none; opacity: 1; border-bottom: 1px solid var(--line); }
.app table { background: transparent; }
.app .card { border-width: 1px; border-color: var(--line); }

/* Thema beige (het oorspronkelijke Kaaps-crème) */
[data-theme=beige] .app { --bg: #f6f4ec; --panel: #fffdf6; --text: #16160f; --quiet: #6b6b5e; --line: #e2dece; --strong: #16160f; }
[data-theme=beige] .app tr:hover td { background: #f1eee3; }
/* De hele pagina beige, ook als de Mac op donker staat (anders blijft de achtergrond zwart en de tekst licht) */
[data-theme=beige] body:has(.app) { background: #f6f4ec; color: #16160f; }
[data-theme=beige] .app main { background: var(--bg); color: var(--text); }

/* Kleurkeuze onderin de zijbalk */
.theme-pick { display: flex; gap: 8px; margin-top: 10px; }
.theme-pick .sw { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #3a3a44; cursor: pointer; padding: 0; }
.theme-pick .sw.on { outline: 2px solid #fff; outline-offset: 2px; }
.sw-beige { background: #eeece2; }
/* Menu: Archivo smal en vet, in hoofdletters, met een vlak achter het actieve en aangewezen item */
@font-face { font-family: "Archivo"; src: url("fonts/archivo.woff2") format("woff2");
             font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
.app .side nav { gap: 4px; }
.app .side nav a { font-family: "Archivo", var(--font); font-weight: 750; font-stretch: 78%; font-size: 19px;
                   text-transform: uppercase; letter-spacing: .01em; padding: 9px 12px; border-radius: 8px; opacity: .8;
                   transition: background .12s, opacity .12s; }
.app .side nav a:hover { opacity: 1; background: #1c1c22; }
.app .side nav a.on { opacity: 1; background: #2a2a33; color: #fff; }
@media (max-width: 820px) { .app .side nav a { font-size: 15px; padding: 7px 8px; } }
.app { grid-template-columns: 264px minmax(0, 1fr); }
.app .side nav a { white-space: nowrap; }
@media (max-width: 820px) { .app { grid-template-columns: 170px minmax(0, 1fr); } }

/* Menu-indeling: groepjes met witruimte; instellingen klein en inklapbaar onderaan */
.app .side nav .nav-gap { height: 14px; }
.app .side .nav-more { margin-top: 18px; border-top: 1px solid var(--side-line); padding-top: 10px; }
.app .side .nav-more summary { cursor: pointer; list-style: none; font-family: "Archivo", var(--font); font-stretch: 78%;
  font-weight: 650; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--side-quiet); padding: 6px 12px; }
.app .side .nav-more summary::-webkit-details-marker { display: none; }
.app .side .nav-more summary::after { content: " ▸"; } .app .side .nav-more[open] summary::after { content: " ▾"; }
.app .side .nav-more a { font-family: var(--font); font-stretch: 100%; font-weight: 500; font-size: 13.5px; text-transform: none;
  letter-spacing: 0; padding: 6px 12px; display: block; opacity: .8; }

/* Zijbalk kleurt mee met het thema */
.app { --side-bg: #000; --side-text: #eeece2; --side-quiet: #8d8d99; --side-on: #2a2a33; --side-hover: #1c1c22; --side-line: #22222a; }
[data-theme=beige] .app { --side-bg: #eeece2; --side-text: #16160f; --side-quiet: #6b6b5e; --side-on: #e0ddcf; --side-hover: #e6e3d6; --side-line: #d8d4c3; }
.app .side { background: var(--side-bg); color: var(--side-text); border-right: 1px solid var(--side-line); }
.app .side nav a { color: var(--side-text); }
.app .side nav a:hover { background: var(--side-hover); }
.app .side nav a.on { background: var(--side-on); color: var(--side-text); }
.app .side .who, .app .side .who span { color: var(--side-text); border-color: var(--side-line); }
.app .side-search input { background: var(--side-hover); color: var(--side-text); border-color: var(--side-line); }
.app .side-search input::placeholder { color: var(--side-quiet); }
[data-theme=beige] .brand img { filter: invert(1) brightness(.15); }
.theme-pick .sw { border-color: var(--side-line); } .theme-pick .sw.on { outline-color: var(--side-text); }

/* Kleur per klant */
.cl-dot { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 7px; vertical-align: -2px; flex: none;
  background: linear-gradient(135deg, hsl(var(--h) 85% 68%), hsl(calc(var(--h) + 40) 75% 52%)); }
h1 .cl-dot { width: 22px; height: 22px; border-radius: 6px; vertical-align: -1px; margin-right: 10px; }

/* Menu in hetzelfde font als de kaarten (DM Sans, zwaarst): breder en vetter */
.app { grid-template-columns: 296px minmax(0, 1fr); }
.app .side nav a { font-family: var(--font); font-stretch: 100%; font-weight: 1000; font-size: 20px;
                   letter-spacing: -.02em; text-transform: uppercase; padding: 9px 14px; }
.app .side .nav-more summary { font-family: var(--font); font-stretch: 100%; font-weight: 900; letter-spacing: .04em; }
@media (max-width: 820px) { .app { grid-template-columns: 190px minmax(0, 1fr); } .app .side nav a { font-size: 15px; padding: 7px 9px; } }

/* Het "deadline-kaart"-font (DM Sans zwaarst, strak gespatieerd, hoofdletters) vaker en subtiel inzetten */
.app .side nav a { letter-spacing: -.035em; }
.app h1, .app .hello h1 { font-weight: 1000; letter-spacing: -.035em; text-transform: uppercase; line-height: 1; }
.app .hello h1 { font-size: clamp(30px, 3vw, 44px); }
.app .section-head h2 { font-weight: 1000; font-size: 16px; letter-spacing: -.02em; text-transform: uppercase; color: var(--text); }
.app .fio-name, .app .row .subject, .app .fio-file-head { font-weight: 900; letter-spacing: -.02em; }
.app .dl-date b, .app .score, .app .prio { font-weight: 1000; letter-spacing: -.03em; }

/* Vandaag: rechts een groot agendablok, links de mail compacter */
.app .home { grid-template-columns: minmax(0, 1fr) minmax(380px, 34%); }
.agenda-big .ag-day { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.agenda-big .ag-day.today { border-color: var(--text); }
.ag-date { font-weight: 1000; letter-spacing: -.02em; text-transform: uppercase; font-size: 14px; padding: 10px 14px 6px; color: var(--quiet); }
.ag-day.today .ag-date b, .ag-date b { color: var(--text); }
.ag-item { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 14px;
           border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.ag-item:hover { background: var(--panel-2, rgba(127,127,127,.08)); }
.ag-time { font-weight: 900; font-size: 13px; color: var(--quiet); font-variant-numeric: tabular-nums; }
.ag-title { display: block; font-weight: 800; font-size: 15px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-sub { display: block; font-size: 12.5px; color: var(--quiet); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-place { color: var(--text); font-weight: 800; }
.ag-place.unknown { color: var(--red); }
.ag-what { font-weight: 1000; letter-spacing: -.02em; font-size: 12px; padding: 3px 7px; border-radius: 5px; background: var(--c-project); color: #fff; white-space: nowrap; }
.ag-what.shoot { background: var(--shoot); } .ag-what.optie { background: transparent; border: 1.5px dashed var(--optie); color: var(--optie); }
.ag-what.aanleveren { background: var(--red); } .ag-what.viewing { background: #6b5cff; }
.ag-item.meeting .ag-title { font-weight: 600; }
.ag-item.shoot { box-shadow: inset 3px 0 0 var(--shoot); } .ag-item.aanleveren { box-shadow: inset 3px 0 0 var(--red); }
.ag-item.viewing { box-shadow: inset 3px 0 0 #6b5cff; }

/* Mail compacter */
.app .home .row:not(.mv):not(.sug):not(.act) { padding: 10px 14px; gap: 12px; grid-template-columns: 40px 1fr auto; }
.app .home .row .score { font-size: 15px; padding: 7px 0 6px; }
.app .home .row .subject { font-size: 14px; }
.app .home .row .meta, .app .home .row .summary { font-size: 12.5px; }
.app .home .row .chips, .app .home .row .reasons { transform: scale(.92); transform-origin: left; }
@media (max-width: 1080px) { .app .home { grid-template-columns: minmax(0, 1fr); } }

/* Deadlines in de huisstijl: weekkolommen naast elkaar, kaarten zoals het agendablok */
.dl-counts { display: flex; gap: 18px; align-items: baseline; flex-wrap: wrap; margin-top: 6px; font-weight: 800; }
.dl-counts b { font-size: 26px; font-weight: 1000; letter-spacing: -.03em; color: var(--red); margin-right: 4px; }
.dl-counts .shoot b { color: var(--shoot); } .dl-counts .optie b { color: var(--optie); }
.dl-weeks { display: grid; grid-template-columns: repeat(var(--cols), minmax(240px, 1fr)); gap: 14px; align-items: start; overflow-x: auto; }
.dl-week { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.dl-week.now { border-color: var(--text); }
.dl-week-head { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px 8px; }
.dl-week-head h2 { margin: 0; font-size: 15px; font-weight: 1000; letter-spacing: -.02em; }
.dl-week.now .dl-week-head h2 { color: var(--red); }
.dl-card { grid-template-columns: 62px minmax(0, 1fr) auto; }
.dl-when { font-size: 12.5px; color: var(--quiet); line-height: 1.2; }
.dl-when b { color: var(--text); font-weight: 1000; letter-spacing: -.02em; font-size: 13.5px; }
.dl-when small { display: block; color: var(--red); font-weight: 800; text-transform: uppercase; font-size: 10.5px; letter-spacing: .04em; }
.dl-card.past { opacity: .45; }
.dl-card.today { background: rgba(212, 59, 42, .08); }
.dl-card .ag-title { white-space: normal; }
.dl-card .ag-sub { white-space: normal; }
.ag-item.versie { box-shadow: inset 3px 0 0 var(--c-project); } .ag-item.optie { box-shadow: inset 3px 0 0 var(--optie); }
.ag-item.mail { box-shadow: inset 3px 0 0 var(--quiet); }
.ag-what.mail { background: transparent; border: 1.5px solid var(--quiet); color: var(--quiet); }
.dl-empty { padding: 16px 14px; color: var(--quiet); border-top: 1px solid var(--line); font-size: 13px; }
@media (max-width: 1100px) { .dl-weeks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .dl-weeks { grid-template-columns: 1fr; } }

/* Mail: tekst / opmaak / opmaak met afbeeldingen */
.view-tabs { display: inline-flex; gap: 4px; padding: 3px; margin: 10px 0 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; }
.view-tabs button { border: 0; background: transparent; color: var(--quiet); font: 600 12.5px var(--font); padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.view-tabs button.on { background: var(--text); color: var(--bg); }
.mailframe { width: 100%; height: 70vh; border: 1px solid var(--line); border-radius: 10px; background: #fff; }

/* Groot scherm (tv op kantoor): dezelfde vormgeving als Deadlines, zonder menu en alles groter */
.app.solo { grid-template-columns: minmax(0, 1fr) !important; }
body.bigscreen { background: var(--bg); }
.bigscreen .app main { padding: 2.2vw 2.4vw; min-height: 100vh; }
.big-top { display: grid; grid-template-columns: auto 1fr auto; gap: 1.6vw; align-items: center; margin-bottom: 1.6vw; }
.big-top .brand img { height: clamp(48px, 5vw, 110px); }
.big-top h1 { font-size: clamp(34px, 4vw, 96px); margin: 0; }
.bigscreen .dl-counts b { font-size: clamp(26px, 2.6vw, 64px); }
.bigscreen .dl-counts { font-size: clamp(14px, 1.2vw, 28px); }
.big-clock { text-align: right; font-weight: 1000; letter-spacing: -.03em; font-size: clamp(20px, 2vw, 48px); }
.big-clock small { display: block; font-size: .4em; letter-spacing: .2em; color: var(--quiet); font-weight: 700; }
.bigscreen .dl-week-head h2 { font-size: clamp(15px, 1.3vw, 32px); }
.bigscreen .dl-week-head .label { font-size: clamp(11px, .8vw, 20px); }
.bigscreen .dl-card { grid-template-columns: clamp(60px, 5.5vw, 140px) minmax(0, 1fr) auto; padding: .9vw 1vw; }
.bigscreen .dl-when b { font-size: clamp(13px, 1.15vw, 28px); }
.bigscreen .dl-when small { font-size: clamp(10px, .75vw, 18px); }
.bigscreen .ag-title { font-size: clamp(15px, 1.25vw, 30px); }
.bigscreen .ag-what { font-size: clamp(11px, .9vw, 22px); padding: .3em .6em; }
.bigscreen .cl-dot { width: .9em; height: .9em; }
.bigscreen .ag-sub { font-size: clamp(12px, .95vw, 22px); white-space: normal; }

/* Groot scherm: dezelfde Deadlines-pagina met menu, alles ruim een slag groter (voor een tv of groot beeld) */
body.groot .app .hello h1 { font-size: clamp(44px, 4.2vw, 96px); }
body.groot .dl-counts b { font-size: clamp(32px, 2.8vw, 64px); }
body.groot .dl-counts { font-size: clamp(16px, 1.2vw, 26px); }
body.groot .dl-week-head h2 { font-size: clamp(18px, 1.4vw, 32px); }
body.groot .dl-week-head .label { font-size: clamp(12px, .85vw, 18px); }
body.groot .dl-card { grid-template-columns: clamp(70px, 5vw, 130px) minmax(0, 1fr) auto; padding: 14px 16px; }
body.groot .dl-when b { font-size: clamp(15px, 1.15vw, 26px); }
body.groot .dl-when small { font-size: clamp(11px, .75vw, 16px); }
body.groot .ag-title { font-size: clamp(16px, 1.15vw, 28px); }
body.groot .ag-sub { font-size: clamp(13px, .95vw, 20px); }
body.groot .ag-what { font-size: clamp(12px, .9vw, 20px); padding: .3em .6em; }
body.groot .cl-dot { width: .85em; height: .85em; }

/* Urenplanning in de huisstijl */
.up-wrap { overflow-x: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.app .up-table { width: 100%; border: 0; border-radius: 0; table-layout: fixed; min-width: 760px; }
.app .up-table th { font-size: 12px; font-weight: 600; padding: 10px; border-left: 1px solid var(--line); }
.app .up-table th b { font-size: 18px; font-weight: 1000; color: var(--text); letter-spacing: -.02em; }
.app .up-table th.now, .app .up-table th.now b { color: var(--red); }
.up-table th.up-name, .up-table td.up-name { width: 170px; border-left: 0; }
.up-table th.up-tot, .up-table td.up-tot { width: 90px; text-align: right; }
.up-table td { padding: 6px; border-left: 1px solid var(--line); vertical-align: top; }
.up-table td.up-name { font-weight: 1000; letter-spacing: -.02em; text-transform: uppercase; font-size: 15px; vertical-align: middle; padding-left: 14px; }
.up-table td.up-name small { display: block; font-size: 10.5px; font-weight: 600; text-transform: none; color: var(--quiet); letter-spacing: 0; }
.up-cell.now { background: rgba(212, 59, 42, .06); }
.app .up-table tr:hover td { background: transparent; }
.up-cell { display: table-cell; }
.up-chip { display: flex; flex-direction: column; gap: 1px; padding: 6px 8px; margin-bottom: 4px; border-radius: 7px; text-decoration: none; color: inherit;
           background: var(--panel-2, rgba(127,127,127,.08)); box-shadow: inset 3px 0 0 var(--c-project); line-height: 1.15; }
.up-chip b { font-size: 13px; font-weight: 900; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.up-chip small { font-size: 11px; color: var(--quiet); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.up-chip.shoot { background: var(--shoot); box-shadow: none; color: #fff; } .up-chip.shoot small { color: rgba(255,255,255,.85); }
.up-chip.optie, .up-chip.optie-edit { background: transparent; box-shadow: none; border: 1.5px dashed var(--optie); }
.up-chip.edit { box-shadow: inset 3px 0 0 #2b9a5a; } .up-chip.prepro { box-shadow: inset 3px 0 0 #16a085; }
.up-chip .cl-dot { width: 10px; height: 10px; margin-right: 5px; vertical-align: 0; }
.up-tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--line); color: var(--quiet); }
.up-tag.thuis { background: var(--peach); color: var(--ink); }
.up-away { display: block; text-align: center; padding: 8px; border-radius: 7px; font-size: 12px; font-weight: 700; color: var(--quiet);
           background: repeating-linear-gradient(135deg, transparent 0 6px, var(--line) 6px 8px); }
.up-tot b { font-size: 16px; font-weight: 1000; } .up-tot small { display: block; font-size: 11px; }
.up-tot small.open { color: var(--red); font-weight: 700; } .up-tot small.ok { color: var(--quiet); }
.up-pp { display: flex; flex-wrap: wrap; gap: 8px; }
.up-ppi { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); text-decoration: none; font-size: 13px; font-weight: 700; }
.up-ppi b { margin-left: 6px; font-weight: 1000; }
.up-legend { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; }
.up-legend .up-chip { margin: 0; flex-direction: row; }

/* Projecten als blokken */
.pj-filter { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: 14px var(--font); min-width: 220px; }
.pj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.pj-card { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line);
           border-radius: 12px; text-decoration: none; color: inherit; transition: border-color .12s, transform .12s; }
.pj-card:hover { border-color: var(--text); transform: translateY(-1px); }
.pj-card[hidden] { display: none; }
.pj-card.quiet { opacity: .75; }
.pj-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.pj-title { font-weight: 1000; letter-spacing: -.02em; font-size: 15.5px; line-height: 1.2; }
.pj-when { font-size: 12px; color: var(--quiet); white-space: nowrap; }
.pj-status { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.pj-status li { font-size: 13px; line-height: 1.35; color: var(--quiet); padding-left: 10px; border-left: 2px solid var(--line); }
.pj-status li.first { color: var(--text); font-size: 14px; font-weight: 600; border-left-color: var(--c-project); }
.pj-status small { display: block; font-size: 11px; color: var(--quiet); font-weight: 400; margin-top: 1px; }
.pj-none { margin: 0; font-size: 13px; color: var(--quiet); }
.pj-foot { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; font-size: 11.5px; }
.pj-foot span { padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--quiet); }
.pj-next.shoot { background: var(--shoot); border-color: var(--shoot); color: #fff !important; }
.pj-next.aanleveren { background: var(--red); border-color: var(--red); color: #fff !important; }
.pj-next.versie { background: var(--c-project); border-color: var(--c-project); color: #fff !important; }
.pj-fio { border-color: #6b5cff !important; color: #8f84ff !important; }
.up-chip .up-pname { font-size: 12px; font-weight: 600; white-space: normal; line-height: 1.2; }
.up-chip.shoot .up-pname { color: #fff; }
.up-chip b, .up-chip small { white-space: normal; }
.up-table td.up-name small + small { margin-top: 2px; }
.up-mt { display: block; font-size: 11.5px; color: var(--quiet); padding: 3px 6px; border-left: 2px dotted var(--line); margin: 3px 0 0 2px; line-height: 1.25; }
.up-mt b { color: var(--text); font-weight: 800; }
.up-tag { margin-bottom: 4px; }

/* Urenplanning: pop-up met meer info bij aanwijzen (of tikken op een telefoon) */
.up-chip { position: relative; cursor: pointer; }
.up-chip:hover, .up-chip:focus-visible { outline: 2px solid var(--text); outline-offset: 1px; }
.up-pop { display: none; position: absolute; z-index: 30; left: 0; top: calc(100% + 6px); width: 280px; padding: 12px 14px;
          background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 10px;
          box-shadow: 0 12px 32px rgba(0,0,0,.35); flex-direction: column; gap: 4px; font-size: 12.5px; line-height: 1.35; white-space: normal; }
.up-pop b { font-size: 14px; font-weight: 1000; letter-spacing: -.01em; }
.up-pop span { color: var(--quiet); }
.up-pop .st { color: var(--text); font-style: italic; }
.up-pop .fio { color: #8f84ff; font-weight: 700; }
.up-pop em { font-style: normal; font-size: 11.5px; color: var(--quiet); margin-top: 4px; }
.up-chip:hover .up-pop, .up-chip:focus .up-pop { display: flex; }
.up-table td:nth-last-child(-n+2) .up-pop { left: auto; right: 0; }
.up-wrap { overflow: visible; }
.up-table td, .up-table tr { overflow: visible; }
.up-note { display: block; margin-top: 3px; font-size: 11.5px; font-weight: 700; letter-spacing: .01em; text-transform: uppercase; opacity: .9; white-space: normal; }
.up-chip.shoot .up-note { color: #fff; }
.dl-note { font-weight: 800; text-transform: uppercase; letter-spacing: .02em; color: var(--text) !important; }
/* Toelichting standaard ingeklapt */
.up-wrap .up-note, .up-wrap .up-note-inline { display: none; }
.up-wrap.show-notes .up-note { display: block; } .up-wrap.show-notes .up-note-inline { display: inline; }
.note-toggle { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--text);
               font: 600 13px var(--font); cursor: pointer; }
.note-toggle[aria-expanded="true"] { background: var(--text); color: var(--bg); }

/* Gelijktrekken: tabellen als kaart, samenvatting in themakleur, mailonderwerp leesbaar, projectkop */
.app table:not(.fio-table):not(.up-table) { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.app td { border-top-color: var(--line); }
.app .notice { background: var(--panel); color: var(--text); border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: 0 10px 10px 0; }
.app .panel { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.app .panel h1 { text-transform: none; font-size: clamp(20px, 1.8vw, 28px); font-weight: 800; letter-spacing: -.015em; line-height: 1.2; }
.app .panel h3 { font-weight: 1000; letter-spacing: -.02em; text-transform: uppercase; font-size: 15px; }
.app .sub { color: var(--quiet); }
.app .hello h1.pj-h1 { text-transform: none; font-size: clamp(26px, 2.4vw, 38px); }
.pj-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; font-size: 12.5px; }
.pj-meta span { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--quiet); }
.app .mailbody { color: var(--text); }
.app .list { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.app input[type=text], .app input[type=search], .app input:not([type]), .app input[type=date], .app select { border-radius: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--text); }

/* ===== Vandaag, nieuwe opzet: dagspreuk, eigen kolom links, de rest rechts ===== */
.quote { border-bottom: 1px solid var(--line); padding: 4px 0 18px; margin-bottom: 18px; }
.quote-text { font-family: "DM Sans", var(--font); font-weight: 1000; text-transform: uppercase; letter-spacing: -.02em;
  font-size: clamp(18px, 1.7vw, 24px); line-height: 1.18; margin: 0 0 6px; color: var(--strong); text-wrap: balance; }
.quote-src { margin: 0; color: var(--quiet); font-size: 13px; }
.home2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.col-mine .box { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 6px 10px; margin-bottom: 18px; }
.col-mine .box > .section-head { padding: 0 10px; }
.col-mine .box > .empty { padding: 6px 12px 8px; }
.col-mine .ag-item { padding: 8px 10px; }
.col-mine .ag-date { padding: 6px 10px 4px; }
.col-mine .fio-proj { margin: 0 4px; }
.dlw { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 10px;
  border-radius: 8px; text-decoration: none; color: var(--text); }
.dlw:hover { background: var(--panel-2, rgba(127,127,127,.08)); }
.dlw-day { font-weight: 1000; font-size: 12.5px; letter-spacing: .02em; color: var(--quiet); }
.dlw.today .dlw-day { color: var(--red); }
.dlw.aanleveren { box-shadow: inset 3px 0 0 var(--red); } .dlw.versie { box-shadow: inset 3px 0 0 var(--c-project); }
.dlw-main { min-width: 0; } .dlw-title { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dlw-sub { display: block; font-size: 13px; color: var(--quiet); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.soc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 6px; }
.soc-card { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.soc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; font-size: 13px; color: var(--quiet); }
.soc-head b { color: var(--strong); font-weight: 1000; text-transform: uppercase; font-size: 13.5px; }
.soc-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 8px 0 4px; }
.soc-num b { display: block; font-size: 19px; font-weight: 1000; letter-spacing: -.03em; color: var(--strong); }
.soc-num span { font-size: 11.5px; color: var(--quiet); }
.soc-num.up b { color: #2fb36d; } .soc-num.down b { color: var(--red); }
.soc-spark { width: 100%; height: 26px; color: var(--quiet); display: block; margin: 2px 0; }
.soc-foot { font-size: 12px; color: var(--quiet); }
.soc-card .empty { padding: 10px 0 4px; }
@media (max-width: 1180px) { .home2 { grid-template-columns: minmax(0, 1fr); } }
.quote-text { font-style: italic; text-transform: none; font-weight: 500; letter-spacing: -.01em; font-size: clamp(19px, 1.6vw, 24px); }
.soc-todo { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 8px; display: grid; gap: 4px; }
.soc-line { font-size: 13px; color: var(--quiet); } .soc-line b { color: var(--strong); font-weight: 1000; font-size: 15px; margin-right: 2px; }
.soc-line.hot b { color: var(--red); }
.soc-via { font-size: 11px; border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; margin-left: 4px; }
.soc-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; align-items: center; text-decoration: none; color: var(--text);
  padding: 4px 6px; border-radius: 6px; font-size: 12.5px; }
.soc-item:hover { background: var(--panel-2, rgba(127,127,127,.08)); }
.soc-item a { text-decoration: none; color: inherit; min-width: 0; }
.soc-who { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.soc-txt { display: block; color: var(--quiet); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.soc-item .tick { width: 24px; height: 24px; font-size: 12px; }
.soc-err { font-size: 12px; color: var(--quiet); font-style: italic; }
a.soc-item { display: block; }
.cs-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.cs-row:first-of-type { border-top: 0; }
.cs-file { font-weight: 700; text-decoration: none; color: var(--strong); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-file::before { content: "PDF"; font-size: 10px; font-weight: 1000; background: var(--red); color: #fff; border-radius: 3px; padding: 1px 4px; margin-right: 8px; vertical-align: 2px; }
.cs-main .meta { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-copy { white-space: nowrap; }

/* Urenplanning: filter op dienst en uren per dienst per project */
.dn-bar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 14px; }
.dn-bar .label { margin-right: 4px; }
.dn-btn { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 5px 12px; font-weight: 700; }
.dn-btn i, .dn-sum-head i, .pie-legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.dn-btn small { color: var(--quiet); font-weight: 500; }
.dn-btn.on { background: var(--text); color: var(--bg); border-color: var(--text); } .dn-btn.on small { color: inherit; opacity: .7; }
.dn-sum { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; }
.dn-sum-head { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--quiet); margin-bottom: 10px; }
.dn-sum-head b { color: var(--strong); font-weight: 1000; }
.dn-days { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.dn-day { border-left: 2px solid var(--line); padding: 2px 0 2px 10px; display: grid; gap: 3px; align-content: start; }
.dn-day.now { border-color: var(--red); } .dn-day.empty { opacity: .55; }
.dn-date { font-weight: 1000; font-size: 12px; color: var(--quiet); letter-spacing: .03em; }
.dn-row { text-decoration: none; color: var(--text); font-size: 13.5px; } .dn-row small { color: var(--quiet); }
.dn-none { font-size: 13px; color: var(--quiet); }
.up-chip.dim { opacity: .18; filter: grayscale(1); }
.up-wrap.dn-filter .up-tag, .up-wrap.dn-filter .up-mt { opacity: .25; }
.pie-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.pie-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; text-decoration: none; color: var(--text); display: grid; gap: 10px; }
.pie-card:hover { border-color: var(--quiet); }
.pie-title { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pie-body { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; align-items: center; }
.pie { width: 104px; height: 104px; border-radius: 50%; position: relative; }
.pie span { position: absolute; inset: 22px; border-radius: 50%; background: var(--panel); display: grid; place-content: center; text-align: center;
  font-size: 11px; color: var(--quiet); line-height: 1.1; }
.panel .pie span { background: var(--panel, var(--bg)); }
.pie span b { font-size: 19px; font-weight: 1000; color: var(--strong); display: block; }
.pie-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13px; }
.pie-legend li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto 40px; gap: 6px; align-items: center; }
.pie-legend b { font-weight: 1000; text-align: right; } .pie-legend small { color: var(--quiet); text-align: right; }
.pie-legend .more { display: block; color: var(--quiet); font-size: 12px; }
.pie-foot { font-size: 12px; color: var(--quiet); }
.up-wrap ~ .block { margin-top: 26px; } .dn-row small { white-space: nowrap; }
.panel .pie-legend { max-width: 380px; }

/* Urenbudget (zoals Simplicate): groen binnen budget, rood erover */
.bb { display: grid; gap: 4px; margin: 6px 0 2px; }
.bb-track { display: flex; height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.bb.compact .bb-track { height: 6px; }
.bb-ok { background: #2fb36d; } .bb.near .bb-ok { background: #e8a33d; } .bb-over { background: var(--red); }
.bb-txt { font-size: 12.5px; color: var(--quiet); } .bb-txt b { color: var(--strong); }
.bb.over .bb-txt em { color: var(--red); font-style: normal; font-weight: 800; }
.bb.compact { margin: 2px 0 0; }
.ov-svc { margin-top: 2px; } .ov-svc b { color: var(--red); font-weight: 700; }
.bb-line { display: grid; grid-template-columns: 220px minmax(0, 520px) auto; gap: 16px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); }
.bb-line:first-of-type { border-top: 0; }
.bb-line.total .bb-name { font-weight: 1000; text-transform: uppercase; }
.bb-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-eur { font-size: 13px; color: var(--quiet); }
@media (max-width: 760px) { .bb-line { grid-template-columns: 1fr; gap: 2px; } }
.row.ov { display: block; } .row.ov .bb { max-width: 560px; }

/* FIX IT ASAP (Telegram): eigen hoekje rechtsonder */
.fixit { border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 12px; padding: 14px 16px; background: var(--panel); }
.fixit .section-head h2 { color: var(--red); }
.fx-list { display: grid; gap: 10px; max-height: 420px; overflow-y: auto; }
.fx-msg { border-top: 1px solid var(--line); padding-top: 8px; } .fx-msg:first-child { border-top: 0; padding-top: 0; }
.fx-meta { font-size: 12px; color: var(--quiet); } .fx-meta b { color: var(--strong); }
.fx-text { font-size: 14px; white-space: pre-line; overflow-wrap: anywhere; }
.mt-desc { grid-column: 2; font-size: 13px; color: var(--text); opacity: .85; white-space: pre-line; overflow-wrap: anywhere;
  border-left: 2px solid var(--line); padding: 2px 0 2px 10px; margin-top: 4px; max-height: 9.5em; overflow: auto; }
.mt.plan { box-shadow: inset 3px 0 0 var(--c-project); } .mt.plan.shoot { box-shadow: inset 3px 0 0 var(--shoot); }
.mt.plan .mt-title a { text-decoration: none; color: inherit; }

/* v0 intern en naar klant (voor de editor) */
.vz { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.vz-i, .vz-k { font-size: 11.5px; border-radius: 4px; padding: 1px 6px; white-space: nowrap; }
.vz-i { border: 1px dashed var(--c-project); color: var(--text); }
.vz-k { background: var(--red); color: #fff; }
.vz-i.soon { border-style: solid; font-weight: 700; } .vz-k.soon { box-shadow: 0 0 0 2px rgba(226,72,61,.35); }
.vz b { font-weight: 800; }
.mt-vz { grid-column: 2; }
.up-pop .vz { margin-top: 0; }
.up-table th.up-dl, .up-table td.up-dl { width: 210px; min-width: 190px; vertical-align: top; }
.up-dl-row { padding: 3px 0 6px; border-bottom: 1px solid var(--line); } .up-dl-row:last-child { border-bottom: 0; }
.up-dl-p { display: block; font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.up-dl .vz { margin-top: 2px; } .up-dl .quiet { color: var(--quiet); }
.ag-item.plan .ag-time { font-size: 11.5px; text-transform: uppercase; } .ag-item.plan .ag-sub { white-space: normal; }

/* Projectkiezer: pop-up met tegels, hoog naar laag */
.pk { position: relative; }
.pk-btn { display: flex; align-items: center; gap: 6px; width: 100%; text-align: left; min-height: 36px; padding: 6px 10px; }
.pk-btn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; font-weight: 500; }
.pk-btn i { font-style: normal; color: var(--quiet); margin-left: auto; }
.pk-none { color: var(--quiet); }
.pk-pop { position: fixed; z-index: 50; width: min(620px, 92vw); background: var(--panel); color: var(--text);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 50px rgba(0,0,0,.35); padding: 12px; }
.pk-q { width: 100%; margin-bottom: 10px; }
.pk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; max-height: 360px; overflow-y: auto; padding-right: 2px; }
.pk-tile { display: grid; gap: 1px; text-align: left; padding: 8px 9px; border-radius: 9px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); min-width: 0; cursor: pointer; }
.pk-tile:hover, .pk-tile:focus-visible { border-color: var(--text); }
.pk-tile.on { outline: 2px solid var(--red); outline-offset: -1px; }
.pk-tile b { font-weight: 1000; font-size: 14px; display: flex; align-items: center; }
.pk-tile small { font-size: 11px; color: var(--quiet); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk-tile span { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk-clear { margin-top: 8px; width: 100%; text-align: center; color: var(--quiet); }
@media (max-width: 700px) { .pk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pk-pop { left: 0; right: auto; } }
.pk-ga { min-width: 260px; } .pk-head { min-width: 300px; max-width: 420px; }
.pk-ga .pk-btn { font-weight: 700; }

/* Urenbudget, mildere kleuren: gemaakt · gepland · erover (gemaakt) · erover (gepland) */
.app { --bb-ok: #7fae8f; --bb-plan: #94a8c9; --bb-over: #c98b84; --bb-plan-over: #d6ad7c; }
.bb-track { gap: 0; }
.bb-track i { display: block; height: 100%; }
.bb-ok, .bb.near .bb-ok { background: var(--bb-ok); }
.bb-plan { background: repeating-linear-gradient(135deg, var(--bb-plan) 0 4px, color-mix(in srgb, var(--bb-plan) 70%, transparent) 4px 8px); }
.bb-over { background: var(--bb-over); }
.bb-plan-over { background: repeating-linear-gradient(135deg, var(--bb-plan-over) 0 4px, color-mix(in srgb, var(--bb-plan-over) 70%, transparent) 4px 8px); }
.bb.over .bb-txt em { color: var(--bb-over); } .bb-txt em.plan { color: var(--bb-plan-over); font-style: normal; font-weight: 800; }
.ov-svc { font-size: 12.5px; color: var(--quiet); margin-top: 3px; }
.ov-svc b { color: var(--text); font-weight: 700; text-transform: none; }
.ov-svc em { font-style: normal; font-weight: 800; } .ov-svc.over em { color: var(--bb-over); } .ov-svc.plan-over em { color: var(--bb-plan-over); }
.row.ov.rank0 { box-shadow: inset 3px 0 0 var(--bb-over); } .row.ov.rank1 { box-shadow: inset 3px 0 0 var(--bb-plan-over); }

/* Groot getal rechts: over budget / te veel ingepland / nog vrij */
.bd { display: grid; justify-items: end; text-align: right; line-height: 1.05; min-width: 96px; }
.bd b { font-size: 26px; font-weight: 1000; letter-spacing: -.03em; }
.bd small { font-size: 11.5px; color: var(--quiet); margin-top: 2px; }
.bd.over b { color: var(--bb-over); } .bd.plan-over b { color: var(--bb-plan-over); } .bd.ok b, .bd.near b { color: var(--quiet); }
.row.ov { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.row.ov > .bd { grid-column: 2; grid-row: 1; } .row.ov > div { grid-column: 1; grid-row: 1; }
.bb-line { grid-template-columns: 220px minmax(0, 520px) 110px auto; }
.bb-line .bd b { font-size: 22px; }
.bd-sub { font-weight: 700; color: var(--text) !important; }
/* iets kleiner, en wat er nog in het budget zit (groen) */
.bd b { font-size: 19px; } .bb-line .bd b { font-size: 17px; }
.bd { min-width: 120px; }
.bd b.green, .bd-left b { color: var(--bb-ok) !important; }
.bd-left { font-size: 11.5px; color: var(--quiet); margin-top: 4px; } .bd-left b { font-size: 13px; }
.bb-line { grid-template-columns: 220px minmax(0, 520px) 170px auto; }
.bd small { white-space: nowrap; } .bd-sub { margin: 0 0 2px !important; }
.bd .bd-left b, .bb-line .bd .bd-left b { font-size: 13px; }

/* Frissere kleuren voor de uren */
.app { --bb-ok: #22c55e; --bb-plan: #60a5fa; --bb-over: #ef4444; --bb-plan-over: #f59e0b; }
/* Projecten: aandacht bovenaan */
.pj-section .section-head { margin-bottom: 10px; }
.pj-card.att { border-color: color-mix(in srgb, var(--bb-over) 45%, var(--line)); }
.pj-why { display: flex; flex-wrap: wrap; gap: 5px; margin: 2px 0 6px; }
.why { font-size: 12px; font-weight: 800; border-radius: 6px; padding: 2px 8px; color: #fff; }
.why.over { background: var(--bb-over); } .why.plan { background: var(--bb-plan-over); } .why.dl { background: #a855f7; }
.why.fio { background: transparent; color: var(--text); border: 1px solid var(--line); font-weight: 700; }
.pj-why { align-items: flex-start; } .why { white-space: nowrap; }
.pj-card.att { border-color: var(--line); }   /* kaarten zelf geen kleur; alleen de labels */
/* projecten: overal hetzelfde neutrale blokje */
.cl-dot.plain { background: transparent !important; border: 1.5px solid var(--quiet); box-shadow: none !important; opacity: .7; }
.cl-dot.plain { border: 0; background: var(--quiet) !important; opacity: .45; }   /* gevuld grijs: lijkt niet op een vinkvakje */

/* Vandaag: projecturen krijgt de brede kolom */
.home2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); }
.projecturen .row.ov { padding: 14px 18px; }
.projecturen .bb { max-width: none !important; }
.projecturen .bd b { font-size: 22px; }
@media (max-width: 1180px) { .home2 { grid-template-columns: minmax(0, 1fr); } }
.pj-comm { margin: 4px 0 6px; }
.pj-comm-h { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--quiet); margin-bottom: 3px; }
.pj-status.ev li { border-left-color: var(--bb-ok); }
.pj-section.stil .pj-card { opacity: .65; }
.comm-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.comm-cols h4 { margin: 0 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.comm-line { padding: 5px 0; border-top: 1px solid var(--line); font-size: 14px; } .comm-line:first-of-type { border-top: 0; }
@media (max-width: 900px) { .comm-cols { grid-template-columns: 1fr; } }
.pk-btn .cl-dot { flex: none; }
.tg-link { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 0 8px; font-size: 13.5px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.tg-link button { padding: 3px 10px; font-size: 12.5px; }
.pk-head { display: grid; gap: 8px; justify-items: stretch; }
.sim-link { display: inline-flex; justify-content: center; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 9px;
  border: 1px solid var(--line); text-decoration: none; color: var(--text); font-weight: 700; font-size: 13.5px; }
.sim-link:hover { border-color: var(--text); }
.sim-link.sm { display: inline; padding: 0; border: 0; font-size: 12.5px; font-weight: 600; color: var(--quiet); text-transform: none; letter-spacing: 0; margin-left: 8px; }
/* Projecten: deadlines met een knop */
.pj-dls { display: none; margin: 4px 0 6px; }
body.show-dls .pj-dls { display: block; }
.pj-dl { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 8px; font-size: 13px; padding: 2px 0 2px 8px; border-left: 2px solid var(--c-project); }
.pj-dl.aanleveren { border-left-color: var(--red); } .pj-dl.shoot { border-left-color: var(--shoot); } .pj-dl.optie { border-left-color: var(--optie); }
.pj-dl-d { font-weight: 800; color: var(--quiet); font-size: 12px; }
.dl-toggle[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

/* Deadlines in dezelfde stijl als Projecten: per week kaarten per project */
.dl-pcard { gap: 8px; }
.dlp-row { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; align-items: center; padding: 6px 0 6px 10px;
  border-left: 3px solid var(--c-project); }
.dlp-row.aanleveren { border-left-color: var(--red); }
.dlp-row.today .dlp-when { color: var(--red); }
.dlp-row.past { opacity: .5; }
.dlp-when { font-weight: 800; font-size: 13px; color: var(--quiet); }
.dlp-what { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.dlp-note { font-size: 13px; color: var(--text); }
.dlw-sec.now .section-head h2 { color: var(--red); }
body.groot .pj-title { font-size: 22px; } body.groot .dlp-when { font-size: 17px; } body.groot .dlp-note { font-size: 17px; }
body.groot .dlp-row .ag-what { font-size: 15px; } body.groot .pj-grid { grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); }
.dlw-sec .pj-grid > .empty { grid-column: 1 / -1; padding: 10px 0; text-align: left; font-size: 13.5px; }
.bb-name .bb-sub { display: block; font-size: 12px; font-weight: 500; color: var(--quiet); text-transform: none; letter-spacing: 0; white-space: normal; margin-top: 2px; }
.ov-sales { font-size: 12px; color: var(--quiet); }
.ag-today { scroll-margin-top: 16px; }
/* Wie is waar: drie dagen */
.who-days { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.who-day { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 7px 0; border-top: 1px solid var(--line); }
.who-day:first-of-type { border-top: 0; }
.who-day-l b { display: block; font-size: 12px; letter-spacing: .08em; } .who-day-l small { color: var(--quiet); font-size: 11.5px; }
.who-day.today .who-day-l b { color: var(--red); }
.who-day-r { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; }

/* Planner: alle agenda's in een weekrooster */
.pl-people { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 12px; }
.pl-p, .pl-all { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 5px 12px; font-weight: 700; }
.pl-p i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.pl-p[aria-pressed="false"] { opacity: .35; text-decoration: line-through; }
.pl-all { color: var(--quiet); font-weight: 600; }
.pl-wk { margin-left: 8px; font-size: 13px; color: var(--quiet); display: inline-flex; gap: 5px; align-items: center; }
.pl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.pl-grid { display: grid; grid-template-columns: 52px repeat(5, minmax(150px, 1fr)); min-width: 820px; position: relative; }
.pl-grid.show-wk { grid-template-columns: 52px repeat(7, minmax(130px, 1fr)); }
.pl-grid:not(.show-wk) .pl-day.wk { display: none; }
.pl-hours { position: relative; margin-top: 74px; height: 624px; }
.pl-hours span { position: absolute; right: 6px; transform: translateY(-50%); font-size: 11px; color: var(--quiet); font-variant-numeric: tabular-nums; }
.pl-day { border-left: 1px solid var(--line); min-width: 0; }
.pl-head { height: 34px; display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 12.5px; color: var(--quiet); border-bottom: 1px solid var(--line); }
.pl-head b { color: var(--text); font-size: 15px; }
.pl-day.today .pl-head { color: var(--red); } .pl-day.today .pl-head b { color: var(--red); }
.pl-allday { height: 40px; overflow-y: auto; padding: 2px; display: flex; flex-direction: column; gap: 2px; border-bottom: 1px solid var(--line); }
.pl-ad { font-size: 11px; border-left: 3px solid var(--c); background: color-mix(in srgb, var(--c) 18%, transparent); padding: 1px 4px; border-radius: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-col { position: relative; height: 624px; }
.pl-day.today .pl-col { background: color-mix(in srgb, var(--red) 5%, transparent); }
.pl-line { position: absolute; left: 0; right: 0; border-top: 1px solid var(--line); opacity: .6; }
.pl-ev { position: absolute; overflow: hidden; border-radius: 5px; padding: 2px 5px; font-size: 11.5px; line-height: 1.25; color: var(--text);
  background: color-mix(in srgb, var(--c) 26%, var(--panel)); border-left: 3px solid var(--c); }
.pl-ev b { font-weight: 800; } .pl-ev small { display: block; color: var(--quiet); font-size: 10.5px; }
body.hide-uren .pj-why, body.hide-uren .pj-card .bb { display: none; }
.pl-grid { --hpx: 52px; }
.pl-hours { height: calc(var(--hpx) * 12); } .pl-col { height: calc(var(--hpx) * 12); }
.pl-zoom { display: inline-flex; margin-left: 8px; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.pl-zoom button { border: 0; border-radius: 0; padding: 4px 13px; font-size: 16px; font-weight: 800; background: transparent; }
.pl-zoom button + button { border-left: 1px solid var(--line); }

/* Planner: Simplicate-strook bovenin (aan/uit) */
.pl-grid { --sph: 64px; }
.pl-allday { height: var(--sph); }
.pl-hours { margin-top: calc(34px + var(--sph)); }
.pl-grid.no-sp { --sph: 0px; }
.pl-grid.no-sp .pl-allday { display: none; }
.pl-ad small { color: var(--quiet); font-size: 10px; }
.pl-ad.away { opacity: .6; font-style: italic; }
.pl-allday .pl-ad { flex: none; }

/* Vandaag compact */
.hello.compact { margin-bottom: 12px; }
.hello.compact h1 { font-size: clamp(22px, 2vw, 28px); margin: 0; }
.home2 { gap: 16px; }
.home2 .block { margin-bottom: 12px; }
.home2 .section-head { margin-bottom: 4px; }
.home2 .section-head h2 { font-size: 12px; }
.home2 .section-head .label { font-size: 10px; }
.home2 .empty { padding: 8px 12px; font-size: 13px; }
.col-mine .box, .col-rest .box { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 9px 4px 6px; margin-bottom: 12px; }
.col-rest .box > .section-head { padding: 0 10px; }
.home2 .ag-date { font-size: 11.5px; padding: 5px 10px 2px; }
.home2 .ag-item { padding: 4px 10px; gap: 8px; grid-template-columns: 52px minmax(0, 1fr) auto; }
.home2 .ag-title { font-size: 13.5px; }
.home2 .ag-sub { font-size: 11.5px; }
.home2 .ag-time { font-size: 11.5px; }
.home2 .ag-what { font-size: 10.5px; padding: 2px 6px; }
.home2 .ag-main .vs, .home2 .ag-main [class*="versie"] { margin-top: 1px; }
.home2 .dlw { padding: 4px 10px; grid-template-columns: 70px minmax(0, 1fr) auto; }
.home2 .dlw-day { font-size: 11px; } .home2 .dlw-title { font-size: 13.5px; } .home2 .dlw-sub { font-size: 11.5px; }
.home2 .fio-proj { margin: 4px 4px; } .home2 .fio-proj > summary { padding: 6px 10px; font-size: 13px; }
.home2 .who-days { padding: 8px 12px; }
.home2 .who-day { padding: 4px 0; grid-template-columns: 96px minmax(0, 1fr); gap: 8px; }
.home2 .who-day-r { gap: 3px 14px; }
.home2 .fixit { padding: 9px 12px; }
.home2 .who-day-l b { font-size: 11px; } .home2 .who-day-r { font-size: 13px; }
.home2 .projecturen .row { padding: 7px 12px; gap: 10px; }
.home2 .projecturen .subject { font-size: 13.5px; }
.home2 .projecturen .ov-svc { font-size: 11.5px; line-height: 1.35; }
.home2 .soc { gap: 8px; padding: 0 6px; }
.home2 .soc-card { padding: 7px 10px; }
.home2 .soc-nums { margin: 4px 0 2px; } .home2 .soc-num b { font-size: 16px; } .home2 .soc-num span { font-size: 10.5px; }
.home2 .soc-spark { height: 16px; } .home2 .soc-foot { font-size: 11px; }
.home2 .soc-todo { margin-top: 4px; padding-top: 4px; font-size: 12px; }
.home2 .soc-item { font-size: 12px; }
.home2 .soc-line { font-size: 12px; } .home2 .soc-line b { font-size: 13px; }
.home2 .fixit .empty { padding: 6px 12px; text-align: left; }
.home2 .fx-msg { padding: 4px 10px; font-size: 12.5px; }
.home2 .who-day { grid-template-columns: 150px minmax(0, 1fr); }
.home2 .who-day-l b { display: inline; margin-right: 5px; }
.home2 .soc-item { padding-top: 1px; padding-bottom: 1px; gap: 4px; }
.home2 .soc-item .tick { width: 20px; height: 20px; font-size: 10px; }
.home2 .soc-todo { gap: 2px; }
.home2 .soc-txt, .home2 .soc-who { line-height: 1.3; }

/* Projecten: updates per bron aan/uit */
.src-toggles { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.src-t { border: 0; border-radius: 0; background: transparent; padding: 6px 12px; font-weight: 700; font-size: 13px; }
.src-t + .src-t { border-left: 1px solid var(--line); }
.src-t[aria-pressed="false"] { opacity: .4; text-decoration: line-through; }
.src-t[aria-pressed="true"] { background: var(--panel-2, rgba(127,127,127,.12)); }
.pj-status[hidden], .pj-comm[hidden] { display: none; }
.pj-status li.go { cursor: pointer; border-radius: 4px; }
.pj-status li.go:hover { background: var(--panel-2, rgba(127,127,127,.1)); }
.pj-status li.go u { text-decoration: none; color: var(--text); font-weight: 700; }

/* Planner: slepen om te boeken */
.pl-col { cursor: crosshair; touch-action: none; }
.pl-ev { cursor: default; }
.pl-sel { position: absolute; left: 2px; right: 2px; border-radius: 6px; background: color-mix(in srgb, var(--red) 22%, transparent);
  border: 2px dashed var(--red); font-size: 11px; font-weight: 800; padding: 2px 6px; z-index: 3; pointer-events: none; }
.pl-sel.clash { background: color-mix(in srgb, #e0a020 25%, transparent); border-color: #e0a020; }
.pl-book { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); color: var(--text); padding: 18px 20px; width: min(560px, 94vw); }
.pl-book::backdrop { background: rgba(0,0,0,.55); }
.pb-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-size: 16px; }
.pb-when { color: var(--red); font-weight: 800; font-size: 13px; }
.pb-row { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 10px; align-items: center; margin-bottom: 8px; font-size: 13px; }
.pb-row.top { align-items: start; } .pb-row > span:first-child { color: var(--quiet); font-weight: 700; }
.pb-row input, .pb-row textarea { width: 100%; }
.pb-times { display: inline-flex; gap: 6px; align-items: center; } .pb-times input { width: 110px; }
.pb-who { display: flex; flex-wrap: wrap; gap: 5px; }
.pb-p { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px 3px 6px; cursor: pointer; font-weight: 700; }
.pb-p input { margin: 0; } .pb-p i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.pb-p:has(input:checked) { background: var(--panel-2, rgba(127,127,127,.12)); border-color: var(--text); }
.pb-warn { color: #e0a020; font-weight: 700; font-size: 13px; margin: 6px 0; }
.pb-note { color: var(--quiet); font-size: 12px; margin: 8px 0 12px; }
.pb-btns { display: flex; justify-content: flex-end; gap: 8px; }
.pb-p i { flex: none; min-width: 9px; }

/* Vandaag: Mijn agenda, alleen vandaag, één regel per item */
.ag-line { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 4px 10px;
  border-top: 1px solid var(--line); text-decoration: none; color: var(--text); font-size: 13px; }
.ag-today .ag-line:first-child { border-top: 0; }
.ag-line:hover { background: var(--panel-2, rgba(127,127,127,.08)); }
.ag-line.plan { box-shadow: inset 3px 0 0 var(--c-project); }
.ag-line.viewing { box-shadow: inset 3px 0 0 #6b5cff; }
.ag-one { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-one b { font-weight: 700; } .ag-one small { color: var(--quiet); font-size: 11.5px; } .ag-one small.unknown { color: var(--red); }
.ag-line .vz { display: inline-flex; gap: 4px; white-space: nowrap; }
.ag-line .vz > span { font-size: 10.5px; padding: 1px 5px; }
.ag-line .ag-time { font-size: 11.5px; }
.ag-line .vz { margin-top: 0; flex-wrap: nowrap; }

/* Vandaag: projecturen urgent, één regel */
.pu-line { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(80px, 1fr) 150px; gap: 12px; align-items: center; padding: 5px 10px;
  border-top: 1px solid var(--line); text-decoration: none; color: var(--text); font-size: 13px; }
.box > .pu-line:nth-child(2) { border-top: 0; }
.pu-line:hover { background: var(--panel-2, rgba(127,127,127,.08)); }
.pu-line.over { box-shadow: inset 3px 0 0 var(--bb-over, var(--red)); } .pu-line.plan-over { box-shadow: inset 3px 0 0 var(--bb-plan-over, #e8a020); }
.pu-name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pu-bar { min-width: 0; } .pu-bar > * { margin: 0 !important; } .pu-bar .bb-lab, .pu-bar small, .pu-bar .bb-txt { display: none; }
.pu-fig { text-align: right; font-size: 11.5px; color: var(--quiet); white-space: nowrap; }
.pu-fig b { font-size: 15px; font-weight: 900; }
.pu-line.over .pu-fig b { color: var(--bb-over, var(--red)); } .pu-line.plan-over .pu-fig b { color: var(--bb-plan-over, #e8a020); }
.pu-h { font-size: 10.5px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; padding: 8px 10px 3px; }
.pu-h.ok { color: #2fb36d; } .pu-h.bad { color: var(--bb-over, var(--red)); }
.pu-h + .pu-line { border-top: 0; }
.pu-line.ok, .pu-line.near { box-shadow: inset 3px 0 0 #2fb36d; }
.pu-fig.ok b { color: #2fb36d; }
.pl-flash { border-radius: 10px; padding: 9px 14px; margin-bottom: 10px; font-size: 13.5px; border: 1px solid var(--line); }
.pl-flash.ok { border-left: 4px solid #2fb36d; } .pl-flash.bad { border-left: 4px solid var(--red); }
.pl-ev.bk { cursor: pointer; outline: 1px dashed color-mix(in srgb, var(--c) 70%, transparent); }
.pl-ev.bk:hover { filter: brightness(1.15); }
button.danger { background: var(--red); color: #fff; border-color: var(--red); }

/* @mentions */
.nav-mn { text-transform: none !important; }
.nav-count { display: inline-block; min-width: 20px; margin-left: 8px; padding: 1px 6px; border-radius: 999px; background: var(--red); color: #fff;
  font-size: 12px; font-weight: 900; text-align: center; vertical-align: 2px; letter-spacing: 0; }
.mn-box.hot { border-left: 4px solid var(--red); }
.mn-box.hot .section-head h2 { color: var(--red); text-transform: none; }
.mn-row { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 5px 10px; border-top: 1px solid var(--line); }
.mn-box > .section-head + .mn-row, .mn-box > .mn-row:first-child { border-top: 0; }
.mn-src { font-size: 10.5px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--quiet); }
.mn-row.telegram .mn-src { color: #2aa3d9; } .mn-row.frameio .mn-src { color: #6b5cff; }
.mn-main { min-width: 0; text-decoration: none; color: var(--text); }
.mn-meta { display: block; font-size: 11.5px; color: var(--quiet); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mn-meta b { color: var(--text); }
.mn-text { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mn-row .tick { width: 24px; height: 24px; font-size: 12px; }
.up-table tbody tr[hidden] { display: none; }

/* Pitch */
.pi-add { padding: 10px 14px; margin-bottom: 12px; }
.pi-add summary { cursor: pointer; list-style: none; } .pi-add summary::-webkit-details-marker { display: none; }
.pi-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.pi-form input[name=url] { flex: 2 1 280px; } .pi-form input[name=titel] { flex: 1 1 180px; }
.pi-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 6px 10px; border-top: 1px solid var(--line); }
.box > .section-head + .pi-row { border-top: 0; }
.pi-main { min-width: 0; text-decoration: none; color: var(--text); }
.pi-title { display: block; font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pi-main .meta { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11.5px; }
.pi-link .pk-btn { max-width: 260px; }
.pi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; padding: 4px 8px 8px; }
.pi-grid.sm { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); padding: 0; }
.pi-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--panel);
  text-decoration: none; color: var(--text); min-width: 0; }
.pi-card:hover { border-color: var(--quiet); }
.pi-thumb { display: block; aspect-ratio: 16 / 9; background: var(--panel-2, rgba(127,127,127,.12)); overflow: hidden; }
.pi-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pi-ph { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-size: 42px; font-weight: 900; color: var(--quiet); }
.pi-body { display: flex; flex-direction: column; gap: 6px; padding: 8px 10px; min-width: 0; }
.pi-acts { display: flex; gap: 6px; align-items: center; justify-content: space-between; }
.pi-acts .pi-link { min-width: 0; flex: 1; } .pi-acts .pk-btn { max-width: 100%; width: 100%; }
.pi-thumb, .pi-card, .pi-main { text-decoration: none; }

/* Eigenaar */
.ow-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.ow-occ { grid-column: 1 / -1; }
.ow-grid .box { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 0; }
.ow-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 6px 0 10px; }
.ow-tile { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.ow-tile span { display: block; font-size: 11px; color: var(--quiet); }
.ow-tile b { display: block; font-size: 22px; font-weight: 900; letter-spacing: -.02em; }
.ow-tile small { font-size: 11px; color: var(--quiet); } .ow-tile small.up { color: #2fb36d; } .ow-tile small.down { color: var(--red); }
.ow-tile.hot b { color: var(--red); }
.ow-bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; height: 120px; align-items: end; margin: 4px 2px 2px; }
.ow-bar { display: flex; flex-direction: column; height: 100%; } .ow-bar span { font-size: 10px; color: var(--quiet); text-align: center; }
.ow-cols { flex: 1; display: flex; align-items: flex-end; gap: 2px; }
.ow-cols i { flex: 1; border-radius: 3px 3px 0 0; min-height: 1px; }
i.now { background: #2fb36d; } i.prev { background: color-mix(in srgb, var(--quiet) 45%, transparent); }
.ow-legend { font-size: 11px; color: var(--quiet); margin: 6px 0 2px; }
.ow-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; vertical-align: -1px; margin: 0 3px 0 8px; }
.ow-sub { font-size: 10.5px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--quiet); margin: 12px 0 2px; }
.ow-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 90px; gap: 10px; align-items: center; padding: 5px 2px;
  border-top: 1px solid var(--line); text-decoration: none; color: var(--text); font-size: 13px; }
.ow-creep .ow-row { grid-template-columns: minmax(0, 1fr) auto; }
.ow-main { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ow-main small { color: var(--quiet); font-size: 11.5px; }
.ow-amt { text-align: right; font-variant-numeric: tabular-nums; }
.ow-days, .ow-chance { font-size: 11.5px; color: var(--quiet); } .ow-days.hot { color: var(--red); font-weight: 800; }
.ow-mail { font-size: 11.5px; padding: 3px 8px; }
.ow-state { font-size: 12px; font-weight: 800; } .ow-state.over { color: var(--bb-over, var(--red)); } .ow-state.plan-over { color: var(--bb-plan-over, #e8a020); }
.ow-occ-wrap { overflow-x: auto; }
.ow-occ-t { width: 100%; border-collapse: separate; border-spacing: 3px; font-size: 12.5px; }
.ow-occ-t th { font-size: 11px; color: var(--quiet); font-weight: 700; text-align: center; } .ow-occ-t th small { display: block; font-weight: 400; }
.ow-occ-t td { text-align: center; border-radius: 5px; padding: 5px 4px; font-variant-numeric: tabular-nums; }
.ow-occ-t td:first-child { text-align: left; font-weight: 700; white-space: nowrap; }
.ow-occ-t td small { display: block; font-size: 10px; opacity: .8; } .ow-occ-t td small.need { color: #fff; font-weight: 800; }
.ow-occ-t tr.team td { font-weight: 900; }
td.low, i.c-low { background: color-mix(in srgb, var(--quiet) 14%, transparent); }
td.ok, i.c-ok { background: color-mix(in srgb, #2fb36d 30%, transparent); }
td.full, i.c-full { background: color-mix(in srgb, #e8a020 38%, transparent); }
td.over, i.c-over { background: color-mix(in srgb, var(--red) 55%, transparent); }
@media (max-width: 1100px) { .ow-grid { grid-template-columns: 1fr; } .ow-tiles { grid-template-columns: repeat(2, 1fr); } }

/* Vandaag: website */
.ws-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 2px 8px 4px; }
.ws-tile { border: 1px solid var(--line); border-radius: 8px; padding: 6px 9px; min-width: 0; }
.ws-tile span { display: block; font-size: 10.5px; color: var(--quiet); }
.ws-tile b { display: block; font-size: 18px; font-weight: 900; letter-spacing: -.02em; }
.ws-tile small { display: block; font-size: 10.5px; color: var(--quiet); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-tile small.up { color: #2fb36d; } .ws-tile small.down { color: var(--red); } .ws-tile.hot b { color: #2fb36d; }
.ws-box .soc-spark { margin: 2px 8px; width: calc(100% - 16px); }
.ws-sub { font-size: 10.5px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--quiet); margin: 6px 10px 2px; }
.ws-sub small { text-transform: none; letter-spacing: 0; font-weight: 400; }
.ws-row { display: flex; justify-content: space-between; gap: 8px; padding: 2px 10px; font-size: 12.5px; }
.ws-row small { color: var(--quiet); white-space: nowrap; }
.ws-ok { color: #2fb36d; } .ws-bad { color: var(--red); }

/* Website / Instagram / LinkedIn */
.sm-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.sm-grid .box { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 9px 4px 8px; margin-bottom: 12px; }
.sm-grid .box > .section-head { padding: 0 10px; }
.sm-grid .ow-row.sm { padding: 4px 10px; } .sm-grid .ow-sub { margin-left: 10px; }
.sm-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tips-box { border-left: 4px solid #2fb36d !important; }
.tip { display: block; padding: 6px 10px; border-top: 1px solid var(--line); font-size: 13px; }
.tips-box .section-head + .tip { border-top: 0; }
.tip b { display: block; } .tip span { color: var(--quiet); font-size: 12.5px; }
.tip.actie b::before { content: "● "; color: #e8a020; } .tip.idee b::before { content: "○ "; color: #2fb36d; } .tip.goed b::before { content: "✓ "; color: #2fb36d; }
.bar-row { display: grid; grid-template-columns: 110px 1fr 36px; gap: 6px; align-items: center; padding: 2px 10px; font-size: 12px; }
.bar-row span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-row i { height: 8px; border-radius: 4px; background: #2fb36d; display: block; min-width: 2px; }
.bar-row small { text-align: right; color: var(--quiet); }
.ws-row.kans { background: color-mix(in srgb, #e8a020 12%, transparent); }
.ws-row b.up { color: #2fb36d; } .ws-row b.down { color: var(--red); }
.ws-tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ws-tile.warn b { color: #e8a020; }
.sm-t { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.sm-t th { text-align: left; font-size: 11px; color: var(--quiet); font-weight: 700; padding: 4px 10px; } .sm-t th.right, .sm-t td.right { text-align: right; }
.sm-t td { padding: 4px 10px; border-top: 1px solid var(--line); } .sm-t td a { color: var(--text); text-decoration: none; }
.chip.vacature { background: color-mix(in srgb, #e8a020 25%, transparent); } .chip.case { background: color-mix(in srgb, #2fb36d 22%, transparent); }
.ig-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 4px 10px; }
.ig-card { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; text-decoration: none; color: var(--text); display: flex; flex-direction: column; min-width: 0; }
.ig-thumb { aspect-ratio: 4 / 5; background: var(--panel-2, rgba(127,127,127,.12)); display: block; overflow: hidden; }
.ig-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-body { padding: 5px 7px; font-size: 11.5px; } .ig-body b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-body small { color: var(--quiet); font-size: 10.5px; }
@media (max-width: 1100px) { .sm-grid { grid-template-columns: 1fr; } .ig-grid { grid-template-columns: repeat(3, 1fr); } }
a.ws-row { text-decoration: none; color: var(--text); } a.ws-row:hover { background: var(--panel-2, rgba(127,127,127,.08)); }
.ws-row b.warn, .ws-tile b.warn { color: #e8a020; } .ws-row b.ws-bad { color: var(--red); }
.gr-bar { height: 6px; background: var(--line, #eee); border-radius: 3px; margin-top: 6px; overflow: hidden; }
.gr-bar i { display: block; height: 100%; background: #5aa469; }
.gr-bar i.warn { background: #e8a020; } .gr-bar i.bad { background: var(--red); }
.ws-tile .muted { opacity: .45; }
.pb-video { display: flex; gap: 14px; font-size: 13px; } .pb-video label { display: inline-flex; gap: 5px; align-items: center; cursor: pointer; }
.bm { margin-bottom: 16px; }
.bm-t td, .bm-t th { padding: 5px 8px; font-size: 13px; }
.bm-t tr.bm-low td:last-child b, .bm-t tr.bm-low td:nth-last-child(2) b { color: var(--red); }
.bm-t tr.bm-none td { opacity: .7; border-top: 1px dashed var(--line); }
.bm-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 14px 0 8px; }
.bm-ctl { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.bm-ctl select { font: inherit; padding: 3px 6px; background: var(--card, transparent); color: inherit; border: 1px solid var(--line); border-radius: 6px; }
.bm-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.bm-tile { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: inherit; border-left: 3px solid #2fb36d; }
.bm-tile.low { border-left-color: var(--red); }
.bm-tile:hover { background: rgba(127,127,127,.08); }
.bm-tn { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bm-tp { font-size: 22px; font-weight: 800; line-height: 1.1; }
.bm-tile.low .bm-tp { color: var(--red); }
.bm-tm, .bm-ts { font-size: 11.5px; color: var(--quiet); }
.bm-tb { display: flex; height: 5px; border-radius: 3px; overflow: hidden; background: rgba(127,127,127,.15); margin: 3px 0; }
.bm-tb i, .bm-k { display: inline-block; height: 100%; }
.bm-tb i.i, .bm-k.i { background: #e8a020; } .bm-tb i.c, .bm-k.c { background: #4a8fe0; } .bm-tb i.a, .bm-k.a { background: #b46be0; }
.bm-k { width: 10px; height: 8px; border-radius: 2px; vertical-align: middle; }
.bm-t th[data-k]:hover { text-decoration: underline; }
.bm-mo { color: #e8a020; }
/* Brutomarge — vernieuwd */
.bm-hero { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.bm-kpi { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; background: rgba(127,127,127,.04); }
.bm-kpi > span { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--quiet); }
.bm-kpi > b { font-size: 30px; font-weight: 900; letter-spacing: -.03em; line-height: 1.05; }
.bm-kpi small { font-size: 11.5px; color: var(--quiet); }
.bm-kpi.good > b { color: #2fb36d; }
.bm-ring-kpi { flex-direction: row; align-items: center; gap: 14px; }
.bm-ring-kpi > span:last-child { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 700; color: inherit; }
.bm-ring { --c: #2fb36d; --p: 0; position: relative; width: 74px; height: 74px; border-radius: 50%; flex: none;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), rgba(127,127,127,.18) 0); display: grid; place-items: center; }
.bm-ring::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--bg, #15151a); }
.bm-ring b { position: relative; font-size: 18px; font-weight: 900; letter-spacing: -.02em; }
.bm-ring.sm { width: 54px; height: 54px; } .bm-ring.sm::before { inset: 6px; } .bm-ring.sm b { font-size: 14px; }
.ok .bm-ring, .bm-ring-kpi.ok .bm-ring { --c: #e8a020; } .bad .bm-ring, .bm-ring-kpi.bad .bm-ring { --c: var(--red); }
.bm-hero-bar { grid-column: 1 / -1; }
.bm-split { display: flex; height: 8px; border-radius: 5px; overflow: hidden; background: rgba(127,127,127,.15); }
.bm-hero-bar .bm-split { height: 14px; border-radius: 7px; }
.bm-split i { display: block; height: 100%; } .bm-split i + i { box-shadow: -1px 0 0 rgba(0,0,0,.25); }
.bm-split i.i, .bm-k.i { background: #e8a020; } .bm-split i.c, .bm-k.c { background: #4a8fe0; } .bm-split i.a, .bm-k.a { background: #b46be0; } .bm-split i.m, .bm-k.m { background: #2fb36d; }
.bm-keys { margin: 6px 0 0; font-size: 11.5px; color: var(--quiet); }
.bm-k { display: inline-block; width: 10px; height: 10px; border-radius: 3px; vertical-align: -1px; margin-left: 8px; }
.bm-chart { display: flex; align-items: flex-end; gap: 10px; height: 180px; padding: 6px 2px 0; }
.bm-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.bm-col small { font-size: 11px; font-weight: 800; } .bm-col small.good { color: #2fb36d; } .bm-col small.ok { color: #e8a020; } .bm-col small.bad { color: var(--red); }
.bm-stack { width: 100%; max-width: 46px; background: rgba(127,127,127,.28); border-radius: 6px 6px 2px 2px; display: flex; align-items: flex-end; overflow: hidden; min-height: 2px; }
.bm-stack i { display: block; width: 100%; background: linear-gradient(#3fcf83, #2fb36d); border-radius: 4px 4px 0 0; }
.bm-col > span { font-size: 11px; color: var(--quiet); }
.bm-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 22px 0 10px; }
.bm-h { font-size: 13px; letter-spacing: .08em; margin: 0; }
.bm-ctl { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.bm-ctl select { font: inherit; padding: 5px 8px; background: transparent; color: inherit; border: 1px solid var(--line); border-radius: 8px; }
.bm-chk { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.bm-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.bm-tile { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: inherit;
  background: rgba(127,127,127,.04); transition: transform .12s, border-color .12s; position: relative; overflow: hidden; }
.bm-tile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #2fb36d; }
.bm-tile.ok::before { background: #e8a020; } .bm-tile.bad::before { background: var(--red); }
.bm-tile:hover { transform: translateY(-2px); border-color: rgba(127,127,127,.5); }
.bm-tile[hidden] { display: none; }
.bm-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.bm-pill { display: inline-block; font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 99px; background: rgba(127,127,127,.18); letter-spacing: .02em; }
.bm-badge { font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 99px; background: rgba(232,160,32,.16); color: #e8a020; }
.bm-badge.lop { background: rgba(70,130,220,.14); color: #3f7bd6; } .bm-badge.yr { background: rgba(127,127,127,.14); color: var(--quiet, #8a8a8a); }
.bm-top { gap: 4px; flex-wrap: wrap; justify-content: flex-start; } .bm-top .bm-pill { margin-right: auto; }
.bm-tn { font-size: 13.5px; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.bm-mid { display: flex; align-items: center; gap: 12px; }
.bm-nums { display: flex; flex-direction: column; } .bm-nums b { font-size: 18px; font-weight: 900; letter-spacing: -.02em; }
.bm-nums small { font-size: 11px; color: var(--quiet); }
.bm-t th[data-k] { cursor: pointer; user-select: none; } .bm-t th.asc::after { content: " ▲"; font-size: 9px; } .bm-t th.desc::after { content: " ▼"; font-size: 9px; }
.bm-t td, .bm-t th { padding: 7px 8px; font-size: 13px; } .bm-t tr.bm-row:hover td { background: rgba(127,127,127,.06); }
.bm-t td a { color: inherit; text-decoration: none; }
.bm-pbar { display: inline-block; width: 60px; height: 6px; border-radius: 3px; background: rgba(127,127,127,.18); vertical-align: middle; margin-right: 8px; overflow: hidden; }
.bm-pbar i { display: block; height: 100%; background: #2fb36d; } .ok .bm-pbar i { background: #e8a020; } .bad .bm-pbar i { background: var(--red); }
.bm-row.bad .bm-pv { color: var(--red); } .bm-row.ok .bm-pv { color: #e8a020; }
.bm-q { opacity: .4; } .bm-mo { color: #e8a020; font-weight: 700; }
.bm-over { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin: 16px 0 6px; }
.bm-ov { border: 1px dashed var(--line); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.bm-ov span { font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--quiet); } .bm-ov b { font-size: 18px; font-weight: 900; }
.bm-ov small { font-size: 11px; color: var(--quiet); } .bm-ov.warn { border-color: rgba(232,160,32,.6); } .bm-ov.warn b { color: #e8a020; }
@media (max-width: 900px) { .bm-hero { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bm-tiles[hidden], .bm-t[hidden], .bm-row[hidden] { display: none !important; }
/* Brutomarge — projectpagina */
.bm-pill-lg { font-size: 18px; padding: 3px 10px; vertical-align: 4px; }
.bp-sum { display: grid; grid-template-columns: auto 1fr; gap: 14px 22px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 14px; background: rgba(127,127,127,.04); }
.bp-ring { display: flex; flex-direction: column; align-items: center; gap: 4px; grid-row: span 2; }
.bp-ring .bm-ring { width: 96px; height: 96px; } .bp-ring .bm-ring::before { inset: 10px; } .bp-ring .bm-ring b { font-size: 24px; }
.bp-ring.ok .bm-ring { --c: #e8a020; } .bp-ring.bad .bm-ring { --c: var(--red); }
.bp-ring small { font-size: 11px; color: var(--quiet); }
.bp-flow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bp-step { display: flex; flex-direction: column; gap: 2px; padding: 6px 12px; border-radius: 10px; background: rgba(127,127,127,.07); min-width: 120px; }
.bp-step span { font-size: 11px; color: var(--quiet); display: flex; align-items: center; gap: 6px; } .bp-step span .bm-k { margin: 0; }
.bp-step b { font-size: 19px; font-weight: 900; letter-spacing: -.02em; }
.bp-step small { font-size: 11px; color: #e8a020; }
.bp-step.res { background: rgba(47,179,109,.14); } .bp-step.res b { color: #2fb36d; }
.bp-step.res.ok { background: rgba(232,160,32,.14); } .bp-step.res.ok b { color: #e8a020; }
.bp-step.res.bad { background: rgba(220,60,60,.14); } .bp-step.res.bad b { color: var(--red); }
.bp-op { font-size: 20px; font-weight: 300; color: var(--quiet); }
.bp-bar .bm-split { height: 12px; border-radius: 6px; }
.bp-alert { border: 1px solid rgba(232,160,32,.55); background: rgba(232,160,32,.10); border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; font-size: 13.5px; }
.bp-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 14px; align-items: start; }
@media (max-width: 1000px) { .bp-grid { grid-template-columns: 1fr; } .bp-sum { grid-template-columns: 1fr; } .bp-ring { grid-row: auto; } }
.bp-block { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; }
.bp-block.warnb { border-color: rgba(232,160,32,.45); }
.bp-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.bp-head h2 { font-size: 14px; margin: 0; letter-spacing: .02em; }
.bp-meta { font-size: 11.5px; color: var(--quiet); }
.bp-tot { margin-left: auto; font-size: 16px; font-weight: 900; }
.bp-ico { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; font-weight: 900; color: #fff; flex: none; }
.bp-ico.m { background: #2fb36d; } .bp-ico.i { background: #e8a020; } .bp-ico.c { background: #4a8fe0; } .bp-ico.a { background: #b46be0; } .bp-ico.h { background: #6b7280; }
.bp-item { border-top: 1px solid var(--line); }
.bp-item summary { display: grid; grid-template-columns: minmax(0, 1fr) 120px 100px; gap: 12px; align-items: center; padding: 8px 2px; cursor: pointer; list-style: none; }
.bp-item summary::-webkit-details-marker { display: none; }
.bp-item summary::before { content: "▸"; position: absolute; margin-left: -12px; color: var(--quiet); font-size: 10px; }
.bp-item[open] summary::before { content: "▾"; }
.bp-item summary:hover { background: rgba(127,127,127,.06); }
.bp-item summary b { text-align: right; font-size: 14px; }
.bp-name { font-weight: 700; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bp-name small { display: block; font-weight: 400; font-size: 11px; color: var(--quiet); }
.bp-mini { display: block; height: 6px; border-radius: 3px; background: rgba(127,127,127,.15); overflow: hidden; }
.bp-mini i { display: block; height: 100%; } .bp-mini i.m { background: #2fb36d; } .bp-mini i.i { background: #e8a020; } .bp-mini i.c { background: #4a8fe0; } .bp-mini i.a { background: #b46be0; } .bp-mini i.h { background: #8b93a1; }
.bp-lines { width: 100%; border-collapse: collapse; margin: 0 0 8px; font-size: 12.5px; }
.bp-lines td { padding: 5px 6px; border-top: 1px dashed var(--line); vertical-align: top; } .bp-lines td.dt { white-space: nowrap; color: var(--quiet); width: 60px; }
.bp-lines small { display: block; color: var(--quiet); font-size: 11px; }
.bp-hrow { display: grid; grid-template-columns: minmax(0, 1fr) 90px auto; gap: 10px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); font-size: 13px; }
.bp-hrow > span:first-child small { display: block; font-size: 11px; color: var(--quiet); }
.bp-hrow > small { grid-column: 3; text-align: right; font-size: 11px; color: var(--quiet); margin-top: -4px; }
.bp-hrow b { text-align: right; } .bp-open { color: #e8a020 !important; }
.bp-note { font-size: 11px; color: var(--quiet); margin: 8px 0 0; }
.bp-sub { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--quiet); margin: 12px 0 2px; }
.bp-urenkop, .bp-uren { display: grid; grid-template-columns: minmax(0, 1fr) 54px 80px; gap: 10px; align-items: center; }
.bp-uren.k, .bp-urenkop:has(span:nth-child(4)) { grid-template-columns: minmax(0, 1fr) 54px 80px 80px; }
.bp-urenkop { font-size: 10.5px; color: var(--quiet); text-transform: uppercase; letter-spacing: .05em; padding: 2px 0 4px; }
.bp-urenkop span, .bp-uren > span:not(.bp-who), .bp-uren > b { text-align: right; }
.bp-uren { padding: 7px 0; border-top: 1px solid var(--line); font-size: 13px; }
.bp-uren.tot { font-weight: 800; border-top: 2px solid var(--line); }
.bp-who { font-weight: 700; display: flex; flex-direction: column; gap: 3px; } .bp-who small { font-weight: 400; font-size: 11px; color: var(--quiet); }
.bp-who .bp-mini { height: 4px; }
.bp-tools { display: flex; justify-content: flex-end; margin: -4px 0 8px; }
.bp-all { font: inherit; font-size: 12px; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line); background: transparent; color: inherit; cursor: pointer; }
.bp-all:hover { background: rgba(127,127,127,.1); }
.bp-fold > summary { list-style: none; cursor: pointer; margin-bottom: 0; }
.bp-fold > summary::-webkit-details-marker { display: none; }
.bp-fold[open] > summary { margin-bottom: 8px; }
.bp-chev { font-size: 11px; color: var(--quiet); width: 10px; transition: transform .15s; }
.bp-fold[open] .bp-chev { transform: rotate(90deg); }
.bp-fold:not([open]):hover { background: rgba(127,127,127,.05); }
.bp-head h2 { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.cl-row { display: grid; grid-template-columns: 22px minmax(0, 1.4fr) minmax(60px, 1fr) 42px 70px 56px; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); font-size: 13px; }
.cl-rank { font-weight: 900; color: var(--quiet); text-align: center; }
.cl-name { overflow: hidden; } .cl-name b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-name small { font-size: 11px; color: var(--quiet); } .cl-name em { font-style: normal; color: #e8a020; }
.cl-bar { height: 7px; border-radius: 4px; background: rgba(127,127,127,.15); overflow: hidden; } .cl-bar i { display: block; height: 100%; background: #2fb36d; }
.cl-share { text-align: right; color: var(--quiet); font-size: 12px; } .cl-amt { text-align: right; }
.cl-trend { text-align: right; font-size: 12px; font-weight: 700; } .cl-trend.up { color: #2fb36d; } .cl-trend.down { color: var(--red); }
.cl-trend.new { color: #4a8fe0; }
.bm-pm { font-size: 11.5px; color: var(--quiet); } .bm-pm b { color: #2fb36d; } .bm-pm.neg b, .bm-neg { color: var(--red) !important; }
.bm-ovd { grid-column: 1 / -1; } .bm-ovd > summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.bm-ovd > summary::-webkit-details-marker { display: none; }
.bm-ovrow { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 13px; color: inherit; text-decoration: none; }
.bm-ovrow:hover { background: rgba(127,127,127,.06); } .bm-ovd[open] > summary { margin-bottom: 6px; }
.bm-st { font-size: 11px; color: var(--muted, #8a8a8a); margin-left: 4px; }
.bm-mf { align-items: center; } .bm-mf .bm-mfl { font-size: 12px; color: var(--quiet); padding: 0 4px 0 8px; white-space: nowrap; }
.bp-hacts { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.bm-zoekw { position: relative; display: inline-flex; align-items: center; }
.bm-zoek { font: inherit; width: 240px; padding: 7px 30px 7px 12px; background: transparent; color: inherit; border: 1px solid var(--line); border-radius: 999px; }
.bm-zoek:focus { outline: none; border-color: var(--text); }
.bm-zoekw kbd { position: absolute; right: 10px; font: 11px/1 inherit; color: var(--quiet); border: 1px solid var(--line); border-radius: 4px; padding: 2px 5px; pointer-events: none; }
.bm-zoek:focus + kbd, .bm-zoek:not(:placeholder-shown) + kbd { display: none; }
.bm-geen { color: var(--quiet); font-size: 14px; padding: 18px 2px; }
@media (max-width: 700px) { .bm-zoek { width: 100%; } .bm-zoekw { flex: 1 1 100%; } }
.bm-ovrow[hidden], .bm-tile[hidden], .bm-row[hidden], .bm-geen[hidden] span, #bm-geen-onder[hidden] { display: none; }
.bm-over details[hidden] { display: none; }
/* inlogpagina */
.lg-body { min-height: 100vh; margin: 0; background: radial-gradient(ellipse at 50% 35%, #1d1d16 0%, #0b0b08 65%); color: #f4efe1; overflow: hidden; }
.bh-rol td:not(:first-child), .bh-rol th:not(:first-child) { text-align: center; white-space: nowrap; }
.lg-film { position: fixed; inset: 0; z-index: 0; }
.lg-film video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(.55); transform: scale(1.04); }
.lg-film::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(11,11,8,.35) 0%, rgba(11,11,8,.85) 70%, #0b0b08 100%); }
.lg-wrap { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 16px; box-sizing: border-box; }
.lg-card { width: 100%; max-width: 380px; box-sizing: border-box; padding: 40px 32px 30px; text-align: center; border-radius: 20px;
  background: rgba(20,20,15,.72); border: 1px solid rgba(244,239,225,.12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.lg-logo { width: 56px; height: 56px; object-fit: contain; }
.lg-kicker { margin: 18px 0 2px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(244,239,225,.6); }
.lg-title { margin: 0 0 26px; font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.lg-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 18px; border-radius: 999px; background: #f4efe1; color: #11110c;
  font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.lg-btn:hover { background: #fff; transform: translateY(-1px); }
.lg-btn:focus-visible { outline: 2px solid #f4efe1; outline-offset: 3px; }
.lg-pijl { font-size: 17px; }
.lg-note { margin: 18px 0 0; font-size: 12.5px; line-height: 1.55; color: rgba(244,239,225,.62); }
.lg-fout, .lg-ok { margin: -8px 0 18px; padding: 10px 12px; border-radius: 10px; font-size: 13.5px; text-align: left; }
.lg-fout { background: rgba(224,82,64,.16); color: #ffb3a8; border: 1px solid rgba(224,82,64,.35); }
.lg-ok { background: rgba(70,170,110,.14); color: #a9e3bf; border: 1px solid rgba(70,170,110,.3); }
.lg-foot { margin-top: 20px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(244,239,225,.38); }
@media (prefers-reduced-motion: reduce) { .lg-film video { display: none; } .lg-film { background: url("kaaps-kleur.jpg") center / cover; } }
/* marge: projectmarge als hoofdcijfer, grote projecten bovenaan, per klant */
.bm-hero.pm { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .bm-hero.pm { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .bm-hero.pm { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bm-pmt { font-size: 20px; font-weight: 900; letter-spacing: -.02em; }
.bm-split i.u, .bm-k.u { background: #3fb6b0; }
.bm-sep { grid-column: 1 / -1; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--quiet); padding: 6px 2px 0; }
.bm-tiles .bm-sep:not(:first-child) { margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
tr.bm-sep td { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--quiet); padding-top: 14px; background: transparent; }
.bm-kl { margin-top: 18px; }
.bm-klr { cursor: pointer; } .bm-klr:hover td, .bm-klr:focus td { background: rgba(127,127,127,.07); } .bm-klr:focus { outline: none; }
.bm-kbar { display: block; height: 3px; margin-top: 5px; border-radius: 2px; background: rgba(127,127,127,.15); max-width: 220px; }
.bm-kbar i { display: block; height: 100%; border-radius: 2px; background: var(--quiet); }
/* Vandaag: aandacht nodig */
.an-wrap { margin: 0 0 18px; }
.an-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 800px) { .an-grid { grid-template-columns: minmax(0, 1fr); } }
.an-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 10px; background: rgba(127,127,127,.04); border-top: 3px solid var(--line); min-width: 0; }
.an-card.over { border-top-color: var(--red); } .an-card.budget { border-top-color: #e8a020; } .an-card.check { border-top-color: #4a8fe0; }
.an-card.leeg { opacity: .65; }
.an-ch { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.an-ch b { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.an-n { font-size: 22px; font-weight: 900; line-height: 1; }
.an-card.over .an-n { color: var(--red); } .an-card.budget .an-n { color: #e8a020; } .an-card.check .an-n { color: #4a8fe0; }
.an-card.leeg .an-n { color: var(--quiet); }
.an-u { display: block; font-size: 11.5px; color: var(--quiet); margin: 2px 0 6px; }
.an-row { display: flex; flex-direction: column; gap: 1px; padding: 6px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.an-row:hover .an-p { text-decoration: underline; }
.an-p { font-weight: 700; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.an-t { font-size: 12px; color: var(--quiet); }
.an-card.over .an-t { color: var(--red); }
.an-ok { margin: 6px 0 2px; font-size: 12.5px; color: var(--quiet); }
.an-more { display: inline-block; margin-top: 4px; font-size: 12px; color: var(--quiet); }
a.pu-h { display: block; text-decoration: none; }
.bm-ub { font-size: 11.5px; color: var(--quiet); } .bm-ub b { color: #2fb36d; font-weight: 700; }
.bm-ub.near b { color: #e8a020; } .bm-ub.over b, .bm-ub.plan-over b { color: var(--red); } .bm-ub.geen { color: #e8a020; }
/* tabbladen binnen een onderdeel (Planning, Projecten, Online, Eigenaar) */
.subnav { display: flex; gap: 4px; flex-wrap: wrap; margin: 0 0 14px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; width: max-content; max-width: 100%; background: var(--panel); }
.subnav a { text-decoration: none; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--quiet); white-space: nowrap; }
.subnav a:hover { color: var(--text); }
.subnav a.on { background: var(--text); color: var(--bg); }
[data-theme=zwart] .app .subnav a.on { background: #2e2e37; color: #fff; }
/* Vandaag: online in één blok */
.on-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 1300px) { .on-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .on-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.on-tile { display: flex; flex-direction: column; gap: 2px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: inherit; min-width: 0; }
.on-tile:hover { border-color: var(--quiet); }
.on-tile span { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--quiet); }
.on-tile b { font-size: 20px; font-weight: 900; letter-spacing: -.02em; line-height: 1.1; }
.on-tile small { font-size: 11px; color: var(--quiet); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.on-tile small i { font-style: normal; font-weight: 700; } .on-tile small i.up { color: #2fb36d; } .on-tile small i.down { color: var(--red); }
.on-tile.hot b { color: #2fb36d; } .on-tile.bad { border-color: var(--red); } .on-tile.bad small { color: var(--red); }
.on-todo { margin: 10px 0 2px; font-size: 13px; display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.on-todo a { color: inherit; }
.bm-kkpi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
.bm-open { color: #e8a020; }
.ow-klantlink { display: flex; gap: 10px; align-items: baseline; text-decoration: none; color: inherit; }
.ow-klantlink span { color: var(--quiet); font-size: 13px; }

/* Marge: laatste activiteit per project */
.bm-act { font-size: 11px; color: var(--quiet, #8a8a8a); margin-top: -4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bm-act.vers, .bm-actc .vers { color: #2fb36d; }
.bm-act.vers::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #2fb36d; margin-right: 5px; vertical-align: 1px; }
.bm-actc { white-space: nowrap; font-size: 12px; }

/* Koppelingen: wie moet opnieuw inloggen */
.kp-login { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.kp-login .kl-item { display: inline-flex; gap: 6px; align-items: center; }
.kp-login code, .kl-t code { font-size: 12.5px; padding: 1px 6px; border-radius: 5px; background: rgba(127,127,127,.15); }
.kl-kopie { font: inherit; font-size: 11.5px; padding: 1px 7px; border: 1px solid currentColor; border-radius: 99px; background: transparent; color: inherit; cursor: pointer; }
.kp-login a { color: inherit; margin-left: auto; }
.kl-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; background: #8d8d99; }
.kl-ok .kl-dot { background: #2fb36d; } .kl-let-op .kl-dot { background: #e8a020; } .kl-opnieuw .kl-dot { background: var(--red); }
.kl-opnieuw td:nth-child(3) { color: var(--red); font-weight: 600; }

/* Projecten: sorteerknoppen */
.tabs.srt { flex-wrap: wrap; align-items: center; }
.tabs.srt .srt-l { padding: 0 6px 0 12px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--quiet); }
.tabs.srt a { padding: 6px 11px; font-size: 12.5px; white-space: nowrap; }
@media (max-width: 700px) { .tabs.srt { border-radius: 16px; } }

/* Eigen achtergrondkleur (theme 'kleur'): alle kleuren zijn afgeleid van de gekozen kleur (zie thema_van in app.py).
   Basis is zwart (donkere kleur) of beige (lichte kleur); hier alleen wat daarvan afwijkt. */
html[data-kleur] .app { --bg: var(--k-bg); --panel: var(--k-panel); --panel-2: var(--k-panel-2); --line: var(--k-line);
  --text: var(--k-text); --quiet: var(--k-quiet); --strong: var(--k-text);
  --side-bg: var(--k-side-bg); --side-text: var(--k-side-text); --side-quiet: var(--k-side-quiet);
  --side-on: var(--k-side-on); --side-hover: var(--k-side-hover); --side-line: var(--k-side-line); }
html[data-kleur] body:has(.app) { background: var(--k-bg); }
html[data-kleur] .app main { background: var(--k-bg); color: var(--k-text); }
html[data-kleur] .app tr:hover td { background: var(--k-hover); }
html[data-kleur] .app .tabs a.on, html[data-kleur] .app .subnav a.on, html[data-kleur] .app .proj-link { background: var(--k-side-on); color: var(--k-side-text); }
html[data-kleur] .app input, html[data-kleur] .app select, html[data-kleur] .app textarea { background: var(--k-panel-2); color: var(--k-text); border-color: var(--k-line); }
/* Kleurkiezer: ronde knop met kleurenwaaier, of de gekozen kleur */
.theme-pick .sw-kleur { position: relative; overflow: hidden; display: inline-block;
  background: conic-gradient(#ff5d5d, #ffd45d, #7dff5d, #5dffe0, #5d7dff, #d45dff, #ff5d5d); }
.theme-pick .sw-kleur input { position: absolute; inset: -6px; width: 40px; height: 40px; opacity: 0; cursor: pointer; border: 0; padding: 0; }
html[data-kleur] .app .side { background: var(--k-side-bg); }   /* het zwarte thema dwingt een zwarte zijbalk af; bij eigen kleur volgt hij de kleur */
html[data-kleur] .app .side nav a.on { background: var(--k-side-on); color: var(--k-side-text); }
html[data-kleur] .app .side nav a:hover { background: var(--k-side-hover); }
/* De kleurenwaaier is een ring; de gekozen kleur zit erbinnen (bij beige: gewoon de hele waaier) */
.theme-pick .sw-kleur::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--sw-now, transparent); pointer-events: none; }

/* Menu in gewone schrijfwijze (Agenda, Projecten, Online, IT, Database, Eigenaar), niet in hoofdletters */
.app .side nav a { text-transform: none; letter-spacing: -.02em; }
.app .side .nav-more summary { text-transform: none; letter-spacing: 0; font-size: 14px; }

/* Marge: grootteknoppen (klussen tot 10k / 20k / 50k / boven 50k / alle) */
.bm-size { flex-wrap: wrap; width: fit-content; max-width: 100%; margin: 0 0 12px; }
.bm-size a small { margin-left: 6px; font-weight: 500; opacity: .6; }

/* Vandaag: spreuk bovenin, dan agenda | wie is waar, deadlines | Frame.io, aandacht, de rest */
.quote { padding: 0 0 12px; margin: 0 0 14px; }
.quote-text { font-size: clamp(20px, 1.8vw, 26px); margin: 0 0 4px; }
.quote-src { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
.home2.rij { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.home2.rij:has(> .col-rest:not(:has(*))) { grid-template-columns: minmax(0, 1fr); }
.home2.rij > .col-rest:not(:has(*)) { display: none; }
.mn-row { margin-bottom: 4px; }
.an-wrap { margin-top: 6px; }
@media (max-width: 1180px) { .home2.rij { grid-template-columns: minmax(0, 1fr); } }

/* Jouw avatar (rond, links onderin) en eigen achtergrondafbeelding */
.who-id { display: flex; align-items: center; gap: 14px; }
.who-nm { display: flex; flex-direction: column; min-width: 0; padding-bottom: 4px; }
.who-av { all: unset; box-sizing: border-box; position: relative; flex: none; width: 72px; height: 72px; border-radius: 50%; cursor: pointer; overflow: hidden;
  background: var(--bk, #eeece2); display: grid; place-items: center; text-align: center; color: #1b2538;
 }
.who-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: translate(var(--ax, 0%), var(--ay, 0%)) scale(var(--az, 1)); transform-origin: center; user-select: none; -webkit-user-drag: none; }
.who-av b { font-size: 28px; font-weight: 1000; line-height: 1; display: block; }
.who-av i { font-style: normal; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; opacity: .65; display: block; margin-top: 2px; }
.who-av:hover { filter: brightness(1.06); }
.who-av.edit { cursor: grab; } .who-av.edit:active { cursor: grabbing; }
.av-panel { margin-top: 10px; padding: 10px 12px; border: 1px solid var(--side-line, rgba(238,236,226,.25)); border-radius: 10px; background: var(--side-on, rgba(238,236,226,.08));
  display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; }
.av-panel[hidden] { display: none; }
.av-panel b { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.av-panel small { opacity: .7; font-size: 11.5px; }
.av-file { position: relative; display: inline-block; align-self: flex-start; padding: 6px 10px; border: 1px solid var(--side-line, rgba(238,236,226,.3)); border-radius: 8px; cursor: pointer; }
.av-file input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 0; }
.av-rij { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.av-rij input[type=range] { width: 110px; } .av-rij input[type=color] { width: 34px; height: 24px; padding: 0; border: 0; background: none; }
.av-knoppen { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.av-knoppen button { font-size: 12px; padding: 5px 10px; border-radius: 8px; cursor: pointer; }
.theme-pick .sw-beeld { position: relative; display: grid; place-items: center; color: var(--side-quiet, rgba(238,236,226,.7)); }
.theme-pick .sw-beeld svg { width: 12px; height: 12px; }
.theme-pick .sw-beeld:hover { color: var(--side-text, #fff); }
.theme-pick .sw-beeld input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 0; }
.beeld-weg { display: flex; gap: 10px; margin-top: 8px; }
.beeld-weg button { all: unset; cursor: pointer; font-size: 11px; opacity: .6; text-decoration: underline; text-underline-offset: 2px; }
.beeld-weg button:hover { opacity: 1; }
.beeld-msg { display: block; margin-top: 6px; font-size: 11px; opacity: .8; }
.beeld-msg:empty { display: none; }
/* achtergrondafbeelding: de gekozen kleur ligt er half doorzichtig overheen, zodat alles leesbaar blijft */
html[data-bgimg] .app main { background: linear-gradient(color-mix(in srgb, var(--bg) 78%, transparent), color-mix(in srgb, var(--bg) 78%, transparent)), var(--bgimg) center / cover fixed no-repeat; }

/* Brutomarge: periodekeuze (heel jaar / Q1-Q4) */
.bm-periode { width: fit-content; flex-shrink: 0; }
.hello.compact { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.bm-col.uit { opacity: .32; }

/* Mijn lijstje (Google Taken) op Vandaag */
.lijstje .section-head h2 small { font-size: 12px; opacity: .6; font-weight: 600; margin-left: 4px; }
.lj-add { display: flex; gap: 6px; margin: 2px 0 8px; flex-wrap: wrap; }
.lj-add input[type=text] { flex: 1 1 180px; min-width: 0; }
.lj-add input { font: inherit; font-size: 13px; padding: 5px 9px; color: inherit; background: transparent; border: 1px solid var(--line); border-radius: 8px; }
.lj-add input[type=date] { color-scheme: dark light; }
.lj-add button { font-size: 13px; padding: 5px 12px; border-radius: 8px; cursor: pointer; }
.lj-list { display: flex; flex-direction: column; }
.lj-row { display: flex; align-items: center; gap: 10px; padding: 5px 0; border-top: 1px solid var(--line); }
.lj-row:first-child { border-top: 0; }
.lj-row form { margin: 0; display: contents; }
.lj-vink { all: unset; box-sizing: border-box; flex: none; width: 18px; height: 18px; border: 2px solid var(--quiet); border-radius: 50%; cursor: pointer; }
.lj-vink:hover, .lj-vink:focus-visible { border-color: #2fb36d; background: rgba(47,179,109,.2); }
.lj-row.late .lj-vink { border-color: var(--red); }
.lj-tekst { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 8px; font-size: 14px; white-space: nowrap; overflow: hidden; }   /* alles op één regel: titel, projectlabel en notitie */
.lj-tekst b { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.lj-tekst small { flex: 1 1 0; min-width: 0; opacity: .65; font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.lj-pill { flex: none; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; white-space: nowrap; }
.lj-due { flex: none; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; color: var(--quiet); white-space: nowrap; }
.lj-due.late { color: var(--red); } .lj-due.nu { color: #e8a020; }
.lj-weg { all: unset; flex: none; cursor: pointer; opacity: 0; font-size: 18px; line-height: 1; padding: 0 4px; color: var(--quiet); }
.lj-row:hover .lj-weg, .lj-weg:focus-visible { opacity: .8; } .lj-weg:hover { color: var(--red); opacity: 1; }
.lj-fout { color: var(--red); font-size: 13px; margin: 0 0 8px; }
.lj-uitleg { font-size: 13px; line-height: 1.5; } .lj-uitleg ol { margin: 6px 0 8px 18px; padding: 0; } .lj-uitleg code { font-size: 11.5px; word-break: break-all; }
.lijstje .lj-list { max-height: 380px; overflow-y: auto; }
.lijstje-pagina .lj-list { max-height: none; overflow: visible; }
.lijstje-pagina { max-width: 820px; }
.lj-meer { display: block; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 12.5px; font-weight: 700; text-decoration: none; color: var(--quiet); }
.lj-meer:hover { color: var(--text); }
.lj-groep { margin: 12px 0 2px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--quiet); }
.lj-groep small { opacity: .7; margin-left: 4px; } .lj-groep.late { color: var(--red); }
.lj-add .pk { flex: 0 1 190px; min-width: 0; }
.lj-add .pk-btn { font-size: 13px; border-radius: 8px; min-height: 0; padding: 5px 9px; }
.lj-add input[type=text] { flex: 1 1 150px; } .lj-add input[type=date] { flex: 0 0 auto; }
.lijstje:not(.lijstje-pagina) .lj-add .pk { flex: 0 1 150px; }   /* op Vandaag: alles op één regel */

/* Uren per week: productiviteit en declarabiliteit per medewerker */
.up-wrap { overflow-x: auto; }
.up-t { width: 100%; border-collapse: separate; border-spacing: 3px; font-size: 13px; }
.up-t th { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--quiet); text-align: center; padding: 2px 4px; white-space: nowrap; }
.up-t th small, .up-t th em { display: block; font-size: 10px; font-weight: 500; letter-spacing: 0; text-transform: none; font-style: normal; opacity: .75; }
.up-t th.gepland { color: var(--text); } .up-t th.lopend { color: var(--text); }
.up-t td.up-n { white-space: nowrap; font-weight: 600; padding-right: 10px; }
.up-grp td { padding: 10px 2px 2px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--quiet); font-weight: 700; }
.up-grp small { font-weight: 500; letter-spacing: 0; text-transform: none; margin-left: 6px; opacity: .8; }
.up-c { text-align: center; padding: 4px 6px; border-radius: 7px; min-width: 62px; background: rgba(255,255,255,.04); }
.up-c b { display: block; font-size: 14px; line-height: 1.2; } .up-c small { display: block; font-size: 11px; opacity: .7; line-height: 1.2; }
.up-nul { font-size: 11px; opacity: .55; }
.up-c.groen, .up-k.groen { background: rgba(47,179,109,.22); } .up-c.oranje, .up-k.oranje { background: rgba(232,160,32,.26); }
.up-c.rood, .up-k.rood { background: rgba(226,59,59,.30); } .up-c.blauw, .up-k.blauw { background: rgba(57,150,210,.30); }
.up-c.gepland { outline: 1px dashed var(--quiet); outline-offset: -1px; } .up-c.lopend { outline: 2px solid var(--quiet); outline-offset: -2px; }
.up-gem { border-left: 1px solid var(--line); border-radius: 0 7px 7px 0; }
.up-team td { padding-top: 6px; } .up-team .up-c { background: transparent; border-top: 1px solid var(--line); border-radius: 0; }
.up-keys { margin: 10px 0 0; font-size: 12px; color: var(--quiet); } .up-k { display: inline-block; width: 11px; height: 11px; border-radius: 3px; vertical-align: -1px; margin: 0 3px 0 10px; }
.up-warn .up-wrow { display: flex; gap: 14px; align-items: baseline; padding: 6px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.up-warn .up-wrow:first-of-type { border-top: 0; }
.up-wk { flex: none; width: 140px; font-weight: 700; font-size: 13px; } .up-wk small { font-weight: 500; opacity: .65; margin-left: 4px; }
.up-wl { display: flex; gap: 6px; flex-wrap: wrap; }
.up-chip { padding: 3px 9px; border-radius: 8px; font-size: 12.5px; white-space: nowrap; } .up-chip small { opacity: .8; margin-left: 2px; }
.up-chip.rood { background: rgba(226,59,59,.30); } .up-chip.oranje { background: rgba(232,160,32,.26); } .up-chip.blauw { background: rgba(57,150,210,.30); }
.up-warn.ok { padding-top: 4px; padding-bottom: 4px; }

/* Uren per week: inzoomen op week en dag */
.up-sub { font-size: 14px; font-weight: 500; opacity: .65; margin-left: 8px; letter-spacing: 0; }
.up-nav { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
.up-nav a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 13px; font-weight: 600; color: inherit; }
.up-nav a:hover { border-color: var(--quiet); }
.up-t th a, .up-t td a.up-zoom { color: inherit; text-decoration: none; display: block; }
.up-t th a:hover { text-decoration: underline; }
.up-t td a.up-zoom:hover b { text-decoration: underline; }
.up-t td.up-c small { display: block; }
.up-week th.up-why, .up-week td.up-why { text-align: left; min-width: 220px; padding-left: 12px; }
.up-week td.up-why span { display: block; font-size: 12px; line-height: 1.35; color: var(--quiet); }
.up-week td.up-why span.up-geen { opacity: .5; }
.up-head-links { display: inline-flex; gap: 10px; margin-left: 12px; font-size: 12px; font-weight: 600; }
.up-head-links a { color: inherit; opacity: .8; }
.up-big { font-size: 34px; font-weight: 800; margin: 2px 0 0; line-height: 1.1; }
.up-big small { font-size: 13px; font-weight: 500; opacity: .7; margin-left: 10px; }
.up-dsum { display: flex; gap: 16px; align-items: center; margin: 0 0 12px; }
.up-c.big { min-width: 84px; padding: 10px 14px; } .up-c.big b { font-size: 24px; }
.up-dtekst small { opacity: .7; font-size: 12px; }
.up-dag { margin-top: 14px; }
.up-lines { width: 100%; border-collapse: collapse; font-size: 13px; }
.up-lines th { text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--quiet); padding: 6px 10px; border-bottom: 1px solid var(--line); }
.up-lines td { padding: 7px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.up-lines .r { text-align: right; font-variant-numeric: tabular-nums; }
.up-lines td small { opacity: .65; }
.up-lines td a { color: inherit; text-decoration: none; } .up-lines td a:hover { text-decoration: underline; }
.up-lines tr.niet td.r { opacity: .6; }
.up-lines .up-st span { display: block; font-size: 12px; line-height: 1.35; }
.up-lines .up-st span.ok { color: #2fb36d; }
.up-lines tr:last-child td { border-bottom: 0; }
.up-lines { table-layout: fixed; }
.up-lines th:nth-child(1) { width: 32%; } .up-lines th:nth-child(2) { width: 22%; } .up-lines th:nth-child(3) { width: 8%; } .up-lines th:nth-child(4) { width: 13%; } .up-lines th:nth-child(5) { width: 25%; }
.up-lines td:nth-child(1), .up-lines td:nth-child(2) { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) { .up-lines { table-layout: auto; min-width: 640px; } .up-wrap { overflow-x: auto; } }

/* Fase uit Evernote op de projectkaarten en als groepskop bij sorteren op fase */
.pj-head-r { display: inline-flex; gap: 8px; align-items: baseline; flex-wrap: wrap; justify-content: flex-end; }
.pj-fase { display: inline-block; padding: 1px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; font-weight: 700;
  letter-spacing: .02em; color: var(--quiet); white-space: nowrap; background: var(--panel); }
.pj-fasekop { display: flex; align-items: center; gap: 10px; margin: 18px 0 8px; font-size: 14px; letter-spacing: .02em; }
.pj-fasekop:first-of-type { margin-top: 4px; }
.pj-fasekop small { font-weight: 400; color: var(--quiet); font-size: 12px; }
.pj-fasekop .pj-fase { font-size: 12px; padding: 1px 9px; color: var(--text); }

/* Eén pagina per fase: tabbalk met aantallen */
.tabs.fasenav { flex-wrap: wrap; border-radius: 18px; margin: 4px 0 14px; }
.tabs.fasenav a { padding: 6px 12px; font-size: 13px; white-space: nowrap; display: inline-flex; gap: 7px; align-items: baseline; }
.tabs.fasenav a small { font-size: 11px; font-weight: 700; opacity: .65; }
.pj-faseleeg { margin: -6px 0 14px; font-size: 12.5px; color: var(--quiet); }
.pj-faseleeg code { font-size: 12px; }
.pj-foot .pj-evl { cursor: pointer; margin-left: auto; color: var(--text); font-weight: 600; }
.pj-foot .pj-evl:hover { border-color: var(--text); }
.mn-box .empty { padding: 10px 0 6px; text-align: left; }   /* leeg blok op Vandaag: één rustige regel */

/* Telefoon: de volledige pagina's blijven bruikbaar. Menu bovenaan als scrolbare balk, één kolom. De mobiele startpagina is /m. */
.naar-mobiel { display: none; }
@media (max-width: 560px) {
  .app { display: block; }
  .side { position: static; height: auto; flex-direction: row; align-items: center; gap: 10px; padding: 10px 12px; overflow: visible; }
  .side .brand img { height: 34px; }
  .side-search, .side .who, .side .tagline { display: none; }
  .side nav { flex-direction: row; gap: 4px; overflow-x: auto; min-width: 0; flex: 1; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .side nav::-webkit-scrollbar { display: none; }
  .side nav a, .side nav summary { white-space: nowrap; padding: 10px 12px; font-size: 14px; }
  .side nav .nav-gap { display: none; }
  .side nav details { display: none; }
  main { padding: 16px 14px 48px; }
  table { display: block; overflow-x: auto; }
  .naar-mobiel { display: block; margin: 0 0 12px; font-weight: 700; font-size: 14px; }
}
