/* The request extends the catalog's black / white / red identity. */
#quoteDialog{max-width:1180px;width:calc(100% - 32px);max-height:94dvh;background:#f5f5f5;border-radius:10px;overflow:auto}
#quoteDialog[open]{display:block}body:has(#quoteDialog[open]){overflow:hidden}.quote-head{background:#171717;color:white;padding:28px 36px 24px;border-top:5px solid #b41728;position:relative}.quote-head .eyebrow{font-size:12px;color:#ddd}.quote-head h2{margin:12px 50px 8px 0;font-size:30px;letter-spacing:-.7px}.quote-head p{margin:0;color:#ddd;font-size:16px;line-height:1.5}.quote-head .close{background:#383838;color:white;width:42px;height:42px}.quote-steps{display:flex;gap:26px;margin-top:24px;font-size:14px;color:#aaa}.quote-steps b{display:inline-flex;width:24px;height:24px;border:1px solid #777;align-items:center;justify-content:center;margin-right:7px;border-radius:50%;font-size:12px}.quote-steps .active{color:#fff}.quote-steps .active b{background:#b41728;border-color:#b41728}.quote-body{padding:26px 36px 32px}.quote-panel{background:white;border:1px solid #ddd;border-radius:6px;padding:24px;margin-bottom:20px}.quote-panel h3{font-size:20px;margin:0 0 8px}.quote-muted{color:#606060;font-size:14px;line-height:1.6;margin:6px 0 16px}.quote-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.quote-field{display:flex;flex-direction:column;gap:7px;font-size:14px;line-height:1.4;min-width:0;font-weight:600}.quote-field input,.quote-field select,.quote-field textarea,#demandText{font:400 16px/1.4 JG,Arial,sans-serif;width:100%;min-width:0;border:1px solid #b9b9b9;border-radius:4px;padding:11px 12px;background:#fff;color:#171717}.quote-field textarea,#demandText{resize:vertical;min-height:84px}.quote-field :disabled{background:#f0f0f0;color:#666;border-color:#ddd}.quote-field input:focus,.quote-field select:focus,.quote-field textarea:focus,#demandText:focus{outline:2px solid #b41728;outline-offset:2px}.quote-full{grid-column:1/-1}.quote-check{display:flex;gap:9px;align-items:center;font-size:14px;font-weight:400;margin:9px 0}.quote-check input{width:18px;height:18px;accent-color:#b41728}.quote-btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;min-height:44px;border-radius:4px;background:#fff;border:1px solid #bababa;color:#171717;font:600 14px/1.4 JG,Arial,sans-serif;gap:8px;cursor:pointer}.quote-btn.primary{background:#b41728;color:white;border-color:#b41728}.quote-btn.primary:hover{background:#941322}.quote-btn:disabled{opacity:.5;cursor:wait}.quote-inline{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:14px}.quote-line{background:white;border:1px solid #d8d8d8;border-radius:6px;margin-bottom:18px;overflow:hidden}.quote-line-head{padding:18px 22px;background:#fafafa;border-bottom:1px solid #e1e1e1;display:flex;justify-content:space-between;align-items:center;gap:15px}.quote-line-head h4{margin:0;font-size:17px}.quote-tag{font-size:12px;color:#8a4a00;background:#fff2d8;padding:5px 8px;display:inline-block;border-radius:3px;margin-top:7px}.quote-line-body{display:grid;grid-template-columns:160px minmax(0,1fr);gap:22px;padding:22px}.quote-photo img{width:100%;height:150px;object-fit:contain;border:1px solid #eee;background:white;border-radius:4px}.quote-photo p{font-size:12px;line-height:1.5;color:#666;overflow-wrap:anywhere}.quote-photo .no-photo{height:110px;display:flex;align-items:center;justify-content:center;background:#f3f3f3;font-size:14px;color:#666}.quote-link-btn{background:transparent;text-decoration:underline;font:400 14px/1.5 JG,Arial,sans-serif;padding:8px;color:#555;min-height:40px}.size-block{grid-column:1/-1;border-top:1px solid #eee;padding-top:14px}.size-row{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;margin:10px 0;align-items:end}.size-row .quote-field{font-size:13px}.size-total{font-size:14px;margin:12px 0 0;font-weight:600}.size-total.bad{color:#a11424}.quote-errors{padding:18px 22px;background:#fff0f1;border:1px solid #b41728;border-radius:4px;color:#951021;margin-bottom:20px;font-size:15px;line-height:1.6}.quote-errors ul{padding-left:20px;margin:6px 0}.quote-footer{padding:18px 36px;background:#fff;border-top:1px solid #ddd;display:flex;justify-content:space-between;align-items:center;gap:18px;position:sticky;bottom:0;z-index:2;box-shadow:0 -5px 20px #00000006}.quote-footer p{font-size:13px;line-height:1.5;color:#666;margin:0}.quote-footer .quote-btn{white-space:nowrap}.quote-preview-header{display:flex;justify-content:space-between;gap:24px;align-items:start;border-bottom:3px solid #b41728;padding-bottom:20px;margin-bottom:20px}.quote-preview-header img{width:90px;object-fit:contain}.quote-preview-header h3{font-size:26px;margin:0 0 10px}.quote-preview-meta{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0}.quote-preview-meta p{font-size:16px;line-height:1.6;margin:0;overflow-wrap:anywhere}.quote-preview-meta b{display:block;font-size:13px;color:#666}.quote-preview-row{display:grid;grid-template-columns:130px minmax(0,1fr);gap:20px;border-top:1px solid #ddd;padding:22px 0;break-inside:avoid}.quote-preview-row img{width:130px;height:130px;object-fit:contain}.quote-preview-row h4{font-size:19px;margin:0 0 10px}.quote-preview-row p{font-size:15px;line-height:1.6;margin:4px 0;white-space:pre-wrap;overflow-wrap:anywhere}.quote-notice{font-size:14px;line-height:1.6;color:#555;background:#f5f5f5;padding:16px;border-left:3px solid #b41728;white-space:pre-wrap;overflow-wrap:anywhere}.quote-send{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}.quote-send .quote-btn{width:100%}.quote-send p{font-size:14px;color:#606060;line-height:1.6}.quote-status{font-size:14px;color:#8d1422;line-height:1.5}.quote-toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:26px 0 15px}.quote-toolbar h3{font-size:22px;margin:0}.quote-toolbar span{font-size:14px;color:#606060}.quote-import-summary{padding:14px;background:#f5f5f5;border-left:3px solid #b41728;margin-top:16px;font-size:14px;line-height:1.7}.quote-import-summary ul{margin:6px 0;padding-left:20px}.quote-empty{padding:25px;text-align:center;border:1px dashed #aaa;background:white;border-radius:6px;font-size:16px;line-height:1.7}.quote-local{font-size:12px;color:#666;margin:16px 0 0}.quote-btn:focus-visible,.quote-link-btn:focus-visible{outline:3px solid #b41728;outline-offset:3px}#detailQuote{margin-top:0}#quoteSource{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6}.quote-panel details summary{cursor:pointer;font-size:16px;font-weight:600}.quote-email-address{font-weight:600;font-size:16px;overflow-wrap:anywhere}.quote-panel .quote-small{font-size:13px;color:#666;line-height:1.6}.quote-confirm{padding:12px 0}.quote-confirm .quote-check{font-size:16px;line-height:1.5;align-items:start}.quote-confirm input{flex-shrink:0;margin-top:3px}.selection-bar #requestQuote{font-size:14px}.selection-bar #exportSelection{font-size:12px;background:transparent;color:white;border:1px solid #777;padding:12px}
@media(max-width:760px){#quoteDialog{width:100%;max-width:none;max-height:100dvh;height:100dvh;border-radius:0;margin:0}.quote-head{padding:24px 20px 20px}.quote-head h2{font-size:25px}.quote-head p{font-size:14px}.quote-steps{gap:15px;font-size:12px}.quote-body{padding:20px 16px}.quote-panel{padding:18px}.quote-line-body{grid-template-columns:1fr;padding:16px;gap:12px}.quote-photo{display:flex;gap:14px;align-items:center}.quote-photo img{width:95px;height:95px}.quote-photo p{max-width:220px}.quote-grid{grid-template-columns:1fr}.quote-line-head{padding:16px;align-items:start}.quote-footer{padding:14px 16px;flex-wrap:wrap}.quote-footer p{flex:1;font-size:12px}.quote-footer .quote-btn{padding:12px 15px}.quote-preview-meta{grid-template-columns:1fr}.quote-preview-header h3{font-size:23px}.quote-preview-row{grid-template-columns:80px minmax(0,1fr);gap:14px}.quote-preview-row img{width:80px;height:95px}.quote-preview-row h4{font-size:17px}.quote-preview-row p{font-size:14px}.quote-send{grid-template-columns:1fr}.quote-send p{margin-bottom:0}.quote-toolbar{align-items:start}.quote-steps b{margin-right:3px}.selection-bar #viewSelection,.selection-bar #exportSelection{display:none}.selection-bar #requestQuote{font-size:13px}.selection-bar strong{font-size:12px}.selection-top{font-size:12px;display:flex;align-items:center;gap:6px}.quote-preview-header img{width:65px}.size-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}}
@media print{body>*{display:none!important}#quoteDialog,#quoteDialog .quote-body,#quotePreview{display:block!important}#quoteDialog{position:static;width:100%;max-width:none;max-height:none;height:auto;overflow:visible;box-shadow:none;margin:0}#quoteDialog .quote-head,#quoteDialog .quote-footer,#quoteEditor,.quote-send,.quote-confirm,#editQuote{display:none!important}.quote-panel{border:none}.quote-body{padding:0}}
/* Fixed Italian date format, even when the device or browser uses another language. */
.quote-date{position:relative;align-content:start}.quote-date-control{position:relative}.quote-date-control input{padding-right:52px}.quote-date-control>button{position:absolute;right:3px;top:3px;bottom:3px;width:42px;display:flex;align-items:center;justify-content:center;background:white;color:#171717;border-radius:3px}.quote-date-control svg{width:22px;height:22px}.quote-date-hint{font-size:13px;font-weight:400;color:#666}.quote-date-control input[aria-invalid=true]{border-color:#b41728}.quote-calendar{scroll-margin-bottom:110px;padding:12px;background:#fff;border:1px solid #cfcfcf;border-radius:5px;box-shadow:0 8px 25px #00000012;font-weight:400;width:100%;max-width:350px;align-self:start}.quote-calendar-nav{display:grid;grid-template-columns:40px 1fr 40px;align-items:center;text-align:center;gap:8px;margin-bottom:10px}.quote-calendar-nav strong{font-size:16px;text-transform:capitalize}.quote-calendar button{font:inherit;min-height:40px;border-radius:4px;background:#f8f8f8;color:#171717}.quote-calendar-nav button{font-size:24px}.quote-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}.quote-calendar .quote-weekday{font-size:12px;color:#666;padding:7px 0}.quote-calendar-grid button{font-size:14px;background:#fff}.quote-calendar-grid button:hover{background:#f9eef0}.quote-calendar-grid button[aria-pressed=true]{background:#b41728;color:white}.quote-calendar-grid button[aria-current=date]{box-shadow:inset 0 0 0 1px #b41728}.quote-calendar-actions{display:flex;justify-content:space-between;gap:6px;border-top:1px solid #eee;margin-top:10px;padding-top:8px}.quote-calendar-actions button{font-size:13px;padding:8px;background:transparent}.quote-calendar button:focus-visible,.quote-date-control>button:focus-visible{outline:2px solid #b41728;outline-offset:1px}
