/* Filter Lab only: the start card, the readout, Keep / Change / Drop and the picks sheet.
   Everything shared with the in-app camera (rooms, glass, chips, shutter, sheets) lives in
   camera/ui/base.css. Colours are token variables, set at load from src/theme/tokens.json. */

.lab { position: fixed; inset: 0; overflow: hidden; }
.lab[data-state="start"] .view, .lab[data-state="start"] .tray { visibility: hidden; }
.lab:not([data-state="start"]) .start, .lab:not([data-state="start"]) .aura { display: none; }

.title { font: 500 20px/1 var(--title); letter-spacing: 0.02em; margin: 0; padding: 0 16px; height: var(--touch); display: flex; align-items: center; gap: 0.3em; border-radius: 999px; }
.readout { margin-left: auto; height: 32px; padding: 0 12px; border-radius: 999px; display: flex; align-items: center; color: var(--ink); white-space: nowrap; }
.readout.low { color: var(--warn); }

/* Start card, over a slow aura. The aura is decoration, so it always uses the pale lilac and
   champagne, never the text shades. */
.aura { position: absolute; inset: 0; overflow: hidden; background: var(--bg); }
.aura span { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; filter: blur(60px); opacity: 0.55; animation: drift 18s ease-in-out infinite alternate; }
.aura span:nth-child(1) { background: var(--jelly); left: -25vmax; top: -15vmax; }
.aura span:nth-child(2) { background: var(--sugar-dark-accent-lilac); right: -30vmax; top: 20vh; opacity: 0.35; animation-duration: 23s; }
.aura span:nth-child(3) { background: var(--sugar-dark-accent-champagne); left: 0; bottom: -40vmax; opacity: 0.3; animation-duration: 27s; }
.start {
  position: absolute; z-index: 1; left: 16px; right: 16px; top: 50%; transform: translateY(-46%);
  max-width: 420px; margin: 0 auto; padding: 28px 24px 24px; border-radius: 28px;
  display: grid; gap: 14px;
}
.start .display { font-size: 52px; line-height: 1; }
.start .body { margin: 0; color: var(--ink); }
.start-actions { display: grid; gap: 10px; margin-top: 6px; }

.verdict { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px; }
.verdict-name { margin: 0; display: grid; gap: 2px; min-width: 0; }
.verdict-name .name { font: 500 22px/1.1 var(--title); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seg { display: flex; padding: 3px; gap: 2px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); flex: none; }
.seg button { min-height: var(--touch); min-width: 64px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; font: 500 15px/1 var(--title); color: var(--ink); }
.seg button[data-verdict="keep"][aria-pressed="true"] { background: var(--primary); color: var(--on-primary); }
.seg button[data-verdict="change"][aria-pressed="true"] { background: var(--lilac); color: var(--on-primary); }
.seg button[data-verdict="drop"][aria-pressed="true"] { background: var(--surface); color: var(--ink); text-decoration: line-through; box-shadow: 0 0 0 1px var(--line); }

.chip .mark { font-size: 13px; line-height: 1; }
.chip[data-pick="drop"] .label { text-decoration: line-through; }

.picks-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; overflow-y: auto; }
.picks-list li { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 4px; border-bottom: 1px solid var(--line); }
.picks-list .tag { font: 500 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.picks-list .tag.keep { background: var(--primary); color: var(--on-primary); }
.picks-list .tag.change { background: var(--lilac); color: var(--on-primary); }
.picks-list .tag.drop { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1px var(--muted); }

@keyframes drift { to { transform: translate(8vmax, 6vmax) scale(1.08); } }
