/* Module E: Vandaag, Projecten, Assets, Ontwikkeling. All classes are prefixed ins-. */

.ins-ph { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 20px 24px 12px; }
.ins-ph .panel-h { margin: 0; }
.ins-wrap-h .panel-h { flex-wrap: wrap; }
.ins-wrap-h .panel-h .r { margin-left: auto; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.ins-ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ins-empty { padding: 22px 24px; font-size: 13px; color: var(--t3); }
.ins-legend { display: flex; flex-wrap: wrap; gap: 16px; margin: -6px 0 8px; font-size: 12px; color: var(--t2); }
.ins-legend.sm { margin: 0; font-size: 11px; color: var(--t3); }
.ins-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ins-legend i { width: 14px; height: 3px; border-radius: 2px; display: inline-block; }
.ins-legend i.dash { background: repeating-linear-gradient(90deg, currentColor 0 3px, transparent 3px 6px); }
.ins-field { display: flex; flex-direction: column; gap: 6px; margin: 10px 0; }
.ins-field label { font-size: 12px; color: var(--t3); }
.ins-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 12px 0; font-size: 13px; }
.ins-drawer { padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; }
.ins-drawer h3 { font-size: 21px; font-weight: 400; letter-spacing: -0.03em; }
.ins-drawer h4 { font-size: 13px; font-weight: 500; margin-top: 8px; }
.ins-drawer a { color: var(--info-t); }
.ins-cand { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; }
.ins-quote { padding: 11px 13px; border-radius: 12px; background: var(--w06); box-shadow: inset 0 0 0 1px var(--w0f); }
.ins-quote p { margin: 0 0 8px; font-size: 13px; color: var(--t1); }
.ins-edit[contenteditable="plaintext-only"], .ins-ai-text[contenteditable="plaintext-only"], .ins-report[contenteditable="plaintext-only"], .ins-rec-t[contenteditable="plaintext-only"], .ins-step-x[contenteditable="plaintext-only"] { outline: 1.5px solid var(--hy-hi); outline-offset: 4px; border-radius: 4px; }
.ins-concept { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }

/* signals */
.ins-sigs { padding: 0 12px 12px; }
.ins-sig { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; color: inherit; text-decoration: none; transition: background .2s; }
.ins-sig:hover { background: var(--w06); }
.ins-sig + .ins-sig { box-shadow: 0 -1px 0 var(--w08); }
.ins-sig-l { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.ins-sig-t { font-size: 13.5px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 2px; }
.ins-sig-r { display: flex; align-items: center; gap: 8px; }
.ins-sig-r > svg { width: 14px; height: 14px; stroke: var(--t3); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ins-sig-x { display: none; }
.ins-sig:hover .ins-sig-x, .ins-sig-x:focus-visible { display: inline-flex; }
@media (hover: none) { .ins-sig-x { display: inline-flex; } }

/* upcoming */
.ins-up { padding: 0 12px 12px; }
.ins-up-r { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: inherit; text-decoration: none; transition: background .2s; }
.ins-up-r:hover { background: var(--w06); }
.ins-up-r + .ins-up-r { box-shadow: 0 -1px 0 var(--w08); }
.ins-up-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--hy-soft); color: var(--hy-ink); flex: none; }
:root:not([data-theme="light"]) .ins-up-ic { color: var(--hy); }
.ins-up-ic svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ins-up-t { font-size: 13.5px; font-weight: 500; }
.ins-up-w { width: 42px; text-align: right; flex: none; }
@media (max-width: 520px) { .ins-up-r .dv { display: none; } }

/* blue AI card */
.ins-ai-body { display: flex; flex-direction: column; gap: 10px; height: 100%; }
.ins-ai-body h3 { font-size: 15px; font-weight: 500; }
.ins-ai-top { display: flex; align-items: center; justify-content: space-between; }
.ins-ai-who { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.ins-ai-who b { font-weight: 500; font-size: 15px; color: var(--t0); }
.ins-ai-for { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--t1); }
.ins-ai-days { display: flex; gap: 4px; }
.ins-ai-days span { flex: 1; height: 28px; display: grid; place-items: center; border-radius: 8px; font-size: 11.5px; color: var(--t3); background: var(--w06); }
.ins-ai-days span.on { background: var(--hy); color: var(--hy-ink); font-weight: 550; }
.ins-ai-certs { display: flex; flex-wrap: wrap; gap: 5px; }
.ins-ai-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.btn.white { background: #fff; color: #0f2e5c; box-shadow: none; }
.btn.white:hover { background: #eaf2fb; }
.btn.ghostw { background: #ffffff1a; color: #fff; box-shadow: inset 0 0 0 1px #ffffff33; }
.btn.ghostw:hover { background: #ffffff2b; }

/* cost curve */
.ins-curve { position: relative; }
.ins-curve-now, .ins-curve-fc { position: absolute; top: var(--t); bottom: var(--b); pointer-events: none; }
.ins-curve-now { left: var(--x); width: 1px; background: var(--hy-hi); }
.ins-curve-now span { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 10.5px; color: var(--t2); white-space: nowrap; }
.ins-curve-fc { left: var(--x); right: 10px; background: linear-gradient(90deg, color-mix(in srgb, var(--panel) 48%, transparent), color-mix(in srgb, var(--panel) 14%, transparent)); }

/* heat map */
.ins-heat { display: grid; grid-template-columns: 16px 16px repeat(5, minmax(0, 1fr)); gap: 4px; align-items: center; margin-bottom: 8px; }
.ins-heat-y { grid-row: 1 / span 5; grid-column: 1; writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; font-size: 11px; color: var(--t3); }
.ins-heat-l { font-size: 11px; color: var(--t3); text-align: center; }
.ins-heat-x { grid-column: 3 / span 5; text-align: center; font-size: 11px; color: var(--t3); }
.ins-cell { aspect-ratio: 1.3; border: 0; border-radius: 7px; font-size: 13px; font-weight: 500; color: var(--t1); font-variant-numeric: tabular-nums; transition: transform .2s var(--ease), box-shadow .2s; }
.ins-cell.laag { background: color-mix(in srgb, var(--up) 14%, transparent); }
.ins-cell.midden { background: color-mix(in srgb, var(--warn) 20%, transparent); }
.ins-cell.hoog { background: color-mix(in srgb, var(--down) 24%, transparent); }
.ins-cell.has.hoog { background: color-mix(in srgb, var(--down) 52%, transparent); }
.ins-cell.has.midden { background: color-mix(in srgb, var(--warn) 42%, transparent); }
.ins-cell.has.laag { background: color-mix(in srgb, var(--up) 34%, transparent); }
.ins-cell:hover { transform: scale(1.06); }
.ins-cell.on { box-shadow: 0 0 0 2px var(--hy-hi); }

/* risks */
.ins-risks { display: flex; flex-direction: column; }
.ins-risk { display: flex; align-items: center; gap: 12px; padding: 11px 6px; border: 0; background: none; text-align: left; font-size: 13px; color: var(--t1); border-radius: 10px; transition: background .2s; }
.ins-risk:hover { background: var(--w06); }
.ins-risk + .ins-risk { border-top: 1px solid var(--w08); border-radius: 0; }
.ins-ev { color: var(--t2); margin-top: 3px; }
.ins-risk-bar { display: grid; grid-template-columns: minmax(70px, 1fr) 24px; align-items: center; gap: 8px; min-width: 110px; }
.ins-coso { display: flex; flex-direction: column; gap: 14px; }
.ins-coso .row-b { margin-bottom: 6px; }

/* project detail */
.ins-ai-text { font-size: 14px; line-height: 1.6; color: var(--t1); min-height: 96px; }
.ins-ai-head { display: flex; align-items: center; gap: 7px; margin: 14px 0 6px; font-size: 12px; color: var(--ai-t); font-weight: 500; }
.ins-ai-head svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ins-deps { display: flex; flex-direction: column; gap: 2px; }
.ins-dep { display: flex; align-items: center; gap: 12px; padding: 10px 2px; font-size: 13px; }
.ins-dep + .ins-dep { border-top: 1px solid var(--w08); }
.ins-dep > i { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--up); }
.ins-dep > i.warn { background: var(--warn); } .ins-dep > i.bad { background: var(--down); }
.ins-dep .r { text-align: right; }
.ins-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ins-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px; border-radius: 16px; background: var(--w06); box-shadow: inset 0 0 0 1px var(--w0f); transition: box-shadow .25s; }
.ins-opt.on { box-shadow: inset 0 0 0 1.5px var(--hy-hi); }
.ins-opt-t { font-size: 14px; font-weight: 500; }
.ins-opt p { margin: 0; flex: 1; }
.ins-report { white-space: pre-wrap; font-size: 13px; line-height: 1.6; min-height: 120px; color: var(--t1); }
@media (max-width: 860px) { .ins-opts { grid-template-columns: 1fr; } }

/* map frame: follows the theme. The dark values below apply in dark mode, clean.css sets the light palette. */
:root:not([data-theme="light"]) .ins-dark { --t0: #fff; --t1: #eef2f8; --t2: #b3bfd2; --t3: #8293ac; --line: #ffffff17; --w06: #ffffff0f; --w08: #ffffff12; --w0d: #ffffff17; --w0f: #ffffff1c; --w10: #ffffff1f; --w14: #ffffff26; --w17: #ffffff2b; --w1a: #ffffff30; --w26: #ffffff40; --w33: #ffffff55; --w40: #ffffff66; --k4d: #0000004d; --k77: #00000077; --k80: #00000080; --k88: #00000088; --k66: #00000066; --up: #6fd39a; --down: #ff7a70; --warn: #ffc357; --info: #7cc4ff; --up-t: #a4e6c0; --down-t: #ffb0a8; --warn-t: #ffd993; --info-t: #b6dcff; --brand-t: #ffb1b6; --ai-t: #ffd479; --inv-bg: #ffb81c; --inv-fg: #0f2e5c; --inv-hi: #ffc94f; }
.ins-dark { --im-bg: #0d1727; --im-panel: #101c2f; --im-side: #111e33; --im-edge: #ffffff14;
  --im-land: #1b2a1f; --im-f0: #26382a; --im-f1: #2f4230; --im-f2: #3a4a32; --im-f3: #47503a; --im-f4: #2b3a2e; --im-furrow: #ffffff12; --im-tree: #16261a; --im-block: #6d7680; --im-street: #8b949f44; --im-water: #17354f; --im-water2: #235272; --im-road: #4d5560; --im-road2: #5a626d; --im-center: #d9dfe7aa; }
.ins-map { display: grid; grid-template-columns: 240px minmax(0, 1fr) 340px; grid-template-rows: minmax(0, 1fr); height: 640px; overflow: hidden; color: var(--t1); background: var(--im-bg); border: 1px solid var(--im-edge); }
.ins-layers { min-height: 0; overflow-y: auto; padding: 16px 14px; background: var(--im-panel); border-right: 1px solid var(--im-edge); scrollbar-width: thin; }
.ins-lay-top { display: flex; align-items: center; gap: 8px; width: 100%; padding: 0 2px 8px; border: 0; background: none; font-size: 14px; font-weight: 500; color: var(--t0); cursor: default; }
.ins-lay-top svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ins-lay-top svg:last-child { display: none; }
.ins-lay-h { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 12px 2px 8px; border: 0; border-top: 1px solid var(--im-edge); background: none; font-size: 12px; font-weight: 500; color: var(--t2); }
.ins-lay-h svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.ins-lay-g { display: flex; flex-direction: column; gap: 2px; padding-bottom: 8px; }
.ins-lay-i { display: flex; align-items: center; gap: 8px; min-height: 30px; font-size: 12.5px; color: var(--t1); }
.ins-lay-note { color: var(--t3); padding: 6px 2px 0; line-height: 1.45; }
.ins-stage { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: var(--im-land); }
.ins-stage.zoomed .ins-svg { cursor: grab; }
.ins-stage.drag .ins-svg { cursor: grabbing; }
.ins-svg { display: block; width: 100%; height: 100%; user-select: none; }
.ins-land { fill: var(--im-land); }
.ins-f0 { fill: var(--im-f0); } .ins-f1 { fill: var(--im-f1); } .ins-f2 { fill: var(--im-f2); } .ins-f3 { fill: var(--im-f3); } .ins-f4 { fill: var(--im-f4); }
.ins-furrow { fill: none; stroke: var(--im-furrow); stroke-width: 1; }
.ins-tree { fill: var(--im-tree); }
.ins-street { fill: none; stroke: var(--im-street); stroke-width: 1.5; }
.ins-block { fill: var(--im-block); opacity: .78; }
.ins-river { fill: none; stroke: var(--im-water2); stroke-width: 30; stroke-linecap: round; }
.ins-canal { fill: none; stroke: var(--im-water2); stroke-width: 15; stroke-linecap: round; }
.ins-vliet { fill: none; stroke: var(--im-water); stroke-width: 6; stroke-linecap: round; }
.ins-rd1 { fill: none; stroke: var(--im-road); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.ins-rd1c { fill: none; stroke: var(--im-center); stroke-width: 1; stroke-dasharray: 9 8; }
.ins-rd2 { fill: none; stroke: var(--im-road2); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ins-rlab text { font: 10.5px var(--sans); fill: #e9eef6cc; paint-order: stroke; stroke: #0d1727cc; stroke-width: 3px; }
.ins-rlab text.b { font-weight: 600; fill: #fff; }
.ins-contract { fill: var(--up); fill-opacity: var(--ins-co, .28); stroke: var(--up); stroke-width: 2; stroke-opacity: .8; }
.ins-netl { stroke: var(--info); stroke-width: 1; stroke-dasharray: 2 5; opacity: .55; }
.ins-gate { fill: var(--im-bg); stroke: var(--info); stroke-width: 1.5; }
.ins-stage.schema { --im-land: #122035; --im-f0: #122035; --im-f1: #122035; --im-f2: #122035; --im-f3: #122035; --im-f4: #122035; --im-furrow: transparent; --im-tree: transparent; --im-block: #2e3e58; --im-road: #5f7290; --im-road2: #3f526f; --im-water2: #2b5f8c; --im-water: #274f76; }

/* markers */
.ins-mk-g { cursor: pointer; outline: none; }
.ins-mk { transform: scale(var(--ins-k, 1)); transition: transform .2s; }
.ins-mk-h { fill: var(--c); opacity: .22; }
.ins-mk-d { fill: var(--c); stroke: var(--im-bg); stroke-width: 2; }
.ins-mk-c { fill: var(--im-bg); }
.ins-mk.kritiek { --c: var(--down); } .ins-mk.letop { --c: var(--warn); } .ins-mk.ok { --c: var(--up); }
.ins-mk.kritiek .ins-mk-h { animation: ins-ping 2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ins-ping { 0% { transform: scale(.6); opacity: .5; } 100% { transform: scale(1.5); opacity: 0; } }
.ins-mk.sel .ins-mk-d { stroke: var(--hy); stroke-width: 3; }
.ins-mk-l { opacity: 0; transition: opacity .2s; pointer-events: none; }
.ins-mk-l rect { fill: #0d1727e6; stroke: #ffffff26; }
.ins-mk-l text { font: 500 10.5px var(--sans); fill: #fff; }
.ins-mk-g:hover .ins-mk-l, .ins-mk-g:focus-visible .ins-mk-l, .ins-mk.sel .ins-mk-l, .ins-mk.kritiek .ins-mk-l { opacity: 1; }
.ins-mk-g:focus-visible .ins-mk-d { stroke: #fff; }

/* map chrome */
.ins-zoom { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 2px; padding: 3px; border-radius: 10px; background: #0d1727e0; box-shadow: inset 0 0 0 1px #ffffff1f; }
.ins-zoom button { width: 28px; height: 28px; border: 0; border-radius: 7px; background: none; color: #fff; display: grid; place-items: center; }
.ins-zoom button:hover { background: #ffffff1f; }
.ins-zoom svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; }
.ins-mapseg { position: absolute; top: 12px; left: 12px; }
.ins-mapseg .seg { background: #0d1727e0; }
.ins-maplegend { position: absolute; right: 12px; bottom: 12px; width: 212px; max-width: calc(100% - 24px); padding: 11px 13px; border-radius: 12px; background: #0d1727ee; box-shadow: inset 0 0 0 1px #ffffff1f; color: var(--t1); font-size: 12px; }
.ins-ml-t { display: flex; align-items: center; justify-content: space-between; font-weight: 500; margin-bottom: 7px; }
.ins-ml-r { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 11px; color: var(--t2); }
.ins-ml-r i { width: 8px; height: 8px; border-radius: 50%; margin-left: 4px; }
.ins-ml-r i:first-child { margin-left: 0; }
.ins-ml-r i.kritiek { background: var(--down); } .ins-ml-r i.letop { background: var(--warn); } .ins-ml-r i.ok { background: var(--up); }
.ins-ml-o { margin-top: 9px; display: flex; flex-direction: column; gap: 4px; }
.ins-ml-g { display: flex; align-items: center; gap: 8px; margin-top: 5px; color: var(--t2); }
.ins-ml-g i { width: 26px; height: 9px; border-radius: 3px; flex: none; }
.ins-ml-g i.grad { background: linear-gradient(90deg, #ffb81c22, var(--hy)); }
.ins-ml-g i.stripe { background: repeating-linear-gradient(45deg, #fff8 0 1.5px, transparent 1.5px 5px); }
.ins-ml-g i.net { background: radial-gradient(circle, var(--warn), transparent 80%); }
.ins-ml-g i.n2 { background: color-mix(in srgb, var(--up) 42%, transparent); box-shadow: inset 0 0 0 1px var(--up); }
.ins-ml-g i.dotp { background-image: radial-gradient(#fff9 1px, transparent 1.3px); background-size: 5px 5px; }
.ins-ml-g i.own { box-shadow: inset 0 0 0 1.5px var(--hy); }

/* side */
.ins-side { min-height: 0; overflow-y: auto; padding: 16px 16px 18px; background: var(--im-side); border-left: 1px solid var(--im-edge); scrollbar-width: thin; }
.ins-side-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.ins-side-h h3 { font-size: 15px; font-weight: 500; margin-right: auto; }
.ins-side-t { font-size: 22px; font-weight: 400; letter-spacing: -0.03em; margin-bottom: 2px; }
.ins-prio { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 6px; border: 0; background: none; text-align: left; font-size: 13px; color: var(--t1); border-radius: 10px; }
button.ins-prio:hover, .ins-prio-m:hover { background: #ffffff0f; }
.ins-prio + .ins-prio { box-shadow: 0 -1px 0 #ffffff12; }
.ins-prio-m { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; padding: 0; border: 0; background: none; text-align: left; font-size: 13px; color: var(--t1); border-radius: 8px; }
.ins-prio-n { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; background: #ffffff14; color: var(--t2); flex: none; }
.ins-prio-r { width: 24px; text-align: right; }
.ins-score { font-size: 16px; font-weight: 500; color: var(--hy); }
.ins-add { width: 26px; height: 26px; flex: none; border: 0; border-radius: 8px; background: #ffffff14; color: var(--t1); display: grid; place-items: center; }
.ins-add.on { background: var(--hy); color: var(--hy-ink); }
.ins-add svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ins-steps { display: flex; flex-direction: column; gap: 2px; }
.ins-step { display: flex; gap: 10px; padding: 8px 0; opacity: .38; transition: opacity .3s; }
.ins-step.on, .ins-step.done { opacity: 1; }
.ins-step b { display: block; font-size: 12.5px; font-weight: 500; margin-bottom: 2px; }
.ins-step-x { font-size: 13px; line-height: 1.5; color: var(--t2); min-height: 4px; }
.ins-step-n { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; flex: none; background: #ffffff14; color: var(--t2); }
.ins-step.on .ins-step-n { background: var(--hy); color: var(--hy-ink); }
.ins-step.done .ins-step-n { background: color-mix(in srgb, var(--up) 26%, transparent); color: var(--up-t); }
.ins-step-foot { padding-top: 8px; }
.ins-kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; margin: 12px 0; }
.ins-kv b { display: block; font-weight: 450; font-size: 13px; }
.ins-meters { display: flex; flex-direction: column; gap: 7px; }
.ins-meter { display: grid; grid-template-columns: 104px minmax(0, 1fr) 24px; align-items: center; gap: 8px; }
.ins-meter.off { opacity: .35; }

/* parcels */
.ins-par { fill: #ffffff08; stroke: #ffffff26; stroke-width: 1; }
.ins-par.pos { fill: var(--hy); fill-opacity: var(--heat, .08); stroke: #ffffff66; }
.ins-par.live { cursor: pointer; transition: fill-opacity .35s; outline: none; }
.ins-par.live:hover, .ins-par.live:focus-visible { stroke: #fff; stroke-width: 1.6; }
.ins-par.sel { stroke: var(--hy); stroke-width: 3; }
.ins-par-labels { pointer-events: none; }
.ins-par-lab .n { font: 600 14px var(--sans); fill: #fff; paint-order: stroke; stroke: #0d1727cc; stroke-width: 3px; }
.ins-par-lab .t { font: 10px var(--sans); fill: #eef2f8e0; paint-order: stroke; stroke: #0d1727cc; stroke-width: 2.5px; }
.ins-ol { pointer-events: none; }
.ins-pat { fill: none; stroke: #ffffff66; stroke-width: 1; }
.ins-patd { fill: #ffd27e; }
.ins-natura { fill: var(--up); fill-opacity: .24; stroke: var(--up); stroke-width: 1.5; }
.ins-n2l { fill: none; stroke: var(--up); stroke-width: 1; stroke-dasharray: 4 6; opacity: .6; }
.ins-ml { font: 500 11px var(--sans); fill: #eafff3cc; paint-order: stroke; stroke: #0d1727bb; stroke-width: 3px; }
.ins-ml.sm { font-size: 9.5px; }
.ins-trafo { fill: var(--warn); stroke: var(--im-bg); stroke-width: 2; }
.ins-own { fill: none; stroke-width: 2; pointer-events: none; }
.ins-own.a { stroke: var(--hy); }
.ins-own.b { stroke: var(--info); stroke-dasharray: 6 5; }
.ins-own.c { stroke: #ffffff70; stroke-dasharray: 2 4; }

/* sliders */
.ins-sl { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.ins-sl-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; color: var(--t2); }
.ins-sl-v { font-weight: 500; color: var(--t0); font-variant-numeric: tabular-nums; }
.ins-range { -webkit-appearance: none; appearance: none; width: 100%; height: 18px; background: none; margin: 0; cursor: pointer; }
.ins-range::-webkit-slider-runnable-track { height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--hy-hi) var(--p, 50%), var(--w17) var(--p, 50%)); }
.ins-range::-moz-range-track { height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--hy-hi) var(--p, 50%), var(--w17) var(--p, 50%)); }
.ins-range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -6.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px #0f2e5c33, 0 2px 6px #0f2e5c55; }
.ins-range::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px #0f2e5c33, 0 2px 6px #0f2e5c55; }
.ins-range:focus-visible { outline: 2px solid var(--hy-hi); outline-offset: 2px; border-radius: 6px; }
.ins-sliders { display: flex; flex-direction: column; gap: 16px; margin: 16px 0; }

/* onderhoud */
.ins-advice { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--w06); box-shadow: inset 0 0 0 1px var(--w0f); line-height: 1.5; display: flex; flex-direction: column; gap: 4px; }
.tbl tr.ins-off td { opacity: .55; }
.ins-tl { display: flex; flex-direction: column; gap: 1px; }
.ins-tl-h, .ins-tl-r { display: grid; grid-template-columns: 196px minmax(0, 1fr); gap: 12px; align-items: center; width: 100%; }
.ins-tl-m { display: grid; grid-template-columns: repeat(12, 1fr); font-size: 10px; color: var(--t3); }
.ins-tl-m span { overflow: hidden; white-space: nowrap; }
.ins-tl-r { padding: 4px 6px; border: 0; background: none; text-align: left; border-radius: 8px; transition: background .2s, opacity .2s; }
.ins-tl-r:hover { background: var(--w06); }
.ins-tl-a { font-size: 12px; color: var(--t1); }
.ins-tl-a span { display: block; font-size: 10.5px; overflow: hidden; text-overflow: ellipsis; }
.ins-tl-t { position: relative; height: 18px; }
.ins-tl-t::before { content: ''; position: absolute; left: 0; right: 0; top: 8px; height: 1px; background: var(--w0d); }
.ins-tl-b { position: absolute; top: 5px; height: 8px; border-radius: 4px; background: color-mix(in srgb, var(--c, var(--up)) 40%, transparent); }
.ins-tl-b.kritiek { --c: var(--down); } .ins-tl-b.letop { --c: var(--warn); } .ins-tl-b.ok { --c: var(--up); }
.ins-tl-b.inline, .ins-tl-d.inline { position: static; display: inline-block; }
.ins-tl-b.inline { width: 16px; height: 6px; }
.ins-tl-d { position: absolute; top: 4px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 2px var(--panel); }
.ins-tl-d.inline { margin: 0; width: 8px; height: 8px; box-shadow: none; }
.ins-tl-r.off { opacity: .4; }
.ins-tl-r.off .ins-tl-d { background: none; box-shadow: inset 0 0 0 1.5px var(--t3); }

/* simulator */
.ins-simctl .seg { max-width: 100%; }
.ins-rec { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; color: var(--t1); background: var(--hy-soft); margin-bottom: 14px; }
.ins-rec-l { color: var(--t2); margin-bottom: 3px; }
.ins-rec-t { font-size: 14px; line-height: 1.5; }
.ins-cmp th, .ins-cmp td { white-space: nowrap; }
.ins-cmp .ins-col { background: color-mix(in srgb, var(--hy) 9%, transparent); }
.ins-col-b { border: 0; background: none; padding: 0; font: inherit; font-weight: 500; color: var(--t1); display: inline-flex; align-items: center; gap: 6px; }
.ins-best { font-weight: 600; color: var(--up-t); }
.ins-gantt { display: flex; flex-direction: column; gap: 2px; }
.ins-g-h { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 10px 0 4px; font-size: 13px; }
.ins-g-h b { font-weight: 500; }
.ins-g-h.on b { box-shadow: inset 0 -2px 0 var(--hy-hi); }
.ins-g-r { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 10px; align-items: center; }
.ins-g-l { color: var(--t2); white-space: nowrap; }
.ins-g-t { position: relative; height: 13px; }
.ins-g-t i { position: absolute; top: 1.5px; height: 10px; border-radius: 3px; }
.ins-g-t i.pre { background: color-mix(in srgb, var(--navy) 42%, transparent); }
.ins-g-t i.build { background: var(--navy); }
.ins-g-t i.crit { background: var(--warn); }
.ins-g-axis { margin-top: 10px; }
.ins-g-axis .ins-g-t { height: 34px; border-top: 1px solid var(--line); }
.ins-g-axis .ins-g-t span { position: absolute; top: 4px; font-size: 10.5px; color: var(--t3); transform: translateX(-50%); }
.ins-g-axis .ins-g-t em { position: absolute; top: -14px; bottom: 0; transform: translateX(-50%); padding-top: 18px; font-style: normal; font-size: 10.5px; color: var(--t1); white-space: nowrap; }
.ins-g-axis .ins-g-t em::before { content: ''; position: absolute; left: 50%; top: 0; height: 16px; width: 0; border-left: 1px dashed var(--down); }

/* responsive */
@media (max-width: 1340px) { .ins-map { grid-template-columns: 216px minmax(0, 1fr) 300px; } }
@media (max-width: 1100px) {
  .ins-map { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; height: auto; }
  .ins-layers { border-right: 0; border-bottom: 1px solid var(--im-edge); }
  .ins-lay-top { cursor: pointer; padding-bottom: 0; }
  .ins-lay-top svg:last-child { display: block; transition: transform .2s; }
  .ins-layers.open .ins-lay-top svg:last-child { transform: rotate(180deg); }
  .ins-lay-body { display: none; padding-top: 8px; }
  .ins-layers.open .ins-lay-body { display: block; }
  .ins-stage { aspect-ratio: 1000 / 640; }
  .ins-side { max-height: 460px; border-left: 0; border-top: 1px solid var(--im-edge); }
}
@media (max-width: 560px) {
  .ins-sig { grid-template-columns: 64px minmax(0, 1fr); }
  .ins-sig-r { grid-column: 2; justify-content: flex-start; }
  .ins-maplegend { position: static; width: auto; max-width: none; margin: 0; border-radius: 0; }
  .ins-stage { aspect-ratio: auto; display: flex; flex-direction: column; }
  .ins-svg { height: auto; aspect-ratio: 1000 / 640; }
  .ins-mapseg .seg button { padding: 4px 9px; font-size: 11px; }
  .ins-tl-h, .ins-tl-r { grid-template-columns: 112px minmax(0, 1fr); gap: 8px; }
  .ins-tl-m span:nth-child(even) { visibility: hidden; }
  .ins-g-r { grid-template-columns: 80px minmax(0, 1fr); }
  .ins-rec { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .ins-mk.kritiek .ins-mk-h { animation: none; } }
