/* techyowls-kit-dev ui/src/tokens.css at 025f307ec1c131f69c3252350ed5604653a6b5b6, sha256 2f1e50f95a1c990d06071c4e126efc5f86108f64fde9a81fda2688fb5316f73c; copied by scripts/kit-tokens.sh, do not edit */
/* Shared token names. Values here are the defaults; a theme file sets the product's values.
   :where() keeps the defaults at zero specificity, so a theme wins whatever order the files are imported in. */
:where(:root) {
  --brand: #176b52;
  --brand-dark: #11523f;
  --tint: #e8f3ee;
  --ink: #25352f;
  --muted: #6b746f;
  --line: #e5ebe7;
  --bg: #f7f9f8;
  --paper: #fff;
  --red: #b85549;
  --amber: #a57524;
  --purple: #7c69aa;
  --radius: 10px;
  --font: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-bn: 'Noto Sans Bengali', sans-serif;
}


 
:root{
  --bg:#FAFAF8; --paper:#FFFFFF; --ink:#1A1C20; --muted:#5F646B; --ink-faint:#A2A7AE;
  --line:#D6DAE0; --rule-firm:#98A1AD; --brand:#1B3A6B; --on-pen:#FFFFFF; --focus:#0F3D6E;
  --red:#B4231F; --amber:#8A6D00;
  --tint:#E8EEF8; --wash-refused:#FBEBEA; --wash-stale:#F7F0D8; --wash-cell:#F2F3F5; --zebra:#F5F6F8;
  --gutter:clamp(16px,4vw,48px); color-scheme:light;
  --font:system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans",sans-serif;
}
 
:root[data-theme="dark"]{
  --bg:#0E1013; --paper:#15181D; --ink:#EDEEEA; --muted:#A3A8AF; --ink-faint:#5D636B;
  --line:#2A2F37; --rule-firm:#4B535E; --brand:#8FB4E8; --on-pen:#0E1013; --focus:#8FB4E8;
  --red:#E86A5F; --amber:#D6AE3C;
  --tint:#182338; --wash-refused:#2C1816; --wash-stale:#2B2410; --wash-cell:#1B1F26; --zebra:#181B21;
  color-scheme:dark;
}
*{box-sizing:border-box}
html{font:15px/1.5 var(--font);
  font-variant-numeric:tabular-nums slashed-zero;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);min-height:100vh}
main{max-width:80rem;margin:0 auto;padding:1.5rem var(--gutter) 5rem}
footer.build{max-width:80rem;margin:0 auto;padding:0 var(--gutter) 1.5rem;font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.read{max-width:42rem}.read-md{max-width:64rem}
h1{font-size:22px;line-height:1.2;font-weight:600;margin:.25rem 0 1rem;letter-spacing:-.01em}
h2{font-size:15px;font-weight:600;margin:1.75rem 0 .5rem}
p{margin:0 0 .75rem}
a{color:var(--brand)}
b{font-weight:600}
code{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:.93em}
.hint{font-size:13px;color:var(--muted);margin:.35rem 0 0}
.star{color:var(--red);font-weight:600}
.foot-note{font-size:13px;color:var(--muted);margin-top:1.5rem;max-width:36rem}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-999px;top:.5rem;z-index:3;background:var(--paper);padding:.35rem .7rem;border:1px solid var(--rule-firm)}
.skip:focus{left:var(--gutter)}

 
.top{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem 1.6rem;padding:.55rem var(--gutter);border-bottom:1px solid var(--line);background:var(--paper)}
.brand{display:flex;align-items:baseline;gap:.75rem;min-width:0}
.mark{color:var(--ink);text-decoration:none;font-weight:700;letter-spacing:-.01em;white-space:nowrap}
.mark span{color:var(--muted);font-weight:400;margin-left:.3rem}
.shop{font-weight:600;padding-left:.75rem;border-left:1px solid var(--rule-firm);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.top nav{display:flex;flex-wrap:wrap;gap:0 1.25rem;min-width:0}
.top nav a{color:var(--muted);text-decoration:none;padding:.35rem 0;border-bottom:2px solid transparent;white-space:nowrap}
.top nav a:hover{color:var(--ink)}
.top nav a[aria-current]{color:var(--ink);border-color:var(--brand)}
.top nav .waiting{display:inline-block;min-width:1.3rem;margin-left:.25rem;padding:0 .35rem;border-radius:1rem;background:var(--brand);color:var(--on-pen);font-size:12px;font-weight:600;text-align:center}
.asks h2 .count{font-size:13px;font-weight:400;color:var(--muted);margin-left:.4rem}
.ledger.book.requests td{vertical-align:top}
.ledger.book.requests td.act{white-space:normal;min-width:11rem}
.ledger.book.requests td.act button.pen{background:var(--brand);border-color:var(--brand);color:var(--on-pen);font-weight:600}
table.requests form{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center;margin:0 0 .35rem}
table.requests .erase-one label{font-size:12px;color:var(--muted);display:inline-flex;gap:.2rem;align-items:center}
.me{margin-left:auto;display:flex;align-items:center;gap:.9rem;font-size:14px;color:var(--muted)}
.me form{margin:0}
.lamp{background:none;border:1px solid var(--line);color:var(--muted);
  border-radius:999px;padding:.15rem .6rem;font:inherit;font-size:.8rem;cursor:pointer;line-height:1.6}
.lamp:hover{border-color:var(--rule-firm);color:var(--ink)}
.lamp:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.confirm{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem 1rem;padding:.45rem var(--gutter);font-size:13px;color:var(--amber);background:var(--wash-stale);border-bottom:1px solid var(--line)}
.confirm form{margin:0}

 
.said{margin:0 0 1.25rem;padding:.6rem .9rem;border-left:3px solid var(--brand);background:var(--tint)}
.said.bad{border-color:var(--red);background:var(--wash-refused)}
.said.note{border-color:var(--amber);background:var(--wash-stale)}

 
label{display:block;font-size:13px;font-weight:500;color:var(--muted)}
.unit{font-weight:400;line-height:1}.opt{font-weight:400;color:var(--ink-faint)}
input,select,button{font:inherit;line-height:1.6;color:var(--ink)}
input,select{max-width:100%}
input:not([type=checkbox]):not([type=file]),select{padding:.35rem .55rem;border:1px solid var(--rule-firm);border-radius:3px;background:var(--paper)}
input[type=file]{padding:.25rem 0;max-width:100%}
input[type=checkbox]{width:18px;height:18px;margin:0 .35rem 0 0;vertical-align:-3px;accent-color:var(--brand)}
input::placeholder{color:var(--ink-faint)}
input[readonly]{background:var(--wash-cell)}
.withbtn{display:flex;flex-wrap:wrap;gap:.5rem;align-items:stretch}.withbtn input{flex:1 1 10rem;min-width:0}
.num{text-align:right}
.w-code{width:11.5em}.w-num{width:7.5em}.w-name{width:100%}.w-link{flex:1 1 20rem}
.field{display:flex;flex-direction:column;gap:.25rem;min-width:0}.field.grow{flex:1 1 14rem}.field[hidden]{display:none}
.field.check label{color:var(--ink);font-size:15px;font-weight:400;padding:.4rem 0}
.row{display:flex;flex-wrap:wrap;gap:.6rem .9rem;align-items:flex-end}
.stack{display:flex;flex-direction:column;gap:.9rem;max-width:24rem}
.actions{display:flex;flex-wrap:wrap;gap:.75rem 1.25rem;align-items:center;margin-top:.35rem}
button{padding:.42rem .95rem;font-weight:600;border:1px solid var(--rule-firm);border-radius:3px;background:var(--paper);cursor:pointer;white-space:nowrap}
button:hover{border-color:var(--ink)}
button.pen{background:var(--brand);border-color:var(--brand);color:var(--on-pen)}
button.pen:hover{filter:brightness(1.12)}
a.newsale{display:inline-flex;align-items:center;padding:.42rem .95rem;border:1px solid var(--brand);border-radius:3px;background:var(--brand);color:var(--on-pen);font-weight:600;text-decoration:none;white-space:nowrap}a.newsale:hover{filter:brightness(1.12)}
.office-start{margin-top:1.25rem}
button.quiet{border-color:transparent;background:transparent;color:var(--brand);font-weight:500;padding:.2rem .4rem}
button.quiet:hover{text-decoration:underline;border-color:transparent}
a.ghost{display:inline-flex;align-items:center;padding:.32rem .75rem;border:1px solid var(--rule-firm);border-radius:3px;color:var(--ink);text-decoration:none;font-weight:600;font-size:14px;background:var(--paper)}
a.ghost:hover{border-color:var(--ink)}
:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
input:focus,select:focus{outline:2px solid var(--focus);outline-offset:1px;border-color:var(--focus)}
fieldset{border:0;margin:0;padding:0}legend{padding:0}
.lede{font-size:13px;color:var(--muted);margin:0 0 .9rem;max-width:46rem}

 
.door{max-width:26rem;margin:2rem auto 0}
.card{background:var(--paper);border:1px solid var(--line);border-radius:4px;padding:1.5rem 1.6rem 1.4rem}
.card h1{margin:0 0 1rem}
.card .stack{max-width:none}
.card .actions{margin-top:.5rem}
.door .said{margin-bottom:1rem}
.door .foot-note{max-width:none}

 
.head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:.6rem 1.5rem;margin:0 0 1rem}
.head:has(.tool[open]) .tools{grid-column:1/-1}
.tally{font-size:15px;font-weight:400;margin:0}
.tally b{font-size:30px;line-height:1;font-weight:600;letter-spacing:-.02em;margin-right:.15rem}
.tools{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.5rem;align-items:flex-start;min-width:0}
.tool summary{list-style:none;cursor:pointer;display:inline-block;padding:.42rem .95rem;border:1px solid var(--rule-firm);border-radius:3px;background:var(--paper);font-weight:600;color:var(--ink);line-height:1.6;white-space:nowrap}
.tool summary::-webkit-details-marker{display:none}
.tool summary::after{content:"";display:inline-block;width:.42em;height:.42em;margin:0 .1em 0 .6em;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:translateY(-.2em) rotate(45deg);opacity:.7}
.tool summary:hover{border-color:var(--ink)}
.tool summary:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.tool[open]{flex-basis:100%}
.tool[open] summary{border-radius:3px 3px 0 0;border-bottom-color:var(--paper);position:relative;z-index:1;margin-bottom:-1px}
.tool[open] summary::after{transform:translateY(.1em) rotate(-135deg)}
.tray{background:var(--paper);border:1px solid var(--rule-firm);border-radius:0 3px 3px 3px;padding:1rem 1.1rem .9rem}
.tray .lede{margin-bottom:.7rem}
.bar{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1rem;margin:0 0 .75rem}
.search{display:flex;flex:1 1 18rem;max-width:34rem;margin:0}
.search input{flex:1 1 auto;min-width:0;border-radius:3px 0 0 3px;font-size:15px;padding:.42rem .65rem}
.search input:focus{position:relative;z-index:1}
.search button{border-radius:0 3px 3px 0;margin-left:-1px}
.bar .clear{font-size:14px;white-space:nowrap}
.sheet{background:var(--paper);border:1px solid var(--line)}
.sheet.scroll{overflow-x:auto}
.tabs{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem;padding:0 .5rem;border-bottom:1px solid var(--rule-firm)}
.tabs a{text-decoration:none;color:var(--muted);padding:.6rem .7rem .45rem;border-bottom:2px solid transparent;margin-bottom:-1px;font-size:13px;white-space:nowrap}
.tabs a b{color:var(--ink);font-size:15px;margin-right:.3rem}
.tabs a:hover{color:var(--ink)}
.tabs a[aria-current]{color:var(--ink);border-color:var(--brand)}
.tabs a.none,.tabs a.none b{color:var(--ink-faint)}
.tabs .done{margin-left:auto;font-size:13px;color:var(--muted);padding:.5rem .7rem}
.showing{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem 1.1rem;font-size:13px;color:var(--muted);padding:.45rem .8rem;border-bottom:1px solid var(--line)}
.showing.foot{border-bottom:0;border-top:1px solid var(--line)}
.showing a{white-space:nowrap}
.showing .asyougo{margin-left:auto}
.bulk{display:flex;flex-wrap:wrap;align-items:center;gap:.2rem .5rem;margin:0}
.bulk button{padding:.1rem .45rem;font-size:13px}
.empty{padding:1.25rem 1rem .5rem}

.ledger{border-collapse:collapse;width:100%;font-size:14px}
.ledger th{position:sticky;top:0;z-index:1;background:var(--paper);text-align:left;font-size:12px;font-weight:600;color:var(--muted);padding:.5rem .6rem;box-shadow:inset 0 -1px 0 var(--rule-firm);white-space:nowrap}
.ledger td{padding:.42rem .6rem;border-bottom:1px solid var(--line);vertical-align:middle}
.ledger tbody tr:last-child td{border-bottom:0}
.ledger tbody tr:nth-child(even) td{background:var(--zebra)}
.ledger tbody tr:hover td{background:var(--wash-cell)}
.ledger tbody tr:focus-within td{background:var(--tint)}
.ledger tbody tr.refused td{background:var(--wash-refused)}
.ledger tbody tr.refused td.pic{box-shadow:inset 3px 0 0 var(--red)}
.ledger tbody tr:target td{background:var(--tint);animation:settle 120ms ease-out}
@keyframes settle{from{background:var(--paper)}}
.ledger tr{scroll-margin-top:3.5rem}
.ledger .money{text-align:right}
.ledger th.cash,.ledger td.cash{border-left:1px solid var(--rule-firm)}
.ledger td.pic{width:2.6rem;padding-right:.2rem}
.thumb{width:2.6rem;height:2.6rem;object-fit:cover;border:1px solid var(--line);display:block;background:#fff}
.thumb-none{width:2.6rem;height:2.6rem;background:var(--wash-cell);display:block}
.ledger td.name{min-width:14rem;width:36%}
.ledger a.open{color:var(--ink);font-weight:500;text-decoration:underline;text-decoration-color:var(--rule-firm);text-underline-offset:3px;text-decoration-thickness:1px}
.ledger a.open:hover{color:var(--brand);text-decoration-color:var(--brand)}
.ledger td.name .badge{margin-left:.4rem;vertical-align:1px}
.ledger td.leftout{text-align:left;min-width:16rem}
.ledger td.code,.ledger td.txt,.ledger td.margin{font-size:13px;color:var(--muted);white-space:nowrap}
.ledger td.margin.loss{color:var(--red);font-weight:600}
.ledger td input:not([type=checkbox]){width:100%;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;padding:.2rem .35rem;font-size:14px;line-height:1.5;color:var(--ink)}
.ledger td input.num{width:7em;text-align:right}
.ledger td input.w-code{width:9.5em;font-size:13px}
.ledger td input.blank{border-bottom:1px dashed var(--rule-firm)}
.ledger td input:hover{border-bottom-color:var(--rule-firm)}
.ledger td input:focus{outline:2px solid var(--focus);outline-offset:-1px;background:var(--paper);border-bottom-color:transparent}
.off{color:var(--ink-faint)}
.badge{display:inline-block;font-size:12px;padding:.1rem .45rem;border:1px solid var(--rule-firm);border-radius:999px;color:var(--muted);line-height:1.5}
.badge.on{border-color:var(--brand);background:var(--tint);color:var(--brand)}
.badge.stale{border-color:var(--amber);background:var(--wash-stale);color:var(--amber)}
.badge.due{border-color:var(--red);background:var(--wash-refused);color:var(--red)}
.ledger td.act{text-align:right;white-space:nowrap;width:1%}
.ledger td.act form{display:inline-flex;gap:.5rem;align-items:center}
.ledger td.act button{padding:.18rem .65rem;font-size:13px;font-weight:500;border-color:var(--line);background:var(--paper);color:var(--muted)}
.ledger td.act button:hover{border-color:var(--rule-firm);color:var(--ink)}
.ledger tr.dirty td.act button{background:var(--brand);border-color:var(--brand);color:var(--on-pen);font-weight:600}
 
.ledger td.act input[name=reason]{min-width:9rem;padding:.18rem .5rem;font-size:13px}
.ledger td.act input[name=qty]{width:4.5rem;padding:.18rem .5rem;font-size:13px}
.unsaved{font-size:12px;color:var(--amber);font-weight:600}
.retired td,.retired a.open,.retired td input{color:var(--muted)}
.stale{color:var(--amber);font-size:13px}

 
.step{padding:1.25rem 0;border-top:1px solid var(--line)}
.step h2{margin:0 0 .5rem;display:flex;gap:.6rem;align-items:center}
.n{display:inline-grid;place-items:center;width:1.6em;height:1.6em;border-radius:50%;background:var(--brand);color:var(--on-pen);font-size:13px;font-weight:600}
.heads{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.1rem 1rem;font-size:13px;color:var(--muted);margin:.6rem 0 0;max-width:46rem}
.heads dt{font-weight:600;color:var(--ink)}
.heads dd{margin:0}

 
.found{list-style:none;margin:0;padding:0;background:var(--paper);border:1px solid var(--line)}
.hit{display:grid;grid-template-columns:3.5rem minmax(0,1fr) auto;gap:.4rem 1rem;align-items:center;padding:.7rem .9rem;border-bottom:1px solid var(--line)}
.found li:last-child .hit{border-bottom:0}
.hit.refused{background:var(--wash-refused);box-shadow:inset 3px 0 0 var(--red)}
.found li{scroll-margin-top:1rem}
.found li:target .hit{animation:settle 120ms ease-out}
.statusline{display:flex;flex-wrap:wrap;gap:.45rem;align-items:center;margin:-.3rem 0 1rem}
.statusline .code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;color:var(--soft)}
.sheetdl{margin-bottom:.2rem}
.linkish{background:none;border:0;padding:0;font:inherit;color:var(--link);
  text-decoration:underline;cursor:pointer}
.mintbox{display:flex;align-items:center;gap:.4rem;margin-top:.35rem;font-size:13px;color:var(--soft);white-space:nowrap}
.mintbox input{margin:0}
.whyrow{grid-column:1/-1;margin:.35rem 0 0;font-size:13px;color:var(--red);font-weight:500;max-width:60rem;line-height:1.45}
.ledger td.name .whyrow{margin:.3rem 0 0}
.tray .whyrow{margin:0 0 .7rem}
.catalogue{margin-top:1.75rem}
.tally.sub b{font-size:22px}
.firstrun .search{max-width:30rem;margin-top:.5rem}
.hit .pic{width:3.5rem;height:3.5rem;display:grid;place-items:center;background:var(--wash-cell);border:1px solid var(--line)}
.hit .pic img{width:100%;height:100%;object-fit:contain;background:#fff}
.what{min-width:0}
.pname{display:block;font-weight:500;overflow-wrap:anywhere}
.meta{display:flex;flex-wrap:wrap;gap:.1rem .9rem;font-size:13px;color:var(--muted)}
.hit .take{display:flex;flex-wrap:wrap;gap:.5rem .8rem;align-items:flex-end;justify-content:flex-end}
.hit .have{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap;justify-content:flex-end}
.hit .have .said{margin:0;white-space:nowrap;padding:.32rem .7rem;font-size:14px}
.search.wide{max-width:40rem;margin-bottom:.75rem}

 
.figures{display:flex;flex-wrap:wrap;gap:1rem;margin:0 0 1.25rem}
.figure{flex:1 1 14rem;max-width:22rem;background:var(--paper);border:1px solid var(--line);padding:.9rem 1rem}
.figure b{display:block;font-size:30px;line-height:1.1;font-weight:600;letter-spacing:-.02em;margin-bottom:.3rem}
.figure span{font-size:13px;color:var(--muted)}
.refusals td.raw{color:var(--muted);overflow-wrap:anywhere}

 
.roster td.mail{color:var(--muted);font-size:13px}
.roster td.grants form{display:flex;flex-wrap:wrap;gap:.3rem .9rem;align-items:center}
.roster td.grants label{display:flex;gap:.35rem;align-items:center;font-size:14px;white-space:nowrap}
.roster td.grants button{padding:.15rem .6rem;font-size:13px}
.link-once{padding:.85rem 1rem;margin:0 0 1.25rem;background:var(--wash-stale);border-left:3px solid var(--amber)}
.link-once p{margin-bottom:.5rem}

 
.filters{padding:.75rem .8rem .85rem}
.filters .row{align-items:flex-end}
.filters .clear{font-size:14px;white-space:nowrap;padding-bottom:.4rem}
.sheet+.said{margin-top:1rem}
.said.newest p{margin:0}.said.newest ul{margin:.3rem 0 0;padding-left:1.2rem;font-size:14px}
 
.facts{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:.35rem 1rem;margin:0 0 1.5rem}
.facts dt{color:var(--muted)}.facts dd{margin:0;min-width:0;overflow-wrap:anywhere}
.facts dd form{display:inline}.facts dd form button{margin-left:.35rem;padding:.1rem .5rem;font-size:13px}
@media (max-width:480px){.facts{grid-template-columns:minmax(0,1fr)}.facts dd{margin-bottom:.4rem}}
.ledger td.when{font-size:13px;color:var(--muted);white-space:nowrap}
.ledger.book td{white-space:nowrap}
.ledger.book td.name{width:auto;min-width:0}
.ledger.book td.wrap{white-space:normal;min-width:10rem}
.ledger.book td.wrap.narrow{min-width:6rem}
.ledger.book td.narrow .badge{white-space:nowrap}
.ledger.approvals td.act .hint{white-space:nowrap}
.ledger.approvals td.name .taken{white-space:normal;max-width:24rem;margin:.25rem 0 0}
.ledger.book.sales td.when{white-space:normal;min-width:7rem}
 
.people td.act{width:2.2rem;padding-right:0}
.people td.mail{color:var(--muted);font-size:13px;white-space:normal;overflow-wrap:anywhere;min-width:9rem}
.people td.due{color:var(--red);font-weight:600}
.purchaselist td.due,.figure b.due{color:var(--red)}
 
.sites .mail{display:block;overflow-wrap:anywhere}
.returns td .when{display:block;white-space:nowrap}
.rowmenu{position:relative}
.rowmenu summary{list-style:none;cursor:pointer;width:1.9rem;height:1.9rem;display:grid;place-items:center;border-radius:3px;color:var(--muted)}
.rowmenu summary::-webkit-details-marker{display:none}
.rowmenu summary::before{content:"\22EE";font-size:18px;line-height:1}
.rowmenu summary:hover,.rowmenu[open] summary{background:var(--wash-cell);color:var(--ink)}
.rowmenu summary:focus-visible{outline:2px solid var(--focus);outline-offset:1px}
.rowmenu ul{position:absolute;left:0;top:2.1rem;z-index:5;min-width:12rem;margin:0;padding:.35rem 0;list-style:none;text-align:left;background:var(--paper);border:1px solid var(--rule-firm);border-radius:3px;box-shadow:0 6px 18px rgba(0,0,0,.12)}
.rowmenu li a{display:block;padding:.45rem .9rem;color:var(--ink);text-decoration:none;white-space:nowrap}
.rowmenu li a:hover,.rowmenu li a:focus-visible{background:var(--wash-cell)}
.ledger tfoot td{padding:.42rem .6rem;border-top:1px solid var(--line)}
.ledger tr.grand td{font-weight:600;border-top:1px solid var(--rule-firm)}
@media (max-width:720px){
  .ledger.book thead{display:none}
  .ledger.book,.ledger.book tbody{display:block}
  .ledger.book tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.15rem .8rem;padding:.65rem .8rem;border-bottom:1px solid var(--rule-firm)}
  .ledger.book td{display:block;border:0;padding:0;background:transparent;grid-column:1;text-align:left;white-space:normal}
  .ledger.book tbody tr:nth-child(even) td{background:transparent}
  .ledger.book tbody tr:nth-child(even){background:var(--zebra)}
  .ledger.book td.total{grid-column:2;grid-row:1 / span 2;font-weight:600;text-align:right}
  .ledger.book td[data-label]::before{content:attr(data-label) ": ";color:var(--muted);font-size:12px}
}

 
.office-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,18rem);gap:1.5rem 2rem;align-items:start}
.office-grid>*,.office-form fieldset{min-width:0}
.office-side{position:sticky;top:1rem}
.office-sum{margin-bottom:.6rem}
.office-found{list-style:none;margin:0 0 .9rem;padding:0}
.office-found li{padding:.25rem 0}
.pick{position:relative;margin-bottom:.9rem}.pick[hidden],.pick [hidden],[data-typed][hidden]{display:none}
.pick-open{display:flex;justify-content:space-between;align-items:center;gap:.6rem;width:100%;text-align:left;font-weight:400;white-space:normal}
.pick-open::after{content:"\25BE";color:var(--muted)}
.pick-pop{position:absolute;z-index:5;left:0;right:0;top:100%;margin-top:.25rem;padding:.5rem;background:var(--paper);border:1px solid var(--rule-firm);border-radius:3px;box-shadow:0 6px 18px rgba(0,0,0,.14)}
.pick-q{width:100%}.pick-list{list-style:none;margin:.4rem 0 0;padding:0;max-height:16rem;overflow:auto}
.pick-list li{padding:.4rem .55rem;border-radius:3px;cursor:pointer;overflow-wrap:anywhere}.pick-list li:hover,.pick-list li.on{background:var(--tint)}
.office-who{margin:.35rem 0 0}
.office-who-do{align-items:center}.office-who-do a{display:inline-block;padding:.42rem .95rem;font-weight:600;border:1px solid var(--rule-firm);border-radius:3px;background:var(--paper);color:var(--brand);text-decoration:none;white-space:nowrap}.office-who-do a:hover{border-color:var(--ink)}
.office-pay{border-bottom:1px solid var(--line);padding-bottom:.6rem}
.office-save{width:100%;padding:.6rem}
.office-discard{margin-top:1.5rem;padding-top:.9rem;border-top:1px solid var(--line)}.office-discard label{margin-right:.6rem}
.office-short{color:var(--red)}
.office-lines .over{display:block;font-size:13px}
.office-lines td input.num{width:5em}.office-lines td input[name^="cost_"]{width:7.5em}
.office-lines td input.price{width:6.5em}.office-lines .hint.typed-by{white-space:normal}
.office-lines .hint{display:block;margin:0;white-space:nowrap}
.office-lines.ledger.book td{white-space:normal}
.office-lines.ledger.book td.name{min-width:8rem}
.office-lines .serial-boxes{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.45rem}
.office-lines .serial-boxes .hint{flex-basis:100%;white-space:normal}
.office-lines td input.serial{width:9.5em;max-width:100%;letter-spacing:.02em}
.office-lines .serial-scan{flex-basis:100%;display:grid;gap:.2rem}
.office-lines .serial-scan textarea{width:100%;max-width:26rem;font-family:inherit;font-size:inherit}
.office-lines .serial-scan p{margin:0}
.office-lines .serial-cut{flex-basis:100%;margin:0}
.office-lines .serial-count{font-weight:400}
.office-lines .serial-count b{font-weight:700}
.office-lines tr:has(.serial-boxes) td{vertical-align:top}
@media (min-width:721px){.office-lines td.name:has(.serial-boxes){min-width:24rem}}
.office-lines .serial-one{display:inline-flex;align-items:center;gap:.2rem}
.office-lines .serial-boxes.scripted .serial-one:not(.has){display:none}
.office-lines .serial-x{min-width:2rem;min-height:2rem;padding:0 .4rem}
.desk .unit-ticks{border:0;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.3rem .9rem;min-width:0}
.unit-ticks label{white-space:nowrap;letter-spacing:.02em}
.office-nearby{display:block;margin-top:6px;font-size:13px}.office-lines .office-nearby .hint{white-space:normal}.office-nearby select,.office-nearby input{display:block;width:100%;max-width:16rem;margin:4px 0 6px}.office-lines td input[name^="buycost_"]{width:7.5em}
.office-lines .profit{display:block;font-size:13px}.office-lines .profit.loss{color:var(--red);font-weight:600}
.office-unit{display:block;margin-top:6px;font-size:13px}
.office-unit select,.office-unit input{display:block;width:100%;max-width:16rem;margin-top:4px}
.office-lines .office-unit .hint{white-space:normal}
.order-units{display:flex;flex-wrap:wrap;gap:0 1.2rem;border:0;border-top:1px solid var(--line);margin:.75rem 0;padding:.4rem 0 0;min-width:0}.order-units legend{padding:0;font-weight:600}
.quote-steps{display:flex;flex-wrap:wrap;gap:.6rem 1.5rem;align-items:center;margin-top:1rem}
.quote-steps form{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
@media (max-width:860px){.office-grid{grid-template-columns:minmax(0,1fr)}.office-side{position:static}}

 
.between{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.35rem 1.5rem;font-size:13px;margin:0 0 .6rem}
.between a{text-decoration:none}
.between a:hover{text-decoration:underline}
.steps{display:flex;gap:1.25rem;margin-left:auto}
.steps .end{color:var(--ink-faint)}
.steps .who-next{display:inline-block;max-width:18rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom}
.product{display:grid;grid-template-columns:minmax(0,21rem) minmax(0,1fr);gap:1.75rem 3rem;align-items:start;margin-top:1rem}
.window{position:sticky;top:1rem;display:flex;flex-direction:column;gap:.7rem;min-width:0}
.window-cap{font-size:13px;color:var(--muted);margin:0}
.desk{min-width:0}
.shot{background:var(--paper);border:1px solid var(--line);padding:1.25rem;aspect-ratio:1;display:grid;place-items:center;min-width:0}
.shot img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.shot .none{color:var(--muted);font-size:13px;text-align:center;padding:1rem;max-width:14rem}
.strip{display:flex;flex-wrap:wrap;gap:.6rem .7rem;align-items:flex-start}
.strip figure{margin:0;width:9rem;text-align:center}
.strip img{display:block;margin:0 auto;width:4rem;height:4rem;object-fit:contain;background:var(--paper);border:1px solid var(--line);padding:.2rem}
.strip figure[data-main] img{border-color:var(--brand);box-shadow:0 0 0 1px var(--brand)}
.strip figcaption{display:flex;flex-direction:column;align-items:center;gap:.1rem;font-size:12px;color:var(--muted);padding-top:.2rem;line-height:1.6}
.strip form{margin:0;display:inline}
.strip figcaption button{padding:0;font-size:12px;font-weight:500;border:0;border-radius:0;background:none;color:var(--brand);text-decoration:underline;text-underline-offset:2px}
.gallery figure[data-main]{width:240px}.gallery figure[data-main] img{width:100%;height:auto;aspect-ratio:1}
.gallery{margin-bottom:1rem}
.gallery figcaption button{white-space:normal;text-align:center}
@media (max-width:40rem){.gallery figure[data-main]{width:100%}}
.up{width:4rem;text-align:center}
.tile{display:grid;place-items:center;width:4rem;height:4rem;border:1px dashed var(--rule-firm);color:var(--brand);font-size:12px;font-weight:500;text-align:center;cursor:pointer;line-height:1.3;padding:.2rem}
.tile:hover{background:var(--tint)}
.up:focus-within .tile{outline:2px solid var(--focus);outline-offset:2px}
.up button{padding:0;margin-top:.2rem;font-size:12px;font-weight:500;border:0;border-radius:0;background:none;color:var(--brand);text-decoration:underline;text-underline-offset:2px;line-height:1.6}
.up:has(input:invalid) button{display:none}
.up:has(input:valid) .tile{border-style:solid;background:var(--tint)}
 
.upping .pic{display:block;position:relative}
.upping img{opacity:.4}
.upping figcaption{color:var(--ink);font-weight:600}
.spin{position:absolute;left:50%;top:50%;width:1.6rem;height:1.6rem;margin:-.8rem 0 0 -.8rem;border:3px solid var(--rule-firm);border-top-color:var(--brand);border-radius:50%;animation:turn .8s linear infinite}
@keyframes turn{to{transform:rotate(360deg)}}
.tag{padding:.9rem 0 0;border-top:1px solid var(--line)}
.tag .brand{display:block;font-size:13px;color:var(--muted)}
.tag .brand:empty{display:none}
.tag .tag-name{display:block;font-size:17px;font-weight:600;line-height:1.3;margin:.1rem 0 .3rem;overflow-wrap:anywhere}
.tag .price{display:block;font-size:20px;font-weight:600;margin:0 0 .5rem}
.tag .prose{white-space:pre-wrap;color:var(--muted);font-size:14px;margin:0 0 .6rem;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}
.tag .prose:empty{display:none}
.tag .state{margin:0 0 .4rem;display:flex;flex-wrap:wrap;gap:.35rem}
.tag .hint{margin:0}

.desk fieldset{border:0;border-top:1px solid var(--line);margin:0 0 1.5rem;padding:1.1rem 0 0;min-width:0}
.desk legend{font-size:15px;font-weight:600;color:var(--ink);padding:0 .6rem 0 0}
.desk legend .count{font-weight:400;color:var(--muted);font-size:13px;margin-left:.3rem}
.desk .row{align-items:flex-start;margin-bottom:.9rem}
.desk .row+.hint{margin-top:-.4rem;margin-bottom:.9rem}
.desk fieldset>.field+.field{margin-top:.9rem}
.desk .field>.hint{margin-top:.25rem}
textarea{font:inherit;line-height:1.6;color:var(--ink);width:100%;min-height:7rem;resize:vertical;field-sizing:content;
  padding:.45rem .55rem;border:1px solid var(--rule-firm);border-radius:3px;background:var(--paper)}
textarea::placeholder{color:var(--ink-faint)}
textarea:focus{outline:2px solid var(--focus);outline-offset:1px;border-color:var(--focus)}
input.web{font-size:17px;padding:.4rem .6rem;width:100%}
.publish{margin:0 0 1rem;padding:.5rem .75rem;border:1px solid var(--line);background:var(--paper);display:inline-block}
.publish label{padding:0}

 
.specs .sheet{border:1px solid var(--line);background:var(--paper)}
.spec{width:100%;border-collapse:collapse;font-size:14px;table-layout:fixed}
.spec th{font-size:12px;font-weight:600;color:var(--muted);text-align:left;padding:.4rem .6rem;border-bottom:1px solid var(--rule-firm)}
.spec th.no,.spec td.no{width:2.9rem}
.spec th.t,.spec td.t{width:0;padding:0}
.spec.with-tools th.t,.spec.with-tools td.t{width:5.6rem}
.spec th.k,.spec td.k{width:35%}
.spec td{padding:0;border-bottom:1px solid var(--line);vertical-align:top}
.spec tbody tr:nth-child(even) td{background:var(--zebra)}
.spec tbody tr:focus-within td{background:var(--tint)}
.spec td input:not([type=checkbox]),.spec td textarea{display:block;width:100%;min-height:0;border:0;border-radius:0;background:transparent;
  padding:.38rem .6rem;line-height:1.45;font-size:14px;resize:none;overflow:hidden}
.spec td.no input{text-align:right;color:var(--ink-faint);font-size:12px;padding-right:.45rem}
.spec td.k input{font-weight:500;color:var(--muted)}
.spec td.k input::placeholder{font-weight:400}
.spec td input:not([type=checkbox]):focus,.spec td textarea:focus{outline:2px solid var(--focus);outline-offset:-2px;background:var(--paper);color:var(--ink)}
.spec td.t{white-space:nowrap;text-align:right;vertical-align:middle}
.rowtools{display:inline-flex;gap:.1rem;padding:0 .3rem;visibility:hidden}
.spec tr:hover .rowtools,.spec tr:focus-within .rowtools{visibility:visible}
.rowtools button{padding:0 .4rem;font-size:13px;line-height:1.6;border-color:transparent;background:transparent;color:var(--muted);font-weight:400}
.rowtools button:hover{color:var(--brand);border-color:var(--line)}
.spec tbody tr.gone td{background:var(--wash-stale);color:var(--amber)}
.spec tr.gone td input,.spec tr.gone td textarea{display:none}
.spec tr.gone .rowtools{display:none}
.gone-word{display:inline-block;padding:.38rem 0 .38rem .6rem;font-size:13px}
.spec button.undo{padding:0 .3rem;font-size:13px;font-weight:500;border:0;background:none;color:var(--brand);text-decoration:underline;text-underline-offset:2px}
.spec tr.moved td{animation:settle 400ms ease-out}
.specs .actions{margin-top:.6rem}

 
.save{position:sticky;bottom:0;display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1.25rem;margin-top:.5rem;padding:.75rem 0;border-top:1px solid var(--line);background:var(--bg)}
.save-word{font-size:13px;color:var(--muted);margin-right:auto}
.save-word.unsaved{color:var(--amber);font-weight:600}
.save-word.unsaved::before{content:"";display:inline-block;width:.5rem;height:.5rem;border-radius:50%;background:var(--amber);margin-right:.45rem;vertical-align:1px}
@media (max-width:880px){
  .product{grid-template-columns:minmax(0,1fr);gap:1.5rem}
  .window{position:static}
  .steps{margin-left:0}.steps .who-next{max-width:9rem}
  .shot{padding:1rem}
}
@media (max-width:720px){
   
  .spec th.no,.spec td.no{width:2.4rem}
  .spec th.k,.spec td.k{width:38%}
  .spec.with-tools th.t,.spec.with-tools td.t{width:0}
  .rowtools{visibility:visible;display:flex;padding:0 .3rem .25rem}
  .rowtools button{padding:0 .5rem;border-color:var(--line)}
}

@media (max-width:720px){
  .top{gap:.35rem 1rem}
  .top nav{width:100%;gap:1rem;overflow-x:auto;flex-wrap:nowrap}
  .me{margin-left:0;width:100%}
  .door{margin-top:.75rem}
  .card{padding:1.2rem 1.1rem 1.1rem}
  .head{grid-template-columns:minmax(0,1fr)}
  .tools{justify-content:flex-start}
  .tally b{font-size:26px}
  .search{max-width:none;flex-basis:100%}
  .tabs{padding:0 .25rem}.tabs a{padding:.5rem .5rem .4rem}.tabs .done{display:none}
  .showing .asyougo{margin-left:0}
  .heads{grid-template-columns:minmax(0,1fr)}.heads dt{margin-top:.3rem}
   
  .ledger.stock thead{display:none}
  .ledger.stock,.ledger.stock tbody{display:block}
  .ledger.stock tr{display:grid;grid-template-columns:2.6rem minmax(0,1fr) auto auto;grid-template-areas:"pic name name name" "pic code txt web" "cost cost price margin" "wholesale wholesale minimum minimum" "act act act act";gap:.2rem .6rem;align-items:center;padding:.65rem .8rem;border-bottom:1px solid var(--rule-firm)}
  .ledger.stock td{display:block;border:0;padding:0;background:transparent}
  .ledger.stock tbody tr:nth-child(even) td,.ledger.stock tbody tr:hover td,.ledger.stock tbody tr:focus-within td,.ledger.stock tbody tr.refused td,.ledger.stock tbody tr:target td{background:transparent}
  .ledger.stock tbody tr:nth-child(even){background:var(--zebra)}
  .ledger.stock tbody tr:focus-within{background:var(--tint)}
  .ledger.stock tbody tr.refused{background:var(--wash-refused)}
  .ledger.stock tbody tr:target{background:var(--tint)}
  .ledger.stock td.pic{grid-area:pic;width:auto;align-self:start}
  .ledger.stock td.name{grid-area:name;min-width:0;width:auto}
  .ledger.stock td.code{grid-area:code}
  .ledger.stock td.txt{grid-area:txt}
  .ledger.stock td.web{grid-area:web}
  .ledger.stock td.txt:empty,.ledger.stock td.web .off{display:none}
  .ledger.stock td.cash{grid-area:cost;border-left:0;margin-top:.35rem}
  .ledger.stock td.price{grid-area:price;margin-top:.35rem}
  .ledger.stock td.wholesale{grid-area:wholesale}
  .ledger.stock td.minimum{grid-area:minimum}
  .ledger.stock td.margin{grid-area:margin;text-align:left;align-self:end;padding-bottom:.3rem}
  .ledger.stock td.act{grid-area:act;width:auto;padding-top:.35rem}
  .ledger.stock td.cash::before,.ledger.stock td.price::before,.ledger.stock td.wholesale::before,.ledger.stock td.minimum::before{content:attr(data-label);display:block;font-size:12px;color:var(--muted)}
  .ledger.stock td input.num{width:7em}
  .ledger.stock td input.w-code{width:10em}
  .hit{grid-template-columns:3.5rem minmax(0,1fr)}
  .hit .take,.hit .have{grid-column:1/-1;justify-content:flex-start}
  .hit .have .said{white-space:normal}
  .roster thead{display:none}
  .roster,.roster tbody{display:block}
  .roster tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.1rem .8rem;padding:.65rem .8rem;border-bottom:1px solid var(--rule-firm)}
  .roster td{display:block;border:0;padding:0;background:transparent}
  .roster tbody tr:nth-child(even) td{background:transparent}
  .roster td.act{grid-column:2;grid-row:1/4;align-self:start;width:auto}
  .roster td.grants{grid-column:1/-1;min-width:0;padding-top:.4rem}
  .roster td.grants label{white-space:normal}
   
  .book thead{display:none}
  .book,.book tbody{display:block}
  .book tr{display:grid;grid-template-columns:minmax(0,1fr);gap:.1rem;padding:.65rem .8rem;border-bottom:1px solid var(--rule-firm)}
  .book td{display:block;border:0;padding:0;background:transparent;text-align:left}
  .book tbody tr:nth-child(even) td{background:transparent}
  .book td[data-label]::before{content:attr(data-label) ": ";color:var(--muted);font-size:12px}
  .book td:empty{display:none}
}

@media(max-width:600px){#offer-settings .basic-prices{grid-template-columns:minmax(0,1fr)}}
.category-choices{display:grid;gap:0}.category-choice{display:grid;grid-template-columns:minmax(0,1fr) auto 7rem;gap:1rem;align-items:center;padding:.9rem 0;border-bottom:1px solid var(--line)}.category-choice .field{margin:0}.category-choice .num{width:100%}.category-choice .check{white-space:nowrap}.category-choice .check input{width:auto;margin-right:.4rem}.category-choice p{margin:.15rem 0 0}.category-choice strong{overflow-wrap:anywhere}@media(max-width:640px){.category-choice{grid-template-columns:minmax(0,1fr) 7rem}.category-choice .check{grid-column:1/-1}}
 
.product{grid-template-columns:minmax(0,1fr) minmax(0,18rem);gap:2rem}
.edit-section{margin:0 0 .8rem;border:1px solid var(--line);border-radius:8px;background:var(--paper);overflow:hidden}
.edit-section>summary{padding:1rem 1.2rem;font-weight:600;cursor:pointer;line-height:1.5}
.edit-section>summary:hover{background:var(--wash-cell)}
.section-note{font-size:12px;font-weight:400;color:var(--muted);margin-left:.5rem}
.section-body,.basics{padding:1.2rem}
.section-body>.field+.field{margin-top:1rem}
.basics h2{margin:0 0 1rem;font-size:17px}
.basics input,.section-body input:not([type=checkbox]),.section-body select{width:100%;min-height:42px}
.basic-prices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1rem 0}
.basic-prices:first-child{margin-top:0}
.basic-prices input{font-size:18px}
.photo-tools summary{cursor:pointer;font-size:14px;padding:.5rem 0}
.photo-tools .strip{padding:.5rem 0}
.photo-tools .count{color:var(--muted);margin-left:.4rem}
.enrich{padding-top:.8rem;border-top:1px solid var(--line);margin-top:.5rem}
.banner-list{list-style:none;padding:0;margin:0 0 1rem}.banner-list li{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.banner-list img{width:170px;height:53px;object-fit:cover;border-radius:4px;background:var(--plate)}.banner-list li>div:first-of-type{flex:1;min-width:0}.banner-acts{display:flex;align-items:center;gap:6px}.banner-list li{flex-wrap:wrap}.banner-acts a.quiet{color:var(--brand);font-weight:500;padding:.2rem .4rem;text-decoration:none}.banner-edit{flex-basis:100%;padding:12px 0 4px}.banner-edit:not(:target){display:none}.banner-edit .actions{display:flex;align-items:center;gap:12px}.beside-list img{width:53px}.under-list img{width:159px}
.enrich button{white-space:normal;width:100%;font-size:13px}
button:disabled{cursor:default;opacity:.5}
.field-error{color:var(--red)}[aria-invalid=true]{border-color:var(--red)!important}
.ledger-options{display:flex;flex-wrap:wrap;align-items:start;justify-content:space-between;gap:.6rem;padding:.7rem .8rem;border-bottom:1px solid var(--line)}
.add-settings{margin:.8rem 0}.add-settings>summary{cursor:pointer;color:var(--brand);font-size:14px;margin-bottom:.7rem}
.ledger-options label{color:var(--ink);font-weight:400}
.ledger-options summary{font-size:13px;color:var(--brand);cursor:pointer}
.ledger-options details[open]{flex-basis:100%}
.sheet:has(#stock-extra:not(:checked)) .extended{display:none}
@media(max-width:880px){.product{grid-template-columns:minmax(0,1fr)}.window{max-width:30rem;width:100%;margin:0 auto}.shot{aspect-ratio:4/3}}
@media(max-width:720px){.edit-section>summary,.section-body,.basics{padding:1rem}.section-note{display:block;margin-left:1rem}.save{z-index:2}.save button{min-height:44px}.save-word{flex:1 1 10rem}.ledger.stock tr{grid-template-columns:2.6rem minmax(0,1fr) minmax(0,1fr) auto}.ledger.stock td input.num{width:100%;min-height:44px}.ledger.stock td.act button{min-height:44px;min-width:76px}}

 
.worth{margin:.5rem 0 .75rem;font-size:14px;color:var(--muted)}
.worth b{color:var(--ink);font-size:17px}
.blocks{display:grid;grid-template-columns:repeat(auto-fit,minmax(9.5rem,1fr));gap:.6rem;margin:0 0 1rem}
.blocks div{border:1px solid var(--line);border-radius:8px;padding:.55rem .75rem;background:var(--paper)}
.blocks b{display:block;font-size:24px;font-weight:600;line-height:1.2}
.blocks span{font-size:13px;color:var(--muted)}
.blocks .hot b{color:var(--red)}
.minmax{display:flex;gap:.3rem;align-items:center;flex-wrap:wrap}
.minmax input{width:5.5rem}
.actions a{display:block;white-space:nowrap}
.filters{margin:0 0 .5rem}
.place,.note{display:block}
.note{font-size:12px;color:var(--muted)}
.ledger td.short b,.ledger td.out b{color:var(--red)}
.unlisted{margin-top:1.75rem}
.tabs.section{margin:0 0 1.25rem;padding:0}
.filing{margin-top:1.75rem}.filing h2 .count{font-size:13px;font-weight:400;color:var(--muted);margin-left:.4rem}
.ledger tr.sub td.name{padding-left:1.8rem;color:var(--muted)}
.ledger.taxes td.newrate input{width:5.5rem}.ledger.taxes td.newfrom input{width:10.5rem}
.refile{display:inline-flex;gap:.5rem;align-items:center}.ledger td .refile input{min-width:18rem;width:auto}
@media (max-width:720px){.ledger.cards td.act .refile{flex:1;min-width:0}.ledger td .refile input{min-width:0;flex:1}}
.steps{display:flex;flex-wrap:wrap;gap:.4rem 1.4rem;list-style:none;padding:0;margin:.5rem 0 1.25rem;counter-reset:step;font-size:14px;color:var(--muted)}.steps li{counter-increment:step}.steps li::before{content:counter(step) ". "}.steps li[aria-current]{color:var(--ink);font-weight:600;border-bottom:2px solid currentColor}
.addname{display:flex;flex-wrap:wrap;gap:.5rem .75rem;align-items:flex-end;margin:1rem 0}.addname .hint{flex-basis:100%}.addname .field{margin:0}.ledger td.act .refile+.refile{margin-left:.5rem}.regroup .refile .quiet{font-size:13px}
.ledger td.places{font-size:13px;color:var(--muted)}.twin{padding:.6rem 0;border-bottom:1px solid var(--line)}.twin p{margin:0}.regroup{margin:0 0 .6rem}.regroup summary{cursor:pointer;font-size:13px;color:var(--muted)}
.more{margin:.75rem 0 0}
@media (max-width:720px){
  .ledger.cards thead{display:none}
  .ledger.cards,.ledger.cards tbody{display:block}
  .ledger.cards tr{display:block;padding:.6rem .8rem;border-bottom:1px solid var(--rule-firm)}
  .ledger.cards td{display:flex;justify-content:space-between;gap:1rem;border:0;padding:.15rem 0;background:transparent;text-align:right;white-space:normal}
  .ledger.cards td::before{content:attr(data-label);flex:none;font-size:12px;color:var(--muted);text-align:left}
  .ledger.cards td.name{display:block;min-width:0;width:auto;text-align:left;font-size:15px;padding-bottom:.3rem}
  .ledger.cards td.name::before{content:none}
  .ledger.cards tbody tr:nth-child(even) td{background:transparent}
  .ledger.cards tbody tr:nth-child(even){background:var(--zebra)}
}

 
.roles{margin-bottom:1.75rem}
.rolegrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr));gap:1rem;margin-top:.75rem}
.rolecard{background:var(--paper);border:1px solid var(--line);padding:.9rem 1rem;min-width:0;overflow-wrap:anywhere}
.rolecard h3{font-size:16px;margin:0}
.rolecard h4{font-size:13px;font-weight:600;color:var(--muted);margin:.8rem 0 .25rem}
.rolecard ul{margin:0;padding-left:1.1rem}
.rolecard li{margin:.2rem 0}
.rolecard .cannot li{color:var(--muted)}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
@media print{.top,.confirm,.tools,.bar,.tabs,.skip,button,.showing{display:none}.sheet{border:0}}
/* inline styles as classes (P3-kit-1-Fb) */
.fx-ml-auto{margin-left:auto!important}
.fx-wrap-left{white-space:normal!important;text-align:left!important;max-width:100%!important}
.fx-mt-1-5rem{margin-top:1.5rem!important}
.fx-mt-1-75rem{margin-top:1.75rem!important}
.fx-mt-0-8rem{margin-top:.8rem!important}
.fx-mt-0-9rem{margin-top:.9rem!important}
.fx-thumb{max-height:48px!important;max-width:220px!important}
.fx-text-left{text-align:left!important}
.fx-pull-up{margin:-.5rem 0 .75rem!important}
