/* Keep the footer at the bottom of the window on short steps. */
body { display: flex; min-height: 100dvh; flex-direction: column; }
.store-live-status { position: sticky; top: 0; z-index: 3; min-height: 20px; margin: 0; padding: 7px 0; background: var(--s-paper); color: var(--s-muted); font-size: 15px; line-height: 1.55; }
.store-live-status:empty { position: static; padding: 0; min-height: 7px; }
.store-live-status.is-error { color: var(--s-accent); }
.store-main { min-width: 0; }
.store-stage { min-width: 0; padding: 7px 0 28px; }
.store-stage[hidden], .feature-config[hidden] { display: none !important; }
.stage-heading { padding: 0 0 23px; border-bottom: 1px solid var(--s-line); }
.stage-heading h2 { margin: 0; font-size: clamp(25px, 3vw, 36px); font-weight: 630; letter-spacing: -.02em; line-height: 1.25; }
.stage-heading > p:last-child { max-width: 68ch; margin: 9px 0 0; color: var(--s-muted); font-size: 15px; line-height: 1.75; }
.store-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 12px; padding: 9px 16px; border: 1px solid var(--s-line); background: transparent; color: var(--s-ink); font: inherit; font-size: 15px; text-align: center; text-decoration: none; cursor: pointer; transition: border-color .15s ease, background .15s ease, color .15s ease; }
.store-button:hover:not(:disabled) { border-color: var(--s-ink); background: var(--surface-2); }
.store-button.dark { border-color: var(--s-ink); background: var(--s-ink); color: var(--s-paper); }
.store-button.dark:hover:not(:disabled) { background: var(--paper); }
.store-button.accent { min-height: 52px; padding-inline: 26px; border-color: var(--s-accent); background: var(--s-accent); color: var(--ink-on-light); font-size: 15px; font-weight: 620; }
.store-button.accent:hover { border-color: var(--ember); background: var(--ember); }
.store-button:disabled, .store-button[aria-disabled='true'] { cursor: not-allowed; opacity: .45; }
.stage-actions, .result-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 25px; }
.stage-actions .store-button { min-width: 124px; }
.camera-choice-fieldset, .config-fieldset { min-width: 0; margin: 24px 0 0; padding: 0; border: 0; }
.camera-choice-fieldset legend, .config-fieldset legend { margin-bottom: 10px; color: var(--s-muted); font-size: 15px; }
.camera-choice-row, .variant-choice-row { display: flex; flex-wrap: wrap; gap: 9px; }
.choice-line { position: relative; display: flex; min-width: 0; min-height: 56px; align-items: center; gap: 11px; padding: 9px 13px; border: 1px solid var(--s-line); background: transparent; cursor: pointer; }
.choice-line:has(input:checked) { border-color: var(--s-accent); background: var(--bg); }
.choice-line:has(input:disabled) { cursor: not-allowed; opacity: .5; }
.choice-line input { flex: none; width: 16px; height: 16px; margin: 0; accent-color: var(--s-accent); }
.choice-line > span { display: grid; gap: 1px; }
.choice-line strong { font-size: 15px; font-weight: 620; }
.choice-line small { color: var(--s-muted); font-size: 15px; line-height: 1.5; }
.variant-choice-row { margin-bottom: 17px; }
.variant-choice-row button { min-height: 42px; padding: 7px 13px; border: 1px solid var(--s-line); background: transparent; color: var(--s-muted); font-size: 15px; cursor: pointer; }
.variant-choice-row button[aria-pressed='true'] { border-color: var(--s-accent); background: var(--bg); color: var(--s-accent); }
.variant-choice-row button:disabled { cursor: not-allowed; opacity: .45; }
.field-label { display: flex; flex-direction: column; gap: 7px; color: var(--s-muted); font-size: 15px; }
.compatibility-note { margin-top: 20px; padding: 12px 14px; border-left: 2px solid var(--s-accent); background: var(--surface-2); color: var(--muted); font-size: 15px; line-height: 1.7; }
.selected-feature-list { display: grid; gap: 0; margin: 6px 0 0; padding: 0; list-style: none; }
.selected-feature-list > li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--s-line); }
.selected-feature-list .feature-number { color: var(--s-accent); font: 15px var(--font); }
.selected-feature-list .feature-title { font-size: 15px; font-weight: 620; line-height: 1.45; }
.selected-feature-list .feature-subtitle { display: block; margin-top: 3px; color: var(--s-muted); font-size: 15px; font-weight: 400; line-height: 1.5; }
.selected-feature-list .rail-recipe-slot { display: flex; align-items: center; gap: 6px; margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.rail-recipe-thumb { display: grid; width: 24px; height: 24px; flex: none; place-items: center; border: 1px solid var(--s-line); color: var(--s-muted); font: 8px var(--mono); }
.rail-recipe-thumb img { display: block; width: 24px; height: 24px; object-fit: contain; image-rendering: pixelated; }
.selected-feature-list .remove-feature { min-width: 38px; min-height: 38px; margin: -8px -8px 0 0; color: var(--s-muted); font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.empty-plan { grid-column: 1 / -1; display: block !important; padding: 15px 0 !important; border-bottom: 0 !important; color: var(--s-muted); font-size: 15px; }
.catalog-status { display: inline-flex; align-items: center; gap: 6px; margin-top: 9px; color: var(--muted); font-size: 15px; }
.catalog-status::before { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); content: ''; }
.feature-block { padding: 20px 0; border-bottom: 1px solid var(--s-line); }
.feature-retired-note { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--s-line); color: var(--s-muted); font-size: 15px; line-height: 1.7; }
.feature-block-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.feature-block-head h3 { margin: 0; font-size: 17px; font-weight: 630; line-height: 1.4; }
.feature-version { margin-left: 9px; padding: 1px 6px; border: 1px solid var(--s-line); color: var(--s-muted); font: 500 13px var(--font); letter-spacing: .02em; text-decoration: none; vertical-align: 2px; white-space: nowrap; }
.feature-version:hover { border-color: var(--s-ink); color: var(--s-ink); }
.feature-block-head p { max-width: 52ch; margin: 5px 0 0; color: var(--s-muted); font-size: 15px; line-height: 1.65; }
.feature-block-head .store-button { flex: none; min-width: 84px; }
.feature-block[data-supported='false'] .feature-block-head h3, .feature-block[data-supported='false'] .feature-block-head p { opacity: .55; }
.feature-block[data-supported='false'] .catalog-status::before { background: var(--s-accent); }
.feature-block[data-selected='true'] .catalog-status::before { background: var(--muted); }
.feature-block-body { margin-top: 16px; padding: 4px 0 0 16px; border-left: 2px solid var(--s-line); }
.film-row-name { display: flex; flex-direction: column; gap: 5px; max-width: 280px; margin-top: 8px; color: var(--s-muted); font-size: 15px; }
.film-row-name input { min-height: 38px; padding: 6px 9px; border: 1px solid var(--s-line); background: transparent; color: var(--s-ink); font: inherit; font-size: 15px; }
.film-picker-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 4px; }
.feature-config h4 { margin: 0; font-size: 15px; font-weight: 640; }
#filmCount { color: var(--s-muted); font-size: 15px; font-variant-numeric: tabular-nums; }
.film-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; margin-top: 10px; }
.film-group { grid-column: 1 / -1; margin: 10px 0 0; color: var(--s-muted); font-size: 15px; font-weight: 640; letter-spacing: .04em; }
.film-group:first-child { margin-top: 0; }
.film-card { position: relative; display: flex; border: 1px solid var(--s-line); }
.film-card.is-selected { border-color: var(--s-ink); background: var(--surface-2); }
.film-card-toggle { display: grid; flex: 1; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: center; height: 60px; min-width: 0; padding: 9px 30px 9px 10px; color: var(--s-ink); text-align: left; }
.film-card-toggle:disabled { cursor: not-allowed; opacity: .42; }
.film-card-toggle img { width: 40px; height: 40px; image-rendering: pixelated; }
.film-card-toggle span { display: grid; gap: 2px; min-width: 0; }
.film-card-toggle strong, .film-card-toggle small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.film-card-toggle strong { font-size: 15px; font-weight: 640; }
.film-card-toggle small { color: var(--s-muted); font-size: 15px; line-height: 1.4; }
.film-card.is-selected::after { content: '✓'; position: absolute; right: 10px; bottom: 7px; color: var(--s-accent); font-size: 15px; font-weight: 700; pointer-events: none; }
.film-card-more { position: absolute; top: 2px; right: 2px; width: 28px; height: 28px; color: var(--s-muted); font-size: 16px; line-height: 1; }
.film-card-more:hover, .film-card-more[aria-expanded='true'] { color: var(--s-ink); background: color-mix(in srgb, var(--paper) 7%, transparent); }
.film-card-menu { position: absolute; top: 30px; right: 2px; z-index: 3; display: grid; min-width: 96px; border: 1px solid var(--s-ink); background: var(--s-paper); box-shadow: none; }
.film-card-menu[hidden] { display: none; }
.film-card-menu button { min-height: 40px; padding: 6px 14px; color: var(--s-ink); font-size: 15px; text-align: left; }
.film-card-menu button:hover, .film-card-menu button:focus-visible { background: var(--surface-2); }
.film-card-toggle:focus-visible, .film-card-more:focus-visible, .film-card-menu button:focus-visible { outline: 2px solid var(--s-accent); outline-offset: -2px; }
.film-fit-status.is-error { color: var(--s-accent); }
#filmSlotsBlock { margin-top: 16px; }
.film-slots { max-width: 620px; margin: 6px 0 0; padding: 0; list-style: none; }
.film-slots li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--s-line); font-size: 15px; }
.film-slots .film-slot-where { color: var(--s-muted); }
.film-slots strong { overflow: hidden; font-weight: 640; text-overflow: ellipsis; white-space: nowrap; }
.film-slot-texture { display: flex; gap: 10px; }
.film-slot-texture label { display: flex; gap: 5px; align-items: center; color: var(--s-muted); white-space: nowrap; }
.film-slot-texture select { min-height: 28px; padding: 2px 4px; border: 1px solid var(--s-line); border-radius: 0; background: var(--s-paper); color: var(--s-ink); font: inherit; }
.film-slot-texture select:focus-visible { outline: 2px solid var(--s-accent); outline-offset: 1px; }
@media (max-width: 560px) {
  .film-slots li { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .film-slot-texture { grid-column: 1 / -1; }
}
.film-add { margin: 16px 0 4px; }
.slot-editor-dialog.film-lut-dialog { width: min(560px, calc(100vw - 24px)); }
.film-lut-step { margin-bottom: 18px; }
.film-lut-icon { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; margin: 14px 0 6px; }
.film-lut-icon-button { display: grid; width: 92px; height: 92px; place-items: center; border: 1px dashed var(--s-line); background: var(--paper); cursor: pointer; }
.film-lut-icon-button:hover { border-color: var(--s-ink); }
.film-lut-icon-button:focus-visible { outline: 2px solid var(--s-accent); outline-offset: 3px; }
.film-lut-icon-button img { width: 80px; height: 80px; image-rendering: pixelated; }
.film-lut-icon .film-fit-status { margin: 0 0 4px; }
.film-lut-icon .text-action { min-height: 40px; color: var(--s-ink); font-size: 15px; text-decoration: underline; text-decoration-color: var(--s-accent); text-underline-offset: 3px; }
.film-lut-step h3 { margin: 0 0 9px; font-size: 15px; font-weight: 640; }
.film-row-choices { display: grid; gap: 2px; max-width: 420px; margin: 8px 0 0; padding: 0; border: 0; }
.film-row-choices legend { padding: 0; color: var(--s-muted); font-size: 15px; }
.film-row-choices label { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; align-items: start; min-height: 40px; padding: 6px 0; cursor: pointer; }
.film-row-choices input { margin: 3px 0 0; accent-color: var(--s-accent); }
.film-row-choices span { display: grid; gap: 1px; }
.film-row-choices strong { font-size: 15px; }
.film-row-choices small { color: var(--s-muted); font-size: 15px; line-height: 1.5; }
.film-fit-status { min-height: 0; margin: 10px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.film-fit-status:empty { margin: 0; }
.film-fit-status.is-error { color: var(--s-accent); }
.stage-hint { min-height: 18px; margin: 16px 0 0; color: var(--s-accent); font-size: 15px; line-height: 1.6; text-align: right; }
.stage-hint:empty { min-height: 0; margin: 0; }
.stage-hint + .stage-actions { margin-top: 10px; }
.build-blockers { display: grid; gap: 5px; margin: 10px 0 0; padding: 0 0 0 18px; color: var(--ember-text); font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
.build-blockers[hidden] { display: none; }
.review-target { margin: 0 0 9px; font-size: 15px; }
.custom-defaults-guide { padding: 15px 17px; border: 1px solid var(--s-line); background: var(--bg); }
.custom-defaults-guide > h3 { margin-bottom: 6px; }
.custom-defaults-guide .unverified-note { margin: 0; font-size: 15px; line-height: 1.7; }
.custom-defaults-guide ol { display: grid; gap: 6px; margin: 12px 0 0; padding-left: 20px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.custom-defaults-guide ol li::marker { color: var(--s-accent); font-family: var(--font); font-size: 15px; }
.custom-defaults-guide .combination-conflict { margin-top: 10px; font-size: 15px; }
.manual-checks > h3, .backup-entry > h3 { margin: 0; font-size: 15px; font-weight: 620; }
.backup-entry[hidden] { display: none; }
.config-heading { display: flex; align-items: start; gap: 13px; }
.feature-index { flex: none; padding-top: 1px; color: var(--s-accent); font: 15px var(--font); }
.config-heading h3 { margin: 0; font-size: 17px; font-weight: 620; }
.config-heading p { margin: 4px 0 0; color: var(--s-muted); font-size: 15px; line-height: 1.65; }
.manual-only-note { margin: 11px 0 0 24px; color: var(--s-muted); font-size: 15px; line-height: 1.65; }
.recipe-template-options { display: grid; gap: 7px; margin-bottom: 8px; }
.recipe-template-options .choice-line { width: 100%; }
.preset-choice { align-items: start; }
.preset-choice > span { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 2px 9px; align-items: start; }
.preset-choice > span > strong, .preset-choice > span > small { grid-column: 2; }
.preset-icon-preview { grid-column: 1; grid-row: 1 / span 4; width: 40px; height: 40px; object-fit: contain; image-rendering: pixelated; }
.preset-parameter-summary { color: var(--muted) !important; line-height: 1.6 !important; }
.preset-manual-settings { overflow-wrap: anywhere; }
.manual-recipe-fields { margin-top: 18px; }
.manual-recipe-identity { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, .6fr); gap: 14px; margin-bottom: 20px; }
.manual-recipe-identity input { width: 100%; min-height: 42px; padding: 6px 0; border: 0; border-bottom: 1px solid var(--s-line); border-radius: 0; background: transparent; color: var(--s-ink); font: inherit; font-size: 15px; }
.parameter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 16px; }
.parameter-field { display: flex; min-width: 0; flex-direction: column; gap: 4px; color: var(--s-muted); font-size: 11px; }
.parameter-field span { font: 13px var(--font); }
.parameter-field input { width: 100%; min-height: 42px; padding: 3px 0; border: 0; border-bottom: 1px solid var(--s-line); border-radius: 0; background: transparent; color: var(--s-ink); font: 23px var(--mono); }
.parameter-field input[aria-invalid='true'] { border-color: var(--s-accent); }
.parameter-field b { font-size: 11px; font-weight: 500; }
.parameter-field.is-unmapped { opacity: .56; }
.parameter-field.is-unmapped input { border-bottom-style: dashed; color: var(--s-muted); cursor: not-allowed; }
.parameter-field [data-parameter-map-hint] { color: var(--muted); font-size: 9px; line-height: 1.4; }
.parameter-field [hidden] { display: none; }
.icon-setting { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.icon-setting legend { grid-column: 1 / -1; }
.icon-setting .choice-line { min-height: 49px; }
.custom-icon-controls { margin: 13px 0 0 24px; padding: 14px; border: 1px solid var(--s-line); }
.custom-icon-file { display: flex; flex-direction: column; gap: 8px; color: var(--s-muted); font-size: 15px; }
.custom-icon-file input { max-width: 100%; font-size: 15px; }
.custom-icon-file input::file-selector-button { min-height: 38px; margin-right: 10px; padding: 6px 10px; border: 1px solid var(--s-line); background: transparent; color: var(--s-ink); cursor: pointer; }
.custom-icon-status { margin: 8px 0 0; color: var(--s-muted); font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
.custom-icon-status.is-error { color: var(--ember-text); }
.custom-icon-preview { display: flex; flex-wrap: wrap; align-items: end; gap: 18px; margin-top: 14px; }
.custom-icon-preview[hidden] { display: none; }
.custom-icon-preview figure { display: grid; gap: 6px; justify-items: start; margin: 0; }
.custom-icon-preview figure img { display: block; background-color: var(--bg); background-image: var(--surface); background-size: 12px 12px; background-position: 0 0, 0 6px, 6px -6px, -6px 0; image-rendering: pixelated; object-fit: contain; }
.custom-icon-preview figure:first-child img { width: 40px; height: 40px; }
.custom-icon-preview figure:last-child img { width: 120px; height: 120px; }
.custom-icon-preview figcaption { color: var(--s-muted); font-size: 10px; }
.custom-icon-actions { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px; }
.custom-icon-actions button { min-height: 38px; color: var(--s-ink); font-size: 15px; text-align: left; text-decoration: underline; text-decoration-color: var(--s-accent); text-underline-offset: 4px; }
.custom-icon-actions button:disabled { cursor: not-allowed; opacity: .45; }
.timestamp-menu-gallery { margin: 18px 0 8px; }
.timestamp-menu-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 720px; }
.timestamp-menu-gallery figure, .aspect-menu-figure { min-width: 0; margin: 0; border: 1px solid var(--s-line); background: var(--paper); }
.timestamp-menu-gallery img, .aspect-menu-figure img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.timestamp-menu-gallery figcaption, .aspect-menu-figure figcaption { padding: 7px 9px; background: var(--paper); color: var(--ink-on-light); font-size: 15px; }
.aspect-menu-figure { max-width: 720px; margin: 18px 0 8px; }
.timestamp-defaults { margin: 14px 0; color: var(--s-ink); font-size: 15px; line-height: 1.65; }
.timestamp-capability-details { max-width: 720px; margin-top: 12px; border-top: 1px solid var(--s-line); border-bottom: 1px solid var(--s-line); }
.timestamp-capability-details summary { min-height: 42px; padding: 11px 0; color: var(--s-ink); font-size: 15px; cursor: pointer; }
.timestamp-capabilities { display: grid; grid-template-columns: minmax(90px, .28fr) minmax(0, 1fr); gap: 8px 14px; margin: 0 0 14px; font-size: 15px; line-height: 1.6; }
.timestamp-capabilities dt { color: var(--s-muted); }
.timestamp-capabilities dd { margin: 0; color: var(--s-ink); overflow-wrap: anywhere; }
.aspect-package-list { display: grid; gap: 7px; margin: 15px 0 18px; padding: 0; list-style: none; }
.aspect-package-list li { position: relative; padding-left: 20px; color: var(--s-ink); font-size: 15px; line-height: 1.6; }
.aspect-package-list li::before { position: absolute; left: 0; color: var(--s-accent); content: '＋'; }
.feature-includes { margin: 12px 0 14px; }
.firmware-info-block, .backup-entry, .manual-checks { padding: 21px 0; border-bottom: 1px solid var(--s-line); }
.firmware-info-block { padding-top: 4px; }
.manual-checks { border-bottom: 0; padding-bottom: 0; }
.file-select { display: flex; flex-direction: column; gap: 8px; margin-top: 17px; color: var(--s-muted); font-size: 15px; }
.file-select input { width: 100%; font-size: 15px; }
.file-select input::file-selector-button { min-height: 40px; margin-right: 12px; padding: 7px 12px; border: 1px solid var(--s-line); background: transparent; color: var(--s-ink); cursor: pointer; }
.unverified-note, .backup-entry-status { margin: 7px 0 0; color: var(--s-muted); font-size: 15px; line-height: 1.65; }
.firmware-metadata { display: grid; grid-template-columns: minmax(105px, .35fr) minmax(0, 1fr); gap: 7px 12px; margin: 14px 0 0; font-size: 12px; }
.firmware-metadata dt { color: var(--s-muted); }
.firmware-metadata dd { min-width: 0; margin: 0; overflow-wrap: anywhere; font-family: var(--mono); }
.build-readiness { margin-top: 15px; padding: 12px 14px; border-left: 2px solid var(--rule); background: var(--surface-2); color: var(--muted); font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
.build-readiness[data-state='ready'] { border-color: var(--muted); background: var(--surface-2); color: var(--muted); }
.build-readiness[data-state='error'] { border-color: var(--s-accent); background: var(--surface-2); color: var(--ember-text); }
.build-preparation-summary { display: grid; grid-template-columns: minmax(125px, .4fr) minmax(0, 1fr); gap: 7px 12px; margin: 14px 0 0; font-size: 11px; line-height: 1.55; }
.build-preparation-summary dt { color: var(--s-muted); }
.build-preparation-summary dd { min-width: 0; margin: 0; overflow-wrap: anywhere; font-family: var(--mono); }
.backup-entry .store-button { margin-top: 13px; }
.backup-entry-status[data-supported='true'] { color: var(--muted); }
.check-line { display: flex; align-items: start; gap: 10px; margin-top: 11px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.check-line input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--s-accent); }
.combination-conflict { margin-top: 18px; padding: 13px 15px; border-left: 2px solid var(--s-accent); background: var(--surface-2); color: var(--ember-text); font-size: 15px; line-height: 1.7; }
.configuration-review { margin-top: 18px; }
.configuration-review > h3 { margin: 0 0 9px; font-size: 15px; font-weight: 620; }
.configuration-review-item { padding: 11px 0; border-top: 1px solid var(--s-line); }
.configuration-review-item h4 { margin: 0 0 7px; font-size: 15px; font-weight: 630; }
.configuration-review-item > p { margin: 0; color: var(--s-muted); font-size: 15px; line-height: 1.6; }
.review-recipe-row { display: flex; align-items: start; gap: 11px; padding: 7px 0; }
.review-recipe-row > img { flex: none; width: 40px; height: 40px; object-fit: contain; image-rendering: pixelated; }
.review-recipe-row > div { min-width: 0; }
.review-recipe-row strong { font-size: 15px; }
.review-recipe-row p { margin: 3px 0 0; color: var(--s-muted); font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.configuration-review-item .manual-only-note { margin: 4px 0 0 51px; }
.install-guide { margin-top: 18px; padding: 15px 17px; border-left: 2px solid var(--s-accent); background: var(--bg); }
.install-guide[hidden] { display: none; }
.install-guide h3 { margin: 0; font-size: 15px; font-weight: 620; }
.install-guide ol { display: grid; gap: 6px; margin: 10px 0 0; padding-left: 20px; font-size: 15px; line-height: 1.7; }
.install-guide ol li::marker { color: var(--s-accent); font-family: var(--font); font-size: 15px; }
.install-guide code { font-family: var(--mono); font-size: 12px; }
.install-guide p { margin: 10px 0 0; color: var(--s-muted); font-size: 15px; line-height: 1.7; }
.firmware-risk-card { margin-top: 22px; padding: clamp(16px, 2.5vw, 24px); border: 1px solid var(--s-line); background: var(--bg); }
.firmware-risk-head { padding-bottom: 12px; border-bottom: 1px solid var(--s-line); }
.firmware-risk-head .eyebrow { margin: 0 0 5px; color: var(--s-muted); font-size: 10px; }
.firmware-risk-head h3 { margin: 0; font-size: clamp(18px, 2vw, 22px); font-weight: 630; line-height: 1.4; }
.firmware-risk-copy { display: grid; gap: 10px; margin-top: 15px; }
.firmware-risk-copy p { margin: 0; color: var(--s-ink); font-size: 15px; line-height: 1.8; }
.firmware-risk-check { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; margin-top: 17px; padding: 13px 12px; border: 1px solid var(--s-line); background: var(--s-paper); font-size: 15px; line-height: 1.7; cursor: pointer; }
.firmware-risk-check:has(input:checked) { border-color: var(--s-accent); background: var(--bg); }
.firmware-risk-check input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--s-accent); }
.firmware-risk-links { margin: 8px 0 0; color: var(--s-muted); font-size: 15px; }
.firmware-risk-links a { color: inherit; text-underline-offset: 3px; }
.firmware-risk-check input:disabled { cursor: wait; }
.firmware-risk-status { margin: 10px 0 0; color: var(--s-muted); font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
.firmware-risk-status[data-error='true'] { color: var(--ember-text); }
.firmware-risk-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 9px; margin-top: 15px; }
.firmware-risk-actions .store-button { min-width: 220px; }
.firmware-risk-actions .text-action { color: var(--s-ink); font-size: 15px; text-align: left; text-decoration: underline; text-decoration-color: var(--s-accent); text-underline-offset: 4px; }
.firmware-risk-actions .text-action[hidden] { display: none; }
#downloadFirmwareBin[hidden], #downloadBuildReceipt[hidden] { display: none; }
.busy-spinner, .build-readiness[data-busy='true']::before { display: inline-block; width: 14px; height: 14px; flex: none; border: 2px solid var(--rule); border-top-color: var(--s-accent); border-radius: 50%; animation: store-spin .8s linear infinite; content: ''; }
.build-readiness[data-busy='true']::before { margin-right: 9px; vertical-align: -2px; }
.build-progress { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 9px 11px; align-items: center; margin-top: 15px; padding: 13px 14px; border: 1px solid var(--s-accent); background: var(--s-paper); }
.build-progress[hidden] { display: none; }
.build-progress p { display: grid; gap: 2px; margin: 0; }
.build-progress strong { font-size: 15px; font-weight: 620; line-height: 1.5; overflow-wrap: anywhere; }
.build-progress small { color: var(--s-muted); font-size: 15px; line-height: 1.6; }
.build-progress-bar { position: relative; grid-column: 1 / -1; height: 3px; overflow: hidden; background: var(--surface-2); }
.build-progress-bar::after { position: absolute; top: 0; bottom: 0; left: 0; width: 34%; background: var(--s-accent); animation: store-progress 1.5s ease-in-out infinite; content: ''; }
@keyframes store-spin { to { transform: rotate(360deg); } }
@keyframes store-progress { from { transform: translateX(-100%); } to { transform: translateX(300%); } }

@media (max-width: 900px) {
}
@media (max-width: 700px) {
  .feature-block-body { padding-left: 11px; }
  .recipe-slot-actions button { min-width: 44px; }
  .store-stage { padding-top: 2px; }
}
@media (max-width: 460px) {
  .camera-choice-row { display: grid; grid-template-columns: 1fr 1fr; }
  .choice-line { padding-inline: 9px; }
  .parameter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 14px; }
  .manual-recipe-identity { grid-template-columns: 1fr; gap: 11px; }
  .icon-setting { grid-template-columns: 1fr; }
  .timestamp-menu-gallery { grid-template-columns: 1fr; }
  .stage-actions { justify-content: stretch; }
  .stage-actions .store-button { flex: 1 1 42%; min-width: 0; }
  .result-actions { align-items: stretch; flex-direction: column; }
  .result-actions .store-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .store-button { transition: none; }
  .busy-spinner, .build-readiness[data-busy='true']::before { animation-duration: 2.4s; }
  .build-progress-bar::after { width: 100%; animation: none; opacity: .5; }
}
.store-wrap :where(button) { font: inherit; cursor: pointer; }
:where(.store-wrap button) { border: 0; background: transparent; }

/* Recipe slots are edited in isolation; the browser dialog owns a bounded local draft. */
.slot-summary-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px 12px; margin: 13px 0 10px; }
.slot-count-summary { margin: 0; color: var(--s-muted); font-size: 15px; }
.recipe-slot-list { border-top: 1px solid var(--s-ink); }
.recipe-slot-card { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 13px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--s-line); }
.recipe-slot-icon { display: grid; width: 40px; height: 40px; place-items: center; overflow: hidden; border: 1px solid var(--s-line); background-color: var(--bg); background-image: var(--surface); background-size: 12px 12px; background-position: 0 0, 0 6px, 6px -6px, -6px 0; }
.recipe-slot-icon img { display: block; width: 40px; height: 40px; object-fit: contain; image-rendering: pixelated; }
.recipe-slot-icon.is-original { color: var(--muted); }
.recipe-slot-icon-id { color: var(--muted); font-size: 10px; }
.recipe-slot-icon > img + .recipe-slot-icon-id { display: none; }
.recipe-slot-copy { min-width: 0; }
.recipe-slot-copy h4 { margin: 0; font-size: 15px; font-weight: 640; }
.recipe-slot-copy p { margin: 3px 0 0; color: var(--s-muted); font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.recipe-slot-copy .recipe-slot-base { color: var(--s-ink); }
.recipe-slot-copy .recipe-slot-source-name { color: var(--s-muted); font-size: 10px; }
.recipe-slot-copy .recipe-slot-validation-status { color: var(--muted); font-size: 10px; }
.recipe-slot-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: 4px 12px; }
.recipe-slot-actions button { min-height: 40px; padding: 4px 0; color: var(--s-ink); font-size: 15px; text-decoration: underline; text-decoration-color: var(--s-accent); text-underline-offset: 3px; }
.recipe-slot-actions button:disabled { cursor: not-allowed; opacity: .4; }
.slot-flow-note { margin: 13px 0 0; color: var(--s-muted); font-size: 15px; line-height: 1.65; }
.recipe-slot-undo { margin: 3px 0 8px; color: var(--s-ink); font-size: 15px; text-decoration: underline; text-decoration-color: var(--s-accent); text-underline-offset: 3px; }
.slot-editor-dialog { width: min(760px, calc(100vw - 24px)); max-width: none; max-height: min(92dvh, 940px); padding: 0; border: 1px solid var(--s-line); background: var(--s-paper); color: var(--s-ink); box-shadow: none; }
.slot-editor-dialog::backdrop { background: color-mix(in srgb, #000 62%, transparent); }
.slot-editor-dialog[open] { display: block; }
.slot-editor-dialog form { display: flex; max-height: min(92dvh, 940px); flex-direction: column; }
.slot-editor-head { display: flex; flex: none; align-items: start; justify-content: space-between; gap: 20px; padding: 21px 25px 16px; border-bottom: 1px solid var(--s-line); }
.slot-editor-head .eyebrow { margin: 0 0 5px; font-size: 10px; }
.slot-editor-head h2 { margin: 0; font-size: 22px; font-weight: 630; }
.slot-editor-factory-label { margin: 5px 0 0; color: var(--s-muted); font-size: 15px; }
.slot-editor-close { width: 40px; height: 40px; flex: none; color: var(--s-muted); font-size: 27px !important; line-height: 1; }
.slot-editor-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px 25px 24px; }
.slot-source-options, .slot-icon-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; border: 0; }
.slot-source-options legend, .slot-icon-options legend { grid-column: 1 / -1; margin-bottom: 1px; color: var(--s-muted); font-size: 15px; }
.slot-source-options .choice-line, .slot-icon-options .choice-line { min-height: 54px; padding: 8px 10px; }
.slot-editor-source-panel { margin: 19px 0 0; padding: 14px; border: 1px solid var(--s-line); }
.slot-editor-source-panel[hidden], .slot-custom-icon[hidden] { display: none !important; }
.slot-editor-source-panel .field-label input { width: 100%; min-height: 42px; padding: 7px 9px; border: 1px solid var(--s-line); background: transparent; color: var(--s-ink); font: inherit; font-size: 15px; }
.slot-editor-source-panel .field-label input[aria-invalid='true'] { border-color: var(--s-accent); }
.slot-editor-source-panel .field-label select { margin-top: 3px; }
.slot-camera-name-counter { margin: 6px 0 0; color: var(--s-muted); font-size: 10px; text-align: right; }
.slot-camera-name-feedback { margin: 4px 0 0; color: var(--ember-text); font-size: 15px; line-height: 1.5; }
.slot-camera-name-feedback[hidden] { display: none; }
.slot-source-name-note { color: var(--muted); }
.slot-community-details { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 11px; align-items: start; margin-top: 12px; }
.slot-community-details img { width: 40px; height: 40px; grid-row: span 2; object-fit: contain; image-rendering: pixelated; }
.slot-community-details strong { font-size: 15px; }
.slot-community-details small, .slot-editor-hint { color: var(--s-muted); font-size: 15px; line-height: 1.6; }
.slot-editor-hint { margin: 8px 0 0; }
.slot-editor-hint.is-error { color: var(--ember-text); }
.slot-editor-source-panel .slot-recipe-import { margin-top: 12px; }
.slot-recipe-import { display: flex; flex-direction: column; gap: 8px; color: var(--s-muted); font-size: 15px; }
.slot-recipe-import input { font-size: 15px; }
.slot-parameter-editor { margin-top: 20px; }
.slot-parameter-editor h3 { margin: 0 0 4px; font-size: 15px; }
.slot-base-effect { margin: 0 0 11px; color: var(--s-muted); font-size: 15px; }
.slot-parameter-editor .parameter-grid { margin-top: 0; }
.slot-icon-options { margin-top: 20px; }
.slot-custom-icon { margin: 12px 0 0; padding: 14px; border: 1px solid var(--s-line); }
.slot-editor-error { margin: 13px 0 0; padding: 10px 12px; border-left: 2px solid var(--s-accent); background: var(--surface-2); color: var(--ember-text); font-size: 15px; line-height: 1.6; }
.slot-editor-error[hidden] { display: none; }
.slot-editor-actions { display: flex; flex: none; justify-content: end; gap: 9px; padding: 12px 25px; border-top: 1px solid var(--s-line); background: var(--s-paper); }
.slot-editor-actions .store-button { min-width: 130px; }
.slot-editor-actions button:disabled { cursor: wait; opacity: .5; }
@media (max-width: 560px) {
  .recipe-slot-card { grid-template-columns: 42px minmax(0, 1fr); gap: 8px 10px; }
  .recipe-slot-actions { grid-column: 2; justify-content: start; }
  .slot-editor-dialog { width: calc(100vw - 12px); max-height: 96dvh; }
  .slot-editor-dialog form { max-height: 96dvh; }
  .slot-editor-head { padding: 15px 16px 12px; }
  .slot-editor-head h2 { font-size: 19px; }
  .slot-editor-body { padding: 15px 16px 19px; }
  .slot-source-options, .slot-icon-options { grid-template-columns: 1fr; }
  .slot-source-options legend, .slot-icon-options legend { grid-column: 1; }
  .slot-editor-actions { padding: 10px 16px; }
  .slot-editor-actions .store-button { min-width: 0; flex: 1; }
  .firmware-risk-actions { align-items: stretch; flex-direction: column; }
  .firmware-risk-actions .store-button { width: 100%; min-width: 0; }
}

/* Film bay: the step after flashing, and the timestamp sample. */
.film-bay-next .store-button { margin-top: 12px; }
.film-bay-sample { max-width: 480px; margin: 14px 0 6px; }
.film-bay-sample figcaption { padding: 7px 10px; color: var(--ink-on-light); font-size: 15px; }
.film-bay-callout { margin-top: 18px; padding: 16px 18px 18px; border: 1px solid var(--s-accent); border-left-width: 3px; background: var(--bg); }
.film-bay-callout strong { display: block; color: var(--s-accent); font-size: 15px; font-weight: 640; }
.film-bay-callout p { margin: 8px 0 0; color: var(--ink); font-size: 15px; line-height: 1.8; }
.film-bay-callout ol { display: grid; gap: 4px; margin: 10px 0 0; padding-left: 20px; color: var(--ink); font-size: 15px; line-height: 1.7; }
.film-bay-callout .store-button { margin-top: 16px; }


/* ---------------------------------------------------------------------------
   v2 design skin (Phase 3) — tokens mirror webapp/src/design-tokens.css and
   docs/design/design-spec.md. Visual only: no ids, hooks or flow changes.
   --------------------------------------------------------------------------- */
:root {
  --s-v2-bg: var(--paper); --s-v2-paper: var(--surface-2); --s-v2-paper-deep: var(--surface-2); --s-v2-ink: var(--ink);
  --s-v2-ink-inverse: var(--ink-on-light); --s-v2-muted: var(--muted); --s-v2-muted-inverse: var(--ink-on-light); --s-v2-line: var(--rule);
  --s-v2-accent: var(--ember-text); --s-v2-red: var(--ember-text); --s-v2-r-s: 6px; --s-v2-r-m: 12px; --s-v2-r-l: 20px;
  --s-v2-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --s-paper: var(--s-v2-paper); --s-muted: var(--s-v2-muted); --s-line: var(--s-v2-line);
}
body { background: var(--s-v2-paper); }



.store-stage { border: 1px solid var(--s-v2-line); border-radius: var(--s-v2-r-l); background: var(--bg); padding: clamp(20px, 3.4vw, 40px); }
.stage-heading h2 { letter-spacing: -0.01em; }
.choice-line { border-radius: var(--s-v2-r-m); }
.choice-line:has(input:checked) { border-color: var(--s-v2-ink); box-shadow: none; }
.store-button { border-radius: 999px; min-height: 44px; transition: transform .2s var(--s-v2-ease), background-color .2s var(--s-v2-ease); }
.store-button:active:not(:disabled) { transform: scale(.98); }
.store-button.dark { background: var(--s-v2-ink); border-color: var(--s-v2-ink); }
.store-button.dark:hover:not(:disabled) { background: var(--paper); }
details.timestamp-capability-details { border-radius: var(--s-v2-r-m); }
details.timestamp-capability-details > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.firmware-risk-card, .install-guide, .configuration-review, .manual-checks, .backup-entry, .film-bay-callout { border-radius: var(--s-v2-r-m); }
.install-guide ol { counter-reset: none; }

@media (max-width: 860px) {
  .store-stage { border-radius: var(--s-v2-r-m); padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
}

/* Reserve the language picker's slot (i18n.js appends it to the header) so the header does not shift. */

/* v2 buttons: pills; the primary is paper with black text. */
.store-button { min-height: 46px; padding: 0 22px; border: 1px solid var(--rule); border-radius: 999px; background: transparent; color: var(--ink); font-weight: 600; letter-spacing: -.01em; transition: transform var(--t-feedback) var(--ease-out), background-color var(--t-feedback) var(--ease-out), border-color var(--t-feedback) var(--ease-out); }
.store-button:hover:not(:disabled) { border-color: var(--muted); background: transparent; }
.store-button:active:not(:disabled) { transform: scale(.97); }
.store-button.dark, .store-button.accent { border-color: var(--paper); background: var(--paper); color: var(--ink-on-light); }
.store-button.dark:hover:not(:disabled), .store-button.accent:hover:not(:disabled) { border-color: #fff; background: #fff; }
.build-progress-bar { border-radius: 999px; background: var(--rule); }
.build-progress-bar::after { border-radius: 999px; background: var(--ember-y); background: linear-gradient(90deg, var(--amber), var(--ember), var(--rose)); }

/* ── 2026-10 layout: homepage chrome, display opening, single centred wizard with a phase list ── */
body { background: var(--bg); }
.store-wrap { flex: 1 0 auto; }
/* Compact opening: the model choice (step 01) sits on the first screen. */
.store-intro { max-width: 760px; margin: 0 auto; padding: clamp(28px, 4vw, 48px) 0 20px; font-family: var(--gx-font); color: var(--gx-ink); letter-spacing: -.01em; }
.store-title { margin: 12px 0 0; font-size: clamp(28px, 1.2rem + 1.6vw, 40px); font-weight: 600; line-height: 1.15; letter-spacing: -.03em; }
/* The two halves read as one line; English needs a space between them, Chinese does not. */
.store-title-gap { display: none; }
:root:is([lang="en"], [lang="ko"], [lang="de"], [lang="fr"]) .store-title-gap { display: inline; }
.store-intro .store-intro-note { margin-top: 10px; font-size: 16px; }
.store-risk-line { margin: 22px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.store-risk-line strong { color: var(--amber); font-weight: 600; }
.store-hold-line { margin-top: 6px; }
.store-oldfw-line a { color: var(--text, inherit); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.store-prep { max-width: 760px; margin: 0 auto 28px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.store-prep summary { display: flex; align-items: center; min-height: 48px; color: var(--muted); font-size: 15px; cursor: pointer; list-style: none; }
.store-prep summary::-webkit-details-marker { display: none; }
.store-prep summary::before { content: "+"; width: 1.4em; color: var(--amber); font-family: var(--font); }
.store-prep[open] summary::before { content: "−"; }
.store-prep summary:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.store-prep[open] .store-prep-cards li:last-child { border-bottom: 0; }
.store-prep-cards { display: block; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.store-prep-cards li { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 6px 24px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.store-prep-cards b { font-size: 16px; font-weight: 600; }
.store-prep-cards span { color: var(--muted); font-size: 15px; line-height: 1.55; }
.store-wizard { max-width: 760px; margin: 0 auto; }
.store-workflow { display: block; max-width: 760px; margin: 0 auto 8px; padding: 0; border-top: 1px solid var(--rule); }
.store-workflow button { position: relative; display: grid; grid-template-columns: 20px 44px minmax(0, 1fr); align-items: center; gap: 0 12px; width: 100%; min-height: 64px; padding: 0; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; background: none; color: var(--muted); text-align: left; transition: color .5s var(--ease-out, ease); }
.store-workflow button i { width: 8px; height: 8px; border-radius: 50%; background: var(--rule); transition: background-color .4s var(--ease-out, ease); }
.store-workflow button span { color: inherit; font: 400 15px/1 var(--mono); }
.store-workflow button b { overflow: visible; color: inherit; font-size: clamp(19px, 1rem + .6vw, 26px); font-weight: 600; letter-spacing: -.02em; }
.store-workflow button.is-done { color: var(--ink); }
.store-workflow button.is-done i { background: var(--muted); }
.store-workflow button[aria-current='step'], .store-workflow button[aria-current='step'] span { background: none; color: var(--ink); }
.store-workflow button[aria-current='step'] i { background: var(--amber); }
.store-workflow button[aria-current='step']::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 2px; background: linear-gradient(180deg, var(--amber), var(--ember) 50%, var(--rose)); }
.store-workflow button:disabled { opacity: .5; cursor: not-allowed; }
.store-workflow button:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
@media (max-width: 600px) {
  .store-intro .store-intro-note { display: none; }
  .store-intro { padding-top: 20px; }
  .plan-rail-sticky { padding: 10px 14px; }
}
/* One horizontal row of steps, so the model choice fits on the first screen. */
.store-workflow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 20px; border-top: 0; }
.store-workflow button { grid-template-columns: 8px auto; grid-template-rows: auto auto; align-content: center; gap: 6px 10px; min-height: 0; padding: 14px 12px 12px 0; border-top: 2px solid var(--rule); border-bottom: 0; text-align: left; }
.store-workflow button b { grid-column: 1 / -1; font-size: clamp(15px, .8rem + .4vw, 19px); }
.store-workflow button[aria-current='step']::before { left: 0; right: 0; top: -2px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--amber), var(--ember) 50%, var(--rose)); }
/* The current step's question opens right under its row. */
.store-live-status { position: static; max-width: 760px; min-height: 0; margin: 0 auto; padding: 4px 0; background: none; color: var(--muted); font-size: 15px; }
.store-live-status:empty { padding: 0; }
.store-live-status.is-error { color: var(--ember-text); }
.store-live-status-detail { max-width: 760px; margin: 0 auto 12px; }
/* Plan: a slim summary bar, not a column */
.plan-rail { margin: 0 0 24px; border: 0; }
.plan-rail-sticky { position: static; display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 6px 18px; padding: 14px 18px; border: 1px solid var(--rule); border-radius: var(--r-m, 12px); background: var(--surface-2); }
.plan-rail-heading { display: contents; }
.plan-rail-heading > div { display: contents; }
.plan-rail-heading h2 { margin: 0; font: 400 15px/1.4 var(--font); color: var(--muted); text-transform: lowercase; }
.plan-count { color: var(--amber); font: 15px var(--font); white-space: nowrap; }
.plan-camera { margin: 0; color: var(--ink); font-size: 15px; }
.plan-rail .selected-feature-list { grid-column: 1 / -1; margin: 0; }
.plan-rail .selected-feature-list:has(> .empty-plan) { display: none; }
.plan-rail .selected-feature-list > li { padding: 10px 0; border-bottom: 0; border-top: 1px solid var(--rule); }
.plan-rail-footer { margin: 0; padding: 0; border: 0; grid-column: 4; grid-row: 1; }
.plan-rail-footer .text-action { min-height: 36px; color: var(--muted); font-size: 15px; text-decoration: none; }
.plan-rail-footer .text-action:hover { color: var(--ink); }
.store-stage { padding: clamp(28px, 3vw, 40px) 0 0; border: 0; border-radius: 0; background: none; }
.stage-heading { padding: 0 0 24px; border: 0; }
.stage-heading h2 { margin: 0; font-size: clamp(28px, 1rem + 2.7vw, 52px); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; text-wrap: balance; }
:lang(en) .stage-heading h2 { text-transform: lowercase; }
.stage-heading > p:last-child { max-width: 52ch; margin: 12px 0 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.store-wrap + .site-footer, .gx-footer { margin-top: 0; }
@media (max-width: 700px) {
  .store-prep-cards li { grid-template-columns: 1fr; }
  .store-workflow button { padding-right: 6px; }
  .store-workflow button b { font-size: 15px; }
  .plan-rail-sticky { grid-template-columns: auto minmax(0, 1fr) auto; }
  .plan-camera { grid-column: 1 / -1; grid-row: 2; }
  .plan-rail-footer { grid-column: 3; }
}
@media (prefers-reduced-motion: reduce) { .store-workflow button, .store-workflow button i { transition: none; } }

/* ── 2026-10-15 taste review: one focal point per screen, text face only, tone steps instead of lines ── */
.store-intro { padding-top: clamp(32px, 5vw, 72px); }
.store-title { font-size: clamp(36px, 1rem + 4vw, 76px); line-height: 1.06; letter-spacing: -.03em; text-wrap: balance; }
.store-intro .store-intro-note { margin-top: 18px; color: var(--ink); font-size: 17px; line-height: 1.55; max-width: 36em; }
.store-risk-line { font-size: 15px; }
.store-prep { border: 0; border-radius: var(--r-m); background: var(--surface-2); padding: 0 20px; }
.store-prep summary { color: var(--ink); font-size: 17px; }
.store-prep summary::before { font-family: var(--font); }
.store-prep-cards { border-top: 0; }
.store-prep-cards li { border-bottom: 0; padding: 10px 0 16px; }
.store-prep-cards b { font-size: 17px; }
.store-prep-cards span { color: var(--ink); font-size: 17px; }
.store-workflow button span { font: 400 15px/1 var(--font); font-variant-numeric: tabular-nums; }
.store-workflow button[aria-current='step']::before { background: var(--amber); }
.store-live-status { font-size: 15px; }
.plan-rail-sticky { border: 0; background: var(--surface-2); }
.plan-rail-heading h2 { font: 400 15px/1.4 var(--font); text-transform: none; }
.plan-count { font: 15px var(--font); font-variant-numeric: tabular-nums; }
.plan-rail .selected-feature-list > li { border-top: 0; }
.plan-rail-footer .text-action { font-size: 15px; }
.selected-feature-list .feature-number, .feature-index, .custom-defaults-guide ol li::marker, .install-guide ol li::marker { font-family: var(--font); font-size: 15px; }
.camera-choice-fieldset legend, .config-fieldset legend { font-size: 15px; }
.choice-line strong { font-size: 17px; }
.choice-line small { font-size: 15px; }
.stage-heading > p:last-child { color: var(--ink); font-size: 17px; }
.build-progress-bar::after { background: var(--amber); }
/* Step 1: the camera itself is the choice */
.camera-choice-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.choice-camera-card { flex-direction: column; align-items: flex-start; gap: 16px; min-height: 0; padding: 20px 22px 22px; border: 0; border-radius: var(--r-m); background: var(--surface-2); transition: background-color var(--t-feedback) var(--ease-out), transform var(--t-feedback) var(--ease-out); }
.choice-camera-card:hover { background: #22211f; }
.choice-camera-card:active { transform: scale(.985); }
.choice-camera-card:has(input:checked) { background: #2a2925; outline: 2px solid var(--amber); outline-offset: -2px; }
.choice-camera-card:has(input:focus-visible) { outline: 2px solid var(--amber); outline-offset: 2px; }
.choice-camera-card input { position: absolute; top: 18px; right: 18px; width: 20px; height: 20px; accent-color: var(--amber); }
.choice-camera { display: block; width: min(100%, 220px); height: auto; }
.choice-camera-card strong { font-size: clamp(24px, 1rem + 1vw, 32px); font-weight: 600; letter-spacing: -.02em; }
.choice-camera-card small { color: var(--muted); font-size: 15px; }
@media (max-width: 520px) { .choice-camera-card { padding: 16px; } .choice-camera-card strong { font-size: 22px; } }
.feature-block-head p, .compatibility-note, .slot-flow-note, .feature-retired-note { font-size: 17px; line-height: 1.6; }
.store-intro-note, .compatibility-note, .stage-heading > p { max-width: 40em; }
.store-intro { padding-top: clamp(24px, 3vw, 48px); }
.store-stage { padding-top: 16px; }
.stage-heading { padding-bottom: 16px; }
.stage-heading h2 { font-size: clamp(28px, 1rem + 1.6vw, 40px); }

/* Sign-in needed before generating firmware (account/client.js) */
.login-gate { margin: 12px 0 0; padding: 12px 16px; border-radius: var(--r-s); background: #2a2416; color: var(--ink); font-size: 15px; line-height: 1.6; }
.login-gate a { color: var(--amber); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.film-bay-next-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.film-bay-next-mail { color: var(--muted); font-size: 15px; }
.error-detail { margin-top: 8px; color: var(--muted); font-size: 13px; }
.error-detail summary { cursor: pointer; }
.error-report-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.error-report-head > span { min-width: 0; }
.error-copy { display: inline-flex; flex: none; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; transition: background-color var(--t-feedback, .15s) var(--ease-out, ease); }
.error-copy:hover { background: var(--surface-2); }
.error-copy-done, .error-copy[data-copied] .error-copy-label { display: none; }
.error-copy[data-copied] .error-copy-done { display: inline; color: var(--accent, currentColor); }
.error-report { max-height: 260px; margin: 6px 0 0; padding: 10px 12px; overflow: auto; background: var(--surface-2); font: 12px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; user-select: text; }
.browser-check { margin: 16px 0; padding: 14px 16px; border-left: 2px solid var(--s-accent); background: var(--surface-2); color: var(--ember-text); font-size: 15px; line-height: 1.7; }
.browser-check strong { display: block; margin-bottom: 4px; font-size: 17px; }
.browser-check p { margin: 6px 0 0; }
.browser-check-detected { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.browser-check-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.browser-check-actions input { flex: 1 1 220px; min-width: 0; padding: 8px 10px; border: 1px solid var(--rule); background: var(--bg); color: inherit; font: inherit; font-size: 13px; }

/* ── 2026-11 configurator: grouped feature cards, a detail drawer per feature, summary on the right ── */
.stage-heading > p:last-child { margin-top: 10px; }
.feature-group { margin-top: 32px; }
.feature-group:first-of-type { margin-top: 8px; }
.feature-group-head h3 { margin: 0; color: var(--muted); font-size: 15px; font-weight: 500; letter-spacing: .04em; }
.feature-group-head p { margin: 4px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.feature-group .feature-block { margin-top: 12px; padding: 20px 22px; border: 0; border-radius: var(--r-m); background: var(--surface-2); transition: outline-color var(--t-feedback) var(--ease-out); }
.feature-group .feature-block[data-selected='true'] { outline: 2px solid var(--amber); outline-offset: -2px; }
.feature-block-head h4 { margin: 0; font-size: 20px; font-weight: 620; letter-spacing: -.01em; line-height: 1.35; }
.feature-block[data-supported='false'] .feature-block-head h4 { opacity: .55; }
.feature-badge { display: inline-block; margin-bottom: 8px; padding: 2px 9px; border-radius: 999px; background: #2a2416; color: var(--amber); font-size: 13px; line-height: 1.6; }
.feature-block-head .feature-tagline { max-width: 44em; margin: 6px 0 0; color: var(--ink); font-size: 16px; line-height: 1.6; }
.feature-points { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 10px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 15px; line-height: 1.55; }
.feature-points li::before { content: "·"; margin-right: 6px; color: var(--amber); }
.feature-block-head .feature-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; max-width: none; margin: 12px 0 0; font-size: 15px; }
.feature-meta .catalog-status { margin: 0; }
.feature-more { min-height: 32px; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-size: 15px; text-decoration: underline; text-decoration-color: var(--muted); text-underline-offset: 4px; cursor: pointer; }
.feature-more::after { content: " ›"; }
.feature-more:hover { color: var(--amber); text-decoration-color: currentColor; }
.feature-more:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.feature-config:empty { display: none !important; }
.feature-group .feature-block-body { margin-top: 18px; padding: 16px 0 0; border-top: 1px solid var(--rule); border-left: 0; }
@media (max-width: 600px) {
  .feature-group .feature-block { padding: 16px; }
  .feature-group .feature-block-head { flex-direction: column; }
  .feature-group .feature-block-head .store-button { align-self: stretch; }
}

/* Summary on the right on wide screens, like a configurator's price box */
.plan-rail-next, .plan-rail-actions, .plan-rail-back { display: none; }
@media (min-width: 1100px) {
  .store-intro, .store-workflow, .store-live-status, .store-live-status-detail, .store-prep, .store-wizard { max-width: 1120px; }
  .store-wizard { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 0 48px; align-items: start; }
  .store-main { grid-column: 1; grid-row: 1; }
  .plan-rail { position: sticky; top: 24px; grid-column: 2; grid-row: 1; margin: 16px 0 0; }
  .plan-rail-sticky { display: block; padding: 20px; }
  .plan-rail-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
  .plan-rail-heading > div { display: block; }
  .plan-camera { margin-top: 10px; color: var(--muted); }
  .plan-rail .selected-feature-list:has(> .empty-plan) { display: block; }
  .plan-rail .selected-feature-list { margin-top: 8px; }
  .plan-rail-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
  .plan-rail-footer #resetDraft { margin-left: auto; }
  .plan-rail-actions { display: block; margin-top: 12px; }
  .plan-rail-next { display: flex; width: 100%; }
  .plan-rail-next[hidden], .plan-rail-back[hidden] { display: none; }
  .plan-rail-hint { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
  .plan-rail-hint:empty { display: none; }
  .plan-rail-back { display: block; }
  .plan-rail-back:hover { color: var(--ink); }
  /* One place to move on: the bottom step buttons only show on narrow screens. */
  .store-main .stage-actions { display: none; }
}
.plan-rail-actions [data-rail-step][hidden] { display: none; }

/* Detail drawer */
.feature-drawer { position: fixed; inset: 0 0 0 auto; width: min(560px, 100vw); max-width: none; height: 100dvh; max-height: none; margin: 0 0 0 auto; padding: 0; border: 0; border-left: 1px solid var(--rule); background: var(--bg); color: var(--ink); }
.feature-drawer[open] { display: flex; animation: feature-drawer-in .28s var(--ease-out); }
.feature-drawer::backdrop { background: color-mix(in srgb, #000 62%, transparent); }
@keyframes feature-drawer-in { from { transform: translateX(40px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .feature-drawer[open] { animation: none; } }
.feature-drawer-panel { display: flex; flex-direction: column; width: 100%; height: 100%; }
.feature-drawer-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; padding: 24px 24px 18px; border-bottom: 1px solid var(--rule); }
.feature-drawer-group { margin: 0; color: var(--muted); font-size: 14px; }
.feature-drawer-head h2 { margin: 4px 0 0; font-size: clamp(24px, 1rem + 1vw, 30px); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.feature-drawer-tagline { margin: 8px 0 0; font-size: 16px; line-height: 1.6; }
.feature-drawer-head .catalog-status { margin-top: 10px; }
.feature-drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 24px 28px; }
.feature-drawer-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--rule); background: var(--surface-2); }
.feature-drawer-foot .store-button { min-width: 120px; }
.feature-drawer-page { color: var(--muted); font-size: 15px; text-underline-offset: 4px; }
.feature-drawer-page:hover { color: var(--ink); }
@media (max-width: 600px) {
  .feature-drawer { width: 100vw; border-left: 0; }
  .feature-drawer-head, .feature-drawer-body, .feature-drawer-foot { padding-inline: 16px; }
}

/* Feature detail content, shared by the drawer and the standalone feature pages */
.fd-figures { display: grid; gap: 14px; margin-top: 20px; }
.fd-figure { margin: 0; }
.fd-figure img { display: block; width: 100%; height: auto; border-radius: var(--r-s); background: var(--surface); }
.fd-figure figcaption { margin-top: 6px; color: var(--muted); font-size: 13px; }
.fd-section { padding-top: 24px; }
.fd-section h3 { margin: 0 0 10px; font-size: 17px; font-weight: 620; }
.fd-section ul, .fd-section ol { display: grid; gap: 6px; margin: 0; padding-left: 1.3em; font-size: 15px; line-height: 1.65; }
.fd-section li::marker { color: var(--muted); }
.fd-section p { margin: 0 0 10px; font-size: 15px; line-height: 1.65; }
.fd-notes li, .fd-verified p { color: var(--muted); }
.fd-link { color: var(--amber); text-underline-offset: 4px; }
.fd-qa { border-top: 1px solid var(--rule); }
.fd-qa:last-child { border-bottom: 1px solid var(--rule); }
.fd-qa summary { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 0; font-size: 15px; font-weight: 560; line-height: 1.5; cursor: pointer; list-style: none; }
.fd-qa summary::-webkit-details-marker { display: none; }
.fd-qa summary::after { flex: none; color: var(--amber); content: "+"; }
.fd-qa[open] summary::after { content: "−"; }
.fd-qa summary:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.fd-qa p { margin: 0 0 14px; color: var(--muted); }

/* 2026-11 hero title: Chinese at natural spacing, no sentence marks, a size that does not crowd */
.store-title { font-size: clamp(34px, 1rem + 3vw, 60px); font-weight: 560; line-height: 1.15; letter-spacing: 0; }
:root:is([lang="en"], [lang="de"], [lang="fr"]) .store-title { letter-spacing: -.02em; }
/* Chinese: one phrase per line (no punctuation to mark the break); other languages wrap naturally. */
:root:is([lang="zh-Hans"], [lang="zh-Hant"]) .store-title > span:not(.store-title-gap) { display: block; }

/* Result: one primary action (download); regenerate is a quiet link; the film bay step is for later */
.result-actions { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 10px; }
.result-done { margin: 0; color: var(--muted); font-size: 15px; }
.result-done span { color: var(--s-accent); font-weight: 700; }
.result-download { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.result-regenerate { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--muted); font-size: 15px; text-decoration: none; }
.result-regenerate:hover:not(:disabled) { color: var(--ink); }
.result-regenerate:disabled { opacity: .5; cursor: not-allowed; }
.result-regenerate[hidden], .result-done[hidden] { display: none; }
.film-bay-next-actions { align-items: center; gap: 12px 24px; }
.film-bay-next-actions .store-button { min-height: 44px; padding-inline: 20px; border: 1px solid var(--rule-strong, #4a4844); border-radius: 999px; background: transparent; color: var(--ink); font-weight: 560; }
.film-bay-next-actions .store-button:hover { border-color: var(--ink); background: transparent; }
.film-bay-next-link { color: var(--ink); font-size: 15px; text-decoration: underline; text-decoration-color: var(--muted); text-underline-offset: 4px; }
.film-bay-next-link:hover { text-decoration-color: var(--ink); }
@media (max-width: 600px) {
  .result-actions { align-items: stretch; }
  .result-download { flex-direction: column; align-items: stretch; }
  .result-regenerate { justify-content: center; }
}
#buildFirmwareButton[hidden] { display: none; }

/* shop.html (v1.4x) points to the 2.0 page; as wide as "Before you start" below it */
.store-pro-banner { max-width: 760px; margin: 0 auto; }
.store-pro-banner a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 20px; padding: 14px 18px;
  border: 1px solid rgb(255 181 71 / .35); border-radius: var(--r-m); background: rgb(255 181 71 / .08); color: var(--ink); text-decoration: none; }
.store-pro-banner a span:first-child { color: var(--muted); }
.store-pro-banner a strong { color: var(--amber); font-weight: 600; }
.store-pro-banner a:hover strong { text-decoration: underline; text-underline-offset: 4px; }

#featureDrawerToggle[hidden] { display: none; }

/* pro.html: link to the 2.0 guide under the intro */
.store-pro-intro { margin: 14px 0 0; }
.store-pro-intro a { display: inline-flex; align-items: baseline; gap: 6px; padding: 10px 16px; border: 1px solid rgb(255 181 71 / .35);
  border-radius: 999px; background: rgb(255 181 71 / .08); color: var(--amber); font-weight: 600; text-decoration: none; }
.store-pro-intro a:hover span:first-child { text-decoration: underline; text-underline-offset: 4px; }

/* pro.html step 02: what GRLife Pro 2.0 includes, and where each is switched on in the camera */
.pro-included { display: grid; gap: 1px; margin: 12px 0 0; padding: 0; overflow: hidden; border-radius: var(--r-m); background: var(--line, rgb(255 255 255 / .08)); list-style: none; }
.pro-included li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 12px 16px; background: var(--surface-2); }
.pro-included b { color: var(--ink); font-weight: 600; }
.pro-included span { color: var(--muted); }
.pro-included li { align-items: baseline; }
.pro-included li > span { margin-left: auto; }
.pro-included-more { padding: 0; border: 0; background: none; color: var(--amber); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.pro-included-more span { color: inherit; }
.pro-included-more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* 2.0 (pro.html): where the features are switched, under the plan */
.plan-rail-note { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
@media (min-width: 1100px) { .plan-rail-note { margin-top: 12px; } }

/* GRLife Pro 2.0 install flow on pro.html (replaces the plain install list and film bay steps). */
.install-flow[hidden], .ifl-branch[hidden] { display: none; }
.install-flow { margin-top: 18px; padding: clamp(18px, 3vw, 28px); border-radius: var(--s-v2-r-m); background: var(--surface-2); }
.install-flow > h3 { margin: 0; font-size: 17px; font-weight: 640; }
.install-flow > .ifl-lede { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.ifl-steps { position: relative; margin: 22px 0 0; padding: 0; list-style: none; }
.ifl-step { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 0 16px; padding-bottom: 24px; }
/* Rail between step nodes. */
.ifl-step::before { position: absolute; top: 34px; bottom: 2px; left: 15px; width: 2px; background: var(--rule); content: ""; }
.ifl-step:last-child { padding-bottom: 0; }
.ifl-step:last-child::before { display: none; }
.ifl-node { display: grid; width: 32px; height: 32px; place-items: center; border: 2px solid var(--s-accent); border-radius: 50%; color: var(--s-accent); font-size: 14px; font-weight: 700; }
.ifl-step.is-key .ifl-node { background: var(--s-accent); color: #141413; }
.ifl-body h4 { margin: 4px 0 0; font-size: 15px; font-weight: 640; line-height: 1.5; }
.ifl-body p { margin: 4px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.ifl-body p strong { color: var(--ink); font-weight: 600; }
.ifl-body code { font-family: var(--mono); font-size: 12.5px; color: var(--ink); }
.ifl-tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: color-mix(in srgb, var(--s-accent) 18%, transparent); color: var(--s-accent); font-size: 12px; font-weight: 600; vertical-align: 2px; }

/* SD card file map. */
.ifl-card { position: relative; max-width: 440px; margin-top: 12px; padding: 14px 16px 14px 18px; border: 1.5px solid var(--rule-strong, #4a4844); border-radius: 6px 22px 10px 10px; background: var(--bg); font-family: var(--mono); font-size: 13px; }
.ifl-card-title { margin-bottom: 8px; color: var(--muted); font-family: var(--font); font-size: 12px; letter-spacing: .04em; }
.ifl-tree { margin: 0; padding: 0; list-style: none; }
.ifl-tree li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 5px 0; border-top: 1px dashed var(--rule); }
.ifl-tree li:first-child { border-top: 0; }
.ifl-tree .ifl-in { padding-left: 4px; }
.ifl-tree .ifl-in > span:first-child::before { margin-right: 8px; color: var(--muted); content: "└"; }
.ifl-tree .ifl-dim { color: var(--muted); font-family: var(--font); font-size: 12.5px; }
.ifl-note { flex: none; color: var(--muted); font-family: var(--font); font-size: 12px; text-align: right; }
.ifl-note.is-must { color: var(--s-accent); }

.ifl-rules { display: grid; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.ifl-rules li { position: relative; padding-left: 16px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.ifl-rules li::before { position: absolute; top: .72em; left: 2px; width: 6px; height: 6px; border-radius: 50%; background: var(--s-accent); content: ""; }
.ifl-rules strong { color: var(--ink); font-weight: 600; }

/* First boot timeline. */
.ifl-boot { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; max-width: 440px; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.ifl-boot-bar { position: relative; height: 6px; overflow: hidden; border-radius: 3px; background: var(--rule); }
.ifl-boot-bar::after { position: absolute; inset: 0; width: 0; border-radius: 3px; background: var(--s-accent); content: ""; animation: ifl-fill 3.2s cubic-bezier(.3, .1, .3, 1) infinite; }
@keyframes ifl-fill { 0% { width: 0; } 75%, 100% { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .ifl-boot-bar::after { width: 100%; animation: none; } }
.ifl-boot-mid { grid-column: 2; text-align: center; color: var(--ink); }

/* OK key. */
.ifl-key { display: inline-grid; width: 30px; height: 30px; margin: 0 4px; place-items: center; border: 1.5px solid var(--ink); border-radius: 50%; color: var(--ink); font-size: 11px; font-weight: 700; vertical-align: middle; }

/* Film library branch. */
.ifl-branch { margin-top: 22px; padding: 16px 18px; border: 1px dashed var(--rule-strong, #4a4844); border-radius: var(--s-v2-r-m); }
.ifl-branch h4 { margin: 0; font-size: 15px; font-weight: 640; }
.ifl-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 13.5px; }
.ifl-chain li { padding: 6px 10px; border-radius: 6px; background: var(--bg); line-height: 1.5; }
.ifl-chain .ifl-arrow { padding: 0; background: none; color: var(--s-accent); }
.ifl-branch .film-bay-next-actions { margin-top: 14px; }
.ifl-branch .store-button { margin-top: 0; }

.ifl-foot { margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.ifl-foot a { color: var(--ink); text-decoration-color: var(--muted); text-underline-offset: 4px; }

@media (max-width: 560px) {
  .ifl-step { grid-template-columns: 28px minmax(0, 1fr); gap: 0 12px; }
  .ifl-node { width: 28px; height: 28px; font-size: 13px; }
  .ifl-step::before { left: 13px; top: 30px; }
  .ifl-tree li { flex-wrap: wrap; }
  .ifl-note { text-align: left; }
  .ifl-chain .ifl-arrow { display: none; }
  .ifl-chain { flex-direction: column; align-items: stretch; }
}
:root:is([lang="en"], [lang="ko"], [lang="de"], [lang="fr"]) .ifl-rules strong { margin-right: .3em; }
:root:is([lang="en"], [lang="ko"], [lang="de"], [lang="fr"]) .ifl-body p strong { margin: 0 .3em; }

/* GR IV (Beta, 2026-11-08): the badge on its model card, its note in step 02, its Monochrome listed but off */
.store-beta { display: inline-block; margin-left: 3px; padding: 0 5px; border-radius: 999px; background: var(--amber); color: #1a1a19; font-size: 10px; line-height: 1.4; font-style: normal; font-weight: 600; letter-spacing: .02em; vertical-align: top; }   /* top-right of the model name */
.pro-model-note { margin: 10px 0 0; padding: 10px 14px; border-left: 3px solid var(--amber); border-radius: var(--r-s, 6px); background: var(--surface-2); color: var(--ink); }
#variantChoices button:disabled { opacity: .45; cursor: not-allowed; }
#variantChoices button small { font-size: .8em; color: var(--muted); }
/* Per-model parts (store.js renderCamera): `hidden` must win over display rules such as .pro-included li */
[data-not-on][hidden], [data-only-on][hidden] { display: none !important; }

/* 2026-11-14 tidy-up. The page shares the site's 1200 column; the title is medium weight like every other
   page; the notes under it are one quiet list (ink labels, hairlines) instead of amber labels and a pill. */
.store-title { font-weight: 500; }
.store-pro-intro { margin-top: 18px; }
.store-pro-intro a { padding: 0; border: 0; border-radius: 0; background: none; font-weight: 500; }
.store-risk-line, .store-hold-line { max-width: 52em; margin: 0; padding: 12px 0; border-top: 1px solid var(--rule); font-size: 14px; line-height: 1.6; }
.store-pro-intro + .store-risk-line { margin-top: 28px; }
.store-risk-line strong { color: var(--ink); font-weight: 500; }
@media (min-width: 1100px) {
  .store-intro, .store-workflow, .store-live-status, .store-live-status-detail, .store-prep, .store-wizard { max-width: 1200px; }
}

/* Human check slot (turnstile-token.js): the widget, and one line with "retry" / "cancel" when it fails. */
.turnstile-note { display: grid; gap: 12px; margin: 10px 0; padding: 14px 16px; border: 1px solid var(--s-line, var(--rule, #2b2a28)); }
.turnstile-note[hidden], .turnstile-note-actions[hidden] { display: none; }
.turnstile-note-text { margin: 0; color: var(--s-ink, var(--ink, inherit)); font-size: 14px; line-height: 1.6; }
.turnstile-note-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.turnstile-note-cancel { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--s-muted, var(--muted, inherit)); font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.turnstile-note-cancel:hover { color: var(--s-ink, var(--ink, inherit)); }
