/* featureos:table-standard-format1@1.8.1 */
/* The shared table. Every colour is one of the app's own tokens, so both themes come from styles.css. */
.dt{--dt-row:50px;--dt-fill-min:200px;margin:0}
.dt-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;overflow:hidden}
.card>.dt>.dt-card{border:0;border-radius:0;background:none;overflow:visible}
.card>.dt .dt-toolbar{padding-top:0}
.dt.is-full{position:fixed;inset:0;z-index:150;background:var(--bg);padding:14px;display:flex;flex-direction:column}
.dt.is-full>.dt-card{display:flex;flex-direction:column;flex:1;min-height:0;background:var(--surface);border:1px solid var(--line);border-radius:12px}
.dt.is-full .dt-scroll{max-height:none;flex:1}
.sr.dt-live{margin:0}

/* toolbar: the list is closed — search, scope, filters left; density, fullscreen, export, columns, clear right */
.dt-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 14px;position:sticky;top:0;z-index:12;background:var(--surface)}
.dt-tl,.dt-tr{display:flex;gap:8px;align-items:center;flex-wrap:wrap;min-width:0}
.dt-search{position:relative;display:flex;align-items:center;min-width:220px;flex:1 1 240px;max-width:360px}
.dt-si{position:absolute;left:11px;color:var(--mut);display:grid;pointer-events:none}.dt-si svg{width:16px;height:16px}
.dt-search input{padding-left:36px;padding-right:34px;min-height:38px}
.dt-search input::-webkit-search-cancel-button,.dt-search input::-webkit-search-decoration{-webkit-appearance:none;appearance:none;display:none}
.dt-sx{position:absolute;right:6px;width:26px;height:26px;border:0;background:none;color:var(--mut);cursor:pointer;border-radius:8px;display:grid;place-items:center}.dt-sx:hover{background:var(--neutral-soft);color:var(--ink)}.dt-sx svg{width:14px;height:14px}.dt-sx[hidden]{display:none}
.dt-btn{min-height:38px;padding:6px 12px}.dt-btn b{font-weight:650}.dt-btn .lbl{white-space:nowrap}.dt-btn svg{width:16px;height:16px}
.dt-btn.dt-icon{padding:6px 10px}.dt-btn[aria-pressed=true]{background:var(--brand-soft);border-color:var(--brand-line);color:var(--brand)}
.dt-badge{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--brand);color:var(--brand-ink);font-size:11.5px;font-weight:700}.dt-badge[hidden]{display:none}
.dt-btn[hidden]{display:none}

/* chips + bulk bar share one slot: the bar replaces the chips while rows are selected */
.dt-chips,.dt-bulk{padding:0 14px 12px}
.dt-chiplist{list-style:none;margin:0;padding:0;display:flex;gap:8px;flex-wrap:wrap}
.dt-chip{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:3px 4px 3px 11px;border-radius:999px;background:var(--brand-soft);border:1px solid var(--brand-line);color:var(--side-active-ink);font-size:12.5px;font-weight:600}
.dt-chip>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:46ch}
.dt-chip.is-group{background:var(--warn-soft);border-color:color-mix(in srgb,var(--warn) 35%,transparent);color:var(--warn)}
.dt-chip button{display:grid;place-items:center;width:20px;height:20px;border:0;border-radius:50%;background:transparent;color:inherit;cursor:pointer}.dt-chip button:hover{background:color-mix(in srgb,currentColor 16%,transparent)}.dt-chip svg{width:12px;height:12px}
.dt-bulk-in{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:8px 12px;border-radius:12px;background:var(--brand-soft);border:1px solid var(--brand-line)}
.dt-bn{color:var(--side-active-ink)}.dt-bacts{display:flex;gap:8px;flex-wrap:wrap}
.dt-bulk[hidden],.dt-chips[hidden]{display:none}

/* scrolling body: as tall as its rows, never a fixed height */
.dt-scroll{overflow:auto;max-height:min(64vh,660px);border-top:1px solid var(--line);outline:none}
.dt-table{border-collapse:separate;border-spacing:0;width:100%;font-size:13.5px}
.dt-table th,.dt-table td{padding:0 16px;height:var(--dt-row);border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;background:var(--surface)}
.dt-table tbody tr:last-child>*{border-bottom:0}
.dt-table tbody tr:hover>*{background:var(--surface-2)}
.dt-table tbody tr.is-sel>*{background:var(--brand-soft)}
.dt-table th[scope=row]{font-weight:inherit}
/* sticky header: opaque, above the rows, no tfoot */
.dt-table thead th{position:sticky;top:0;z-index:5;height:46px;background:var(--surface-2);color:var(--ink-2);font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;font-weight:650;white-space:nowrap}
.dt-table .is-fix{position:sticky;z-index:4}.dt-table thead .is-fix{z-index:7}
.dt-table th.is-pin,.dt-table td.is-pin{position:sticky;z-index:4;background:var(--surface)}.dt-table thead th.is-pin{z-index:7;background:var(--surface-2)}
.dt-table tbody tr:hover>.is-pin{background:var(--surface-2)}.dt-table tbody tr.is-sel>.is-pin{background:var(--brand-soft)}
.dt-table .is-pin-last{box-shadow:6px 0 8px -6px color-mix(in srgb,var(--ink) 28%,transparent)}
/* Actions is pinned right with a shadow that says it is a layer */
.dt-table .dt-act{position:sticky;right:0;z-index:4;width:1%;white-space:nowrap;text-align:right;box-shadow:-6px 0 8px -6px color-mix(in srgb,var(--ink) 28%,transparent)}.dt-table thead .dt-act{z-index:7}
.dt-cb{width:44px;min-width:44px;max-width:44px;padding:0!important;text-align:center!important}.dt-n{width:56px;min-width:56px;max-width:56px;color:var(--mut);font-variant-numeric:tabular-nums;padding:0 8px!important}
.dt-n.mono,.mono{font-family:ui-monospace,"Cascadia Code",Consolas,monospace}
.dt-ck{display:grid;place-items:center;width:100%;height:100%;cursor:pointer;position:relative}
.dt-ck input{position:absolute;opacity:0;width:1px;height:1px}
.dt-ck span{width:18px;height:18px;border-radius:5px;border:2px solid var(--line-strong);background:var(--surface);display:grid;place-items:center}
.dt-ck input:checked+span,.dt-ck input:indeterminate+span{background:var(--brand);border-color:var(--brand)}
.dt-ck input:checked+span::after{content:"";width:9px;height:5px;border:2px solid var(--brand-ink);border-top:0;border-right:0;transform:rotate(-45deg) translate(1px,-1px)}
.dt-ck input:indeterminate+span::after{content:"";width:8px;height:2px;background:var(--brand-ink);border-radius:2px}
.dt-ck input:focus-visible+span{outline:3px solid var(--focus);outline-offset:2px}

/* alignment: one rule for heading and cells, so a value sits under its own heading */
.a-end{text-align:right!important}
.dt-h{display:flex;align-items:center;gap:6px;min-width:0;height:100%}.dt-h.is-end{justify-content:flex-end}.dt-h.is-end .dt-lab{order:-1}.dt-lab{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dt-lab{overflow:hidden;text-overflow:clip;min-width:0;flex:0 1 auto}
.dt-hc{display:inline-flex;gap:2px;flex:none}
.dt-gloss{display:block;font-size:10.5px;font-weight:500;letter-spacing:0;text-transform:none;color:var(--mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dt-ib{display:inline-grid;place-items:center;position:relative;width:26px;height:26px;border:0;border-radius:7px;background:none;color:inherit;cursor:pointer;opacity:.55}
.dt-ib:hover,.dt-ib:focus-visible{opacity:1;background:var(--neutral-soft)}.dt-ib.on{opacity:1;color:var(--brand);background:var(--brand-soft)}
.dt-ib svg{width:15px;height:15px}.dt-ib sup{position:absolute;top:0;right:1px;font-size:9px;font-weight:700}
@media (pointer:coarse){.dt-ib{width:44px;height:44px;opacity:.75}}
.dt-rs{position:absolute;right:0;top:8px;bottom:8px;width:7px;cursor:col-resize;border-right:2px solid transparent}.dt-rs:hover{border-right-color:var(--brand-line)}
.dt-table th{position:sticky}
.dt-c .dt-cell,.dt-c .dt-p,.dt-c .dt-sub{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.dt-c.is-fill .dt-cell,.dt-c.is-fill .dt-p,.dt-c.is-fill .dt-sub{width:0;min-width:100%}
.dt-c{max-width:640px}.dt-c.is-fill{max-width:none}
.dt-c a{font-weight:600;text-decoration:none}.dt-c a:hover{text-decoration:underline}
.dt-c mark{background:color-mix(in srgb,var(--warn) 30%,transparent);color:inherit;border-radius:3px;padding:0 1px}
.dt-c:focus-visible{outline:3px solid var(--focus);outline-offset:-3px}
.dt-c .row{flex-wrap:nowrap}
/* stacked cells: two lines, each truncates alone; the list's rows are 14px taller at every density */
.dt-c.c-stack{line-height:1.35}.dt-sub{font-size:12px;color:var(--mut)}.dt-c.c-stack .dt-p{display:block}
.dt-kebab{display:inline-grid;place-items:center;width:34px;height:34px;border:1px solid transparent;border-radius:9px;background:none;color:var(--ink-2);cursor:pointer}.dt-kebab:hover,.dt-kebab[aria-expanded=true]{background:var(--neutral-soft);border-color:var(--line)}.dt-kebab svg{width:18px;height:18px}
th.dt-act .dt-h{justify-content:flex-end}

/* records bar */
.dt-records{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:12px 14px;border-top:1px solid var(--line);font-size:13px;color:var(--ink-2)}
.dt-records[hidden]{display:none}
.dt-rpp label,.dt-jump label{display:inline-flex;align-items:center;gap:8px;font-weight:550}
.dt-rpp select{width:auto;min-height:34px;padding:4px 30px 4px 10px}
.dt-mid{display:flex;align-items:center;gap:16px;flex-wrap:wrap;justify-content:center}.dt-note{color:var(--mut);font-size:12.5px;max-width:48ch}
.dt-pager{display:flex;gap:4px;align-items:center}
.dt-pb{min-width:34px;height:34px;padding:0 8px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--ink);font:inherit;font-weight:600;cursor:pointer;display:inline-grid;place-items:center}.dt-pb:hover:not(:disabled){border-color:var(--brand);color:var(--brand)}
.dt-pb.on{background:var(--brand);border-color:var(--brand);color:var(--brand-ink)}.dt-pb:disabled{opacity:.45;cursor:default}.dt-pb svg{width:16px;height:16px}.dt-gap{padding:0 4px;color:var(--mut)}
.dt-pj{width:66px;min-height:34px;padding:4px 8px;text-align:center}
.dt-total b{font-weight:700}

/* menus + popovers: drawn on <body>, above the sticky header and bulk bar */
.dt-menu{position:fixed;z-index:260;min-width:200px;max-width:min(340px,92vw);padding:6px;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow-2)}
.dt-mi{display:flex;align-items:center;gap:8px;width:100%;padding:8px 10px;border:0;border-radius:8px;background:none;color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.dt-mi:hover,.dt-mi:focus-visible{background:var(--neutral-soft);outline:none}.dt-mi:focus-visible{box-shadow:inset 0 0 0 2px var(--focus)}
.dt-mi.danger{color:var(--bad)}.dt-mi[aria-disabled=true]{opacity:.55;cursor:not-allowed}.dt-mc{width:16px;display:grid;place-items:center;flex:none}.dt-mc svg{width:14px;height:14px}
.dt-why{display:block;font-size:12px;color:var(--mut);font-style:normal}
.dt-menu hr{border:0;border-top:1px solid var(--line);margin:6px 0}
.dt-colpop{width:300px;padding:12px}
.dt-cp-s{position:relative;display:flex;align-items:center;margin-bottom:8px}.dt-cp-s span{position:absolute;left:10px;color:var(--mut);display:grid}.dt-cp-s svg{width:15px;height:15px}.dt-cp-s input{padding-left:32px;min-height:36px}
.dt-cbx{display:flex;align-items:center;gap:9px;cursor:pointer;font-weight:500;padding:5px 2px;min-width:0}.dt-cbx span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dt-cbx em{font-style:normal;color:var(--mut);margin-left:6px}
.dt-cbx-all{font-weight:650;border-bottom:1px solid var(--line);margin-bottom:4px;padding-bottom:8px}
.dt-cl{list-style:none;margin:0;padding:0;max-height:300px;overflow:auto}.dt-cl li{display:flex;align-items:center;gap:6px;border-radius:8px;padding:0 4px}.dt-cl li:hover{background:var(--neutral-soft)}
.dt-grip{border:0;background:none;color:var(--mut);cursor:grab;display:grid;place-items:center;width:26px;height:30px;border-radius:6px}.dt-grip[aria-pressed=true]{background:var(--brand-soft);color:var(--brand)}.dt-grip svg{width:15px;height:15px}
.dt-pinned{font-size:11px;font-weight:650;color:var(--brand);background:var(--brand-soft);border-radius:999px;padding:1px 8px}
.dt-cp-f{display:flex;justify-content:space-between;margin-top:10px}

/* dialogs: centred, over the app's own scrim */
.dt-dialog{width:min(880px,calc(100vw - 32px));max-height:min(640px,calc(100vh - 32px));height:min(640px,calc(100vh - 32px));border-radius:20px;overflow:hidden;padding:0}
.dt-fd-in,.dt-ex-in,.dt-bs-in{display:flex;flex-direction:column;height:100%}
.dt-fd-h{display:flex;align-items:center;gap:12px;padding:14px 20px;border-bottom:1px solid var(--line)}.dt-fd-h h2{flex:1;font-size:18px}.dt-fd-h p{margin:2px 0 0;font-size:13px}.dt-fd-h>div{flex:1}
.dt-tile{width:34px;height:34px;border-radius:10px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center}
.dt-fd-b{display:grid;grid-template-columns:220px minmax(0,1fr);flex:1;min-height:0}
.dt-fd-nav{border-right:1px solid var(--line);overflow:auto;padding:8px;display:flex;flex-direction:column;gap:2px;background:var(--surface-2)}
.dt-fd-nav button{display:flex;align-items:center;gap:10px;width:100%;padding:9px 10px;border:0;border-radius:10px;background:none;color:var(--ink-2);font:inherit;font-weight:550;text-align:left;cursor:pointer;position:relative}
.dt-fd-nav button:hover{background:var(--neutral-soft)}.dt-fd-nav button[aria-current=true]{background:var(--surface);color:var(--ink);box-shadow:var(--shadow-1)}
.dt-fd-nav button[aria-current=true]::before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:3px;border-radius:3px;background:var(--brand)}
.dt-fd-nav button.has .dt-nic{color:var(--ok)}.dt-nic{display:grid;color:var(--mut)}.dt-nic svg{width:16px;height:16px}.dt-nl{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dt-fd-ns{margin-bottom:6px;min-height:34px}
.dt-fd-pane{padding:20px;overflow:auto}.dt-fd-t{margin:0;font-size:16px}.dt-fd-d{margin:4px 0 16px}
.dt-opts{display:flex;flex-direction:column;gap:2px;max-height:380px;overflow:auto}.dt-fd-os{margin-bottom:10px}
.dt-opt{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:9px;cursor:pointer}.dt-opt:hover{background:var(--neutral-soft)}.dt-opt span{flex:1}.dt-opt em{font-style:normal;color:var(--mut);font-variant-numeric:tabular-nums}.dt-opt.is-zero{opacity:.55}
.dt-picks{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.dt-range{display:flex;gap:12px;flex-wrap:wrap}.dt-range label,.dt-tx{display:flex;flex-direction:column;gap:5px;font-weight:600;font-size:13px;color:var(--ink-2);flex:1;min-width:150px}
.dt-cant{margin:14px 0 0;padding:10px 12px;border-radius:10px;background:var(--warn-soft);color:var(--ink-2);font-size:13px;border:1px solid color-mix(in srgb,var(--warn) 30%,transparent)}
.dt-match{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 12px;font-weight:600}.dt-match select{width:auto;min-height:34px}
.dt-crs{display:flex;flex-direction:column;gap:10px;margin-bottom:12px}
.dt-cr{display:grid;grid-template-columns:minmax(120px,1fr) minmax(120px,1fr) minmax(140px,1.4fr) auto;gap:8px;align-items:start}.dt-cr select,.dt-cr input{min-height:36px}.dt-cv{min-width:0}.dt-two{display:flex;gap:6px;align-items:center}
.dt-grp{border:1px solid color-mix(in srgb,var(--warn) 40%,var(--line));background:var(--warn-soft);border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:10px}
.dt-chipsel{display:flex;gap:6px;flex-wrap:wrap}.dt-tg{border:1px solid var(--line-strong);background:var(--surface);color:var(--ink);border-radius:999px;padding:3px 11px;font:inherit;font-size:12.5px;cursor:pointer}.dt-tg[aria-pressed=true]{background:var(--brand-soft);border-color:var(--brand-line);color:var(--side-active-ink);font-weight:650}
.dt-sv{display:flex;gap:10px;align-items:flex-end;margin-bottom:6px}.dt-sv label{flex:1;display:flex;flex-direction:column;gap:5px;font-weight:600;font-size:13px}
.dt-vl{list-style:none;margin:0;padding:0}.dt-vl li{display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line);padding:6px 0}.dt-vn{flex:1;text-align:left;border:0;background:none;color:var(--ink);font:inherit;cursor:pointer;display:flex;flex-direction:column;padding:6px 8px;border-radius:8px}.dt-vn:hover{background:var(--neutral-soft)}
.dt-fd-f{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 20px;border-top:1px solid var(--line);background:var(--surface)}
.dt-fd-sum{display:flex;align-items:center;gap:10px;min-width:0;color:var(--ink-2);font-size:13px}.dt-fd-set{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dt-fd-go{white-space:nowrap}.dt-fd-go:disabled{opacity:.6}
.dt-ex-b,.dt-bs-b{padding:18px 20px;overflow:auto;flex:1}.dt-ex-b{display:flex;flex-direction:column;gap:14px}.dt-ex.dt-dialog,.dt-bs.dt-dialog{width:min(640px,calc(100vw - 32px))}.dt-bs.dt-dialog{height:auto;max-height:min(560px,calc(100vh - 32px))}
.dt-og{border:1px solid var(--line);border-radius:12px;padding:10px 14px;margin:0}.dt-og legend{font-weight:650;font-size:13px;padding:0 6px;color:var(--ink-2)}
.dt-rd{display:inline-flex;align-items:center;gap:8px;margin:4px 18px 4px 0;cursor:pointer;font-weight:500}.dt-rd em{font-style:normal;color:var(--mut);margin-left:4px;font-variant-numeric:tabular-nums}.dt-rd input[type=radio]{margin:0}
.dt-cc{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:2px 12px;margin-top:8px}
.dt-fmts{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:8px}.dt-fmt{position:relative;cursor:pointer}.dt-fmt input{position:absolute;opacity:0}
.dt-fb{display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 6px;border:1px solid var(--line-strong);border-radius:10px;background:var(--surface);font-size:12.5px;font-weight:600}.dt-fb b{font-size:11px;color:var(--mut);letter-spacing:.04em}
.dt-fmt input:checked+.dt-fb{border-color:var(--brand);background:var(--brand-soft);color:var(--side-active-ink)}.dt-fmt input:focus-visible+.dt-fb{outline:3px solid var(--focus);outline-offset:2px}
.dt-fnote{margin:8px 0 0;font-size:12.5px;color:var(--mut)}.dt-sum{margin:0;padding:10px 12px;background:var(--surface-2);border-radius:10px;font-size:13px}
.dt-prog{width:100%;height:10px;accent-color:var(--brand)}.dt-bs-split{margin:0 0 12px;font-weight:600}.dt-res{margin-top:12px}

/* states */
.dt .empty{border:0;border-radius:0;background:none;padding:36px 16px}
.dt .loading{padding:24px 14px}

/* narrow widths: the table becomes a stack of cards driven by each cell's data-label */
@media (max-width:1200px){.dt-tr .dt-btn .lbl{display:none}.dt-tr .dt-btn{padding:6px 10px}}
@media (max-width:900px){.dt-records{flex-direction:column;align-items:stretch;text-align:center}.dt-rpp,.dt-jump{display:flex;justify-content:center}}
@media (max-width:640px){
  .dt-scroll{max-height:none}.dt-table,.dt-table tbody,.dt-table tr,.dt-table td,.dt-table th{display:block}.dt-table thead{display:none}
  .dt-table tr{padding:10px 12px;border-bottom:1px solid var(--line);position:relative}.dt-table td,.dt-table th{height:auto;padding:4px 0;border:0;background:none!important;position:static!important;box-shadow:none!important;text-align:left!important}
  .dt-table td.dt-c::before,.dt-table th.dt-c::before{content:attr(data-label);display:block;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--mut);font-weight:650}
  .dt-c .dt-cell,.dt-c .dt-p,.dt-c .dt-sub{width:auto!important;white-space:normal}.dt-table td.dt-cb,.dt-table td.dt-n{position:absolute!important;top:8px;width:auto;min-width:0;max-width:none;padding:0!important;height:26px}.dt-table td.dt-cb{right:12px}.dt-table td.dt-n{right:56px;line-height:26px}.dt-table tbody tr{padding-top:12px}.dt-table td.dt-act{text-align:left!important;width:auto}
  .dt-fd-b{grid-template-columns:1fr;grid-template-rows:auto 1fr}.dt-fd-nav{flex-direction:row;overflow-x:auto;border-right:0;border-bottom:1px solid var(--line)}.dt-fd-nav button{width:auto;white-space:nowrap}
  .dt-dialog{width:100vw;height:100dvh;max-height:none;border-radius:0}.dt-cr{grid-template-columns:1fr 1fr}.dt-search{max-width:none}
}
@media (prefers-reduced-motion:reduce){.dt *{transition:none!important}}
@media print{.dt-toolbar,.dt-chips,.dt-bulk,.dt-records,.dt-cb,.dt-act,.dt-hc{display:none!important}}

.dt [hidden],.dt-dialog [hidden],.dt-menu [hidden]{display:none!important}
.dt-act .row,.dt-act{flex-wrap:nowrap;gap:6px}.dt-act .row{display:inline-flex;margin:0}
