/* Self-contained operator detail layout. Legacy blue detail-panel classes are no longer used. */
body #orders-ajax-root #ho-order-selected.ho-detail-v342{position:fixed!important;inset:50% auto auto 50%!important;transform:translate(-50%,-50%)!important;z-index:10050!important;width:min(1120px,calc(100vw - 40px))!important;max-height:calc(100dvh - 40px)!important;margin:0!important;padding:0!important;display:flex!important;flex-direction:column!important;min-width:0!important;border:1px solid #51585c!important;border-radius:16px!important;background:#151819!important;color:#f2f4f5!important;overflow:hidden!important;box-shadow:0 20px 80px #0008!important;font-size:14px;line-height:1.5}
body #orders-ajax-root #ho-order-selected.ho-detail-v342[hidden]{display:none!important}.ho-detail-v342 *{box-sizing:border-box}.ho-detail-v342 h2,.ho-detail-v342 h3,.ho-detail-v342 p{margin:0}.ho-detail-v342 h3{font-size:19px;line-height:1.3}.ho-detail-v342 .icon{width:18px;height:18px;flex:none}.d342-header{display:flex;align-items:flex-start;gap:24px;flex:none;padding:24px 28px 18px;border-bottom:1px solid #41484b}.d342-header>div:first-child{flex:1;min-width:0}.d342-header small{display:block;font-size:11px;color:#aab7bf;letter-spacing:1px}.d342-header h2{font-size:29px;line-height:1.25;margin:5px 0 8px;white-space:nowrap}.d342-meta{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:13px;color:#b9c4cc}.d342-status{display:inline-flex;align-items:center;gap:7px;color:#63b0f5}.d342-status i{width:11px;height:11px;border-radius:50%;background:currentColor}.d342-status.is-new,.d342-status.is-completed{color:#6bda93}.d342-status.is-ready{color:#ffb347}.d342-status.is-pickup_ready{color:#b98bff}.d342-status.is-cancelled{color:#ff8491}.d342-total{text-align:right;white-space:nowrap}.d342-total small{letter-spacing:0}.d342-total strong{font-size:29px;line-height:1.4}.d342-close{color:#dde4e9!important;text-decoration:none!important;font-size:28px;line-height:32px;padding:0 4px}
.d342-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px 28px 16px;scrollbar-gutter:stable}.d342-columns{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(300px,1fr);gap:22px;align-items:start}.d342-left{min-width:0}.d342-products h3{margin-bottom:14px}.d342-product{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;padding:10px 0;border-bottom:1px solid #3b4245;align-items:center}.d342-quantity{display:grid;place-items:center;min-height:40px;border:1px solid #495156;border-radius:6px;font-size:14px}.d342-product>div>strong{font-size:15px;line-height:1.45}.d342-options{display:grid;gap:2px;font-size:12px;line-height:1.5;margin-top:2px;color:#c2ccd3}.d342-options>span{display:block;overflow-wrap:break-word}.d342-options b{color:#eef2f5;font-weight:700}.d342-price{white-space:nowrap;font-size:14px}.d342-product-total{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #3b4245;font-size:18px}.d342-product-total>strong:last-child{white-space:nowrap;font-size:22px}.d342-discount{color:#72d8a4;padding-top:10px;font-size:12px}.d342-note{margin-top:18px;padding:15px 16px;border:1px solid #353d41;border-radius:10px;background:#1c2022;color:#d4dde3}.d342-note>strong{font-size:13px;font-weight:600}.d342-note p{font-size:12px;color:#b4c1ca;margin-top:3px;overflow-wrap:break-word}.d342-test{margin-top:16px;display:flex;align-items:center;gap:12px;font-size:12px}.d342-test form{margin:0}.d342-test button{padding:8px;font-size:12px}.d342-aside{min-width:0;border:1px solid #353d41;background:#20332b;border-radius:12px;padding:20px;border-color:#41634b}.d342-appointment{display:block;font-size:18px;margin:10px 0 18px;line-height:1.4;white-space:nowrap}.d342-customer{border-top:1px solid #454d51;border-bottom:1px solid #454d51;padding:15px 0;display:grid;gap:6px}.d342-customer small{font-size:10px;letter-spacing:1px;color:#adbac3}.d342-customer strong{font-size:17px}.d342-customer a{display:flex;align-items:center;gap:8px;font-size:13px;text-decoration:none;color:#edf1f3;overflow-wrap:anywhere}.d342-data{display:block!important;margin:12px 0;font-size:12px}.d342-data>div{display:grid!important;grid-template-columns:100px minmax(0,1fr)!important;align-items:center!important;gap:12px!important;margin:0!important;padding:7px 0!important;min-height:0!important}.d342-data dt{display:block!important;float:none!important;width:auto!important;padding:0!important;margin:0!important;color:#b7c3cb;line-height:1.5!important}.d342-data dd{display:block!important;float:none!important;min-width:0!important;width:auto!important;padding:0!important;margin:0!important;text-align:right!important;line-height:1.5!important;overflow-wrap:break-word}.d342-timer{padding:13px;border:1px solid #41634b;background:#17291f;border-radius:9px;display:grid;gap:4px}.d342-timer>strong{font-size:22px;color:#b2d6f6;font-variant-numeric:tabular-nums}.d342-timer>strong.is-overdue{color:#ff7d87}.d342-timer small{font-size:11px;color:#b7c3cc}.d342-timer.is-complete>strong{color:#73dd97;font-size:17px}
.d342-history{margin-top:20px;padding-top:14px;border-top:1px solid #41484b}.d342-history h3{font-size:13px;margin-bottom:12px}.d342-timeline{display:flex;margin:0;padding:0;list-style:none}.d342-timeline>li{flex:1;min-width:0;position:relative;text-align:center;font-size:11px;color:#bbc7d0}.d342-timeline>li+li:before{content:'';position:absolute;height:1px;background:#6b757b;left:-50%;right:50%;top:10px}.d342-step-dot{position:relative;z-index:1;display:grid;place-items:center;width:21px;height:21px;margin:0 auto 7px;border:2px solid #849199;background:#1b1e1f;border-radius:50%;font-size:11px;color:white}.is-done .d342-step-dot{background:#29945d;border-color:#65d592}.is-current .d342-step-dot{background:#218fe5;border-color:#84c8ff}.d342-status.is-completed~span{color:#bbc7d0}.d342-timeline strong{display:block;font-weight:500;font-size:11px}.d342-timeline time{display:block;font-size:10px;color:#a8b7c1;margin-top:3px}.d342-cancelled{color:#ff8491;font-size:12px;margin-top:12px!important}
.d342-footer{flex:none;display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:16px 28px;border-top:1px solid #41484b;background:#1b1e1f}.d342-footer form{margin:0}.d342-footer button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border:1px solid #69757d;border-radius:7px;padding:10px 16px;font-size:13px;line-height:1.4;font-weight:600;background:transparent;color:#f2f4f5;white-space:nowrap;cursor:pointer}.d342-footer .d342-cancel button{color:#ff727d;border-color:transparent;background:transparent}.d342-footer .d342-primary{margin-left:auto}.d342-footer .d342-primary button{background:#e72c3b;border-color:#e72c3b;min-width:190px}.d342-payment-state{flex:0 0 100%;display:flex;justify-content:space-between;gap:16px;font-size:12px;color:#f3c16b}.d342-payment-state.is-paid{color:#72d99a}.d342-payment-state>strong:last-child{color:#eef3f5;white-space:nowrap}.d342-picked{color:#77dc9e;font-size:12px;white-space:nowrap}.d342-payment-form{display:flex;align-items:center;gap:14px;flex:1;min-width:0}.d342-payment-form fieldset{border:0;margin:0;padding:0;min-width:0;flex:1}.d342-payment-options{display:flex;gap:7px}.d342-payment-options label{position:relative;flex:1;min-width:0}.d342-payment-options input{position:absolute;opacity:0;width:1px;height:1px}.d342-payment-options label>span{display:flex;justify-content:center;align-items:center;min-height:42px;padding:9px 12px;border:1px solid #69757d;border-radius:7px;color:#e9eef3;white-space:nowrap;font-size:12px;cursor:pointer}.d342-payment-options input:checked+span{border-color:#65adf3;color:#8fc9ff;background:#28415b55}.d342-payment-options input:focus-visible+span{outline:2px solid white;outline-offset:2px}.d342-footer .d342-payment-confirm{background:#198943;border-color:#2dba65}.d342-paid-info{flex:1;color:#b9c9d1;font-size:12px}.d342-muted{color:#b9c5ce}.ho-detail-v342 button:focus-visible,.d342-close:focus-visible{outline:2px solid #7fbfff;outline-offset:3px}
@media(max-width:850px){.d342-columns{grid-template-columns:minmax(0,1fr)}.d342-aside{display:grid;grid-template-columns:1fr 1fr;gap:12px}.d342-aside h3,.d342-aside .d342-appointment{grid-column:1/-1;margin:0}.d342-customer{border-bottom:0}.d342-data{margin:0}.d342-timer{grid-column:1/-1}.d342-footer{gap:8px}.d342-payment-form{flex-wrap:wrap}.d342-payment-form fieldset{flex:1 1 100%}.d342-payment-confirm{flex:1}}
@media(max-width:540px){body #orders-ajax-root #ho-order-selected.ho-detail-v342{width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;border-radius:12px!important}.d342-header{padding:16px;gap:10px}.d342-header h2{font-size:19px}.d342-header small{font-size:9px}.d342-total strong{font-size:20px}.d342-meta{font-size:11px;gap:8px}.d342-close{font-size:24px}.d342-scroll{padding:16px}.d342-columns{gap:16px}.d342-product{grid-template-columns:32px minmax(0,1fr) auto;gap:8px}.d342-quantity{min-height:32px;font-size:12px}.d342-product>div>strong{font-size:13px}.d342-price{font-size:12px}.d342-options{font-size:11px}.d342-aside{padding:16px}.d342-appointment{font-size:16px}.d342-timeline{gap:4px}.d342-timeline strong{font-size:9px}.d342-footer{padding:12px 16px}.d342-footer button{min-height:38px;padding:8px 10px;font-size:11px}.d342-footer .d342-primary{flex:1}.d342-footer .d342-primary button{width:100%;min-width:0}.d342-payment-options label>span{font-size:11px;padding:8px;min-height:38px}.d342-picked{font-size:11px}.d342-footer .d342-print{margin-left:auto}}
@media print{body #orders-ajax-root #ho-order-selected.ho-detail-v342{display:none!important}}

.d342-timeline>li.is-done+li.is-done:before{background:#55ba83}#ho-order-selected[data-order-status="completed"] .is-current .d342-step-dot{background:#29945d;border-color:#65d592}

/* One shared layer order for the new dialog and legacy backdrop. */
body #orders-ajax-root>#ho59-order-backdrop.ho59-order-backdrop{z-index:10040!important}

/* Compact pickup and payment panels. */
.ho-detail-v342 .d357-pickup-card{grid-column:1/-1;display:grid;gap:5px;margin-top:14px;padding:12px;border:1px solid #41634b;border-radius:9px;background:#17291f}
.ho-detail-v342 .d357-pickup-card strong{color:#73dd97;font-size:17px}
.ho-detail-v342 .d357-pickup-card p{font-size:12px;line-height:1.5;color:#c4d6ca}
.ho-detail-v342 .d357-payment{flex:1 1 100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 16px;padding:14px 16px;border:1px solid #414b50;border-radius:12px;background:#1c2225}
.ho-detail-v342 .d357-payment.is-paid{background:#192a21;border-color:#41634b;align-items:center}
.ho-detail-v342 .d359-summary{grid-column:1/-1;display:flex;justify-content:space-between;align-items:start;gap:12px}
.ho-detail-v342 .is-paid .d359-summary{grid-column:auto}
.ho-detail-v342 .d359-payment-label{font-size:12px;color:#efbf70}
.ho-detail-v342 .is-paid .d359-payment-label{font-size:18px;color:#73dd97}
.ho-detail-v342 .d359-amount{display:flex;align-items:baseline;gap:8px}.ho-detail-v342 .d359-amount strong{font-size:26px;line-height:1.4}.ho-detail-v342 .d359-amount small{font-size:11px;color:#bdc9d0}
.ho-detail-v342 .d357-payment .d342-payment-form{grid-column:1/-1;display:grid;grid-template-columns:1fr;gap:8px;min-width:0}
.ho-detail-v342 .d357-payment .d342-payment-form fieldset{display:block!important;border:0!important;padding:0!important;margin:0!important;min-width:0!important}
.ho-detail-v342 .d357-payment legend{float:none!important;width:auto!important;padding:0!important;margin:0 0 5px!important;font-size:12px;line-height:1.4;color:#bec8ce}
.ho-detail-v342 .d342-payment-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.ho-detail-v342 .d342-payment-options label{margin:0!important;padding:0!important}
.ho-detail-v342 .d342-payment-options label>span{justify-content:space-between;gap:8px;height:42px;padding:8px 12px;line-height:1.4}
.ho-detail-v342 .d342-payment-options b{font-size:18px}.ho-detail-v342 .d342-payment-options i{font-style:normal;visibility:hidden}.ho-detail-v342 .d342-payment-options input:checked+span i{visibility:visible}
.ho-detail-v342 .d359-payment-actions{display:grid;grid-template-columns:minmax(0,2.5fr) minmax(120px,1fr);gap:8px}
.ho-detail-v342 .d357-payment .d342-payment-confirm{background:#198943;border-color:#2dba65;white-space:normal;min-height:42px;padding:8px 12px}
.ho-detail-v342 .d357-payment-hint{color:#bec8ce;font-size:11px;line-height:1.4}
@media(max-width:540px){.ho-detail-v342 .d357-payment{padding:12px;gap:8px}.ho-detail-v342 .d359-summary{flex-wrap:wrap;gap:6px}.ho-detail-v342 .d359-amount strong{font-size:23px}.ho-detail-v342 .d342-payment-options{gap:5px}.ho-detail-v342 .d342-payment-options label>span{padding:8px 6px;gap:4px;min-height:44px;font-size:11px}.ho-detail-v342 .d359-payment-actions{grid-template-columns:1fr}.ho-detail-v342 .d357-payment .d342-print{margin:0;width:100%;min-height:44px}.ho-detail-v342 .d357-payment.is-paid{grid-template-columns:1fr}.ho-detail-v342 .d357-payment .d342-payment-confirm{min-height:44px}.ho-detail-v342 .d357-pickup-card{margin-top:0}}

/* Paid summary tiles and readable narrow-screen customer data. */
.ho-detail-v342 .d357-payment.is-paid{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:12px}
.ho-detail-v342 .d361-paid-tiles{display:grid;grid-template-columns:1.15fr .85fr 1.3fr 1.1fr;gap:10px;min-width:0}
.ho-detail-v342 .d361-tile{min-width:0;min-height:74px;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:10px;border:1px solid #355340;border-radius:9px;background:#1a2b22;text-align:left}
.ho-detail-v342 .d361-tile small,.ho-detail-v342 .d361-tile time{font-size:10px;line-height:1.4;color:#bacbc2;white-space:nowrap}
.ho-detail-v342 .d361-tile strong{font-size:12px;line-height:1.4;white-space:nowrap}
.ho-detail-v342 .d361-tile .d361-paid-amount{font-size:23px}
.ho-detail-v342 .d361-check{flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;padding-left:16px;padding-right:16px}
.ho-detail-v342 .d361-check b{flex:none;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#65d592;color:#153623;font-size:16px}
@media(max-width:1000px){.ho-detail-v342 .d357-payment.is-paid{grid-template-columns:1fr}.ho-detail-v342 .d357-payment.is-paid>.d342-print{justify-self:end}.ho-detail-v342 .d361-paid-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.ho-detail-v342 .d342-aside{display:block!important}.ho-detail-v342 .d342-aside h3{margin-bottom:8px}.ho-detail-v342 .d342-aside .d342-customer{border-bottom:1px solid #454d51;margin-top:14px}.ho-detail-v342 .d342-aside .d342-timer{margin-top:12px}.ho-detail-v342 .d342-customer strong{overflow-wrap:normal;word-break:normal}.ho-detail-v342 .d342-appointment,.ho-detail-v342 .d342-customer a{white-space:nowrap}}
@media(max-width:540px){body #orders-ajax-root#orders-ajax-root #ho-order-selected.ho-detail-v342 .d342-aside .d342-data>div{grid-template-columns:80px minmax(0,1fr)!important;gap:8px!important}body #orders-ajax-root#orders-ajax-root #ho-order-selected.ho-detail-v342 .d342-data dd{font-size:11px!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important}.ho-detail-v342 .d342-customer a{font-size:12px}.ho-detail-v342 .d342-timer small{font-size:10px;white-space:nowrap}.ho-detail-v342 .d361-paid-tiles{grid-template-columns:1fr}.ho-detail-v342 .d361-tile{min-height:48px;padding:8px 10px}.ho-detail-v342 .d361-tile strong{font-size:13px}.ho-detail-v342 .d361-tile time{font-size:11px}.ho-detail-v342 .d357-payment.is-paid>.d342-print{justify-self:stretch}}

.ho-detail-v342 .d342-scroll>.d342-footer{position:static!important;margin:20px 0 0!important;padding:16px 0 0!important;background:transparent!important}

@media(min-width:1001px){.ho-detail-v342 .d361-paid-tiles{grid-template-columns:1.2fr .75fr 1.3fr 1.2fr}}
