:root{--v7-danger:#b24836;--v7-success:#267151;--v7-info:#e9f3ed}
.account-page{min-height:100dvh;padding-bottom:48px}.account-shell{width:min(1080px,calc(100% - 32px));margin-inline:auto}.account-header{position:sticky;top:0;z-index:30;background:var(--bar);border-bottom:1px solid var(--border)}.account-header-inner{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:16px}.account-brand{display:flex;align-items:center;gap:10px;min-width:0;min-height:44px}.account-logo{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:#214b3e;color:#fff;font-size:25px;font-weight:850}.account-brand strong,.account-brand small{display:block}.account-brand strong{font-size:17px}.account-brand small{font-size:10px;color:var(--muted);margin-top:3px}.account-tools{display:flex;align-items:center;gap:8px}.account-language{min-height:44px;display:flex;align-items:center;gap:5px;border:1px solid var(--border);border-radius:12px;padding:0 8px;background:var(--surface)}.account-language select{min-height:42px;border:0;background:transparent;color:var(--text);font-size:12px;font-weight:700}.account-icon-button{width:44px;height:44px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text);font-size:21px}.account-main{padding-top:26px}.account-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:31px;border-radius:22px;background:linear-gradient(135deg,var(--hero),var(--surface-3));border:1px solid var(--border)}.account-hero h1{margin:7px 0 8px;font-size:clamp(26px,4vw,42px);line-height:1.14;letter-spacing:-.035em}.account-hero p{margin:0;color:var(--muted);max-width:670px}.account-kicker{font-size:10px;letter-spacing:.14em;color:var(--accent);font-weight:850}.secondary-link,.small-button,.text-button,.danger-outline,.primary-button,.auth-tabs button{min-height:44px;border-radius:11px;font-weight:750}.secondary-link{display:inline-flex;align-items:center;justify-content:center;padding:9px 16px;border:1px solid var(--brand);white-space:nowrap}.gate-card,.demo-warning,.account-card{border:1px solid var(--border);background:var(--surface);border-radius:18px}.gate-card{margin-top:14px;padding:15px 18px;color:var(--brand-dark)}.gate-card.ready{background:var(--v7-info)}.gate-card.blocked{background:var(--warning-bg);color:var(--warning-text);border-color:var(--warning-border)}.demo-warning{display:flex;align-items:flex-start;gap:9px;margin-top:12px;padding:13px 16px;background:var(--warning-bg);color:var(--warning-text);border-color:var(--warning-border)}.demo-warning p{margin:0;font-size:12px;line-height:1.65}.account-card{margin-top:16px;padding:22px;box-shadow:0 8px 30px rgba(25,53,39,.045)}.section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.section-heading h2{font-size:22px;margin:6px 0 4px}.section-heading p{font-size:12px;color:var(--muted);margin:0;line-height:1.6}.auth-tabs{display:flex;gap:7px;overflow-x:auto;margin:18px 0 14px}.auth-tabs button{flex:0 0 auto;border:1px solid var(--border);background:var(--surface-2);color:var(--text);padding:9px 14px}.auth-tabs button.active{background:#214b3e;color:#fff;border-color:#214b3e}.auth-form,.order-form{display:grid;gap:12px}.auth-form{max-width:600px}.auth-form label,.order-form label,.privacy-actions label{display:grid;gap:6px;font-size:12px;font-weight:700;color:var(--muted)}input,textarea,select{color:var(--text)}.auth-form input,.order-form input,.order-form textarea,.privacy-actions textarea,.privacy-actions select{width:100%;min-height:44px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2);padding:10px 12px;outline:0}.consent-row{grid-template-columns:auto 1fr!important;align-items:flex-start}.consent-row input{width:20px!important;min-height:20px!important;margin-top:2px}.primary-button{border:0;background:#214b3e;color:#fff;padding:11px 16px}.primary-button:disabled{opacity:.55;cursor:not-allowed}.text-button{border:0;background:transparent;color:var(--brand-dark);text-align:left;padding:6px 2px}.small-button{border:1px solid var(--border);background:var(--surface-2);color:var(--text);padding:9px 13px}.danger-outline{border:1px solid var(--v7-danger);background:transparent;color:var(--v7-danger);padding:10px 14px}.account-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:16px}.account-grid .account-card{margin-top:16px}.profile-summary{margin-top:16px;padding:14px;background:var(--surface-2);border-radius:12px}.profile-summary strong,.profile-summary small{display:block}.profile-summary small{color:var(--muted);margin-top:4px}.summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}.summary-item{background:var(--surface-3);border-radius:12px;padding:13px}.summary-item b,.summary-item span{display:block}.summary-item b{font-size:20px}.summary-item span{font-size:10px;color:var(--muted);margin-top:3px}.cart-preview{margin:15px 0}.cart-preview-empty{padding:19px;border:1px dashed var(--border);border-radius:12px;color:var(--muted);text-align:center}.cart-line{display:grid;grid-template-columns:1fr auto;gap:10px;padding:9px 0;border-bottom:1px solid var(--border)}.cart-line small{color:var(--muted)}.order-success{margin-top:14px;padding:17px;border-radius:13px;background:var(--v7-info);border:1px solid #b9dbc7}.success-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.orders-list{display:grid;gap:10px;margin-top:17px}.order-row{display:grid;grid-template-columns:1fr auto;gap:12px;padding:15px;border:1px solid var(--border);border-radius:13px;background:var(--surface-2)}.order-row h3{font-size:14px;margin:0 0 5px}.order-row p{font-size:11px;color:var(--muted);margin:2px 0}.order-amount{text-align:right}.status-pill,.demo-pill{display:inline-flex;align-items:center;min-height:24px;border-radius:20px;padding:3px 8px;font-size:9px;font-weight:800}.status-pill{background:var(--surface-3);color:var(--brand-dark)}.demo-pill{background:var(--warning-bg);color:var(--warning-text)}.privacy-actions{display:grid;grid-template-columns:auto 1fr;gap:18px;margin-top:17px}.privacy-actions form{display:grid;gap:10px}.account-toast{position:fixed;z-index:80;left:50%;bottom:22px;transform:translate(-50%,14px);max-width:calc(100% - 32px);padding:12px 17px;border-radius:12px;background:#193d2f;color:#fff;box-shadow:var(--shadow);opacity:0;pointer-events:none;transition:.2s}.account-toast.show{opacity:1;transform:translate(-50%,0)}.account-toast.error{background:#a94338}
@media(max-width:760px){.account-shell{width:calc(100% - 24px)}.account-header-inner{min-height:64px}.account-brand small{display:none}.account-hero{display:block;padding:23px 19px}.account-hero .secondary-link{margin-top:17px}.account-grid{grid-template-columns:1fr}.account-card{padding:17px}.section-heading h2{font-size:19px}.privacy-actions{grid-template-columns:1fr}.auth-tabs{margin-inline:-5px;padding:0 5px}.order-row{grid-template-columns:1fr}.order-amount{text-align:left}.account-language{padding-inline:5px}.account-language select{max-width:96px}.summary-grid{grid-template-columns:1fr 1fr}}
@media(max-width:360px){.account-logo{width:38px;height:38px}.account-brand strong{font-size:14px}.account-tools{gap:4px}.account-language select{max-width:72px}.account-main{padding-top:16px}.summary-grid{grid-template-columns:1fr}}
.account-language select{min-height:44px}.consent-row{min-height:44px}
.account-flow{display:flex;flex-wrap:wrap;gap:7px;margin-top:15px}.account-flow span{display:inline-flex;align-items:center;min-height:34px;padding:6px 10px;border:1px solid var(--border);border-radius:10px;background:var(--surface);font-size:11px;font-weight:750;color:var(--brand-dark)}.demo-spend-summary{margin-top:12px;padding:13px;border:1px solid var(--warning-border);border-radius:12px;background:var(--warning-bg);color:var(--warning-text)}.demo-spend-summary strong,.demo-spend-summary small{display:block}.demo-spend-summary strong{font-size:13px}.demo-spend-values{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:9px}.demo-spend-values span{display:block}.demo-spend-values b{display:block;font-size:16px}.demo-spend-values small{font-size:9px}@media(max-width:520px){.demo-spend-values{grid-template-columns:repeat(2,1fr)}.account-flow{display:grid;grid-template-columns:repeat(3,1fr)}.account-flow span{justify-content:center;text-align:center;padding-inline:5px}}
.auth-help{margin:0;color:var(--muted);font-size:12px;line-height:1.65}
[hidden]{display:none!important}
.current-order-banner{display:grid;gap:3px;margin-top:10px;padding:12px 13px;border-left:4px solid var(--brand);border-radius:9px;background:var(--v7-info)}
.current-order-banner span{font-size:10px;color:var(--muted)}.current-order-banner strong{font-size:13px}
.summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.summary-item b{font-variant-numeric:tabular-nums}
.order-side{display:grid;justify-items:end;gap:8px}.order-row-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.order-row-actions .small-button{padding-inline:10px}
.auth-cooldown{margin:0 0 12px;padding:10px 12px;border-radius:10px;background:var(--surface-3);color:var(--muted);font-size:12px}.role-boundary{margin-top:18px;padding:15px;border:1px solid var(--border);border-radius:13px;background:var(--surface-2)}.role-boundary strong,.role-boundary p{display:block}.role-boundary p{margin:6px 0 10px;color:var(--muted);font-size:12px;line-height:1.6}.role-boundary a{display:inline-flex;min-height:44px;align-items:center;color:var(--brand-dark);font-weight:800}.auth-tabs button[aria-selected="true"]{background:#214b3e;color:#fff;border-color:#214b3e}.auth-tabs button:disabled{opacity:.48;cursor:not-allowed}
.order-history-detail{margin-top:14px;padding:16px;border:1px solid var(--border);border-radius:14px;background:var(--surface-3)}
.history-detail-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.history-detail-head span,.history-detail-head strong{display:block}.history-detail-head span{font-size:10px;color:var(--muted)}
.history-items{display:grid;gap:8px;margin-top:13px}.history-item{display:grid;grid-template-columns:58px 1fr auto;align-items:center;gap:10px;padding:9px;border-radius:11px;background:var(--surface)}.history-item img{width:58px;height:58px;object-fit:contain;border-radius:9px;background:#fff}.history-item b,.history-item small{display:block}.history-item small{margin-top:3px;color:var(--muted);font-size:10px}.history-note{margin:12px 0 0;padding:11px;border-radius:10px;background:var(--warning-bg);font-size:12px}
@media(max-width:760px){.summary-grid{grid-template-columns:1fr 1fr}.order-side{justify-items:start}.order-row-actions{justify-content:flex-start}.history-item{grid-template-columns:52px 1fr}.history-item>strong{grid-column:2}.history-item img{width:52px;height:52px}}
@media(max-width:360px){.summary-grid{grid-template-columns:1fr}.history-detail-head{align-items:flex-start;flex-direction:column}}

.customer-order-card{--customer-swipe-width:176px;position:relative;overflow:hidden;border-radius:14px;touch-action:pan-y;overscroll-behavior-x:contain}.customer-order-card.processed{background:#eaf7ed;border:1px solid #86c69a}.customer-order-card.unprocessed{background:#fff0ef;border:1px solid #e9a29b}.customer-order-actions{position:absolute;inset:0 0 0 auto;width:var(--customer-swipe-width);display:grid;grid-template-columns:1fr 1fr}.customer-order-actions button{border:0;color:#fff;font-weight:850;font-size:15px}.customer-order-actions .keep-order{background:#e58b18}.customer-order-actions .hide-order{background:#c4473d}.customer-order-track{position:relative;z-index:1;background:inherit;transform:translate3d(0,0,0);transition:transform .18s ease;touch-action:pan-y}.customer-order-card.swipe-open .customer-order-track{transform:translate3d(calc(-1 * var(--customer-swipe-width)),0,0)}.customer-order-card.swipe-dragging .customer-order-track{transition:none}.customer-order-card .order-row{margin:0;border:0;border-radius:13px;background:transparent}.order-hide-dialog{width:min(420px,calc(100% - 28px));border:0;border-radius:18px;background:var(--surface);color:var(--text);padding:0;box-shadow:var(--shadow)}.order-hide-dialog::backdrop{background:rgba(8,24,16,.58)}.order-hide-dialog form{padding:23px}.order-hide-dialog h2{margin:0 0 8px}.order-hide-dialog p{font-weight:800}.order-hide-dialog small{display:block;color:var(--muted);line-height:1.6}.order-hide-dialog form>div{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:18px}.order-hide-dialog button{min-height:48px}
.history-quote-confirm{display:grid;gap:10px;margin-top:14px;padding:15px;border:1px solid #e5b85e;border-radius:14px;background:#fff7e8}.history-quote-confirm h3,.history-quote-confirm p{margin:0}.history-quote-confirm small{color:var(--muted);line-height:1.55}.history-quote-confirm .primary-button{min-height:48px}


/* V7.10.0 Required Order Info (Red Alert Box) & Customer Geolocation Map Picker */
.required-order-box{margin:12px 0 14px;padding:16px;border:2px solid #dc2626;border-radius:18px;background:#fff5f5;box-shadow:0 6px 20px rgba(220,38,38,.08)}
.required-order-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}
.required-order-head h3{margin:0;color:#b91c1c;font-size:18px;font-weight:900;letter-spacing:-.01em}
.required-order-badge{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;background:#dc2626;color:#fff;font-size:12px;font-weight:900}
.required-order-tip{margin:0 0 12px;color:#991b1b;font-size:13px;line-height:1.5;font-weight:600}
.req-star{color:#dc2626;font-style:normal;font-weight:900;margin-left:2px}
.required-order-box label>span{color:#7f1d1d;font-weight:800}
.required-order-box input,.required-order-box select,.required-order-box textarea{border:1.5px solid #fca5a5!important;background:#fff!important;color:#1f2937!important;border-radius:12px}
.required-order-box input:focus,.required-order-box select:focus,.required-order-box textarea:focus{border-color:#dc2626!important;outline:2px solid rgba(220,38,38,.2)}
.required-order-box .is-missing{border-color:#dc2626!important;background:#fef2f2!important;box-shadow:0 0 0 3px rgba(220,38,38,.18)}
.order-validation-error{margin:0 0 12px;padding:11px 13px;border:1.5px solid #dc2626;border-radius:12px;background:#fee2e2;color:#991b1b;font-size:13px;font-weight:800;line-height:1.55}
.note-label-row{display:flex!important;align-items:center;justify-content:space-between;gap:8px;width:100%}
.mini-red-btn{padding:4px 10px;border:1px solid #f87171;border-radius:999px;background:#fff;color:#b91c1c;font-size:12px;font-weight:800;cursor:pointer;min-height:28px}
.mini-red-btn:active{background:#fee2e2}
.location-required-block{margin-top:6px;padding:14px;border:1.5px dashed #ef4444;border-radius:15px;background:#fff;display:grid;gap:10px}
.location-required-block.is-confirmed{border-style:solid;border-color:#16a34a;background:#f0fdf4}
.location-block-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.location-block-head strong{color:#991b1b;font-size:15px;font-weight:900}
.location-required-block.is-confirmed .location-block-head strong{color:#166534}
.loc-badge{display:inline-flex;align-items:center;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:900}
.loc-badge.unconfirmed{background:#fee2e2;color:#b91c1c}
.loc-badge.confirmed{background:#dcfce7;color:#15803d}
.location-privacy-notice{margin:0;padding:9px 11px;border-radius:10px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-size:12px;line-height:1.5}
.location-btn-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.locate-primary-btn,.locate-secondary-btn,.confirm-location-btn{min-height:44px;padding:10px 12px;border-radius:12px;font-size:14px;font-weight:850;cursor:pointer}
.locate-primary-btn{border:0;background:#dc2626;color:#fff}
.locate-primary-btn:disabled{opacity:.6;cursor:wait}
.locate-secondary-btn{border:1.5px solid #dc2626;background:#fff;color:#b91c1c}
.location-status-text{font-size:12.5px;color:#7f1d1d;line-height:1.45;font-weight:600}
.location-required-block.is-confirmed .location-status-text{color:#166534}
.customer-location-map-wrap{display:grid;gap:6px}
.customer-location-map{width:100%;height:230px;border-radius:13px;border:1.5px solid #fca5a5;overflow:hidden;z-index:1}
.map-drag-hint{font-size:12px;color:#6b7280}
.location-coords-preview{padding:8px 11px;border-radius:10px;background:#f8fafc;border:1px solid #e2e8f0;color:#334155;font-size:12px;font-family:ui-monospace,Consolas,monospace}
.confirm-location-btn{border:0;background:#16a34a;color:#fff;width:100%}
.confirm-location-btn:disabled{background:#d1d5db;color:#6b7280;cursor:not-allowed}
html[data-theme="dark"] .required-order-box{background:#2a1414;border-color:#ef4444}
html[data-theme="dark"] .required-order-head h3,html[data-theme="dark"] .required-order-tip,html[data-theme="dark"] .required-order-box label>span{color:#fecaca}
html[data-theme="dark"] .location-required-block{background:#1f1515;border-color:#ef4444}
html[data-theme="dark"] .location-required-block.is-confirmed{background:#10291c;border-color:#22c55e}
html[data-theme="dark"] .location-privacy-notice{background:#2d1f12;border-color:#7c2d12;color:#fed7aa}
@media(max-width:460px){.location-btn-row{grid-template-columns:1fr}.required-order-box{padding:13px}}


/* V7.10.1 Clear-all-orders & clear-pending-list toolbar */
.cart-clear-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;padding:10px 12px;border:1px solid #fecaca;border-radius:13px;background:#fff5f5}
.cart-clear-bar span{font-size:13px;font-weight:800;color:#7f1d1d}
.clear-all-btn{min-height:38px;padding:7px 12px;border-radius:10px;font-size:13px;font-weight:850;white-space:nowrap}
.orders-head-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
html[data-theme="dark"] .cart-clear-bar{background:#2a1414;border-color:#7f1d1d}
html[data-theme="dark"] .cart-clear-bar span{color:#fecaca}
