/* Receiving is a focused, full-screen flow; all data fields keep their original IDs. */
#intake-layout[hidden],#intake-startup[hidden],.intake-journey [hidden]{display:none!important}
#intake-startup{display:flex;align-items:center;justify-content:center;min-height:240px}
.intake-landing{text-align:center;padding:64px 20px 80px}.intake-landing-icon{margin:auto auto 24px;width:64px;height:64px;border-radius:22px;background:#edf2f8;color:#1e3556;font-size:40px;line-height:64px}.intake-landing h2{font-size:25px;color:#1e3556;margin:0 0 32px}.intake-landing .btn{min-width:240px;min-height:54px}
body.staff-workspace #intake-page #intake-form.intake-journey[data-open=false]{display:none!important}
body.intake-immersive{overflow:hidden}
body.staff-workspace #intake-page #intake-form.intake-journey[data-open=true]{position:fixed;inset:0;top:0;right:0;bottom:0;left:0;z-index:1800;max-width:none;width:100%;height:100%;margin:0;padding:0;display:flex;flex-direction:column;background:#fff;box-sizing:border-box;color:#25364b;border:0;border-radius:0}
.journey-header{display:flex;align-items:center;justify-content:space-between;padding:8px max(12px,env(safe-area-inset-right)) 8px max(12px,env(safe-area-inset-left));padding-top:calc(8px + env(safe-area-inset-top));border-bottom:0;flex-shrink:0}.journey-header>span{font-size:14px;font-weight:600;color:#6c7785}.journey-icon{border:0;background:transparent;color:#344860;font-size:30px;min-width:44px;height:44px;padding:0;cursor:pointer;line-height:44px}.journey-icon:disabled{opacity:.4}
.journey-body{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:0 24px;scroll-padding-bottom:110px}.journey-panel{max-width:620px;margin:0 auto;min-height:100%;padding:24px 0 0;box-sizing:border-box;animation:journey-page .22s ease-out}.journey-panel:after{content:'';display:block;height:22px}
body.staff-workspace #intake-page #intake-form .journey-title{font-size:29px;line-height:1.4;letter-spacing:-.8px;font-weight:700;margin:0 0 14px;color:#1e3556;outline:none;word-break:keep-all}.journey-subtitle{color:#778391;font-size:15px;line-height:1.7;margin:0 0 28px;word-break:keep-all}.journey-eyebrow{color:#7d8997;font-size:13px;margin:0 0 10px}.journey-invoice-name{font-size:21px;font-weight:600;color:#344860;line-height:1.5;margin:0 0 28px;overflow-wrap:break-word}
body.staff-workspace #intake-page .intake-journey .btn{border-radius:14px;min-height:50px;font-size:16px;font-weight:600;padding:12px 18px;box-sizing:border-box;white-space:normal;line-height:1.5;max-width:100%}body.staff-workspace #intake-page .intake-journey .btn.primary{background:#1e3556;border-color:#1e3556;color:#fff}.intake-journey button:disabled{opacity:.45;cursor:default}
.journey-footer{position:sticky;bottom:0;background:#fff;padding:20px 0 calc(16px + env(safe-area-inset-bottom));z-index:2;margin-top:26px;display:flex;align-items:center;gap:10px}.journey-footer>.btn{width:100%;min-height:56px!important}.journey-footer .loading-indicator{flex-shrink:0}
.journey-panel[data-screen=capture],.journey-panel[data-screen=photo]{display:flex;flex-direction:column}.journey-panel[data-screen=capture] .attachment-field,.journey-panel[data-screen=photo] .attachment-field{flex:1;display:flex;flex-direction:column;justify-content:center;padding-bottom:40px!important}
body.staff-workspace #intake-page .intake-journey .attachment-field{border:0;margin:0;padding:0}.intake-journey .attachment-field>strong{display:none}.intake-journey .photo-actions{display:flex;flex-direction:column;gap:12px;width:100%;max-width:420px;margin:24px auto}.intake-journey .photo-actions .btn:first-child{background:#1e3556;color:white;border-color:#1e3556}.intake-journey img{max-height:220px;max-width:100%;object-fit:contain;margin:12px auto;display:block}
.journey-panel[data-screen=scan],.journey-photo-loading{text-align:center;padding-top:80px}.journey-ring{display:block;width:60px;height:60px;border-width:5px;margin:40px auto 26px}.journey-processing{font-size:17px;color:#344860;line-height:1.6}.journey-percent{display:block;font-size:28px;margin:24px 0 12px;color:#1e3556;font-variant-numeric:tabular-nums}.journey-progress{display:block;width:100%;height:8px;border:0;border-radius:12px;overflow:hidden;background:#eaf0f6;accent-color:#1e3556}.journey-progress::-webkit-progress-bar{background:#eaf0f6;border-radius:12px}.journey-progress::-webkit-progress-value{background:#1e3556;border-radius:12px;transition:width .3s ease}.journey-progress.is-working{animation:journey-pulse 1.8s ease-in-out infinite}.journey-rotating{margin-top:22px;font-size:14px;animation:journey-pulse 3s ease-in-out infinite}
.journey-list{margin:24px 0}.journey-list-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:20px 0;border-bottom:1px solid #edf0f4;animation:journey-row .3s both ease-out}.journey-row-number{width:28px;height:28px;line-height:28px;border-radius:50%;text-align:center;color:#708093;background:#f0f4f8;font-size:13px;flex-shrink:0}.journey-row-content{flex:1;min-width:0}.journey-row-content strong{display:block;font-size:17px;line-height:1.5;color:#25364b;overflow-wrap:break-word}.journey-row-content>span{display:block;color:#7b8695;font-size:13px;margin-top:5px}.journey-row-actions{display:flex;justify-content:flex-end;gap:12px;flex-basis:100%}.journey-text-button{background:none;border:0;color:#627b9a;font-size:13px;min-height:36px;padding:5px 0;cursor:pointer}.journey-check{color:#2d9b73;font-size:25px;font-weight:700;animation:journey-check .25s both}.intake-final-total{display:flex;align-items:baseline;justify-content:space-between;gap:12px;color:#1e3556;padding:20px 0 24px;border-top:1px solid #e5eaf0;font-family:inherit}.intake-final-total>span{font-size:14px;font-weight:500;color:#6b788b}.intake-final-total>strong{font-family:inherit;font-size:22px;font-weight:700;line-height:1.4;font-variant-numeric:tabular-nums;white-space:nowrap}
body.staff-workspace #intake-page .intake-journey .intake-product:before,body.staff-workspace #intake-page .intake-journey .product-fields:before{display:none!important;content:none!important}.intake-journey #intake-product-label{display:none}.intake-journey .intake-product-choice{padding:22px;border-radius:18px;background:#f4f7fa;border:0}.intake-journey #selected-product-name{display:block;font-size:22px;line-height:1.5;color:#1e3556}.intake-journey .intake-product .actions{margin-top:14px}.intake-journey #find-wine{background:transparent;border:0;min-height:36px;font-size:13px;padding:0;color:#627b9a}.journey-secondary{display:flex;flex-direction:column;gap:10px;margin-top:24px}.intake-journey #wine-connection-note:empty{display:none}
.intake-journey #invoice-wine-matches{border:0;padding:0;margin:24px 0}.intake-journey #invoice-wine-matches>p{color:#748092;font-size:14px}.intake-journey .invoice-wine-candidate{background:#f4f7fa;border:0;border-radius:14px;padding:16px;margin:10px 0}.intake-journey .invoice-wine-candidate strong{display:block;font-size:17px;line-height:1.5}.intake-journey .invoice-wine-candidate span,.intake-journey .invoice-wine-candidate small{display:block;margin:5px 0;color:#6b788b;font-size:13px;line-height:1.5}.intake-journey .invoice-wine-candidate .btn{width:100%;margin-top:12px}.intake-journey #invoice-wine-matches>.actions{display:none}.intake-journey .journey-matching{padding:55px 0!important}.intake-journey .journey-matching .loading-indicator{flex-direction:column;gap:22px;justify-content:center;width:100%;color:#738094}.intake-journey .journey-matching .loading-ring{width:60px;height:60px;border-width:5px}
body.staff-workspace #intake-page .intake-journey .product-fields{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0 0}body.staff-workspace #intake-page .intake-journey .product-fields>div{min-width:0;flex:1 1 42%;margin:0}body.staff-workspace #intake-page .intake-journey .product-fields>div:first-child{flex-basis:100%}.intake-journey label{display:block;font-size:13px;color:#738094;margin:0 0 8px}.intake-journey input:not([type=checkbox]),.intake-journey select,.intake-journey textarea{font-size:16px!important;min-height:50px;width:100%;box-sizing:border-box;border:1px solid #dfe6ef;border-radius:12px;background:#fff;color:#25364b;padding:12px;box-shadow:none}.intake-journey #importer-field{padding:18px 0;border:0}.intake-journey #invoice-pack-cost{font-size:12px;color:#748092}
.intake-stage-summary{padding:22px 0;border-top:1px solid #edf0f4}.intake-stage-summary .receipt-fields{display:flex;flex-direction:column;gap:20px}.intake-stage-summary #supplier{resize:none;white-space:pre-wrap;overflow:hidden}.journey-messages{max-width:620px;width:100%;box-sizing:border-box;margin:auto;padding:0 24px;background:#fff;font-size:14px}.journey-messages:empty{display:none}.journey-messages p{margin:6px 0;overflow-wrap:break-word}.intake-journey .journey-legacy,.intake-journey #intake-stock-card{display:none!important}
.journey-success{width:84px;height:84px;line-height:84px;text-align:center;border-radius:50%;background:#eaf7f1;color:#2d9b73;font-size:42px;margin:55px auto 32px;animation:journey-check .35s ease-out}.journey-panel[data-screen=done]{text-align:center}.journey-panel[data-screen=done] .journey-footer{margin-top:70px}
/* Existing search and information dialogs become the next full page in this flow. */
body.intake-immersive #wine-find-dialog,body.intake-immersive #wine-create-dialog,body.intake-immersive #return-product-dialog{position:fixed;inset:0;top:0;left:0;right:0;bottom:0;margin:0 auto;width:100%;height:100%;max-width:720px;max-height:100%;box-sizing:border-box;border:0;border-radius:0;padding:calc(28px + env(safe-area-inset-top)) 24px calc(24px + env(safe-area-inset-bottom));overflow-y:auto;-webkit-overflow-scrolling:touch;background:#fff;box-shadow:none}
body.intake-immersive dialog::backdrop{background:#fff}body.intake-immersive #wine-find-dialog h2,body.intake-immersive #wine-create-dialog h2{font-size:28px;line-height:1.4;color:#1e3556;margin:18px 0 30px}body.intake-immersive dialog .btn{min-height:48px;border-radius:12px;font-size:16px;white-space:normal}body.intake-immersive dialog input,body.intake-immersive dialog select{font-size:16px!important;min-height:48px;max-width:100%;box-sizing:border-box}body.intake-immersive #wine-find-loading{display:flex;align-items:center;flex-direction:column;gap:22px;padding:45px 0 30px}body.intake-immersive #wine-find-loading .loading-ring{width:60px;height:60px;border-width:5px}#wine-find-dialog [hidden]{display:none!important}.wine-search-stage{font-size:16px;line-height:1.5;color:#344860}.wine-analysis-progress{width:100%;text-align:center}.wine-analysis-progress strong{display:block;font-size:28px;color:#1e3556;margin:16px 0}.wine-analysis-progress small{display:block;color:#7a8798;margin-top:14px}.wine-analysis-progress progress{width:100%;height:8px;accent-color:#1e3556}#wine-photo-identity{margin:20px 0;padding:18px;background:#f4f7fa;border-radius:14px;overflow-wrap:break-word}#wine-photo-identity small,#wine-photo-identity strong,#wine-photo-identity>span{display:block;margin:5px 0}#wine-photo-identity small{color:#748092}
@keyframes journey-page{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:translateX(0)}}@keyframes journey-row{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes journey-check{from{opacity:0;transform:scale(.65)}to{opacity:1;transform:scale(1)}}@keyframes journey-pulse{50%{opacity:.5}}
@media(min-width:800px){.journey-header{max-width:720px;width:100%;margin:0 auto;box-sizing:border-box}.journey-body{padding:0 48px}.journey-panel{padding-top:35px}}
@media(prefers-reduced-motion:reduce){.journey-panel,.journey-list-row,.journey-check,.journey-success,.journey-progress,.journey-rotating{animation:none!important}.journey-progress::-webkit-progress-value{transition:none}}
/* Keep the primary action at the bottom even on short screens. */
.journey-panel{display:flex;flex-direction:column}.journey-panel:after{display:none}.journey-footer{margin-top:auto;flex-shrink:0}.journey-list{flex-shrink:0}.journey-header,.journey-panel button,.intake-landing button{font-family:inherit}.journey-panel[data-screen=done] .journey-footer{margin-top:auto}.journey-panel[data-screen=scan]{display:block}
body.intake-immersive #wine-find-dialog,body.intake-immersive #wine-create-dialog,body.intake-immersive #return-product-dialog{transform:none;-webkit-transform:none}
body.staff-workspace #intake-page #intake-form.intake-journey[data-open=true]{overflow:hidden}
body.intake-immersive .loading-ring{border-color:#e7edf4;border-top-color:#1e3556}
body.intake-immersive #wine-find-dialog .wine-analysis-progress progress{border:0;border-radius:8px;overflow:hidden;background:#eaf0f6}body.intake-immersive #wine-find-dialog .wine-analysis-progress progress::-webkit-progress-bar{background:#eaf0f6}body.intake-immersive #wine-find-dialog .wine-analysis-progress progress::-webkit-progress-value{background:#1e3556;border-radius:8px}
body.staff-workspace #intake-page #intake-form.intake-journey{gap:0}
body.staff-workspace #intake-page #intake-form.intake-journey .attachment-field{background:#fff;border:0;border-radius:0;box-shadow:none}
body.staff-workspace #intake-page #intake-form.intake-journey .photo-actions button{font-family:inherit;border-radius:14px;min-height:54px;font-size:16px}
body.staff-workspace #intake-page #intake-form.intake-journey .photo-actions button:first-child{background:#1e3556;border-color:#1e3556;color:#fff}
body.staff-workspace #intake-page #intake-form.intake-journey .photo-actions button:last-child{background:#f1f4f8;border-color:#f1f4f8;color:#344860}
body.staff-workspace #intake-page #intake-form.intake-journey .attachment-field .photo-actions{margin-top:auto;margin-bottom:0;padding-top:32px}
body.intake-immersive #wine-create-form>.actions{position:sticky;bottom:calc(-24px - env(safe-area-inset-bottom));background:#fff;padding:16px 0 calc(20px + env(safe-area-inset-bottom));z-index:2;display:flex;gap:10px}
body.intake-immersive #wine-create-form>.actions .btn.primary{flex:1}
body.intake-immersive #wine-find-dialog.is-analyzing>label,body.intake-immersive #wine-find-dialog.is-analyzing>#wine-find-query,body.intake-immersive #wine-find-dialog.is-analyzing>#wine-find-search{display:none}
/* Catalog search is its own quiet page; only photo analysis uses a large loader. */
#wine-find-dialog .wine-finder-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:28px}
body.intake-immersive #wine-find-dialog .wine-finder-header h2{font-size:27px;margin:16px 14px 0 0;line-height:1.4;flex:1}
body.intake-immersive #wine-find-dialog #wine-find-close{min-height:44px;flex-shrink:0;padding:8px 4px;margin-top:12px;border:0;background:transparent;color:#617087;font-size:14px}
#wine-find-dialog .wine-catalog-form>label{display:block;margin-bottom:10px;color:#617087;font-size:14px;font-weight:400}
#wine-find-dialog .wine-catalog-input{display:flex;align-items:stretch;border:1px solid #d7e0eb;border-radius:14px;background:#f6f8fb;padding:4px}
body.intake-immersive #wine-find-dialog #wine-find-query{width:0;flex:1;min-width:0;margin:0;border:0;box-shadow:none;background:transparent;padding:12px 10px;border-radius:10px}
body.intake-immersive #wine-find-dialog #wine-find-search{min-width:64px;min-height:48px;margin:0;padding:10px 12px;border:0;border-radius:10px;background:#1e3556;color:#fff;font-size:15px}
#wine-find-dialog[data-mode=catalog] #wine-find-status{font-size:14px;line-height:1.6;color:#617087;margin:20px 0;min-height:22px}
body.intake-immersive #wine-find-dialog[data-mode=catalog] #wine-find-loading{flex-direction:row;justify-content:flex-start;gap:10px;padding:0;margin:18px 0 0;min-height:24px}
body.intake-immersive #wine-find-dialog[data-mode=catalog] #wine-find-loading .loading-ring{width:18px;height:18px;border-width:2px;flex-shrink:0}
#wine-find-dialog[data-mode=catalog] .wine-search-stage{font-size:14px;color:#617087}
#wine-find-dialog[data-mode=catalog] #wine-find-results:not(:empty){margin-top:24px}
#wine-find-dialog[data-mode=catalog] .wine-match{padding:20px 0;border-bottom:1px solid #e5eaf0}
#wine-find-dialog[data-mode=catalog] .wine-match:first-child{padding-top:0}
#wine-find-dialog[data-mode=catalog] .wine-match:last-child{border-bottom:0;padding-bottom:0}
#wine-find-dialog[data-mode=catalog] .wine-match>strong{display:block;font-size:18px;line-height:1.5;color:#1e3556;overflow-wrap:break-word}
#wine-find-dialog[data-mode=catalog] .wine-match>p{font-size:13px;line-height:1.5;color:#68768a;margin:7px 0}
body.intake-immersive #wine-find-dialog[data-mode=catalog] .wine-match>.btn{width:100%;margin-top:12px;min-height:46px;background:#f1f4f8;color:#1e3556;border:1px solid #e1e7ee;font-size:15px}
#wine-find-dialog .wine-catalog-footer{margin-top:30px;padding-top:22px;border-top:1px solid #e5eaf0}
body.intake-immersive #wine-find-dialog .wine-catalog-footer>.btn{width:100%;background:#fff;border:0;color:#617087;font-size:15px;min-height:48px}
.no-flex-gap #wine-find-dialog[data-mode=catalog] .wine-search-stage{margin-left:10px}
@media(max-width:360px){body.intake-immersive #wine-find-dialog{padding-left:20px;padding-right:20px}body.intake-immersive #wine-find-dialog .wine-finder-header h2{font-size:24px}}
body.staff-workspace #intake-page #intake-form.intake-journey[data-open=true],body.intake-immersive #wine-find-dialog,body.intake-immersive #wine-create-dialog,body.intake-immersive #return-product-dialog{height:var(--app-height,100%);max-height:var(--app-height,100%)}
.no-flex-gap .journey-header>*+*{margin-left:10px}.no-flex-gap .journey-row-content{margin-left:10px}.no-flex-gap .journey-check{margin-left:10px}.no-flex-gap .journey-row-actions>*+*{margin-left:12px}.no-flex-gap .journey-secondary>*+*,.no-flex-gap .intake-journey .photo-actions>*+*{margin-top:12px}.no-flex-gap .intake-journey .product-fields>div{padding:0 5px 12px}.no-flex-gap .journey-footer>*+*{margin-left:10px}
body.staff-workspace #intake-layout>.workspace>.card>.section-head{display:none}
.journey-choice-help{color:#748092;font-size:13px;line-height:1.6;margin:12px 0 20px}.intake-journey .invoice-wine-candidate.is-other-vintage{background:#f7f8fa;border:1px solid #e3e8ef}.intake-journey .invoice-wine-candidate .btn{background:#fff;color:#253b59;border:1px solid #cbd5e2}.wine-identity-warning{background:#fff4f3;border:1px solid #ecc9c5;border-left:4px solid #b74843;border-radius:12px;padding:20px;margin:18px 0 24px;color:#a43834}.wine-identity-warning strong{display:block;font-size:23px;line-height:1.45}.wine-identity-warning p{font-size:14px;line-height:1.6;margin:12px 0 0;color:#704c49;overflow-wrap:break-word}
.wine-identity-warning strong{word-break:keep-all;overflow-wrap:normal}
/* Photo research finishes on the same quiet, focused surface as intake. */
#wine-find-dialog[data-mode=photo] #wine-find-status:empty,#wine-create-error:empty{display:none}
#wine-find-dialog[data-mode=photo] #wine-find-status{font-size:14px;color:#617087;line-height:1.6;margin:0 0 22px}
#wine-find-dialog[data-mode=photo] .wine-match{padding:0;margin:0 0 28px;border:0}
#wine-find-dialog[data-mode=photo] .wine-match+.wine-match{padding-top:24px;border-top:1px solid #e5eaf0}
#wine-find-dialog .wine-result-identity>strong{display:block;font-size:25px;line-height:1.45;font-weight:700;letter-spacing:-.5px;color:#1e3556;word-break:keep-all;overflow-wrap:break-word}
#wine-find-dialog .wine-result-identity>.wine-result-english{font-size:15px;line-height:1.55;color:#6a7688;margin:10px 0 24px;overflow-wrap:break-word}
#wine-find-dialog .wine-result-details{margin:24px 0;padding:6px 18px;background:#f5f7fa;border-radius:16px}
#wine-find-dialog .wine-result-details>div{display:flex;align-items:baseline;padding:14px 0}
#wine-find-dialog .wine-result-details>div+div{border-top:1px solid #e6ebf1}
#wine-find-dialog .wine-result-details dt{width:62px;flex-shrink:0;font-size:13px;line-height:1.6;color:#6a7688}
#wine-find-dialog .wine-result-details dd{margin:0;flex:1;min-width:0;font-size:16px;line-height:1.6;color:#263b58;font-weight:600;overflow-wrap:break-word}
#wine-find-dialog[data-mode=photo] .btn{display:block;width:100%;margin:12px 0 0;background:#f1f4f8;color:#344860;border:0;box-shadow:none;font-size:15px;line-height:1.5;padding:14px 18px}
#wine-find-dialog[data-mode=photo] .btn.primary{background:#1e3556;color:#fff}
#wine-find-dialog[data-mode=photo] #wine-find-close{width:auto;background:transparent;padding:8px 4px}
#wine-find-dialog .wine-identity-review>strong{display:block;color:#1e3556;font-size:23px;line-height:1.4;word-break:keep-all}
#wine-find-dialog .wine-identity-review .wine-result-details dd,#wine-find-dialog .wine-identity-warning .wine-result-details dd{font-size:14px;font-weight:400;line-height:1.65}
#wine-find-dialog .wine-identity-warning{border:0;border-radius:16px;padding:22px 18px;margin:0 0 24px;background:#fff3f2}
#wine-find-dialog .wine-identity-warning strong{font-size:22px}
#wine-find-dialog .wine-identity-warning .wine-result-details{margin:16px 0 0;padding:0;background:transparent}
#wine-find-dialog .wine-identity-warning .wine-result-details>div{padding:10px 0}
#wine-find-dialog .wine-identity-warning .wine-result-details>div+div{border-color:#efdbd9}
#wine-find-dialog .wine-identity-warning .wine-result-details dd,#wine-find-dialog .wine-identity-warning .wine-result-details dt{color:#80524e}
.wine-result-notices{background:#f5f7fa;border-radius:12px;padding:12px 16px;margin:18px 0;color:#53657a}
.wine-result-notices[hidden],#wine-create-dialog [hidden]{display:none!important}
#wine-find-dialog .wine-result-notices p,#wine-create-dialog .wine-result-notices p{font-size:13px;line-height:1.6;margin:4px 0;overflow-wrap:break-word}
#wine-create-dialog .wine-finder-header{display:flex;align-items:flex-start;justify-content:space-between;margin:0 0 24px}
body.intake-immersive #wine-create-dialog .wine-finder-header h2{font-size:27px;line-height:1.4;margin:16px 14px 0 0;flex:1}
body.intake-immersive #wine-create-dialog #wine-create-close{min-height:44px;flex-shrink:0;padding:8px 4px;margin-top:12px;border:0;background:transparent;color:#617087;font-size:14px}
#wine-create-form>label{font-size:13px;font-weight:500;color:#617087;margin:22px 0 8px;display:block}
body.intake-immersive #wine-create-form>input,body.intake-immersive #wine-create-form>select,body.intake-immersive #wine-create-price{border:1px solid #e1e7ef;border-radius:12px;background:#f5f7fa;color:#263b58;padding:13px 14px;box-shadow:none;width:100%;font-weight:500}
body.intake-immersive #wine-create-form input:focus,body.intake-immersive #wine-create-form select:focus{outline:2px solid #6884a7;outline-offset:2px}
#wine-create-form .wine-price-row{margin-top:26px;grid-template-columns:minmax(0,1fr) 100px;gap:16px}
#wine-create-form .wine-price-row label{font-size:13px;color:#617087;margin-bottom:8px}
#wine-create-form .wine-price-ratio{padding-bottom:10px}
#wine-create-form .wine-price-ratio span{font-size:11px;color:#617087}
#wine-create-form .wine-price-ratio output{font-size:22px}
#wine-create-form .wine-price-suggestion{justify-content:space-between;font-size:13px;gap:8px;margin-top:10px}
#wine-create-form .wine-price-range{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;margin-top:12px;padding-top:12px;border-top:1px solid #e2e5e8;font-size:12px;color:#637080}
#wine-create-form .wine-price-range>span{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px}
#wine-create-form .wine-price-range strong{font-size:14px;font-weight:600;color:#243850;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
html[data-staff-theme=dark] #wine-create-form .wine-price-range{color:#bccce0;border-color:#3c4c62}
html[data-staff-theme=dark] #wine-create-form .wine-price-range strong{color:#e5eaf2}
body.intake-immersive #wine-create-form #wine-price-apply{min-height:40px;font-size:13px;padding:8px 12px;background:#edf2f7;color:#344860;border:0}
#wine-create-form #wine-price-cost,#wine-create-form .wine-transition-note{font-size:12px;color:#748092;line-height:1.6;margin:10px 0 0}
#wine-create-form>.actions{margin-top:24px}
#wine-create-form>#wine-create-error{color:#ad4542;font-size:14px;line-height:1.6}
#wine-create-form .grape-chip{background:#edf2f7;border:0;border-radius:10px;padding:4px 10px;color:#344860;font-size:13px}
#wine-create-form .grape-chip button{color:#617087;min-width:32px;min-height:36px}
body.intake-immersive #wine-create-form .grape-query{border:1px solid #e1e7ef;border-radius:12px;background:#f5f7fa;color:#263b58;padding:13px 14px;box-shadow:none}
#wine-create-form .grape-options{border-color:#e1e7ef;border-radius:12px}
#wine-create-form .grape-options button{border-color:#e8edf3;color:#344860}
#wine-create-form .grape-options button:hover,#wine-create-form .grape-options button:focus{background:#edf2f7}
/* Saved receipts use a large reader, separate from the editable intake. */
#intake-history .history-search{display:grid;grid-template-columns:155px minmax(0,1fr);grid-gap:12px;gap:12px;position:relative;padding:18px 22px;border-bottom:1px solid #e6ebf1}
#intake-history .history-search>div{min-width:0}#intake-history .history-search label{display:block;color:#748092;font-size:12px;margin-bottom:7px}
#intake-history .history-search input{max-width:none;width:100%;min-height:46px;box-sizing:border-box;border-color:#e1e7ef;border-radius:10px;background:#f5f7fa;color:#344860;font-size:16px}
#intake-history #history-loading{position:absolute;right:24px;top:4px}#intake-history #history-status:empty{display:none}
#intake-history #history-status{margin:12px 22px;font-size:13px;color:#a44743}
.receipt-history-item+.receipt-history-item{border-top:1px solid #e9edf2}
#intake-history .receipt-history-open{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;grid-gap:7px 18px;gap:7px 18px;align-items:start;width:100%;padding:18px 22px;box-sizing:border-box;border:0;border-radius:0;background:#fff;color:#263b58;box-shadow:none;text-align:left;font:inherit;white-space:normal;cursor:pointer;min-height:88px}
#intake-history .receipt-history-open:hover,#intake-history .receipt-history-open:focus-visible{background:#f5f7fa}
.receipt-history-date{grid-column:1/-1;font-size:12px;color:#7b8796;line-height:1.6;display:flex;align-items:center}
.receipt-history-name{grid-column:1;font-size:17px;font-weight:600;line-height:1.5;word-break:keep-all;overflow-wrap:break-word;min-width:0;white-space:normal}
.receipt-history-quantity{grid-column:2;font-size:18px;font-weight:650;line-height:1.5;white-space:nowrap;font-variant-numeric:tabular-nums}
.receipt-history-cancelled{margin-left:10px;padding:1px 6px;border-radius:5px;background:#f8eeee;color:#a45753;font-size:11px;font-weight:500}
.receipt-history-item.is-cancelled .receipt-history-quantity{color:#8c96a4;text-decoration:line-through}
#detail-dialog #detail-cancel{border:0;border-radius:10px;background:#fff1f0;color:#a44743;font-size:13px;min-height:44px;margin:0 8px 0 0;padding:10px 12px;box-shadow:none;white-space:nowrap}
@media(min-width:701px){#intake-history .receipt-history-open{grid-template-columns:124px minmax(0,1fr) auto;grid-template-rows:auto;align-items:center;min-height:80px}.receipt-history-date{grid-column:1;display:block}.receipt-history-cancelled{display:table;margin:5px 0 0}.receipt-history-name{grid-column:2}.receipt-history-quantity{grid-column:3}}
@media(max-width:360px){#intake-history .history-search{grid-template-columns:130px minmax(0,1fr);padding:16px;grid-gap:10px;gap:10px}#intake-history .receipt-history-open{padding:16px;grid-gap:7px 12px;gap:7px 12px}.receipt-history-name{font-size:16px}.receipt-history-quantity{font-size:17px}}
body.receipt-detail-open{overflow:hidden}
#detail-dialog.is-quantity-only #detail-summary,#detail-dialog.is-quantity-only #detail-extra,#detail-dialog.is-quantity-only #detail-photos,#detail-dialog.is-quantity-only #detail-cancel,#detail-dialog.is-quantity-only .receipt-detail-total{display:none}
#detail-dialog.is-quantity-only .detail-edit-fields{grid-template-columns:1fr}
#detail-dialog.is-quantity-only .detail-cost-actions{padding:16px 0 0;background:transparent}
.advance-quantity-edit{margin:4px 0 12px;min-height:44px}
.staff-workspace #detail-dialog{position:fixed;top:0;right:0;bottom:0;left:0;transform:none;margin:auto;width:calc(100% - 48px);max-width:1120px;height:calc(var(--app-height,100vh) - 48px);max-height:900px;padding:0;border:0;border-radius:24px;overflow:hidden;background:#fff;color:#263b58}
.staff-workspace #detail-dialog[open],.staff-workspace #detail-photo-dialog[open]{display:flex;flex-direction:column}
#detail-dialog::backdrop,#detail-photo-dialog::backdrop{background:rgba(18,36,61,.5)}
.receipt-detail-header{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;padding:20px 28px;border-bottom:1px solid #edf0f4;background:#fff}
.receipt-detail-header h2{font-size:21px;line-height:1.4;font-weight:700;color:#1e3556;margin:0}
.receipt-detail-header>.btn,.receipt-detail-header>div>.btn{min-height:44px;padding:8px 10px;border:0;border-radius:10px;background:transparent;color:#617087;font-size:14px;box-shadow:none}
.receipt-detail-header>div{display:flex;align-items:center}
.receipt-detail-body{flex:1;min-height:0;overflow:auto;-webkit-overflow-scrolling:touch;padding:30px;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);grid-gap:36px;gap:36px;align-items:start}
.receipt-detail-main,#detail-photos{min-width:0}
#detail-product{font-size:25px;line-height:1.45;letter-spacing:-.4px;color:#1e3556;word-break:keep-all;overflow-wrap:break-word;margin:0 0 22px;font-weight:700}
#detail-state{display:inline-block;margin-bottom:14px;background:#fff0ef;color:#a44743;font-size:12px;font-weight:650;padding:6px 10px;border-radius:7px}
#detail-cancel-note{margin:-8px 0 20px;font-size:13px;line-height:1.6;color:#a44743;overflow-wrap:break-word}
#detail-dialog .receipt-detail-rows{display:block;margin:0;font-size:14px}
#detail-dialog .receipt-detail-rows>div{display:flex;align-items:baseline;padding:9px 0}
#detail-dialog .receipt-detail-rows dt{flex:0 0 76px;color:#768294;font-size:13px;line-height:1.6}
#detail-dialog .receipt-detail-rows dd{margin:0;min-width:0;flex:1;color:#344860;line-height:1.6;overflow-wrap:break-word}
.receipt-detail-amounts{margin:24px 0;background:#f5f7fa;border-radius:18px;padding:22px}
.receipt-detail-metrics{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-gap:16px;gap:16px;margin:0 0 22px}
.receipt-detail-metrics dt{font-size:12px;color:#748092;margin-bottom:8px}
#detail-cost-edit{display:block;width:100%;min-height:44px;margin:0 0 20px;padding:10px 14px;border:1px solid #dce3ec;border-radius:12px;background:#edf1f6;color:#425b7b;font-size:14px;font-weight:600;line-height:1.5;box-sizing:border-box}
#detail-cost-form{margin:0 0 20px}
#detail-cost-form label{font-size:13px;margin-bottom:8px;display:block}
.detail-edit-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:12px}
#detail-cost-input,#detail-quantity-input{width:100%;min-width:0;box-sizing:border-box;font-size:18px;height:48px;padding:10px}
.detail-cost-actions{display:flex;gap:10px;margin-top:12px}
.detail-cost-actions .btn{flex:1;min-height:44px;margin:0;padding:10px 14px;font-size:14px}
#detail-cost-status{font-size:13px;line-height:1.6;margin:0 0 16px;color:#536780;overflow-wrap:anywhere}
#detail-cost-status.is-error{color:#a43c42}
html[data-staff-theme=dark] #detail-cost-status{color:#c0cddd}
html[data-staff-theme=dark] #detail-cost-status.is-error{color:#ffabb1}
.receipt-detail-metrics dd{margin:0;font-size:20px;line-height:1.4;font-weight:650;font-variant-numeric:tabular-nums;color:#263b58;overflow-wrap:break-word}
.receipt-detail-total{border-top:1px solid #e1e7ef;padding-top:20px;display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap}
.receipt-detail-total>span{font-size:13px;color:#617087;margin-right:12px}
.receipt-detail-total>strong{font-size:28px;line-height:1.5;letter-spacing:-.5px;font-variant-numeric:tabular-nums;color:#1e3556;overflow-wrap:break-word;max-width:100%}
#detail-attention{display:block;width:100%;border:0;border-radius:12px;padding:14px 16px;margin:0 0 16px;background:#fff3f2;color:#a44743;font:inherit;font-size:13px;text-align:left;min-height:44px;cursor:pointer}
#detail-extra{border-top:1px solid #e6ebf1;margin-top:26px;padding-top:4px}
#detail-extra>summary{display:flex;align-items:center;justify-content:space-between;list-style:none;padding:16px 0;font-size:14px;font-weight:600;color:#617087;cursor:pointer;min-height:48px;box-sizing:border-box}
#detail-extra>summary::-webkit-details-marker{display:none}
#detail-extra>summary:after{content:'＋';font-size:19px;font-weight:400}#detail-extra[open]>summary:after{content:'−'}
#detail-dialog #detail-info{margin:2px 0 18px}#detail-dialog #detail-info dd{font-size:13px}
#detail-completion{font-size:13px;border-top:1px solid #edf0f4;padding-top:12px;color:#617087;overflow-wrap:break-word}
#detail-completion p,#detail-dialog #saved-ocr-status{font-size:13px;line-height:1.7;margin:10px 0}
#detail-completion a{display:inline-block;color:#345779;font-size:13px;padding:8px 0;margin-right:12px}
#detail-completion .btn,#detail-dialog #review-saved-invoice{background:#edf2f7;border:0;border-radius:10px;color:#344860;font-size:13px;min-height:44px;padding:10px 14px;box-shadow:none}
.receipt-detail-recognition{margin-top:18px}#saved-ocr-status:empty{display:none}
.receipt-photo-tabs{display:flex;border-bottom:1px solid #e5eaf0;margin:0 0 18px}
.receipt-photo-tabs button{flex:1;min-height:48px;border:0;border-bottom:2px solid transparent;padding:12px 8px;background:transparent;color:#8290a2;font:inherit;font-size:14px;cursor:pointer}
.receipt-photo-tabs button[aria-selected=true]{border-bottom-color:#1e3556;color:#1e3556;font-weight:650}
#detail-photo-panel{border-radius:16px;background:#f5f7fa;overflow:hidden;min-height:200px}
#detail-photo-open{display:block;position:relative;width:100%;padding:16px 16px 46px;border:0;background:transparent;text-align:center;cursor:zoom-in;box-sizing:border-box}
#detail-dialog #receipt-image,#detail-dialog #bottle-image{display:block;width:100%;max-height:calc(var(--app-height,100vh) - 230px);min-height:200px;object-fit:contain;border:0;border-radius:4px;margin:0}
.receipt-photo-expand{position:absolute;right:16px;bottom:14px;color:#617087;font-size:12px}
#detail-photo-empty,#detail-dialog #image-error{padding:50px 20px;margin:0;font-size:13px;text-align:center;line-height:1.6;color:#748092}
#detail-dialog #image-error{color:#a44743}
.staff-workspace #detail-photo-dialog{position:fixed;top:0;left:0;right:0;bottom:0;transform:none;margin:0;width:100%;max-width:none;height:var(--app-height,100vh);max-height:var(--app-height,100vh);padding:0;border:0;border-radius:0;overflow:hidden;background:#f1f4f8}
#detail-photo-canvas{flex:1;min-height:0;overflow:auto;-webkit-overflow-scrolling:touch;padding:20px;text-align:center}
#detail-photo-image{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;vertical-align:top}
#detail-photo-dialog.is-zoomed #detail-photo-image{width:200%;max-width:none;max-height:none;object-fit:fill}
#detail-photo-dialog.is-zoomed #detail-photo-canvas{text-align:left}
#detail-photo-error{color:#a44743;font-size:14px}
@media(max-width:700px){
 .staff-workspace #detail-dialog{margin:0;width:100%;max-width:none;height:var(--app-height,100vh);max-height:var(--app-height,100vh);border-radius:0}
 .receipt-detail-header{padding:calc(12px + env(safe-area-inset-top)) 20px 12px}
 .receipt-detail-header h2{font-size:20px}
 .receipt-detail-body{display:block;padding:24px 22px calc(28px + env(safe-area-inset-bottom))}
 #detail-product{font-size:24px;margin-bottom:20px}
 .receipt-detail-amounts{padding:20px;margin:22px 0}
 #detail-extra{margin:22px 0 26px}
 #detail-dialog #receipt-image,#detail-dialog #bottle-image{max-height:300px;min-height:150px}
 .receipt-detail-total>strong{font-size:27px}
 #detail-photo-canvas{padding:12px 12px calc(12px + env(safe-area-inset-bottom))}
}
@media(max-width:360px){.receipt-detail-body{padding-left:20px;padding-right:20px}.receipt-detail-metrics dd{font-size:18px}.receipt-detail-total>strong{font-size:25px}.receipt-detail-amounts{padding:18px}#detail-product{font-size:22px}}
@media(max-width:360px){body.intake-immersive #wine-create-dialog{padding-left:20px;padding-right:20px}body.intake-immersive #wine-create-dialog .wine-finder-header h2{font-size:24px}#wine-find-dialog .wine-result-identity>strong{font-size:23px}#wine-find-dialog .wine-result-details{padding-left:14px;padding-right:14px}#wine-find-dialog .wine-result-details dt{width:54px}#wine-create-form .wine-price-row{grid-template-columns:minmax(0,1fr) 90px;gap:12px}}

.journey-estimate-label{display:block;font-size:12px;color:#7a8798;margin:-6px 0 16px}
.intake-landing .intake-advance-start{display:block;width:auto;min-height:44px;margin:14px auto 0;padding:8px 12px;background:transparent;border:0;color:#68778a;font-size:14px;font-weight:500;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.intake-supplier-options{max-height:224px;overflow-y:auto;margin-top:6px;border:1px solid #e0e5ec;border-radius:12px;background:#fff}
.intake-journey .intake-supplier-option{display:block;width:100%;min-height:44px;padding:11px 14px;text-align:left;font:inherit;font-size:15px;font-weight:500;line-height:1.5;white-space:normal;overflow-wrap:anywhere;border:0;border-bottom:1px solid #edf0f4;border-radius:0;background:transparent;color:#253c59}
.intake-journey .intake-supplier-option:last-child{border-bottom:0}.intake-journey .intake-supplier-option:hover,.intake-journey .intake-supplier-option:focus{background:#edf1f6}
.intake-journey .intake-supplier-hint{margin:8px 0 0;font-size:13px;line-height:1.6;color:#65758a}
html[data-staff-theme=dark] .intake-supplier-options{background:#20334b;border-color:#35445c}html[data-staff-theme=dark] .intake-journey .intake-supplier-option{color:#e5edf8;border-color:#35445c}html[data-staff-theme=dark] .intake-journey .intake-supplier-option:hover,html[data-staff-theme=dark] .intake-journey .intake-supplier-option:focus{background:#304963}html[data-staff-theme=dark] .intake-journey .intake-supplier-hint{color:#b8c5d8}
.intake-advance-waiting{max-width:420px;margin:28px auto 0;text-align:left;font-size:14px;color:#526276}
.intake-advance-waiting summary{padding:12px 0;cursor:pointer}.intake-advance-waiting .advance-waiting-row{display:flex;align-items:center;gap:8px;margin:0;padding:8px 0;font-size:13px;line-height:1.5;white-space:nowrap}.advance-waiting-date{flex:none;font-size:12px;font-variant-numeric:tabular-nums;opacity:.8}.advance-waiting-supplier{flex:0 1 72px;min-width:0;overflow:hidden;text-overflow:ellipsis}.advance-waiting-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}.advance-waiting-quantity{flex:none;font-weight:600;font-variant-numeric:tabular-nums}.intake-advance-waiting .btn{width:100%;min-width:0;font-size:14px;min-height:44px;margin-top:8px}
.intake-journey .advance-cost-choice{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:400;margin:16px 0;line-height:1.6}.intake-journey .advance-cost-choice input{width:20px;height:20px;min-height:20px;flex:0 0 20px;accent-color:#253c59}
.advance-allocation{border-top:1px solid #dde3ea;padding:20px 0;margin:16px 0}.advance-allocation>strong{font-size:17px}.advance-allocation p{font-size:14px;line-height:1.6}.intake-journey .advance-allocation-row{display:flex;align-items:center;gap:8px;font-size:13px;margin:12px 0}.intake-journey .advance-allocation-row>span:first-child{flex:1;min-width:0}.intake-journey .advance-allocation-row input{width:70px;min-width:0;font-size:16px}.advance-allocation .btn[aria-pressed=true]{outline:2px solid #657a96;outline-offset:2px}
.advance-badge{display:block;font-size:11px;color:#68778a;margin-top:4px}
html[data-staff-theme=dark] .intake-advance-waiting,html[data-staff-theme=dark] .intake-landing .intake-advance-start,html[data-staff-theme=dark] .advance-badge{color:#b8c5d8}
html[data-staff-theme=dark] .advance-allocation{border-color:#35445c;color:#e5edf8}
.intake-journey .advance-allocation-error{margin:10px 0 12px;color:#b5373f;font-size:14px;font-weight:600;line-height:1.6;white-space:pre-line}
body.staff-workspace .intake-journey .advance-allocation-row input[aria-invalid=true]{border-color:#b5373f!important;box-shadow:0 0 0 1px #b5373f!important;color:#a62d36!important}
html[data-staff-theme=dark] body.staff-workspace .intake-journey .advance-allocation-row input[aria-invalid=true]{border-color:#f0a2a8!important;box-shadow:0 0 0 1px #f0a2a8!important;color:#f0a2a8!important}
body.staff-workspace #intake-page .intake-journey .invoice-wine-candidate .btn{min-height:44px;font-size:14px;padding:9px 12px;margin-top:10px}
body.staff-workspace[data-work-view=intake][data-work-section=new] #intake-page .intake-journey .intake-publish-option{min-height:44px;box-sizing:border-box;margin:12px 0 0;padding:10px 0;font-size:13px;line-height:1.5;font-weight:400}
body.staff-workspace[data-work-view=intake][data-work-section=new] #intake-page .intake-journey .intake-publish-option input{width:38px;height:22px;min-height:22px;padding:0;border-radius:11px;margin-left:12px;flex-shrink:0}
body.staff-workspace[data-work-view=intake][data-work-section=new] #intake-page .intake-journey .intake-publish-option input:after{width:16px;height:16px;top:3px;left:3px}
body.staff-workspace[data-work-view=intake][data-work-section=new] #intake-page .intake-journey .intake-publish-option input:checked:after{-webkit-transform:translateX(16px);transform:translateX(16px)}

/* One visual scale for final receipt confirmation, including mobile dark mode. */
html body.staff-workspace #intake-page #intake-form .journey-panel[data-screen=review]{--review-card:#f4f6f8!important;--review-text:#25364b!important;--review-muted:#697789!important;--review-line:#dce3eb!important;gap:0!important}
html body.staff-workspace #intake-page #intake-form .journey-panel[data-screen=review] .journey-subtitle{font-size:15px!important;line-height:1.6!important;margin:0 0 20px!important;color:var(--review-muted)!important}
html body.staff-workspace #intake-page #intake-form .journey-panel[data-screen=review] .intake-final-rows{margin:0 0 16px!important}
html body.staff-workspace #intake-page #intake-form .journey-panel[data-screen=review] .journey-list-row{display:grid!important;grid-template-columns:24px minmax(0,1fr) 24px!important;gap:8px 10px!important;padding:16px!important;margin:0 0 10px!important;background:var(--review-card)!important;border:1px solid var(--review-line)!important;border-radius:12px!important;align-items:start!important}
html body.staff-workspace #intake-page #intake-form .journey-panel[data-screen=review] .journey-row-number{width:24px!important;height:24px!important;line-height:24px!important;font-size:12px!important;background:transparent!important;color:var(--review-muted)!important}
html body.staff-workspace #intake-page #intake-form .journey-panel[data-screen=review] .journey-row-content strong{font-size:16px!important;font-weight:600!important;line-height:1.5!important;color:var(--review-text)!important}
html body.staff-workspace #intake-page #intake-form .journey-panel[data-screen=review] .journey-row-content>span{font-size:13px!important;line-height:1.5!important;margin-top:6px!important;color:var(--review-muted)!important}
html body.staff-workspace #intake-page #intake-form .journey-panel[data-screen=review] .journey-check{font-size:21px!important;line-height:24px!important;color:#2d9b73!important}
html body.staff-workspace #intake-page #intake-form .journey-panel[data-screen=review] .journey-row-actions{grid-column:2 / 4!important;justify-content:flex-end!important;gap:0!important;margin:0!important}
html body.staff-workspace #intake-page #intake-form .journey-panel[data-screen=review] .journey-text-button{font-size:13px!important;min-height:36px!important;padding:4px 8px!important;color:var(--review-muted)!important}
html body.staff-workspace #intake-page #intake-form .journey-panel[data-screen=review] .intake-final-total{padding:18px 16px!important;margin:0 0 16px!important;border:1px solid var(--review-line)!important;border-radius:12px!important;background:var(--review-card)!important;align-items:center!important;gap:12px!important}
html body.staff-workspace #intake-page #intake-form .journey-panel[data-screen=review] .intake-final-total>span{font-size:14px!important;font-weight:500!important;color:var(--review-muted)!important}
html body.staff-workspace #intake-page #intake-form .journey-panel[data-screen=review] .intake-final-total>strong{font-size:22px!important;line-height:1.4!important;font-weight:700!important;color:var(--review-text)!important}
html body.staff-workspace #intake-page #intake-form .journey-panel[data-screen=review] .intake-publish-option{font-size:14px!important;line-height:1.5!important;padding:14px 0!important;margin:0 0 16px!important;border-top:0!important;border-bottom:1px solid var(--review-line)!important;background:transparent!important;color:var(--review-text)!important}
html body.staff-workspace #intake-page #intake-form .journey-panel[data-screen=review] .intake-stage-summary{padding:0!important;margin:0 0 20px!important;background:transparent!important;border:0!important;border-radius:0!important}
html body.staff-workspace #intake-page #intake-form .journey-panel[data-screen=review] .receipt-fields{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important;margin:0!important}
html body.staff-workspace #intake-page #intake-form .journey-panel[data-screen=review] .receipt-fields>div{min-width:0!important}
html body.staff-workspace #intake-page #intake-form .journey-panel[data-screen=review] .receipt-fields label{display:block!important;font-size:13px!important;font-weight:500!important;line-height:1.5!important;margin:0 0 8px!important;color:var(--review-muted)!important}
html body.staff-workspace #intake-page #intake-form .journey-panel[data-screen=review] #intake-date, html body.staff-workspace #intake-page #intake-form .journey-panel[data-screen=review] #supplier{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-height:48px!important;height:auto!important;padding:12px 14px!important;border:1px solid var(--review-line)!important;border-radius:10px!important;background:var(--review-card)!important;color:var(--review-text)!important;font-family:inherit!important;font-size:16px!important;font-weight:500!important;line-height:22px!important;box-shadow:none!important;resize:none!important}
html body.staff-workspace #intake-page #intake-form .journey-panel[data-screen=review] .journey-footer{padding-top:4px!important}
html[data-staff-theme=dark] body.staff-workspace #intake-page #intake-form .journey-panel[data-screen=review]{--review-card:#203149!important;--review-text:#e5eaf2!important;--review-muted:#b5c2d4!important;--review-line:#34445b!important}

/* Analysis uses one progress indicator; catalog-only lookup keeps its spinner. */
#wine-find-dialog.is-analyzing #wine-find-loading .loading-ring{display:none!important}
.wine-analysis-progress progress::-webkit-progress-value{transition:width .2s linear}
@media(prefers-reduced-motion:reduce){.wine-analysis-progress progress::-webkit-progress-value{transition:none}}
