/* WEB: case flow (capture, progress, facts, checkout). Tokens come from explicat.css; shared phones/paper from site.css. */
.capture { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 28px; align-items: start; padding-top: 24px }
@media (max-width: 860px) { .capture { grid-template-columns: minmax(0, 1fr) } .capture .phone { width: 100% } }
.small { font-size: .9rem }
.upload { display: grid; gap: 14px }
.upload .btn:disabled { opacity: .45 }
.pastepanel { display: grid; gap: 8px }
.thumb { position: relative; overflow: visible }
.thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; position: absolute; inset: 0 }
.thumb .kindmark { font-size: .75rem; color: var(--paper-ink) }
.thumb .rm { position: absolute; left: -8px; top: -8px; width: 28px; height: 28px; min-height: 0; padding: 0; border-radius: 50%; border: 0; background: var(--ink); color: var(--linen); font-size: 1.1rem; line-height: 1; cursor: pointer; z-index: 2 }
.thumb .ok { z-index: 2 }
.thumbs { flex-wrap: wrap }
.warnbox { background: var(--warn-soft); border-color: transparent }
.offerbox { background: var(--surface); gap: 10px }
.quality-note { font-size: .95rem }
.qrbox svg { width: 180px; height: 180px; display: block; background: #fff; padding: 6px; border-radius: 10px }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--red) }
@media (prefers-reduced-motion: no-preference) { .spinner { animation: spin 1s linear infinite } @keyframes spin { to { transform: rotate(360deg) } } }
.phones.trio { margin-top: 24px }
@media (max-width: 1100px) { .phones.trio { justify-content: center } }
.conflict { border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 8px; margin: 0 }
.conflict .lg { font-weight: 600; font-size: .95rem }
.factsform { display: grid; gap: 10px }
.isok .btnrow { display: none }
.isok .confirmed { display: block }
.checkout { margin-top: 28px; padding: 22px; gap: 14px; max-width: 46rem }
.offers { display: grid; gap: 10px }
.offer { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 12px; row-gap: 2px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; min-height: var(--tap) }
.offer:has(input:checked) { border-color: var(--ink); background: var(--linen) }
.offer input { width: 22px; min-height: 22px; height: 22px; grid-row: 1 / 3 }
.offer .ot { font-weight: 700 } .offer .op { font-family: var(--display); font-size: 1.3rem; font-weight: 700; grid-row: 1 / 3; grid-column: 3 }
.offer .od { grid-column: 2; font-size: .92rem }
fieldset.addr { border: 0; padding: 0; margin: 0; display: grid; gap: 8px }
fieldset.addr legend { font-weight: 600; margin-bottom: 6px; padding: 0 }
.notice.disclaimer { background: var(--linen); border: 1px solid var(--line); font-size: .95rem }
.statebox .btn { width: auto; min-width: 200px }

/* live case page: three stacked boxes — summary (top), explanation (big), confirm + buy (small) */
.case3 { display: grid; gap: 14px; margin-top: 8px; font-size: 1rem }
.cbox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; display: grid; gap: 12px; min-width: 0 }
.cbox h3 { font-size: 1.05rem }
.cbox .small, .cbox .src { font-size: .88rem }
.cbox-top { border-left: 4px solid var(--red) }
.cbox-facts { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr) minmax(0, .9fr); gap: 10px 22px }
.cbox-facts > div { display: grid; gap: 2px; min-width: 0 }
.cbox-facts .lbl { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted) }
.cbox-facts b { font-weight: 600; line-height: 1.35 }
.cbox-deadline b.red { color: var(--red); font-family: var(--display); font-size: 1.3rem; font-weight: 700 }
.cbox-main { line-height: 1.55 }
.cbox-main ol.plain { display: grid; gap: 8px; margin: 0; padding-left: 1.2em }
.cbox-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px 28px; align-items: start }
.cbox-cols > .stack-s { align-content: start }
.cbox-actions { background: var(--linen) }
.cbox-actions-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px 24px; align-items: start }
.cbox-actions .card { background: var(--surface) }
@media (max-width: 760px) {
  .cbox { padding: 14px 14px }
  .cbox-facts, .cbox-actions-grid { grid-template-columns: minmax(0, 1fr) }
}
.cbox .risks { background: var(--warn-soft); border-radius: 12px; padding: 12px 14px }
.cbox ol.steps { display: grid; gap: 6px; margin: 0; padding-left: 1.2em }
.cbox .risks ul.plain { display: grid; gap: 6px; margin: 0; padding-left: 1.1em }
