.quick-purchase-overlay{position:fixed;inset:0;z-index:10020;background:rgba(7,27,42,.5);display:flex;align-items:center;justify-content:center;padding:24px;box-sizing:border-box;color:#173247;font-size:14px;text-align:left}
.quick-purchase-dialog{width:min(1120px,100%);max-height:92dvh;background:#fff;border:1px solid #d7e4ed;border-radius:12px;box-shadow:0 20px 70px #0c253638;display:flex;flex-direction:column;overflow:hidden}
.qp-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid #e2ebf1;background:#f8fafc}
.qp-header h2{font-size:20px;font-weight:700;line-height:1.4;margin:0;color:#0c293c}.qp-header p{margin:6px 0 0;color:#526d80;line-height:1.6}
.quick-purchase-dialog button{font-family:inherit;font-size:14px;cursor:pointer;white-space:nowrap}.quick-purchase-dialog button:disabled{cursor:not-allowed;opacity:.55}
.qp-close{width:40px;height:40px;border:1px solid #d5e1e9;background:#fff;border-radius:6px;line-height:1;color:#496176;display:inline-flex;align-items:center;justify-content:center}.qp-close svg{width:18px;height:18px}.qp-success-mark svg{width:28px;height:28px}.quick-purchase-dialog label,.quick-purchase-dialog .qp-check{color:#274c62}
.qp-body{padding:20px 24px;overflow:auto;overscroll-behavior:contain;min-height:0}.qp-steps{display:flex;gap:14px;align-items:center;color:#60778a;margin-bottom:20px}.qp-steps .active{color:#087f79;font-weight:700}
.qp-source-label{display:block;font-weight:700;margin-bottom:10px}.quick-purchase-dialog textarea{width:100%;min-height:260px;resize:vertical;box-sizing:border-box;border:1px solid #b8cbd8;border-radius:6px;font:15px/1.8 inherit;padding:14px;color:#173247;background:#fff}
.quick-purchase-dialog input:not([type=checkbox]),.quick-purchase-dialog select{width:100%;box-sizing:border-box;min-width:0;height:40px;border:1px solid #bdcedb;border-radius:5px;padding:7px 10px;color:#173247;background:#fff;font:14px/1.5 inherit;box-shadow:none}.quick-purchase-dialog input[type=checkbox]{appearance:auto;accent-color:#109e93;width:18px;height:18px;flex:none;margin:1px 0 0}
.quick-purchase-dialog :is(button,input,select,textarea,summary):focus-visible{outline:3px solid #63cec3;outline-offset:2px}.quick-purchase-dialog input:disabled,.quick-purchase-dialog select:disabled{background:#f2f5f7;color:#6c8190}
.qp-hint{color:#566e80;font-size:13px;line-height:1.7;margin:10px 0}.qp-review-head{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:17px}.qp-link{background:none;border:0;color:#087f79;padding:7px 2px;text-decoration:underline;text-underline-offset:3px}.qp-source-review{margin:12px 0 16px;color:#526d80}.qp-source-review pre{font:13px/1.7 inherit;white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;background:#f4f7f9;border-radius:5px;margin:8px 0}
.qp-fields{margin:0;border:0;padding:0;min-width:0}.qp-common{display:grid;grid-template-columns:1.1fr 1fr 1.1fr 1fr 1fr;gap:12px}.quick-purchase-dialog label:not(.qp-check){display:flex;flex-direction:column;gap:7px;line-height:1.5;font-weight:500}.qp-freight{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;padding:16px 0}.qp-freight label{width:190px}.qp-freight>span{padding:10px 0;color:#526d80;font-variant-numeric:tabular-nums}
.qp-row{border:1px solid #d4e2ec;border-radius:8px;padding:16px;margin-bottom:14px}.qp-row-title{display:flex;align-items:center;gap:10px;min-width:0;margin-bottom:12px}.qp-row-title strong{color:#087f79;white-space:nowrap}.qp-row-title>span{color:#4f6678;font-size:13px;overflow-wrap:anywhere}.qp-remove{margin-left:auto;color:#a84236}.qp-row-main{display:grid;grid-template-columns:1.5fr 1.6fr .8fr 1fr 1fr;gap:12px}.qp-row-extra{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding-top:14px}.qp-remark{grid-column:span 2}.qp-shelf{display:flex;gap:6px}.qp-shelf select{max-width:75px}.quick-purchase-dialog summary{cursor:pointer;font-size:13px;line-height:1.6;color:#217d79}.qp-row details{border-top:1px solid #edf2f5;padding-top:10px}.qp-row details summary span{color:#946324}
.qp-check{display:flex;align-items:flex-start;gap:9px;line-height:1.7;font-weight:400}.qp-confirm{margin:18px 0 6px;padding:12px;background:#eef8f6;border-radius:5px}.qp-error,.qp-warning,.qp-validation{padding:12px 14px;margin:14px 0 0;border-radius:6px;line-height:1.7;overflow-wrap:anywhere}.qp-error{color:#a23328;background:#fff0ed;border:1px solid #f3c2b9}.qp-warning{color:#815014;background:#fff8e9;border:1px solid #efd7a4}.qp-validation{color:#815014;background:#fff8e9}.qp-error p,.qp-validation p{margin:2px 0}.qp-warning-text{color:#815014}.qp-warning ul{padding-left:20px;margin:8px 0}.qp-warning li{list-style:disc}
.qp-footer{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:10px;padding:16px 24px;border-top:1px solid #dce6ed;background:#f8fafc;flex:none}.qp-footer>span{margin-right:auto;color:#566e80;font-size:13px}.qp-primary,.qp-secondary{min-height:40px;border-radius:5px;padding:8px 16px;line-height:1.5;font-weight:600}.qp-primary{border:1px solid #087f76;background:#087f76;color:#fff}.qp-primary:hover:not(:disabled){background:#06685f}.qp-secondary{border:1px solid #b9cdd9;background:#fff;color:#274c62}.qp-secondary:hover:not(:disabled){background:#edf6f6}.qp-success{text-align:center;padding:28px 10px}.qp-success-mark{display:inline-flex;width:48px;height:48px;align-items:center;justify-content:center;border-radius:50%;background:#e2f5ed;color:#087f66}.qp-success h3{font-size:21px;margin:16px 0 10px}.qp-success p{line-height:1.8;color:#526d80}.qp-success ul{margin:16px 0;font-variant-numeric:tabular-nums;line-height:1.8}
@media(max-width:720px){.quick-purchase-overlay{padding:0;align-items:stretch}.quick-purchase-dialog{width:100%;max-height:100dvh;height:100dvh;border:0;border-radius:0}.qp-header{padding:15px 16px}.qp-header h2{font-size:18px}.qp-header p{font-size:13px}.qp-body{padding:16px}.qp-steps{margin-bottom:16px}.quick-purchase-dialog textarea{min-height:240px}.qp-common,.qp-row-main,.qp-row-extra{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}.qp-row-main>label:nth-child(2),.qp-row-main>label:first-child{grid-column:1 / -1}.qp-row{padding:13px 12px}.qp-row-title{align-items:flex-start}.qp-row-title>span{line-height:1.6}.qp-common label:first-child{grid-column:span 2}.qp-remark{grid-column:span 2}.qp-freight label{width:calc(100% - 140px)}.qp-freight>span{padding:0}.qp-footer{padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px))}.qp-footer>span{flex-basis:100%;text-align:center;margin:0}.qp-footer .qp-primary{flex:1}.qp-footer .qp-secondary{min-width:76px}.quick-purchase-dialog input:not([type=checkbox]),.quick-purchase-dialog select{font-size:16px;height:42px}.qp-review-head{font-size:16px}.qp-review-head .qp-link{font-size:13px}.qp-source-review pre{font-size:13px}}
