/* Innovation OS — rustige, compacte SaaS-stijl (spec §27) */
:root {
  --bg: #f5f6f8; --panel: #fff; --ink: #16181d; --ink-2: #3d424d; --muted: #6b7280; --line: #e3e6eb; --line-2: #eef0f3;
  --accent: #d9480f; --accent-ink: #fff; --accent-soft: #fff1e8;
  --good: #1f7a3a; --good-bg: #e8f6ec; --mid: #9a6200; --mid-bg: #fff6e0; --bad: #b42318; --bad-bg: #fdecea; --info-bg: #eef4ff; --info: #1d4ed8;
  --side: #14161b; --side-2: #1e2128; --radius: 8px; --shadow: 0 1px 2px rgba(16,24,40,.05);
  font-size: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 14px/1.5 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 22px; line-height: 1.25; margin: 0; letter-spacing: -.01em; }
h2 { font-size: 15px; margin: 0; }
h3 { font-size: 13px; margin: 14px 0 6px; color: var(--ink-2); }
p { margin: 6px 0 10px; }
code { background: var(--line-2); padding: 1px 5px; border-radius: 4px; }
.muted { color: var(--muted); } .small { font-size: 12px; } .hidden { display: none !important; }
.st-ok { color: var(--good); } .st-bad { color: var(--bad); } .err { color: var(--bad); }

/* ---------- shell ---------- */
#app { display: flex; min-height: 100vh; }
.side { width: 232px; flex-shrink: 0; background: var(--side); color: #d1d5db; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.logo { display: block; padding: 18px 18px 14px; color: #fff; font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.logo:hover { text-decoration: none; }
.logo b { color: #ff8a4c; } .logo small { display: block; font-size: 11px; color: #8b92a0; letter-spacing: .04em; margin-top: 2px; }
.logo.big { color: var(--ink); font-size: 22px; padding: 0 0 8px; } .logo.big small { color: var(--muted); }
#nav { padding: 4px 10px; flex: 1; }
.nav-item { display: flex; align-items: center; gap: 10px; color: #c9ced6; padding: 8px 10px; border-radius: 6px; margin: 1px 0; font-weight: 500; }
.nav-item .ico { width: 18px; text-align: center; opacity: .8; }
.nav-item:hover { background: var(--side-2); color: #fff; text-decoration: none; }
.nav-item.on { background: var(--side-2); color: #fff; }
.subnav { margin: 2px 0 8px 28px; border-left: 1px solid #2c3039; }
.subnav a { display: block; color: #9aa1ad; padding: 5px 12px; font-size: 13px; }
.subnav a:hover { color: #fff; text-decoration: none; }
.subnav a.on { color: #fff; border-left: 2px solid var(--accent); margin-left: -1px; padding-left: 11px; }
.side-foot { padding: 14px 18px; border-top: 1px solid #262a32; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.me b { display: block; color: #fff; font-size: 13px; } .me span { font-size: 11px; color: #8b92a0; }
.side-foot .link { color: #9aa1ad; }
.main-col { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 5; background: rgba(245,246,248,.92); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); display: flex; gap: 14px; align-items: center; padding: 10px 28px; }
.search { flex: 1; max-width: 560px; } .search input { background: #fff; }
.concept-pick { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.concept-pick select { width: auto; min-width: 170px; }
.bell { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; cursor: pointer; font-size: 15px; }
.bell span { position: absolute; top: -6px; right: -6px; background: var(--accent); color: #fff; border-radius: 99px; font-size: 10px; padding: 1px 6px; font-weight: 600; }
.demo-banner { background: var(--info-bg); color: var(--info); padding: 7px 28px; font-size: 12px; border-bottom: 1px solid #d6e2ff; }
main { padding: 22px 28px 80px; max-width: 1400px; width: 100%; }
main:focus { outline: none; }
.crumbs { margin: 0 0 8px; font-size: 13px; }

/* ---------- basis ---------- */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.page-head .sub { color: var(--muted); margin: 4px 0 0; max-width: 820px; }
.section { margin: 22px 0 10px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 14px; box-shadow: var(--shadow); }
.card.warn { border-left: 3px solid var(--mid); }
.card.gate { border-top: 3px solid var(--accent); }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
details.card > summary { cursor: pointer; }
.grid { display: grid; gap: 14px; }
.grid > .card { margin-bottom: 0; }
.grid + .card, .grid + .grid, .card + .grid { margin-top: 14px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.g2-1 { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); }
.grid.tight { gap: 18px; margin: 8px 0; }
.empty { color: var(--muted); padding: 10px 0; }
.empty p { margin: 0 0 8px; }
.note { background: var(--info-bg); color: #1e3a8a; padding: 9px 12px; border-radius: 6px; font-size: 13px; }
.loading { color: var(--muted); padding: 30px 0; display: flex; align-items: center; gap: 10px; }
.spin { width: 14px; height: 14px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; display: inline-block; animation: spin .8s linear infinite; vertical-align: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- knoppen & formulieren ---------- */
button, .btn { font: inherit; font-weight: 500; border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 6px 12px; border-radius: 6px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; line-height: 1.4; white-space: nowrap; }
button:hover, .btn:hover { border-color: #c5cad3; text-decoration: none; }
button.primary, .btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
button.primary:hover, .btn.primary:hover { filter: brightness(1.06); }
button.danger, .btn.danger { color: var(--bad); border-color: #f3c7c2; }
button.danger:hover { background: var(--bad-bg); }
button.big { padding: 9px 18px; font-size: 15px; }
button.small, .btn.small { padding: 3px 9px; font-size: 12px; }
button[disabled] { opacity: .5; cursor: not-allowed; }
button.link { border: 0; background: none; padding: 0; color: var(--accent); }
button.link.danger { color: var(--bad); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #ffb38a; outline-offset: 1px; }
input, select, textarea { font: inherit; color: inherit; border: 1px solid var(--line); border-radius: 6px; padding: 6px 9px; background: #fff; width: 100%; min-width: 0; }
input[type="checkbox"], input[type="radio"] { width: auto; }
textarea { resize: vertical; }
.invalid { border-color: var(--bad) !important; background: #fffafa; }
label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--ink-2); font-weight: 500; }
label small { color: var(--muted); font-weight: 400; }
label.check { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; font-size: 13px; color: var(--ink); }
.form { display: grid; gap: 10px; }
.form.compact { gap: 8px; }
.row { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); align-items: end; }
fieldset { border: 1px solid var(--line-2); border-radius: 6px; padding: 8px 10px 10px; margin: 0; }
legend { font-size: 12px; color: var(--muted); padding: 0 4px; }
fieldset.multi { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.row-inline { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.row-inline input, .row-inline select { width: auto; }
.row-inline > input { flex: 1; min-width: 200px; }
.actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.actions.end { justify-content: flex-end; margin-top: 12px; }
.sticky-actions { position: sticky; bottom: 0; background: linear-gradient(transparent, #fff 30%); padding: 10px 0 2px; }
.upload { display: inline-flex; flex-direction: row; align-items: center; gap: 8px; color: var(--accent); cursor: pointer; margin-top: 8px; }
.upload input { width: auto; font-size: 12px; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; align-items: center; }
.filters .grow { flex: 1; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 4px 12px; font-size: 12px; color: var(--ink-2); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip:hover { text-decoration: none; border-color: #c5cad3; }
.filters-form .row { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
details > summary { cursor: pointer; color: var(--accent); font-size: 13px; font-weight: 500; }
details[open] > summary { margin-bottom: 10px; }
details.menu { position: relative; display: inline-block; }
details.menu > summary { list-style: none; color: var(--ink); margin: 0; }
details.menu > summary::-webkit-details-marker { display: none; }
.menu-box { position: absolute; right: 0; top: calc(100% + 4px); background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 24px rgba(16,24,40,.12); padding: 6px; z-index: 10; min-width: 220px; display: flex; flex-direction: column; }
.menu-box .link { text-align: left; padding: 7px 10px; border-radius: 5px; color: var(--ink); }
.menu-box .link:hover { background: var(--line-2); }

/* ---------- tabellen ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 8px 8px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
th { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; background: #fafbfc; }
tbody tr:hover td { background: #fcfcfd; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
td.c, th.c { text-align: center; }
table.dense td, table.dense th { padding: 6px 6px; font-size: 12.5px; }
table.edit td { padding: 4px 4px; vertical-align: middle; }
table.edit .w-num { width: 90px; } table.edit .w-unit { width: 80px; } table.edit .w-chk { width: 50px; text-align: center; }
table.calc td { padding: 6px 4px; }
table.calc tr.total td { font-weight: 600; border-top: 1px solid var(--line); }
table.matrix td.c { width: 90px; }
table.matrix th { white-space: normal; }

/* ---------- badges ---------- */
.badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: var(--line-2); color: var(--ink-2); white-space: nowrap; vertical-align: 1px; }
.b-good { background: var(--good-bg); color: var(--good); } .b-mid { background: var(--mid-bg); color: var(--mid); } .b-bad { background: var(--bad-bg); color: var(--bad); }
.b-demo { background: var(--info-bg); color: var(--info); }
.ph-disc { background: #f1f0ff; color: #5b3fd6; } .ph-dev { background: #eef4ff; color: #1d4ed8; } .ph-kit { background: #fff1e8; color: #c2410c; }
.ph-appr { background: var(--mid-bg); color: var(--mid); } .ph-pil { background: #e7f8f6; color: #0f766e; } .ph-roll { background: #e9f8ee; color: #15803d; }
.ph-live { background: #15803d; color: #fff; } .ph-closed { background: #eceef1; color: #4b5563; }
.tag { display: inline-block; background: var(--line-2); border-radius: 6px; padding: 3px 8px; margin: 0 6px 6px 0; font-size: 12px; }
.tags { margin: 6px 0; }

/* ---------- dashboard ---------- */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 14px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; color: var(--ink); display: block; box-shadow: var(--shadow); }
.kpi:hover { text-decoration: none; border-color: #c5cad3; }
.kpi b { display: block; font-size: 26px; line-height: 1.1; font-weight: 600; letter-spacing: -.02em; }
.kpi span { font-size: 12px; color: var(--muted); }
.kpi.act b { color: var(--accent); } .kpi.warn b { color: var(--bad); }
.funnel { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; }
.f-step { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 92px; background: #fafbfc; border: 1px solid var(--line-2); border-radius: 6px; padding: 8px 10px; color: var(--ink); overflow: hidden; }
.f-step:hover { text-decoration: none; border-color: var(--line); }
.f-step i { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, #ffb38a, var(--accent-soft)); z-index: 0; }
.f-step b, .f-step span { position: relative; z-index: 1; } .f-step b { font-size: 20px; } .f-step span { font-size: 11px; color: var(--muted); }
.item { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; border-top: 1px solid var(--line-2); }
.item:first-child { border-top: 0; padding-top: 2px; }
.item .grow { flex: 1; min-width: 0; }
.item .t { font-weight: 600; color: var(--ink); }
a.item:hover { text-decoration: none; }
.pick { flex-direction: column; align-items: flex-start; text-align: left; padding: 18px; gap: 4px; white-space: normal; height: 100%; }
.pick b { font-size: 16px; }

/* ---------- product ---------- */
.p-head { position: sticky; top: 53px; z-index: 4; background: var(--bg); padding-top: 4px; margin: 0 -4px 14px; padding-left: 4px; padding-right: 4px; }
.p-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.p-meta { display: grid; grid-template-columns: repeat(5, auto) 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.p-meta > div { background: #fff; padding: 8px 12px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.p-meta span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.p-meta b { font-weight: 600; }
.next-box { border-left: 3px solid var(--accent); }
.next-box.wait { border-left-color: var(--mid); } .next-box.blocked { border-left-color: var(--bad); }
.next-box .blockers { margin: 2px 0 0; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-top: 12px; overflow-x: auto; }
.tabs a { padding: 8px 12px; color: var(--muted); font-weight: 500; border-bottom: 2px solid transparent; white-space: nowrap; font-size: 13px; }
.tabs a:hover { color: var(--ink); text-decoration: none; }
.tabs a.on { color: var(--ink); border-bottom-color: var(--accent); }
.tabs .count { background: var(--line-2); border-radius: 99px; font-size: 10px; padding: 0 6px; margin-left: 2px; }
.stepper { list-style: none; display: flex; gap: 3px; padding: 0; margin: 0 0 14px; flex-wrap: wrap; }
.stepper li { flex: 1; min-width: 86px; font-size: 11px; padding: 6px 6px; background: #eceef1; color: var(--muted); text-align: center; border-radius: 4px; }
.stepper li.done { background: #ffe4d4; color: #9a3412; } .stepper li.now { background: var(--accent); color: #fff; font-weight: 600; } .stepper li.now.bad { background: var(--bad); }
.blockers { margin: 6px 0; padding-left: 18px; color: var(--bad); font-size: 13px; }
.stat { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin: 8px 0 12px; }
.stat > div { background: #fafbfc; border: 1px solid var(--line-2); border-radius: 6px; padding: 8px 10px; }
.stat b { display: block; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; } .stat span { font-size: 11px; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 6px 16px; margin: 10px 0; }
.facts div { border-bottom: 1px dashed var(--line-2); padding-bottom: 5px; }
.facts dt { font-size: 11px; color: var(--muted); } .facts dd { margin: 1px 0 0; font-weight: 500; }
.assist { list-style: none; padding: 0; margin: 6px 0; }
.assist li { padding: 6px 10px 6px 28px; border-radius: 6px; margin-bottom: 4px; position: relative; font-size: 13px; background: var(--line-2); }
.assist li::before { content: "✦"; position: absolute; left: 10px; color: var(--muted); }
.assist li.warn { background: var(--mid-bg); } .assist li.error { background: var(--bad-bg); } .assist li.info { background: #f5f7fb; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0; }
.thumbs img, img.thumb { width: 96px; height: 96px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.sourcing-bar { padding: 10px 12px; border-radius: 6px; background: var(--bad-bg); color: var(--bad); }
.sourcing-bar.ok { background: var(--good-bg); color: var(--good); }
.evidence { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 4px 20px; }
.ev-sec h3 { margin-top: 10px; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.ev-sec .facts { grid-template-columns: 1fr 1fr; }
.decision-form { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line-2); gap: 10px; }
.checklist li.done label { color: var(--muted); text-decoration: line-through; }
.bar { height: 6px; background: var(--line-2); border-radius: 3px; overflow: hidden; margin: 4px 0; min-width: 60px; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.bar.live i { background: var(--good); }
.spark { display: flex; align-items: flex-end; gap: 2px; height: 90px; padding: 4px 0; }
.spark div { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.spark i { display: block; width: 100%; background: #ffb38a; border-radius: 2px 2px 0 0; min-height: 1px; }

/* ---------- kleine grafieken ---------- */
.donut-wrap { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.legend { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 160px; }
.legend-item { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 13px; }
.legend-item:hover { text-decoration: none; color: var(--accent); }
.legend-item i { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.legend-item b { margin-left: auto; font-variant-numeric: tabular-nums; }
.chart-card { padding: 4px 0; }
.wizard-center { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 48px 24px; }
.wizard-center p { font-size: 16px; }
.wizard-center .big { padding: 14px 28px; font-size: 16px; }
.histo { display: flex; align-items: flex-end; gap: 4px; height: 110px; padding-bottom: 18px; }
.histo div { flex: 1; height: 100%; position: relative; display: flex; align-items: flex-end; }
.histo i { display: block; width: 100%; background: var(--accent); border-radius: 3px 3px 0 0; min-height: 1px; }
.histo span { position: absolute; bottom: -17px; left: 0; right: 0; text-align: center; font-size: 10px; color: var(--muted); }
.histo b { position: absolute; top: -2px; left: 0; right: 0; text-align: center; font-size: 10px; }
select.score { width: 64px; }
.review-form td:nth-child(3) { width: 55%; }

/* ---------- ontdekken ---------- */
.opp-head { display: flex; gap: 14px; align-items: center; margin-bottom: 6px; }
.opp-head .grow { flex: 1; min-width: 0; }
.opp-head h2 { font-size: 17px; }
.conf { width: 62px; height: 62px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; border: 3px solid; }
.conf b { font-size: 20px; line-height: 1; } .conf span { font-size: 9px; text-transform: uppercase; letter-spacing: .04em; margin-top: 2px; }
.c-high { border-color: var(--good); color: var(--good); background: var(--good-bg); } .c-mid { border-color: #d49a1c; color: var(--mid); background: var(--mid-bg); } .c-low { border-color: #e5a7a0; color: var(--bad); background: var(--bad-bg); }
.parts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.part-head { display: flex; justify-content: space-between; font-size: 13px; }
.part ul { margin: 4px 0 0; padding-left: 16px; font-size: 12px; color: var(--ink-2); }
.risks li { color: var(--bad); }
.src { padding: 7px 0; border-top: 1px dashed var(--line-2); font-size: 13px; }
label.check.src { align-items: flex-start; }
.context { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px 16px; }
.context div { display: flex; flex-direction: column; } .context .wide { grid-column: span 2; }
.context span { font-size: 11px; color: var(--muted); } .context b { font-weight: 500; }
.patterns { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.pattern { background: #fafbfc; border: 1px solid var(--line-2); border-radius: 6px; padding: 10px 12px; }
.pattern p { font-size: 13px; margin: 4px 0; }
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 24px; }
.kpi-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.kpi-row b { font-variant-numeric: tabular-nums; }

/* ---------- modaal, meldingen, login ---------- */
#modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-start; justify-content: center; padding: 8vh 16px; }
#modal[hidden] { display: none; }
.modal-back { position: absolute; inset: 0; background: rgba(15,17,21,.45); }
.modal-box { position: relative; background: #fff; border-radius: 10px; padding: 20px 22px; width: 100%; max-width: 520px; max-height: 84vh; overflow-y: auto; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.modal-box.wide { max-width: 860px; }
.modal-box h2 { font-size: 17px; margin-bottom: 8px; }
.notif-list { display: flex; flex-direction: column; }
.notif { display: flex; justify-content: space-between; gap: 12px; padding: 9px 10px; border-radius: 6px; color: var(--ink); }
.notif:hover { background: var(--line-2); text-decoration: none; }
.notif.unread b::before { content: "● "; color: var(--accent); }
#toasts { position: fixed; bottom: 18px; right: 18px; display: flex; flex-direction: column; gap: 8px; z-index: 60; }
.toast { background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; max-width: 460px; box-shadow: 0 8px 24px rgba(0,0,0,.2); font-size: 13px; }
.toast.err { background: var(--bad); }
.login { flex: 1; display: flex; align-items: center; justify-content: center; padding: 24px; }
.login .card { width: 100%; max-width: 420px; padding: 26px; }
.demo-info table td { padding: 4px; font-size: 12px; }

@media (max-width: 1100px) { .g2-1 { grid-template-columns: 1fr; } .p-meta { grid-template-columns: repeat(3, 1fr); } .next-box { grid-column: 1 / -1; } .funnel { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 820px) {
  #app { flex-direction: column; } .side { width: 100%; height: auto; position: static; } .subnav { display: none; }
  #nav { display: flex; flex-wrap: wrap; } .top { flex-wrap: wrap; padding: 10px 14px; } main { padding: 16px 14px 60px; }
  .g2 { grid-template-columns: 1fr; } .p-head { position: static; } .p-meta { grid-template-columns: 1fr 1fr; }
}
