/* Peak Before & After. One-column field app: ink app bar in Peak's black and blue,
   thumb-reach action bar pinned to the bottom, full-screen camera. */
:root {
  --bg: #F2F4F7; --surface: #FFFFFF; --surface-2: #E9EDF2; --fg: #0B0F14; --muted: #586474; --line: #DCE2E9;
  --ink: #0B0F14; --ink-2: #151B23; --on-ink: #FFFFFF; --on-ink-muted: #9AA6B5;
  --accent: #0069F3; --accent-strong: #0052C2; --accent-soft: #E3EEFE; --accent-fg: #FFFFFF;
  --ok: #137A38; --ok-soft: #DDF3E5; --warn: #8A5A00; --warn-soft: #FDF0D5; --danger: #C0262D;
  --display: "Montserrat", "Arial Black", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 16px;
  --shadow: 0 1px 2px rgba(11, 15, 20, .06), 0 6px 20px rgba(11, 15, 20, .05);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #07090C; --surface: #12161C; --surface-2: #1B2129; --fg: #E8EDF3; --muted: #97A3B2; --line: #252D37;
    --ink: #0B0F14; --ink-2: #141A22;
    --accent: #3D8BFF; --accent-strong: #8CB8FF; --accent-soft: #10264A; --accent-fg: #04122B;
    --ok: #7FD69E; --ok-soft: #11301D; --warn: #F1C46A; --warn-soft: #3A2D10; --danger: #FF9C97;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.45 var(--body); -webkit-tap-highlight-color: transparent; }
body.cam-on { overflow: hidden; }
button { font: inherit; color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.boot { min-height: 100vh; display: grid; place-items: center; background: var(--ink); padding: 40px; }
.boot img { width: min(260px, 70vw); height: auto; }

/* App bar */
.appbar { position: sticky; top: 0; z-index: 5; background: var(--ink); color: var(--on-ink); border-bottom: 3px solid var(--accent);
  padding: calc(env(safe-area-inset-top, 0px) + 10px) 12px 10px 16px; display: flex; align-items: center; gap: 10px; min-height: 64px; }
.appbar .title { flex: 1; min-width: 0; margin: 0; font: 800 17px/1.2 var(--display); letter-spacing: .02em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.lockup { flex: 1; display: flex; align-items: center; gap: 12px; min-width: 0; margin: 0; font-size: inherit; }
.lockup img { height: 26px; width: auto; }
.lockup span { font: 700 10px/1.2 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--on-ink-muted); padding-left: 12px; border-left: 1px solid #2A333F; }
.icon-btn { flex: none; width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .08); display: grid; place-items: center; cursor: pointer; color: #fff; }
.icon-btn:active { background: rgba(255, 255, 255, .16); }

/* Home hero */
.hero { background: var(--ink); color: var(--on-ink); padding: 18px 16px 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.hero-main { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.hero-main b { font: 800 44px/1 var(--display); color: #4D94FF; font-variant-numeric: tabular-nums; }
.hero-main span { font: 700 13px/1.25 var(--display); letter-spacing: .08em; text-transform: uppercase; max-width: 15ch; }
.hero-side { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; color: var(--on-ink-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.hero-side b { color: #fff; }

/* Page */
.wrap { max-width: 720px; margin: 0 auto; padding-inline: 16px; padding-block: 16px calc(116px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 16px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; cursor: pointer; text-align: center; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: default; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.btn.danger { color: var(--danger); background: transparent; border-color: transparent; }
.btn.danger-solid { background: var(--danger); border-color: var(--danger); color: #fff; }
@media (prefers-color-scheme: dark) { .btn.danger-solid { color: #2A0605; } }
.btn.quiet { background: var(--surface-2); border-color: transparent; }
.btn.block { width: 100%; }
.btn.mini { min-height: 40px; padding: 0 12px; font-size: 14px; }
.bottombar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; padding: 22px 16px calc(14px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(to top, var(--bg) 60%, transparent); }
.bottombar .btn { width: 100%; max-width: 688px; margin: 0 auto; display: flex; min-height: 58px; font: 800 16px var(--display); letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 8px 24px rgba(0, 82, 194, .35); }
.hint { margin: 0; color: var(--muted); font-size: 14px; }
.hint.center { text-align: center; }
.section-h { margin: 0; font: 800 12px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.row { display: flex; gap: 10px; }
.row > .btn { flex: 1; }

/* Banners */
.banner { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--r); background: var(--accent-soft); color: var(--fg); }
.banner.warn { background: var(--warn-soft); }
.banner-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); color: var(--accent); }
.banner.warn .banner-icon { color: var(--warn); }
.banner b { display: block; font-size: 15px; }
.banner p { margin: 2px 0 10px; font-size: 14px; color: var(--muted); }
.how ol { margin: 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 10px; }
.how li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 10px; font-size: 15px; }
.how li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-fg); display: grid; place-items: center; font: 800 13px var(--display); }
.how .btn { align-self: flex-start; }

/* Search + jobs */
.search { display: flex; align-items: center; gap: 8px; padding: 0 14px; min-height: 50px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--fg); min-height: 48px; }
.search input:focus { outline: none; }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.job-list { display: flex; flex-direction: column; gap: 10px; }
.job-card { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 14px; align-items: center; width: 100%; text-align: left; padding: 10px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); cursor: pointer; box-shadow: var(--shadow); }
.job-card:active { transform: scale(.99); }
.job-thumb { width: 84px; height: 84px; border-radius: 12px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; color: var(--muted); }
.job-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.job-body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.job-title { font-weight: 700; font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
.job-sub { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.chip { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); }
.chip.example { background: var(--warn-soft); color: var(--warn); }
.status { font: 800 18px/1 var(--display); padding: 9px 10px; border-radius: 12px; font-variant-numeric: tabular-nums; min-width: 54px; text-align: center; }
.status small { display: block; font: 700 9px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; }
.status.ok { background: var(--ok-soft); color: var(--ok); }
.status.todo { background: var(--accent-soft); color: var(--accent-strong); }
.empty { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 40px 16px; border: 2px dashed var(--line); border-radius: var(--r); color: var(--muted); }
.empty svg { width: 56px; height: auto; color: var(--accent); }
.empty b { color: var(--fg); font: 800 15px var(--display); letter-spacing: .06em; text-transform: uppercase; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .legend { font-weight: 600; font-size: 14px; padding: 0; }
.field-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.field-head label { font-weight: 600; font-size: 14px; }
.opt { font-weight: 500; color: var(--muted); }
.input { min-height: 50px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); padding: 0 14px; font: inherit; color: var(--fg); width: 100%; }
textarea.input { padding: 12px 14px; line-height: 1.45; resize: vertical; }
.input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.svc-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.svc { position: relative; }
.svc input { position: absolute; opacity: 0; inset: 0; }
.svc span { display: flex; align-items: center; min-height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-weight: 600; cursor: pointer; }
.svc input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.svc input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.switch { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; cursor: pointer; position: relative; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-ui { width: 48px; height: 28px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); position: relative; transition: background .2s; }
.switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .2s; }
.switch input:checked + .switch-ui { background: var(--accent); border-color: var(--accent); }
.switch input:checked + .switch-ui::after { transform: translateX(20px); }
.switch input:focus-visible + .switch-ui { outline: 3px solid var(--accent); outline-offset: 2px; }
.switch-text { font-weight: 600; font-size: 15px; }
.switch-text small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
input[type=range] { accent-color: var(--accent); width: 100%; }

/* Job detail */
.job-head { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.job-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.shot { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.half { position: relative; margin: 0; aspect-ratio: var(--ar, 4 / 3); background: var(--surface-2); }
.half img { width: 100%; height: 100%; object-fit: cover; display: block; }
.imgbtn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.tag { position: absolute; top: 8px; left: 8px; font: 800 11px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; padding: 6px 8px; border-radius: 6px; pointer-events: none; }
.tag.before { background: rgba(11, 15, 20, .86); color: #fff; }
.tag.after { background: #0069F3; color: #fff; }
.tag.right { left: auto; right: 8px; }
.take-after { width: 100%; height: 100%; border: 2px dashed var(--accent); background: var(--accent-soft); color: var(--accent-strong); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; font: 800 14px var(--display); letter-spacing: .04em; text-transform: uppercase; padding: 8px; }
.take-after small { font: 500 12px var(--body); letter-spacing: 0; text-transform: none; color: var(--muted); }
.shot-foot { display: flex; gap: 6px; align-items: center; padding: 6px 6px 6px 12px; }
.shot-label { flex: 1; min-width: 0; border: 0; border-bottom: 2px solid transparent; background: transparent; font: 600 16px var(--body); color: var(--fg); padding: 8px 2px; }
.shot-label::placeholder { color: var(--muted); font-weight: 500; }
.shot-label:focus { border-bottom-color: var(--accent); outline: none; }
.ghost-icon { width: 44px; height: 44px; border-radius: 10px; border: 0; background: none; color: var(--muted); display: grid; place-items: center; cursor: pointer; }

/* Compare */
.compare { position: relative; border-radius: var(--r); overflow: hidden; background: #000; width: 100%; max-height: 72vh; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; box-shadow: var(--shadow); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.compare .clip { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); pointer-events: none; }
.compare .knob { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; color: #0B0F14; display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--surface-2); border-radius: 12px; padding: 4px; gap: 4px; }
.seg button { min-height: 44px; border: 0; border-radius: 9px; background: transparent; font: 700 13px var(--display); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.preview { position: relative; min-height: 220px; border-radius: 12px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; }
.preview img, .preview video { display: block; width: 100%; height: auto; max-height: 70vh; object-fit: contain; background: #000; }
.preview-busy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--muted); font-size: 14px; font-weight: 600; text-align: center; padding: 16px; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Settings */
.logo-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.logo-box { width: 160px; height: 76px; border-radius: 12px; background: var(--ink); border-top: 3px solid #0069F3; display: grid; place-items: center; padding: 10px 14px; }
.logo-box img { max-height: 50px; object-fit: contain; }
.logo-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.facts { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.facts div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
.credit { text-align: center; color: var(--muted); font-size: 13px; margin: 8px 0 0; line-height: 1.6; }

/* Dialog + toast */
dialog { border: 0; border-radius: 18px; padding: 20px; width: min(360px, calc(100% - 32px)); background: var(--surface); color: var(--fg); box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
dialog::backdrop { background: rgba(5, 8, 12, .55); }
dialog p { margin: 0 0 18px; font-size: 16px; font-weight: 600; }
dialog.sheet { margin: auto auto 0; width: 100%; max-width: 520px; max-height: 92vh; border-radius: 22px 22px 0 0; padding: 22px 20px calc(18px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; }
dialog.sheet[open] { animation: sheet-up .28s ease-out; }
@keyframes sheet-up { from { transform: translateY(48px); opacity: 0; } }
.sheet-icon { display: block; width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 12px; }
.sheet h2 { margin: 0; text-align: center; font: 800 19px var(--display); letter-spacing: .05em; text-transform: uppercase; }
dialog .sheet-sub { margin: 8px auto 18px; max-width: 34ch; text-align: center; color: var(--muted); font-size: 15px; font-weight: 400; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 12px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; font-size: 15px; line-height: 1.5; }
.steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-fg); display: grid; place-items: center; font: 800 13px var(--display); }
.key { display: inline-grid; place-items: center; width: 28px; height: 28px; margin: 0 2px; vertical-align: middle; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); }
.sheet-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
#toast { position: fixed; left: 50%; bottom: calc(100px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 16px); opacity: 0; background: var(--fg); color: var(--bg); padding: 12px 16px; border-radius: 12px; font-weight: 600; max-width: calc(100% - 32px); transition: opacity .2s, transform .2s; z-index: 60; pointer-events: none; text-align: center; width: max-content; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Camera */
.cam { position: fixed; inset: 0; z-index: 50; background: #000; color: #fff; display: flex; flex-direction: column; }
.cam-top { display: flex; align-items: flex-start; gap: 10px; padding: calc(env(safe-area-inset-top, 0px) + 10px) 12px 10px; background: #000; }
.cam-title { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding-top: 2px; }
#camHint { font-size: 14px; line-height: 1.3; color: rgba(255, 255, 255, .88); }
.cam-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.cam-btn[aria-pressed="true"] { background: #0069F3; }
.pill { font: 800 13px/1 var(--display); letter-spacing: .18em; padding: 7px 10px; border-radius: 6px; background: rgba(255, 255, 255, .18); }
.pill.after { background: #0069F3; color: #fff; }
.cam-stage { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.cam-frame { position: absolute; overflow: hidden; touch-action: none; -webkit-user-select: none; user-select: none; --ghost: .45; }
.cam-frame > * { position: absolute; inset: 0; width: 100%; height: 100%; }
#camVideo { object-fit: cover; z-index: 1; }
#camReview { object-fit: cover; z-index: 2; background: #000; }
.ghost { pointer-events: none; display: none; object-fit: fill; }
#camGhost { z-index: 3; opacity: var(--ghost); }
#camOutline { z-index: 4; opacity: max(var(--ghost), .55); filter: drop-shadow(0 0 1px rgba(0, 0, 0, .95)); }
.cam-frame[data-style="photo"] #camGhost, .cam-frame[data-style="outline"] #camOutline { display: block; }
.cam-frame.reviewing .ghost { display: none; }
.cam-frame.peek #camGhost { display: block; opacity: 1; }
.cam-frame.peek #camOutline { display: none; }
.cam-frame.reviewing.peek #camGhost { opacity: .5; }
.cam-grid { z-index: 5; pointer-events: none; background:
  linear-gradient(to right, transparent calc(33.333% - .5px), rgba(255, 255, 255, .45) calc(33.333% - .5px), rgba(255, 255, 255, .45) calc(33.333% + .5px), transparent calc(33.333% + .5px), transparent calc(66.666% - .5px), rgba(255, 255, 255, .45) calc(66.666% - .5px), rgba(255, 255, 255, .45) calc(66.666% + .5px), transparent calc(66.666% + .5px)),
  linear-gradient(to bottom, transparent calc(33.333% - .5px), rgba(255, 255, 255, .45) calc(33.333% - .5px), rgba(255, 255, 255, .45) calc(33.333% + .5px), transparent calc(33.333% + .5px), transparent calc(66.666% - .5px), rgba(255, 255, 255, .45) calc(66.666% - .5px), rgba(255, 255, 255, .45) calc(66.666% + .5px), transparent calc(66.666% + .5px)); }
.cam-level { z-index: 6; pointer-events: none; display: grid; place-items: center; }
.cam-level i { width: 34%; height: 2px; background: linear-gradient(to right, rgba(255, 255, 255, .9) 40%, transparent 40%, transparent 60%, rgba(255, 255, 255, .9) 60%); transform: rotate(var(--roll, 0deg)); box-shadow: 0 0 2px rgba(0, 0, 0, .8); border-radius: 2px; }
.cam-level.ok i { background: #4D94FF; height: 3px; }
#camFlash { z-index: 7; background: #fff; opacity: 0; pointer-events: none; }
#camFlash.go { animation: flash .28s ease-out; }
@keyframes flash { from { opacity: .85; } to { opacity: 0; } }
.align-chip { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 8; padding: 8px 14px; border-radius: 999px; background: rgba(0, 0, 0, .66); font: 700 13px var(--display); letter-spacing: .04em; white-space: nowrap; pointer-events: none; }
.align-chip.ok { background: #137A38; }
.cam-msg { position: absolute; inset: 0; z-index: 9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 24px; background: #0b0f14; }
.cam-msg p { max-width: 32ch; margin: 0; color: #cfd8e2; }
.cam-msg-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.cam-msg .btn:not(.primary) { background: #1c2430; border-color: #1c2430; color: #fff; }
.cam-bottom { padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px)); background: #000; display: flex; flex-direction: column; gap: 12px; }
.ghost-ctl { display: flex; flex-direction: column; gap: 10px; }
.cam-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 12px; background: #161c24; }
.cam-seg button { min-height: 40px; border: 0; border-radius: 9px; background: transparent; color: #aeb9c6; font: 700 12px var(--display); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.cam-seg button[aria-pressed="true"] { background: #0069F3; color: #fff; }
.ghost-range { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; color: #cfd8e2; }
.ghost-range input { flex: 1; accent-color: #4D94FF; }
.ghost-range input:disabled { opacity: .4; }
.ghost-range output { width: 40px; text-align: right; font-variant-numeric: tabular-nums; }
.cam-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.shutter { width: 80px; height: 80px; border-radius: 50%; border: 4px solid #fff; background: transparent; padding: 4px; cursor: pointer; }
.shutter span { display: block; width: 100%; height: 100%; border-radius: 50%; background: #fff; transition: transform .1s; }
.shutter:active span { transform: scale(.9); }
.cam-side { justify-self: start; background: none; border: 0; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; min-width: 72px; min-height: 56px; cursor: pointer; border-radius: 12px; -webkit-user-select: none; user-select: none; touch-action: none; }
.cam-row > :last-child { justify-self: end; }
.cam-review-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.cam-review-row .btn { min-height: 56px; font: 800 15px var(--display); letter-spacing: .06em; text-transform: uppercase; }
.cam-review-row .btn:first-child { background: #1c2430; border-color: #1c2430; color: #fff; }
.cam-review-row .btn.primary { background: #0069F3; border-color: #0069F3; color: #fff; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } .spinner { animation: spin 1.6s linear infinite !important; } }
