:root {
  --bg: #0b1016;
  --panel: #121a23;
  --panel-2: #17212c;
  --line: #223040;
  --text: #e7edf3;
  --muted: #8a99a8;
  --accent: #ff8a3d;       /* saffron */
  --accent-2: #ffb27a;
  --live: #3ddc97;
  --saved: #7fb3ff;
  --bad: #ff6b6b;
  --warn: #ffc857;
  --radius: 14px;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  min-height: 100vh;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(255, 138, 61, .08), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(127, 179, 255, .06), transparent 60%),
    var(--bg);
}
button { font: inherit; color: inherit; cursor: pointer; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.mono { font-family: "Cascadia Mono", Consolas, monospace; font-size: .82em; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- top bar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 32px; border-bottom: 1px solid var(--line);
  background: rgba(11, 16, 22, .75); backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 5;
}
.brand { display: flex; align-items: center; gap: 14px; }
.logo { width: 44px; height: 44px; color: var(--accent); stroke-width: 1.5; }
.logo rect { stroke: none; }
.brand h1 { margin: 0; font-size: 1.35rem; letter-spacing: .01em; }
.brand p { margin: 2px 0 0; color: var(--muted); font-size: .88rem; }
.top-right { display: flex; align-items: center; gap: 18px; }
.team { color: var(--accent-2); font-weight: 600; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px; font-size: .82rem;
  border: 1px solid var(--line); background: var(--panel);
}
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.pill-on i { background: var(--live); box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); animation: ping 2s infinite; }
.pill-off i { background: var(--warn); }
.pill-warn { border-color: rgba(255, 107, 107, .5); color: var(--bad); }
.pill-warn i { background: var(--bad); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, .55); } 80%, 100% { box-shadow: 0 0 0 8px rgba(61, 220, 151, 0); } }


/* ---------- layout ---------- */
main { max-width: 1320px; margin: 0 auto; padding: 24px 32px 40px; }

.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.mode {
  display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 14px 16px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line);
  transition: border-color .15s, background .15s, transform .15s;
}
.mode:hover { border-color: #33475c; transform: translateY(-1px); }
.mode svg { width: 30px; height: 30px; flex: none; color: var(--muted); }
.mode b { display: block; font-size: .98rem; }
.mode small { color: var(--muted); font-size: .8rem; }
.mode.active { border-color: var(--accent); background: linear-gradient(180deg, rgba(255, 138, 61, .10), rgba(255, 138, 61, .02)); }
.mode.active svg { color: var(--accent); }

.workspace { display: grid; grid-template-columns: minmax(320px, 5fr) 7fr; gap: 18px; align-items: start; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }

/* ---------- inputs ---------- */
.slots { display: grid; gap: 12px; }
.slots[data-n="2"] { grid-template-columns: 1fr 1fr; }
.slot {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 200px; border-radius: 12px; overflow: hidden; cursor: pointer;
  border: 1.5px dashed #2c3d50; background: var(--panel-2);
  transition: border-color .15s, background .15s;
}
.slots[data-n="1"] .slot { min-height: 280px; }
.slot:hover, .slot.drag { border-color: var(--accent); background: #1b2733; }
.slots.busy .slot { pointer-events: none; opacity: .75; } /* no image swaps while a question runs */
.slot input { display: none; }
.slot img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.slot.filled { border-style: solid; border-color: #2c3d50; }
.slot-label {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  font-size: .75rem; padding: 3px 8px; border-radius: 6px;
  background: rgba(11, 16, 22, .78); color: var(--text);
}
.slot-drop { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); font-size: .85rem; padding: 20px; text-align: center; }
.slot-drop svg { width: 28px; height: 28px; }
.slot-file { color: var(--muted); font-size: .85rem; padding: 20px; text-align: center; }
.slot-clear {
  position: absolute; top: 6px; right: 6px; z-index: 2; width: 26px; height: 26px; border-radius: 50%;
  border: none; background: rgba(11, 16, 22, .78); font-size: 1rem; line-height: 1;
}
.slot-clear:hover { background: var(--bad); }

.dates { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.dates label { display: flex; flex-direction: column; gap: 6px; font-size: .78rem; color: var(--muted); }
input:not([type]), textarea {
  font: inherit; color: var(--text); background: var(--panel-2);
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; outline: none;
}
input:not([type]):focus, textarea:focus { border-color: var(--accent); }
.field-label { display: block; margin: 16px 0 6px; font-size: .8rem; color: var(--muted); }
textarea { width: 100%; resize: vertical; line-height: 1.45; }

.run {
  margin-top: 12px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px; border: none; border-radius: 10px; font-weight: 600; font-size: 1rem;
  background: var(--accent); color: #1a0e05; transition: filter .15s, transform .1s;
}
.run svg { width: 18px; height: 18px; stroke-width: 2.4; }
.run:hover { filter: brightness(1.08); }
.run:active { transform: scale(.99); }
.run:disabled { filter: grayscale(.7) brightness(.7); cursor: progress; }
.hint { margin: 10px 2px 0; font-size: .8rem; color: var(--muted); min-height: 1.2em; }
.shake { animation: shake .35s; color: var(--warn); }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* ---------- result ---------- */
.result-panel { min-height: 420px; scroll-margin-top: 104px; }
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 380px; color: var(--muted); padding: 0 40px; }
.empty-state svg { width: 76px; height: 76px; color: var(--accent); margin-bottom: 12px; }
.empty-state h3 { color: var(--text); margin: 6px 0; font-weight: 600; }
.empty-state p { max-width: 420px; margin: 0; line-height: 1.5; }

.loading { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 240px; text-align: center; }

/* ---------- pipeline strip ---------- */
.pipeline {
  list-style: none; margin: 0 0 18px; padding: 14px 12px; display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px;
}
.stage { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 6px; min-width: 0; }
.stage:not(:last-child)::after {
  content: ""; position: absolute; top: 17px; left: calc(50% + 22px); right: calc(-50% + 22px);
  height: 2px; background: var(--line); transition: background .3s;
}
.stage.done.ok:not(:last-child)::after, .stage.done.warn:not(:last-child)::after { background: rgba(61, 220, 151, .45); }
.stage-dot {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--line); background: var(--panel); color: var(--muted);
  transition: border-color .3s, background .3s, color .3s, transform .3s;
}
.stage-dot svg { width: 18px; height: 18px; }
.stage-body { margin-top: 8px; min-width: 0; }
.stage-title { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); transition: color .3s; }
.stage-detail {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  margin-top: 3px; font-size: .72rem; line-height: 1.3; color: var(--muted); min-height: 1.9em;
}
.stage.active .stage-dot { border-color: var(--accent); color: var(--accent); animation: stagepulse 1.2s ease-in-out infinite; }
.stage.active .stage-title { color: var(--text); }
.stage.done .stage-dot { transform: scale(1); }
.stage.done.ok .stage-dot { border-color: var(--live); background: rgba(61, 220, 151, .12); color: var(--live); animation: stagein .35s ease-out; }
.stage.done.warn .stage-dot { border-color: var(--warn); background: rgba(255, 200, 87, .12); color: var(--warn); animation: stagein .35s ease-out; }
.stage.done.bad .stage-dot { border-color: var(--bad); background: rgba(255, 107, 107, .12); color: var(--bad); animation: stagein .35s ease-out; }
.stage.done.skip { opacity: .45; }
.stage.done:not(.skip) .stage-title { color: var(--text); }
@keyframes stagepulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 138, 61, .45); } 50% { box-shadow: 0 0 0 7px rgba(255, 138, 61, 0); } }
@keyframes stagein { from { transform: scale(.6); opacity: .3; } to { transform: scale(1); opacity: 1; } }
@media (max-width: 640px) {
  .pipeline { grid-template-columns: 1fr; gap: 10px; }
  .stage { flex-direction: row; text-align: left; gap: 10px; }
  .stage:not(:last-child)::after { display: none; }
  .stage-body { margin-top: 0; }
}
.loading p { margin: 6px 0 0; }
#loadingText { font-weight: 600; margin-top: 18px; }
.radar {
  width: 92px; height: 92px; border-radius: 50%; position: relative;
  border: 1px solid rgba(255, 138, 61, .35);
  background:
    radial-gradient(circle, transparent 30%, rgba(255, 138, 61, .06) 31%, transparent 32%),
    radial-gradient(circle, transparent 62%, rgba(255, 138, 61, .10) 63%, transparent 64%);
}
.radar::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255, 138, 61, .55), transparent 25%);
  animation: sweep 1.4s linear infinite;
}
@keyframes sweep { to { transform: rotate(360deg); } }

.answer-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; }
.badge { font-size: .78rem; padding: 4px 10px; border-radius: 999px; border: 1px solid; }
.badge-live { color: var(--live); border-color: rgba(61, 220, 151, .45); background: rgba(61, 220, 151, .08); }
.badge-saved { color: var(--saved); border-color: rgba(127, 179, 255, .45); background: rgba(127, 179, 255, .08); }
.badge-err { color: var(--bad); border-color: rgba(255, 107, 107, .45); background: rgba(255, 107, 107, .08); }
.notice { font-size: .8rem; color: var(--warn); }
.answer { font-size: 1.12rem; line-height: 1.55; margin: 4px 0 16px; position: relative; }
.answer.folded { max-height: 300px; overflow: hidden; padding-bottom: 36px; }
.answer.folded::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(transparent, var(--panel)); pointer-events: none; }
.ans-more {
  position: absolute; left: 0; bottom: 0; z-index: 1; border: 1px solid var(--line); background: var(--panel-2);
  color: var(--accent-2); font-size: .8rem; padding: 4px 12px; border-radius: 999px;
}
.answer:not(.folded) .ans-more { position: static; margin-top: 8px; }
.ans-section + .ans-section { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.ans-label { display: inline-block; margin-bottom: 6px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); }
.ans-plain { margin: 0; white-space: pre-wrap; }
.ans-text p { margin: 0 0 8px; }
.ans-text ul { margin: 2px 0 10px; padding-left: 20px; }
.ans-text li { margin: 3px 0; }
.ans-text li::marker { color: var(--accent); }
.ans-sub { margin: 12px 0 4px; font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.ans-text > :first-child { margin-top: 0; }
.ans-pill {
  display: inline-block; padding: 4px 16px; border-radius: 999px; font-size: 1.25rem; font-weight: 700;
  background: rgba(127, 179, 255, .12); border: 1px solid rgba(127, 179, 255, .45); color: var(--text);
}
.ans-count { display: flex; flex-direction: column; gap: 2px; }
.ans-q { font-size: .82rem; color: var(--muted); }
.ans-num { font-size: 2.4rem; font-weight: 700; line-height: 1.1; color: var(--text); }
.ans-choice { font-size: 1.2rem; font-weight: 600; }
.ans-letter { display: inline-grid; place-items: center; min-width: 2em; padding: 2px 6px; margin-right: 4px; border-radius: 8px; background: rgba(255, 138, 61, .15); color: var(--accent-2); }
.ans-region { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ans-coords { font-size: .78rem; color: var(--muted); font-family: "Cascadia Mono", Consolas, monospace; }
.answer-notes { margin: -8px 0 16px; font-size: .8rem; color: var(--muted); border-left: 2px solid var(--line); padding-left: 10px; }
.answer-failed { color: var(--warn); font-size: 1.05rem; }

.viewer { margin-bottom: 18px; }
.frames { display: grid; gap: 12px; }
.frames[data-n="2"] { grid-template-columns: 1fr 1fr; }

/* ---------- view toggle + swipe compare ---------- */
.view-toggle { display: inline-flex; margin-bottom: 10px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel-2); }
.view-toggle .seg { border: 0; background: transparent; color: var(--muted); font-size: .78rem; padding: 5px 14px; border-radius: 999px; }
.view-toggle .seg.on { background: var(--accent); color: #1a0e05; font-weight: 600; }
.view-toggle .seg:not(.on):hover { color: var(--text); }
.compare {
  position: relative; width: 100%; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #000;
  cursor: ew-resize; touch-action: none; user-select: none; outline: none;
}
.compare:focus-visible { box-shadow: 0 0 0 2px var(--accent); }
.cmp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; display: block; pointer-events: none; }
.cmp-top { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); }
.cmp-boxes { position: absolute; inset: 0; pointer-events: none; }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 0; pointer-events: none; }
.cmp-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: #fff; box-shadow: 0 0 6px rgba(0, 0, 0, .6); }
.cmp-knob {
  position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%);
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #1a0e05; box-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}
.cmp-knob svg { width: 20px; height: 20px; stroke-width: 2.4; }
.cmp-tag {
  position: absolute; top: 10px; padding: 3px 9px; border-radius: 6px; font-size: .74rem; font-weight: 600;
  background: rgba(11, 16, 22, .78); color: var(--text); pointer-events: none; transition: opacity .15s; line-height: 1.3;
}
.cmp-tag-l { left: 10px; }
.cmp-tag-r { right: 10px; }
.frame { margin: 0; }
.frame-img { position: relative; border-radius: 12px; overflow: hidden; background: #000; line-height: 0; }
.frame-img img { width: 100%; display: block; }
.frame figcaption { margin-top: 6px; font-size: .78rem; color: var(--muted); }
.thumb-tiff { display: grid; place-items: center; background: var(--panel-2); color: var(--muted); font-size: .75rem; aspect-ratio: 1; line-height: 1.3; }
.thumb-tiff.big { font-size: .9rem; padding: 20px; }

.bbox {
  position: absolute; border: 2.5px solid var(--accent); border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .55), 0 0 18px rgba(255, 138, 61, .55);
  animation: pop .45s ease-out;
}
.bbox-label {
  position: absolute; left: -2.5px; bottom: 100%; margin-bottom: 3px;
  background: var(--accent); color: #1a0e05; font-size: .72rem; font-weight: 600; line-height: 1.2;
  padding: 2px 6px; border-radius: 4px; white-space: nowrap;
}
.bbox.label-inside .bbox-label { bottom: auto; top: 0; left: 0; margin: 0; border-radius: 0 0 4px 0; }
.bbox.label-right .bbox-label { left: auto; right: -2.5px; }
.bbox.label-inside.label-right .bbox-label { right: 0; border-radius: 0 0 0 4px; }
@keyframes pop { from { transform: scale(1.25); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.timeline-title { margin: 6px 0 10px; font-size: .9rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 4px; counter-reset: s; }
.step { position: relative; padding: 0 0 14px 34px; counter-increment: s; }
.step::before {
  content: counter(s); position: absolute; left: 0; top: -1px;
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-size: .72rem; font-weight: 700; color: #0b1016; background: var(--live);
}
.step:not(:last-child)::after { content: ""; position: absolute; left: 10.5px; top: 24px; bottom: 2px; width: 1px; background: var(--line); }
.step.warn::before { background: var(--warn); }
.step.bad::before { background: var(--bad); }
.step b { font-weight: 600; }
.step-detail { color: var(--muted); margin-left: 8px; }
.step small { display: block; margin-top: 3px; font-size: .75rem; }

.exec { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: .82rem; }
.exec th { text-align: left; font-weight: 500; color: var(--muted); padding: 6px 8px; border-bottom: 1px solid var(--line); }
.exec td { padding: 7px 8px; border-bottom: 1px solid #1a2531; vertical-align: top; }
.exec td.mono { word-break: break-all; color: #c7d2dd; }
.exec .num { text-align: right; white-space: nowrap; }
.st-success { color: var(--live); }
.st-error { color: var(--bad); }
.st-skipped { color: var(--warn); }
.chip { display: inline-block; font-size: .72rem; padding: 2px 8px; border-radius: 999px; white-space: nowrap; border: 1px solid; }
.chip-fine-tuned { color: var(--accent-2); border-color: rgba(255, 138, 61, .5); background: rgba(255, 138, 61, .1); }
.chip-base { color: var(--saved); border-color: rgba(127, 179, 255, .45); }
.chip-interim { color: var(--warn); border-color: rgba(255, 200, 87, .45); }
.chip-api, .chip-test { color: var(--bad); border-color: rgba(255, 107, 107, .5); }

.actions { display: flex; gap: 10px; margin-top: 8px; }
.ghost { background: transparent; border: 1px solid var(--line); border-radius: 8px; padding: 7px 12px; font-size: .82rem; color: var(--muted); }
.ghost:hover { color: var(--text); border-color: #33475c; }
.trace {
  margin: 12px 0 0; max-height: 360px; overflow: auto; padding: 12px; border-radius: 10px;
  background: #0a0e13; border: 1px solid var(--line); font-size: .75rem; line-height: 1.45; color: #b9c6d3;
}

/* ---------- examples ---------- */
.examples { margin-top: 28px; }
.section-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.section-head h2 { margin: 0; font-size: 1.1rem; }
.section-head p { margin: 0; font-size: .85rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.card {
  display: flex; flex-direction: column; text-align: left; padding: 0; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  transition: border-color .15s, transform .15s;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.thumbs { display: flex; gap: 2px; background: #000; }
.thumbs img, .thumbs .thumb-tiff { flex: 1; min-width: 0; aspect-ratio: 1; object-fit: cover; }
.card-q { margin: 0; padding: 10px 12px 12px; font-size: .84rem; line-height: 1.4; }
.card-tag {
  align-self: flex-start; margin: 10px 12px 0; font-size: .68rem; padding: 2px 8px; border-radius: 999px;
  color: var(--warn); border: 1px solid rgba(255, 200, 87, .45);
}
.card-tag-live { color: var(--saved); border-color: rgba(127, 179, 255, .45); }

/* ---------- about ---------- */
.about { margin-top: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.about summary { cursor: pointer; font-weight: 600; }
.about table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: .84rem; }
.about th { text-align: left; color: var(--muted); font-weight: 500; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.about td { padding: 8px; border-bottom: 1px solid #1a2531; vertical-align: top; line-height: 1.45; }
.about p { font-size: .82rem; margin: 12px 0 0; }

footer { text-align: center; color: var(--muted); font-size: .78rem; padding: 10px 0 28px; }

@media (max-width: 900px) {
  .workspace { grid-template-columns: 1fr; }
  .modes { grid-template-columns: 1fr; }
  .topbar { flex-wrap: wrap; padding: 14px 18px; }
  main { padding: 18px; }
}

/* ---------- satellite metadata line + coordinates ---------- */
.meta-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-top: 5px; font-size: .74rem; color: var(--muted); line-height: 1.45; }
.meta-tag { font-size: .66rem; font-weight: 700; letter-spacing: .05em; padding: 1px 6px; border-radius: 4px; color: var(--live); border: 1px solid rgba(61, 220, 151, .45); }
.meta-which { font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-2); }
.ans-coords-list { margin: 8px 0 0; padding-left: 18px; font-size: .9rem; color: var(--text); font-family: "Cascadia Mono", Consolas, monospace; }
.ans-coords-list li { margin: 2px 0; }
.ans-coords-list li::marker { color: var(--accent); }

/* ---------- access code screen ---------- */
.login {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px;
  background: rgba(5, 8, 12, .78); backdrop-filter: blur(6px);
}
.login-card {
  width: min(380px, 100%); display: grid; gap: 12px; padding: 26px 24px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
}
.login-card h2 { margin: 0; font-size: 1.25rem; }
.login-card p { margin: 0; font-size: .9rem; }
.login-card input {
  font: inherit; color: var(--text); background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 10px; padding: 11px 12px; outline: none;
}
.login-card input:focus { border-color: var(--accent); }
.login-card .run { width: 100%; justify-content: center; }
.login-err { color: var(--bad); min-height: 1.2em; }
