/* BorDoc — Doklady (document workspace). Two variants. Reuses rs-* + tokens. */

.dk-shell{height:100vh;display:flex;flex-direction:column;overflow:hidden;background:var(--bg-app)}
.dk-main{flex:1;overflow:hidden;display:flex;flex-direction:column}
.dk-head{display:flex;align-items:center;gap:14px;padding:11px 28px 0}
.dk-head h1{font-size:20px;font-weight:500;color:var(--fg1);letter-spacing:-0.01em;margin:0}
.dk-sub{font-size:13px;color:var(--fg3);display:inline-flex;align-items:center;gap:7px}
.dk-portf{color:var(--accent-text);font-weight:500}
.dk-sub .lic{width:14px;height:14px}
.dk-spacer{flex:1}

/* variant switch */
.dk-switch{display:inline-flex;gap:6px;margin:14px 28px 0;background:var(--bg-subtle);border:1px solid var(--border);border-radius:var(--radius-md);padding:4px;align-self:flex-start}
.dk-switch button{height:32px;padding:0 14px;border:none;background:none;border-radius:var(--radius-sm);font-size:13px;font-weight:500;color:var(--fg2);cursor:pointer;font-family:var(--font-sans)}
.dk-switch button.active{background:var(--bg-surface);color:var(--fg1);box-shadow:var(--shadow-xs)}

/* body layout */
.dk-body{flex:1;min-height:0;display:flex;margin-top:14px;border-top:1px solid var(--border)}

/* folder tree (variant A) */
/* Desktop: the tree wrapper must be a height-bounded flex item so the .dk-tree's
   overflow-y:auto has something to scroll within (without this the wrapper grows to
   the tree's content height and the tree never scrolls — owner had to zoom out).
   Scoped to desktop so the mobile collapse rules (sidebar.css @media ≤760px) win. */
@media (min-width: 761px) {
  .dk-treewrap { display: flex; flex: none; min-height: 0; }
}
.dk-tree{width:264px;flex:none;border-right:1px solid var(--border);background:var(--bg-surface);overflow-y:auto;padding:14px 10px;display:flex;flex-direction:column}
.dk-tnode{display:flex;align-items:center;gap:7px;padding:7px 9px;border-radius:var(--radius-sm);font-size:13.5px;color:var(--fg2);cursor:pointer;white-space:nowrap;user-select:none}
.dk-tnode:hover{background:var(--bg-hover);color:var(--fg1)}
.dk-tnode.active{background:var(--bg-selected);color:var(--accent-text);font-weight:500}
/* "Všechny doklady" — the all-documents selector: emphasized so it stands out
   from ordinary folder nodes. Resting state only (:not(.active)); the .active
   selected style still wins. Theme-safe via accent tokens. */
.dk-tall:not(.active){color:var(--accent-text);font-weight:600}
.dk-tall:not(.active) .lic{color:var(--accent-text)}
.dk-tnode .lic{width:15px;height:15px;flex:none;color:var(--fg3)}
.dk-chev{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:var(--radius-sm);flex:none;margin:-2px 0}
.dk-chev:hover{background:var(--bg-hover)}
.dk-chev .lic{width:14px;height:14px}
.dk-tindent{width:18px;flex:none}
.dk-tnode.active .lic{color:var(--accent-text)}
.dk-tnode .chev{width:14px;height:14px;color:var(--fg3);transition:transform var(--dur) var(--ease)}
.dk-tnode .chev.open{transform:rotate(90deg)}
.dk-tcount{margin-left:auto;font-size:11px;color:var(--fg3);font-family:var(--font-mono)}
.dk-tnode.active .dk-tcount{color:var(--accent-text)}
.dk-tchildren{margin-left:14px;border-left:1px solid var(--border);padding-left:4px}
.dk-tspacer{flex:1}
.dk-tdivider{height:1px;background:var(--border);margin:8px 6px}
.dk-tlink{text-decoration:none}
.dk-troot-label{font-size:10.5px;font-weight:500;text-transform:uppercase;letter-spacing:.06em;color:var(--fg3);padding:2px 9px 6px}

/* shared folder picker popover */
.fp-pop{width:340px;max-height:440px;display:flex;flex-direction:column;background:var(--bg-surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-lg);overflow:hidden}
.fp-head{padding:13px 16px;border-bottom:1px solid var(--border);font-size:13px;font-weight:500;color:var(--fg1)}
.fp-body{flex:1;overflow-y:auto;padding:6px 6px 10px}
.fp-branch{display:flex;align-items:center;gap:8px;padding:7px 8px;font-size:13px;color:var(--fg3)}
.fp-branch .lic{color:var(--fg3)}
.fp-leaf{display:flex;align-items:center;gap:8px;padding:7px 8px;border-radius:var(--radius-sm);font-size:13.5px;color:var(--fg1);cursor:pointer}
.fp-leaf:hover{background:var(--bg-hover)}
.fp-leaf.on{background:var(--bg-selected);color:var(--accent-text)}
.fp-leaf .lic:first-child{color:var(--fg3)}
.fp-leaf.on .lic{color:var(--accent-text)}
.fp-leaf .lic:last-child{margin-left:auto}
.fp-newtag{font-size:10.5px;color:var(--success);background:var(--success-tint);border-radius:var(--radius-full);padding:1px 7px;margin-left:4px}
.fp-create-btn{display:inline-flex;align-items:center;gap:6px;border:none;background:none;color:var(--accent-text);font-size:12.5px;font-weight:500;cursor:pointer;font-family:var(--font-sans);padding:5px 8px;margin-top:2px}
.fp-create-btn:hover{text-decoration:underline}
.fp-create-zone{padding:8px 12px;border-top:1px solid var(--border);background:var(--bg-subtle)}
.fp-create{display:flex;align-items:center;gap:6px;padding:4px 0}
.fp-create-input{flex:1;min-width:0;height:30px;padding:0 9px;border:1px solid var(--accent);border-radius:var(--radius-sm);background:var(--bg-surface);color:var(--fg1);font-family:var(--font-sans);font-size:13px;outline:none}
.fp-create-ok{border:none;background:var(--accent);color:var(--fg-on-accent);border-radius:var(--radius-sm);height:30px;padding:0 11px;font-size:12.5px;font-weight:500;cursor:pointer;font-family:var(--font-sans)}
.fp-create-cancel{border:none;background:none;color:var(--fg3);font-size:12.5px;cursor:pointer;font-family:var(--font-sans);padding:0 4px}
.fp-foot{display:flex;justify-content:flex-end;gap:9px;padding:11px 16px;border-top:1px solid var(--border)}
.fp-head .lic{color:var(--accent-text);margin-right:6px;vertical-align:-2px}
.fp-camphint{padding:8px 16px 4px;font-size:12px;line-height:1.45;color:var(--fg3)}
.fp-camphint b{color:var(--fg2);font-weight:500}
.fp-leaf.disabled{cursor:default;color:var(--fg3);opacity:.7}
.fp-leaf.disabled:hover{background:none}
.fp-currenttag{font-size:10.5px;color:var(--fg3);background:var(--bg-subtle);border:1px solid var(--border);border-radius:var(--radius-full);padding:1px 7px;margin-left:auto}
.dk-newfolder-input{width:100%;height:40px;padding:0 12px;border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--bg-surface);color:var(--fg1);font-family:var(--font-sans);font-size:14.5px;outline:none}
.dk-newfolder-input:focus{border-color:var(--accent);box-shadow:var(--ring-focus)}
.dk-link{color:var(--accent-text);text-decoration:none;display:inline-flex;align-items:center;gap:5px;font-weight:500}
.dk-link:hover{text-decoration:underline}
.dk-link .lic{width:12px;height:12px;color:var(--fg3)}

/* right pane */
.dk-pane{flex:1;min-width:0;display:flex;flex-direction:column;overflow:hidden}
.dk-toolbar{display:flex;align-items:center;gap:clamp(6px,0.7vw,12px);padding:12px 24px;flex-wrap:wrap}
.dk-search{position:relative;display:flex;align-items:center;flex:0 1 190px;min-width:150px;max-width:200px;transition:flex-basis var(--dur) var(--ease),max-width var(--dur) var(--ease)}
.dk-search:focus-within{flex-basis:340px;max-width:360px}
.dk-search .lic{position:absolute;left:12px;width:16px;height:16px;color:var(--fg3);pointer-events:none}
.dk-search input{width:100%;height:38px;padding:0 12px 0 36px;border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--bg-surface);color:var(--fg1);font-family:var(--font-sans);font-size:14px;outline:none}
.dk-search input:focus{border-color:var(--accent);box-shadow:var(--ring-focus)}
.dk-crumb{font-size:13px;color:var(--fg3);padding:0 24px 12px}
.dk-crumb b{color:var(--fg2);font-weight:500}

/* filter bar (variant B) */
.dk-filters{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.dk-filter{display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 13px;border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--bg-surface);font-size:13.5px;color:var(--fg2);cursor:pointer}
.dk-filter:hover{background:var(--bg-hover);color:var(--fg1)}
.dk-filter .lic{width:15px;height:15px;color:var(--fg3)}
.dk-filter .k{color:var(--fg3)}
.dk-koš{margin-left:auto;display:inline-flex;align-items:center;gap:7px;font-size:13.5px;color:var(--fg2);text-decoration:none;height:38px;padding:0 13px;border-radius:var(--radius-md)}
.dk-koš:hover{background:var(--bg-hover);color:var(--fg1)}
.dk-koš .lic{width:16px;height:16px}

/* table */
.dk-tablewrap{flex:1;overflow-y:auto;padding:0 12px 24px}
.dk-table{width:100%;border-collapse:collapse;font-size:13.5px}
.dk-table th{position:sticky;top:0;background:var(--bg-app);text-align:left;font-weight:500;color:var(--fg3);font-size:11.5px;text-transform:uppercase;letter-spacing:.04em;padding:10px 12px;border-bottom:1px solid var(--border);z-index:1}
.dk-table th.r,.dk-table td.r{text-align:right}
.dk-table td{padding:13px 12px;border-bottom:1px solid var(--border);color:var(--fg1);vertical-align:middle}
.dk-table tr:hover td{background:var(--bg-hover)}
.dk-sup{font-weight:500}
.dk-foreign .dk-sup{color:var(--fg3);font-family:var(--font-mono);font-weight:400}
.dk-num,.dk-amt{font-family:var(--font-mono)}
.dk-amt{font-weight:500}
.dk-muted{color:var(--fg3)}
.dk-type{font-size:12px;color:var(--fg2);background:var(--bg-subtle);border:1px solid var(--border);border-radius:var(--radius-full);padding:2px 9px;white-space:nowrap}

/* VAT-exemption: compact badge + click popover (reusable expand-on-click) */
.dk-exempt{white-space:nowrap}
.dk-exwrap{position:relative;display:inline-flex}
.dk-exbadge{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:500;color:var(--success);background:var(--success-tint);border:1px solid transparent;border-radius:var(--radius-full);padding:3px 10px;cursor:pointer;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;font-family:var(--font-sans);white-space:nowrap}
.dk-exbadge *{pointer-events:none;user-select:none}
.dk-exbadge:hover{border-color:var(--success)}
.dk-exbadge .lic{width:12px;height:12px}
.dk-expop-scrim{position:fixed;inset:0;z-index:40}
.dk-expop{position:absolute;top:calc(100% + 6px);right:0;z-index:41;width:300px;max-width:78vw;white-space:normal;background:var(--bg-surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-lg);padding:11px 13px;display:flex;flex-direction:column;gap:5px}
.dk-expop-h{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.04em;color:var(--fg3)}
.dk-expop-h .lic{width:14px;height:14px;color:var(--success)}
.dk-expop-txt{font-size:13px;line-height:1.5;color:var(--fg1)}
.dk-expop-fixed{position:fixed;top:0;left:0;right:auto}

/* status chip */
.dk-stat{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:500;border-radius:var(--radius-full);padding:3px 10px;white-space:nowrap}
.dk-stat .lic{width:12px;height:12px}
.dk-stat.ok{background:var(--success-tint);color:var(--success)}
.dk-stat.rev{background:var(--attention-tint);color:var(--attention-text)}
.dk-stat.err{background:var(--danger-tint);color:var(--danger)}

/* row action menu */
.dk-act{position:relative;text-align:right}
.dk-act-btn{width:30px;height:30px;border:none;background:none;border-radius:var(--radius-sm);color:var(--fg3);cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.dk-act-btn:hover{background:var(--bg-hover);color:var(--fg1)}
.dk-menu{position:absolute;right:8px;top:36px;z-index:20;background:var(--bg-surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-lg);padding:5px;min-width:160px;display:flex;flex-direction:column}
.dk-menu button{display:flex;align-items:center;gap:10px;height:36px;padding:0 11px;border:none;background:none;border-radius:var(--radius-sm);font-size:13.5px;color:var(--fg2);cursor:pointer;font-family:var(--font-sans);text-align:left}
.dk-menu button:hover{background:var(--bg-hover);color:var(--fg1)}
.dk-menu button.danger:hover{background:var(--danger-tint);color:var(--danger)}
.dk-menu .lic{width:16px;height:16px;flex:none}
.dk-menu-sep{height:1px;background:var(--border);margin:4px 4px}

/* export button in toolbar */
.dk-export{margin-left:auto;flex:none}
/* searchable supplier filter */
.dk-fsearch{padding:8px 8px 6px;border-bottom:1px solid var(--border);margin-bottom:4px}
.dk-fsearch-box{position:relative;display:flex;align-items:center}
.dk-fsearch-box .lic{position:absolute;left:9px;width:14px;height:14px;color:var(--fg3);pointer-events:none}
.dk-fsearch-box input{width:100%;height:32px;padding:0 10px 0 28px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--bg-surface);color:var(--fg1);font-family:var(--font-sans);font-size:13px;outline:none}
.dk-fsearch-box input:focus{border-color:var(--accent);box-shadow:var(--ring-focus)}
.dk-fsearch-hint{font-size:11px;color:var(--fg3);margin-top:5px;padding-left:2px}
.dk-fempty{padding:10px 12px;font-size:12.5px;color:var(--fg3);text-align:center}
.dk-fopt-col{display:flex;flex-direction:column;gap:1px;min-width:0}
.dk-fopt-ico{font-size:11px;color:var(--fg3);font-family:var(--font-mono)}

/* sortable header */
.dk-table th.sortable{cursor:pointer;user-select:none}
.dk-table th.sortable:hover{color:var(--fg1)}
.dk-th-sort{display:inline-flex;align-items:center;gap:5px}
.dk-th-sort .lic{width:13px;height:13px;color:var(--accent-text)}

/* checkbox column */
.dk-table th.dk-cbcol,.dk-table td.dk-cbcol{width:38px;padding-right:0}
.dk-cb{width:18px;height:18px;border:1.5px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--bg-surface);display:inline-flex;align-items:center;justify-content:center;color:#fff;cursor:pointer;vertical-align:middle}
.dk-cb.on{background:var(--accent);border-color:var(--accent)}
.dk-cb.dash{background:var(--accent);border-color:var(--accent)}
.dk-cb .lic{width:13px;height:13px}
.dk-table tr.sel td{background:var(--bg-selected)}
.dk-table tr.sel:hover td{background:var(--bg-selected)}

/* selection bar */
.dk-selbar{display:flex;align-items:center;gap:14px;padding:10px 24px;background:var(--accent-tint);border-bottom:1px solid var(--border)}
.dk-selbar-count{font-size:13.5px;font-weight:500;color:var(--accent-text)}
.dk-selbar-acts{display:flex;gap:8px;margin-left:auto}
.dk-selbar .btn{height:32px}

/* multi-select filter dropdowns */
.dk-filter.on{border-color:var(--accent);background:var(--accent-tint);color:var(--accent-text)}
.dk-filter.on .k,.dk-filter.on .lic{color:var(--accent-text)}
.dk-fwrap{position:relative}
.dk-fmenu{position:absolute;left:0;top:44px;z-index:30;min-width:236px;background:var(--bg-surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-lg);padding:6px}
.dk-fopt{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:var(--radius-sm);font-size:13.5px;color:var(--fg2);cursor:pointer}
.dk-fopt:hover{background:var(--bg-hover);color:var(--fg1)}
.dk-fopt.all{border-bottom:1px solid var(--border);border-radius:0;margin-bottom:4px;padding-bottom:10px;font-weight:500;color:var(--fg1)}
.dk-fcb{width:17px;height:17px;flex:none;border:1.5px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--bg-surface);display:inline-flex;align-items:center;justify-content:center;color:#fff}
.dk-fcb.on{background:var(--accent);border-color:var(--accent)}
.dk-fcb.dash{background:var(--accent);border-color:var(--accent)}
.dk-fcb .lic{width:12px;height:12px}

/* date-range dropdown */
.dk-daterange{min-width:280px;padding:14px}
.dk-dr-presets{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:12px}
.dk-dr-preset{font-size:12.5px;padding:5px 11px;border:1px solid var(--border-strong);border-radius:var(--radius-full);background:var(--bg-surface);color:var(--fg2);cursor:pointer}
.dk-dr-preset:hover{border-color:var(--accent);color:var(--accent-text);background:var(--accent-tint)}
.dk-dr-row{display:flex;gap:10px}
.dk-dr-field{flex:1;display:flex;flex-direction:column;gap:5px}
.dk-dr-field label{font-size:11.5px;font-weight:500;color:var(--fg3)}
.dk-dr-field input{height:36px;padding:0 10px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--bg-surface);color:var(--fg1);font-family:var(--font-mono);font-size:13px;outline:none}
.dk-dr-field input:focus{border-color:var(--accent);box-shadow:var(--ring-focus)}

/* active filter chips */
.dk-chips{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:0 24px 12px}
.dk-chip{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;color:var(--accent-text);background:var(--accent-tint);border:1px solid var(--accent);border-radius:var(--radius-full);padding:4px 8px 4px 12px}
.dk-chip button{width:18px;height:18px;border:none;background:none;border-radius:var(--radius-full);color:var(--accent-text);cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.dk-chip button:hover{background:rgba(0,0,0,.08)}
.dk-chip button .lic{width:13px;height:13px}
.dk-chips-clear{font-size:12.5px;color:var(--fg2);background:none;border:none;cursor:pointer;text-decoration:underline;font-family:var(--font-sans)}
.dk-chips-clear:hover{color:var(--fg1)}

/* summary footer */
.dk-summary{flex:none;display:flex;align-items:center;gap:16px;padding:12px 24px;border-top:1px solid var(--border);background:transparent;font-size:13px;color:var(--fg2)}
.dk-summary b{color:var(--fg2);font-weight:500}
.dk-sum-count{flex:none;color:var(--fg2);font-weight:400}
.dk-sum-totals{margin-left:auto;display:flex;align-items:center;gap:22px}
.dk-sum-item{display:inline-flex;align-items:baseline;gap:8px}
.dk-sum-item .lab{font-size:12px;color:var(--fg3)}
.dk-sum-item .amt{font-family:var(--font-mono);color:var(--fg1)}
.dk-sum-item.strong .lab{color:var(--fg2)}
.dk-sum-item.strong .amt{font-weight:500;font-size:14px}

/* Doklady ↔ Tabulky view tabs */
.dk-viewtabs{display:inline-flex;gap:4px;background:var(--bg-subtle);border:1px solid var(--border);border-radius:var(--radius-md);padding:4px}
.dk-viewtab{display:inline-flex;align-items:center;gap:7px;height:32px;padding:0 14px;border-radius:var(--radius-sm);font-size:13px;font-weight:500;color:var(--fg2);text-decoration:none;cursor:pointer}
.dk-viewtab .lic{width:16px;height:16px}
.dk-viewtab.active{background:var(--bg-surface);color:var(--fg1);box-shadow:var(--shadow-xs)}
.dk-viewtab:not(.active):hover{color:var(--fg1)}

/* export dialog */
.dk-exdialog{max-width:480px;max-height:88vh;display:flex;flex-direction:column;padding:0}
.dk-ex-head{display:flex;align-items:center;justify-content:space-between;padding:18px 22px 14px;border-bottom:1px solid var(--border)}
.dk-ex-head h2{margin:0;font-size:18px;font-weight:500;color:var(--fg1)}
.dk-ex-x{width:32px;height:32px;border:none;background:none;border-radius:var(--radius-sm);color:var(--fg3);cursor:pointer;display:flex;align-items:center;justify-content:center}
.dk-ex-x:hover{background:var(--bg-hover);color:var(--fg1)}
.dk-ex-body{padding:16px 22px;overflow-y:auto}
.dk-ex-label{display:block;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.04em;color:var(--fg3);margin:0 0 8px}
.dk-ex-label:not(:first-child){margin-top:18px}
.dk-ex-seg{display:flex;gap:8px}
.dk-ex-seg button{flex:1;height:38px;border:1px solid var(--border-strong);background:var(--bg-surface);border-radius:var(--radius-md);font-size:13.5px;font-weight:500;color:var(--fg2);cursor:pointer;font-family:var(--font-sans)}
.dk-ex-seg button.on{background:var(--accent-tint);border-color:var(--accent);color:var(--accent-text)}
.dk-ex-fmt{display:flex;flex-direction:column;gap:2px}
.dk-ex-opt{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:var(--radius-sm);font-size:14px;color:var(--fg1);cursor:pointer}
.dk-ex-opt:hover{background:var(--bg-hover)}
.dk-ex-radio{width:17px;height:17px;border:1.5px solid var(--border-strong);border-radius:var(--radius-full);display:inline-flex;align-items:center;justify-content:center;flex:none}
.dk-ex-opt.on .dk-ex-radio{border-color:var(--accent)}
.dk-ex-radio .dot{width:9px;height:9px;border-radius:var(--radius-full);background:var(--accent)}
.dk-ex-providers{display:flex;gap:8px;padding:6px 0 4px 27px;flex-wrap:wrap}
.dk-ex-prov{height:32px;padding:0 12px;border:1px solid var(--border-strong);background:var(--bg-surface);border-radius:var(--radius-md);font-size:13px;color:var(--fg2);cursor:pointer;font-family:var(--font-sans)}
.dk-ex-prov.on{background:var(--accent-tint);border-color:var(--accent);color:var(--accent-text)}
.dk-ex-cols{display:grid;grid-template-columns:1fr 1fr;gap:1px 14px;border:1px solid var(--border);border-radius:var(--radius-md);padding:6px;max-height:170px;overflow-y:auto}
.dk-ex-colopt{display:flex;align-items:center;gap:10px;padding:7px 8px;border-radius:var(--radius-sm);font-size:13.5px;color:var(--fg1);cursor:pointer}
.dk-ex-colopt:hover{background:var(--bg-hover)}
.dk-ex-toggle{display:flex;align-items:center;gap:10px;margin-top:16px;font-size:14px;color:var(--fg1);cursor:pointer}
.dk-ex-hint{font-size:12px;color:var(--fg3)}
.dk-ex-sw{width:38px;height:22px;border-radius:var(--radius-full);background:var(--gray-300);position:relative;flex:none;transition:background var(--dur) var(--ease)}
.dk-ex-sw.on{background:var(--accent)}
.dk-ex-sw .kn{position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:var(--radius-full);background:#fff;box-shadow:var(--shadow-sm);transition:transform var(--dur) var(--ease)}
.dk-ex-sw.on .kn{transform:translateX(16px)}
.dk-ex-foot{display:flex;justify-content:flex-end;gap:10px;padding:14px 22px;border-top:1px solid var(--border)}
.dk-summary .dot{color:var(--fg3)}
