:root {
  --bg: #f6f3fb; --bg-2: #efe9f8; --card: #ffffff; --ink: #1f1830; --muted: #6e6682; --line: #e6dff2; --soft: #f3eef9;
  --p1: #6d28d9; --p2: #db2777; --accent: #7c3aed; --accent-2: #9f5cf0; --on-accent: #ffffff;
  --grad: linear-gradient(135deg, #6d28d9 0%, #a21caf 55%, #db2777 100%);
  --ok: #15803d; --err: #c0262d;
  --radius: 18px; --shadow: 0 1px 2px rgba(40, 20, 80, .05), 0 10px 30px rgba(60, 30, 120, .08);
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #120f1b; --bg-2: #1a1526; --card: #1d1829; --ink: #f1ecfa; --muted: #a79fbd; --line: #332b47; --soft: #262036;
    --accent: #a78bfa; --accent-2: #c4b5fd; --on-accent: #16121f; --ok: #4ade80; --err: #f87171;
    --shadow: 0 1px 2px rgba(0,0,0,.35), 0 10px 30px rgba(0,0,0,.35); }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: radial-gradient(1200px 600px at 100% -10%, var(--bg-2), transparent 60%), var(--bg); color: var(--ink); font: 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; min-height: 100vh; }
button { font: inherit; cursor: pointer; }
h1, h2 { font-family: var(--display); font-weight: 600; margin: 0; }
h2 { font-size: 19px; display: flex; align-items: center; gap: 10px; }
.note { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.status { min-height: 1.4em; font-size: 14px; font-weight: 600; margin: 10px 0 0; }
.status.center { text-align: center; }
.status.ok { color: var(--ok); } .status.err { color: var(--err); }
input:focus-visible, button:focus-visible, a:focus-visible, label:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 12px; padding: 10px 18px; font-weight: 700; text-decoration: none; transition: transform .06s, filter .15s, background .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(162, 28, 175, .28); }
.btn.primary:hover { filter: brightness(1.07); }
.btn.primary:disabled { filter: grayscale(.4); opacity: .6; cursor: wait; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.soft { background: var(--soft); color: var(--accent); }
.btn.big { padding: 14px 26px; font-size: 16px; }
.btn.small { padding: 7px 13px; font-size: 13px; border-radius: 10px; }
.btn.block { display: flex; width: 100%; }
.n { width: 28px; height: 28px; border-radius: 50%; background: var(--grad); color: #fff; display: inline-grid; place-items: center; font: 700 13px var(--sans); flex: none; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 14px 28px; position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand b { display: block; font-family: var(--display); font-size: 19px; }
.brand small { color: var(--muted); font-size: 12px; }
.logo { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 18px; }
.who { font-size: 13px; color: var(--muted); background: var(--card); border: 1px solid var(--line); padding: 6px 12px; border-radius: 99px; }

/* Connect */
.connect { display: grid; place-items: center; padding: 56px 16px; }
.connect-box { width: 100%; max-width: 560px; background: var(--card); border-radius: 24px; padding: 34px; box-shadow: var(--shadow); }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: var(--soft); padding: 4px 10px; border-radius: 99px; margin-bottom: 12px; }
.connect-box h1 { font-size: 34px; line-height: 1.15; margin-bottom: 10px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.connect-box p { color: var(--muted); margin: 0 0 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
label { font-size: 13px; color: var(--muted); }
.field-row input { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); font: inherit; }

/* Layout */
.studio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 24px; max-width: 1320px; margin: 0 auto; padding: 24px 28px 40px; align-items: start; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.stage-col { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 16px; }
.stage-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 10px; }
#changePhoto { position: relative; overflow: hidden; }
#changePhoto input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* Upload hero */
.drop-hero { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; aspect-ratio: 3 / 4; max-height: 68vh; width: 100%; border-radius: 16px; border: 2px dashed color-mix(in srgb, var(--accent) 45%, var(--line)); background: repeating-linear-gradient(135deg, var(--soft), var(--soft) 14px, var(--card) 14px, var(--card) 28px); cursor: pointer; padding: 24px; transition: border-color .15s, transform .15s; position: relative; }
.drop-hero:hover, .drop-hero.over { border-color: var(--accent); transform: scale(1.005); }
.drop-hero input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 26px; margin-bottom: 8px; box-shadow: 0 10px 24px rgba(162, 28, 175, .3); }
.drop-hero b { font-size: 20px; font-family: var(--display); }
.drop-hero small { color: var(--muted); }
.tips { list-style: none; padding: 0; margin: 16px 0 0; font-size: 13px; color: var(--muted); display: grid; gap: 4px; }
.tips li::before { content: '✓ '; color: var(--accent); font-weight: 700; }

/* Canvas with before/after compare */
.canvas { position: relative; width: 100%; aspect-ratio: 3 / 4; max-height: 68vh; border-radius: 16px; overflow: hidden; background: var(--soft); user-select: none; touch-action: pan-y; }
.canvas img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.canvas .after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--cut, 50%)); }
.handle { position: absolute; top: 0; bottom: 0; left: var(--cut, 50%); width: 3px; background: #fff; transform: translateX(-1.5px); cursor: ew-resize; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.tag-l, .tag-r { position: absolute; top: 12px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: rgba(20, 15, 30, .6); color: #fff; backdrop-filter: blur(4px); }
.tag-l { left: 12px; } .tag-r { right: 12px; background: rgba(162, 28, 175, .8); }
.working { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; background: color-mix(in srgb, var(--card) 55%, transparent); backdrop-filter: blur(3px); color: var(--ink); font-weight: 700; text-align: center; padding: 20px; }
.working p { margin: 0; }
.spinner { width: 46px; height: 46px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--p2); border-right-color: var(--p1); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
.stage-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.stage-actions .btn.on { background: var(--soft); color: var(--accent); border-color: var(--accent); }

/* 360 */
.view360 h2 { font-size: 17px; }
#frame { width: 100%; border-radius: 14px; margin-top: 10px; cursor: grab; user-select: none; touch-action: pan-y; background: var(--soft); display: block; }
.viewer-ctl { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.viewer-ctl input { flex: 1; accent-color: var(--accent); }
#angleLabel { font-size: 13px; color: var(--muted); min-width: 36px; }

/* Right column */
.choose-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.choose-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.seg { display: inline-flex; background: var(--soft); border-radius: 12px; padding: 4px; gap: 2px; }
.seg button { border: 0; background: transparent; padding: 8px 16px; border-radius: 9px; font-weight: 700; color: var(--muted); }
.seg button.on { background: var(--card); color: var(--accent); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.mode-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.mode { text-align: left; border: 2px solid var(--line); background: var(--card); border-radius: 16px; padding: 16px; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .1s; }
.mode:hover { transform: translateY(-1px); }
.mode .mode-ic { font-size: 28px; display: block; margin-bottom: 6px; }
.mode b { display: block; font-size: 17px; font-family: var(--display); }
.mode small { color: var(--muted); }
.mode.on { border-color: transparent; background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad) border-box; box-shadow: 0 8px 22px rgba(124, 58, 237, .15); }
.sub-h { font-size: 14px; margin: 4px 0 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }

/* Gallery (ready designs) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chip { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 99px; padding: 7px 14px; font-size: 14px; font-weight: 600; }
.chip.on { background: var(--grad); color: #fff; border-color: transparent; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; max-height: 62vh; overflow: auto; padding: 2px; }
.g-item { position: relative; border: 0; padding: 0; border-radius: 14px; overflow: hidden; background: var(--soft); aspect-ratio: 3 / 4; box-shadow: 0 0 0 1px var(--line); transition: transform .12s, box-shadow .15s; }
.g-item:hover { transform: translateY(-2px); }
.g-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 8px 8px; font-size: 12px; font-weight: 700; color: #fff; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.g-item.on { box-shadow: 0 0 0 3px var(--p2), 0 10px 22px rgba(219, 39, 119, .25); }
.g-item.on::after { content: '✓'; position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; }

/* Customize */
.type-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-bottom: 14px; }
.type { background: var(--card); border: 2px solid var(--line); border-radius: 14px; padding: 12px; text-align: left; color: var(--ink); }
.type .emoji { font-size: 24px; display: block; margin-bottom: 4px; }
.type b { display: block; font-size: 15px; }
.type small { color: var(--muted); font-size: 12px; }
.type.on { border-color: transparent; background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad) border-box; }
.acc { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; background: var(--card); overflow: hidden; }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 14px 16px; font-weight: 700; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '▾'; margin-left: auto; color: var(--muted); transition: transform .15s; }
.acc[open] summary::after { transform: rotate(180deg); }
.acc[open] summary { border-bottom: 1px solid var(--line); background: var(--soft); }
.acc-t { flex: none; }
.acc-v { color: var(--muted); font-weight: 500; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-v.done { color: var(--accent); }
.acc-b { padding: 14px 16px; }
.acc-b h4 { font-size: 12px; font-weight: 700; margin: 14px 0 8px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.acc-b h4:first-child { margin-top: 0; }
.picked { color: var(--ink); text-transform: none; letter-spacing: 0; }
.opt-toggle { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 14px; color: var(--ink); cursor: pointer; }
.opt-toggle input { width: 42px; height: 24px; appearance: none; background: var(--line); border-radius: 99px; position: relative; cursor: pointer; margin: 0; flex: none; }
.opt-toggle input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .15s; }
.opt-toggle input:checked { background: var(--accent); }
.opt-toggle input:checked::after { left: 21px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.tile { background: var(--card); border: 2px solid var(--line); border-radius: 12px; padding: 0; overflow: hidden; text-align: left; color: var(--ink); display: flex; flex-direction: column; }
.tile.on { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.tile .img { aspect-ratio: 1; background: var(--soft); display: grid; place-items: center; font: 700 20px var(--display); color: var(--muted); }
.tile .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile .cap { padding: 7px 9px; font-size: 13px; font-weight: 600; line-height: 1.3; }
.tile .cap small { display: block; font-weight: 400; color: var(--muted); font-size: 11px; }
.tiles.text-only { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.tiles.text-only .tile .img { display: none; }
.tiles.text-only .tile .cap { padding: 11px 12px; }
.tabs3 { display: flex; background: var(--soft); border-radius: 12px; padding: 4px; gap: 2px; margin: 14px 0 12px; flex-wrap: wrap; }
.tabs3 button { flex: 1; background: transparent; border: 0; border-radius: 9px; padding: 8px 10px; color: var(--muted); font-weight: 700; font-size: 13px; }
.tabs3 button.on { background: var(--card); color: var(--accent); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.swatches { display: flex; flex-wrap: wrap; gap: 9px; }
.swatch { width: 32px; height: 32px; padding: 0; border-radius: 50%; border: 2px solid var(--card); box-shadow: 0 0 0 1px var(--line), inset 0 0 0 1px rgba(0,0,0,.08); }
.swatch.on { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--accent); }
.swatch.none { background: repeating-linear-gradient(45deg, var(--soft), var(--soft) 4px, var(--line) 4px, var(--line) 8px) !important; }
.drop-small { display: flex; align-items: center; gap: 14px; border: 2px dashed var(--line); border-radius: 12px; padding: 12px; cursor: pointer; position: relative; }
.drop-small:hover { border-color: var(--accent); }
.drop-small input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-small img { width: 60px; height: 60px; border-radius: 10px; object-fit: cover; }
.drop-small img:not([src]) { display: none; }
.drop-small b { display: block; color: var(--ink); }
.drop-small small { color: var(--muted); }

/* Generate bar */
.go-bar { position: sticky; bottom: 16px; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); z-index: 5; }
.go-sum { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.go-sum b { font-size: 14px; }
.go-sum span { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.go-sum small { font-size: 11px; color: var(--muted); }

/* Responsive */
@media (max-width: 980px) {
  .studio { grid-template-columns: 1fr; padding: 16px; }
  .stage-col { position: static; }
  .drop-hero, .canvas { max-height: 60vh; }
  .go-bar { position: fixed; left: 0; right: 0; bottom: 0; border-radius: 18px 18px 0 0; }
  body { padding-bottom: 90px; }
  .gallery { max-height: none; }
}
@media (max-width: 560px) {
  .top { padding: 12px 16px; }
  .field-row, .mode-cards { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .connect-box { padding: 24px; }
  .connect-box h1 { font-size: 28px; }
  .card { padding: 16px; }
  .gallery { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
}

/* Login */
.auth-tabs { display: flex; margin-bottom: 16px; }
.auth-tabs button { flex: 1; }
#authForm label { display: block; margin-bottom: 14px; }
#authForm input { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); font: inherit; }
.pw { position: relative; display: block; }
.pw input { padding-right: 46px !important; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); margin-top: 3px; border: 0; background: transparent; font-size: 16px; padding: 6px; opacity: .7; }
.note.small { font-size: 12px; margin-top: 14px; }
.who-wrap { display: flex; align-items: center; gap: 10px; }

/* AI themes */
.mode-cards { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) { .mode-cards { grid-template-columns: 1fr 1fr; } .mode-cards .mode[data-mode="themes"] { grid-column: 1 / -1; } }
.t-sec { margin-bottom: 16px; }
.t-sec .tiles { margin-bottom: 10px; }
.text-in { width: 100%; box-sizing: border-box; border: 2px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; color: var(--ink); background: var(--card); margin: 8px 0 10px; resize: vertical; }
.text-in:focus { outline: none; border-color: var(--accent); }

/* Extras */
.extras { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); }
.sub-h .opt { font-size: 11px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--muted); background: var(--line); border-radius: 999px; padding: 2px 8px; margin-left: 6px; }
#exTextAcc { margin-top: 12px; }
#exBlendBody .drop-small { margin: 8px 0 10px; }

/* Live camera */
.head-btns { display: flex; gap: 8px; }
.or-cam { display: block; margin: 12px 0 4px; }
.cam { position: fixed; inset: 0; z-index: 50; background: rgba(10, 8, 20, .82); display: flex; align-items: center; justify-content: center; padding: 16px; }
.cam-box { width: min(560px, 100%); background: var(--card); border-radius: 20px; padding: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); }
.cam-view { position: relative; background: #000; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 4; }
.cam-view video, .cam-view img { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.cam-view video.mirror { transform: scaleX(-1); }
.cam-guide { position: absolute; inset: 6% 22%; border: 2px dashed rgba(255, 255, 255, .55); border-radius: 40% 40% 12% 12% / 22% 22% 8% 8%; pointer-events: none; display: flex; align-items: flex-end; justify-content: center; }
.cam-guide span { transform: translateY(130%); color: #fff; font-size: 12px; background: rgba(0, 0, 0, .45); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.cam-count { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 96px; font-weight: 800; text-shadow: 0 4px 20px rgba(0, 0, 0, .6); }
.cam-msg { min-height: 1.2em; margin: 10px 4px 0; color: var(--muted); font-size: 14px; text-align: center; }
.cam-ctl { display: flex; align-items: center; justify-content: space-around; gap: 10px; margin-top: 10px; }
.cam-round { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--line); background: var(--card); color: var(--ink); font-size: 15px; }
.cam-round.on { border-color: var(--accent); color: var(--accent); font-weight: 700; }
.cam-snap { width: 74px; height: 74px; border-radius: 50%; border: 5px solid var(--card); background: var(--grad); box-shadow: 0 0 0 3px var(--accent); }
.cam-snap:active { transform: scale(.94); }
#camReview .btn { flex: 1; }

/* Zoom */
.canvas { cursor: zoom-in; }
.canvas:has(.handle:not([hidden])) { cursor: ew-resize; }
.g-item { position: relative; }
.g-zoom { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-style: normal; font-size: 15px; color: #fff; background: rgba(20, 12, 40, .6); backdrop-filter: blur(4px); cursor: zoom-in; opacity: .9; }
.g-zoom:hover { opacity: 1; background: rgba(124, 58, 237, .9); }

/* Whole-app zoom control */
.top-right { display: flex; align-items: center; gap: 10px; }
@media (max-width: 560px) { .top { padding: 10px 12px; gap: 8px; flex-wrap: wrap; } .top .brand small, .top .who { display: none; } .top-right { gap: 6px; margin-left: auto; } .app-zoom button { padding: 5px 7px; min-width: 30px; } .app-zoom [data-z=reset] { min-width: 44px; } }

/* Live camera: body / framing check */
.cam-quality { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; max-width: calc(100% - 20px); padding: 7px 12px 7px 7px; border-radius: 999px; background: rgba(15, 10, 30, .72); color: #fff; font-size: 13px; line-height: 1.25; backdrop-filter: blur(6px); box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.cam-quality b { flex: none; padding: 4px 10px; border-radius: 999px; font-size: 12px; letter-spacing: .03em; text-transform: uppercase; background: #6b7280; }
.cam-quality.good b { background: #16a34a; }
.cam-quality.medium b { background: #d97706; }
.cam-quality.poor b { background: #dc2626; }
.cam-guide.good { border-color: rgba(34, 197, 94, .95); box-shadow: inset 0 0 0 2px rgba(34, 197, 94, .35); }
.cam-guide.medium { border-color: rgba(245, 158, 11, .9); }
.cam-guide.poor { border-color: rgba(239, 68, 68, .9); }
.cam-snap.ready { box-shadow: 0 0 0 3px #16a34a, 0 0 18px rgba(22, 163, 74, .7); animation: snapPulse 1.4s ease-in-out infinite; }
@keyframes snapPulse { 50% { box-shadow: 0 0 0 5px #16a34a, 0 0 28px rgba(22, 163, 74, .85); } }
.cam-review-note { margin: 8px 4px 0; font-size: 13px; text-align: center; color: var(--muted); }
.cam-review-note.good { color: var(--ok); font-weight: 700; }
