:root{font-family:Inter,Arial,sans-serif;color:#19333a;background:#f5f7f6;font-synthesis:none;line-height:1.5;font-size:16px}*{box-sizing:border-box}body{margin:0}header{display:flex;justify-content:space-between;align-items:center;padding:18px 24px;border-bottom:1px solid #dfe6e3;background:white;gap:12px}.brand{display:flex;align-items:center;gap:12px;font-weight:700;font-size:.94rem}.brand-mark{background:#174d50;color:white;border-radius:12px;padding:12px;font-size:1rem}.brand small{display:block;font-weight:400;color:#697975;font-size:.76rem;letter-spacing:.04em}main{max-width:720px;margin:auto;padding:30px 20px calc(140px + env(safe-area-inset-bottom));overflow-wrap:anywhere}main.owner{max-width:1120px}h1{font-size:1.9rem;line-height:1.2;letter-spacing:-.04em;margin:8px 0 12px}h2{font-size:1.18rem;line-height:1.4;margin:0 0 14px}h3{font-size:1rem}p{margin:8px 0 18px}.eyebrow{font-size:.75rem;text-transform:uppercase;letter-spacing:.13em;color:#657a76}.muted,small{color:#627570}.card{background:white;border:1px solid #dce5e0;border-radius:16px;padding:20px;margin:18px 0}.hero{background:#e8f0eb;border:0}.stack{display:grid;gap:12px}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.row>*{min-width:0}.spread{justify-content:space-between}label{display:block;font-weight:600;font-size:.87rem;margin:14px 0 6px}input,textarea,select{font:inherit;min-height:48px;border:1px solid #acbdb6;border-radius:9px;padding:12px;width:100%;background:white;color:inherit}textarea{resize:vertical;min-height:165px;line-height:1.6}input[type=checkbox]{width:auto;min-height:24px}input[type=number]{max-width:100px}input[type=file]{padding:10px;font-size:.86rem}button,.button{font:inherit;border:1px solid #b2c6bd;background:white;color:#224e46;padding:12px 17px;border-radius:9px;min-height:46px;min-width:44px;cursor:pointer;text-decoration:none;text-align:center;line-height:1.3}button:hover{background:#eef4f0}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #71a99b;outline-offset:3px}.primary{background:#1a514b;color:white;border-color:#1a514b;font-weight:600}.primary:hover{background:#123e39}.primary:disabled,button:disabled{opacity:.6;cursor:wait}.full{width:100%;margin-top:14px}.text-button{border:0;background:transparent;padding-left:0;text-align:left;text-decoration:underline}.badge{display:inline-block;color:#466660;background:#e9f1ec;border-radius:20px;padding:5px 11px;font-size:.78rem}.warning{background:#fff7e6;color:#735225;border-left:3px solid #c59645;padding:14px;border-radius:5px}.success{border-left:4px solid #397a62}.review-line{border-top:1px solid #e1e8e3;padding:16px 0}.review-line:first-child{border:0}.review-line small{display:block}.review-line strong{display:block;margin:4px 0;overflow-wrap:anywhere}.order-summary{white-space:pre-wrap}.split{display:grid;grid-template-columns:1fr 1fr;gap:16px}.caption{white-space:pre-wrap;background:#f4f7f5;padding:12px;border-radius:8px}video{width:100%;max-height:480px;background:#142e2b;border-radius:10px}progress{width:100%;height:12px}#nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:center;background:#fff;border-top:1px solid #dce5e0;padding:8px 12px calc(8px + env(safe-area-inset-bottom));gap:10px;z-index:5}#nav[hidden]{display:none}#nav button{flex:1;max-width:220px;border:0;color:#60766e}#nav button[aria-current=page]{background:#e6f0e9;color:#164a3d;font-weight:700}#notice:not(:empty){position:fixed;bottom:calc(85px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(92%,650px);background:#193d36;color:white;padding:14px 18px;border-radius:10px;z-index:10;box-shadow:0 4px 20px #0002}a{color:#195e53}ul{padding-left:22px}.upload-row{padding:12px 0;border-top:1px solid #e4e9e6}.status-dot{height:9px;width:9px;border-radius:50%;background:#719785;display:inline-block;margin-right:7px}@media(max-width:500px){header{padding:14px 16px}.brand{font-size:.8rem}.brand-mark{padding:9px;font-size:.85rem}header button{font-size:.8rem;padding:10px}main{padding:24px 16px calc(150px + env(safe-area-inset-bottom))}.card{padding:16px}.split{grid-template-columns:1fr}h1{font-size:1.65rem}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s}}[hidden]{display:none!important}
.brand-logo{width:48px;height:48px;object-fit:contain;flex:none}

.request-changed,.request-new{color:#a51c30}.request-new{border-left:3px solid #a51c30;padding-left:12px}

.request-new .badge{color:inherit;background:#fce9ed}

.media-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:16px}.media-card{min-width:0}.media-card img{width:100%;max-height:480px;object-fit:contain;border-radius:12px;margin:12px 0}.media-card h3{overflow-wrap:anywhere}.library-section{margin-top:24px}

/* Owner workspace navigation and progressive disclosure. */
.owner-toolbar{margin:18px 0 8px;display:grid;grid-template-columns:auto minmax(160px,1fr);gap:10px 16px;align-items:center}.owner-toolbar label{margin:0}.owner-toolbar .owner-test-toggle{grid-column:1/-1;display:flex;align-items:center;gap:8px;font-weight:400;font-size:.82rem}.owner-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.owner-tabs button[aria-current=page],.owner-tabs button[aria-pressed=true]{background:#1a514b;color:#fff;border-color:#1a514b}.owner-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:22px 0}.owner-summary>div{padding:18px;background:#e8f0eb;border-radius:12px}.owner-summary strong{display:block;font-size:1.8rem}.owner-summary span{font-size:.85rem}.owner-task{border-top:1px solid #dce5e0;padding:16px 0}.owner-task summary{cursor:pointer;display:flex;justify-content:space-between;gap:12px;align-items:center}.owner-task summary strong{flex:1}.owner-task ul{line-height:1.9}.owner-empty{padding:22px;color:#627570;text-align:center}.owner [data-owner-panel]>.card{margin-top:12px}.owner .media-card video,.owner .media-card img{max-height:300px}.owner-types{margin-bottom:0}@media(max-width:500px){.owner-toolbar{grid-template-columns:1fr}.owner-tabs button{flex:1 1 28%;font-size:.88rem;padding:10px}.owner-summary{gap:6px}.owner-summary>div{padding:12px 8px}.owner-summary span{font-size:.75rem}.owner-summary strong{font-size:1.4rem}}

/* Focus, readable review summaries and bounded confirmation dialogs. */
select:focus-visible,summary:focus-visible{outline:3px solid #71a99b;outline-offset:3px}summary{cursor:pointer;min-height:44px;padding:10px 0}button:disabled{cursor:not-allowed}dialog{width:min(92vw,520px);max-height:85vh;overflow:auto;border:1px solid #b2c6bd;border-radius:16px;padding:24px;color:#19333a}dialog::backdrop{background:#132c2ba8}dialog textarea{min-height:100px}.empty-state{text-align:center}.review-line p:last-child{margin-bottom:0}.upload-row small{display:block}h1:focus{outline:none}

.local-isolation-notice { padding:12px; text-align:center; background:#fff0b3; color:#29220b; font:600 14px system-ui; }
.receipt-id{overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.field-error:not(:empty){color:#9b2634;margin-top:12px}#order-form textarea{min-height:200px}#submission-status{padding:12px 0;border-top:1px solid #dce5e0}
.order-intent{padding:0;border:0;margin:20px 0}.order-intent legend{font-weight:600;font-size:.87rem}.order-intent label{display:flex;align-items:center;gap:12px;border:1px solid #acbdb6;border-radius:9px;padding:12px;cursor:pointer}.order-intent input[type=radio]{width:22px;min-height:22px;flex:none;margin:0}.order-intent small{display:block;font-weight:400}.order-intent label:has(input:checked){background:#e8f0eb;border-color:#1a514b}

.voice-input{border-top:1px solid #dce5e0;margin-top:18px;padding-top:16px}.purchase-item{border-top:1px solid #dce5e0;padding:12px 0}.purchase-choice{display:flex;align-items:center;gap:12px}.purchase-choice input{flex:none}.purchase-item .row>div{flex:1;min-width:100px}.purchase-item input[type=number]{max-width:none}
/* Owner reminder controls also fit a phone-sized browser. */
.reminder-checks{display:flex;flex-wrap:wrap;gap:.7rem}
.reminder-checks label,.reminder-check{display:flex;align-items:center;gap:.4rem}
.reminder-checks input,.reminder-check input{width:auto}
.reminder-message{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}

/* Mobile-first add-ons: visible choices, thumb-sized controls and one review action. */
html{scroll-padding-bottom:calc(100px + env(safe-area-inset-bottom))}


/* Complete iPhone setup guide; keep these rules scoped to this page. */
.reminder-guide{color-scheme:light;background:#f4f8f7;color:#183338;font:16px/1.85 system-ui,-apple-system,'Microsoft YaHei',sans-serif}
.reminder-guide header{display:block;background:#123e42;color:#fff;padding:24px max(24px,calc((100vw - 1250px)/2));border:0}
.reminder-guide header p{margin:5px 0;color:#d5e8e5;font-size:14px}
.reminder-guide header a{display:inline-block;color:#fff;padding:8px 0;min-height:44px}
.reminder-guide .guide-layout{max-width:1280px;margin:auto;display:grid;grid-template-columns:255px minmax(0,1fr);gap:24px;padding:28px 20px}
.reminder-guide .guide-toc{position:sticky;top:20px;align-self:start;background:#fff;border:1px solid #d9e6e4;border-radius:14px;padding:16px;font-size:14px;max-height:90vh;overflow:auto}
.reminder-guide .guide-toc a{display:block;padding:9px 0;min-height:44px;color:#086c69;text-decoration:none}
.reminder-guide .guide-toc summary{font-weight:700}
.reminder-guide main{max-width:none;min-width:0;margin:0;background:#fff;border:1px solid #d9e6e4;border-radius:16px;padding:28px 34px}
.reminder-guide h1{font-size:29px;line-height:1.35;letter-spacing:normal;margin:0 0 20px}
.reminder-guide h2{font-size:23px;line-height:1.5;border-top:2px solid #e2eeeb;padding-top:25px;margin:40px 0 14px}
.reminder-guide h3{font-size:19px;color:#125653;margin-top:26px}
.reminder-guide :is(h1,h2,h3){scroll-margin-top:20px}
.reminder-guide :is(p,li,td,th){overflow-wrap:anywhere}
.reminder-guide a{color:#086c69}
.reminder-guide pre{padding:16px;background:#102e34;color:#e7f5ef;border-radius:10px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.75}
.reminder-guide code{font-family:Consolas,monospace}
.reminder-guide :is(p,li,td) code{background:#edf5f1;border-radius:4px;padding:2px 5px;color:#175e50;font-size:.92em}
.reminder-guide .table-wrap{overflow-x:auto;margin:20px 0;border:1px solid #d9e6e4;border-radius:9px}
.reminder-guide table{border-collapse:collapse;width:100%;font-size:14px}
.reminder-guide th{text-align:left;background:#eaf3f0;color:#173d3a}
.reminder-guide :is(th,td){padding:11px 13px;border-bottom:1px solid #d9e6e4;vertical-align:top;min-width:95px}
.reminder-guide tbody tr:nth-child(even){background:#fbfdfc}
.reminder-guide :is(ul,ol){padding-left:24px}
.reminder-guide li{margin:8px 0}
.reminder-guide footer{max-width:1230px;margin:0 auto 32px;color:#52666b;padding:0 20px;font-size:13px}
@media(max-width:800px){
  .reminder-guide .guide-layout{display:block;padding:12px}
  .reminder-guide .guide-toc{position:static;margin-bottom:14px;max-height:none}
  .reminder-guide main{padding:20px 16px}
  .reminder-guide h1{font-size:25px}
  .reminder-guide h2{font-size:21px}
  .reminder-guide header{padding:18px}
  .reminder-guide :is(th,td){padding:9px}
}
@media print{
  .reminder-guide :is(header,nav,footer){display:none}
  .reminder-guide .guide-layout{display:block;max-width:none;padding:0}
  .reminder-guide main{border:0;padding:0}
  .reminder-guide pre{background:#f4f4f4;color:#111}
  .reminder-guide .table-wrap{overflow:visible}
  .reminder-guide tr{break-inside:avoid}
}

/* Customer catalog and result: compact mobile rows, no horizontal table. */
.product-search{margin:24px 0;padding:20px;background:#fff;border:1px solid #d9e6e4;border-radius:14px}
.customer-product-list{list-style:none;margin:12px 0;padding:0}
.customer-product-list li{padding:14px 0;border-bottom:1px solid #d9e6e4;min-width:0;overflow-wrap:anywhere}
.customer-product-name{display:block;font-weight:650;line-height:1.45;white-space:normal}
.customer-price{margin-top:8px;display:grid;gap:4px;overflow-wrap:anywhere}
.customer-result p,.product-search p{overflow-wrap:anywhere}
.seafood-terms h2{font-size:16px;margin-bottom:8px}
.seafood-terms p{font-size:14px;line-height:1.6;margin:0;overflow-wrap:anywhere;color:#344f52}

/* flash() only renders text; status messages must not intercept form/navigation clicks. */
#notice{pointer-events:none}

/* Keep composing an order compact; optional lookup never expands without a choice. */
.order-compose{margin-top:14px}.order-compose>label:first-of-type{margin-top:0}
.order-compose .delivery-help{margin:5px 0 12px;font-size:14px}
.order-compose .order-intent{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0 16px}
.order-compose .order-intent legend{margin-bottom:6px}.order-compose .order-intent label{margin:0;padding:10px 8px;gap:8px;min-height:52px;font-size:14px}
.order-compose .order-intent strong{font-weight:600}.order-compose .order-intent small{font-size:12px}
#order-form.order-compose textarea{min-height:156px}.order-compose #draft-save-state{font-size:13px}
.order-compose p:has(>#draft-save-state){margin:4px 0}.order-compose .field-error:empty{display:none}
.optional-lookup,.optional-voice{margin-top:16px;border-top:1px solid #dce5e0}.optional-lookup>summary,.optional-voice>summary{font-weight:600;font-size:14px;padding:12px 0;min-height:48px}
.optional-lookup .product-search{padding:0;margin:6px 0;border:0;border-radius:0}
.optional-lookup #product-search-results{max-height:260px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.portal-mobile-pilot #product-search-results:empty{display:none}.portal-mobile-pilot #product-search-results:focus-visible{outline:3px solid #71a99b;outline-offset:3px}
.portal-mobile-pilot .submission-reference{font-size:14px}.portal-mobile-pilot .submission-reference summary{font-size:13px;min-height:44px}
.portal-mobile-pilot .submission-notice h2{margin-bottom:4px}.portal-mobile-pilot .submission-notice #submission-status{margin:0;padding:8px 0}
@media(max-width:500px){main:has(.order-compose){padding-top:16px}.order-compose{padding:14px}.order-compose+h2{margin-top:16px}}

/* Browse six initially; append another small batch inside this bounded area. */

/* The compact layout is limited to the server-authorized recommendation pilot. */
.portal-mobile-pilot .local-isolation-notice{display:none}

/* Native date controls and inline additions must fit narrow phone columns. */
#order-form,#delivery{min-width:0;max-width:100%}
#delivery{display:block;box-sizing:border-box;width:100%;min-height:48px;padding:8px 10px;font-size:18px;line-height:1.4}
#delivery::-webkit-datetime-edit{min-width:0;padding:0}
#delivery::-webkit-date-and-time-value{text-align:left;min-height:1.4em}
.customer-result-heading{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-bottom:8px;font-size:18px;line-height:1.5}
.customer-result-quantity{flex:none;font-variant-numeric:tabular-nums}.customer-result-heading .customer-product-name{flex:1;min-width:120px}
.customer-result-original{margin:4px 0;font-size:.9rem;white-space:pre-wrap;overflow-wrap:anywhere}

/* Requested-quantity edits use the existing ordering unit and phone-sized targets. */
.order-quantity-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px;max-width:100%;margin:10px 0}
.order-quantity-controls button{flex:none;width:48px;min-width:48px;min-height:48px;padding:8px;font-size:22px;line-height:1}
.order-quantity-controls input{flex:1 1 80px;width:80px;min-width:64px;max-width:120px;min-height:48px;padding:8px;text-align:center;font-size:18px;font-variant-numeric:tabular-nums}
.order-quantity-controls input[aria-invalid=true]{border-color:#a51c30}.quantity-input-error{order:5;flex-basis:100%;color:#a51c30;font-size:14px}
.order-quantity-controls p{margin:0}
.order-edit-dialog{width:calc(100% - 32px);max-width:480px;max-height:calc(100% - 32px);overflow:auto;box-sizing:border-box;padding:18px;border:1px solid #bad0c8;border-radius:16px;color:var(--ink);background:#fff}
.order-edit-dialog::backdrop{background:rgba(12,39,37,.35)}
.order-edit-dialog h2{font-size:22px;margin-top:0}.order-edit-dialog ul{padding-left:20px}
.order-edit-dialog .quantity-change{padding:8px 0;overflow-wrap:anywhere}.order-edit-dialog .quantity-change p{margin:4px 0}
.order-edit-dialog-actions{display:grid;gap:8px;margin-top:16px}.order-edit-dialog-actions button{width:100%;min-height:48px}
.quantity-edit-status{margin:12px 0}.quantity-edit-status:has(>p:empty){display:none}
.quantity-edit-savebar{position:sticky;bottom:calc(76px + env(safe-area-inset-bottom));z-index:5;display:flex;flex-wrap:wrap;gap:8px;padding:12px;background:#fff;border:1px solid #bad0c8;border-radius:12px;box-shadow:0 2px 12px #1233;margin-top:12px}
.compact-result .order-quantity-controls :is(button,input){scroll-margin-block-end:calc(180px + env(safe-area-inset-bottom))}
.quantity-edit-savebar[hidden]{display:none}.quantity-edit-savebar button{min-height:48px;flex:1;min-width:120px}

/* Phone home: free intrinsic widths instead of clipping a native date control. */
.portal-mobile-pilot header{padding:10px 16px;gap:8px}.portal-mobile-pilot .brand{gap:8px;min-width:0}.portal-mobile-pilot .brand-logo{width:36px;height:36px}.portal-mobile-pilot .brand small{display:none}
.portal-mobile-pilot main:has(.order-compose){padding-top:12px}.portal-mobile-pilot .compose-title{font-size:1.25rem;margin:4px 0 8px}.portal-mobile-pilot .order-compose{margin:8px 0 12px;min-inline-size:0}
.order-compose fieldset,.order-compose .order-intent label,.order-compose .order-intent span{min-inline-size:0}
.order-compose #delivery{inline-size:100%;min-inline-size:0;max-inline-size:100%;box-sizing:border-box;appearance:none;-webkit-appearance:none;font-size:18px;font-weight:600;min-height:56px;border-width:2px}
.order-compose .delivery-picker-row{display:flex;align-items:stretch;gap:8px;min-inline-size:0}.order-compose .delivery-picker-row #delivery{flex:1 1 0;inline-size:0;max-inline-size:none}.order-compose .delivery-date-confirm{min-height:56px;min-width:88px;padding:6px 8px;border:2px solid #22634f;border-radius:8px;background:#eff6f1;color:#164a3d;font-size:14px;font-weight:700}.order-compose .delivery-date-confirm.confirmed{background:#176b4c;color:white}.order-compose .delivery-date-confirm:focus-visible{outline:3px solid #123d70;outline-offset:2px}
.order-compose #delivery::-webkit-datetime-edit-fields-wrapper{min-width:0}.order-compose #delivery::-webkit-date-and-time-value{min-width:0;text-align:left}
.order-compose .delivery-title{font-size:18px;font-weight:700;margin:0 0 6px}.delivery-selected{font-size:16px;font-weight:700;color:#164a3d;margin:3px 0 6px;line-height:1.4}
.order-compose .delivery-help{margin:4px 0 2px}.order-compose .order-intent{margin:8px 0;gap:6px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.order-compose .order-intent legend{position:absolute;width:1px;height:1px;padding:0;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.order-compose .order-intent label{padding:6px;min-height:48px;gap:5px;line-height:1.25}.order-compose .order-intent label input{width:18px;height:18px;min-height:18px}.order-compose .order-intent strong{font-size:14px}.order-compose .order-intent small{font-size:12px}
.order-compose label[for=raw]{margin-top:8px}#order-form.order-compose textarea{min-height:180px;scroll-margin-block:16px 100px;font-size:16px}.order-compose #draft-save-state{font-size:12px}.order-compose .delivery-confirm{font-size:14px;line-height:1.4;margin:3px 0 8px;color:#315b4c}.order-compose .delivery-confirm strong{display:inline;font-size:17px;color:#164a3d}
.order-compose .delivery-confirm.confirmed{color:#176b4c;font-weight:700}
.voice-inline{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:4px 0}.voice-inline #voice{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px}.voice-inline #voice-state{font-size:14px;line-height:1.4;margin:0;flex:1;min-width:0}.voice-inline #voice-state:empty{display:none}.voice-inline #voice-recovery{flex-basis:100%}
.order-compose #submit{margin-top:4px;min-height:48px}.order-compose .compact-search{margin:14px 0 0;padding:0;border:0;border-radius:0;min-width:0}.compact-search input{font-size:16px;min-width:0}.compact-search .price-hint{font-size:13px;margin:4px 0}.compact-search #product-search-status{font-size:14px;margin:6px 0}.compact-search #product-search-status:empty{display:none}.compact-search #product-search-results{max-height:260px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.portal-mobile-pilot .order-compose #submit{position:static;box-shadow:none}
.portal-mobile-pilot .seafood-terms{margin-top:12px;padding:12px}.portal-mobile-pilot .seafood-terms h2{font-size:14px;margin-bottom:6px}.portal-mobile-pilot .seafood-terms p{font-size:14px;line-height:1.6}

/* Result discovery: background reads stay collapsed; pending recoveries remain visible. */
.recommendation-status{font-size:.85rem;margin:8px 0;overflow-wrap:anywhere}.recommendation-status:empty{display:none}
.recommendation-target{font-size:.82rem;line-height:1.4;margin:8px 0;overflow-wrap:anywhere}.order-note-hint{font-size:.82rem;line-height:1.4;margin:4px 0 8px}.result-order-id{font-size:.78rem;overflow-wrap:anywhere}
.recommendation-selection{font-size:.8rem;margin:6px 0;color:#315c48}.recommendation-selection:empty{display:none}
.receipt-summary{padding:14px 16px;margin-top:8px;margin-bottom:10px}.receipt-summary>.eyebrow{display:none}.receipt-summary h1{font-size:1.5rem;margin:0 0 6px}.receipt-summary>p{margin:5px 0;font-size:.9rem;line-height:1.4}.receipt-summary .receipt-reference summary{font-size:.82rem;padding:10px 0 2px;min-height:44px}
.compact-result{padding:12px 16px;margin:10px 0}.result-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.result-summary h2{font-size:1rem;margin:0}.result-overview{font-size:.82rem;line-height:1.4;margin:4px 0 0;color:#65756c}.result-toggle{font-size:.85rem;min-height:44px;padding:8px 10px}.compact-result>.order-another-date{font-size:.82rem;min-height:44px;padding:8px 0;border:0;text-align:left;text-decoration:underline;margin:2px 0 0}.result-content-header{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:16px}.result-content-header h2{flex:1;font-size:1rem;margin:0}.result-refresh{min-height:44px;font-size:.82rem;padding:8px}.result-policy{font-size:.82rem;line-height:1.4;margin:8px 0}.result-details summary{font-size:.85rem}.compact-result .customer-product-list li{padding:10px 0}.compact-result .customer-result-heading{font-size:1rem;line-height:1.35;margin:0}.compact-result .customer-price{font-size:.85rem;margin-top:4px}.compact-result .order-quantity-controls{margin:6px 0}.compact-result .order-quantity-controls p,.result-edit-hint{font-size:.82rem;line-height:1.4}.compact-result .quantity-edit-status{font-size:.85rem;margin:8px 0}
.received-notes{margin-top:12px}.received-notes h3{margin:0 0 8px;font-size:.95rem}.received-notes .order-summary{margin:0 0 8px;padding:10px 12px;background:#f4f7f5;border-radius:8px;line-height:1.5;overflow-wrap:anywhere}.received-notes .muted{font-size:.82rem;margin:6px 0}.customer-result .result-toggle{max-width:190px;white-space:normal}.customer-result>.result-content:not([hidden]){margin-top:12px}
.current-order-lines{margin:10px 0 6px}.current-order-lines h3{font-size:.85rem;margin:0 0 4px}.current-order-quantities{list-style:none;padding:0;margin:0;display:grid;gap:3px;font-size:.9rem}.current-order-quantities li{overflow-wrap:anywhere}.current-order-quantities strong{font-variant-numeric:tabular-nums}.customer-current-quantity{display:block;font-size:.78rem;color:#65756c;line-height:1.4}.current-order-more summary{min-height:44px;display:flex;align-items:center;font-size:.82rem;color:#315c48;cursor:pointer}.current-order-more .current-order-quantities{padding-top:4px}.original-received-notes{margin-top:6px}.original-received-notes summary{font-size:.82rem;color:#415e52;cursor:pointer;min-height:44px;display:flex;align-items:center}
.success,.receipt-summary.receipt-banner{border:1px solid #8fbaa6;border-left:5px solid #247554;background:#edf7f1;padding:14px 16px;margin:8px 0 10px}.receipt-thanks{font-size:1rem;font-weight:750;color:#24543e;margin-bottom:4px}.receipt-summary.receipt-banner h1,.success h1{font-size:1.8rem;font-weight:800;color:#174d3c;margin:0;line-height:1.2}
.order-followup-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}.order-followup-actions:has(> :only-child){grid-template-columns:1fr}.order-followup-actions button{margin:0;min-height:48px;padding:8px;white-space:normal}
.recommendation-header{flex-wrap:wrap}.recommendation-header>div{min-width:0}.recommendation-price-refresh{max-width:100%;white-space:normal}
@media(max-width:500px){.customer-result .result-summary{display:block}.customer-result .result-toggle{max-width:none;width:100%;margin-top:8px}}
/* Reviewed ordering controls; commercial quote units never come from ordering units. */
.recommendations{min-width:0;padding:16px;margin:12px 0;background:linear-gradient(150deg,#f0f6f1,#fff 55%);border-color:#b8d0c5}.recommendation-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.recommendation-header h2{font-size:1.4rem;line-height:1.2;margin:3px 0}.recommendation-header .eyebrow{font-size:.64rem;color:#416955}.recommendation-price-refresh{font-size:.75rem;padding:8px;min-height:44px;flex:none}.recommendation-source-status{font-size:.82rem;line-height:1.4;margin:8px 0}.recommendation-source-status:empty{display:none}.recommendation-count{font-size:.75rem;margin:8px 0;color:#627570}
.recommendation-list{list-style:none;padding:0;margin:0;display:grid;gap:10px}.recommendation-item{min-width:0;padding:12px;background:#fff;border:1px solid #d7e4dc;border-radius:12px;box-shadow:0 2px 5px #163c2910}.recommendation-choice{display:flex;gap:8px;align-items:center;margin:0;cursor:pointer}.recommendation-choice strong{font-size:1.12rem;font-weight:750;line-height:1.3;overflow-wrap:anywhere}.recommendation-choice input{width:24px;height:24px;min-height:24px;flex:none;margin:0}.recommendation-form:not(.batch-selecting) .recommendation-choice input{display:none}.recommendation-pack{font-size:.82rem;line-height:1.4;color:#63736b;margin:5px 0}.recommendation-reason{display:inline-block;font-size:.72rem;line-height:1.3;color:#41644e;background:#edf4ed;border-radius:4px;padding:3px 6px;margin:2px 0}
.recommendation-price-line{display:flex;align-items:baseline;flex-wrap:wrap;column-gap:6px;margin:8px 0}.recommendation-price{font-size:1.12rem;font-weight:750;color:#174d3c;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.recommendation-billing-unit{font-size:.72rem;color:#61746b}.recommendation-quantity{display:grid;grid-template-columns:minmax(108px,1fr) auto;gap:4px 8px;align-items:center}.recommendation-stepper{grid-column:1;grid-row:1;display:grid;grid-template-columns:44px minmax(20px,1fr) 44px;min-width:0}.recommendation-stepper button{min-width:44px;width:44px;min-height:44px;padding:4px;font-size:20px}.recommendation-stepper input[type=number]{min-width:0;max-width:none;width:100%;min-height:44px;padding:4px 0;text-align:center;font-size:16px;font-variant-numeric:tabular-nums;appearance:textfield}.recommendation-stepper input::-webkit-inner-spin-button{appearance:none}.recommendation-stepper button:first-of-type{border-radius:8px 0 0 8px}.recommendation-stepper input{border-radius:0;border-inline:0}.recommendation-stepper button:last-child{border-radius:0 8px 8px 0}.recommendation-quantity .recommendation-add{grid-column:2;grid-row:1;min-width:64px;min-height:44px;padding:9px 12px;font-size:14px}.recommendation-order-unit{grid-column:1;grid-row:2;font-size:.75rem;color:#63736b}.recommendation-unit{grid-column:1/-1;grid-row:2}.recommendation-unit select{min-height:44px;font-size:16px;padding:8px;width:100%}
.recommendation-batch{margin-top:12px;border-top:1px solid #d9e5dc}.recommendation-batch summary{font-size:.82rem;min-height:44px}.recommendation-submit{padding-top:4px;scroll-margin-bottom:100px}.recommendation-submit button{min-height:48px}.recommendation-submit p{overflow-wrap:anywhere;font-size:.85rem}.recommendation-recovery{border-left:3px solid #c59645;padding:8px;margin:8px 0}.recommendation-receipt{border-left:3px solid #30725c;padding:8px 10px;font-size:.85rem;overflow-wrap:anywhere}.recommendation-receipt ul{padding-left:20px}.recommendation-empty{font-size:.9rem;margin:12px 0}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(min-width:760px){.recommendation-list{grid-template-columns:repeat(2,minmax(0,1fr))}.recommendation-item{padding:14px}}
@media(max-width:360px){.recommendations{padding:12px}.recommendation-item{padding:10px}.recommendation-quantity{gap:4px 6px}.recommendation-quantity .recommendation-add{padding:8px;min-width:56px}.result-summary{gap:6px}.result-toggle{padding:8px}}
.date-order-items{list-style:none;padding:0;margin:10px 0;max-height:240px;overflow:auto;overflow-wrap:anywhere}.date-order-items li{margin:8px 0}.date-order-items:focus-visible{outline:2px solid #174d3c;outline-offset:3px}
.submitted-order-label{font-size:.8rem;color:#52685c;margin:8px 0 4px}.submitted-order-items{list-style:none;padding:0;margin:0;max-height:220px;overflow:auto;overscroll-behavior:contain}.submitted-order-items:focus-visible{outline:2px solid #247554;outline-offset:2px}.submitted-order-items li{padding:6px 0;border-bottom:1px solid #e3ebe5;white-space:pre-wrap;overflow-wrap:anywhere;font-size:1rem}.submitted-order-hint{font-size:.78rem;color:#52685c;line-height:1.4;margin:8px 0}.customer-result>#add-same-date{margin:10px 0 4px;min-height:48px;scroll-margin-block-end:calc(120px + env(safe-area-inset-bottom))}.order-followup-actions{grid-template-columns:1fr}
/* Approved receipt preview: green confirmation, blue actions, champagne suggestions. */
body:has(.customer-result){font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:#fff;color:#1f2c35;line-height:1.45}
body:has(.customer-result) header{padding:12px 18px;border-bottom:1px solid #d8c9a8;background:#fffefa}
body:has(.customer-result) .brand{font-size:13px;gap:9px;font-weight:600;color:#214a77}
body:has(.customer-result) .brand-logo{width:42px;height:42px;object-fit:contain}
body:has(.customer-result) .brand small{font-size:11px;color:#69727d;letter-spacing:0}
body:has(.customer-result) #logout{border:0;background:transparent;font-size:11px;color:#69727d;padding:5px;min-height:32px}
body:has(.customer-result) main{padding-top:18px;padding-inline:20px;max-width:600px}
body:has(.customer-result) :is(.success,.receipt-summary.receipt-banner){background:#f1f8f3;border:0;border-left:3px solid #2f7652;border-radius:4px;padding:12px 14px;margin:0 0 20px}
.receipt-thanks{font-size:20px;font-weight:700;color:#254b38;margin-bottom:6px;letter-spacing:-.35px}
.receipt-thanks strong{font-weight:700}
body:has(.customer-result) :is(.success,.receipt-summary.receipt-banner) h1{font-size:13px;color:#2f7652;font-weight:500;letter-spacing:0;line-height:1.5;display:flex;gap:7px;align-items:center;margin:0}
body:has(.customer-result) :is(.success,.receipt-summary.receipt-banner) h1:before{content:"\2713";display:inline-flex;border-radius:50%;background:#dceee2;color:#246241;width:18px;height:18px;align-items:center;justify-content:center;font-size:11px}
.customer-result.compact-result{padding:0;margin:0;border:0;border-radius:0;background:#fff;box-shadow:none}
.customer-result .result-summary{display:block}
.customer-result .result-summary h2{font-size:18px;font-weight:600;color:#214a77;letter-spacing:-.2px}
.customer-result .result-overview{font-size:13px;color:#65707b;margin-top:5px}
.current-order-lines{margin:12px 0 4px}.submitted-order-label{font-size:12px;color:#69727d;margin:0 0 5px}
.submitted-order-items{max-height:150px}.submitted-order-items li{font-size:15px;padding:4px 0;border:0}
.submitted-order-hint{display:none}
.customer-result>#add-same-date{min-height:44px;padding:8px 15px;margin:9px 0 0;border:1px solid #214a77;border-radius:6px;color:#214a77;background:#fff;font-size:13px;font-weight:500;width:auto}
.customer-result>#add-same-date:hover{background:#e9f0f8}
.original-received-notes{margin:4px 0 0}.original-received-notes summary{font-size:12px;color:#69727d;min-height:30px}
.order-followup-actions{margin:0 0 13px}.order-followup-actions button{font-size:12px;border:0;background:transparent;color:#69727d;text-decoration:underline;min-height:44px;padding:2px 0;text-align:left}
.recommendations{background:#fffdf8;border:0;border-top:2px solid #cbb78b;border-radius:0;padding:16px 12px 0;margin:0 -12px;box-shadow:none}
.recommendations h2,.recommendation-header h2{font-family:inherit;font-size:24px;font-weight:800;line-height:1.2;color:#574c37;letter-spacing:-.2px;margin:0}
.recommendation-header .eyebrow,.recommendation-target,.recommendation-count{display:none}
.recommendation-notice{font-size:13px;color:#6c6558;font-weight:400;margin:7px 0 4px;line-height:1.45}
.recommendation-source-status{font-size:12px;color:#69727d}
.recommendation-list{display:block}
.recommendation-item{padding:12px 0;background:transparent;border:0;border-bottom:1px solid #e7decb;border-radius:0;box-shadow:none}
.recommendation-choice strong{font-size:16px;font-weight:500;line-height:1.35;color:#263748}
.recommendation-pack{font-size:13px;color:#69727d;margin:3px 0}
.recommendation-reason{font-size:11px;font-weight:400;color:#7a6a4c;background:none;padding:0;margin:1px 0}
.recommendation-price-line{margin:7px 0}.recommendation-price{color:#214a77;font-size:16px;font-weight:600}.recommendation-billing-unit{font-size:12px;color:#69727d}
.recommendation-quantity{grid-template-columns:minmax(110px,1fr) auto;gap:4px 12px}
.recommendation-stepper{grid-template-columns:44px minmax(20px,1fr) 44px;max-width:166px}
.recommendation-stepper button{width:44px;min-width:44px;min-height:44px;font-size:17px;border-color:#d6dce1;color:#17212b;background:#fff}
.recommendation-stepper input[type=number]{min-height:44px;height:44px;font-size:16px;border-color:#d6dce1;background:#fff}
.recommendation-quantity .recommendation-add{background:#214a77;border-color:#214a77;color:#fff;border-radius:6px;font-size:12px;font-weight:600;min-height:44px;min-width:120px;padding:8px 12px}
.recommendation-quantity .recommendation-add:hover{background:#17395e;border-color:#17395e}
.recommendation-order-unit{font-size:11px;color:#69727d}.recommendation-batch{border:0;margin-top:8px;background:transparent}.recommendation-batch summary{font-size:12px;color:#69727d}
.recommendation-price-refresh,.recommendation-more{font-size:12px;color:#69727d;border:0;background:transparent;padding:4px 0;min-height:44px;margin:0}
.receipt-actions{border:0;padding:0;margin-top:3px;background:#fff;border-radius:0}
.receipt-actions button{font-size:12px;min-height:44px;border-color:#dde2e7;color:#214a77;background:#fff}.receipt-actions details{font-size:12px;color:#69727d}
body:has(.customer-result) #nav{background:#fffefa;border-top:1px solid #d8c9a8;box-shadow:none;padding:8px 10px calc(8px + env(safe-area-inset-bottom));gap:8px}
body:has(.customer-result) #nav button{font-size:12px;min-height:44px;padding:8px 5px;font-weight:400;color:#69727d;border:0;background:transparent}
body:has(.customer-result) #nav button[aria-current=page]{background:#e9f0f8;color:#214a77;font-weight:600;border-radius:6px}
@media(max-width:360px){.recommendation-quantity{gap:4px 6px}.recommendation-quantity .recommendation-add{min-width:112px}}
.order-compose #date-order.date-order-empty{margin:4px 0 8px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.order-compose #date-order.date-order-empty p{margin:0;font-size:.88rem;line-height:1.4;overflow-wrap:anywhere}

.recommendation-promotion{border:2px solid #9a620c;background:#fffbef}.promotion-badge{display:inline-block;background:#80500b;color:white;padding:4px 8px;border-radius:5px;font-weight:700;font-size:.82rem}.promotion-base{font-size:.8rem;color:#6b5e48;text-decoration:line-through}.promotion-products{display:grid;gap:8px;margin-top:12px}.promotion-products button{text-align:left;overflow-wrap:anywhere}#promotion-form{max-width:650px}.promotion-admin-list article{overflow-wrap:anywhere}.promotion-admin-status{overflow-wrap:anywhere}.promotion-admin-status:empty{display:none}

/* Approved staged customer ordering; business controls keep their existing handlers. */
.journey-date>:not(h1):not(.eyebrow):not(#journey-calendar){display:none!important}.journey-calendar{max-width:480px;margin:20px auto}.journey-calendar-heading{display:grid;grid-template-columns:44px 1fr 44px;gap:8px;align-items:center;margin:12px 0}.journey-calendar-heading h2{text-align:center;margin:0;font-size:1.1rem}.journey-calendar-heading button{min-width:0;padding:8px;font-size:24px}.journey-weekdays,.journey-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}.journey-weekdays{font-size:12px;color:#627570;margin-bottom:6px}.journey-days button{min-width:0;min-height:44px;padding:7px 0;border:0}.journey-days [aria-pressed=true]{background:#1a514b;color:white;font-weight:700}.journey-days button:disabled{opacity:.35}.journey-chosen{font-size:14px;margin:16px 0 8px}.journey-note .delivery-title,.journey-note .delivery-picker-row,.journey-note .delivery-help,.journey-note .delivery-confirm,.journey-note .delivery-selected,.journey-note label[for=delivery],.journey-note input#delivery{display:none}.journey-note #raw{min-height:215px}.journey-note-header p{margin:6px 0}.journey-note-header .text-button{margin:0}.journey-note.journey-auto-intent .order-intent{display:none}.journey-receipt .receipt-thanks,.journey-receipt>.receipt-actions,.journey-receipt>.order-followup-actions{display:none}.journey-receipt .success{background:#fff;border:1px solid #dce5e0;border-left:4px solid #397a62;border-radius:16px}.journey-receipt-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.journey-receipt-actions button{min-height:48px;margin:0}.journey-receipt-actions .primary{background:#1a514b;color:white;border-color:#1a514b}.journey-receipt .customer-result{background:white;border:1px solid #dce5e0;border-radius:16px;padding:20px}.journey-receipt .current-order-quantities{padding-left:20px}.journey-receipt #journey-final-step{min-height:52px}
.journey-recommendations{padding-bottom:calc(var(--journey-nav-height,78px) + 140px)}.journey-completion{position:fixed;bottom:var(--journey-nav-height,78px);left:0;right:0;z-index:6;border-top:1px solid #dce5e0;background:#fff;display:flex;justify-content:center;padding:10px 16px}.journey-completion button{width:100%;max-width:680px;min-height:52px}.journey-recommendations .recommendations{background:white;border:1px solid #dce5e0;border-radius:16px}.journey-recommendations .recommendation-item{padding:6px 0;min-height:calc((100svh - var(--journey-nav-height,78px) - 74px)/4)}.journey-recommendations .recommendation-choice strong{font-size:15px;line-height:1.2}.journey-recommendations .recommendation-pack,.journey-recommendations .recommendation-reason{font-size:11px;line-height:1.2;margin:2px 0}.journey-recommendations .recommendation-price-line{margin:3px 0}.journey-recommendations .recommendation-price{font-size:14px}.journey-recommendations .recommendation-quantity{gap:3px 6px}.journey-recommendations .recommendation-add{min-width:100px}.journey-recommendations .recommendation-stepper{grid-template-columns:36px minmax(20px,1fr) 36px;max-width:145px}.journey-recommendations .recommendation-stepper button{width:36px;min-width:36px}.journey-recommendations .recommendation-quantity{scroll-margin-bottom:calc(var(--journey-nav-height,78px) + 90px)}body:has(.journey-recommendations) #notice:not(:empty){bottom:calc(var(--journey-nav-height,78px) + 86px)}html:has(.journey-recommendations){scroll-padding-bottom:calc(var(--journey-nav-height,78px) + 90px)}
.journey-goodbye{display:grid;align-content:center;min-height:calc(100svh - 150px)}.journey-welcome,.journey-farewell{text-align:center;padding:32px 0}.journey-welcome h1,.journey-farewell h1{font-size:clamp(2rem,6vw,3rem);font-weight:400;line-height:1.25}.journey-welcome span,.journey-farewell span{display:block;color:#1a514b;font-weight:700;margin-top:12px}.journey-receipt h1{font-size:1.9rem}.journey-receipt .success>.primary{display:none}
.journey-welcome{animation:journey-welcome 2.5s linear both;will-change:opacity,filter,transform}@keyframes journey-welcome{0%{opacity:0;filter:blur(20px);transform:translateY(10px) scale(.985);animation-timing-function:cubic-bezier(.4,0,.2,1)}36%{opacity:1;filter:blur(0);transform:translateY(0) scale(1)}64%{opacity:1;filter:blur(0);transform:translateY(0) scale(1);animation-timing-function:cubic-bezier(.4,0,.2,1)}100%{opacity:0;filter:blur(20px);transform:translateY(-6px) scale(1.012)}}
@media(prefers-reduced-motion:reduce){.journey-welcome{animation-name:journey-welcome-reduced;will-change:opacity,filter}@keyframes journey-welcome-reduced{0%{opacity:0;filter:blur(12px);animation-timing-function:cubic-bezier(.4,0,.2,1)}36%{opacity:1;filter:blur(0)}64%{opacity:1;filter:blur(0);animation-timing-function:cubic-bezier(.4,0,.2,1)}100%{opacity:0;filter:blur(12px)}}}
@media(prefers-reduced-motion:no-preference){.journey-farewell{animation:journey-enter 1s ease-out both}@keyframes journey-enter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}}

.journey-recommendations .recommendation-quantity{grid-template-columns:minmax(108px,1fr) 48px minmax(76px,1fr);gap:4px;align-items:center}.journey-recommendations .recommendation-stepper{grid-column:1;grid-row:1;grid-template-columns:44px minmax(20px,1fr) 44px;max-width:145px}.journey-recommendations .recommendation-stepper button{width:44px;min-width:44px}.journey-recommendations .recommendation-unit,.journey-recommendations .recommendation-order-unit{grid-column:2;grid-row:1}.journey-recommendations .recommendation-unit select{min-width:0;padding:4px;min-height:44px}.journey-recommendations .recommendation-quantity .recommendation-add{grid-column:3;grid-row:1;min-width:0;min-height:44px;padding:6px;font-size:12px}.journey-recommendations .recommendation-choice{margin:2px 0}

#app.journey-note #raw{min-height:215px;height:auto;max-height:none}

.journey-receipt .success>#view-history,.journey-receipt .success>#free-videos,.journey-receipt .success>.order-summary{display:none}

.journey-welcome-frame{position:fixed;top:26px;left:16px;right:16px;height:calc(100svh - 34px);max-width:688px;margin:0 auto;display:grid;align-content:center;min-width:0;z-index:4;pointer-events:none}.journey-welcome-overlay{margin:0;right:auto}.journey-welcome h1{letter-spacing:-.035em}

.voice-original{flex-basis:100%;font-size:14px}.voice-original p{white-space:pre-wrap;overflow-wrap:anywhere}

/* Local additions stay distinct from immutable Warehouse receipts. */
.recommendation-draft:empty{display:none}.recommendation-draft{padding:12px;background:#f0f7f3;border:1px solid #b9d4c7;border-radius:10px;margin:12px 0}.recommendation-draft h3{font-size:16px;margin:0 0 10px}.recommendation-draft-item{display:flex;flex-wrap:wrap;gap:8px;align-items:end;padding:8px 0;border-top:1px solid #d7e4dc}.recommendation-draft-item label{flex:1 1 180px;min-width:0;margin:0;overflow-wrap:anywhere}.recommendation-draft-item input{width:100px;max-width:100%;margin-top:6px;min-height:44px}.recommendation-remove{min-height:44px}.recommendation-draft-item span{padding-bottom:12px}
