/* Ethos header tools: View as of + Export menus, as-of banner, toast. Brand: ink #030303, purple #9244E6. */
.et-pop{position:fixed;z-index:1500;width:400px;max-width:calc(100vw - 24px);background:#fff;color:#030303;border-radius:12px;box-shadow:0 22px 60px rgba(0,0,0,.35),0 0 0 1px #030303;font-family:'Hanken Grotesk',-apple-system,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.35;overflow:hidden;animation:et-in .12s ease-out}
.et-pop.et-export{width:420px}
@keyframes et-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.et-pop svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
.et-grab{display:none}
.et-h{display:flex;align-items:center;gap:12px;padding:14px 14px 12px 16px;border-bottom:1px solid #E6E6E8}
.et-h>div{flex:1;min-width:0}.et-h b{display:block;font-size:15.5px}.et-h small{display:block;font:11.5px 'Space Mono',monospace;color:#626266;margin-top:2px}
.et-hi{width:34px;height:34px;border-radius:9px;background:#030303;color:#fff;display:flex;align-items:center;justify-content:center}
.et-x{width:32px;height:32px;border:0;background:#F0F0F2;border-radius:50%;color:#3A3A3F;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}.et-x svg{width:14px;height:14px}.et-x:hover{background:#E2E2E6}
.et-list{padding:6px;max-height:min(420px,60vh);overflow:auto}
.et-it{width:100%;display:flex;align-items:center;gap:12px;border:0;background:none;text-align:left;padding:10px 10px;border-radius:9px;font:inherit;color:inherit;cursor:pointer;position:relative}
.et-it:hover,.et-it:focus-visible{background:#F4F0FD;outline:0}
.et-it:focus-visible{box-shadow:inset 0 0 0 2px #9244E6}
.et-d{flex:1;min-width:0}.et-d b{display:block;font-weight:650;font-size:14.5px}.et-d small{display:block;color:#626266;font-size:12.5px;margin-top:1px}
.et-snap.on{background:#F1ECFD}.et-snap.on b{color:#481166}
.et-ck{width:20px;color:#9244E6;display:flex}
.et-fi{width:36px;height:36px;border-radius:9px;display:flex;align-items:center;justify-content:center}
.et-fi.t-pdf{background:#030303;color:#fff}.et-fi.t-xls{background:#E3F1EA;color:#1D5B3B}.et-fi.t-csv{background:#E4EDFB;color:#1D4C99}.et-fi.t-link{background:#F1ECFD;color:#481166}
.et-it kbd{font:10.5px 'Space Mono',monospace;color:#626266;border:1px solid #D0D0D4;border-radius:5px;padding:2px 6px;min-width:42px;text-align:center;display:inline-flex;justify-content:center}
.et-it.busy{cursor:progress}.et-it.busy small{color:#481166;font-weight:600}
.et-spin{width:12px;height:12px;border-radius:50%;border:2px solid #E2E2E6;border-top-color:#9244E6;display:inline-block;animation:et-sp .7s linear infinite}@keyframes et-sp{to{transform:rotate(360deg)}}
.et-foot{padding:10px 16px 12px;border-top:1px solid #E6E6E8;background:#FAFAFB;font-size:12px;color:#626266}
.eh-tools .et-asof-btn.past{border-color:#9244E6 !important;background:#2A1640 !important}
/* banner */
#et-asof-bar{position:sticky;top:0;z-index:40;display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;padding:9px 20px;background:#F1ECFD;border-bottom:1px solid #CBB0F5;color:#1D0C2B;font:14px 'Hanken Grotesk',-apple-system,Helvetica,Arial,sans-serif}
#et-asof-bar span{display:inline-flex;align-items:center;gap:9px;flex-wrap:wrap}
#et-asof-bar svg{width:17px;height:17px;fill:none;stroke:#9244E6;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
#et-asof-bar .et-sub{font-style:normal;color:#5B4A6B;font-size:13px}
#et-asof-bar a{font-weight:700;color:#fff;background:#030303;border-radius:6px;padding:5px 12px;text-decoration:none;white-space:nowrap}
#et-asof-bar a:hover{background:#481166}
/* toast */
#et-toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);opacity:0;pointer-events:none;z-index:2100;background:#030303;color:#fff;border-radius:10px;padding:12px 16px;display:flex;align-items:center;gap:10px;font:600 14px 'Hanken Grotesk',sans-serif;box-shadow:0 12px 32px rgba(0,0,0,.3);transition:.2s;max-width:calc(100vw - 32px)}
#et-toast.on{opacity:1;transform:translate(-50%,0)}#et-toast.err{background:#8C1D44}
#et-toast svg{width:18px;height:18px;fill:none;stroke:#B794F6;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;flex:none}
#et-toast small{display:block;font:11.5px 'Space Mono',monospace;color:#B8B8BC;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:60vw;margin-left:4px}
/* mobile: tools inside the slide-in menu; menus become bottom sheets */
.et-mt{display:none}
@media (max-width:1099px){
  .et-mt{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 14px}
  .et-mb{display:flex;align-items:center;gap:9px;text-align:left;border:1px solid #D0D0D4;background:#fff;border-radius:10px;padding:10px;font:600 13.5px 'Hanken Grotesk',sans-serif;color:#030303;cursor:pointer;min-height:56px}
  .et-mb.pri{background:#030303;color:#fff;border-color:#030303}
  .et-mb svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
  .et-mb b{display:block;font:11px 'Space Mono',monospace;font-weight:400;color:#626266;margin-top:2px}.et-mb.pri b{color:#B8B8BC}
  html.et-sheet{overflow:hidden}
  html.et-sheet .et-pop{left:0 !important;right:0;top:auto !important;bottom:0;width:100%;max-width:none;border-radius:16px 16px 0 0;box-shadow:0 -10px 40px rgba(0,0,0,.35);padding-bottom:env(safe-area-inset-bottom);animation:et-up .18s ease-out}
  html.et-sheet::after{content:"";position:fixed;inset:0;background:rgba(3,3,3,.5);z-index:1499}
  .et-grab{display:block;width:40px;height:4px;border-radius:2px;background:#D0D0D4;margin:8px auto 0}
  .et-it{padding:13px 10px}
  .et-list{max-height:60vh}
  #et-asof-bar{justify-content:space-between;padding:8px 14px;font-size:13px;gap:8px}
  #et-asof-bar .et-sub{display:none}
}
@keyframes et-up{from{transform:translateY(30px);opacity:.6}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.et-pop{animation:none}#et-toast{transition:none}}
