:root {
  --forest: #123b32;
  --forest-2: #0a2b24;
  --green: #197a5b;
  --lime: #b8dc45;
  --lime-soft: #eff8d8;
  --cream: #f7f4ec;
  --paper: #fffefa;
  --ink: #18211e;
  --muted: #64716c;
  --line: #dfe5df;
  --danger: #a83a2e;
  --warning: #a76612;
  --shadow: 0 20px 60px rgba(18, 59, 50, .12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: radial-gradient(circle at 8% 0%, #f2f8e6 0, transparent 34rem), var(--cream); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: var(--green); }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 1000; padding: 12px 16px; border-radius: 10px; background: #fff; color: var(--forest); }
.keyboard-navigation .skip-link:focus { top: 20px; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(18,59,50,.12); background: rgba(255,254,250,.9); backdrop-filter: blur(18px); }
.header-inner { max-width: 1080px; height: 72px; margin: 0 auto; padding: 10px 22px; display: flex; align-items: center; gap: 14px; }
.brand-logo { width: 126px; height: 45px; object-fit: contain; object-position: left center; }
.header-copy { display: flex; flex: 1; min-width: 0; padding-left: 14px; border-left: 1px solid var(--line); flex-direction: column; }
.header-copy span { color: var(--forest); font-size: .83rem; font-weight: 800; letter-spacing: .02em; }
.header-copy small { overflow: hidden; color: var(--muted); font-size: .73rem; text-overflow: ellipsis; white-space: nowrap; }
.help-button { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--forest); font-weight: 900; cursor: pointer; }
.progress { height: 4px; overflow: hidden; background: #e5e9e4; }
.progress-bar { width: 4%; height: 100%; border-radius: 0 4px 4px 0; background: linear-gradient(90deg, var(--green), var(--lime)); transition: width .35s ease; }

.page-shell { width: min(100% - 28px, 980px); min-height: 70vh; margin: 0 auto; padding: 26px 0 70px; }
.prototype-note { width: max-content; max-width: 100%; margin: 0 auto 20px; padding: 8px 13px; display: flex; align-items: center; gap: 8px; border: 1px solid #e8d9a9; border-radius: 99px; background: #fff9dc; color: #684e00; font-size: .78rem; font-weight: 700; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #e1a600; box-shadow: 0 0 0 5px rgba(225,166,0,.13); }
.screen { display: none; animation: appear .36s ease both; }
.screen.active { display: block; }
@keyframes appear { from { opacity: 0; transform: translateY(10px); } }

.hero-card, .form-card, .task-card, .declaration-card, .signature-card, .checking-card, .done-card { border: 1px solid rgba(18,59,50,.11); border-radius: var(--radius); background: rgba(255,254,250,.96); box-shadow: var(--shadow); }
#screen-login { width: min(100%, 720px); margin: 0 auto; }
#screen-login.active { display: block; }
.hero-card { padding: clamp(28px, 5vw, 56px); overflow: hidden; position: relative; color: #fff; background: var(--forest); }
.hero-card::after { content: ""; position: absolute; width: 290px; height: 290px; right: -120px; bottom: -100px; border: 58px solid rgba(184,220,69,.18); border-radius: 50%; }
.eyebrow { display: inline-block; margin-bottom: 12px; color: var(--lime); font-size: .73rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.hero-card h1, .section-head h1, .checking-card h1, .done-card h1 { margin: 0; color: inherit; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.02; letter-spacing: -.045em; }
.hero-card > p { max-width: 650px; margin: 22px 0 26px; color: #d9e7e2; font-size: 1.06rem; }
.hero-card .welcome-question { margin: 24px 0 9px; color: #fff; font-size: 1.2rem; line-height: 1.35; }
.hero-card .welcome-answer { margin-top: 0; }
.hero-card .welcome-operation { position: relative; z-index: 1; margin: 16px 0; font-size: 1rem; }
.hero-card .welcome-storage { position: relative; z-index: 1; margin: 0 0 12px; font-size: 1rem; }
.welcome-storage > strong { display: block; margin-bottom: 5px; color: #fff; }
.maintenance-source { position: relative; z-index: 1; display: inline-block; margin: 0 0 20px; color: #e5f5b4; font-size: .9rem; text-underline-offset: .2em; }
.reason-box { position: relative; z-index: 1; padding: 16px; display: flex; gap: 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 17px; background: rgba(255,255,255,.08); }
.reason-box svg { width: 28px; min-width: 28px; fill: var(--lime); }
.reason-box div { display: flex; flex-direction: column; gap: 3px; }
.reason-box strong { color: #fff; }
.reason-box span { color: #d3e1dc; font-size: .87rem; }
.handover-box { margin-bottom: 10px; background: rgba(184,220,69,.1); }
.start-facts { margin: 15px 0 0; position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.start-facts span { min-height: 76px; padding: 11px; display: flex; gap: 2px; flex-direction: column; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; background: rgba(255,255,255,.06); color: #cfe0d9; font-size: .78rem; line-height: 1.35; }
.start-facts b { color: var(--lime); font-size: .84rem; }
.hero-video-button { min-height: 48px; margin-top: 15px; padding: 0 16px; position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 13px; background: #fff; color: var(--forest); font-weight: 850; cursor: pointer; }
.hero-video-button span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); font-size: .72rem; }
.form-card { padding: clamp(26px, 4vw, 42px); align-self: stretch; display: flex; justify-content: center; flex-direction: column; }
.form-card h2 { margin: 0 0 4px; color: var(--forest); font-size: 1.55rem; }
.muted { margin: 0 0 25px; color: var(--muted); }
.before-start { margin: -9px 0 20px; padding: 13px 14px; display: flex; gap: 2px; flex-direction: column; border-radius: 12px; background: #f3f7ea; color: var(--forest); font-size: .82rem; }
.before-start span { color: var(--muted); }
label { font-size: .88rem; font-weight: 780; }
input[type="email"], input[type="text"], #rrf { display: block; flex-shrink: 0; width: 100%; min-height: 54px; margin: 7px 0 0; padding: 12px 15px; border: 1.5px solid #cdd7d1; border-radius: 13px; outline: 0; background: #fff; line-height: 1.5; }
input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(25,122,91,.12); }
.field-help { margin: 10px 0 22px; display: block; color: var(--muted); font-size: .875rem; font-weight: 540; line-height: 1.6; }
.email-verification { margin-top: 14px; padding: 16px; border: 1px solid #c7ddd0; border-radius: 16px; background: #eef8f1; }
.email-verification > p { margin: 12px 0; color: var(--muted); font-size: .82rem; }
.email-verification .primary-button { width: 100%; }
.verification-sent { display: flex; align-items: center; gap: 10px; }
.verification-sent > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-weight: 900; }
.verification-sent div { display: flex; min-width: 0; flex-direction: column; }
.verification-sent small { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.prototype-code { margin-top: 7px; display: block; color: #785100; text-align: center; }
.privacy-inline { margin: 14px 0 0; color: var(--muted); font-size: .76rem; text-align: center; }

.primary-button, .secondary-button { min-height: 54px; padding: 0 20px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; border: 0; text-decoration: none; font-weight: 850; cursor: pointer; transition: transform .16s ease, background .16s ease, opacity .16s ease; }
.primary-button { color: #fff; background: var(--forest); box-shadow: 0 10px 26px rgba(18,59,50,.18); }
.primary-button span { color: var(--lime); font-size: 1.25em; }
.primary-button:hover:not(:disabled), .secondary-button:hover { transform: translateY(-1px); }
.primary-button:disabled { opacity: .38; cursor: not-allowed; box-shadow: none; }
.secondary-button { border: 1.5px solid #cdd7d1; background: #fff; color: var(--forest); }
.text-button, .link-button { padding: 7px 0; border: 0; background: transparent; color: var(--green); text-decoration: underline; text-underline-offset: 3px; font-weight: 760; cursor: pointer; }
.external { margin-top: 7px; width: fit-content; }

.section-head { max-width: 760px; margin: 25px auto 30px; text-align: center; }
.section-head h1 { color: var(--forest); }
.section-head p { max-width: 680px; margin: 14px auto 0; color: var(--muted); font-size: 1.02rem; }
.work-intro { margin: 28px 0 44px; padding: clamp(24px, 5vw, 42px); border-radius: 24px; background: var(--forest); color: #fff; box-shadow: var(--shadow); }
.work-intro h2 { max-width: 760px; margin: 8px 0 12px; color: #fff; font-size: clamp(1.55rem, 4vw, 2.35rem); line-height: 1.16; }
.work-intro > p { max-width: 820px; margin: 0; color: #d9e7e1; }
.work-intro-steps { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.work-intro-steps span { min-height: 76px; padding: 13px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.08); font-size: .84rem; font-weight: 760; }
.work-intro-steps b { min-width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--forest); }
.step-pill { width: fit-content; margin: 0 auto 13px; padding: 7px 11px; display: block; border-radius: 99px; background: var(--lime-soft); color: #416119; font-size: .71rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.device-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.device-card { min-height: 390px; padding: 20px; overflow: hidden; position: relative; display: flex; align-items: center; flex-direction: column; border: 2px solid transparent; border-radius: 22px; background: var(--paper); box-shadow: 0 12px 38px rgba(18,59,50,.08); cursor: pointer; text-align: center; }
.device-card:hover { border-color: #a9c9bd; }
.device-card.selected { border-color: var(--green); box-shadow: 0 0 0 5px rgba(25,122,91,.1); }
.device-card img { width: 100%; height: 260px; padding: 10px; object-fit: contain; mix-blend-mode: multiply; }
.device-card strong { margin-top: auto; color: var(--forest); font-size: 1.17rem; }
.device-card > span:last-child { margin-top: 5px; color: var(--muted); font-size: .86rem; }
.device-card.image-only { min-height: 330px; justify-content: center; }
.device-card.image-only img { height: 290px; padding: 16px; }
.choice-check { width: 30px; height: 30px; position: absolute; z-index: 2; top: 14px; right: 14px; display: none; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-weight: 900; }
.device-card.selected .choice-check { display: grid; }
.other-card { grid-column: 1 / -1; min-height: 150px; display: grid; grid-template-columns: 80px 1fr; grid-template-rows: auto auto; align-content: center; text-align: left; }
.other-card .camera-icon { width: 66px; height: 66px; grid-row: 1 / 3; display: grid; place-items: center; border-radius: 18px; background: var(--lime-soft); color: var(--green); font-size: 2rem; }
.other-card strong { margin: 0; align-self: end; }
.other-card > span:last-child { align-self: start; }
.other-upload { margin: 18px 0; }
.hidden { display: none !important; }

.upload-box { min-height: 128px; padding: 20px; display: flex; align-items: center; justify-content: center; gap: 7px; flex-direction: column; border: 2px dashed #9eb4aa; border-radius: 18px; background: #fbfdf8; cursor: pointer; text-align: center; }
.upload-box:hover { border-color: var(--green); background: #f5faed; }
.upload-box input { position: absolute; opacity: 0; pointer-events: none; }
.upload-box small { color: var(--muted); font-weight: 500; }
.upload-icon { min-width: 46px; height: 46px; padding: 0 8px; display: grid; place-items: center; border-radius: 13px; background: var(--lime-soft); color: var(--forest); font-weight: 900; }
.upload-box.has-file { border-style: solid; border-color: var(--green); background: #f1f8ed; }
.upload-box.compact { min-height: 95px; flex-direction: row; justify-content: flex-start; text-align: left; }
.upload-box.compact span:last-child { display: flex; flex-direction: column; }
.sticky-actions { margin: 28px auto 0; display: flex; justify-content: flex-end; gap: 10px; }
.sticky-actions .primary-button { min-width: 260px; }
.two-actions { justify-content: space-between; }

.task-counter { width: min(100%, 720px); margin: 0 auto 13px; display: flex; align-items: center; gap: 13px; color: var(--muted); font-size: .78rem; font-weight: 800; }
.task-counter > div { height: 7px; flex: 1; overflow: hidden; border-radius: 10px; background: #dfe6df; }
.task-counter i { width: 10%; height: 100%; display: block; border-radius: inherit; background: var(--lime); transition: width .25s ease; }
.task-card { width: min(100%, 720px); min-height: 540px; margin: 0 auto; padding: clamp(24px, 5vw, 44px); }
.task-heading { display: block; width: 100%; text-align: center; }
.task-heading > div { width: 100%; min-width: 0; }
.task-heading h2, .task-heading p { overflow-wrap: break-word; }
.task-index { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--forest); color: var(--lime); font-size: 1.25rem; font-weight: 900; }
.task-heading h2 { margin: 0 auto; color: var(--forest); font-size: clamp(1.45rem, 4vw, 2rem); line-height: 1.25; }
.task-heading p { margin: 12px auto 0; color: var(--muted); }
.instruction { margin: 25px 0; padding: 18px; border-left: 4px solid var(--lime); border-radius: 0 15px 15px 0; background: #f4f8eb; }
.instruction strong { display: block; color: var(--forest); }
.instruction p { margin: 5px 0 0; }
.sticker-strip { margin: 20px 0; display: flex; align-items: center; gap: 12px; }
.sticker-strip img { width: 86px; height: 62px; padding: 4px; border: 1px solid var(--line); border-radius: 9px; background: #fff; object-fit: contain; }
.sticker-strip span { color: var(--muted); font-size: .82rem; }
.task-buttons { margin: 14px 0 18px; display: flex; gap: 9px; flex-wrap: wrap; }
.sample-button { min-height: 44px; padding: 0 15px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #bdd0c7; border-radius: 11px; background: #edf5f0; color: var(--forest); font-weight: 800; text-decoration: none; cursor: pointer; }
.safety-note { margin: 15px 0; padding: 14px; display: flex; gap: 10px; border-radius: 13px; background: #fff5e7; color: #704405; font-size: .85rem; }
.safety-note b { color: #b46600; }
.install-list { margin: 14px 0 0; padding-left: 22px; }
.install-list li + li { margin-top: 7px; }
.task-confirmation { margin: 18px 0; padding: 16px; display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; border: 1px solid #bcd2c7; border-radius: 15px; background: #eef7f1; color: var(--forest); font-weight: 760; cursor: pointer; }
.task-confirmation input { width: 23px; height: 23px; margin: 1px 0 0; accent-color: var(--green); }
.question-choice { margin: 24px 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.question-choice button { min-height: 74px; padding: 13px; border: 2px solid var(--line); border-radius: 14px; background: #fff; color: var(--forest); font-weight: 800; cursor: pointer; }
.question-choice button.selected { border-color: var(--green); background: var(--lime-soft); box-shadow: 0 0 0 4px rgba(25,122,91,.08); }
.cap-status-choice button { display: flex; align-items: flex-start; justify-content: center; gap: 4px; flex-direction: column; text-align: left; }
.cap-status-choice small { color: var(--muted); font-weight: 520; line-height: 1.35; }
.cap-safety-note { margin: -5px 0 18px; padding: 14px 16px; border-left: 4px solid var(--green); border-radius: 10px; background: #f1f7f2; color: #3f4f49; }
.skip-note { margin: 10px 0 0; padding: 14px 16px; border-radius: 13px; background: #f0f3f1; color: var(--muted); font-weight: 720; }
.manual-note { margin: 10px 0 0; padding: 18px; display: flex; align-items: flex-start; gap: 5px; flex-direction: column; border: 1px solid #cbd9d1; border-radius: 15px; background: #f4f8f5; }
.manual-note span { color: var(--muted); }
.manual-note .secondary-button { margin-top: 10px; text-decoration: none; }
.photo-preview { min-height: 160px; margin-top: 13px; overflow: hidden; display: grid; place-items: center; border-radius: 15px; background: #e9eeeb; }
.photo-preview img { width: 100%; max-height: 300px; object-fit: cover; }
.photo-meta { padding: 9px; color: var(--green); font-size: .8rem; font-weight: 800; text-align: center; }
.binary-choice { margin: 18px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.binary-choice button { min-height: 80px; padding: 12px; border: 2px solid var(--line); border-radius: 14px; background: #fff; font-weight: 800; cursor: pointer; }
.binary-choice button.selected { border-color: var(--green); background: var(--lime-soft); }

.review-summary { display: grid; gap: 10px; }
.review-row { padding: 14px 16px; display: grid; grid-template-columns: 42px 1fr auto; gap: 13px; align-items: center; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.review-thumb { width: 42px; height: 42px; overflow: hidden; display: grid; place-items: center; border-radius: 11px; background: var(--lime-soft); color: var(--green); font-weight: 900; }
.review-thumb img { width: 100%; height: 100%; object-fit: cover; }
.review-row strong { display: block; color: var(--forest); }
.review-row small { color: var(--muted); }
.quality { padding: 5px 8px; border-radius: 99px; color: #27633e; background: #e4f5e8; font-size: .72rem; font-weight: 850; }
.quality.warn { color: #8c4f00; background: #fff1d8; }
.info-banner, .reminder-note { max-width: 720px; margin: 20px auto; padding: 18px; display: flex; gap: 4px; flex-direction: column; border: 1px solid #cadbcf; border-radius: 16px; background: #eef7f1; }
.info-banner span, .reminder-note span { color: var(--muted); font-size: .88rem; }

.checking-card, .done-card { max-width: 680px; margin: 50px auto; padding: clamp(30px, 6vw, 60px); text-align: center; }
.checking-card h1, .done-card h1 { color: var(--forest); font-size: clamp(2rem, 5vw, 3rem); }
.checking-card > p, .done-card > p { color: var(--muted); }
.scanner { width: 96px; height: 96px; margin: 0 auto 25px; display: grid; place-items: center; border: 2px solid #d9e7df; border-radius: 28px; background: #f5f9f6; }
.scanner span { width: 44px; height: 56px; position: relative; border: 3px solid var(--green); border-radius: 5px; }
.scanner span::after { content: ""; position: absolute; left: -7px; right: -7px; top: 15px; height: 3px; background: var(--lime); box-shadow: 0 13px 0 var(--lime); animation: scan 1.4s ease-in-out infinite alternate; }
@keyframes scan { to { transform: translateY(13px); } }
.evidence-id { margin: 24px 0; padding: 14px; display: flex; gap: 4px; flex-direction: column; border-radius: 13px; background: #f2f4f2; }
.evidence-id span { color: var(--muted); font-size: .74rem; }
.evidence-id strong { color: var(--forest); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }

.declaration-card, .signature-card { max-width: 760px; margin: 0 auto 18px; padding: clamp(23px, 5vw, 40px); }
.declaration-card { box-shadow: none; }
.declaration-card h2 { margin-top: 0; color: var(--forest); font-size: 1.38rem; }
.declaration-card p, .declaration-card li { font-size: .93rem; }
.declaration-card li + li { margin-top: 6px; }
.handover-list { margin: 16px 0 20px; padding: 16px 18px 16px 38px; border-radius: 14px; background: #f1f6ed; }
.consent-list { max-width: 760px; margin: 20px auto; display: grid; gap: 9px; }
.check-row { padding: 15px; display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); cursor: pointer; }
.check-row input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--green); }
.check-row span { display: flex; flex-direction: column; }
.receipt-warning { max-width: 760px; margin: 0 auto 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; border-left: 4px solid #d99527; border-radius: 12px; background: #fff5e3; color: #704405; }
.receipt-warning span { font-size: .9rem; line-height: 1.5; }
.check-row small { color: var(--muted); font-weight: 500; }
.signature-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.signature-head h2 { margin: 0; color: var(--forest); }
.signature-head p { margin: 3px 0 15px; color: var(--muted); font-size: .82rem; }
#signature-pad { width: 100%; height: 210px; display: block; touch-action: none; border: 2px solid #cdd7d1; border-radius: 14px; background: #fff; cursor: crosshair; }
.signature-line { margin-top: -28px; padding-bottom: 10px; position: relative; color: #9ba5a0; font-size: .72rem; text-align: center; pointer-events: none; }

.success-download { max-width: 760px; margin: 0 auto 20px; padding: 17px; display: grid; grid-template-columns: 50px 1fr auto; gap: 13px; align-items: center; border: 1px solid #bee0c7; border-radius: 17px; background: #ebf8ee; }
.big-check { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-size: 1.3rem; font-weight: 900; }
.success-download div { display: flex; min-width: 0; flex-direction: column; }
.success-download div span { overflow: hidden; color: var(--muted); font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
.dap-steps { max-width: 760px; margin: 0 auto; padding: 0; display: grid; gap: 12px; list-style: none; }
.dap-steps > li { padding: 20px; display: grid; grid-template-columns: 42px 1fr; gap: 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.dap-steps > li > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--forest); color: var(--lime); font-weight: 900; }
.dap-steps p { margin: 3px 0 10px; color: var(--muted); }
.signing-choice { max-width: 760px; margin: 0 auto 18px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; border: 0; }
.signing-choice legend { width: 100%; margin-bottom: 9px; color: var(--forest); font-weight: 850; }
.signing-choice label { min-height: 100px; padding: 14px; display: grid; grid-template-columns: 24px 1fr; gap: 9px; align-items: start; border: 2px solid var(--line); border-radius: 15px; background: var(--paper); cursor: pointer; }
.signing-choice label:has(input:checked) { border-color: var(--green); background: #eef8f1; box-shadow: 0 0 0 4px rgba(25,122,91,.08); }
.signing-choice input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green); }
.signing-choice label span { display: flex; gap: 3px; flex-direction: column; }
.signing-choice small { color: var(--muted); font-weight: 500; line-height: 1.35; }
.signing-panel { max-width: 760px; margin: 0 auto; }
.alternative-signing { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.alternative-signing > strong { color: var(--forest); font-size: 1.08rem; }
.alternative-signing > p { margin: 5px 0 17px; color: var(--muted); }
.epapir-signing { display: grid; gap: 14px; }
.epapir-signing > p { margin: -6px 0 0; }
.video-guide-button { width: fit-content; display: inline-flex; align-items: center; gap: 8px; }
.compact-signing-steps { margin: 0; padding-left: 24px; color: #3f4f49; }
.compact-signing-steps li + li { margin-top: 8px; }
.epapir-signing .upload-box { margin-top: 2px; }
.alternative-signing.caution { border-color: #e7cf9c; background: #fff9eb; }
.compact-check { margin-top: 14px; background: #fff; }

.done-icon { width: 86px; height: 86px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--forest); font-size: 2.7rem; font-weight: 900; box-shadow: 0 0 0 14px var(--lime-soft); }
.status-card { margin: 28px 0; padding: 18px; display: flex; gap: 5px; flex-direction: column; border-radius: 16px; background: var(--forest); color: #fff; }
.status-card span, .status-card small { color: #cfe0d9; }
.status-card strong { color: var(--lime); font-size: 1.15rem; }
.done-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.site-footer { padding: 34px max(22px, calc((100% - 1080px) / 2)); display: grid; grid-template-columns: 160px 1fr auto; gap: 24px; align-items: center; border-top: 1px solid rgba(18,59,50,.12); background: #eef0ea; color: var(--muted); font-size: .8rem; }
.site-footer img { width: 140px; }
.site-footer p { margin: 0; }
.site-footer div { display: flex; gap: 12px; flex-direction: column; align-items: flex-end; }

.modal { width: min(92vw, 880px); max-height: 90vh; padding: 0; overflow: auto; border: 0; border-radius: 24px; background: var(--paper); box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.modal::backdrop { background: rgba(5,26,21,.72); backdrop-filter: blur(5px); }
.modal-close { width: 42px; height: 42px; position: sticky; z-index: 3; top: 12px; float: right; margin: 12px 12px -54px 0; border: 0; border-radius: 50%; background: rgba(18,59,50,.9); color: #fff; font-size: 1.55rem; cursor: pointer; }
.modal-body { padding: clamp(30px, 6vw, 58px); }
.modal-body h2 { margin: 0 0 14px; color: var(--forest); font-size: 2rem; line-height: 1.08; }
.modal-body h3 { margin-bottom: 5px; color: var(--forest); }
.modal-body .primary-button { margin-top: 8px; }
.legal-copy p { color: #46514d; }
.legal-warning { padding: 13px; border-radius: 10px; background: #fff4df; color: #7b4d00 !important; }
.intro-modal { width: min(94vw, 980px); max-height: 94vh; padding: 0; overflow: auto; border: 0; border-radius: 28px; background: var(--paper); box-shadow: 0 34px 110px rgba(0,0,0,.42); }
.intro-modal::backdrop { background: rgba(4,25,20,.86); backdrop-filter: blur(8px); }
.guide-shell { padding: clamp(24px, 5vw, 48px); }
.guide-shell h2 { margin: 8px 0; color: var(--forest); font-size: clamp(1.8rem, 4vw, 2.7rem); }
.guide-shell > p { color: var(--muted); }
.guide-shell video { width: 100%; margin-top: 14px; display: block; border-radius: 18px; background: #0b2d27; box-shadow: 0 18px 48px rgba(9,45,37,.16); }
.intro-shell { min-height: 520px; }
.intro-gate { min-height: 520px; padding: clamp(34px, 7vw, 70px); display: flex; align-items: flex-start; justify-content: center; flex-direction: column; color: #fff; background: radial-gradient(circle at 92% 8%, rgba(184,220,69,.22) 0 150px, transparent 151px), var(--forest); }
.intro-gate > img { width: 205px; margin-bottom: 28px; padding: 8px; border-radius: 12px; background: #fff; }
.intro-gate .eyebrow { margin-bottom: 9px; }
.intro-gate h2 { max-width: 670px; margin: 0; color: #fff; font-size: clamp(2.3rem, 6vw, 4.2rem); line-height: 1; letter-spacing: -.045em; }
.intro-gate > p { max-width: 650px; margin: 17px 0 20px; color: #d5e4de; font-size: 1.08rem; }
.intro-context { max-width: 720px; margin: 0 0 22px; padding: 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; background: rgba(255,255,255,.06); }
.intro-context h3 { margin: 0 0 8px; color: #fff; font-size: 1.15rem; line-height: 1.4; }
.intro-context p { margin: 0; color: #d5e4de; font-size: 1rem; line-height: 1.6; }
.intro-context p + p { margin-top: 12px; }
.intro-meta { margin-bottom: 24px; display: flex; gap: 8px; flex-wrap: wrap; }
.intro-meta span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 99px; background: rgba(255,255,255,.08); color: #e5eee9; font-size: .82rem; font-weight: 750; }
.intro-play { min-width: 290px; color: var(--forest); background: var(--lime); box-shadow: none; }
.intro-play span { color: var(--forest); }
.intro-gate > .text-button { margin-top: 10px; color: #fff; }
.intro-player { padding: clamp(15px, 3vw, 25px); }
.intro-player video { width: 100%; display: block; border-radius: 18px; background: var(--forest); aspect-ratio: 16 / 9; }
.intro-transcript { margin: 14px 2px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 13px; background: #f5f7f4; }
.intro-transcript summary { color: var(--forest); font-weight: 850; cursor: pointer; }
.intro-transcript p { margin: 10px 0 2px; color: var(--muted); font-size: .9rem; }
.intro-actions { display: flex; justify-content: flex-end; gap: 9px; }
.sample-visual { min-height: 640px; position: relative; overflow: hidden; background: #eee; }
.sample-visual > img { width: 100%; height: 100%; min-height: 640px; position: absolute; object-fit: contain; }
.sample-caption { padding: 23px 26px 30px; }
.sample-caption h2 { margin: 0; color: var(--forest); }
.sample-caption p { margin-bottom: 0; color: var(--muted); }
.device-board, .cap-board { padding: 26px; background: #f0f2ef; }
.device-stage { height: 620px; position: relative; overflow: hidden; border-radius: 18px; background: #fff; }
.device-stage > img:not(.sticker-on-device) { width: 100%; height: 100%; padding: 34px; object-fit: contain; }
.device-stage.pc-battery-stage { width: min(100%, 484px); height: auto; margin-inline: auto; }
.device-stage.pc-battery-stage > img:not(.sticker-on-device) { display: block; width: 100%; height: auto; padding: 0; }
.pc-battery-stage .sticker-on-device { min-width: 0; }
.device-pin { position: absolute; z-index: 2; left: var(--pin-x); top: var(--pin-y); transform: translate(-50%, -50%); }
.device-pin::before { content: ""; width: 23px; height: 23px; position: absolute; left: -12px; top: -12px; border: 4px solid #fff; border-radius: 50%; background: #e85828; box-shadow: 0 0 0 7px rgba(232,88,40,.26); }
.device-pin span { width: max-content; max-width: 220px; padding: 9px 11px; position: absolute; left: 18px; top: -20px; border-radius: 10px; background: #fff; color: var(--forest); box-shadow: 0 7px 24px rgba(0,0,0,.2); font-size: .78rem; font-weight: 850; }
.device-pin span img { width: 58px; height: 40px; margin-right: 7px; vertical-align: middle; object-fit: contain; }
.sticker-on-device { width: var(--sticker-width); min-width: 38px; max-width: 68px; height: auto; padding: 2px; position: absolute; z-index: 2; left: var(--sticker-x); top: var(--sticker-y); transform: translate(-50%, -50%); border-radius: 3px; background: #fff; box-shadow: 0 2px 7px rgba(0,0,0,.24); object-fit: contain; }
.placement-legend { margin-top: 13px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.placement-legend > div { min-height: 68px; padding: 10px; display: flex; align-items: center; gap: 10px; border: 1px solid #d7dfda; border-radius: 12px; background: #fff; }
.placement-legend img { width: 58px; height: 42px; object-fit: contain; }
.placement-legend span { color: var(--forest); font-size: .78rem; font-weight: 760; }
.source-note { margin: 12px 0 0; color: var(--muted); font-size: .76rem; text-align: center; }
.cable-only-board { padding: 40px 24px; display: flex; align-items: center; flex-direction: column; background: #f0f2ef; text-align: center; }
.cable-only-channel { width: 118px; height: 510px; position: relative; display: grid; place-items: center; border: 1px solid #c8cfca; border-radius: 8px; background: repeating-linear-gradient(90deg, #f9faf8 0 17px, #e5e9e5 17px 21px); box-shadow: 0 8px 22px rgba(0,0,0,.1); }
.cable-only-channel img { width: 92px; height: 68px; padding: 4px; border-radius: 4px; background: #fff; object-fit: contain; box-shadow: 0 3px 9px rgba(0,0,0,.18); }
.cable-only-board > strong { margin-top: 22px; color: var(--forest); font-size: 1.05rem; }
.cable-only-board > p { max-width: 560px; margin: 6px 0 0; color: var(--muted); }
.entry-board, .box-board { padding: 24px; background: #f0f2ef; }
.entry-stage, .box-stage { position: relative; overflow: hidden; border-radius: 17px; background: #fff; }
.gate-stage { aspect-ratio: 3 / 2; }
.door-stage { height: 680px; }
.entry-photo, .box-photo { width: 100%; height: 100%; display: block; object-fit: contain; }
.entry-label, .box-label { height: auto; position: absolute; z-index: 2; border: 2px solid rgba(255,255,255,.85); border-radius: 3px; box-shadow: 0 5px 16px rgba(0,0,0,.28); }
.gate-label { width: 23%; left: 50%; top: 40%; transform: translate(-50%, -50%); }
.entry-board > .sample-disclaimer { font-size: .875rem; color: var(--muted); }
.door-label { width: 19%; left: 53%; top: 43%; transform: translate(-50%, -50%); }
.entry-board > p, .box-board > p { margin: 14px 4px 0; color: var(--forest); text-align: center; }
.box-stage { height: 560px; }
.box-photo { padding: 30px; }
.box-label { width: 25%; left: 50%; top: 33%; transform: translate(-50%, -50%); }
.cap-board { display: grid; gap: 15px; }
.cap-combined { width: 100%; max-height: 560px; display: block; border-radius: 16px; background: #fff; object-fit: contain; }
 .cap-pair-frame { width: 100%; overflow: hidden; border-radius: 16px; background: #fff; }
.cap-pair-frame img { display: block; width: 100%; height: auto; }
#screen-login .form-card { margin-top: 0; }
#screen-login h1 { font-size: clamp(1.7rem, 4vw, 2.2rem); margin: 0 0 14px; color: var(--forest); }
.cap-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cap-legend span { padding: 12px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; border-radius: 11px; background: #fff; color: var(--forest); font-size: .78rem; }
.cap-color { width: 20px; height: 20px; display: inline-block; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px #aab3ae; }
.cap-color.red { background: #df1f20; }
.cap-color.black { background: #171918; }
.hotspot { position: absolute; z-index: 2; transform: translate(-50%, -50%); }
.hotspot::before { content: ""; width: 23px; height: 23px; position: absolute; left: -12px; top: -12px; border: 4px solid #fff; border-radius: 50%; background: #e85828; box-shadow: 0 0 0 7px rgba(232,88,40,.26); }
.hotspot span { width: max-content; max-width: 210px; padding: 9px 11px; position: absolute; left: 18px; top: -20px; border-radius: 10px; background: #fff; color: var(--forest); box-shadow: 0 7px 24px rgba(0,0,0,.2); font-size: .78rem; font-weight: 850; }
.hotspot span img { width: 58px; height: 40px; margin-right: 7px; vertical-align: middle; object-fit: contain; }
.toast { max-width: calc(100vw - 32px); padding: 12px 16px; position: fixed; z-index: 100; left: 50%; bottom: -100px; transform: translateX(-50%); border-radius: 13px; background: var(--forest-2); color: #fff; box-shadow: 0 16px 50px rgba(0,0,0,.25); font-size: .86rem; font-weight: 760; transition: bottom .25s ease; }
.toast.show { bottom: 20px; }

@media (max-width: 760px) {
  .header-inner { height: 64px; padding: 8px 15px; }
  .brand-logo { width: 105px; }
  .header-copy { padding-left: 9px; }
  .header-copy span { font-size: .72rem; }
  .header-copy small { font-size: .64rem; }
  .page-shell { width: min(100% - 20px, 680px); padding-top: 14px; }
  #screen-login.active { display: block; }
  .hero-card, .form-card { border-radius: 20px; }
  .hero-card { padding: 28px 23px; }
  .hero-card h1 { font-size: 2.45rem; }
  .hero-card > p { font-size: .96rem; }
  .start-facts { grid-template-columns: 1fr; }
  .start-facts span { min-height: 0; }
  .hero-video-button { width: 100%; }
  .form-card { margin-top: 12px; padding: 24px 20px; }
  .section-head { margin-top: 14px; }
  .section-head h1 { font-size: 2.2rem; }
  .work-intro { margin: 14px 0 30px; padding: 24px 20px; }
  .work-intro-steps { grid-template-columns: 1fr; }
  .device-grid { grid-template-columns: 1fr; }
  .device-card { min-height: 300px; }
  .device-card img { height: 245px; }
  .device-card.image-only { min-height: 290px; }
  .device-card.image-only img { height: 255px; }
  .other-card { grid-column: auto; min-height: 130px; }
  .sticky-actions { position: sticky; z-index: 20; bottom: 8px; padding: 9px; border: 1px solid rgba(18,59,50,.1); border-radius: 17px; background: rgba(255,254,250,.92); backdrop-filter: blur(15px); box-shadow: 0 13px 40px rgba(18,59,50,.15); }
  .sticky-actions .primary-button { min-width: 0; flex: 1; }
  .two-actions .secondary-button { padding: 0 13px; }
  .task-card { min-height: 500px; padding: 22px 18px; }
  .task-heading { width: 100%; text-align: center; }
  .task-index { width: 44px; height: 44px; }
  .binary-choice { grid-template-columns: 1fr; }
  .question-choice { grid-template-columns: 1fr; }
  .review-row { grid-template-columns: 42px 1fr; }
  .quality { grid-column: 2; width: fit-content; }
  .success-download { grid-template-columns: 45px 1fr; }
  .success-download button { grid-column: 1 / -1; }
  .dap-steps > li { grid-template-columns: 35px 1fr; padding: 16px; }
  .dap-steps > li > span { width: 35px; height: 35px; }
  .signing-choice { grid-template-columns: 1fr; }
  .signing-choice label { min-height: 76px; }
  .external { width: 100%; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .site-footer img { margin: auto; }
  .site-footer div { align-items: center; }
  .sample-visual { min-height: 530px; }
  .sample-visual > img { min-height: 530px; }
  .hotspot span { max-width: 160px; font-size: .7rem; }
  .device-board, .cap-board { padding: 12px; }
  .device-stage { height: 500px; }
  .device-stage > img:not(.sticker-on-device) { padding: 18px; }
  .device-pin span { max-width: 160px; font-size: .68rem; }
  .device-pin span img { width: 44px; height: 32px; }
  .placement-legend { grid-template-columns: 1fr; }
  .sticker-on-device { min-width: 34px; max-width: 56px; }
  .entry-board, .box-board { padding: 12px; }
  .door-stage { height: 520px; }
  .box-stage { height: 430px; }
  .box-photo { padding: 18px; }
  .cap-legend { grid-template-columns: 1fr; }
  .cable-only-channel { height: 390px; }
  .intro-modal { width: 100vw; max-width: none; max-height: 100dvh; border-radius: 0; }
  .intro-shell, .intro-gate { min-height: 100dvh; }
  .intro-gate { padding: 34px 22px; justify-content: center; }
  .intro-gate > img { width: 170px; margin-bottom: 23px; }
  .intro-gate h2 { font-size: 3rem; }
  .intro-play { width: 100%; min-width: 0; }
  .intro-player { min-height: 100dvh; padding: 10px; display: flex; flex-direction: column; justify-content: center; }
  .intro-player video { border-radius: 13px; }
  .intro-actions { position: sticky; bottom: 0; padding-top: 9px; flex-direction: column-reverse; background: var(--paper); }
  .intro-actions button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.save-status{padding:12px 18px;color:#245e49;background:#eef5e7;border-radius:12px;font-size:14px;line-height:1.5}.receipt-item{border:1px solid #d7e1db;border-radius:14px;padding:18px;margin:18px 0;min-width:0}.receipt-item legend{font-weight:700;padding:0 6px;max-width:100%}.receipt-item p{font-size:14px;color:#5b6b65}.receipt-options{display:flex;flex-wrap:wrap;gap:10px}.receipt-options label{display:flex;align-items:center;gap:8px;padding:12px;background:#f0f5ec;border-radius:8px;font-size:16px;cursor:pointer}.receipt-options input{width:20px;height:20px}.task-problem{margin-top:24px;border-top:1px solid #d7e1db;padding-top:18px}.task-problem summary{cursor:pointer;color:#285d4c;font-size:16px}.task-problem p{font-size:14px}textarea{display:block;width:100%;font:inherit;padding:14px;border:1px solid #a9bdb2;border-radius:10px;resize:vertical;min-height:95px;background:#fffefa}.preview-mode input:disabled{opacity:.7}.checking-card>.secondary-button{margin:14px auto}.consent-list a{color:#165c43}.signature-card canvas{touch-action:none}button:disabled{cursor:not-allowed}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}

/* V2: clearer choices, one task counter and visible safety context. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* The V3 welcome retains the V1 headline styling. */
.intro-purpose-heading { color: #9c4b0c; margin: 2px 20px 12px; font-size: 1.5rem; }
.requested-deadline { border-left: 4px solid #ffce80; padding: 12px 16px; background: #ffffff12; border-radius: 0 10px 10px 0; }
.choice-prompt { font-size: clamp(1.45rem, 3vw, 1.9rem); line-height: 1.25; text-align: center; margin: 26px 0 18px; }
.cap-safety-note { color: #663b13; background: #fff0db; border-left: 4px solid #d7882c; padding: 16px 18px; border-radius: 0 12px 12px 0; margin: 18px 0; }
.cap-safety-note p { margin: 6px 0 0; }
.task-safety-issue { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; }
.task-safety-issue summary { cursor: pointer; font-weight: 600; }
.video-help-link { display: inline-block; color: #075cab !important; text-decoration: underline; text-underline-offset: 3px; padding: 12px 16px; line-height: 1.45; }
.signing-option { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--paper); }
.signing-choice .signing-option > label { border: 0; border-radius: 0; margin: 0; }
.signing-option .video-help-link { width: 100%; }
.alternative-method { margin-top: 28px; }
.parcel-receipt { padding: 20px; margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; }
.parcel-receipt h3 { margin-top: 0; }
.parcel-inventory { padding-left: 22px; line-height: 1.6; }
.parcel-inventory li { margin-bottom: 6px; }
.parcel-receipt details { margin-top: 12px; }
.parcel-receipt summary { cursor: pointer; font-weight: 600; }
/* Completion-focused layout: the form and the next action stay close to the task. */
#screen-login { align-items: start; }
.hero-card { padding: 30px; }
.hero-card h1 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.13; }
.hero-card::after { pointer-events: none; }
.hero-card .welcome-answer { margin: 12px 0; font-size: 1rem; }
.hero-card .welcome-question { margin-top: 18px; }
.start-actions { position: relative; z-index: 1; display: grid; gap: 12px; margin-top: 22px; }
.start-actions .start-button { color: var(--forest); background: var(--lime); }
.start-button span { color: var(--forest); }
.start-actions .hero-video-button { margin: 0; background: transparent; color: #fff; }
.hero-card .start-reassurance { margin: 14px 0 0; font-size: .875rem; }
.form-card { justify-content: flex-start; padding: 28px; scroll-margin-top: 88px; min-width: 0; }
.form-card .muted { margin-bottom: 20px; }
.start-details { grid-column: 1 / -1; padding: 22px 4px; }
.start-details h2 { margin: 0 0 14px; color: var(--forest); }
.start-details details { margin-top: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.start-details summary { cursor: pointer; font-weight: 700; }
.journey-preview { padding-left: 25px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.journey-preview li::marker { color: var(--green); font-weight: 800; }
.journey-preview strong, .journey-preview span { display: block; }
.journey-preview span { margin-top: 5px; }
.field-help, .privacy-inline, .before-start, .prototype-note, .email-verification > p,
.check-row small, .placement-legend span, .cap-legend span, .intro-transcript p { font-size: .875rem; }
input, textarea, select { font-size: 1rem; }
#email-code { width: 100%; min-height: 54px; padding: 12px; border: 1.5px solid #9bac9f; border-radius: 10px; letter-spacing: .12em; }
.code-help, .receipt-help { margin: 10px 0; }
.field-error { color: #8f291f; background: #fff2ee; padding: 12px; border-left: 4px solid #a83a2e; font-size: 1rem; }
[aria-invalid="true"] { border-color: #a83a2e !important; }
.flow-status { color: var(--forest); font-size: .875rem; font-weight: 700; text-align: center; }
.next-hint { max-width: 720px; margin: 18px auto 0; padding: 14px 16px; color: #244e42; background: #edf4e9; border-radius: 12px; font-size: 1rem; }
.task-card { min-height: 0; }
.photo-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.upload-box p { margin: 6px 0 12px; font-weight: 400; }
.upload-box .upload-feedback { margin: 5px 0 0; font-size: .875rem; }
.upload-box .upload-feedback:empty { display: none; }
.file-button { cursor: pointer; position: relative; }
.upload-box input { width: 1px; height: 1px; }
:focus-visible, .upload-box:focus-within { outline: 3px solid #176caa; outline-offset: 4px; }
.review-edit { min-height: 44px; display: block; }
.review-row small, .photo-meta { overflow-wrap: anywhere; font-size: .875rem; }
.waiting-symbol { margin: 0 auto 16px; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; color: var(--forest); background: var(--lime-soft); font-size: 2rem; }
.intro-modal { width: min(96vw, 760px); max-height: 96dvh; }
.intro-shell { min-height: 0; }
.intro-heading { padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.intro-heading h2 { margin: 0; font-size: 1.2rem; }
.intro-heading button { min-height: 44px; flex-shrink: 0; padding: 0 12px; }
.intro-welcome { margin: 0; padding: 0 20px 14px; font-size: 1rem; }
.intro-format-actions { display: flex; gap: 10px; flex-wrap: wrap; padding: 0 20px 18px; }
.intro-format-actions button { flex: 1; min-width: 220px; padding: 12px; }
.intro-player { padding: 0 20px 20px; min-height: 0; display: block; }
.intro-player video { display: block; width: min(100%, 52vh); width: min(100%, 52dvh); height: auto; max-height: none; margin: 0 auto; aspect-ratio: 4 / 5; object-fit: contain; scroll-margin-block: 12px; }
.intro-actions { position: sticky; bottom: 0; padding: 12px 0; background: var(--paper); }
.intro-actions button { min-width: 0; }
.intro-status { margin: 12px 2px; color: var(--forest); font-size: .9375rem; }
.sticky-actions { flex-wrap: wrap; }
.signing-reassurance { padding: 12px; border-radius: 12px; background: var(--lime-soft); }
.prototype-note { border-radius: 12px; }
@media (max-width: 760px) {
  .hero-card { padding: 24px 20px; }
  .hero-card h1 { font-size: 1.9rem; }
  .form-card { padding: 24px 20px; }
  .journey-preview { grid-template-columns: 1fr; gap: 16px; }
  .device-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .device-card.image-only { min-height: 220px; padding: 8px; }
  .device-card.image-only img { height: 200px; padding: 4px; }
  .section-head h1 { font-size: 1.9rem; }
  .intro-heading { padding: 12px; }
  .intro-welcome { padding: 0 12px 12px; }
  .intro-format-actions { padding: 0 12px 14px; }
  .intro-format-actions button { min-width: 100%; }
  .intro-player { padding: 0 12px 12px; }
  .intro-actions { flex-direction: column-reverse; }
  .photo-actions { width: 100%; flex-direction: column; }
  .photo-actions label { width: 100%; }
  .sticky-actions { bottom: max(8px, env(safe-area-inset-bottom)); }
  .header-copy small { font-size: .875rem; }
  .help-button { min-width: 44px; height: 44px; }
  .check-row { padding: 16px 12px; }
}
@media (max-width: 340px) {
  .device-grid { grid-template-columns: 1fr; }
  .header-copy { display: none; }
  .header-inner { justify-content: space-between; }
}
/* V3 follow-up: short inline help, with controls clearly separate from legal acceptance. */
.caption-toggle { margin: 12px 0; min-height: 44px; }
.signing-help-choice { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 18px; border: 0; background: var(--paper); color: var(--forest); font: inherit; text-align: left; cursor: pointer; }
.signing-help-choice strong, .signing-help-choice small { display: block; }
.signing-help-choice small { margin-top: 5px; font-size: .875rem; color: var(--muted); }
.wifi-guide { display: block; }
.wifi-guide h3 { margin: 0 0 12px; font-size: 1.3rem; color: var(--forest); }
.wifi-guide .install-list { padding-left: 24px; }
.wifi-guide li { margin: 0 0 16px; }
#ugyfelkapu-help, #alternative-signing-help { scroll-margin-top: 90px; }
#photo-review-notes, #checking-description { white-space: pre-line; }
#request-manual-review { margin: 0 0 20px; }
/* Signed climate-authority document uploads, independent from equipment review. */
.climate-upload{padding:16px 0;border-bottom:1px solid #d4ddd7}
.climate-upload label,.climate-upload small{display:block;margin-top:8px}
.climate-upload input{display:block;width:100%;max-width:100%;margin:10px 0}
#climate-section{padding:20px 0;margin-bottom:24px;border-bottom:2px solid #d4ddd7}
#climate-section>label{display:flex;align-items:flex-start;gap:12px}
#climate-signed{flex:0 0 auto;margin-top:5px}
