/* Athr: isolated session ledger surface. */
.athr-launch-slot { margin-top: 2px; }
.athr-trigger { width:100%; min-height:60px; display:flex; align-items:center; gap:11px; padding:10px 12px; border:1px solid rgba(251,191,36,.24); border-radius:14px; color:var(--text-primary); background:linear-gradient(105deg,rgba(251,191,36,.12),rgba(14,21,36,.72) 55%,rgba(14,21,36,.38)); box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 10px 24px rgba(0,0,0,.12); cursor:pointer; text-align:right; transition:transform .2s ease,border-color .2s ease,background .2s ease; }
.athr-trigger:hover,.athr-trigger:focus-visible { border-color:rgba(251,191,36,.58); background:linear-gradient(105deg,rgba(251,191,36,.17),rgba(14,21,36,.8) 55%,rgba(14,21,36,.46)); outline:0; }
.athr-trigger:active { transform:scale(.99); }
.athr-trigger-mark,.athr-heading-mark { width:34px; height:34px; display:grid; place-items:center; flex:0 0 auto; border:1px solid rgba(251,191,36,.32); border-radius:11px; color:#fcd34d; background:rgba(251,191,36,.1); box-shadow:inset 0 1px 0 rgba(255,255,255,.06); }
.athr-trigger-copy { display:grid; gap:1px; min-width:0; }
.athr-trigger-copy strong { font-size:.92rem; font-weight:850; letter-spacing:.01em; }
.athr-trigger-copy small { color:rgba(203,213,225,.65); font-size:.62rem; font-weight:650; }
.athr-trigger-arrow { margin-inline-start:auto; color:rgba(251,191,36,.72); font-size:.72rem; transition:transform .2s ease; }
.athr-trigger:hover .athr-trigger-arrow { transform:translateX(-3px); }

body.athr-open { overflow:hidden; }
.athr-scrim { position:fixed; inset:0; z-index:1590; background:rgba(3,7,18,.72); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); opacity:0; visibility:hidden; transition:opacity .22s ease,visibility 0s linear .22s; }
.athr-view { position:fixed; inset:0; z-index:1600; width:min(720px,100%); height:100dvh; margin:auto; display:flex; flex-direction:column; overflow:hidden; color:var(--text-primary); background:radial-gradient(circle at 85% 0,rgba(251,191,36,.1),transparent 30%),linear-gradient(155deg,#10192a,#070b12 62%); opacity:0; visibility:hidden; transform:translateY(18px) scale(.987); transition:opacity .22s ease,transform .22s ease,visibility 0s linear .22s; }
.athr-view.is-open,.athr-scrim.is-open { opacity:1; visibility:visible; transition-delay:0s; }
.athr-view.is-open { transform:translateY(0) scale(1); }
.athr-view-header { min-height:78px; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:18px 20px 14px; border-bottom:1px solid rgba(148,163,184,.1); }
.athr-heading { display:flex; align-items:center; gap:10px; }
.athr-heading-mark { width:36px; height:36px; border-radius:12px; }
.athr-heading h2 { font-size:1.12rem; line-height:1.1; font-weight:900; letter-spacing:-.025em; }
.athr-heading p { margin-top:3px; color:var(--text-muted); font-size:.63rem; font-weight:700; }
.athr-close { width:32px; height:32px; display:grid; place-items:center; border:1px solid rgba(148,163,184,.15); border-radius:10px; color:var(--text-secondary); background:rgba(255,255,255,.035); cursor:pointer; transition:color .16s ease,border-color .16s ease,background .16s ease; }
.athr-close:hover,.athr-close:focus-visible { color:var(--text-primary); border-color:rgba(148,163,184,.42); background:rgba(255,255,255,.08); outline:0; }

.athr-sessions { display:flex; gap:8px; min-height:80px; padding:13px 20px 12px; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:none; border-bottom:1px solid rgba(148,163,184,.08); }
.athr-sessions::-webkit-scrollbar { display:none; }
.athr-session { min-width:52px; height:53px; display:grid; align-content:center; justify-items:center; gap:2px; padding:5px 7px; border:1px solid rgba(148,163,184,.13); border-radius:11px; color:var(--text-secondary); background:rgba(255,255,255,.025); cursor:pointer; font-family:var(--font-ui); transition:border-color .18s ease,background .18s ease,color .18s ease,transform .18s ease; }
.athr-session:hover,.athr-session:focus-visible { border-color:rgba(251,191,36,.42); color:#fde68a; outline:0; }
.athr-session:active { transform:scale(.96); }
.athr-session.is-active { color:#fff; border-color:rgba(251,191,36,.76); background:linear-gradient(150deg,rgba(251,191,36,.2),rgba(251,191,36,.06)); box-shadow:0 5px 16px rgba(251,191,36,.08),inset 0 1px 0 rgba(255,255,255,.08); }
.athr-session-day { max-width:42px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:.52rem; font-weight:750; }
.athr-session-date { direction:ltr; font-size:.67rem; font-weight:850; letter-spacing:.03em; }
.athr-sessions-state { width:100%; display:flex; align-items:center; gap:8px; color:var(--text-muted); font-size:.66rem; font-weight:700; }
.athr-sessions-state i { color:var(--gold); }

.athr-ledger { flex:1; min-height:0; display:flex; flex-direction:column; padding:14px 14px 0; }
.athr-ledger-head,.athr-entry { display:grid; grid-template-columns:1.18fr 1fr .76fr 1fr .74fr; column-gap:8px; align-items:center; }
.athr-ledger-head { min-height:28px; padding:0 10px; color:rgba(148,163,184,.65); font-size:.52rem; font-weight:800; letter-spacing:.02em; }
.athr-ledger-head span:not(:first-child),.athr-entry > :not(:first-child) { text-align:center; }
.athr-entries { flex:1; overflow-y:auto; overscroll-behavior:contain; padding-bottom:9px; scrollbar-width:thin; scrollbar-color:rgba(148,163,184,.2) transparent; }
.athr-entry { min-height:45px; margin-bottom:5px; padding:6px 10px; border:1px solid rgba(148,163,184,.09); border-radius:10px; background:rgba(255,255,255,.018); transition:border-color .16s ease,background .16s ease; }
.athr-entry:hover { border-color:rgba(148,163,184,.2); background:rgba(255,255,255,.035); }
.athr-symbol { direction:ltr; text-align:right; color:#f8fafc; font-family:Inter,var(--font-ui); font-size:.76rem; font-weight:900; letter-spacing:.035em; }
.athr-price,.athr-time,.athr-duration { direction:ltr; color:rgba(203,213,225,.8); font-family:Inter,var(--font-ui); font-size:.62rem; font-weight:700; white-space:nowrap; }
.athr-gain { direction:ltr; color:#6ee7b7; font-family:Inter,var(--font-ui); font-size:.68rem; font-weight:850; white-space:nowrap; }
.athr-gain.is-dash { color:rgba(148,163,184,.58); }
.athr-empty { min-height:210px; display:grid; place-items:center; align-content:center; gap:9px; padding:20px; text-align:center; border:1px dashed rgba(148,163,184,.16); border-radius:13px; color:var(--text-muted); }
.athr-empty i { color:rgba(251,191,36,.72); font-size:1rem; }
.athr-empty strong { color:var(--text-secondary); font-size:.78rem; }
.athr-empty small { max-width:270px; font-size:.62rem; line-height:1.65; }
.athr-spinner { width:22px; height:22px; border:2px solid rgba(251,191,36,.14); border-top-color:rgba(251,191,36,.9); border-radius:50%; animation:athr-spin .75s linear infinite; }
@keyframes athr-spin { to { transform:rotate(360deg); } }
.athr-footer { padding:10px 20px calc(15px + env(safe-area-inset-bottom)); border-top:1px solid rgba(148,163,184,.1); background:rgba(7,11,18,.44); }
.athr-footer p { color:rgba(148,163,184,.72); font-size:.56rem; font-weight:600; line-height:1.65; }
.athr-footer b { color:#e2e8f0; }
.athr-footer span { display:block; margin-top:7px; color:rgba(251,191,36,.72); font-size:.51rem; font-weight:800; letter-spacing:.02em; }

@media (min-width:721px) { .athr-view { top:16px; bottom:16px; height:auto; border:1px solid rgba(148,163,184,.15); border-radius:20px; box-shadow:0 28px 90px rgba(0,0,0,.55); } }
@media (max-width:370px) { .athr-view-header { padding-inline:14px; } .athr-sessions { padding-inline:14px; } .athr-ledger { padding-inline:8px; } .athr-footer { padding-inline:14px; } .athr-ledger-head,.athr-entry { grid-template-columns:1.07fr .9fr .67fr .95fr .67fr; column-gap:4px; } .athr-entry { padding-inline:6px; } .athr-symbol { font-size:.69rem; } .athr-price,.athr-time,.athr-duration { font-size:.56rem; } .athr-gain { font-size:.61rem; } }
@media (prefers-reduced-motion:reduce) { .athr-trigger,.athr-trigger-arrow,.athr-scrim,.athr-view,.athr-session,.athr-entry { transition-duration:.01ms; } .athr-spinner { animation-duration:1.5s; } }

/* Compact KEYROF shortcut row and reserved coming-soon surface. */
.header-shortcuts { display:grid; grid-template-columns:1.12fr 1fr 1fr; gap:8px; margin-top:2px; }
.athr-launch-slot { min-width:0; margin-top:0; }
.athr-trigger { min-height:54px; gap:9px; padding:8px 10px; border-radius:13px; }
.athr-trigger-mark { width:32px; height:32px; border-radius:10px; }
.athr-trigger-copy strong { font-size:.86rem; }
.athr-trigger-arrow { display:none; }
.header-shortcut { min-width:0; min-height:54px; display:flex; align-items:center; gap:7px; padding:8px 9px; border:1px solid rgba(148,163,184,.16); border-radius:13px; color:var(--text-primary); background:linear-gradient(120deg,rgba(30,41,59,.72),rgba(14,21,36,.48)); box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 8px 20px rgba(0,0,0,.08); cursor:pointer; text-align:right; text-decoration:none; font-family:var(--font-ui); transition:transform .2s ease,border-color .2s ease,background .2s ease; }
.header-shortcut:hover,.header-shortcut:focus-visible { border-color:rgba(99,102,241,.62); background:linear-gradient(120deg,rgba(49,46,129,.3),rgba(14,21,36,.65)); outline:0; }
.header-shortcut:active { transform:scale(.99); }
.header-shortcut > span:last-child { display:grid; gap:1px; min-width:0; }
.header-shortcut strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:.78rem; font-weight:850; }
.header-shortcut small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:rgba(203,213,225,.6); font-size:.55rem; font-weight:650; }
.header-shortcut-mark { width:28px; height:28px; display:grid; place-items:center; flex:0 0 auto; border:1px solid rgba(148,163,184,.22); border-radius:9px; color:#a5b4fc; background:rgba(99,102,241,.1); }
.header-shortcut--learn .header-shortcut-mark { color:#fcd34d; border-color:rgba(251,191,36,.28); background:rgba(251,191,36,.09); }
.header-shortcut--future .header-shortcut-mark { color:#93c5fd; border-color:rgba(96,165,250,.28); background:rgba(59,130,246,.09); }
.coming-soon-scrim { position:fixed; inset:0; z-index:1640; background:rgba(3,7,18,.72); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); opacity:0; visibility:hidden; transition:opacity .22s ease,visibility 0s linear .22s; }
.coming-soon-view { position:fixed; inset:50% auto auto 50%; z-index:1650; width:min(340px,calc(100% - 32px)); padding:26px 24px 24px; border:1px solid rgba(148,163,184,.2); border-radius:20px; color:var(--text-primary); background:linear-gradient(145deg,rgba(20,30,49,.98),rgba(7,11,18,.98)); box-shadow:0 24px 80px rgba(0,0,0,.46),inset 0 1px 0 rgba(255,255,255,.05); text-align:center; opacity:0; visibility:hidden; transform:translate(-50%,-46%) scale(.97); transition:opacity .22s ease,visibility 0s linear .22s,transform .22s ease; }
.coming-soon-view.is-open,.coming-soon-scrim.is-open { opacity:1; visibility:visible; transition-delay:0s; }
.coming-soon-view.is-open { transform:translate(-50%,-50%) scale(1); }
.coming-soon-close { position:absolute; top:10px; inset-inline-end:10px; width:30px; height:30px; display:grid; place-items:center; border:1px solid rgba(148,163,184,.18); border-radius:9px; color:var(--text-muted); background:rgba(15,23,42,.56); cursor:pointer; }
.coming-soon-close:hover,.coming-soon-close:focus-visible { color:var(--text-primary); border-color:rgba(148,163,184,.4); outline:0; }
.coming-soon-mark { width:48px; height:48px; display:grid; place-items:center; margin:0 auto 13px; border:1px solid rgba(251,191,36,.3); border-radius:15px; color:#fcd34d; background:rgba(251,191,36,.1); box-shadow:inset 0 1px 0 rgba(255,255,255,.07); }
.coming-soon-eyebrow { margin-bottom:5px; color:rgba(251,191,36,.76); font-family:Inter,var(--font-ui); font-size:.58rem; font-weight:850; letter-spacing:.13em; }
.coming-soon-view h2 { font-size:1.05rem; font-weight:900; }
.coming-soon-view > p:last-child { margin-top:7px; color:var(--text-muted); font-size:.72rem; line-height:1.7; }
@media (max-width:370px) { .header-shortcuts { gap:6px; } .athr-trigger,.header-shortcut { padding-inline:7px; gap:6px; } .athr-trigger-mark { width:29px; height:29px; } .header-shortcut-mark { width:26px; height:26px; } .athr-trigger-copy small,.header-shortcut small { font-size:.5rem; } }
