/* D-C1 accepted eight tokens. No auxiliary red. TEST purple is consumer ribbon only. */
:root{--brand:#7A1F2B;--cream:#FAF6EF;--beige:#EFE6D8;--ink:#1E1A18;--muted:#6B625B;--success:#2F7A5A;--amber:#C58A1E;--test:#5B4A8A;--green:var(--brand);--paper:var(--cream);--line:var(--beige)}
body{background:var(--cream);color:var(--ink);font-size:18px;line-height:28px}h1,h2,h3,.eyebrow,.price{color:var(--ink)}h2,h3{font-size:24px;line-height:32px;font-weight:700}label{font-size:18px;line-height:28px;font-weight:600}button,.button{font-size:18px;min-height:48px;background:var(--brand)}button.secondary,.chip{background:var(--cream);color:var(--ink);border-color:var(--beige)}.chip{min-height:48px;font-size:18px;line-height:28px}.chip.selected{background:var(--brand);border-color:var(--brand);color:var(--cream)}.chips,.grid,.formgrid{gap:16px}.testbadge{background:var(--beige);color:var(--muted)}body:not(:has(.operator,[data-mg-create],[data-store-tab],#operator-pin)) header nav .testbadge{background:var(--test);color:var(--cream)}.warning,#notice.error{color:var(--muted);background:var(--cream);border:2px solid var(--muted)}.warning::before,#notice.error::before{content:'ⓘ ';font-weight:700}.orderpick.selected,.orderpick.selected:hover{background:var(--cream);color:var(--ink);border:3px solid var(--brand)}.check{color:var(--success)}.store-link{color:var(--brand)}.store-card .store-photo{aspect-ratio:1;height:auto}.store-card h2{font-size:24px;line-height:32px;font-weight:700}.pickup-code strong,.pickup-number{font-size:48px;line-height:56px}
[data-mg-form="Products"]{background:var(--beige);margin:16px 0;padding:16px;min-width:0}[data-mg-form="Products"]>h2{background:var(--cream);border-left:6px solid var(--brand);padding:12px;margin:-16px -16px 16px;color:var(--ink)}[data-mg-form="Products"] label:has([data-field="price"]){width:100%}[data-field="price"]{font-size:22px!important;line-height:32px!important;font-weight:700}.mg-product-photo{width:120px;height:120px;object-fit:cover;border-radius:12px;display:block}.mg-product-photo[hidden]{display:none}.mg-sticky{position:sticky;top:0;z-index:5;max-height:15vh;margin-bottom:16px;background:var(--cream);color:var(--brand);border:2px solid var(--brand)}.mg-automation{margin-top:16px}fieldset{min-width:0;border:1px solid var(--muted)}fieldset .checkbox input{width:24px;min-height:24px}.demo-options{margin-top:8px}.demo-select{position:absolute;width:1px;height:1px;padding:0;opacity:0;pointer-events:none}.invalid{outline:2px solid var(--muted)}#spec{background:white}#spec .formgrid>div{padding:16px;border:1px solid var(--beige);border-radius:12px}.mono{overflow-wrap:anywhere}.panel,.card,input,select,textarea{max-width:100%}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline-color:var(--brand)}
.mg-sale-state{color:var(--muted)}.mg-sale-state[data-active="true"]{color:var(--success)}#spec label{color:var(--brand)}.demo-options .chip{border-color:var(--brand)}.steps .current,.steps .done,.steps .complete{border-color:var(--brand);color:var(--brand)}.store-link{color:var(--brand)!important}
@media(max-width:680px){main{padding:0 20px}.actions{flex-wrap:wrap}.panel,.card{padding:16px}.formgrid{gap:16px}.mg-sticky{min-height:48px;padding:8px 16px}button{overflow-wrap:anywhere}.line{flex-wrap:wrap}.operator{min-width:0}.operator>*{min-width:0}}
/* Override legacy higher-specificity hover/stage/error colours as well as defaults. */
button:not(.chip):not(.secondary):hover:not(:disabled),.button:hover,button:not(.secondary):active:not(:disabled),.button:active,.chip.selected:active{background:var(--brand);color:var(--cream)}
.chip:not(.selected):hover:not(:disabled),.chip:not(.selected):active:not(:disabled),.secondary:hover:not(:disabled),.secondary:active:not(:disabled){background:var(--beige);border-color:var(--muted);color:var(--ink)}
.flow-message,[data-mg-pending],.required-attention{border-color:var(--muted);outline-color:var(--muted);background:var(--cream);color:var(--muted)}.required-message{color:var(--muted)}input,select,textarea{accent-color:var(--brand)}textarea:focus-visible{outline-color:var(--brand)}
body:has(.stage-one),.stage-one{background:var(--cream);color:var(--ink)}body:has(.stage-one) header{border-color:var(--brand)}
.stage-one .use-chip,.stage-one .cut-chip,.stage-one .cut-chip.cut-custom{background:var(--cream);color:var(--ink);border-color:var(--brand)}
.stage-one .use-chip.selected,.stage-one .cut-chip.selected,.stage-one .cut-chip.cut-custom.selected,.stage-one .use-chip:active:not(:disabled),.stage-one .cut-chip:active:not(:disabled),.stage-one .usage-actions button,.stage-one .usage-actions button:active:not(:disabled){background:var(--brand);border-color:var(--brand);color:var(--cream)}
.stage-one .use-chip:not(.selected):hover:not(:disabled),.stage-one .cut-chip:not(.selected):hover:not(:disabled){background:var(--beige);border-color:var(--brand)}.stage-one .usage-part-panel{border-color:var(--brand)}.stage-one .use-chip:focus-visible,.stage-one .cut-chip:focus-visible{outline-color:var(--brand)}
.stage-one .usage-actions button:disabled,.stage-one .usage-actions button[data-incomplete="true"]{background:var(--beige);color:var(--muted)}

/* v1.34.7: new presentation surfaces only; existing component colors stay exact. */
[data-signband][hidden],[data-legacy-brand][hidden],[data-legacy-tagline][hidden],[data-about-entry][hidden],[data-signband-name][hidden]{display:none!important}
.signband{display:flex;align-items:center;gap:8px;min-width:0;max-width:100%;background:#FAF6EF;color:#1E1A18;font:inherit;white-space:nowrap}
.signband img{width:32px;height:32px;object-fit:contain;flex-shrink:0}
.brand .signband-wordmark{display:block;flex-shrink:0;font:inherit;letter-spacing:inherit;color:#1E1A18}
.brand .signband-store-name{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:inherit;letter-spacing:inherit;color:inherit}
header:has(.signband:not([hidden])) .brand{min-width:0;flex:1}
header:has(.signband:not([hidden])) nav{flex-shrink:0}
header:has(.signband:not([hidden])){gap:12px}
[data-about-entry]{font-size:13px}
.gogi-splash{position:fixed;inset:0;z-index:2147483647;background:#FAF6EF;color:#1E1A18;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;padding:24px;touch-action:none}
.gogi-splash img{width:160px;height:160px;object-fit:contain;transform:translateY(-24px)}
.splash-wordmark{color:#1E1A18;font-size:28px;line-height:1.3;transform:translateY(-24px)}
.gogi-splash-motion img{animation:gogi-symbol-settle var(--splash-symbol-ms,350ms) ease-out both}
.gogi-splash-motion .splash-wordmark{animation:gogi-wordmark-appear var(--splash-wordmark-ms,250ms) ease-out var(--splash-symbol-ms,350ms) both}
@keyframes gogi-symbol-settle{from{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translateY(-24px)}}
@keyframes gogi-wordmark-appear{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.gogi-splash-motion img,.gogi-splash-motion .splash-wordmark{animation:none}}

.gogi-splash-exit{animation:gogi-splash-exit var(--splash-exit-ms,200ms) ease-in both}
@keyframes gogi-splash-exit{from{opacity:1}to{opacity:0}}

/* v1.34.9 first-paint gate; phase durations are fixed external CSS. */
.gogi-splash{display:none}
html.gogi-splash-active .gogi-splash{display:flex}
html.gogi-splash-active .gogi-splash img{animation:gogi-symbol-settle 350ms ease-out both}
html.gogi-splash-active .gogi-splash .splash-wordmark{animation:gogi-wordmark-appear 250ms ease-out 350ms both}
html.gogi-splash-static .gogi-splash img,html.gogi-splash-static .gogi-splash .splash-wordmark{animation:none}
@media(prefers-reduced-motion:reduce){html.gogi-splash-active .gogi-splash img,html.gogi-splash-active .gogi-splash .splash-wordmark{animation:none}}
.gogi-customer header nav .testbadge{display:none}
.store-entry-home [data-content-slot="business"],.store-entry-home [data-content-slot="brokerNotice"],.store-entry-home [data-content-slot="testNotice"]{margin:16px 0 0;padding:16px;font-size:18px;line-height:28px;color:var(--muted)}

/* v1.34.10: hide every customer shell until the destination DOM is complete. */
html.gogi-customer.gogi-entry-pending body > header,html.gogi-customer.gogi-entry-pending body > main,html.gogi-customer.gogi-entry-pending body > footer{visibility:hidden}
html.gogi-customer.gogi-entry-error body > header,html.gogi-customer.gogi-entry-error body > footer{display:none}
html.gogi-customer.gogi-entry-pending,html.gogi-customer.gogi-entry-pending body{background:#FAF6EF}

/* v1.34.11: operator fields only. */
.gogi-settings .gogi-setting-row{display:flex;gap:8px;align-items:center}
.gogi-settings .gogi-setting-label{display:flex;align-items:center;min-height:48px}
.gogi-settings .gogi-setting-number{position:relative;flex:1}
.gogi-settings [data-entry-minimum],.gogi-settings [data-entry-maximum]{height:48px;padding-right:36px;width:100%;box-sizing:border-box}
.gogi-settings .gogi-setting-unit{position:absolute;right:12px;top:50%;transform:translateY(-50%);pointer-events:none}
.gogi-settings .gogi-setting-invalid{border:2px solid #7A1F2B}
.gogi-about-editor .gogi-about-field{display:block;margin:12px 0}
.gogi-about-editor [data-about-input]{display:block;box-sizing:border-box;width:100%;min-height:48px;white-space:pre-wrap}
.gogi-about-editor [data-about-review]{margin:8px 0}

/* v1.34.12 customer-only order sheet and store groups; operator layout unchanged. */
html.gogi-customer body>main{padding-inline:16px}
html.gogi-customer :is(.review-title,.payment-notice,.broker-notice,.line p,.line strong,.cart-group h2,.store-hours,.testbadge){word-break:keep-all;white-space:normal;overflow-wrap:anywhere}
html.gogi-customer .stage-one .condition-chips,html.gogi-customer .pickup-method-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
html.gogi-customer .stage-one .condition-chips .chip,html.gogi-customer .pickup-method-chips .chip{width:100%;min-width:0;min-height:48px;padding:8px}
html.gogi-customer .store-card>.store-photo{height:140px;border-radius:14px;margin-top:12px}
html.gogi-customer .store-card-availability{color:#6B625B;display:flex;flex-wrap:wrap;column-gap:6px}
html.gogi-customer .store-card-availability p{font-size:15px;line-height:21px}
html.gogi-customer .review-title{font-size:24px;font-weight:700;line-height:1.46;max-height:none;overflow:visible;text-overflow:clip;-webkit-line-clamp:unset}
html.gogi-customer .order-sheet-back{min-height:44px;margin-bottom:16px}
html.gogi-customer .order-sheet .line{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start}
html.gogi-customer .order-sheet .line .amount{grid-column:2;grid-row:1;align-self:start;white-space:nowrap}
html.gogi-customer .order-sheet .line>div:first-child{min-width:0;overflow:visible}
html.gogi-customer #extraRequest{resize:none;overflow:hidden;min-height:80px}
html.gogi-customer .payment-notice{font-size:16px;font-weight:700}
html.gogi-customer .broker-notice{font-size:14px;color:#6B625B}
html.gogi-customer .broker-notice strong{color:#1E1A18;font-weight:700;display:inline;white-space:normal;overflow:visible;text-overflow:clip}
html.gogi-customer .order-submit{width:100%;min-height:54px;position:static}
html.gogi-customer .pickup-control{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
html.gogi-customer .pickup-control[aria-invalid=true]+.pickup-method-chips{outline:2px solid #B3261E}
html.gogi-customer .receipt-extra{font-size:16px;white-space:pre-wrap;overflow-wrap:anywhere}
html.gogi-customer .cart-controls{display:flex;flex-wrap:wrap;gap:8px}
html.gogi-customer .cart-controls button{min-height:44px}
html.gogi-customer .cart-count{display:inline-grid;place-items:center;border-radius:50%;min-width:24px;min-height:24px;background:#1E1A18;color:white}
html.gogi-customer .request-confirm{box-sizing:border-box;width:calc(100vw - 32px);max-width:328px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);padding:22px 20px;border-radius:16px;overflow:auto}
html.gogi-customer .request-confirm h2{font-size:24px;word-break:keep-all;overflow-wrap:anywhere}
html.gogi-customer .request-confirm-actions{display:flex;flex-direction:column;gap:8px}
html.gogi-customer .request-confirm-actions button{min-height:54px;width:100%}

/* 12170 consumer-only mobile header and non-blocking stock hint. */
html.gogi-customer .part-unavailable{opacity:.65}
html.gogi-customer .part-stock-note{display:block;font-size:12px;line-height:18px}
@media(max-width:680px){
 html.gogi-customer header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}
 html.gogi-customer header>.brand{grid-column:1;grid-row:1;min-width:0}
 html.gogi-customer header>nav{display:contents}
 html.gogi-customer header [data-about-entry]{grid-column:2;grid-row:1;white-space:nowrap;justify-self:end}
 html.gogi-customer header [data-cart-controls]{grid-column:1/-1;grid-row:2;width:100%;min-width:0}
 html.gogi-customer header .cart-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px}
 html.gogi-customer header .cart-controls button{width:100%;min-width:0;min-height:44px;padding:10px 8px;white-space:nowrap}
}

/* 12171 customer navigation and stock labels */
html.gogi-customer .cut-chip{flex-direction:column;min-height:44px}
html.gogi-customer .flow-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}
html.gogi-customer .flow-nav button{width:100%;min-width:0;min-height:44px;white-space:nowrap}
