/* Quote controls share the configurator's restrained engineering visual language. */
.ap-quote-dialog,
.apq-edit-banner,
.apq-toast {
  --apq-ink: #28343a;
  --apq-muted: #66736f;
  --apq-paper: #f8f8f4;
  --apq-border: #d9dfda;
  --apq-red: var(--red, #b72240);
  color: var(--apq-ink);
  font-family: inherit;
  font-size: 13px;
  line-height: 1.45;
  box-sizing: border-box;
}
.ap-quote-dialog *, .apq-edit-banner *, .apq-toast * {box-sizing:border-box}
.ap-quote-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(990px, calc(100vw - 48px));
  max-width: none;
  max-height: min(90dvh, 880px);
  padding: 0;
  background: var(--apq-paper);
  border: 1px solid #c7cfca;
  border-radius: 8px;
  box-shadow: 0 25px 90px #14202842;
  overflow: hidden;
  text-align: left;
  z-index: 10000;
}
.ap-quote-dialog:not([open]) {display:none}
.ap-quote-dialog[open] {display:flex;flex-direction:column}
.ap-quote-dialog::backdrop {background:#15212994;backdrop-filter:blur(5px)}
.ap-quote-dialog .apq-head {
  display:flex;align-items:flex-start;justify-content:space-between;gap:18px;
  flex:none;padding:25px 30px 23px;border-bottom:1px solid var(--apq-border);background:#fcfcf9;
}
.ap-quote-dialog .apq-eyebrow {color:var(--apq-red);margin:0 0 6px;font-size:10px;font-weight:700;letter-spacing:.14em;line-height:1.3}
.ap-quote-dialog h2 {margin:0;color:var(--ink);font-family:var(--display);font-size:clamp(34px,3.7vw,54px);line-height:1.04;font-weight:400;letter-spacing:-.035em}
.ap-quote-dialog h3 {margin:0 0 11px;color:var(--apq-ink);font-size:16px;line-height:1.3;font-weight:650;letter-spacing:-.015em}
.ap-quote-dialog h4 {margin:0;color:var(--apq-ink);font-size:13px;font-weight:700;line-height:1.35}
.ap-quote-dialog .apq-subtitle {margin:8px 0 0;color:var(--apq-muted);font-size:13px}
.ap-quote-dialog .apq-close {
  -webkit-appearance:none;appearance:none;display:grid;place-items:center;flex:none;border:1px solid var(--apq-border);background:#fff;
  color:var(--apq-ink);font-family:inherit;font-size:24px;font-weight:300;line-height:1;width:37px;height:37px;border-radius:50%;cursor:pointer;padding:0;
}
.ap-quote-dialog .apq-close:hover {background:#e9eeea}
.ap-quote-dialog .apq-body {flex:1;overflow:auto;padding:22px 30px 28px;min-height:0;overscroll-behavior:contain}
.ap-quote-dialog .apq-notice {display:flex;align-items:flex-start;gap:10px;padding:11px 14px;background:#efefe9;border:1px solid #e1e1d7;border-radius:4px;margin:0 0 23px;color:#515951;font-size:12px}
.ap-quote-dialog .apq-dot {display:block;background:#af5e50;border-radius:50%;flex:none;width:7px;height:7px;margin-top:6px}
.ap-quote-dialog .apq-notice p {margin:0;line-height:1.45;color:#626960}
.ap-quote-dialog .apq-notice strong {font-weight:650}
.ap-quote-dialog .apq-columns {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);gap:28px;align-items:start}
.ap-quote-dialog .apq-section-head {display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px}
.ap-quote-dialog .apq-section-head h3 {margin:0}
.ap-quote-dialog .apq-counter {display:inline-block;border:1px solid #d0d9d2;background:#eef1ed;border-radius:3px;padding:3px 7px;color:#46544d;white-space:nowrap;font-size:11px;font-weight:600}
.ap-quote-dialog .apq-court-list {display:flex;flex-direction:column;gap:10px}
.ap-quote-dialog .apq-court {display:grid;grid-template-columns:minmax(92px,34%) minmax(0,1fr);gap:11px;align-items:start;padding:10px;background:#fff;border:1px solid var(--apq-border);border-radius:5px}
.ap-quote-dialog .apq-court-image {width:100%;min-height:100px;aspect-ratio:1.2;border-radius:3px;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;background:#e7ebe8;text-align:center}
.ap-quote-dialog .apq-court-image img {display:block;width:100%;height:100%;object-fit:contain}
.ap-quote-dialog .apq-empty-snapshot {display:block;line-height:1;font-size:30px;color:#84928c}
.ap-quote-dialog .apq-empty-image-label {color:#66706b;font-size:10px;line-height:1.25;padding:2px 5px}
.ap-quote-dialog .apq-court-ref {margin:0 0 3px;font-size:10px;font-weight:600;color:#718178;line-height:1.2}
.ap-quote-dialog .apq-court-name {font-size:15px;line-height:1.25;margin-bottom:5px}
.ap-quote-dialog .apq-specs {display:flex;flex-direction:column;margin:0;gap:1px}
.ap-quote-dialog .apq-spec {display:flex;flex-wrap:wrap;gap:1px 5px;font-size:11px;line-height:1.4;overflow-wrap:anywhere}
.ap-quote-dialog .apq-spec dt {color:#6a756d;flex:none;white-space:normal}
.ap-quote-dialog .apq-spec dd {margin:0;font-weight:600;color:#3c4a43;flex:1;min-width:70px}
.ap-quote-dialog .apq-court-price {margin:8px 0 0;color:var(--apq-muted);font-weight:600;font-size:11px}
.ap-quote-dialog .apq-court-controls {grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:6px;border-top:1px solid #eef0ec;padding-top:9px}
.ap-quote-dialog .apq-quantity {display:flex;align-items:center;border:1px solid #d6ded6;border-radius:3px;overflow:hidden}
.ap-quote-dialog .apq-quantity button {display:grid;place-items:center;appearance:none;border:0;border-radius:0;color:#304039;background:#f6f8f4;font-family:inherit;font-size:15px;font-weight:700;line-height:1;width:28px;height:28px;padding:0;cursor:pointer}
.ap-quote-dialog .apq-quantity button:hover {background:#e7ece6}
.ap-quote-dialog .apq-quantity button:disabled {color:#aeb9b0;cursor:default;background:#f5f6f3}
.ap-quote-dialog .apq-quantity input {min-width:0;width:40px;height:28px;appearance:textfield;-moz-appearance:textfield;border:0;border-right:1px solid #e3e7e1;border-left:1px solid #e3e7e1;padding:0 2px;border-radius:0;text-align:center;background:#fff;color:#26352f;font-family:inherit;font-size:12px;font-weight:600;line-height:1}
.ap-quote-dialog .apq-quantity input::-webkit-inner-spin-button,.ap-quote-dialog .apq-quantity input::-webkit-outer-spin-button {appearance:none;margin:0}
.ap-quote-dialog .apq-line-actions {display:flex;gap:11px;align-items:center}
.apq-link {border:0;padding:3px 0;background:none;color:#415c51;font:inherit;font-size:12px;font-weight:650;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.apq-link:hover {color:#1f3c30;text-decoration:none}
.ap-quote-dialog .apq-remove {color:#9c493e}
.ap-quote-dialog .apq-continue {margin:14px 0 19px;display:inline-block}
.ap-quote-dialog .apq-empty {background:#f1f4f0;border:1px dashed #c4d0c6;border-radius:5px;padding:22px 17px;text-align:center}
.ap-quote-dialog .apq-empty p {color:var(--apq-muted);font-size:12px;line-height:1.45;margin:7px 0 16px}
.ap-quote-dialog .apq-summary {margin:1px 0 0;background:#f0f2ef;padding:17px;border:1px solid #d7dfd7;border-radius:4px}
.ap-quote-dialog .apq-summary h3 {margin-bottom:8px}
.ap-quote-dialog .apq-summary-rows {margin:0}
.ap-quote-dialog .apq-summary-row {display:flex;gap:9px;justify-content:space-between;align-items:baseline;padding:8px 0;border-bottom:1px solid #dce2da;font-size:12px;line-height:1.3}
.ap-quote-dialog .apq-summary-row dt {color:var(--apq-muted);min-width:0}
.ap-quote-dialog .apq-summary-row dd {text-align:right;white-space:nowrap;font-weight:650;margin:0}
.ap-quote-dialog .apq-summary-row:last-child {padding:11px 0 2px;border:0;font-size:13px;font-weight:700}
.ap-quote-dialog .apq-summary-row:last-child dt {color:var(--apq-ink)}
.ap-quote-dialog .apq-fineprint {font-size:11px;line-height:1.5;color:#707d72;margin:10px 0 0}
.ap-quote-dialog .apq-contact {border-left:1px solid var(--apq-border);padding-left:27px}
.ap-quote-dialog .apq-form {margin:0}
.ap-quote-dialog .apq-fields {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 11px}
.ap-quote-dialog .apq-fields label,.ap-quote-dialog .apq-form-label {display:flex;flex-direction:column;gap:5px;min-width:0;font-size:11px;line-height:1.4;font-weight:650;color:#4d5a53}
.ap-quote-dialog .apq-field-wide {grid-column:1/-1}
.ap-quote-dialog .apq-form h4 {margin:22px 0 10px;font-weight:650}
.ap-quote-dialog .apq-fields input,.ap-quote-dialog .apq-fields select,.ap-quote-dialog .apq-fields textarea,.ap-quote-dialog .apq-form-label input {
  display:block;width:100%;height:35px;background:#fff;border:1px solid #d4ddd5;color:#26372f;font-family:inherit;font-size:13px;font-weight:400;line-height:1.3;padding:8px 9px;border-radius:3px;min-width:0;outline:none;
}
.ap-quote-dialog .apq-fields textarea {height:auto;min-height:74px;resize:vertical}
.ap-quote-dialog .apq-fields input::placeholder,.ap-quote-dialog .apq-fields textarea::placeholder {color:#97a099;font-size:12px;opacity:1}
.ap-quote-dialog .apq-fields input:focus,.ap-quote-dialog .apq-fields textarea:focus,.ap-quote-dialog .apq-fields select:focus,.ap-quote-dialog .apq-form-label input:focus {border-color:#6c8a7e;box-shadow:0 0 0 2px #83a89333}
.ap-quote-dialog .apq-foot {display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:17px 30px;border-top:1px solid var(--apq-border);background:#fcfcf9;flex:none}
.ap-quote-dialog .apq-modal-status {position:absolute;right:20px;bottom:73px;max-width:calc(100% - 40px);padding:8px 12px;border:1px solid #bccac0;border-radius:4px;background:#e7eee7;color:#2b4838;margin:0;box-shadow:0 3px 11px #293c2e14;font-size:11px;line-height:1.35;pointer-events:none;z-index:1}
.ap-quote-dialog .apq-modal-status:empty {display:none}
.ap-quote-dialog .apq-foot-note {display:flex;flex-direction:column;gap:2px;line-height:1.35;font-size:12px}
.ap-quote-dialog .apq-foot-note strong {font-size:13px;font-weight:700}
.ap-quote-dialog .apq-foot-note span {color:var(--apq-muted);font-size:11px}
.ap-quote-dialog .apq-actions {display:flex;align-items:center;justify-content:flex-end;gap:8px}
.ap-quote-dialog[data-delivery="live"] .apq-foot {justify-content:space-between}
.ap-quote-dialog .apq-send-status {margin:0;color:#465c52;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.ap-quote-dialog .apq-send-status[data-tone="success"] {color:#2b573d;font-weight:650}
.ap-quote-dialog .apq-send-status[data-tone="error"] {color:#8a3933;font-weight:650}
.ap-quote-dialog .apq-send {min-height:44px}
.apq-btn {display:inline-flex;justify-content:center;align-items:center;gap:8px;appearance:none;cursor:pointer;padding:10px 13px;border-radius:4px;border:1px solid transparent;font:inherit;font-size:12px;font-weight:650;white-space:nowrap;line-height:1.25;min-height:38px;text-decoration:none;transition:background .15s,border-color .15s}
.apq-btn:disabled {opacity:.45;pointer-events:none;cursor:not-allowed}
.apq-secondary {color:#3c5145;background:#fff;border-color:#c8d4ca}
.apq-secondary:hover {color:#34473e;background:#eff3ed;border-color:#acbcb0}
.apq-primary {color:#fff;background:var(--deep);border-color:var(--deep)}
.apq-primary:hover {color:#fff;background:#394f35;border-color:#394f35}
.ap-quote-dialog :focus-visible,.apq-edit-banner :focus-visible {outline:2px solid var(--apq-red);outline-offset:3px}
.ap-quote-dialog h2:focus-visible {outline:none}
.apq-share-dialog {width:min(490px,calc(100vw - 40px))}
.apq-share-dialog .apq-head {padding:20px 24px;align-items:center}
.apq-share-dialog h2 {font-size:25px}
.apq-share-dialog .apq-share-body {padding:22px 24px}
.apq-share-dialog .apq-share-body p {margin:0 0 18px;color:var(--apq-muted)}
.apq-share-dialog .apq-copy-button {margin:15px 0 0;width:100%}
.apq-toast {position:fixed;z-index:10002;left:50%;bottom:24px;transform:translate(-50%,12px);max-width:min(500px,calc(100vw - 28px));color:#f7f9f5;background:#203331;padding:12px 18px;border-radius:4px;border:1px solid #536b60;box-shadow:0 8px 35px #13201d42;font-size:12px;line-height:1.4;pointer-events:none;opacity:0;transition:opacity .2s ease,transform .2s ease;text-align:center}
.apq-toast.is-visible {opacity:1;transform:translate(-50%,0)}
.apq-edit-banner {position:fixed;z-index:9999;left:50%;bottom:23px;transform:translateX(-50%);display:flex;align-items:center;gap:10px;background:#fbfcf9;color:#33453e;border:1px solid #cbd8cc;border-radius:5px;box-shadow:0 8px 30px #12241f2b;padding:9px 12px;max-width:calc(100vw - 18px);white-space:nowrap;font-size:12px}
.apq-edit-banner[hidden] {display:none}
.apq-edit-banner .apq-edit-message {font-weight:650;margin-right:5px;white-space:normal}
.apq-edit-banner .apq-btn {min-height:30px;padding:7px 9px;font-size:11px}
body:has(.apq-edit-banner:not([hidden])) .apq-toast {bottom:80px}

@media (max-width: 800px) {
  .ap-quote-dialog {width:min(680px,calc(100vw - 30px));max-height: min(94dvh, 900px)}
  .ap-quote-dialog .apq-head {padding:22px 24px 20px}
  .ap-quote-dialog .apq-body {padding:20px 24px 25px}
  .ap-quote-dialog .apq-columns {grid-template-columns:1fr;gap:24px}
  .ap-quote-dialog .apq-contact {border-left:0;border-top:1px solid var(--apq-border);padding-left:0;padding-top:22px}
  .ap-quote-dialog .apq-foot {padding:15px 24px}
  .ap-quote-dialog .apq-court {grid-template-columns:minmax(100px,30%) minmax(0,1fr)}
  .ap-quote-dialog .apq-specs {display:grid;grid-template-columns:1fr 1fr;gap:3px 8px}
}
@media (max-width: 480px) {
  .ap-quote-dialog {width:100%;height:auto;max-height:100dvh;border-radius:0;border:0;margin:auto 0 0}
  .ap-quote-dialog .apq-head {padding:18px 17px 16px}
  .ap-quote-dialog .apq-body {padding:17px 15px}
  .ap-quote-dialog .apq-columns {gap:19px}
  .ap-quote-dialog .apq-contact {padding-top:19px}
  .ap-quote-dialog .apq-court {grid-template-columns:minmax(85px,32%) minmax(0,1fr);padding:9px;gap:9px}
  .ap-quote-dialog .apq-specs {display:flex;flex-direction:column;gap:1px}
  .ap-quote-dialog .apq-court-image {min-height:85px;aspect-ratio:1}
  .ap-quote-dialog .apq-foot {padding:11px 15px max(12px,env(safe-area-inset-bottom));display:block}
  .ap-quote-dialog .apq-modal-status {right:12px;bottom:65px;max-width:calc(100% - 24px)}
  .ap-quote-dialog .apq-foot-note {display:none}
  .ap-quote-dialog .apq-actions {display:grid;grid-template-columns:1fr 1.45fr;gap:8px}
  .ap-quote-dialog[data-delivery="live"] .apq-actions {grid-template-columns:repeat(2,minmax(0,1fr))}
  .ap-quote-dialog[data-delivery="live"] .apq-modal-status {bottom:115px}
  .ap-quote-dialog .apq-send {grid-column:1/-1}
  .ap-quote-dialog .apq-send-status:not(:empty) {margin-bottom:9px}
  .ap-quote-dialog .apq-fields input,.ap-quote-dialog .apq-fields textarea,.ap-quote-dialog .apq-fields select,.ap-quote-dialog .apq-form-label input {height:40px;font-size:16px;line-height:1.1}
  .ap-quote-dialog .apq-fields textarea {height:auto;min-height:79px;font-size:14px}
  .ap-quote-dialog .apq-notice {padding:10px 12px;margin-bottom:17px}
  .apq-share-dialog {width:calc(100vw - 24px);margin:auto;border-radius:5px}
  .apq-edit-banner {bottom:max(15px,env(safe-area-inset-bottom));width:calc(100vw - 18px);gap:8px;justify-content:space-between}
  .apq-edit-banner .apq-edit-message {font-size:11px}
}
@media (prefers-reduced-motion: reduce) {.apq-toast,.apq-btn{transition:none}}
