.admin{max-width:1220px;padding:0 clamp(1rem,4vw,2.4rem) 4rem;margin:auto}
.login{max-width:510px;margin:6vh auto;padding:0 1rem}
.login h1,.admin h1{font-size:clamp(2rem,5vw,3.4rem);margin-bottom:1rem}
.tabs{display:flex;flex-wrap:wrap;gap:.3rem;margin:0 0 1.5rem;padding:.45rem;background:var(--surface);border-radius:12px}
.tabs a{padding:.48rem .8rem;border-radius:7px;text-decoration:none;font-weight:700}
.tabs a[aria-current]{background:var(--accent);color:var(--dark)}
.tabs a:hover:not([aria-current]){background:var(--surface-raised)}
.catalog-layout{display:grid;grid-template-columns:minmax(260px,1fr) minmax(0,2fr);gap:1rem;align-items:start}
.narrow{max-width:760px}
details{border:1px solid var(--line);border-radius:8px}
summary{padding:.65rem .8rem;cursor:pointer;font-weight:700;overflow-wrap:anywhere}
details[open]>summary{border-bottom:1px solid var(--line)}
details .badge{margin-left:.25rem}
.details-body{padding:.8rem}
.details-body>a[aria-current]{font-weight:800}
section h2,aside h2{font-size:1.35rem}
.queue-row{display:flex;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--line);padding-bottom:.75rem;overflow-wrap:anywhere}
.queue-row:last-child{border-bottom:0;padding-bottom:0}
.queue-row h3{margin:.38rem 0}
.section-heading{justify-content:space-between;margin-bottom:1rem}
.section-heading h1{margin:0}
.badge-queued,.badge-running{background:#645035;color:#ffedc9}
.badge-done{background:#304b39;color:#e1f1d6}
.badge-failed{background:#803753;color:var(--ink)}
.danger{color:#ffb2c4}
.answer-field{width:6rem}
audio{display:block;max-width:100%;height:42px}
pre{margin:.8rem;font-size:.85rem;overflow:auto}
table{border-collapse:collapse;width:100%}
th,td{padding:.32rem .5rem;border-bottom:1px solid var(--line);text-align:left}
@media(max-width:680px){.catalog-layout{grid-template-columns:1fr}.queue-row{display:block}.queue-row form{margin-top:.55rem}.account-name{display:none}}
