.ma-dialog{padding:0;border:1px solid #e6e8df;border-radius:28px;background:#fafbf7;color:#273122;width:min(1100px,calc(100vw - 48px));max-height:calc(100dvh - 48px);overflow:auto;box-shadow:0 30px 100px #0004;font-family:inherit}.ma-dialog::backdrop{background:#101a15c9;backdrop-filter:blur(14px)}.ma-header{padding:32px 36px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #e7eadd}.ma-eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#7b8a68}.ma-header h2{font-size:clamp(25px,3vw,39px);font-weight:750;letter-spacing:-1.3px;margin:10px 0 0;line-height:1.12}.ma-live{display:inline-flex;gap:8px;align-items:center;font-size:11px;font-weight:600;background:#ecf5dc;color:#4e7428;border:1px solid #dce8c4;border-radius:30px;padding:10px 14px;white-space:nowrap}.ma-live:before{content:'';background:#75a845;width:6px;height:6px;border-radius:50%;box-shadow:0 0 0 4px #78a64418}.ma-layout{display:grid;grid-template-columns:1.4fr 1fr}.ma-main{padding:30px 36px}.ma-customer{display:flex;align-items:center;gap:14px;margin-bottom:26px}.ma-avatar{width:54px;height:54px;background:#eaf0e0;display:grid;place-items:center;border-radius:18px;color:#506f35;font-size:23px;font-weight:700}.ma-customer small{font-size:9px;letter-spacing:1.6px;color:#8b957f}.ma-customer h3{font-size:22px;font-weight:700;margin:5px 0;color:#273122}.ma-customer span{font-size:11px;color:#87927a}.ma-items{display:grid;gap:12px}.ma-product{display:flex;align-items:center;gap:15px;background:white;border:1px solid #e5e9dc;border-radius:17px;padding:13px}.ma-picture{position:relative;width:78px;height:78px;flex-shrink:0;border-radius:12px;background:#f0f3e9;display:grid;place-items:center;overflow:hidden;color:#9eab8d}.ma-picture svg{width:32px;height:32px}.ma-picture img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.ma-product>div:nth-child(2){flex:1;min-width:0}.ma-product h4{font-size:14px;font-weight:650;margin:0 0 7px;line-height:1.4}.ma-product span{font-size:12px;color:#87927b}.ma-product>strong{font-size:13px;white-space:nowrap}.ma-summary{padding:32px;background:#eef2e7;border-left:1px solid #e3e8d7;display:flex;flex-direction:column}.ma-total{font-size:clamp(36px,4vw,55px);font-weight:750;letter-spacing:-2px;margin:12px 0 5px;line-height:1.1}.ma-total-note{font-size:11px;line-height:1.6;color:#829073;max-width:230px;margin:5px 0 25px}.ma-detail{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #dce3ce;padding:15px 0;font-size:12px}.ma-detail span{color:#88967a}.ma-detail strong{font-weight:600;text-transform:capitalize}.ma-instruction{font-size:12px;color:#7d8b6e;line-height:1.7;margin:20px 0}.ma-accept{background:#253923;color:white;border:0;border-radius:14px;padding:17px;font-size:14px;font-weight:650;min-height:52px;cursor:pointer;width:100%;margin-top:auto}.ma-accept:disabled{opacity:.6;cursor:wait}.ma-sound{padding:14px;border:0;background:transparent;color:#657b50;cursor:pointer;font-size:12px;min-height:44px}.ma-error{font-size:12px;color:#b14935;line-height:1.6}.ma-error:empty{display:none}.ma-footer{display:flex;justify-content:space-between;gap:12px;padding:17px 36px;background:#fff;border-top:1px solid #e4e8dc;font-size:10px;color:#8c987f}.ma-toolbar{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid #e3e8d9;border-radius:14px;padding:14px 16px;margin:0 0 24px}.ma-toolbar button{background:#2c4027!important;color:#fff!important;border:0;border-radius:10px;padding:11px 15px;font-size:12px!important;cursor:pointer}.ma-toolbar span{font-size:12px;color:#7e8c70}.ma-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.ma-dialog button:focus-visible{outline:3px solid #db8a3e;outline-offset:3px}@media(max-width:700px){.ma-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 24px);border-radius:23px}.ma-header{padding:24px 20px 20px;flex-direction:column;align-items:flex-start;gap:16px}.ma-layout{grid-template-columns:1fr}.ma-main{padding:22px 20px}.ma-summary{padding:23px 20px;border-left:0;border-top:1px solid #dfe5d3}.ma-customer{margin-bottom:20px}.ma-product{padding:11px;gap:11px}.ma-picture{width:62px;height:62px}.ma-product h4{font-size:13px}.ma-product>strong{font-size:12px}.ma-total-note{max-width:none}.ma-detail{padding:12px 0}.ma-instruction{margin:10px 0 18px}.ma-footer{padding:16px 20px;flex-direction:column}.ma-toolbar{align-items:flex-start;flex-direction:column}.ma-total{font-size:42px}.ma-header h2{font-size:29px}}

/* Order actions share one scoped style in cards and the incoming dialog. */
html body .ma-slide-box{margin-top:16px}
html body .mo-card .ma-slide,html body .ma-dialog .ma-slide{position:relative;isolation:isolate;height:60px;min-height:60px;padding:0!important;border:1px solid #cee2d5!important;border-radius:16px!important;background:#edf6ef!important;overflow:hidden;box-shadow:none!important}
html body .mo-card .ma-slide-decline,html body .ma-dialog .ma-slide-decline{background:#fff0ee!important;border-color:#edccc7!important}
html body .mo-card .ma-slide-ready,html body .ma-dialog .ma-slide-ready{background:#fff4e7!important;border-color:#efd9be!important}
html body .mo-card .ma-slide-label,html body .ma-dialog .ma-slide-label{position:absolute;inset:0;z-index:1;display:flex!important;align-items:center;justify-content:center;padding:0 14px 0 58px!important;color:#234e35!important;font:650 14px/1.2 system-ui!important;pointer-events:none;white-space:nowrap;transition:opacity .12s}
html body .ma-slide-decline .ma-slide-label{color:#983d35!important}
html body .ma-slide-ready .ma-slide-label{color:#895017!important}
html body .mo-card .ma-slide input[type=range],html body .ma-dialog .ma-slide input[type=range]{position:absolute!important;inset:5px!important;z-index:2;width:calc(100% - 10px)!important;height:48px!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;appearance:none!important;-webkit-appearance:none!important;cursor:grab;touch-action:pan-y}
html body .ma-slide input[type=range]:active{cursor:grabbing}
html body .ma-slide input[type=range]::-webkit-slider-runnable-track{height:48px!important;background:transparent!important;border:0!important;box-shadow:none!important}
html body .ma-slide input[type=range]::-moz-range-track{height:48px!important;background:transparent!important;border:0!important}
html body .ma-slide input[type=range]::-webkit-slider-thumb{appearance:none!important;-webkit-appearance:none!important;width:48px!important;height:48px!important;border:0!important;border-radius:12px!important;margin:0!important;background:#28573b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat!important;box-shadow:0 2px 4px #163c2520!important}
html body .ma-slide input[type=range]::-moz-range-thumb{width:48px!important;height:48px!important;border:0!important;border-radius:12px!important;background:#28573b!important}
html body .ma-slide-decline input[type=range]::-webkit-slider-thumb{background-color:#a44339!important}
html body .ma-slide-decline input[type=range]::-moz-range-thumb{background:#a44339!important}
html body .ma-slide-ready input[type=range]::-webkit-slider-thumb{background-color:#bf691c!important}
html body .ma-slide-ready input[type=range]::-moz-range-thumb{background:#bf691c!important}
html body .ma-slide:focus-within{outline:3px solid #eeae69;outline-offset:3px}
html body .ma-slide input:disabled{opacity:.55;cursor:wait}
.ma-slide-hint{display:block;text-align:center;color:#737d75;font-size:11px;margin-top:8px}
.ma-decline-panel{margin-top:18px;padding-top:16px;border-top:1px solid #e6e9e3}
.ma-decline-panel summary{cursor:pointer;font-size:13px;color:#984b43;font-weight:600;min-height:32px}
.ma-decline-panel label{display:block;font-size:12px;margin:10px 0 6px;color:#6e5c56}
.ma-decline-panel textarea{box-sizing:border-box;width:100%;min-height:70px;resize:vertical;padding:12px;font:14px/1.5 system-ui;background:#fff;border:1px solid #e1d7d1;border-radius:12px;margin-bottom:10px}
.ma-dialog{width:min(900px,calc(100vw - 32px));border-radius:20px;background:#fff}
.ma-header{padding:22px 26px}.ma-header h2{font-size:28px;letter-spacing:-.8px}
.ma-main{padding:24px 26px}.ma-summary{padding:24px;background:#fafbf8}
.ma-total{font-size:38px}.ma-total-note{margin-bottom:18px}
.ma-instruction{margin:8px 0 12px}.ma-footer{padding:14px 26px}
@media(max-width:700px){.ma-dialog{width:calc(100vw - 20px);border-radius:18px}.ma-header{padding:20px;gap:12px}.ma-header h2{font-size:25px}.ma-main,.ma-summary{padding:20px}.ma-product{gap:10px}.ma-picture{width:52px;height:52px}.ma-customer h3{font-size:19px}.ma-total{font-size:34px}.ma-footer{padding:14px 20px}}
@media(prefers-reduced-motion:reduce){.ma-slide-label{transition:none}}
