/* Stark IntraTheater by Stark. Atlas Lab and the command palette. */
.at-box { margin: .6rem 0; }
.at-input { width: 100%; font-size: 1.15rem; min-height: 52px; border-radius: 14px; }
.at-read { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin: .6rem 0; }
.at-chip { background: var(--panel-2); border: 1px solid var(--gold); color: var(--gold-2); border-radius: 999px; padding: .15rem .7rem; font-size: .9rem; }
.at-results { list-style: none; margin: .4rem 0 0; padding: 0; display: grid; gap: .5rem; counter-reset: hit; }
.at-hit { display: flex; gap: .8rem; align-items: center; min-height: 56px; padding: .6rem .9rem; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; color: var(--text); text-decoration: none; }
.at-hit:hover { border-color: var(--gold); }
.at-hit-text { display: flex; flex-direction: column; }
.at-hit-text small, .pal-sub { color: var(--muted); }
.at-icon { font-size: 1.6rem; }
.at-canvas { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); }
.at-canvas { cursor: pointer; }
.at-canvas:hover { border-color: var(--gold); }
.at-canvas:focus-visible { outline: 3px solid var(--focus, var(--gold)); outline-offset: 3px; }
.at-status { min-height: 1.5em; color: var(--muted); }
.at-big { font-size: 1.2rem; }
.at-big strong { font-size: 2rem; color: var(--gold-2); }
.at-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; }
.at-bar { display: grid; grid-template-columns: 9.5em 1fr 3.2em; gap: .5rem; align-items: center; margin: .3rem 0; font-size: .92rem; }
.at-bar-track { display: block; height: .7rem; border-radius: 99px; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; }
.at-bar-fill { display: block; height: 100%; background: var(--accent); }
.at-bar-n { color: var(--muted); text-align: right; }
.pal-btn { display: inline-flex; align-items: center; gap: .4rem; padding: 0 .6rem; }
.pal-kbd { font-size: .75rem; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 0 .35rem; }
.pal { width: min(640px, calc(100vw - 1.5rem)); margin-top: 10vh; }
.pal-body { padding: .9rem; }
.pal-input { width: 100%; font-size: 1.15rem; min-height: 52px; }
.pal-list { list-style: none; margin: .5rem 0; padding: 0; max-height: 50vh; overflow: auto; }
.pal-item { display: flex; gap: .7rem; align-items: baseline; padding: .6rem .7rem; border-radius: 10px; cursor: pointer; min-height: 44px; }
.pal-item.on { background: var(--panel-2); outline: 1px solid var(--gold); }
.pal-label { font-weight: 600; }
.pal-sub { margin-inline-start: auto; font-size: .82rem; text-align: right; }
@media (max-width: 760px) { .pal-kbd { display: none; } .at-bar { grid-template-columns: 7em 1fr 3em; } }
