.dsp{max-width:1200px;margin:40px auto 80px;color:#171b22;font-family:Arial,sans-serif;padding:0 20px}.dsp *{box-sizing:border-box}.dsp-hero{background:#171b22;color:white;padding:48px;border-top:5px solid #bc1825}.dsp-hero small{color:#ee8a90;letter-spacing:.13em;font-weight:700}.dsp-hero h1{color:white;font-size:clamp(30px,4vw,48px);margin:18px 0}.dsp-hero p{color:#d8dadd}.dsp h2{font-size:25px}.dsp h3{font-size:19px}.dsp a{color:#a41420;font-weight:700}.dsp button,.dsp input[type=submit],.dsp-download{background:#bc1825;color:white;border:0;padding:12px 16px;font-weight:700;cursor:pointer;border-radius:3px}.dsp button:disabled{opacity:.5;cursor:default}.dsp input:not([type=checkbox]):not([type=submit]),.dsp textarea{width:100%;padding:12px;border:1px solid #cdd0d5;background:white;border-radius:3px;font:inherit}.dsp label{display:block;font-size:14px;margin:12px 0 5px}.dsp-bar{display:flex;gap:24px;flex-wrap:wrap;padding:22px 0;border-bottom:1px solid #e1e3e6}.dsp-bar a:last-child{margin-left:auto}.dsp-profile{background:#f7f5f4;padding:25px;margin:25px 0;display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.dsp-profile h2,.dsp-profile small{grid-column:1/-1}.dsp-profile p{font-size:14px;margin:7px 0}.dsp-layout{display:grid;grid-template-columns:1fr 340px;gap:28px;align-items:start}.dsp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:22px 0}.dsp-card{border:1px solid #e1e3e6;padding:22px;display:flex;flex-direction:column;gap:12px}.dsp-card img{width:100%;height:180px;object-fit:contain;background:#fafafa}.dsp-card h3,.dsp-card p{margin:0}.dsp-card p{font-size:14px;line-height:1.5;color:#626773}.dsp-card small{color:#737781}.dsp-card strong{font-size:22px;margin-top:auto}.dsp-cart{background:#f7f5f4;padding:24px;position:sticky;top:20px}.dsp-cart-line{padding:14px 0;border-bottom:1px solid #ded9d7;display:grid;grid-template-columns:1fr 90px;gap:10px}.dsp-cart-line label,.dsp-cart-line small{grid-column:1/-1;margin:0}.dsp-cart-line .dsp-secondary{background:white;color:#a41420;border:1px solid #ded9d7;grid-column:1/-1}.dsp-muted{font-size:13px;color:#6d727b;line-height:1.6}.dsp-download{display:inline-block;text-decoration:none!important;color:white!important}.dsp-history-row{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:18px 0;border-bottom:1px solid #e1e3e6;flex-wrap:wrap}.dsp-login{max-width:500px;background:#f7f5f4;padding:30px;margin:30px auto}.dsp #dsp-status:not(:empty){padding:18px;background:#fff3ed;margin:20px 0}.dsp #dsp-total{font-size:23px;font-weight:700}.dsp :focus-visible{outline:3px solid #bc1825;outline-offset:3px}@media(max-width:900px){.dsp-layout{grid-template-columns:1fr}.dsp-cart{position:static}.dsp-profile{grid-template-columns:1fr}.dsp-hero{padding:30px}}@media(max-width:520px){.dsp-grid{grid-template-columns:1fr}.dsp{padding:0 12px}.dsp-bar{gap:16px}.dsp-hero h1{font-size:32px}}

.dsp-register{max-width:650px;margin:40px auto;padding:30px;border:1px solid #e1e3e6;background:#fff}.dsp-register select{width:100%;padding:12px;border:1px solid #cdd0d5;background:white}.dsp-register-consent{display:flex!important;gap:10px;align-items:start;line-height:1.6}.dsp-honeypot{position:absolute;left:-9999px}.dsp-register-success{padding:16px;background:#e3f3e8;color:#246640}

.dsp-auth-logo{display:block;width:180px;max-width:100%;height:auto;margin:0 0 26px}.dsp-password-card{background:#fff;border:1px solid #e1e3e6;border-top:4px solid #bc1825;box-shadow:0 10px 32px #171b220a}.dsp-password-card h2{margin-bottom:12px}.dsp-password-card p{line-height:1.65}.dsp-password-card button{width:100%;margin:22px 0 8px}.dsp-password-card form[hidden]{display:none}.dsp-password-show{display:flex!important;gap:10px;align-items:center}.dsp-auth-back{padding-top:18px;border-top:1px solid #e1e3e6;margin-top:26px}.dsp-auth-success,.dsp-auth-error{padding:16px;margin-top:18px;line-height:1.65;overflow-wrap:anywhere}.dsp-auth-success{background:#e3f3e8;color:#246640}.dsp-auth-error{background:#fff0f0;color:#a41420}#solicitar-acceso{scroll-margin-top:28px}.dsp-register-highlight{border-color:#bc1825;box-shadow:0 0 0 3px #bc182514}

.dsp-party-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.dsp-party-grid section,.dsp-party-table td{overflow-wrap:anywhere}.dsp-supplier{border-bottom:2px solid #bc1825;padding-bottom:14px;margin-bottom:18px}.dsp-supplier p,.dsp-party-grid p{margin:6px 0}.dsp-download{display:inline-block;margin:6px 8px 6px 0}@media(max-width:600px){.dsp-party-grid{grid-template-columns:1fr}.dsp-party-table,.dsp-party-table tbody,.dsp-party-table tr,.dsp-party-table td{display:block!important;width:100%!important;box-sizing:border-box}}

.dsp-bank-details{margin-top:24px;padding-top:16px;border-top:2px solid #bc1825}.dsp-bank-details p{margin:6px 0}

/* Clear quote sections and readable status labels. */
.dsp-manager h3,.dsp h2,.dsp h3{color:#a51522;line-height:1.3}
.dsp-manager .dsp-supplier,.dsp .dsp-supplier{background:#faf7f7;border:1px solid #eadbdd;border-left:5px solid #bc1825;border-radius:10px;padding:20px;margin:16px 0 24px}
.dsp-party-grid section{background:#fff;border:1px solid #e6e1e1;border-radius:10px;padding:16px}
.dsp-party-grid h4{margin:0 0 14px;padding:10px 12px;background:#bc1825;color:#fff;border-radius:6px;font-size:15px}
.dsp-party-table{border-collapse:separate;border-spacing:12px 0;margin:16px 0 24px}.dsp-party-table td{background:#fafafa;border:1px solid #e7e2e2;border-radius:8px}
.dsp-quote-details{background:#faf7f7;padding:20px;border-radius:10px;margin:20px 0;border:1px solid #eadbdd}
.dsp-manager .dsp-ui-table thead th{background:#a51522;color:white;padding:14px}.dsp-manager .dsp-ui-table tbody tr:nth-child(even){background:#faf8f8}
.dsp-quote-badge{display:inline-block;padding:6px 10px;border-radius:6px;font-size:13px;font-weight:600;line-height:1.4;background:#fff3d6;color:#714900}
.dsp-quote-badge-approved,.dsp-quote-badge-accepted{background:#e3f3e9;color:#17613c}.dsp-quote-badge-following{background:#e6effb;color:#214f87}.dsp-quote-badge-closed{background:#ededf0;color:#45454d}
.dsp-version-card{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e6e1e1;border-radius:8px;padding:14px;margin:10px 0;background:#fff}.dsp-version-card a{font-weight:700;color:#a51522}
.dsp-revision-panel{border:2px solid #e3c9cc!important;border-radius:10px}.dsp-revision-panel summary{font-size:17px;font-weight:700;color:#a51522;cursor:pointer;padding:12px;background:#faf0f1;border-radius:6px}.dsp-revision-panel[open] summary{margin-bottom:20px}
.dsp-bank-details{background:#fafafa;border-radius:10px;padding:20px;border:1px solid #e6e1e1;border-top:4px solid #bc1825}.dsp-bank-details strong{font-variant-numeric:tabular-nums}.dsp-bank-details td{background:#f3f3f5;border-radius:8px}
.dsp-history-row{border:1px solid #e6e1e1;padding:16px;border-radius:10px;margin:12px 0;gap:12px;flex-wrap:wrap}
.dsp-history-row a,.dsp-quote-actions a{white-space:nowrap}.dsp-manager a:focus-visible,.dsp a:focus-visible,.dsp-revision-panel summary:focus-visible{outline:3px solid #a51522;outline-offset:3px}
@media(max-width:600px){.dsp-version-card{align-items:flex-start;flex-direction:column}.dsp-party-table{border-spacing:0}.dsp-history-row{display:flex;flex-direction:column;align-items:flex-start}.dsp-bank-details{padding:14px}}

/* Product cards inside the customer's quotation cart. */
.dsp .dsp-cart-line{display:flex;flex-direction:column;gap:7px;background:#fff;border:1px solid #e6dddd;border-radius:10px;padding:16px;margin:12px 0}
.dsp-cart-product{font-size:15px;line-height:1.4;color:#29252a;overflow-wrap:anywhere}.dsp-cart-price,.dsp-cart-units{font-size:13px;color:#62606a}.dsp-cart-subtotal{font-size:15px;color:#a51522;margin-top:3px}.dsp-cart-minimum,.dsp-cart-unit-label{font-size:12px;color:#666}
.dsp .dsp-cart-controls{display:grid;grid-template-columns:40px minmax(45px,1fr) 40px 40px;gap:6px;align-items:center;margin-top:8px}
.dsp .dsp-cart-controls button{height:42px;padding:0;display:flex;align-items:center;justify-content:center;border-radius:7px;font-size:21px;line-height:1}.dsp .dsp-cart-controls .dsp-cart-trash{background:#fff;color:#a51522;border:1px solid #e3c9cc}.dsp .dsp-cart-controls .dsp-cart-trash:hover{background:#fae4e7}
.dsp .dsp-cart-controls .dsp-cart-quantity{width:100%;min-width:0;height:42px;text-align:center;padding:6px 2px;font-size:16px;font-weight:700;appearance:textfield;-moz-appearance:textfield}.dsp-cart-quantity::-webkit-inner-spin-button,.dsp-cart-quantity::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}

/* Keep the quotation within the viewport; wheel/touch scrolling stays in it. */
.dsp-cart{max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;min-width:0}
body.admin-bar .dsp-cart{top:52px;max-height:calc(100vh - 72px);max-height:calc(100dvh - 72px)}
@media(max-width:900px){.dsp-cart,body.admin-bar .dsp-cart{position:static;max-height:75vh;max-height:75dvh}}

.dsp-client-payment,.dsp-payment-report-status{flex-basis:100%;width:100%}.dsp-client-payment{border:1px solid #ddd;border-radius:8px;background:#f8f6f5;padding:16px}.dsp-client-payment summary{cursor:pointer;color:#a41420;font-weight:700}.dsp-client-payment form{max-width:600px}.dsp-client-payment select{display:block;width:100%;padding:12px;border:1px solid #cdd0d5;background:white;border-radius:3px;font:inherit}.dsp-payment-report-status{background:#fff3df;padding:12px;border-radius:6px;font-size:14px}

.dsp-payment-balance{flex-basis:100%;width:100%;padding:14px;border:1px solid #dfd9d9;border-left:4px solid #bc1825;border-radius:6px;background:#faf8f8;font-weight:600;line-height:1.8}

.dsp-payment-entries{flex-basis:100%;width:100%;padding:14px;background:#f8f6f5;border-radius:6px}.dsp-payment-entries summary{cursor:pointer;font-weight:600}.dsp-payment-entries p{border-top:1px solid #ddd;padding-top:12px;line-height:1.7}
