/* Tracker 2.0 · Photo Lab controls as real buttons (Claude, 2026-10-08).
   Quick edits become toggle tiles (the checkbox stays in the DOM for keyboard/screen readers, just not drawn),
   TV screen choices become chips (ui2-photo.js),. Theme tokens only. */
html.ui2 #view .u2p-options label:has(input[type=checkbox]) { position:relative; gap:0!important; padding:13px 30px 13px 13px!important; border-radius:12px; transition:transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease; user-select:none; }
html.ui2 #view .u2p-options label:has(input[type=checkbox]) input { position:absolute; opacity:0; width:1px; height:1px; margin:0; pointer-events:none; }
html.ui2 #view .u2p-options label:has(input[type=checkbox]):hover { border-color:var(--accent); transform:translateY(-1px); box-shadow:0 4px 14px rgba(124,58,237,.12); }
html.ui2 #view .u2p-options label:has(input[type=checkbox]):active { transform:translateY(0) scale(.98); }
html.ui2 #view .u2p-options label:has(input[type=checkbox]:focus-visible) { outline:3px solid var(--accent); outline-offset:2px; }
html.ui2 #view .u2p-options label:has(input[type=checkbox]:checked) { background:linear-gradient(135deg,var(--accent),var(--accent-2)); border-color:transparent; color:var(--on-accent); box-shadow:0 8px 20px rgba(124,58,237,.28); }
html.ui2 #view .u2p-options label:has(input[type=checkbox]:checked) small { color:var(--on-accent); opacity:.85; }
html.ui2 #view .u2p-options label:has(input[type=checkbox])::after { content:"+"; position:absolute; top:10px; right:11px; width:16px; height:16px; display:grid; place-items:center; border-radius:50%; font-size:12px; font-weight:700; line-height:1; color:var(--text-muted); border:1px solid var(--border); }
html.ui2 #view .u2p-options label:has(input[type=checkbox]:checked)::after { content:"✓"; color:var(--accent); background:var(--on-accent); border-color:transparent; }
html.ui2 #view .u2p-option-text { font-size:12px; }

/* TV screen chips (the original <select> stays, hidden, and still drives pxSet) */
html.ui2 #view .u2p-tv.u2ph-has-chips select { position:absolute; opacity:0; width:1px; height:1px; pointer-events:none; }
html.ui2 #view .u2ph-chips { display:flex; flex-wrap:wrap; gap:6px; }
html.ui2 #view .u2ph-chips button { min-height:34px; padding:7px 12px; border-radius:var(--radius-sm,10px); border:1px solid var(--border); background:var(--surface); color:var(--text); font-size:11.5px; font-weight:600; cursor:pointer; box-shadow:none; transition:border-color .12s ease, background .12s ease, transform .12s ease; }
html.ui2 #view .u2ph-chips button:hover { border-color:var(--accent); transform:translateY(-1px); }
html.ui2 #view .u2ph-chips button[aria-pressed="true"] { background:linear-gradient(135deg,var(--accent),var(--accent-2)); color:var(--on-accent); border-color:transparent; box-shadow:0 6px 16px rgba(124,58,237,.25); }
html.ui2 #view .u2ph-chips button:focus-visible { outline:3px solid var(--accent); outline-offset:2px; }

@media (prefers-reduced-motion:reduce) { html.ui2 #view .u2p-options label, html.ui2 #view .u2ph-chips button { transition:none; transform:none!important; } }

/* Same-size quick-edit buttons (Colin, 2026-10-08) */
html.ui2 #view .u2p-options { align-items:stretch!important; }
html.ui2 #view .u2p-options label:has(input[type=checkbox]) { min-height:78px; height:100%; box-sizing:border-box; }
@media (max-width:700px) { html.ui2 #view .u2p-options label:has(input[type=checkbox]) { min-height:52px; } }
/* Selected photos */
html.ui2 #view .u2p-photo:has(.px-sel[aria-pressed="true"]) { outline:2px solid var(--accent); outline-offset:2px; }
html.ui2 #view .px-selbar .ghost { min-height:32px!important; }

/* Click a photo to select it: no Select button, a check badge on the picture instead */
html.ui2 #view .u2p-photo .px-sel { display:none!important; }
html.ui2 #view .u2p-photo { position:relative; }
html.ui2 #view .u2p-photo >img { cursor:pointer; }
html.ui2 #view .u2p-photo >img:focus-visible { outline:3px solid var(--accent); outline-offset:2px; }
html.ui2 #view .u2p-photo::before { content:""; position:absolute; top:22px; left:22px; right:auto; bottom:auto; opacity:1; inset:22px auto auto 22px; width:26px; height:26px; border-radius:50%; border:2px solid #fff; background:rgba(23,21,40,.25); box-shadow:0 1px 4px rgba(0,0,0,.25); z-index:1; pointer-events:none; }
html.ui2 #view .u2p-photo:has(.px-sel[aria-pressed="true"])::before { content:"✓"; display:grid; place-items:center; color:#fff; font-weight:800; font-size:14px; background:linear-gradient(135deg,var(--accent),var(--accent-2)); border-color:transparent; }
html.ui2 #view .px-tv { color:var(--text-muted); }

/* Numbered steps in the side panel (Colin, 2026-10-08) */
html.ui2 #view .u2ph-steps { display:grid; gap:12px; }
html.ui2 #view .u2ph-step { border:1px solid var(--border); border-radius:14px; padding:12px; background:var(--surface-2); }
html.ui2 #view .u2ph-step header { display:flex; gap:10px; align-items:flex-start; margin-bottom:10px; }
html.ui2 #view .u2ph-step header b { display:block; font-size:12.5px; font-weight:650; color:var(--text); }
html.ui2 #view .u2ph-step header small { display:block; font-size:10.5px; color:var(--text-muted); margin-top:2px; }
html.ui2 #view .u2ph-n { flex:none; width:24px; height:24px; border-radius:50%; display:grid; place-items:center; font-size:12px; font-weight:700; color:var(--on-accent); background:linear-gradient(135deg,var(--accent),var(--accent-2)); }
html.ui2 #view .u2ph-step-body { margin:0!important; }
html.ui2 #view .u2ph-step-body .u2p-tv { border:0; padding:0!important; background:transparent; min-height:0!important; }
html.ui2 #view .u2ph-steps-note { margin:0; font-size:11px; color:var(--text-muted); }
