/* MSE Tools · Overzicht: held (altijd donker, rode gloed), tegels, te doen, kanalen, laatste. */

/* ---------- held ---------- */
.blok {
  --card: #14161B; --card-2: #1E2129; --card-3: #2C303B; --line: #2D313C; --line-2: #383D4A; --grid: #242833;
  --ink: #FFFFFF; --ink-2: #AEB1BA; --ink-3: #777B87; --kolom: #4B4F5B; --acc-ink: #FF5A6E;
  --tip-bg: #FFFFFF; --tip-ink: #15171C; --ok: #63B890; --bad: #FF5A6E; --warn-ink: #F5BF46;
  position: relative; overflow: hidden; color: #fff;
  border-radius: 24px; border: 1px solid var(--blok-lijn); border-top-color: #3A3F4D;
  background:
    radial-gradient(720px circle at 86% -24%, rgba(201, 28, 49, .34), transparent 62%),
    radial-gradient(520px circle at 0% 120%, rgba(201, 28, 49, .10), transparent 60%),
    var(--blok);
  box-shadow: 0 24px 60px -30px rgba(201, 28, 49, .45), inset 0 1px 0 rgba(255, 255, 255, .06);
}
[data-theme="light"] .blok { box-shadow: 0 24px 50px -30px rgba(21, 23, 28, .45), inset 0 1px 0 rgba(255, 255, 255, .06); }
.hero { padding: 0; margin-top: 8px; }
.hero-in { padding: 30px 32px 26px; }
.hero-kop-r { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hero .eyebrow--acc { color: #FF5A6E; display: flex; align-items: center; gap: 9px; }
.eyebrow--acc i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hero .eyebrow--voorbeeld { color: var(--warn); }
.hero-kop { margin: 0; font-weight: 800; font-stretch: 112%; font-size: 38px; line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; max-width: 22ch; }
.hero-kop em { font-style: normal; color: #FF5A6E; }
.hero-al { display: flex; gap: 8px; flex-wrap: wrap; }
.al { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 13px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; font: 600 13px/1 var(--font); white-space: nowrap; max-width: 100%; transition: background .2s, border-color .2s, transform .25s cubic-bezier(.22, 1, .36, 1); }
.al:hover { background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .2); transform: translateY(-1px); }
.al i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); flex: none; }
.al--bad i { background: #FF5A6E; }
.al--warn i { background: var(--warn); }
.hero-mid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 36px; margin-top: 30px; align-items: stretch; }
.lens { position: relative; display: flex; flex-direction: column; gap: 8px; }
.lens-b { position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; text-align: left; padding: 14px 16px 14px 20px; border-radius: 16px; border: 1px solid transparent; background: transparent; color: #fff; transition: background .25s, border-color .25s; }
.lens-b:hover { background: rgba(255, 255, 255, .04); }
.lens-b.on { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .1); }
.lens-b small { grid-column: 1; font: 600 10.5px/1.2 var(--mono); letter-spacing: .13em; text-transform: uppercase; color: var(--ink-2); }
.lens-b b { grid-column: 1; font-weight: 800; font-stretch: 125%; font-size: 32px; letter-spacing: -.045em; line-height: 1.05; margin-top: 6px; font-variant-numeric: tabular-nums; }
.lens-b > span { grid-column: 1; font-size: 12.5px; color: var(--ink-2); margin-top: 4px; }
.lens-b .spark { grid-column: 2; grid-row: 1 / span 3; width: 72px; flex: none; }
.lens-b .spark path { stroke: var(--ink-3); }
.lens-b.on .spark path { stroke: #FF5A6E; }
.lens-b .spark circle { fill: #FF5A6E; }
.lens-merk { position: absolute; left: 0; top: 0; width: 4px; height: 0; border-radius: 4px; background: var(--acc); pointer-events: none; }
.hero-g { min-width: 0; display: flex; flex-direction: column; }
.hero-g-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.hero-g-st { display: flex; align-items: flex-end; gap: 30px; flex-wrap: wrap; min-width: 0; }
.st { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.st small { font: 600 10.5px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.st b { font-size: 15px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.st b em { font-style: normal; color: var(--ink-3); font-weight: 500; font-size: 12.5px; margin-left: 6px; }
.st--big b { font-weight: 800; font-stretch: 125%; font-size: 56px; letter-spacing: -.045em; line-height: .95; }
.st--big b em { font: 500 14px var(--font); letter-spacing: 0; margin-left: 8px; color: var(--ink-2); }
.st--mnd { padding-bottom: 6px; }
.st--mnd b { font-weight: 800; font-stretch: 112%; font-size: 17px; letter-spacing: -.02em; }
.hero-kgr { flex: 1; min-height: 232px; height: auto; }
.blok .seg { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); }
.blok .seg-pill { background: #fff; }
.blok .seg button { color: var(--ink-2); }
.blok .seg button.on { color: #15171C; }
.lint { display: flex; align-items: center; height: 44px; border-top: 1px solid var(--blok-lijn); background: rgba(0, 0, 0, .28); font-size: 13px; }
.lint-nu { flex: none; display: flex; align-items: center; gap: 10px; height: 100%; padding: 0 18px 0 32px; border-right: 1px solid var(--blok-lijn); max-width: 46%; overflow: hidden; }
.lint--leeg .lint-nu { border-right: 0; max-width: 100%; }
.lint-nu > i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }
.lint-nu > small { font: 600 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ok); flex: none; }
.lint-kader { position: relative; height: 20px; overflow: hidden; min-width: 0; flex: 1; }
.lint-t { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 20px; color: var(--ink-2); }
.lint-t b, .lint-s b { color: #fff; font-weight: 700; }
.lint-band { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 60px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 60px), transparent); }
.lint-s { display: inline-flex; white-space: nowrap; color: var(--ink-2); animation: lint 70s linear infinite; }
.lint-s > span { display: inline-flex; align-items: center; gap: 10px; padding: 0 22px; }
.lint-s > span::after { content: ""; width: 6px; height: 6px; background: var(--acc); transform: rotate(45deg); margin-left: 34px; }
.lint-s time { font: 500 11.5px var(--mono); color: var(--ink-3); }
.hero:hover .lint-s { animation-play-state: paused; }
@keyframes lint { to { transform: translateX(-50%); } }
.hazard { height: 9px; background: repeating-linear-gradient(-45deg, var(--acc) 0 13px, #242833 13px 26px); }

/* ---------- tegels met kleine tekeningen ---------- */
.tegels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: var(--gap); }
.tegel { padding: 20px 20px 18px; display: flex; flex-direction: column; min-height: 196px; text-decoration: none; color: inherit; transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s, border-color .25s; will-change: transform; }
.tegel:hover { border-color: var(--line-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 18px 36px -22px rgba(0, 0, 0, .7); }
.tegel:hover .doos { transform: translateY(-2px) rotate(-4deg); background: var(--acc); }
/* titel en bijschrift onder elkaar naast het ikoon: de titel wordt nooit afgekapt en elke tegel heeft dezelfde kophoogte */
.tegel-h { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 11px; row-gap: 2px; align-items: center; }
.tegel-h .doos { grid-row: 1 / 3; }
.tegel-h b { grid-column: 2; align-self: end; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tegel-h small { grid-column: 2; align-self: start; font: 500 11px var(--mono); color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tegel-v { margin-top: 16px; font-weight: 800; font-stretch: 125%; font-size: 44px; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.tegel-v--leeg { color: var(--ink-3); }
.tegel-o { display: flex; align-items: center; gap: 8px; margin-top: 9px; font-size: 13px; color: var(--ink-2); }
.tegel-o i, .tegel-m i { width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--card-3); }
.tegel-m { margin-top: auto; padding-top: 16px; display: flex; align-items: center; gap: 3px; height: 46px; }
.tegel-m.stippen i { flex: 1 1 0; max-width: 8px; height: auto; aspect-ratio: 1; }
.tegel-m.blokjes { gap: 5px; flex-wrap: nowrap; overflow: hidden; }
.tegel-m.blokjes i { width: 14px; height: 14px; border-radius: 4px; }
.tegel-m.blokjes small { font: 600 11px var(--mono); color: var(--ink-2); margin-left: 4px; white-space: nowrap; }
.tegel-m.balk { gap: 12px; }
.tegel-m.balk .bar { flex: 1; }
.tegel-m.balk small { font: 500 11px var(--mono); color: var(--ink-3); white-space: nowrap; }
.k-ink { background: var(--ink) !important; } .k-warn { background: var(--warn) !important; } .k-bad { background: var(--bad) !important; } .k-ok { background: var(--ok) !important; } .k-mute { background: var(--ink-3) !important; }
.tegel-m.stippen i.k-ink { background: var(--kolom) !important; }
.bar { display: block; height: 8px; border-radius: 99px; background: var(--card-3); overflow: hidden; }
.bar > i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--acc); transition: width 1s cubic-bezier(.2, .8, .2, 1); }
.bar > i.k-bad { background: var(--bad) !important; }
.bar--leeg > i { width: 0 !important; }

/* ---------- onderste rij ---------- */
.ov-onder { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--gap); margin-top: var(--gap); align-items: stretch; }
.ov-onder > .card { display: flex; flex-direction: column; }
.td-rij { grid-template-columns: 32px minmax(0, 1fr) auto 16px; }
.td-rij .row-t b { white-space: normal; }
.rij-pijl { width: 15px; height: 15px; color: var(--ink-3); transition: transform .25s, color .25s; }
button.row:hover .rij-pijl { transform: translateX(3px); color: var(--ink); }
.lt-rij { grid-template-columns: 96px 8px minmax(0, 1fr); gap: 12px; }
.lt-rij .row-t b { font-weight: 500; white-space: normal; }

/* ---------- kanalen-strook ---------- */
.kan-strook { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: var(--gap); }
.kan-mini { display: flex; flex-direction: column; gap: 14px; text-align: left; padding: 16px; border-radius: 16px; background: linear-gradient(180deg, var(--card-top) 0%, var(--card) 100%); border: 1px solid var(--line); border-top-color: var(--line-top); box-shadow: var(--shadow-card); color: inherit; transition: transform .3s cubic-bezier(.22, 1, .36, 1), border-color .25s; }
.kan-mini:hover { transform: translateY(-2px); border-color: var(--line-2); }
.kan-mini-k { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.kan-mini-k b { font-size: 14.5px; font-weight: 800; font-stretch: 108%; letter-spacing: -.01em; }
.kan-mini-v { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.kan-mini-v > span { display: flex; flex-direction: column; font-weight: 800; font-stretch: 118%; font-size: 20px; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kan-mini-v small { font: 500 10.5px var(--mono); color: var(--ink-3); letter-spacing: 0; font-stretch: 100%; margin-top: 3px; font-weight: 500; }
