/* CaseVault — white enterprise theme, ink sidebar, seal-red signals.
   Palette: --paper #F3F5F8 cool work surface; cards white glass;
   --ink #131920 sidebar/rail; --seal #A91E22 seals + warnings only;
   --brass #6E5A24 case numbers; --slate #2E4A63 links/active.
   Type: Zilla Slab (file headlines), Public Sans (body), IBM Plex Mono (hashes/ids only). */
@import url('https://fonts.googleapis.com/css2?family=Zilla+Slab:wght@500;600;700&family=Public+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root{
  --ink:#131920; --ink-2:#1B232C; --paper:#F3F5F8; --card:#FFFFFF;
  --envelope:#E2D5B4;
  --seal:#A91E22; --brass:#6E5A24; --slate:#2E4A63; --line:#E2E6EC; --edge:#D5DAE1;
  --ok:#2E6B34; --warn:#8A5A00; --radius-file:6px; --radius-seal:999px;
  --focus:#1D5FBF;
  --glass:rgba(255,255,255,.82);
  --shadow-crisp:0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.08);
  --shadow-lift:0 4px 12px rgba(16,24,40,.10);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{background:var(--ink);color:#F2EDDC;font-family:'Public Sans',system-ui,sans-serif;font-size:14.5px;line-height:1.55;-webkit-font-smoothing:antialiased}
:focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-radius:2px}
button{font:inherit;cursor:pointer}
input,select,textarea{font:inherit;color:#1A2027}
.mono{font-family:'IBM Plex Mono',monospace}

/* Top tape */
.topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:14px;padding:10px 22px;background:rgba(255,255,255,.78);-webkit-backdrop-filter:blur(14px) saturate(1.25);backdrop-filter:blur(14px) saturate(1.25);border-bottom:1px solid var(--edge)}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.topbar{background:#fff}}
.crumbs{display:flex;align-items:center;gap:10px;min-width:0}
.crumbs b{font-family:'Zilla Slab',serif;font-size:20px;color:#1A2027;white-space:nowrap}
.netpill{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:#3E4854;border:1px solid var(--edge);padding:4px 10px;border-radius:var(--radius-seal);background:rgba(255,255,255,.7);white-space:nowrap}
#fileSwitch{background:rgba(255,255,255,.7);border:1px solid var(--edge);border-radius:8px;padding:7px 9px;font-family:'IBM Plex Mono',monospace;font-size:12px;color:#1A2027;max-width:300px}
#fileSwitch:focus{border-color:var(--slate);box-shadow:0 0 0 3px rgba(46,74,99,.15);outline:none}
.searchbox{display:flex;align-items:center;background:rgba(255,255,255,.7);border:1px solid var(--edge);border-radius:var(--radius-seal);padding:6px 12px;min-width:260px;margin-left:auto;transition:border-color .12s ease-out, box-shadow .12s ease-out}
.searchbox:focus-within{border-color:var(--slate);box-shadow:0 0 0 3px rgba(46,74,99,.15)}
.searchbox input{background:transparent;border:0;color:#1A2027;outline:none;width:100%}
@media (max-width:860px){.topbar{padding:56px 14px 10px;flex-wrap:wrap}.searchbox{min-width:0;flex:1}}
.shield-dot{width:9px;height:9px;border-radius:50%;background:#7FB37E;display:inline-block;margin-right:6px}
.btn{background:#1A2027;border:1px solid #1A2027;color:#fff;border-radius:var(--radius-file);padding:8px 13px;font-weight:600;transition:transform .08s ease-out, background .12s ease-out, box-shadow .12s ease-out}
.btn:hover{background:#2A3542;box-shadow:var(--shadow-crisp)}
.btn:active{transform:scale(.98)}
.btn.ghost{background:rgba(255,255,255,.6);color:#1A2027;border-color:var(--edge)}
.btn.ghost:hover{background:#fff}
.custody .btn.ghost{background:transparent;color:#E8DFC2;border-color:#3A4654}
.custody .btn.ghost:hover{background:#1B232C;box-shadow:none}
.btn.sealbtn{background:var(--seal);border-color:#7E151A;color:#fff}
.btn.sealbtn:hover{background:#8F1A1E}
.btn.slate{background:var(--slate);border-color:var(--slate);color:#fff}
.btn.slate:hover{background:#243D53}
.btn.sealbtn{background:var(--seal);border-color:#7E151A;color:#fff}
.btn.slate{background:var(--slate);border-color:var(--slate);color:#fff}
.btn.small{padding:5px 9px;font-size:13px}
.btn[disabled]{opacity:.5;cursor:not-allowed}
.iconbtn{background:transparent;border:1px solid #3A4654;color:#E8DFC2;border-radius:var(--radius-file);padding:6px 9px}

/* Shell: light icon rail + stage + dark custody over cool backdrop */
body{background:
  radial-gradient(1000px 480px at 12% -10%, rgba(255,255,255,.9), transparent 60%),
  radial-gradient(900px 520px at 108% 112%, rgba(46,74,99,.10), transparent 58%),
  #E6EAF0}
.menuBtn{display:none;position:fixed;top:10px;left:10px;z-index:60;background:rgba(26,32,39,.88);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:#F2EDDC;border:1px solid rgba(255,255,255,.14);border-radius:8px;padding:7px 10px}
.shell{display:grid;grid-template-columns:92px minmax(0,1fr) 320px;gap:12px;padding:12px;min-height:100vh}
.sidebar{background:rgba(255,255,255,.78);-webkit-backdrop-filter:blur(22px) saturate(1.3);backdrop-filter:blur(22px) saturate(1.3);border:1px solid rgba(20,30,45,.1);border-radius:16px;box-shadow:0 12px 36px rgba(16,24,40,.12);padding:14px 10px 12px;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;gap:2px;align-items:stretch;position:sticky;top:12px;height:calc(100vh - 24px);scrollbar-width:thin;scrollbar-color:rgba(20,30,45,.2) transparent}
.sidebar::-webkit-scrollbar{width:6px}
.sidebar::-webkit-scrollbar-thumb{background:rgba(20,30,45,.16);border-radius:3px}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.sidebar{background:#fff}}
.stage{display:flex;flex-direction:column;min-width:0;background:var(--paper);border:1px solid rgba(20,30,45,.08);border-radius:16px;overflow:hidden;box-shadow:0 12px 36px rgba(16,24,40,.10)}
.ledger{color:#1A2027;padding:26px 30px 90px;overflow:auto;flex:1;scrollbar-width:thin;scrollbar-color:rgba(20,30,45,.25) transparent}
.ledger::-webkit-scrollbar{width:10px}
.ledger::-webkit-scrollbar-thumb{background:rgba(20,30,45,.18);border-radius:5px;border:2px solid #F3F5F8}
.custody{background:rgba(15,20,25,.92);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border:1px solid rgba(255,255,255,.08);border-radius:16px;box-shadow:0 12px 36px rgba(16,24,40,.22);padding:16px;overflow:auto;position:sticky;top:12px;height:calc(100vh - 24px)}
@keyframes sideIn{from{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:none}}
.sidebar{animation:sideIn .3s cubic-bezier(.2,.7,.3,1) both}
::selection{background:rgba(169,30,34,.16)}
@media (max-width:1280px){.shell{grid-template-columns:88px minmax(0,1fr)}.custody{display:none}}
@media (max-width:860px){
  .shell{grid-template-columns:1fr}
  .menuBtn{display:block}
  .sidebar{position:fixed;inset:12px auto 12px 0;width:104px;z-index:55;height:auto;border-radius:0 16px 16px 0;transform:translateX(-104%);transition:transform .2s ease-out}
  body.navOpen .sidebar{transform:none}
  .stage{border-radius:12px}
  .ledger{padding:64px 16px 70px}
}

/* Icon rail */
.brand{display:flex;justify-content:center;padding:2px 0 10px;border-bottom:1px solid rgba(20,30,45,.09)}
.brand-mark{width:38px;height:38px;border-radius:11px;background:#1A2027;color:#F2EDDC;display:grid;place-items:center;font-family:'Zilla Slab',serif;font-weight:700;font-size:20px;flex:none;box-shadow:0 3px 10px rgba(16,24,40,.25)}
.navgroup{display:flex;flex-direction:column;gap:4px;margin:10px 0 0}
@keyframes navIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.navitem{display:flex;flex-direction:column;align-items:center;gap:4px;width:100%;background:transparent;border:0;color:#5B6572;border-radius:11px;padding:9px 2px 7px;font-weight:600;font-size:10.5px;line-height:1;transition:background .12s ease-out, color .12s ease-out, transform .08s ease-out;animation:navIn .3s cubic-bezier(.2,.7,.3,1) both;animation-delay:calc(var(--i,0)*35ms)}
.navitem svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:transform .12s ease-out}
.navitem:hover{background:rgba(26,32,39,.06);color:#1A2027}
.navitem:hover svg{transform:scale(1.1)}
.navitem:active{transform:scale(.96)}
.navitem[aria-current="true"]{background:#1A2027;color:#fff;box-shadow:0 4px 12px rgba(16,24,40,.28)}
.navitem[aria-current="true"]::after{content:"";width:14px;height:2px;border-radius:1px;background:var(--seal);margin-top:1px}

/* Operator */
.sidefoot{margin-top:auto;padding-top:10px;display:flex;flex-direction:column;align-items:center;gap:8px}
.avatar{width:34px;height:34px;flex:none;border-radius:50%;background:var(--slate);color:#fff;display:grid;place-items:center;font-weight:700;font-size:12px;box-shadow:0 2px 8px rgba(16,24,40,.25)}
.railbtn{border-color:rgba(20,30,45,.16);color:#3E4854;background:rgba(255,255,255,.6)}
.railbtn:hover{background:#fff;color:#1A2027}
.railbtn svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;display:block}
#lockBtn{padding:7px 8px}

.netpill .shield-dot{margin:0}
.statusband{display:inline-block;font-size:12px;font-weight:700;padding:2px 8px;border-radius:var(--radius-seal);border:1px solid currentColor}
.st-intake{color:#C9A227}.st-active{color:#7FB37E}.st-review{color:#7AA8D1}.st-closed{color:#9AA4B2}.st-archived{color:#6B7480}

/* Ledger typography — sentence case labels, left aligned, generous measure */
.ledger h1{font-family:'Zilla Slab',serif;font-size:clamp(30px,4vw,46px);line-height:1.02;margin:6px 0 4px;letter-spacing:-.01em}
.ledger h2{font-family:'Zilla Slab',serif;font-size:22px;margin:26px 0 8px;border-bottom:2px solid #1A2027;padding-bottom:6px}
.ledger p{max-width:68ch}
.fieldlabel{font-size:13px;font-weight:600;color:#4A5461;margin:0 0 4px}
.fieldrow{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin:10px 0}
.fieldrow input,.fieldrow select,.fieldrow textarea,.fullinput{width:100%;background:#fff;border:1px solid var(--edge);border-radius:var(--radius-file);padding:9px 10px;transition:border-color .12s ease-out, box-shadow .12s ease-out}
.fieldrow input:focus,.fieldrow select:focus,.fieldrow textarea:focus,.fullinput:focus{border-color:var(--slate);box-shadow:0 0 0 3px rgba(46,74,99,.15);outline:none}
textarea{width:100%;background:#fff;border:1px solid var(--edge);border-radius:var(--radius-file);padding:9px 10px;min-height:76px}
.tabs{display:flex;gap:6px;flex-wrap:wrap;border-bottom:2px solid #1A2027;padding-bottom:10px;margin:14px 0 6px}
.tab{background:rgba(255,255,255,.6);border:1px solid var(--edge);border-radius:var(--radius-file);padding:7px 12px;font-weight:600;color:#2A332F;transition:background .12s ease-out, color .12s ease-out, transform .08s ease-out}
.tab:hover{background:#fff}
.tab:active{transform:scale(.97)}
.tab[aria-selected="true"]{background:#1A2027;color:#F2EDDC;border-color:#1A2027}
.kv{display:grid;grid-template-columns:190px 1fr auto;gap:10px;padding:9px 4px;border-bottom:1px solid var(--line);align-items:start}
.kv .k{font-weight:600;color:#3E4854;font-size:13.5px}
.kv .v{overflow-wrap:anywhere}
.kv .src{font-size:12px;color:var(--brass);font-weight:600}
@media(max-width:640px){.kv{grid-template-columns:1fr}.kv .src{justify-self:start}}

.custody h3{font-size:13px;font-weight:600;color:#B9B09A;margin:14px 0 8px}
.custody h3:first-child{margin-top:0}

/* Evidence seal tape — the one memorable element */
.sealtape{position:relative;margin:8px 0 0;padding-left:26px}
.sealtape::before{content:"";position:absolute;left:9px;top:6px;bottom:6px;width:2px;background:repeating-linear-gradient(var(--seal) 0 7px,transparent 7px 12px);opacity:.85}
.custody-event{position:relative;padding:9px 10px 9px 12px;background:#161D25;border:1px solid #2A3542;border-radius:var(--radius-file);margin-bottom:9px;color:#EDE6D2}
.custody-event::before{content:"";position:absolute;left:-23px;top:14px;width:11px;height:11px;border-radius:50%;background:var(--envelope);border:2px solid var(--seal)}
.custody-event .a{font-weight:700;font-size:13px}
.custody-event .w{font-family:'IBM Plex Mono',monospace;font-size:11.5px;color:#B9B09A}
.verdict{border:1px solid var(--edge);border-left:5px solid #1A2027;border-radius:var(--radius-file);padding:12px 14px;background:#fff;margin:12px 0;box-shadow:var(--shadow-crisp)}
.verdict.bad{border-color:#E7B4B6;border-left-color:var(--seal);background:#FDF1F1}
.verdict.good{border-color:#BFD8C2;border-left-color:var(--ok);background:#F1F7F1}
table.grid{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--edge);border-radius:var(--radius-file);font-size:13.5px;box-shadow:var(--shadow-crisp);overflow:hidden}
table.grid th{background:#1A2027;color:#F2EDDC;text-align:left;padding:9px 10px;font-weight:600;font-size:12.5px}
table.grid td{border-top:1px solid var(--line);padding:8px 10px;vertical-align:top;overflow-wrap:anywhere}
table.grid tbody tr{transition:background .1s ease-out}
table.grid tbody tr:hover{background:#F6F8FB}
.toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.notice{background:#fff;border:1px dashed #9AA8BC;border-radius:var(--radius-file);padding:12px 14px;margin:12px 0;box-shadow:var(--shadow-crisp)}
.lockveil{position:fixed;inset:0;background:rgba(13,18,24,.66);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);display:none;place-items:center;z-index:99}
.lockveil.open{display:grid}
.lockcard{background:rgba(255,255,255,.92);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);color:#1A2027;border:1px solid rgba(255,255,255,.6);border-radius:14px;padding:26px;width:min(420px,92vw);box-shadow:0 20px 60px rgba(0,0,0,.35)}
@keyframes veilIn{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:none}}
.lockveil.open .lockcard{animation:veilIn .22s cubic-bezier(.2,.7,.3,1.2)}
.skip{position:absolute;left:-9999px}.skip:focus{left:8px;top:8px;background:#fff;color:#000;padding:8px;z-index:99}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
@media print{.sidebar,.custody,.topbar,.toolbar.no-print{display:none}.shell{display:block}.ledger{background:#fff}}

/* ---------- dashboard ---------- */
.dashHead{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;border-bottom:2px solid #1A2027;padding-bottom:10px;margin-bottom:16px}
.dashHead .date{color:#4A5461;font-size:13.5px}
.statband{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:0;border:1px solid rgba(20,30,45,.1);border-radius:10px;background:var(--glass);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);margin:0 0 18px;overflow:hidden;box-shadow:var(--shadow-crisp)}
.stat{padding:14px 16px 12px;border-top:4px solid #1A2027;background:transparent;transition:background .12s ease-out}
.stat:hover{background:rgba(255,255,255,.6)}
.stat{padding:14px 16px 12px;border-top:4px solid #1A2027;background:transparent;transition:background .12s ease-out}
.stat:hover{background:rgba(255,255,255,.6)}
.stat + .stat{border-left:1px solid var(--line)}
.stat.acc-ink{border-top-color:#1A2027}.stat.acc-seal{border-top-color:var(--seal)}.stat.acc-slate{border-top-color:var(--slate)}.stat.acc-brass{border-top-color:var(--brass)}.stat.acc-ok{border-top-color:var(--ok)}
.stat .n{font-family:'Zilla Slab',serif;font-size:34px;line-height:1;margin:0;color:#1A2027;font-variant-numeric:tabular-nums}
.stat .l{font-size:13px;font-weight:600;color:#3E4854;margin-top:2px}
.stat .d{font-size:12px;color:#6B7480}
.cols2{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:18px}
@media(max-width:1000px){.cols2{grid-template-columns:1fr}}
.panel{background:var(--glass);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(20,30,45,.1);border-radius:10px;padding:16px 18px;box-shadow:var(--shadow-crisp)}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.panel,.statband{background:#fff}}
.panel > h3{font-family:'Zilla Slab',serif;font-size:18px;margin:0 0 10px;color:#1A2027}
.barRow{display:grid;grid-template-columns:86px 1fr 34px;gap:10px;align-items:center;margin:7px 0;font-size:13px}
.barTrack{background:#E6EAF0;border-radius:2px;height:12px;overflow:hidden}
.barFill{height:100%;border-radius:2px;transition:width .5s cubic-bezier(.2,.7,.3,1)}
.donutWrap{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.legend{font-size:13px;display:flex;flex-direction:column;gap:5px}
.swatch{display:inline-block;width:11px;height:11px;border-radius:2px;margin-right:7px;vertical-align:baseline}
.feed{list-style:none;margin:0;padding:0}
.feed li{padding:8px 2px;border-bottom:1px solid var(--line);font-size:13.5px}
.feed .w{font-family:'IBM Plex Mono',monospace;font-size:11.5px;color:#6B7480}
.filegrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:14px}
.filecard{background:#fff;border:1px solid rgba(20,30,45,.1);border-left:6px solid #1A2027;border-radius:10px;padding:14px 16px;text-align:left;color:#1A2027;width:100%;box-shadow:var(--shadow-crisp);transition:transform .12s ease-out, box-shadow .12s ease-out;content-visibility:auto;contain-intrinsic-size:auto 130px}
.filecard:hover{transform:translateY(-2px);box-shadow:var(--shadow-lift)}
.filecard:active{transform:translateY(0)}
.filecard .no{font-family:'IBM Plex Mono',monospace;font-size:11.5px;color:var(--brass)}
.filecard .t{font-family:'Zilla Slab',serif;font-size:19px;margin:2px 0 4px}
.filecard .m{font-size:12.5px;color:#4A5461}
.filecard.fs-intake{border-left-color:#8A6D00}.filecard.fs-active{border-left-color:var(--ok)}.filecard.fs-review{border-left-color:var(--slate)}.filecard.fs-closed{border-left-color:#9AA4B2}.filecard.fs-archived{border-left-color:#6B7480}
.board{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.bcol{background:rgba(255,255,255,.55);border:1px solid rgba(20,30,45,.1);border-radius:10px;padding:10px;min-height:120px}
.bcol > h4{margin:0 0 8px;font-size:13.5px;color:#1A2027}
.bcard{background:#fff;border:1px solid var(--edge);border-radius:8px;padding:8px 10px;margin-bottom:8px;font-size:13px;box-shadow:var(--shadow-crisp);transition:transform .12s ease-out, box-shadow .12s ease-out}
.bcard:hover{transform:translateY(-1px);box-shadow:var(--shadow-lift)}
.bcard .mono{font-size:11px;color:#6B7480}
.bcard .ops{display:flex;gap:4px;flex-wrap:wrap;margin-top:6px}
.linkbtn{background:none;border:0;color:var(--slate);font-weight:700;padding:0;text-decoration:underline;text-underline-offset:2px}
.linkbtn:hover{color:#1A2027}

/* Sheets: person dossier cards + evidence items */
.sheet{background:#fff;border:1px solid rgba(20,30,45,.1);border-radius:12px;margin-bottom:12px;box-shadow:var(--shadow-crisp)}
.sheet-pad{padding:14px 16px}
.sheet summary{list-style:none;cursor:pointer;padding:13px 16px;font-weight:700;font-family:'Zilla Slab',serif;font-size:17px;border-radius:12px;transition:background .12s ease-out}
.sheet summary::-webkit-details-marker{display:none}
.sheet summary:hover{background:#F6F8FB}
.sheet summary::before{content:"+";display:inline-block;width:18px;color:var(--brass);font-family:'Public Sans',sans-serif;transition:transform .15s ease-out}
.sheet[open] summary::before{transform:rotate(45deg)}
.sheet[open] summary{border-bottom:1px solid var(--line);border-radius:12px 12px 0 0}
.sheet > div:last-child{padding:0 16px 16px}

/* Toasts */
.toasts{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);z-index:120;display:flex;flex-direction:column;gap:8px;align-items:center;pointer-events:none;width:min(480px,92vw)}
.toast{background:rgba(26,32,39,.92);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:#F2EDDC;border:1px solid rgba(255,255,255,.12);border-left:4px solid var(--slate);border-radius:10px;padding:10px 14px;font-size:13.5px;box-shadow:0 12px 32px rgba(0,0,0,.3);opacity:0;transform:translateY(8px);transition:opacity .18s ease-out, transform .18s ease-out;max-width:100%}
.toast.show{opacity:1;transform:none}
.toast.ok{border-left-color:#7FB37E}
.toast.warn{border-left-color:var(--seal)}

/* Dropzone + thumbnails */
.dropzone{border:1.5px dashed #9AA8BC;border-radius:12px;background:#fff;padding:18px;text-align:center;color:#4A5461;font-size:13.5px;transition:border-color .12s ease-out, background .12s ease-out;margin-bottom:12px}
.dropzone.over{border-color:var(--slate);background:#F0F4F8}
.dropzone b{color:#1A2027}
.evthumb{width:100%;max-height:220px;object-fit:cover;border-radius:8px;border:1px solid var(--edge);margin:8px 0 2px;background:#F0F2F5}
.evrow{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}

/* Custody + donut entrances */
@keyframes tapeIn{from{opacity:0;transform:translateX(8px)}to{opacity:1;transform:none}}
.custody-event{animation:tapeIn .25s cubic-bezier(.2,.7,.3,1) both;animation-delay:calc(var(--i,0)*30ms)}
@keyframes popIn{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:none}}
.donutWrap svg{animation:popIn .35s cubic-bezier(.2,.7,.3,1.15) both}
kbd{font-family:'IBM Plex Mono',monospace;font-size:11px;background:#fff;border:1px solid var(--edge);border-bottom-width:2px;border-radius:5px;padding:1px 5px}
@keyframes rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.ledger > *{animation:rise .3s cubic-bezier(.2,.7,.3,1) both;animation-delay:calc(var(--i,0)*45ms)}
@media (prefers-reduced-motion:reduce){.ledger > *,.lockveil.open .lockcard,.sidebar,.navitem,.custody-event,.donutWrap svg{animation:none!important;transition:none!important}*{transition:none!important}}
