/* ACCOUNTS + LOCK ME OUT (accounts.py). Layout only; panels, buttons and fields are kit.css / discipline.css. */
.g{--ac-amber:#ffb23e;--ac-amber-rgb:255,178,62;--ac-red:#ff4a3f;--ac-red-rgb:255,74,63}
.ac-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:20px}
.ac-empty{padding:26px 28px;display:flex;flex-direction:column;gap:14px;max-width:760px}
.ac-empty h2{margin:0;font-size:26px;font-weight:700}
.ac-empty p{margin:0;color:var(--text2);font-size:15.5px;line-height:1.55}

/* summary tiles */
.ac-sum{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.ac-tile{padding:16px 18px;display:flex;flex-direction:column;gap:6px;min-width:0}
.ac-tile .ac-n{font-size:28px;font-weight:700;line-height:1.05;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ac-tile em{font-style:normal;font-size:12.5px;color:var(--muted)}
.ac-tile.amber .ac-n{color:var(--ac-amber);text-shadow:0 0 12px rgba(var(--ac-amber-rgb),.35)}
.ac-tile.red .ac-n{color:var(--ac-red);text-shadow:0 0 12px rgba(var(--ac-red-rgb),.45)}
.ac-link{display:flex;align-items:center;gap:10px}
.ac-link i{width:10px;height:10px;border-radius:50%;background:var(--faint)}
.ac-link.on i{background:#3ff0a0;box-shadow:0 0 8px #3ff0a0}

/* account cards */
.ac-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.ac-card{padding:20px 22px;display:flex;flex-direction:column;gap:16px;--tone:var(--bone);--tone-rgb:var(--bone-rgb)}
.ac-card.t-amber{--tone:var(--ac-amber);--tone-rgb:var(--ac-amber-rgb);--c:var(--ac-amber);--c-rgb:var(--ac-amber-rgb)}
.ac-card.t-red{--tone:var(--ac-red);--tone-rgb:var(--ac-red-rgb);--c:var(--ac-red);--c-rgb:var(--ac-red-rgb)}
.ac-card.t-ok{--c:var(--win);--c-rgb:var(--win-rgb)}
.ac-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap}
.ac-id{display:flex;flex-direction:column;gap:3px;min-width:0}
.ac-id b{font-size:17px;letter-spacing:.06em}
.ac-id span{font-size:13px;color:var(--muted)}
.ac-chips{display:flex;gap:6px;flex-wrap:wrap}
.ac-chip{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 9px;font-size:10.5px;font-weight:700;letter-spacing:.16em;color:var(--text2);border:1px solid var(--line);background:rgba(0,0,0,.25)}
.ac-chip.lead{color:var(--gold);border-color:rgba(var(--gold-rgb),.45)}
.ac-chip.ln i{width:7px;height:7px;border-radius:50%;background:var(--faint)}
.ac-chip.ln.on{color:#3ff0a0}.ac-chip.ln.on i{background:#3ff0a0;box-shadow:0 0 6px #3ff0a0}
.ac-chip.st-safe,.ac-chip.st-target-hit{color:#3ff0a0;border-color:rgba(63,240,160,.35)}
.ac-chip.st-watch{color:var(--ac-amber);border-color:rgba(var(--ac-amber-rgb),.45)}
.ac-chip.st-danger,.ac-chip.st-breached,.ac-chip.st-daily-limit{color:var(--ac-red);border-color:rgba(var(--ac-red-rgb),.55);box-shadow:0 0 10px rgba(var(--ac-red-rgb),.25)}

.ac-room{display:grid;grid-template-columns:1.25fr 1fr;gap:18px;align-items:end}
.ac-big{display:flex;flex-direction:column;gap:4px;min-width:0}
.ac-big b{font-size:52px;font-weight:700;line-height:1;color:var(--tone);white-space:nowrap}
.ac-big.r b{font-size:40px}
.ac-big em{font-style:normal;font-size:13.5px;color:var(--text2)}
.ac-bar{position:relative;height:10px;background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px var(--line)}
.ac-bar i{display:block;height:100%;background:var(--tone);box-shadow:0 0 12px rgba(var(--tone-rgb),.6)}
.ac-bar s{position:absolute;top:-3px;bottom:-3px;width:1px;background:rgba(237,230,218,.28)}

.ac-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line)}
.ac-stats>div{background:rgba(8,7,7,.92);padding:11px 12px;display:flex;flex-direction:column;gap:3px;min-width:0}
.ac-stats span{font-size:10.5px;font-weight:700;letter-spacing:.14em;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ac-stats b{font-size:17px;font-weight:700;white-space:nowrap}
.ac-stats em{font-style:normal;font-size:12px;color:var(--muted);line-height:1.35}
.ac-stats em.up{color:var(--text2)}.ac-stats em.dn{color:var(--red-soft)}
.ac-stats .t-amber b.tn{color:var(--ac-amber)}.ac-stats .t-red b.tn{color:var(--ac-red)}
.ac-goals{display:flex;flex-direction:column;gap:9px}
.ac-goal{display:grid;grid-template-columns:130px 1fr;gap:4px 14px;align-items:center}
.ac-goal span{font-size:10.5px;font-weight:700;letter-spacing:.14em;color:var(--muted)}
.ac-goal em{grid-column:2;font-style:normal;font-size:12.5px;color:var(--text2)}
.ac-goal.done span{color:#3ff0a0}
.ac-foot{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:12px;color:var(--faint);border-top:1px solid var(--line);padding-top:10px}
.ac-note{margin:0;font-size:12.5px;color:var(--faint);max-width:980px}
@media (max-width:1200px){.ac-sum{grid-template-columns:repeat(3,minmax(0,1fr))}.ac-grid{grid-template-columns:minmax(0,1fr)}}
@media (max-width:640px){.ac-sum{grid-template-columns:repeat(2,minmax(0,1fr))}.ac-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ac-room{grid-template-columns:minmax(0,1fr)}.ac-big b{font-size:42px}.ac-goal{grid-template-columns:minmax(0,1fr)}.ac-goal em{grid-column:1}}

/* EXPIRED list (2026-11-27): the accounts GHOST remembers that aren't connected now */
.ac-expbtn{display:inline-grid;grid-auto-flow:column;place-items:center;gap:8px;cursor:pointer}
.ac-expbtn i{font-style:normal;min-width:20px;padding:1px 6px;font-size:11px;color:var(--text);border:1px solid var(--line);background:rgba(0,0,0,.35)}
.ac-expbtn.on{color:var(--text);border-color:rgba(var(--accent-rgb),.6);box-shadow:inset 0 -2px 0 var(--accent)}
.ac-exp{padding:18px 22px;display:flex;flex-direction:column;gap:14px}
.ac-exp[hidden]{display:none}
.ac-exph{display:flex;flex-wrap:wrap;gap:6px 16px;align-items:baseline}
.ac-exph em{font-style:normal;font-size:12.5px;color:var(--muted)}
.ac-expl{display:flex;flex-direction:column;border:1px solid var(--line)}
.ac-expr{display:grid;grid-template-columns:minmax(220px,2fr) repeat(4,minmax(0,1fr)) 110px;gap:14px;align-items:center;padding:11px 14px;background:rgba(8,7,7,.92);border-top:1px solid var(--line)}
.ac-expr:first-child{border-top:0}
.ac-expr.ac-exprh span{font-size:10.5px;font-weight:700;letter-spacing:.14em;color:var(--muted)}
.ac-expr>b{font-size:16px;font-weight:700;white-space:nowrap}
.ac-expr>b.dn{color:var(--red-soft)}
.ac-expr .ac-chip{justify-self:end}
.ac-chip.st-expired{color:var(--text2);border-color:rgba(237,230,218,.3)}
@media (max-width:900px){.ac-expr.ac-exprh{display:none}.ac-expr{grid-template-columns:repeat(2,minmax(0,1fr))}.ac-expr .ac-id{grid-column:1/-1}.ac-expr>b{display:flex;flex-direction:column;gap:2px}.ac-expr>b::before{content:attr(data-k);font-size:10.5px;letter-spacing:.14em;color:var(--muted)}.ac-expr .ac-chip{justify-self:start}}

/* LOCK ME OUT */
.lk-panel,.lk-confirm{padding:18px 22px;display:flex;flex-direction:column;gap:14px}
.lk-row{display:flex;flex-wrap:wrap;gap:14px 18px;align-items:center}
.lk-pick{display:flex;gap:8px;flex-wrap:wrap}
.lk-pick label{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 12px;border:1px solid var(--line);background:rgba(0,0,0,.25);cursor:pointer;font-size:12px;font-weight:700;letter-spacing:.14em;color:var(--muted)}
.lk-pick label:has(input:checked){color:var(--text);border-color:rgba(var(--accent-rgb),.6);box-shadow:inset 2px 0 0 var(--accent)}
.lk-pick input{accent-color:var(--accent)}
.lk-h{min-height:32px;padding:0 8px;font-size:13px}
.lk-reason{flex:1 1 260px;min-width:0}
.lk-why{margin:0;font-size:13.5px;color:var(--muted);line-height:1.5}
.lk-panel.on .lk-why{flex:1 1 300px;color:var(--text2)}
.lk-big{display:flex;flex-direction:column;gap:4px;min-width:200px}
.lk-big b{font-size:40px;font-weight:700;line-height:1}
.lk-big em{font-style:normal;font-size:13px;color:var(--text2)}
.lk-list{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:6px;color:var(--text2);font-size:14.5px;flex:1 1 320px}
.lk-acts{display:flex;gap:10px;flex-wrap:wrap}
.lk-ext{display:flex;gap:14px;align-items:center;flex-wrap:wrap;font-size:13.5px}
.lk-panel.on{--c:var(--ac-red);--c-rgb:var(--ac-red-rgb)}
.lk-ln{color:var(--red-soft);text-shadow:0 0 8px rgba(var(--red-soft-rgb),.45)}
.lk-ln.on{color:var(--ac-red)}
/* the site-wide banner */
.lk-bar{position:relative;z-index:3;display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:9px 32px;font-size:12.5px;letter-spacing:.12em;color:#ffd6d0;background:linear-gradient(90deg,rgba(255,42,42,.26),rgba(179,23,15,.12) 60%,rgba(0,0,0,0));border-bottom:1px solid rgba(255,42,42,.55);box-shadow:0 0 18px rgba(255,42,42,.18)}
.g a.lk-bar{color:#ffd6d0}
.lk-bar i{width:9px;height:9px;background:var(--ac-red);box-shadow:0 0 8px var(--ac-red);animation:lkPulse 1.6s ease-in-out infinite}
.lk-bar b{font-weight:700;letter-spacing:.24em}
.lk-bar em{font-style:normal;font-weight:700;color:#fff}
.lk-bar .lk-r{color:rgba(255,214,208,.7);letter-spacing:.06em;text-transform:none}
@keyframes lkPulse{50%{opacity:.35}}
@media (prefers-reduced-motion:reduce){.lk-bar i{animation:none}}
@media (max-width:640px){.lk-bar{padding:9px 16px}}
