/* Σελίδα «Κάλυψη Δήμων» (.ai/vouchers/43) — σχεδίαση από το artifact «Χάρτης Κάλυψης Παρόχων» (17/11/2026).
   Όλα κάτω από .kd και με πρόθεμα kd- (το DOM το φτιάχνει το js/kalypsiDimon.js, όχι το Blazor → όχι CSS isolation·
   το πρόθεμα αποφεύγει συγκρούσεις με .row/.tabs/.legend του Bootstrap/Metronic). Μόνο φωτεινό θέμα, όπως το admin. */
.kd{
  --surface:#fbfcfb; --surface-2:#f2f5f4; --ink:#13211d; --ink-2:#465753; --muted:#728380;
  --line:#d8e0dd; --line-2:#c2cdc9;
  --sea:#dbe7ec; --land:#e4e8e6; --land-2:#d3dad7;
  --accent:#2a56c6; --accent-soft:#e2e9fb;
  --ok:#1e90c9; --ok-tint:#cfe8f5; --ok-line:#1e90c9; --warn:#ec8656; --none:#d44141;
  --dr0:#f4c9bb; --dr1:#e99479; --dr2:#d05740; --dr3:#8f2a1c;
  --b0:#c3daf5; --b1:#82b0ea; --b2:#3d80d6; --b3:#1c4d92; --b-tint:#e3eefb;
  --mun-stroke:rgba(255,255,255,.92); --pe-stroke:#566a64; --rg-stroke:#1f2f2a; --halo:rgba(251,252,251,.94);
  --shadow:0 1px 2px rgba(19,33,29,.06),0 10px 28px rgba(19,33,29,.07);
  --f:"Commissioner","Segoe UI",system-ui,sans-serif;
  --r:14px;
  font-family:var(--f);color:var(--ink);font-size:14px;line-height:1.45;-webkit-font-smoothing:antialiased;
  display:flex;flex-direction:column;gap:20px;padding-bottom:40px
}
.kd,.kd *{box-sizing:border-box}
.kd button{font:inherit;color:inherit}
.kd h2,.kd h3,.kd p,.kd ul{margin:0}
.kd :focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.kd-msg{padding:40px 0;color:#667085;font-size:14px}

/* header */
.kd-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 32px;align-items:end}
.kd-lede{color:var(--ink-2);max-width:80ch;font-size:14.5px}
.kd-stamp{justify-self:end;text-align:right;font-size:12px;color:var(--muted);line-height:1.5}
.kd-stamp b{color:var(--ink);font-weight:600}

/* summary band */
.kd-band{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:20px 22px;display:flex;flex-direction:column;gap:20px}
.kd-hero-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}
.kd-hero-head h2{font-size:15px;font-weight:600;color:var(--ink)}
.kd-hero-head span{color:var(--muted);font-size:12.5px}
.kd-sbar{display:flex;height:34px;border-radius:9px;overflow:hidden;gap:2px;background:var(--surface)}
.kd-sbar>button{border:0;padding:0;cursor:pointer;position:relative;min-width:3px;transition:filter .15s,opacity .15s}
.kd-sbar>button:hover{filter:brightness(1.06)}
.kd-sbar.kd-has-focus>button:not(.kd-on){opacity:.35}
.kd-sbar-keys{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 18px}
.kd-skey{display:flex;gap:9px;align-items:flex-start;border:0;background:none;padding:6px 8px;margin:-6px -8px;border-radius:9px;text-align:left;cursor:pointer}
.kd-skey:hover{background:var(--surface-2)}
.kd-skey.kd-on{background:var(--accent-soft)}
.kd-skey .kd-sw{margin-top:3px}
.kd-skey b{display:block;font-size:20px;font-weight:650;line-height:1.1;font-variant-numeric:tabular-nums}
.kd-skey span{display:block;font-size:12.5px;color:var(--ink-2)}
.kd-figs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border-top:1px solid var(--line);padding-top:16px}
.kd-fig{padding:0 18px;border-left:1px solid var(--line);min-width:0}
.kd-fig:first-child{padding-left:0;border-left:0}
.kd-fig-k{font-size:12px;color:var(--ink-2);font-weight:550}
.kd-fig-v{font-size:30px;font-weight:650;letter-spacing:-.02em;line-height:1.15;margin-top:2px;font-variant-numeric:tabular-nums}
.kd-fig-v small{font-size:16px;font-weight:550;color:var(--ink-2);letter-spacing:0}
.kd-fig-d{font-size:12.5px;color:var(--ink-2);margin-top:2px}

/* swatches + icons */
.kd-sw{display:inline-block;width:12px;height:12px;border-radius:3px;flex:none;box-shadow:inset 0 0 0 1px rgba(0,0,0,.06)}
.kd-k-s0{background:var(--ok)}
.kd-k-s1{background:repeating-linear-gradient(135deg,var(--ok-line) 0 1.6px,var(--ok-tint) 1.6px 5px)}
.kd-k-s2{background:var(--none)}
.kd-k-dc{background:var(--land-2)} .kd-k-dx{background:var(--land)}
.kd-k-d0{background:var(--dr0)} .kd-k-d1{background:var(--dr1)} .kd-k-d2{background:var(--dr2)} .kd-k-d3{background:var(--dr3)}
.kd-k-p0{background:var(--b0)} .kd-k-p1{background:var(--b1)} .kd-k-p2{background:var(--b2)} .kd-k-p3{background:var(--b3)}
.kd-k-pf{background:repeating-linear-gradient(135deg,var(--b2) 0 1.6px,var(--b-tint) 1.6px 5px)} .kd-k-pn{background:var(--land)}
.kd-k-xd{background:var(--warn)}
.kd-ic{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.kd-c0{color:var(--ok)} .kd-c1{color:var(--ok-line)} .kd-c2{color:var(--none)}

/* explorer */
.kd-explorer{display:grid;grid-template-columns:minmax(0,1fr) 410px;gap:16px;align-items:stretch}
.kd-mapcard{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);overflow:hidden;display:flex;flex-direction:column;min-width:0}
.kd-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:12px 12px 10px}
.kd-seg{display:inline-flex;background:var(--surface-2);border:1px solid var(--line);border-radius:10px;padding:3px;gap:2px}
.kd-seg button{border:0;background:none;padding:6px 12px;border-radius:7px;cursor:pointer;font-weight:550;font-size:13px;color:var(--ink-2);white-space:nowrap}
.kd-seg button:hover{color:var(--ink)}
.kd-seg button[aria-checked="true"]{background:var(--surface);color:var(--ink);box-shadow:0 1px 2px rgba(0,0,0,.12)}
.kd-provsel{margin:0}
.kd-provsel select{font:inherit;font-size:13px;font-weight:550;padding:6px 30px 6px 10px;border-radius:9px;border:1px solid var(--line-2);background:var(--surface);color:var(--ink);max-width:260px}
.kd-search{position:relative;margin-left:auto;flex:1 1 220px;max-width:320px;min-width:0}
.kd-search input{width:100%;font:inherit;font-size:13px;padding:7px 10px 7px 32px;border-radius:9px;border:1px solid var(--line-2);background:var(--surface);color:var(--ink)}
.kd-search .kd-ic{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:var(--muted);width:15px;height:15px}
.kd-sugg{position:absolute;z-index:30;left:0;right:0;top:calc(100% + 4px);background:var(--surface);border:1px solid var(--line-2);border-radius:10px;box-shadow:var(--shadow);padding:4px;max-height:320px;overflow:auto}
.kd-sugg button{display:flex;width:100%;justify-content:space-between;gap:10px;border:0;background:none;text-align:left;padding:7px 9px;border-radius:7px;cursor:pointer;font-size:13px}
.kd-sugg button span{color:var(--muted);font-size:11.5px;white-space:nowrap}
.kd-sugg button.kd-act,.kd-sugg button:hover{background:var(--accent-soft)}
.kd-sugg .kd-sugg-empty{padding:8px 10px;color:var(--muted);font-size:13px}
.kd-modeinfo{padding:0 14px 10px;font-size:12.5px;color:var(--ink-2);display:flex;gap:6px 14px;flex-wrap:wrap;align-items:baseline;min-height:20px}
.kd-modeinfo b{color:var(--ink);font-weight:600}
.kd-modeinfo .kd-sep{color:var(--line-2)}
.kd-mapwrap{position:relative;height:clamp(480px,72vh,840px);background:var(--sea);border-top:1px solid var(--line);overflow:hidden;touch-action:none}
.kd-map{display:block;width:100%;height:100%;cursor:grab}
.kd-map:active{cursor:grabbing}
.kd-mun{stroke:var(--mun-stroke);stroke-width:.6;vector-effect:non-scaling-stroke;cursor:pointer;transition:fill-opacity .25s}
.kd-s0{fill:var(--ok)} .kd-s1{fill:url(#kd-hatch)} .kd-s2{fill:var(--none)}
.kd-dc{fill:var(--land-2)} .kd-dx{fill:var(--land)} .kd-d0{fill:var(--dr0)} .kd-d1{fill:var(--dr1)} .kd-d2{fill:var(--dr2)} .kd-d3{fill:var(--dr3)}
.kd-p0{fill:var(--b0)} .kd-p1{fill:var(--b1)} .kd-p2{fill:var(--b2)} .kd-p3{fill:var(--b3)} .kd-pf{fill:url(#kd-hatch-b)} .kd-pn{fill:var(--land)}
.kd-mun.kd-out{fill-opacity:.32}
.kd-mun.kd-dim{fill-opacity:.16}
.kd-hb{fill:var(--ok-tint)} .kd-hl{stroke:var(--ok-line);stroke-width:1.7}
.kd-hbb{fill:var(--b-tint)} .kd-hlb{stroke:var(--b2);stroke-width:1.7}
.kd-pe-line{fill:none;stroke:var(--pe-stroke);stroke-width:.9;vector-effect:non-scaling-stroke;pointer-events:none;stroke-opacity:.75}
.kd-rg-line{fill:none;stroke:var(--rg-stroke);stroke-width:1.3;vector-effect:non-scaling-stroke;pointer-events:none;stroke-opacity:.7}
.kd-scope-line{fill:none;stroke:var(--ink);stroke-width:2.2;vector-effect:non-scaling-stroke;pointer-events:none}
.kd-hover-line{fill:none;stroke:var(--ink);stroke-width:2;vector-effect:non-scaling-stroke;pointer-events:none}
.kd-sel-line{fill:none;stroke:var(--accent);stroke-width:3;vector-effect:non-scaling-stroke;pointer-events:none}
.kd-labels text{font-family:var(--f);fill:var(--ink);paint-order:stroke;stroke:var(--halo);stroke-width:3.2px;stroke-linejoin:round;pointer-events:none;text-anchor:middle}
.kd-labels .kd-ln{font-weight:650;font-size:12.5px}
.kd-labels .kd-lm{font-weight:500;font-size:10.5px;fill:var(--ink-2)}
.kd-labels .kd-lb-rg .kd-ln{font-size:13px;letter-spacing:.01em}
.kd-labels .kd-is-sel .kd-ln{fill:var(--accent)}

.kd-ov{position:absolute;z-index:5}
.kd-crumb-ov{top:12px;left:12px;display:flex;gap:6px;align-items:center;max-width:calc(100% - 80px)}
.kd-chipbtn{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line-2);background:var(--surface);border-radius:999px;padding:6px 12px 6px 9px;font-size:12.5px;font-weight:600;cursor:pointer;box-shadow:var(--shadow);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.kd-chipbtn:hover{border-color:var(--ink-2)}
.kd-zoombox{top:12px;right:12px;display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line-2);border-radius:10px;box-shadow:var(--shadow);overflow:hidden}
.kd-zoombox button{border:0;background:none;width:34px;height:34px;display:grid;place-items:center;cursor:pointer;color:var(--ink)}
.kd-zoombox button+button{border-top:1px solid var(--line)}
.kd-zoombox button:hover{background:var(--surface-2)}
.kd-legend{left:12px;bottom:12px;background:color-mix(in srgb,var(--surface) 94%,transparent);border:1px solid var(--line-2);border-radius:11px;box-shadow:var(--shadow);padding:10px 12px;display:flex;flex-direction:column;gap:3px;max-width:min(330px,calc(100% - 24px))}
.kd-legend h3{margin:0 0 4px;font-size:11px;letter-spacing:.07em;text-transform:uppercase;color:var(--ink-2);font-weight:650}
.kd-legend button{display:flex;align-items:center;gap:8px;border:0;background:none;padding:3px 6px;margin:0 -6px;border-radius:6px;cursor:pointer;text-align:left;font-size:12.5px}
.kd-legend button:hover{background:var(--surface-2)}
.kd-legend button.kd-on{background:var(--accent-soft)}
.kd-legend.kd-has-focus button:not(.kd-on){opacity:.45}
.kd-legend button .kd-n{margin-left:auto;padding-left:12px;color:var(--ink-2);font-variant-numeric:tabular-nums}
.kd-legend .kd-hint{font-size:11px;color:var(--muted);margin-top:4px}
.kd-tip{position:absolute;z-index:20;pointer-events:none;background:var(--surface);border:1px solid var(--line-2);border-radius:10px;box-shadow:var(--shadow);padding:10px 12px;min-width:200px;max-width:290px;font-size:12.5px;line-height:1.4}
.kd-tip .kd-t1{font-weight:650;font-size:13.5px}
.kd-tip .kd-t2{color:var(--muted);font-size:11.5px;margin-bottom:6px}
.kd-tip .kd-st{display:flex;gap:6px;align-items:center;font-weight:600;margin-bottom:5px}
.kd-tip dl{display:grid;grid-template-columns:auto auto;gap:1px 12px;margin:0}
.kd-tip dt{color:var(--ink-2);font-weight:400} .kd-tip dd{margin:0;text-align:right;font-weight:600;font-variant-numeric:tabular-nums}
.kd-tip .kd-tnear{margin-top:6px;color:var(--ink-2);font-size:11.5px}
.kd-attr{right:8px;bottom:6px;font-size:10.5px;color:var(--muted)}

/* panel */
.kd-panel{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);min-width:0;min-height:420px}
.kd-pin{position:absolute;inset:0;overflow:auto;padding:16px 18px 20px;display:flex;flex-direction:column;gap:14px;overscroll-behavior:contain}
/* τα παιδιά δεν «μαζεύουν»: το .kd-tabs (overflow-x) αλλιώς πέφτει σε ύψος 0 μέσα στη flex στήλη */
.kd-pin>*{flex-shrink:0}
.kd-crumbs{display:flex;flex-wrap:wrap;gap:2px 4px;align-items:center;font-size:12.5px;color:var(--muted)}
.kd-crumbs button{border:0;background:none;padding:2px 4px;margin:-2px -4px;border-radius:5px;cursor:pointer;color:var(--accent);font-weight:550}
.kd-crumbs button:hover{text-decoration:underline}
.kd-crumbs .kd-cur{color:var(--ink-2);font-weight:550}
.kd-crumbs .kd-ic{width:12px;height:12px}
.kd-ph-lvl{font-size:11.5px;letter-spacing:.07em;text-transform:uppercase;color:var(--ink-2);font-weight:650}
.kd-ph h2{margin:2px 0 0;font-size:24px;font-weight:650;letter-spacing:-.015em;line-height:1.15;text-wrap:balance;color:var(--ink)}
.kd-ph-sub{color:var(--ink-2);font-size:12.5px;margin-top:3px}
.kd-mini{display:flex;height:10px;border-radius:4px;overflow:hidden;gap:2px;background:var(--surface)}
.kd-mini>span{display:block;min-width:2px}
.kd-pbar{display:flex;flex-direction:column;gap:8px}
.kd-pbar .kd-mini{height:14px;border-radius:5px}
.kd-pbar-keys{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:12px;color:var(--ink-2)}
.kd-pbar-keys span{display:inline-flex;gap:5px;align-items:center}
.kd-pbar-keys b{color:var(--ink);font-variant-numeric:tabular-nums}
.kd-pfigs{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.kd-pfig{background:var(--surface-2);border-radius:10px;padding:9px 11px}
.kd-pfig-k{font-size:11.5px;color:var(--ink-2)}
.kd-pfig-v{font-size:19px;font-weight:650;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.kd-pfig-v small{font-size:12.5px;color:var(--ink-2);font-weight:550}
.kd-tabs{display:flex;gap:2px;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none;margin:0 -2px}
.kd-tabs button{border:0;background:none;padding:8px 10px 9px;cursor:pointer;font-weight:600;font-size:13px;color:var(--ink-2);border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap}
.kd-tabs button[aria-selected="true"]{color:var(--ink);border-bottom-color:var(--accent)}
.kd-tabs button .kd-n{font-weight:550;color:var(--muted);margin-left:4px;font-variant-numeric:tabular-nums}
.kd-tabhead{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.kd-tabhead p{font-size:12.5px;color:var(--ink-2);max-width:60ch}
.kd-sorts{display:inline-flex;gap:2px;background:var(--surface-2);border-radius:8px;padding:2px}
.kd-sorts button{border:0;background:none;font-size:12px;padding:4px 8px;border-radius:6px;cursor:pointer;color:var(--ink-2);font-weight:550}
.kd-sorts button[aria-pressed="true"]{background:var(--surface);color:var(--ink);box-shadow:0 1px 2px rgba(0,0,0,.1)}
.kd-list{display:flex;flex-direction:column}
.kd-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;align-items:baseline;border:0;background:none;text-align:left;padding:10px 8px;margin:0 -8px;border-radius:9px;cursor:pointer;border-bottom:1px solid var(--line);width:calc(100% + 16px)}
.kd-item:hover{background:var(--surface-2)}
.kd-item-nm{font-weight:600;min-width:0;display:flex;gap:7px;align-items:center}
.kd-item-nm .kd-ic{width:15px;height:15px}
.kd-item-nm span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kd-item-rt{font-size:12.5px;color:var(--ink-2);text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.kd-item-rt b{color:var(--ink);font-weight:650}
.kd-item-ex{grid-column:1/-1;font-size:12px;color:var(--ink-2)}
.kd-item-ex .kd-mini{margin:3px 0 4px}
.kd-wrapline{grid-column:1/-1;font-size:12px;color:var(--ink-2);line-height:1.45}
.kd-pchips{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:4px}
.kd-pchip{font-size:11.5px;background:var(--surface-2);border:1px solid var(--line);border-radius:6px;padding:1px 6px;color:var(--ink-2)}
.kd-pchip b{color:var(--ink);font-weight:650}
.kd-hbar{grid-column:1/-1;height:6px;border-radius:3px;background:var(--surface-2);overflow:hidden;display:flex}
.kd-hbar span{display:block;height:100%}
.kd-hb-acc{background:var(--accent)}
.kd-empty-note{color:var(--ink-2);font-size:13px;padding:14px 0}
.kd-subhead{font-size:11.5px;letter-spacing:.07em;text-transform:uppercase;color:var(--ink-2);font-weight:650;margin:8px 0 2px}
.kd-status{display:flex;gap:10px;align-items:flex-start;padding:11px 12px;border-radius:10px;background:var(--surface-2);border:1px solid var(--line)}
.kd-status .kd-ic{width:20px;height:20px;margin-top:1px}
.kd-status b{display:block;font-size:14px}
.kd-status span{font-size:12.5px;color:var(--ink-2)}
.kd-near{font-size:13px;line-height:1.5;padding:11px 12px;border-radius:10px;border:1px dashed var(--line-2)}
.kd-near-d{font-size:22px;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.kd-near-d small{font-size:13px;color:var(--ink-2);font-weight:550}
.kd-prow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;padding:8px 0;border-bottom:1px solid var(--line);font-size:13px}
.kd-prow .kd-item-rt{font-size:13px}
.kd .kd-linkbtn{border:0;background:none;padding:0;color:var(--accent);cursor:pointer;font-weight:600;font-size:13px;text-align:left;text-decoration:none}
.kd .kd-linkbtn:hover{text-decoration:underline;color:var(--accent)}
.kd-code{font-size:11.5px;color:var(--muted)}

/* ledger */
.kd-sec{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:20px 22px}
.kd-sec-h{display:flex;justify-content:space-between;align-items:flex-end;gap:12px 24px;flex-wrap:wrap;margin-bottom:12px}
.kd-sec-h h2{font-size:21px;font-weight:650;letter-spacing:-.015em;color:var(--ink)}
.kd-sec-h p{margin-top:4px;color:var(--ink-2);font-size:13px;max-width:72ch}
.kd-lkeys{display:flex;gap:6px 16px;flex-wrap:wrap;font-size:12px;color:var(--ink-2)}
.kd-lkeys span{display:inline-flex;gap:6px;align-items:center}
.kd-ledger{display:flex;flex-direction:column}
.kd-lrow{border-top:1px solid var(--line)}
.kd-lrow summary{list-style:none;display:grid;grid-template-columns:minmax(150px,220px) minmax(0,1fr) 72px 120px 18px;gap:6px 18px;align-items:center;padding:11px 4px;cursor:pointer;border-radius:8px}
.kd-lrow summary::-webkit-details-marker{display:none}
.kd-lrow summary:hover{background:var(--surface-2)}
.kd-lrow-pn{font-weight:650;min-width:0}
.kd-lrow-pn small{display:block;font-weight:500;font-size:11.5px;color:var(--muted)}
.kd-lbar{display:flex;flex-direction:column;gap:4px;min-width:0}
.kd-lbar-track{display:flex;height:12px;gap:2px}
.kd-lbar-track span{display:block;height:100%;border-radius:3px;min-width:0}
.kd-lbar-cap{font-size:11.5px;color:var(--ink-2);font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kd-lrow-pc{font-weight:650;font-size:16px;text-align:right;font-variant-numeric:tabular-nums}
.kd-lrow-pc small{display:block;font-size:11px;color:var(--muted);font-weight:500}
.kd-lrow-dm{text-align:right;font-variant-numeric:tabular-nums;font-size:13px}
.kd-lrow-dm small{display:block;font-size:11px;color:var(--muted)}
.kd-chev{color:var(--muted);transition:transform .2s}
.kd-lrow[open] .kd-chev{transform:rotate(90deg)}
.kd-ldet{padding:4px 4px 16px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 24px;font-size:13px;color:var(--ink-2)}
.kd-ldet-links{display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.kd-facts{display:flex;flex-wrap:wrap;gap:6px}
.kd-fact{font-size:12px;border:1px solid var(--line);border-radius:6px;padding:2px 7px;background:var(--surface-2)}
.kd-fact b{color:var(--ink)}
.kd-ltotal{border-top:2px solid var(--line-2)}
.kd-ltotal summary{cursor:default}
.kd-ltotal summary:hover{background:none}

.kd-cols{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:16px}
.kd-finds{padding:0;list-style:none;display:flex;flex-direction:column;gap:12px}
.kd-finds li{display:grid;grid-template-columns:22px minmax(0,1fr);gap:8px;font-size:13.5px;line-height:1.5}
.kd-finds li .kd-ic{color:var(--accent);margin-top:2px}
.kd-method p{font-size:13px;color:var(--ink-2);margin:0 0 10px;max-width:75ch}
.kd-method p b{color:var(--ink)}
.kd-foot{font-size:12px;color:var(--muted);display:flex;flex-wrap:wrap;gap:4px 16px}

@media (max-width:1100px){
  .kd-explorer{grid-template-columns:minmax(0,1fr)}
  .kd-panel{min-height:0}
  .kd-pin{position:static;overflow:visible}
  .kd-cols{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:760px){
  .kd-top{grid-template-columns:minmax(0,1fr)}
  .kd-stamp{justify-self:start;text-align:left}
  .kd-sbar-keys{grid-template-columns:minmax(0,1fr)}
  .kd-figs{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:16px}
  .kd-fig:nth-child(3){padding-left:0;border-left:0}
  .kd-mapwrap{height:min(64vh,560px);min-height:380px}
  .kd-search{max-width:none;margin-left:0;flex-basis:100%}
  .kd-legend{left:8px;right:8px;bottom:8px;max-width:none;flex-direction:row;flex-wrap:wrap;gap:0 10px;padding:6px 8px}
  .kd-legend h3,.kd-legend .kd-hint{display:none}
  .kd-legend button{margin:0;padding:2px 4px;font-size:11.5px}
  .kd-legend button .kd-n{padding-left:4px}
  .kd-attr{display:none}
  .kd-lrow summary{grid-template-columns:minmax(0,1fr) 64px 18px}
  .kd-lrow .kd-lbar{grid-column:1/-1;grid-row:2}
  .kd-lrow .kd-lrow-dm{display:none}
  .kd-ldet{grid-template-columns:minmax(0,1fr)}
  .kd-band,.kd-sec{padding:16px}
}
@media (prefers-reduced-motion:reduce){.kd *{transition:none!important}}
