/* Shared controls for customer ordering, staff POS, dialogs and receipts. */
:root{--control-radius:10px;--control-height:44px;--control-font:14px;--control-line:20px;--control-gap:8px}
button,.receipt-link,.instagram-link,.receipt-buttons>a{border-radius:var(--control-radius);min-height:var(--control-height);padding:11px 14px;font-size:var(--control-font);line-height:var(--control-line);font-weight:700;box-sizing:border-box;text-align:center}
button{vertical-align:middle}
button.primary,.instagram-link{background:var(--blue);border:1px solid var(--blue);color:#fff}
button.primary:hover,.instagram-link:hover{background:#063b7e;border-color:#063b7e}
button:not(:disabled):focus-visible,a:focus-visible{outline:3px solid var(--coral);outline-offset:3px}
.tabs{gap:var(--control-gap);flex-wrap:nowrap;flex-shrink:0}
.tabs button,.language-control button{border-radius:var(--control-radius);min-height:var(--control-height);padding:11px 12px;white-space:nowrap;font-size:var(--control-font);line-height:var(--control-line)}
.language-control{gap:var(--control-gap)}
.language-control button{font-size:12px;padding-inline:10px}
.tabs button.active{border-color:var(--blue)}
/* Descriptive flavor labels are not buttons. */
.flavor-strip{gap:8px 16px;margin:14px 0}
.flavor-pill{border:0;border-radius:0;padding:3px 0;background:transparent;line-height:20px}
/* Product actions must fit on one line beside the price. */
body.customer-sections .product{padding:16px;min-height:194px;border-radius:16px}
body.customer-sections .product .row{flex-wrap:nowrap;align-items:center;gap:8px;padding-top:10px}
body.customer-sections .product .row button{flex:0 0 auto;min-width:0;min-height:44px;height:44px;padding:11px 10px;font-size:14px;line-height:20px;white-space:nowrap;border-radius:var(--control-radius)}
body.customer-sections .product .price{font-size:19px;line-height:24px;white-space:nowrap}
body.customer-sections .product h3{font-size:20px;line-height:1.2}
body.customer-sections .product .tag{font-size:10px;padding:4px 7px;white-space:normal}
.section-head{gap:12px;align-items:center}
.section-head h2{min-width:0;line-height:1.2}
/* Touch targets stay comfortable even when the visible icon is small. */
.qty{gap:8px}
.qty button,.flavor-row button,#productDialog .flavor-row button{width:44px;height:44px;min-height:44px;flex:0 0 44px;padding:0;border-radius:var(--control-radius);font-size:18px;line-height:42px}
.qty b,.qty>span{min-width:18px;text-align:center}
.close{width:44px;height:44px;min-height:44px;padding:0;border-radius:var(--control-radius);font-size:22px;line-height:42px;flex:0 0 44px}
input:not([type=checkbox]):not([type=radio]),select{min-height:44px;border-radius:var(--control-radius);padding:10px 12px;font-size:16px;line-height:22px}
textarea{border-radius:var(--control-radius);font-size:16px;line-height:1.5;padding:10px 12px}
.check,.payment-choice{border-radius:var(--control-radius);padding:12px;gap:10px}
.payment-choice:has(input:checked){border:1px solid var(--blue);padding:12px;background:var(--pale)}
.check input,.payment-choice input{flex-shrink:0}
#checkoutDialog>button.full,#checkoutForm>button.full,.staff-login button,.settings>button.primary{min-height:44px;padding:11px 14px}
.save-favorite,.staff-alert-tools button,.staff-identity button{min-height:44px;padding:11px 12px;font-size:13px;border-radius:var(--control-radius)}
.saved-actions,.ticket .actions,.tracking-actions,.photo-actions,.preview-actions,.receipt-buttons{gap:var(--control-gap)}
.saved-actions>*,.ticket .actions>*,.tracking-actions>*,.photo-actions>*,.preview-actions>*,.receipt-buttons>*{min-height:44px;border-radius:var(--control-radius);padding:11px 12px;font-size:14px;line-height:20px}
.home-welcome .home-order-cta{min-height:44px;min-width:0;padding:11px 16px;font-size:15px;line-height:20px;border-radius:var(--control-radius)}
.home-combo>button,.home-story-teaser>button,.home-feature>button{min-width:0;min-height:44px;font-size:14px;border-radius:var(--control-radius)}
.home-combo>button{white-space:nowrap}
.instagram-link{padding:11px 14px;min-height:44px;font-size:14px;line-height:20px}
#customerCartBar{padding:10px 12px;gap:12px;border-radius:14px}
#customerCartBar button{min-height:44px;padding:11px 14px;border-radius:var(--control-radius);white-space:nowrap}
#customerNav button{border-radius:var(--control-radius);min-height:58px;font-size:11px;line-height:16px;padding:6px 4px}
#customerNav svg{width:22px;height:22px}
/* POS actions use the same controls; product and summary cards remain cards. */
.pos-toolbar .pos-new-sale,.pos-sidebar .pos-new-sale{min-height:44px;padding:11px 12px;font-size:16px;line-height:20px;border-radius:var(--control-radius);box-shadow:none}
.pos-toolbar .staff-tabs button,.pos-sidebar .staff-tabs button{min-height:44px;padding:11px 12px;font-size:14px;line-height:20px;border-radius:var(--control-radius)}
.pos-product{min-height:112px;padding:14px;border-radius:var(--control-radius)}
.pos-product strong{font-size:18px}.pos-product>span{font-size:17px}
.pos-content .ticket .actions>*{min-height:44px;font-size:14px;padding:11px 12px}
.pos-pickup select{min-height:44px;border-radius:var(--control-radius);font-size:16px}
.staff-alert-tools{align-items:center}.staff-alert-tools button{flex-shrink:0}
.staff-identity button{text-align:left}
.report-filters{align-items:end;flex-wrap:wrap}
@media(max-width:700px){
 .section-head h2{font-size:20px}.section-head{margin:22px 0 14px}
 body.customer-sections .product{padding:12px;min-height:190px}
 body.customer-sections .product h3{font-size:18px}
 body.customer-sections .product .row button{padding-inline:8px}
 body.customer-sections .product .price{font-size:18px}
 .home-combo>button{width:auto;align-self:flex-start}
 .home-story-teaser>button{width:auto}
 .pos-sidebar .staff-tabs button{font-size:12px;padding:11px 7px}
 .pos-sidebar .pos-new-sale{font-size:14px;padding:11px 7px}
 .staff-alert-tools{gap:8px;font-size:11px}
}
@media(max-width:359px){body.customer-sections #app>.layout .grid{grid-template-columns:1fr}body.customer-sections .product{min-height:164px}}
/* A phone needs the full order workspace; desktop retains the left sidebar. */
@media(max-width:700px){
 .pos-shell{grid-template-columns:minmax(0,1fr);gap:18px}
 body.pos-mode .pos-sidebar.pos-toolbar{position:static;max-height:none;overflow:visible;display:grid;grid-template-columns:124px minmax(0,1fr);align-items:center;padding:12px;gap:12px;border-radius:14px}
 .pos-sidebar .pos-new-sale{grid-column:1;grid-row:1;width:100%;white-space:nowrap;padding-inline:8px;font-size:14px}
 .pos-sidebar .staff-identity{grid-column:2;grid-row:1;margin:0;padding:0;border:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 8px;align-items:center}
 .staff-identity strong{font-size:13px;line-height:18px;overflow-wrap:anywhere}
 .staff-identity small{font-size:11px;line-height:16px}
 .staff-identity button{grid-column:2;grid-row:1/span 2;margin:0;padding-inline:8px;font-size:12px;white-space:nowrap}
 .pos-sidebar .staff-tabs{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
 .pos-sidebar .staff-tabs button{height:52px;min-height:52px;padding:6px 4px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:12px;line-height:18px}
 .pos-content .settings,.pos-content .ticket{padding:16px}
 .pos-content .ticket .actions{grid-template-columns:repeat(2,minmax(0,1fr))}
 .pos-content .ticket .actions>:last-child:nth-child(odd){grid-column:1/-1}
 .pos-content .pos-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .pos-product{min-height:112px}
 .pos-product strong{font-size:16px}
}
@media(max-width:379px){
 body.pos-mode .pos-sidebar.pos-toolbar{grid-template-columns:104px minmax(0,1fr);gap:10px}
 .pos-sidebar .staff-identity{grid-template-columns:1fr}
 .staff-identity button{grid-row:auto;grid-column:1;padding:6px 8px;min-height:44px}
 .pos-sidebar .staff-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}
}
body.customer-sections .product-photo{width:calc(100% + 32px);margin:-16px -16px 12px;border-radius:15px 15px 0 0}
@media(max-width:700px){body.customer-sections .product-photo{width:calc(100% + 24px);margin:-12px -12px 10px}}
/* The flavor chooser's main action stays visible while its contents scroll. */
#productDialog #addCart{position:sticky;bottom:0;z-index:3;margin-top:14px;box-shadow:0 -10px 0 var(--cream)}

/* Explicit form rendering keeps WebKit, Blink and Gecko controls consistent. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;color-scheme:light}
button,input,select,textarea{-webkit-appearance:none;appearance:none;font-family:inherit}
input:not([type=checkbox]):not([type=radio]),select,textarea{background-color:#fff;color:var(--ink);border:1px solid #c9d3df;max-width:100%}
select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23182e4c' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;background-size:16px;padding-right:38px!important}
input[type=checkbox],input[type=radio]{-webkit-appearance:auto;appearance:auto;accent-color:var(--blue);width:20px;height:20px;min-width:20px;margin:0}
input[type=number]{-moz-appearance:textfield;appearance:textfield}
input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
button:disabled{opacity:.5;-webkit-text-fill-color:currentColor}
input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}
input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--coral);outline-offset:2px}
dialog{max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overscroll-behavior:contain}
@media(hover:none){button:hover{background:#fff;border-color:var(--line)}button.primary:hover{background:var(--blue);border-color:var(--blue)}button.coral:hover{background:var(--coral);border-color:var(--coral)}}
@media(forced-colors:active){button,input,select,textarea{forced-color-adjust:auto}select{appearance:auto;background-image:none}}

/* Keep the selected date within the field; show the time separately below. */
.pos-pickup{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center}
.pos-pickup select{width:100%;min-width:0;max-width:none;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
.pos-pickup>.fine{grid-column:2;min-width:0;margin:0;overflow-wrap:anywhere}
@media(max-width:700px){.pos-pickup{grid-template-columns:minmax(0,1fr)}.pos-pickup>.fine{grid-column:1}.pos-pickup select{font-size:16px}}
#productDialog #addCart{box-shadow:0 -10px 0 var(--cream),0 10px 0 var(--cream)}
#productDialog #addCart:disabled{opacity:1;background:#8c9fbd;border-color:#8c9fbd;color:#fff}
/* Compact menu cards: content sets the height, with aligned actions. */
body.customer-sections #app>.layout .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.customer-sections .product{min-height:0;padding:14px;border-radius:14px}
body.customer-sections .product .product-top{min-height:22px;margin-bottom:5px;gap:6px;flex-wrap:wrap}
body.customer-sections .product .product-code{font-size:22px;line-height:26px;letter-spacing:-.5px}
body.customer-sections .product h3{min-height:0;font-size:18px;line-height:23px;margin:3px 0 5px}
body.customer-sections .product p{flex:0;font-size:13px;line-height:19px;margin:0 0 10px}
body.customer-sections .product .tag{font-size:9px;line-height:13px;padding:3px 6px;letter-spacing:0}
body.customer-sections .product .row{margin-top:auto;padding-top:0;gap:6px}
body.customer-sections .product .price{font-size:18px;line-height:24px}
body.customer-sections .product-photo{width:calc(100% + 28px);margin:-14px -14px 10px;height:120px;border-radius:13px 13px 0 0}
@media(min-width:1100px){body.customer-sections #app>.layout .grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){
 body.customer-sections .product{padding:12px}
 body.customer-sections .product .product-code{font-size:20px;line-height:24px}
 body.customer-sections .product h3{font-size:17px;line-height:22px}
 body.customer-sections .product .price{font-size:17px}
 body.customer-sections .product .row button{padding-inline:8px;font-size:13px}
 body.customer-sections .product-photo{width:calc(100% + 24px);margin:-12px -12px 10px;height:105px}
}
@media(max-width:359px){body.customer-sections #app>.layout .grid{grid-template-columns:1fr}}
/* Ordering hierarchy and a visible, consistent checkout summary. */
body.customer-sections #app>.page-intro h1{margin:6px 0;font-size:36px;line-height:1.1}
body.customer-sections #app>.page-intro p{margin:6px 0 12px}
body.customer-sections #app>.section-head{margin:16px 0 10px}
body.customer-sections #app>.page-intro{margin:0}
.pickup-preview{border:1px solid var(--line);border-radius:10px;background:white;margin:12px 0}
.pickup-preview summary{min-height:44px;padding:10px 12px;cursor:pointer;color:var(--ink);font-size:13px}
.pickup-preview summary span{margin-left:12px;color:var(--muted)}
.pickup-preview>div{padding:0 14px 10px;font-size:14px;display:grid;gap:8px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.pickup-preview p{margin:0;padding:8px 0}
.checkout-summary,.payment-status{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px;border-radius:10px;background:var(--pale);margin:12px 0}
.checkout-summary b{font-size:22px;color:var(--blue)}
.payment-status.is-paid{background:#e9f4ed;color:#24623d}.payment-status.is-due{background:#fff0df;color:#704711}
.steps .step[aria-current]{outline:2px solid var(--blue);outline-offset:2px;font-weight:800}
#checkoutForm>#submitOrder{position:sticky;bottom:0;z-index:2;box-shadow:0 -8px 0 var(--cream),0 8px 0 var(--cream)}
@media(min-width:1000px){
 .pos-content>.layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,330px);gap:20px;align-items:start}
 .pos-content>.layout>.cart{position:sticky;top:calc(var(--pos-header-height,103px) + 14px);max-height:calc(100dvh - var(--pos-header-height,103px) - 28px);overflow-y:auto}
}
@media(max-width:700px){.pickup-preview summary span{display:block;margin:3px 0 0 16px}body.customer-sections #app>.page-intro h1{font-size:30px}}
#checkoutDialog .checkout-summary{position:sticky;top:0;z-index:3;border:1px solid var(--line);box-shadow:0 -12px 0 var(--cream)}
/* A branded order journey, with distinct completed/current/future states. */
.order-journey{margin:22px 0;padding:18px 16px 14px;border:1px solid #e1e6ec;border-radius:16px;background:linear-gradient(135deg,#f4f7fb,#fffaf0)}
.journey-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:22px}
.journey-heading .eyebrow{font-size:9px;letter-spacing:1.4px}
.journey-state{font-size:11px;line-height:18px;font-weight:800;color:var(--blue);background:white;border:1px solid #d7e0eb;border-radius:7px;padding:3px 8px;white-space:nowrap}
.journey-track{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0;padding:0}
.journey-stop{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;gap:7px;color:var(--muted)}
.journey-stop:not(:last-child)::after{content:"";position:absolute;top:23px;left:calc(50% + 27px);width:calc(100% - 54px);height:3px;background:#dce2e8;border-radius:2px}
.journey-stop.is-complete::after{background:var(--blue)}
.journey-node{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;border:1px solid #d4dce6;background:#fff;color:#7b8899;z-index:1}
.journey-node svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.journey-stop strong{font-size:12px;line-height:17px;font-weight:700}
.journey-caption{font-size:10px;line-height:14px;color:var(--muted)}
.journey-stop.is-complete .journey-node{background:var(--blue);border-color:var(--blue);color:white}
.journey-stop.is-current .journey-node{background:var(--coral);border-color:var(--coral);color:white;box-shadow:0 0 0 5px #f1533218}
.journey-stop.is-current strong,.journey-stop.is-complete strong{color:var(--blue)}
.journey-stop.is-current .journey-caption{color:#b83c23;font-weight:700}
.journey-message{font-size:13px;line-height:20px;color:var(--ink);margin:18px 0 0;padding-top:12px;border-top:1px solid #dde3eb;text-align:center}
@media(max-width:420px){.order-journey{padding:14px 10px}.journey-heading{gap:6px}.journey-heading .eyebrow{font-size:8px;letter-spacing:.7px}.journey-stop strong{font-size:11px}.journey-caption{font-size:9px}.journey-node{width:40px;height:40px}.journey-node svg{width:21px;height:21px}.journey-stop:not(:last-child)::after{top:19px;left:calc(50% + 23px);width:calc(100% - 46px)}.journey-message{font-size:12px;text-align:left}}

/* Checkout shares the tracking timeline, in a compact three-step strip. */
.checkout-steps.checkout-journey{grid-template-columns:repeat(3,minmax(0,1fr));margin:14px 0 18px;padding:12px 8px 10px;border:1px solid #e1e6ec;border-radius:12px;background:linear-gradient(135deg,#f4f7fb,#fffaf0)}
.checkout-journey .journey-node{width:32px;height:32px}
.checkout-journey .journey-node svg{width:18px;height:18px}
.checkout-journey .journey-stop{gap:5px}
.checkout-journey .journey-stop strong{font-size:12px;line-height:17px}
.checkout-journey .journey-stop:not(:last-child)::after{top:15px;left:calc(50% + 21px);width:calc(100% - 42px);height:2px}
.checkout-journey .journey-stop.is-current .journey-node{box-shadow:0 0 0 4px #f1533218}
.delivery-fields{border:1px solid var(--line);border-radius:12px;padding:14px;margin:18px 0}
.delivery-fields legend{font-weight:700;color:var(--blue);padding:0 6px}
.delivery-fields .field{margin:10px 0}
.delivery-fields .formgrid{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);gap:10px}
.delivery-ticket{border-left:3px solid var(--coral);background:var(--pale);padding:10px 12px;font-size:13px;margin:12px 0}
@media(max-width:500px){.delivery-fields .formgrid{grid-template-columns:1fr}.delivery-fields{padding:12px}}
.delivery-ticket .delivery-address,.delivery-ticket .delivery-phone{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:44px;padding:8px 0;color:var(--blue);text-decoration:none;font-weight:700}
.delivery-ticket .delivery-address{border-bottom:1px solid #d7e0eb}
.delivery-ticket .contact-hint{font-size:11px;font-weight:600;white-space:nowrap}
.delivery-ticket .delivery-address:hover,.delivery-ticket .delivery-phone:hover{text-decoration:underline}
.map-options{font-size:11px;margin:0 0 10px;color:var(--blue)}
.map-options summary{cursor:pointer;min-height:44px;display:list-item;align-content:center}
.map-options>div{display:flex;gap:8px;flex-wrap:wrap}
.map-options a{display:inline-flex;align-items:center;min-height:44px;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:white;text-decoration:none;font-weight:700}
@media(max-width:420px){.delivery-ticket .delivery-address,.delivery-ticket .delivery-phone{align-items:flex-start;flex-direction:column;gap:2px}}
.route-planner{max-width:1000px}.route-planner h1{font-size:36px;line-height:1.1;margin:8px 0}.route-origin{background:var(--pale);border:1px solid #d7e0eb;border-radius:14px;padding:16px;margin:18px 0}.route-origin p{font-size:14px}.route-origin button{margin-top:6px}.route-planner .settings{max-width:none}.route-select{border:0;padding:0;margin:18px 0}.route-select legend{font-weight:700}.route-select .check{margin:8px 0}.route-select small{display:block;font-size:12px;font-weight:400}.route-actions{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.route-actions>*{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:10px 12px;border-radius:10px;font-size:13px}.route-result{margin-top:24px;border:1px solid var(--line);border-radius:16px;padding:20px;background:white}.route-result h2{font-size:26px}.route-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}.route-stats>div{background:var(--pale);border-radius:10px;padding:12px}.route-stats strong{display:block;color:var(--blue);font-size:21px}.route-stats small{font-size:11px}.route-stops{list-style:none;margin:18px 0;padding:0;display:grid;gap:14px}.route-stop{border:1px solid var(--line);border-radius:12px;padding:16px}.route-stop-head{display:flex;align-items:center;gap:10px}.route-number{width:34px;height:34px;border-radius:50%;background:var(--coral);color:#fff;display:grid;place-items:center;font-weight:800;flex-shrink:0}.route-stop-head small{display:block;font-size:12px;margin-top:4px}.route-stop>p{font-size:14px;margin:10px 0}.route-planner .field{min-width:0}.route-planner select{width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.route-result .receipt-link{max-width:100%;overflow-wrap:anywhere}@media(max-width:700px){.route-planner h1{font-size:30px}.route-planner .formgrid{grid-template-columns:1fr}.route-result{padding:14px}.route-stats{gap:6px}.route-stats>div{padding:9px}.route-stats strong{font-size:16px}.route-result h2{font-size:22px}.route-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.route-actions>:only-child{grid-column:1/-1}.route-stop{padding:12px}}
.route-planner [hidden]{display:none!important}
.route-finish{border:0;padding:0;margin:18px 0}.route-finish legend{font-weight:700;margin-bottom:8px}.route-finish-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.route-finish-options label{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:10px;padding:12px;min-height:64px;cursor:pointer;background:#fff}.route-finish-options label:has(input:checked){border-color:var(--blue);background:var(--pale);box-shadow:inset 0 0 0 1px var(--blue)}.route-finish-options input{width:18px;height:18px;min-height:18px;flex-shrink:0;accent-color:var(--blue);margin:0}.route-finish-options strong{display:block;font-size:14px}.route-finish-options small{display:block;font-size:12px;color:var(--muted);line-height:1.4;margin-top:3px}.route-map-actions{display:grid;grid-template-columns:1fr 1fr}.route-map-actions a:first-child{background:var(--blue);color:#fff;border-color:var(--blue)}@media(max-width:500px){.route-finish-options,.route-map-actions{grid-template-columns:1fr}}
select.choice-source{display:none!important}.choice-control{width:100%;min-width:0;margin-top:6px}.choice-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(140px,100%),1fr));gap:8px}.choice-option{display:flex;align-items:center;justify-content:flex-start;text-align:left;gap:9px;min-height:46px!important;padding:11px 12px!important;border:1px solid var(--line)!important;border-radius:10px!important;background:#fff!important;color:var(--navy,#172f4d)!important;font:inherit;font-size:14px!important;line-height:1.4!important;white-space:normal!important;overflow-wrap:anywhere}.choice-option::before{content:'';width:16px;height:16px;box-sizing:border-box;border:1px solid #8b97a5;border-radius:50%;flex-shrink:0}.choice-option[aria-pressed=true]{border-color:var(--blue)!important;background:var(--pale)!important;box-shadow:inset 0 0 0 1px var(--blue)}.choice-option[aria-pressed=true]::before{border:4px solid var(--blue);background:white}.choice-option:disabled{opacity:.45}.choice-menu{position:relative}.choice-menu summary{display:flex;justify-content:space-between;align-items:center;gap:12px;list-style:none;cursor:pointer;border:1px solid var(--line);border-radius:10px;padding:11px 12px;min-height:46px;font-size:14px;background:white;font-weight:700;box-sizing:border-box}.choice-menu summary::-webkit-details-marker{display:none}.choice-menu summary::after{content:'⌄';color:var(--blue)}.choice-menu[open] summary{border-color:var(--blue)}.choice-menu .choice-options{grid-template-columns:1fr;margin-top:8px;max-height:280px;overflow-y:auto;padding:4px;border:1px solid var(--line);border-radius:12px;background:var(--pale)}.choice-menu summary:focus-visible,.choice-option:focus-visible{outline:3px solid var(--coral);outline-offset:2px}.pos-pickup .choice-control{flex:1;min-width:180px}@media(max-width:500px){.choice-options{grid-template-columns:1fr}}
/* Compact branded dropdowns shared by checkout and staff forms. */
.choice-menu summary{border-color:#cbd5e1;color:#172f4d;font-size:16px;line-height:22px;min-height:44px;padding:10px 38px 10px 12px;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.choice-menu summary::after{content:'';position:absolute;right:15px;top:16px;width:8px;height:8px;border-right:2px solid var(--blue);border-bottom:2px solid var(--blue);transform:rotate(45deg)}.choice-menu[open] summary{background:var(--pale);box-shadow:0 0 0 1px var(--blue)}.choice-menu[open] summary::after{top:20px;transform:rotate(225deg)}.choice-menu .choice-options{position:absolute;left:0;right:0;top:100%;z-index:30;margin-top:6px;box-shadow:0 8px 24px #172f4d20;background:#fff;padding:5px;gap:3px;max-height:240px;overscroll-behavior:contain}.choice-menu .choice-option{min-height:44px!important;box-shadow:none!important;border-color:transparent!important;border-radius:7px!important;font-size:16px!important;font-weight:500}.choice-menu .choice-option::before{display:none}.choice-menu .choice-option[aria-pressed=true]::after{content:'✓';color:var(--blue);margin-left:auto;font-weight:800}.choice-menu .choice-option:hover:not(:disabled){background:var(--pale)!important}.choice-menu .choice-option:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}.choice-menu[aria-disabled=true]{opacity:.5}.choice-control{margin-top:6px}.route-planner .settings,.delivery-fields,.field{overflow:visible}
.route-planner #routePlanForm>.formgrid{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr) minmax(0,1fr)}.choice-control{font-weight:700}.field:has(>.choice-control){font-weight:700;display:flex;flex-direction:column;gap:0;margin-bottom:14px}@media(max-width:700px){.route-planner #routePlanForm>.formgrid{grid-template-columns:1fr}}
/* Enhanced dropdown fields retain the same label metrics as text inputs. */
.field:has(>.choice-control){display:block;font-size:13px;font-weight:700;margin:16px 0;line-height:inherit}.field>.choice-control{margin-top:5px}.delivery-fields .field:has(>.choice-control){margin:10px 0}.report-filters .field:has(>.choice-control){margin:0}.pickup-select .field:has(>.choice-control){margin:12px 0 4px}.formgrid{align-items:start}
/* Staff workspace navigation: actions first, account kept out of the way. */
body.pos-mode .pos-shell{grid-template-columns:210px minmax(0,1fr);gap:24px}body.pos-mode .pos-sidebar.pos-toolbar{display:flex;flex-direction:column;align-items:stretch;padding:14px;gap:14px;overflow:visible;border-radius:14px}.pos-sidebar .staff-tabs{display:flex;flex-direction:column;gap:4px;order:2;margin:0}.pos-sidebar .staff-tabs button{text-align:left;font-size:13px;padding:10px 12px;min-height:44px}.pos-sidebar .pos-new-sale{order:1;font-size:14px;min-height:44px;padding:10px 12px}.staff-account{position:relative;order:3;border-top:1px solid var(--line);padding-top:12px;margin-top:8px}.staff-account summary{list-style:none;display:flex;align-items:center;gap:9px;min-height:44px;cursor:pointer;border-radius:10px;padding:4px;color:var(--ink)}.staff-account summary::-webkit-details-marker{display:none}.staff-avatar{width:32px;height:32px;border-radius:50%;background:var(--pale);color:var(--blue);display:grid;place-items:center;font-size:14px;font-weight:800;flex-shrink:0}.staff-account-name{min-width:0;flex:1}.staff-account-name strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.staff-account small{display:block;font-size:11px;text-transform:capitalize}.staff-account-chevron{color:var(--blue)}.staff-account-panel{position:absolute;left:0;right:0;bottom:calc(100% + 8px);padding:14px;border:1px solid var(--line);border-radius:12px;background:white;box-shadow:0 8px 24px #172f4d20;z-index:40}.staff-account-panel strong{font-size:13px}.staff-account-panel button{width:100%;margin-top:10px;font-size:13px}.staff-account summary:focus-visible{outline:3px solid var(--coral);outline-offset:2px}#staffMenuToggle,.pos-mobile-label{display:none}
@media(max-width:900px) and (min-width:701px){body.pos-mode .pos-shell{grid-template-columns:185px minmax(0,1fr);gap:16px}}
@media(max-width:700px){body.pos-mode .pos-shell{display:block}body.pos-mode .pos-sidebar.pos-toolbar{display:grid;grid-template-columns:1fr auto auto;gap:8px;padding:10px;margin-bottom:18px}.pos-mobile-label{display:block;grid-column:1;grid-row:1;font-size:11px;color:var(--muted);font-weight:800;letter-spacing:.8px;text-transform:uppercase}#staffMenuToggle{display:flex;align-items:center;gap:6px;grid-column:1;grid-row:2;font-size:13px;padding:8px 10px;min-height:44px;justify-self:start}.pos-sidebar .pos-new-sale{grid-column:2;grid-row:1/span 2;width:auto;padding:10px 12px;font-size:14px;align-self:center}.staff-account{grid-column:3;grid-row:1/span 2;margin:0;padding:0;border:0;align-self:center}.staff-account summary{width:44px;height:44px;padding:5px;justify-content:center;border:1px solid var(--line)}.staff-account-name,.staff-account-chevron{display:none}.staff-account-panel{left:auto;right:0;bottom:auto;top:calc(100% + 8px);width:210px}.pos-sidebar .staff-tabs{display:none;grid-column:1/-1;grid-row:3;grid-template-columns:repeat(2,minmax(0,1fr));padding-top:8px;border-top:1px solid var(--line)}.pos-sidebar.menu-open .staff-tabs{display:grid}.pos-sidebar .staff-tabs button{min-height:44px;height:auto;text-align:left;justify-content:flex-start;padding:10px;font-size:13px}.pos-mobile-label{line-height:14px}#staffMenuToggle{margin-top:-4px}}
.staff-section-picker{display:none}
@media(max-width:700px){body.pos-mode .pos-sidebar.pos-toolbar{grid-template-columns:minmax(0,1fr) auto 44px;align-items:center;gap:8px}.staff-section-picker{display:block;grid-column:1;grid-row:1;min-width:0}.staff-section-picker .choice-control{margin:0}.staff-section-picker .choice-menu summary{font-size:13px;padding-left:10px;padding-right:28px}.staff-section-picker .choice-menu summary::after{right:12px}.staff-section-picker .choice-options{min-width:230px;right:auto;width:max-content;max-width:calc(100vw - 64px)}.staff-section-picker .choice-option{font-size:14px!important}.pos-sidebar .pos-new-sale,.staff-account{grid-row:1}.pos-sidebar .pos-new-sale{font-size:13px;padding:10px}.pos-sidebar .staff-tabs,.pos-sidebar.menu-open .staff-tabs{display:none}}
.weekend-date{font-size:13px;font-weight:700;margin:16px 0;position:relative}.weekend-date-row{display:flex;align-items:center;gap:8px;margin-top:5px}.weekend-date-row>input{margin:0;min-width:0;flex:1}.weekend-date>small{display:block;font-size:12px;font-weight:400;margin-top:6px}.weekend-calendar>summary{list-style:none;display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line);border-radius:10px;background:white;color:var(--blue);cursor:pointer;font-size:24px}.weekend-calendar>summary::-webkit-details-marker{display:none}.weekend-calendar[open]>summary{border-color:var(--blue);background:var(--pale)}.weekend-calendar-panel{position:absolute;right:0;top:80px;z-index:35;width:322px;max-width:100%;padding:12px;background:white;border:1px solid var(--line);border-radius:14px;box-shadow:0 10px 30px #172f4d25}.weekend-calendar-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;gap:4px}.weekend-calendar-head button{width:44px;height:44px;padding:0;font-size:24px}.weekend-calendar-head strong{font-size:15px}.weekend-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}.calendar-weekday{text-align:center;font-size:11px;font-weight:600;color:var(--muted);padding:4px 0}.weekend-calendar-grid button{min-height:40px;height:40px;min-width:0;padding:0;font-size:13px;border-color:transparent;border-radius:8px}.weekend-calendar-grid button:not(:disabled){background:var(--pale);color:var(--blue)}.weekend-calendar-grid button[aria-pressed=true]{background:var(--blue);color:white}.weekend-calendar-grid button:disabled{opacity:.35;background:transparent}.weekend-calendar-panel .fine{text-align:center;font-size:11px;margin-bottom:0}.weekend-calendar summary:focus-visible{outline:3px solid var(--coral);outline-offset:2px}
.pos-pickup>.weekend-date{grid-column:1/-1;width:100%;margin:0}.report-filters>.weekend-date{width:300px;max-width:100%;margin:0}.route-planner .weekend-date{min-width:0}.weekend-date-row>input{width:0}.weekend-calendar-panel{top:77px}
.staff-profile-link{display:flex;align-items:center;min-height:44px;margin-top:8px;color:var(--blue);font-size:13px;font-weight:700;text-decoration:none}.staff-profile-link:hover{text-decoration:underline}
