/* Customer-flow surfaces share control rhythm with the editor. */
.setup-appearance-choice { display:flex; align-items:center; gap:12px; margin-top:24px; font-size:14px; }
.setup-appearance-choice input { width:18px; height:18px; accent-color:var(--accent,#ff865f); }
.studio-artwork-view, .pdf-view-options button { min-height:36px; padding:6px 12px; border:1px solid #666; border-radius:6px; background:#333; color:#eee; font:inherit; cursor:pointer; }
.studio-artwork-view { margin-left:auto; white-space:nowrap; }
.studio-artwork-view[aria-pressed=true], .pdf-view-options button[aria-pressed=true] { background:#484848; border-color:#ff9b79; }
.pdf-view-options { display:flex; gap:8px; }
.report-section-head { display:flex; align-items:center; justify-content:space-between; gap:16px; }
#pdf-preview { display:block; margin:0 auto; height:auto; }
#pdf-preview[hidden] { display:none; }
#artwork-preview { scroll-margin-top:88px; }
.export-checklist-controls input:not([type=checkbox]), .export-checklist-controls select, .export-checklist-controls textarea,
.export-checklist-item input:not([type=checkbox]), .export-checklist-item select, .export-checklist-item textarea { box-sizing:border-box; min-height:40px; padding:8px 10px; border:1px solid #727272; border-radius:7px; background:#3a3a3d; color:#f5f5f5; font:inherit; width:100%; }
.export-checklist-companion { display:flex; flex-direction:column; gap:6px; min-width:0; }
.export-checklist-companion:has(select:not([id$="-unit"])) { grid-column:1/-1; }
.pd-wizard-panel .pd-potency-fields { grid-template-columns:minmax(0,1fr) minmax(110px,auto); }
.pd-wizard-panel select[id$="-unit"] { min-width:110px; }
.pd-wizard-panel .label-strategy-item-data > label:only-child > .field-label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
#warning-fit-layout { width:100%; margin:8px 0 12px; }
#warning-fit-action-status { margin:0 0 12px; line-height:1.5; }
#onboarding-form .colour-exact { margin-top:16px; }
#onboarding-form .colour-converted, #review-build-note, #review-label-note { display:none!important; }
@media (max-width:600px) { .report-section-head { flex-wrap:wrap; } }

.setup-metadata { margin-top:20px; padding-top:16px; border-top:1px solid #555; }
.setup-metadata summary { cursor:pointer; font-size:14px; font-weight:600; }
.setup-metadata[open] > .form-grid { margin-top:16px; }
#export-review-proof { width:100%; margin-bottom:12px; }
#warning-fit-layout[hidden] { display:none; }

.onboarding-dialog .onboarding-facts .field.field > .pf-qty { grid-template-columns:minmax(0,1fr) 130px; gap:8px; }
.onboarding-dialog .onboarding-facts .field.field > .pf-qty > select { min-width:130px; text-align-last:left; }
.onboarding-dialog .onboarding-facts .field.field > input:not([type=checkbox]),
.onboarding-dialog .onboarding-facts .field.field > .pf-qty > input,
.onboarding-dialog .onboarding-facts .field.field > .pf-qty > select { min-height:40px; height:40px; border:1px solid #707074; }
.package-current { position:sticky; top:0; z-index:2; display:flex; justify-content:space-between; align-items:center; padding:12px 0; background:#303032; }
.package-current button { background:none; border:0; color:#ffad91; font:inherit; cursor:pointer; }

#onboarding-label-strategy [data-pd-summary-text] { display:none; }
#onboarding-label-strategy [data-pd-change] { min-height:38px; padding:8px 12px; border:1px solid #707074; border-radius:6px; background:transparent; color:#eee; font:inherit; }

#export-review-proof[hidden] { display:none; }

.studio-export #editor-status-action[data-action="export"],
.studio-export #editor-status-line[data-state="not-checked"],
.studio-export #editor-status-line[data-state="exporting"] { display:none; }

/* One scroll surface per setup step; the package context must not cover choices. */
.package-current { position:static; padding:8px 0 16px; }
.onboarding-dialog #container-preset-grid { max-height:none; overflow:visible; }
.onboarding-dialog .onboarding-step { overscroll-behavior:contain; scrollbar-gutter:stable; }
.pd-wizard-panel [data-ls-component="dispensingStatement"] .field-label { display:none; }
.pdf-view-options { flex-wrap:wrap; align-items:center; }
.pdf-zoom-label { display:flex; gap:8px; align-items:center; font-size:14px; }
.pdf-zoom-label select { min-height:36px; padding:4px 8px; border:1px solid #666; border-radius:6px; background:#333; color:#eee; font:inherit; }
#pdf-preview { max-width:none; }

.thumb-preview[hidden] { display:none!important; }
[data-ls-item="dispensingPerActivation"] [data-product-fact="dispensingPerActivation"] > .field-label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
body:has(.onboarding-dialog[open]) { overflow:hidden; }
.onboarding-dialog .packaging-options { max-height:none; overflow:visible; }

[data-product-fact="dispensingPerActivation"]:not([hidden]) { display:flex!important; flex-direction:column; align-items:stretch; gap:8px; }
[data-product-fact="dispensingPerActivation"] .field-hint { max-width:65ch; }
@media (max-width:600px) {
  #artwork-preview { scroll-margin-top:128px; }
  .report-preview-card .variant-strip { flex-wrap:nowrap; overflow-x:auto; padding-bottom:8px; }
  .report-preview-card .variant-strip button { flex:0 0 auto; }
}
.report-preview-card { overflow-x:auto; }
.pd-form .pf-qty { grid-template-columns:minmax(0,1fr) 130px; gap:8px; }
.pd-form .pf-qty select { min-width:130px; }
.editor-studio #editor-side-panel .editor-step-body .field > .pf-qty { grid-template-columns:minmax(56px,1fr) 130px; gap:8px; }

#user-object-findings p { margin:0 0 8px; line-height:1.5; }
#user-object-findings summary { cursor:pointer; font-weight:600; }
#user-object-findings ul { padding-left:18px; margin:8px 0 0; }
#user-object-findings li + li { margin-top:8px; }
