.checkout-panel{margin:18px 0;padding:18px;border:1px solid #afc5cb;border-radius:8px;background:#f8fbfc;min-width:0}
.checkout-panel h3,.checkout-confirmation h3{font-size:18px;line-height:1.4;margin:0 0 8px}
.checkout-panel h4{font-size:15px;margin:0 0 12px}
.checkout-heading{margin-bottom:14px;min-width:0}.checkout-heading p{margin:5px 0 0}
.checkout-panel .hint,.checkout-confirmation .hint{font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.checkout-lines{display:grid;gap:12px;min-width:0}
.checkout-line{background:#fff;border:1px solid var(--line);border-radius:6px;padding:14px;min-width:0}
.checkout-line-heading{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;margin-bottom:12px}
.checkout-line-heading>div{min-width:0;flex:1;overflow-wrap:anywhere;font-size:15px;line-height:1.45}
.checkout-line-heading .button{flex:none;min-height:44px}
.checkout-line-heading p{margin:4px 0 0}
.checkout-line-fields{display:grid;grid-template-columns:minmax(90px,.65fr) minmax(160px,1.5fr) minmax(100px,1fr);gap:12px;align-items:end}
.checkout-panel .field{font-size:14px;line-height:1.4;min-width:0}
.checkout-panel .field input,.checkout-panel .field select{font-size:16px;min-height:44px;min-width:0;width:100%;max-width:100%}
.checkout-panel input[readonly]{background:#f0f4f5;color:#415660}
.checkout-line-amount{display:flex;flex-direction:column;gap:8px;padding-bottom:10px;min-width:0;font-size:14px}
.checkout-line-amount strong{font-size:17px;overflow-wrap:anywhere}
.checkout-line-error{font-size:13px;color:#9c332b;line-height:1.45;margin:8px 0 0;overflow-wrap:anywhere}
.checkout-service-notes{margin:0 0 12px;border:1px solid #e3d9bc;background:#fffaf0;border-radius:5px;padding:9px 11px;min-width:0}
.checkout-service-notes summary{cursor:pointer;min-height:28px;display:flex;align-items:center;font-size:14px;font-weight:600}
.checkout-service-notes p{font-size:14px;line-height:1.5;margin:10px 0 0;overflow-wrap:anywhere}
.checkout-add{border:1px solid var(--line);border-radius:6px;background:#fff;padding:14px;margin-top:16px;min-width:0}
.checkout-search-fields{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:12px}
.checkout-result-count{margin:12px 0 8px}
.checkout-catalog{max-height:300px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:2px}
.checkout-catalog>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--line)}
.checkout-catalog>div>span{min-width:0;overflow-wrap:anywhere;font-size:14px;line-height:1.45}
.checkout-catalog small{display:block;color:var(--muted);font-size:13px;margin-top:4px}
.checkout-catalog .button{flex:none;min-height:44px}
.checkout-total{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0 10px;border-top:1px solid #bbcdd2;margin-top:16px;font-size:15px;min-width:0}
.checkout-total strong{font-size:22px;line-height:1.3;overflow-wrap:anywhere;text-align:right}
.checkout-total>span{min-width:0}
.checkout-save-status{font-size:14px;line-height:1.5;color:#426273;overflow-wrap:anywhere;margin:8px 0}
.checkout-tools{margin:12px 0}.checkout-tools .button{font-size:14px;min-height:44px;white-space:normal}
.checkout-summary-lines{display:grid;gap:0;min-width:0}
.checkout-summary-lines>div{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid var(--line);min-width:0;font-size:15px}
.checkout-summary-lines>div>span{min-width:0;overflow-wrap:anywhere;flex:1}
.checkout-summary-lines>div>strong{overflow-wrap:anywhere;text-align:right;max-width:40%}
.checkout-summary-lines small{display:block;margin-top:5px;color:var(--muted);font-size:14px}
.checkout-confirmation{margin-top:20px;border:1px solid #bdd0d7;background:#f6fafb;padding:16px;border-radius:7px;min-width:0}
.checkout-handoff{min-width:0}.checkout-handoff h3{font-size:28px;margin:14px 0}.checkout-handoff p{font-size:16px;line-height:1.55;margin:10px 0;overflow-wrap:anywhere}
.checkout-handoff .button{margin-top:12px}
@media(max-width:700px){.checkout-panel{padding:13px}.checkout-line-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.checkout-line-amount{grid-column:1/-1;flex-direction:row;justify-content:space-between;padding-bottom:0}.checkout-search-fields{grid-template-columns:1fr}.checkout-catalog{max-height:260px}.checkout-line,.checkout-add{padding:12px}.checkout-total strong{font-size:20px}.checkout-tools{display:grid;grid-template-columns:1fr}.checkout-tools .button{width:100%}.checkout-confirmation{padding:12px}}
@media(max-width:390px){.checkout-line-fields{grid-template-columns:1fr}.checkout-line-heading{flex-wrap:wrap;gap:8px}.checkout-line-heading .button{margin-left:auto}.checkout-catalog>div{align-items:flex-start;flex-wrap:wrap;gap:8px}.checkout-catalog>div>span{flex-basis:100%}.checkout-catalog .button{margin-left:auto}.checkout-total{align-items:flex-start;gap:10px;flex-direction:column}.checkout-total strong{text-align:left}.checkout-summary-lines>div{flex-wrap:wrap;gap:8px}.checkout-summary-lines>div>span{flex-basis:100%}.checkout-summary-lines>div>strong{max-width:100%;margin-left:auto}}
@media(max-height:450px) and (orientation:landscape){.checkout-catalog{max-height:145px}}
@media print{.checkout-panel,.checkout-confirmation,.checkout-handoff{display:none!important}}
