:root {
  --bg: #f6f3ee;
  --surface: #ffffff;
  --surface-2: #efebe4;
  --ink: #1c1a17;
  --ink-2: #5e5850;
  --line: #e0dad0;
  --accent: #d9481f;
  --accent-ink: #ffffff;
  --accent-soft: #fbe3d9;
  --ok: #2f7d4f;
  --warn-bg: #fff4d6;
  --warn-ink: #6b4b00;
  --check-a: #ffffff;
  --check-b: #e7e3dc;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(0 0 0 / .05), 0 8px 24px rgb(0 0 0 / .06);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141311; --surface: #1d1b18; --surface-2: #26231f; --ink: #f2eee8; --ink-2: #a9a298;
    --line: #34302a; --accent: #ff6a3d; --accent-ink: #1a0d07; --accent-soft: #3a2017;
    --ok: #6fcf97; --warn-bg: #3a2f12; --warn-ink: #f5d98a; --check-a: #2a2723; --check-b: #211f1b;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 8px 24px rgb(0 0 0 / .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #141311; --surface: #1d1b18; --surface-2: #26231f; --ink: #f2eee8; --ink-2: #a9a298;
  --line: #34302a; --accent: #ff6a3d; --accent-ink: #1a0d07; --accent-soft: #3a2017;
  --ok: #6fcf97; --warn-bg: #3a2f12; --warn-ink: #f5d98a; --check-a: #2a2723; --check-b: #211f1b;
  --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 8px 24px rgb(0 0 0 / .35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.55 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-underline-offset: 3px; }
h1, h2 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; }
h2 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

main, .topbar, .footer { width: 100%; max-width: 1040px; margin: 0 auto; padding-inline: 16px; }

/* top bar */
.topbar { display: flex; align-items: center; justify-content: space-between; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.15rem; text-decoration: none; letter-spacing: -0.02em; }
.brand-mark { width: 28px; height: 28px; }
.bm-bg { fill: var(--accent); }
.bm-fg { fill: var(--accent-ink); }
.topnav { display: flex; align-items: center; gap: 14px; font-size: .92rem; }
.topnav a { text-decoration: none; color: var(--ink-2); }
.topnav a:hover { color: var(--ink); }
.icon-btn { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.icon-btn svg { width: 18px; height: 18px; fill: currentColor; }

/* hero */
.hero { padding: 18px 0 8px; }
.hero h1 { font-size: clamp(2rem, 7vw, 3.4rem); font-weight: 850; }
.hl { color: var(--accent); }
.lede { color: var(--ink-2); font-size: 1.06rem; max-width: 40rem; }

/* tool */
.tool { margin: 14px 0 40px; }
.dropzone {
  border: 2px dashed var(--line); border-radius: 22px; background: var(--surface);
  padding: 40px 18px; text-align: center; cursor: pointer; box-shadow: var(--shadow);
  transition: border-color .15s, background .15s;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--accent); background: var(--accent-soft); }
.dz-icon { width: 56px; height: 56px; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.dz-title { font-size: 1.2rem; margin: 10px 0 4px; }
.dz-sub { color: var(--ink-2); font-size: .92rem; }
.trust-pill {
  display: inline-flex; align-items: center; gap: 6px; margin: 6px 0 0; padding: 6px 12px;
  border-radius: 999px; background: var(--surface-2); color: var(--ink); font-size: .88rem; font-weight: 600;
}
.trust-pill svg { width: 16px; height: 16px; fill: none; stroke: var(--ok); stroke-width: 2.2; stroke-linejoin: round; }

.workspace { display: grid; gap: 16px; }
@media (min-width: 900px) { .workspace { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } .status, .warn { grid-column: 1 / -1; } }

.status { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: .92rem; }
.bar { height: 6px; border-radius: 6px; background: var(--surface-2); margin-top: 8px; overflow: hidden; }
.bar > div { height: 100%; width: 0; background: var(--accent); border-radius: 6px; transition: width .2s; }
.status.indeterminate .bar > div { width: 35% !important; animation: slide 1.1s ease-in-out infinite; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(290%); } }
@media (prefers-reduced-motion: reduce) { .status.indeterminate .bar > div { animation: none; width: 100% !important; opacity: .5; } }
.warn { background: var(--warn-bg); color: var(--warn-ink); border-radius: 12px; padding: 10px 14px; font-size: .9rem; }

.stage-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow); min-width: 0; }
.stage {
  --ar: 1.333; position: relative; margin: 0 auto; aspect-ratio: var(--ar);
  width: min(100%, calc(68vh * var(--ar))); border-radius: 10px; overflow: hidden; user-select: none; -webkit-user-select: none;
}
.checker {
  background-color: var(--check-a);
  background-image: conic-gradient(var(--check-b) 25%, transparent 0 50%, var(--check-b) 0 75%, transparent 0);
  background-size: 20px 20px;
}
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.compare-handle { position: absolute; top: 0; bottom: 0; width: 0; left: 50%; pointer-events: none; }
.compare-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / .25); }
.compare-handle span { position: absolute; top: 50%; left: 0; width: 34px; height: 34px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgb(0 0 0 / .3); }
.compare-handle span::before { content: "‹ ›"; position: absolute; inset: 0; display: grid; place-items: center; color: #222; font-weight: 700; font-size: 14px; letter-spacing: 2px; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.tag { position: absolute; top: 8px; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: rgb(0 0 0 / .55); color: #fff; pointer-events: none; text-transform: uppercase; letter-spacing: .04em; }
.tag-before { left: 8px; } .tag-after { right: 8px; }
.stage.refining { cursor: none; touch-action: none; }
.stage.refining .before, .stage.refining .compare-handle, .stage.refining .compare-range, .stage.refining .tag { display: none; }
.brush-cursor { position: absolute; left: 0; top: 0; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / .6); pointer-events: none; background: rgb(217 72 31 / .18); }
.brush-cursor[data-brush="restore"] { background: rgb(47 125 79 / .22); }

.controls { display: grid; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); min-width: 0; }
.panel { display: grid; gap: 10px; padding: 12px; border-radius: 12px; background: var(--surface-2); }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hint { font-size: .84rem; color: var(--ink-2); margin: 0; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--surface-2); border-radius: 12px; padding: 4px; gap: 4px; }
.panel .seg { background: var(--surface); }
.seg-btn { border: 0; background: transparent; color: var(--ink-2); font: inherit; font-weight: 600; padding: 9px 12px; border-radius: 9px; cursor: pointer; min-height: 40px; }
.seg-btn.is-on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.panel .seg-btn.is-on { background: var(--accent); color: var(--accent-ink); }
.seg.small .seg-btn { padding: 6px 12px; min-height: 36px; }

.slider { display: grid; grid-template-columns: auto 1fr 3ch; gap: 10px; align-items: center; font-size: .9rem; font-weight: 600; }
.slider output { text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; font-weight: 500; }
input[type=range] { width: 100%; accent-color: var(--accent); min-width: 0; }

.bg-opts { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; min-width: 0; }
.bg-opts legend { font-weight: 700; font-size: .9rem; margin-bottom: 8px; padding: 0; }
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: block; text-align: center; padding: 8px 4px; border: 1px solid var(--line); border-radius: 10px; font-size: .84rem; font-weight: 600; cursor: pointer; }
.chip input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.sw { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--c); cursor: pointer; }
.picker { display: inline-flex; gap: 6px; align-items: center; font-size: .85rem; font-weight: 600; }
.picker input { width: 40px; height: 32px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: none; }

.btn { display: inline-flex; justify-content: center; align-items: center; gap: 6px; font: inherit; font-weight: 700; padding: 11px 16px; min-height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; text-decoration: none; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.ghost { background: transparent; }
.btn.wide { width: 100%; }
.panel .btn { min-height: 36px; padding: 6px 12px; }
.downloads { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.meta { font-size: .82rem; color: var(--ink-2); margin: 0; }

/* content sections */
.points { display: grid; gap: 14px; margin: 8px 0 48px; }
@media (min-width: 760px) { .points { grid-template-columns: repeat(3, 1fr); } }
.point { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.point h2 { font-size: 1.05rem; }
.point p { color: var(--ink-2); font-size: .95rem; margin: 0; }

.switch, .faq { margin: 0 0 48px; max-width: 760px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 12px; }
table { border-collapse: collapse; width: 100%; font-size: .9rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child > * { border-bottom: 0; }
thead th { font-size: .8rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; }
tbody th { font-weight: 600; }
td:nth-child(2) { font-weight: 700; color: var(--accent); }
.fine { font-size: .82rem; color: var(--ink-2); }

.batch { display: grid; gap: 16px; background: var(--ink); color: var(--bg); border-radius: 22px; padding: 24px 18px; margin-bottom: 48px; }
@media (min-width: 760px) { .batch { grid-template-columns: 1.3fr 1fr; align-items: center; padding: 32px; } }
.batch p { color: color-mix(in srgb, var(--bg) 78%, transparent); }
.kicker { text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; font-weight: 800; color: var(--accent) !important; margin-bottom: 6px; }
.signup { display: grid; gap: 8px; }
.signup input { font: inherit; padding: 11px 14px; min-height: 44px; border-radius: 12px; border: 1px solid transparent; background: var(--bg); color: var(--ink); min-width: 0; }
.signup .btn:not(.primary) { background: transparent; color: var(--bg); border-color: color-mix(in srgb, var(--bg) 35%, transparent); }
.signup-msg { margin: 0; min-height: 1.4em; font-size: .9rem; }

.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { color: var(--ink-2); margin: 8px 0 0; }

.footer { padding-block: 24px 40px; border-top: 1px solid var(--line); font-size: .9rem; }
.footer p { margin: 0 0 6px; }

/* legal pages */
.doc { max-width: 720px; padding-block: 12px 48px; }
.doc .template-note { background: var(--warn-bg); color: var(--warn-ink); padding: 10px 14px; border-radius: 12px; font-size: .9rem; }

/* presets + extra controls */
.preset-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; font-size: .9rem; }
.preset-label { color: var(--ink-2); font-weight: 600; }
.chip-btn { font: inherit; font-size: .88rem; font-weight: 600; padding: 7px 12px; min-height: 38px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.chip-btn small { color: var(--ink-2); font-weight: 500; }
.chip-btn.is-on { border-color: var(--accent); background: var(--accent-soft); }
.preset-note { flex-basis: 100%; margin: 0; font-size: .86rem; color: var(--ink); background: var(--accent-soft); border-radius: 10px; padding: 8px 12px; }
.opt-group { display: grid; gap: 8px; min-width: 0; }
.opt-label { font-weight: 700; font-size: .9rem; }
.market-btn { flex-wrap: wrap; }
.market-btn small { font-weight: 500; color: var(--ink-2); }
.market-btn.is-on { border-color: var(--accent); background: var(--accent-soft); }
.slider-wide { grid-template-columns: auto 1fr 4.5ch; }

/* guides list on the home page */
.guides-home { margin: 0 0 48px; max-width: 760px; }
.guide-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
@media (min-width: 640px) { .guide-grid { grid-template-columns: 1fr 1fr; } }
.guide-grid a { display: block; height: 100%; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; font-weight: 600; font-size: .95rem; }
.guide-grid a:hover { border-color: var(--accent); }

/* guide pages */
.guide { max-width: 760px; padding-bottom: 24px; }
.crumbs { font-size: .86rem; color: var(--ink-2); margin: 4px 0 14px; }
.crumbs a { color: var(--ink-2); }
.guide h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); font-weight: 850; }
.guide h2 { margin-top: 1.6em; }
.guide h3 { font-size: 1.05rem; margin: 1.2em 0 .4em; }
.guide p, .guide li { overflow-wrap: anywhere; }
.guide ul, .guide ol { padding-left: 1.3em; margin: 0 0 1em; }
.guide li { margin-bottom: .4em; }
.guide .lede { margin-bottom: 1.2em; }
.cta-box { display: grid; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 18px 0 8px; box-shadow: var(--shadow); }
.cta-box p { margin: 0; color: var(--ink-2); font-size: .92rem; }
.cta-box .btn { justify-self: start; }
.steps { counter-reset: step; list-style: none; padding: 0 !important; }
.steps li { counter-increment: step; position: relative; padding-left: 40px; margin-bottom: 12px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.note { background: var(--surface-2); border-radius: 12px; padding: 12px 14px; font-size: .92rem; }
.sources { font-size: .84rem; color: var(--ink-2); }
.compare-table td:nth-child(2) { color: var(--ink); font-weight: 700; }
.compare-table td, .compare-table th { min-width: 120px; }
.more-guides { margin: 32px 0 0; padding-top: 8px; border-top: 1px solid var(--line); }
.guide .faq { margin-bottom: 8px; }

/* ---------- tool tabs (one photo / batch) ---------- */
.tool-tabs { display: inline-grid; grid-auto-flow: column; gap: 4px; padding: 4px; margin-bottom: 12px; background: var(--surface-2); border-radius: 12px; max-width: 100%; }
.tab-btn { border: 0; background: transparent; color: var(--ink-2); font: inherit; font-weight: 700; padding: 8px 14px; min-height: 40px; border-radius: 9px; cursor: pointer; white-space: nowrap; }
.tab-btn.is-on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.tab-btn .badge { font-size: .72rem; font-weight: 600; color: var(--ink-2); margin-left: 2px; }
body[data-tab="batch"] .tool > :is(#dropzone, #presetRow, #workspace, #upsell) { display: none !important; }

.pro-banner { background: var(--accent-soft); color: var(--ink); border-radius: 12px; padding: 10px 14px; margin-bottom: 12px; font-size: .92rem; display: block; }
.pro-banner .banner-x { float: right; width: 30px; height: 30px; margin: -4px -6px 0 8px; }
.linkish { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; overflow-wrap: anywhere; }

/* upsell card (after the 3rd single cutout) */
.upsell { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-top: 14px; padding: 14px 16px; border: 1px solid var(--accent); background: var(--accent-soft); border-radius: var(--radius); }
.upsell p { margin: 0; }
.upsell-title { font-weight: 800; }
.upsell-sub { font-size: .88rem; color: var(--ink-2); }
.upsell-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
@media (max-width: 560px) { .upsell { flex-direction: column; align-items: stretch; } .upsell-actions { justify-content: space-between; } }

/* ---------- batch panel ---------- */
.batch-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .batch-grid { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } }
.batch-main { display: grid; gap: 12px; min-width: 0; }
.dz-batch.compact { padding: 16px 18px; }
.dz-batch.compact .dz-icon, .dz-batch.compact .dz-sub { display: none; }
.dz-batch.compact .dz-title { margin: 0; }
.queue-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.queue-count { margin: 0; font-weight: 700; }
.queue-bar .btn { min-height: 38px; padding: 6px 12px; }
.gate { background: var(--surface); border: 1px solid var(--accent); border-radius: var(--radius); padding: 14px 16px; display: grid; gap: 8px; }
.gate p { margin: 0; }
.gate-title { font-weight: 800; }
.gate-sub { font-size: .9rem; color: var(--ink-2); }
.soon { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 12px; background: var(--surface-2); font-weight: 700; font-size: .9rem; margin: 0; }
.file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
@media (min-width: 640px) { .file-list { grid-template-columns: 1fr 1fr; } }
.file { display: grid; grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-size: .88rem; }
.file .thumb { grid-row: 1 / 3; width: 52px; height: 52px; border-radius: 8px; overflow: hidden; display: grid; place-items: center;
  background-color: var(--check-a); background-image: conic-gradient(var(--check-b) 25%, transparent 0 50%, var(--check-b) 0 75%, transparent 0); background-size: 10px 10px; }
.file .thumb canvas { max-width: 100%; max-height: 100%; display: block; }
.fname { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fstat { color: var(--ink-2); font-size: .82rem; overflow-wrap: anywhere; }
.file.is-working { border-color: var(--accent); }
.file.is-done .fstat { color: var(--ok); }
.file.is-failed { border-color: #c0392b; }
.file.is-failed .fstat { color: #c0392b; }
:root[data-theme="dark"] .file.is-failed .fstat { color: #ff8a7a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .file.is-failed .fstat { color: #ff8a7a; } }
.file.is-skipped { opacity: .6; }
.batch-controls .check { display: flex; gap: 8px; align-items: center; font-weight: 700; font-size: .9rem; cursor: pointer; }
.batch-controls .check input { width: 18px; height: 18px; accent-color: var(--accent); }
.batch-controls .chips { grid-template-columns: repeat(4, 1fr); }
.select-row { display: grid; gap: 6px; font-weight: 700; font-size: .9rem; }
.select-row select { font: inherit; font-weight: 500; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); min-width: 0; }
.run-row { display: grid; grid-template-columns: 1fr 1fr; }
.restore summary { font-size: .86rem; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.restore p { font-size: .85rem; color: var(--ink-2); margin: 6px 0 0; }

/* ---------- pricing ---------- */
.pricing { margin: 0 0 48px; }
.price-grid { display: grid; gap: 14px; margin-bottom: 14px; }
@media (min-width: 700px) { .price-grid { grid-template-columns: 1fr 1fr; } }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: grid; gap: 10px; align-content: start; }
.price-card.is-pro { border: 2px solid var(--accent); }
.price-card h3 { margin: 0; font-size: 1.1rem; }
.price { font-size: 2rem; font-weight: 850; margin: 0; letter-spacing: -0.02em; }
.price small { font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.price-card ul { margin: 0; padding-left: 1.2em; color: var(--ink-2); font-size: .94rem; }
.price-card .btn { justify-self: start; }
.signup { max-width: 520px; }
.signup label { font-weight: 600; font-size: .92rem; }
.signup-row { display: flex; gap: 8px; flex-wrap: wrap; }
.signup-row input { flex: 1 1 200px; font: inherit; padding: 11px 14px; min-height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); min-width: 0; }

/* option checkboxes in the single-image panel */
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 700; font-size: .9rem; cursor: pointer; margin: 10px 0; line-height: 1.35; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--accent); }
.check small { display: block; font-weight: 400; color: var(--ink-2); font-size: .8rem; }
