/* V1.25: progressive journeys, with readable controls and contextual details. */
.ux125-journey [hidden]{display:none!important}
.ux125-journey .field>span:first-child,.ux125-journey .field>label{font-size:.875rem;line-height:1.4}
.ux125-journey input:not([type=checkbox]):not([type=file]):not(.pa-visually-hidden),.ux125-journey select,.ux125-journey textarea,.ux125-journey .ux-brand-trigger{font-size:1rem;min-height:44px}
.ux125-journey .btn,.ux125-journey button.shop-choice,.ux125-journey button.gift-choice{min-height:44px}
.ux125-journey .shop-note,.ux125-journey .gift-note,.ux125-journey .pa-caption,.ux125-journey .scan-caption,.ux125-journey .pa-status,.ux125-journey .scan-status{font-size:.875rem;line-height:1.45}
.ux125-journey .shop-result-caption,.ux125-journey .shop-brand-name small,.ux125-journey .gift-label,.ux125-journey .pa-submit small,.ux125-journey .pa-tag{font-size:.8125rem;line-height:1.4}
.ux125-journey .shop-mode-title,.ux125-journey .shop-choice strong,.ux125-journey .gift-choice strong{font-size:.875rem}
.ux125-journey .shop-heading small,.ux125-journey .gift-heading small{font-size:.8125rem}
.ux125-journey .shop-context{grid-template-columns:1.2fr 1fr}
.ux125-journey .shop-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.ux125-journey .ux125-filter-words{grid-column:1/-1}
.ux125-journey .shop-filters summary,.ux125-options summary,.ux125-journey .shop-proof summary,.ux125-journey .gift-details summary{font-size:.875rem;line-height:1.45;min-height:40px;padding-block:8px}
.ux125-journey #shop-filter-label{font-size:.8125rem;overflow-wrap:anywhere}
.ux125-journey .shop-filter-grid>.field:first-child{grid-column:1/-1}
.ux125-options{border:0;border-top:1px solid var(--line);padding:5px 0;margin:10px 0}
.ux125-options>summary{color:var(--green);cursor:pointer;font-weight:600}
.ux125-options .field{margin-top:8px}
.ux125-options>summary span{font-weight:400;color:var(--muted)}
.ux125-gift-context{grid-template-columns:1.2fr 1fr}
.ux125-journey .ux125-gift-context .field:last-child{grid-column:auto}
.ux125-product-entry-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px}
.ux125-product-entry-actions .btn{font-size:.9375rem}
.ux125-product-entry-actions .ux125-manual-entry{font-size:.875rem;background:none;border:0;padding:8px 0;color:var(--green);text-decoration:underline;text-underline-offset:3px;cursor:pointer;text-align:left}
.ux125-product-local-note{padding-left:10px;border-left:3px solid #b8d5c8;margin:12px 0!important}
.ux125-product-import-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-top:4px}
.ux125-product-import-actions .btn{font-size:.875rem}
.ux125-product-other-tools{padding:10px 16px;margin:14px 0}
.ux125-product-other-tools>summary{font-size:.875rem;line-height:1.45;font-weight:600;color:var(--green);min-height:40px;padding:8px 0;cursor:pointer}
.ux125-product-other-actions{display:flex;gap:8px;flex-wrap:wrap;padding:4px 0 6px}
.ux125-product-other-actions .btn{font-size:.875rem;white-space:normal}
#ux125-product-confirmation,#ux125-product-identify,#ux125-scan-fields{scroll-margin-top:100px}
.ux125-product-edit-source{margin:0 0 10px;font-size:.875rem!important;white-space:normal}
.ux125-journey #ux125-product-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.ux125-product-known-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:end;padding-bottom:4px}
.ux125-product-known-fields>*{min-width:0}
.ux125-journey .pa-step-two{margin-top:0;padding-top:8px;border-top:0}
.ux125-journey .pa-step p,.ux125-journey .scan-step p{font-size:.875rem}
.ux125-journey .pa-tags>span,.ux125-journey .pa-sizes .pill{font-size:.875rem}
.ux125-journey .pa-result-actions .btn,.ux125-journey .shop-card-actions .btn,.ux125-journey .gift-card-actions .btn{font-size:.875rem}
.ux125-journey .shop-method summary,.ux125-journey .gift-method summary,.ux125-journey .pa-faq summary{font-size:.875rem}
.ux125-scan-modes{display:flex;gap:8px;margin-bottom:16px;flex-wrap:wrap}
.ux125-scan-modes button{min-height:44px;padding:9px 14px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink);font-size:.9375rem;font-weight:600;cursor:pointer}
.ux125-scan-modes button[aria-pressed=true]{background:var(--mint);border-color:#82b7a4;color:var(--green)}
.ux125-journey .scan-grid{display:block}
.ux125-journey #ux125-scan-capture{max-width:640px;margin-inline:auto}
.ux125-journey .scan-fields{border:0;padding:0}
.ux125-journey .scan-preview{height:180px;min-height:180px}
.ux125-journey .scan-preview small{font-size:.875rem}
.ux125-scan-verifying .scan-grid{display:grid;grid-template-columns:minmax(180px,.6fr) minmax(0,1.4fr);gap:22px;align-items:start}
.ux125-scan-verifying #ux125-scan-capture{width:100%;max-width:none}
.ux125-scan-verifying .scan-preview{height:130px;min-height:130px}
.ux125-scan-verifying .scan-caption{margin-top:8px}
.ux125-scan-manual #ux125-scan-fields{max-width:720px;margin-inline:auto}
.ux125-scan-edit-photo{margin-top:8px;width:100%;font-size:.875rem!important;white-space:normal}
.ux125-scan-raw{margin:8px 0 10px;padding:0;border:0}
.ux125-scan-raw summary{font-size:.875rem;line-height:1.4;color:var(--green);min-height:40px;padding:8px 0;cursor:pointer}
.ux125-scan-raw>label{margin-top:6px}
.ux125-journey .scan-form-grid{margin:6px 0 0}
.ux125-journey .scan-check{font-size:.9375rem;line-height:1.4}
.ux125-journey .scan-candidates{font-size:.875rem}
.ux125-journey .scan-candidates .scan-caption{flex-basis:100%}
.ux125-journey .scan-candidates .btn{font-size:.9375rem}
.ux125-scan-ambiguity{font-size:.875rem;line-height:1.45;margin:8px 0;padding:10px 12px}
.ux125-journey #ux125-scan-context-label{display:block;font-size:.8125rem;line-height:1.4;margin-top:2px;overflow-wrap:anywhere}
.ux125-journey #ux125-scan-context-label:empty{display:none}
.ux125-scan-manual-fallback{font-size:.9375rem;margin-top:8px}
@media(max-width:790px){
 .ux125-journey .shop-hero h1,.ux125-journey .gift-hero h1,.ux125-journey .pa-hero h1{font-size:clamp(1.5rem,6vw,1.9rem)}
 .ux125-journey .shop-hero p,.ux125-journey .gift-hero p,.ux125-journey .pa-hero p{font-size:.9375rem}
 .ux125-journey .shop-choice{padding:8px 5px}
 .ux125-journey .gift-choice{padding:8px}
 .ux125-journey .gift-choice small{display:none}
 .ux125-journey .shop-run .btn:not(.ghost),.ux125-journey .gift-run .btn:not(.ghost),.ux125-journey .pa-submit .btn{font-size:.9375rem;padding:10px 12px}
 .ux125-journey .shop-run .btn.ghost,.ux125-journey .gift-run .btn.ghost{font-size:.8125rem}
 .ux125-product-entry-actions{display:grid;gap:4px}
 .ux125-product-entry-actions .btn{width:100%}
 .ux125-product-known-fields{grid-template-columns:1fr}
 .ux125-journey .pa-submit small{font-size:.8125rem}
 .ux125-journey .pa-step h2,.ux125-journey .scan-step h2{font-size:1.125rem}
 .ux125-journey .scan-intro{margin:10px 0}
 .ux125-journey .scan-intro h1{font-size:clamp(1.6rem,6vw,2rem)}
 .ux125-scan-modes{gap:6px;margin-bottom:12px}
 .ux125-scan-modes button{flex:1;padding:9px 8px}
 .ux125-journey .scan-preview{height:145px;min-height:145px}
 .ux125-scan-verifying .scan-grid{grid-template-columns:1fr;gap:14px}
 .ux125-scan-verifying #ux125-scan-capture{display:grid;grid-template-columns:110px minmax(0,1fr);gap:8px 12px;align-items:center}
 .ux125-scan-verifying .scan-preview{height:105px;min-height:105px;grid-row:1/4}
 .ux125-scan-verifying .ux125-scan-edit-photo{margin:0}
 .ux125-scan-verifying #scan-status{margin:0}
 .ux125-scan-verifying .scan-caption{grid-column:1/-1;margin-top:0}
 .ux125-scan-verifying #ux125-scan-photo-controls{grid-column:1/-1}
 .ux125-journey .scan-check{margin-top:12px}
}
@media(max-width:370px){
 .ux125-journey #ux125-product-fields{grid-template-columns:1fr}
 .ux125-journey .shop-choice strong{font-size:.8125rem}
 .ux125-scan-verifying #ux125-scan-capture{grid-template-columns:90px minmax(0,1fr)}
 .ux125-scan-verifying .scan-preview{height:90px;min-height:90px}
}
