.rpq-page{--rpq-yellow:#ffd21f;--rpq-yellow-soft:#fff5be;--rpq-carbon:#11161b;--rpq-ink:#182027;--rpq-muted:#68737d;--rpq-line:#e1e5e8;max-width:1200px;margin:0 auto;padding:4px 0 46px;color:var(--rpq-ink)}
.rpq-kicker{margin:0 0 9px;color:#745c00;font-size:10px;font-weight:950;letter-spacing:.17em;text-transform:uppercase}
.rpq-hero{position:relative;display:grid;grid-template-columns:minmax(0,.58fr) minmax(320px,.42fr);align-items:stretch;min-height:300px;margin-bottom:16px;border:1px solid rgba(20,24,28,.12);border-radius:24px;background:linear-gradient(135deg,#ffe871,var(--rpq-yellow));box-shadow:0 20px 46px rgba(17,24,39,.15);overflow:hidden;isolation:isolate}
.rpq-hero::after{content:"";grid-column:2;grid-row:1;min-height:300px;background:linear-gradient(90deg,rgba(9,12,15,.2),rgba(9,12,15,.02)),center/cover no-repeat url('/assets/gallery/01-performance.webp'),#0b0e11}
.rpq-hero>div:first-child{grid-column:1;grid-row:1;padding:34px 34px 84px;z-index:2}
.rpq-hero h1{max-width:10ch;margin:0;color:#15191d;font-size:clamp(37px,4.3vw,58px);line-height:.94;letter-spacing:-2.8px}
.rpq-hero p:not(.rpq-kicker){max-width:510px;margin:14px 0 17px;color:#554b1d;font-size:14px;line-height:1.5}
.rpq-hero-points{display:flex;flex-wrap:wrap;gap:7px}.rpq-hero-points span{padding:6px 8px;border:1px solid rgba(52,42,8,.18);border-radius:7px;background:rgba(255,255,255,.42);color:#463a14;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.04em}
.rpq-hero-label{position:absolute;right:18px;bottom:18px;z-index:3;padding:9px 11px;border-left:3px solid var(--rpq-yellow);background:rgba(11,15,18,.82);color:#fff}.rpq-hero-label b,.rpq-hero-label span{display:block}.rpq-hero-label b{font-size:8px;letter-spacing:.13em}.rpq-hero-label span{margin-top:2px;color:#cbd2d7;font-size:10px}
.rpq-hero>.rpq-btn{position:absolute;z-index:3;left:34px;bottom:29px;background:var(--rpq-carbon);color:#fff;border-color:var(--rpq-carbon);box-shadow:0 10px 24px rgba(11,14,17,.18)}
.rpq-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 16px;border:1px solid transparent;border-radius:10px;background:var(--rpq-yellow);color:#151515;font:inherit;font-weight:850;cursor:pointer;transition:.16s transform,.16s box-shadow,.16s background}.rpq-btn:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(0,0,0,.13)}.rpq-btn:focus-visible,.rpq-icon-btn:focus-visible,.rpq-card:focus-visible{outline:3px solid rgba(237,177,27,.38);outline-offset:2px}.rpq-btn:disabled{cursor:not-allowed;opacity:.58;transform:none;box-shadow:none}.rpq-btn-secondary{border-color:#d5d9df;background:#fff;color:#20252b}.rpq-btn-quiet{border-color:#e5e7eb;background:#f8fafc;color:#303841}.rpq-btn-danger{border-color:#f3c6c6;background:#fff5f5;color:#a12424}.rpq-btn-sm{min-height:34px;padding:6px 11px;font-size:13px}
.rpq-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:27px}.rpq-overview article{display:flex;align-items:center;gap:12px;min-width:0;padding:14px 16px;border:1px solid var(--rpq-line);border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(17,24,39,.04)}.rpq-overview-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:10px;background:#f2f4f5;color:#414b54;font-weight:900}.rpq-overview small,.rpq-overview strong{display:block}.rpq-overview small{margin-bottom:3px;color:#737d86;font-size:9px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.rpq-overview strong{overflow:hidden;font-size:17px;text-overflow:ellipsis;white-space:nowrap}.rpq-overview-active{border-color:#e7c84f;background:linear-gradient(135deg,#fffdf2,#fff5bb)}.rpq-overview-active .rpq-overview-icon{background:var(--rpq-carbon);color:var(--rpq-yellow)}
.rpq-workhead{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:0 2px 12px}.rpq-workhead .rpq-kicker{margin-bottom:5px}.rpq-workhead h2{margin:0;font-size:28px;letter-spacing:-1px}.rpq-workhead>span{color:var(--rpq-muted);font-size:11px}
.rpq-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) 190px auto;gap:10px;margin-bottom:12px;padding:10px;border:1px solid var(--rpq-line);border-radius:14px;background:#fff;box-shadow:0 5px 20px rgba(17,24,39,.04)}
.rpq-search,.rpq-select,.rpq-input,.rpq-textarea{width:100%;border:1px solid #cfd5dc;border-radius:9px;background:#fff;color:var(--rpq-ink);font:inherit}.rpq-search,.rpq-select,.rpq-input{height:44px;padding:0 13px}.rpq-toolbar .rpq-search{padding-left:18px}.rpq-textarea{min-height:94px;padding:12px 13px;resize:vertical}.rpq-search:focus,.rpq-select:focus,.rpq-input:focus,.rpq-textarea:focus{border-color:#c99408;outline:3px solid rgba(237,177,27,.16)}
.rpq-active{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 14px;padding:12px 14px;border:1px solid #ead164;border-radius:12px;background:#fff9dd}.rpq-active strong{display:block;margin-bottom:3px;font-size:12px}.rpq-active small{color:#665f46}.rpq-dot{display:inline-block;width:8px;height:8px;margin-right:7px;border-radius:50%;background:#21a366;box-shadow:0 0 0 4px rgba(33,163,102,.13)}
.rpq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.rpq-card{position:relative;min-width:0;padding:17px;border:1px solid var(--rpq-line);border-radius:16px;background:#fff;box-shadow:0 7px 23px rgba(17,24,39,.05);cursor:pointer;overflow:hidden;transition:.16s transform,.16s border-color,.16s box-shadow}.rpq-card::before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:var(--rpq-yellow);transform:scaleY(0);transform-origin:bottom;transition:.16s transform}.rpq-card:hover{border-color:#d6b53d;box-shadow:0 14px 32px rgba(17,24,39,.09);transform:translateY(-2px)}.rpq-card:hover::before{transform:scaleY(1)}
.rpq-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.rpq-card-identity{display:flex;align-items:flex-start;gap:12px;min-width:0}.rpq-card-avatar{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:12px;background:var(--rpq-carbon);color:var(--rpq-yellow);font-size:13px;font-weight:950}.rpq-number{font-size:10px;font-weight:950;letter-spacing:.085em;color:#77601f;text-transform:uppercase}.rpq-name{margin:4px 0 6px;font-size:18px;font-weight:900;line-height:1.15}.rpq-meta{display:flex;flex-wrap:wrap;gap:6px;color:#5e6670;font-size:12px}.rpq-chip{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;border-radius:999px;background:#f0f2f5;color:#414851;font-size:10px;font-weight:900}.rpq-chip-DRAFT{background:#fff0a8;color:#664d00}.rpq-chip-ACCEPTED{background:#dff5e8;color:#176a3c}.rpq-chip-REJECTED{background:#fde7e7;color:#942828}.rpq-chip-ARCHIVED{background:#eceff2;color:#616975}.rpq-chip-SHARED{background:#e3efff;color:#245c9b}.rpq-card-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-top:16px;padding-top:12px;border-top:1px solid #edf0f2}.rpq-card-bottom small{color:#69727b;font-size:10px}.rpq-total{display:flex;align-items:center;gap:8px;font-size:19px;font-weight:950;white-space:nowrap}.rpq-total small{display:block;margin-right:2px;color:#737b85;font-size:9px;font-weight:750;text-transform:uppercase}.rpq-card-arrow{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:#f1f3f4;color:#29323a;font-size:14px}.rpq-empty,.rpq-loading,.rpq-error{grid-column:1/-1;padding:42px 22px;border:1px dashed #cfd4da;border-radius:14px;text-align:center;background:#fafbfc;color:#5f6873}.rpq-error{border-color:#e6b9b9;background:#fff6f6;color:#922}
.rpq-detail{margin-top:18px;border:1px solid #d9dee2;border-radius:18px;background:#fff;box-shadow:0 15px 38px rgba(17,24,39,.09);overflow:hidden}.rpq-detail-head{display:flex;justify-content:space-between;gap:18px;padding:23px 24px;border-bottom:1px solid #2b333a;background:linear-gradient(135deg,#1a2127,#0f1418);color:#fff}.rpq-detail-head .rpq-number{color:var(--rpq-yellow)}.rpq-detail-head h2{margin:4px 0 7px;font-size:25px;letter-spacing:-.6px}.rpq-detail-head .rpq-meta{color:#b5bec6}.rpq-detail-actions{display:flex;align-items:flex-start;flex-wrap:wrap;justify-content:flex-end;gap:8px}.rpq-detail-head .rpq-btn-secondary{border-color:#ffffff26;background:#ffffff12;color:#fff}.rpq-detail-head .rpq-btn-danger{border-color:#ffb3b340;background:#721f1f40;color:#ffd4d4}.rpq-info{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:17px 24px;border-bottom:1px solid #eceff2;background:#fafbfb}.rpq-info div{min-width:0}.rpq-info small{display:block;margin-bottom:3px;color:#737b85;font-size:9px;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.rpq-info strong{display:block;overflow-wrap:anywhere}.rpq-items{padding:4px 24px 18px}.rpq-line{display:grid;grid-template-columns:minmax(0,1fr) 80px 120px 120px 40px;gap:12px;align-items:center;padding:15px 0;border-bottom:1px solid #edf0f2}.rpq-line-name{font-weight:850}.rpq-line-name small{display:block;margin-top:4px;color:#666f79;font-weight:600}.rpq-price{text-align:right;font-variant-numeric:tabular-nums}.rpq-icon-btn{display:inline-grid;place-items:center;width:36px;height:36px;border:1px solid #e0e3e7;border-radius:9px;background:#fff;color:#9d2d2d;font-size:18px;cursor:pointer}.rpq-totals{width:min(390px,100%);margin:18px 24px 24px auto;padding:16px 18px;border-radius:12px;background:#f4f5f5}.rpq-total-row{display:flex;justify-content:space-between;gap:20px;padding:5px 0;font-variant-numeric:tabular-nums}.rpq-total-row-final{margin-top:5px;padding-top:10px;border-top:1px solid #cfd4da;font-size:20px;font-weight:950}.rpq-note{margin:0 24px 22px;padding:13px 15px;border-left:4px solid #e5b12b;background:#fff9e9;color:#5b4b1f;font-size:13px;line-height:1.45}
.rpq-dialog{width:min(720px,calc(100vw - 30px));max-height:calc(100vh - 34px);padding:0;border:0;border-radius:18px;background:#fff;color:var(--rpq-ink);box-shadow:0 30px 90px rgba(0,0,0,.38);overflow:hidden}.rpq-dialog::backdrop{background:rgba(10,15,20,.67);backdrop-filter:blur(3px)}.rpq-dialog-head{position:relative;display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:20px 22px;border-bottom:1px solid #2a3137;background:linear-gradient(135deg,#1b2228,#0f1418);color:#fff}.rpq-dialog-head::before{content:"";position:absolute;left:0;top:0;width:100%;height:4px;background:var(--rpq-yellow)}.rpq-dialog-head h2{margin:0;font-size:22px}.rpq-dialog-head p{margin:5px 0 0;color:#aeb8c0;font-size:12px}.rpq-close{width:35px;height:35px;border:1px solid #ffffff18;border-radius:9px;background:#ffffff10;color:#fff;font-size:22px;cursor:pointer}.rpq-dialog-body{padding:20px 22px;overflow:auto;background:#f7f8f7}.rpq-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.rpq-field{display:block}.rpq-field-wide{grid-column:1/-1}.rpq-field span{display:block;margin-bottom:6px;font-size:11px;font-weight:900}.rpq-required{color:#a22525}.rpq-dialog-foot{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:14px 22px;border-top:1px solid #e0e4e7;background:#fff}.rpq-picker-search{margin-bottom:13px;background:#fff}.rpq-picker-list{display:grid;gap:9px;max-height:340px;overflow:auto}.rpq-pick{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;padding:13px 14px;border:1px solid #dfe3e8;border-radius:11px;background:#fff;color:inherit;text-align:left;cursor:pointer}.rpq-pick:hover,.rpq-pick[aria-current=true]{border-color:#d1a21e;background:#fff8cf;box-shadow:inset 4px 0 0 var(--rpq-yellow)}.rpq-pick strong,.rpq-pick small{display:block}.rpq-pick small{margin-top:3px;color:#68727c;font-size:11px}.rpq-suggested{padding:5px 8px;border-radius:999px;background:#dff5e8;color:#176a3c;font-size:9px;font-weight:950;text-transform:uppercase}.rpq-card-add{width:100%;margin-top:8px;border:1px solid #d2a82a;background:#fff8cf;color:#4f3d08}.rpq-status{min-height:20px;margin-right:auto;color:#68717b;font-size:12px}
#nav-quotes .badge{display:none}#nav-quotes.has-active .badge{display:inline-flex}
@media(max-width:900px){.rpq-hero{grid-template-columns:minmax(0,.62fr) minmax(230px,.38fr)}.rpq-hero>div:first-child{padding:29px 27px 80px}.rpq-hero>.rpq-btn{left:27px;bottom:25px}.rpq-overview{grid-template-columns:repeat(3,minmax(0,1fr))}.rpq-toolbar{grid-template-columns:1fr 160px}.rpq-toolbar .rpq-btn{grid-column:1/-1}.rpq-grid{grid-template-columns:1fr}.rpq-info{grid-template-columns:repeat(2,minmax(0,1fr))}.rpq-line{grid-template-columns:minmax(0,1fr) 54px 92px 36px}.rpq-line .rpq-unit{display:none}}
@media(max-width:620px){.rpq-hero{display:block;min-height:455px}.rpq-hero::after{position:absolute;inset:auto 0 0;height:184px;min-height:184px;background-position:center}.rpq-hero>div:first-child{padding:24px 22px 0}.rpq-hero h1{font-size:39px}.rpq-hero p:not(.rpq-kicker){font-size:13px}.rpq-hero-points{display:none}.rpq-hero>.rpq-btn{left:22px;bottom:200px}.rpq-hero-label{right:12px;bottom:12px}.rpq-overview{grid-template-columns:1fr}.rpq-workhead{align-items:flex-start;flex-direction:column;gap:4px}.rpq-toolbar{grid-template-columns:1fr}.rpq-toolbar .rpq-btn{grid-column:auto}.rpq-active{align-items:flex-start;flex-direction:column}.rpq-card-bottom{align-items:flex-start;flex-direction:column}.rpq-total{width:100%;justify-content:flex-end}.rpq-detail-head{flex-direction:column}.rpq-detail-actions{justify-content:flex-start}.rpq-info{grid-template-columns:1fr}.rpq-items{padding:4px 15px 15px}.rpq-line{grid-template-columns:minmax(0,1fr) 55px 86px 34px;gap:7px}.rpq-line .rpq-unit{display:none}.rpq-form-grid{grid-template-columns:1fr}.rpq-field-wide{grid-column:auto}.rpq-dialog-body{padding:17px}.rpq-totals{margin:16px 15px 20px;width:auto}.rpq-note{margin:0 15px 20px}}
@media print{body.rpq-printing>*{display:none!important}body.rpq-printing #page-app{display:block!important}body.rpq-printing #page-app>*{display:none!important}body.rpq-printing #page-app main{display:block!important}body.rpq-printing .rpq-page>*{display:none!important}body.rpq-printing .rpq-detail{display:block!important;margin:0;border:0;box-shadow:none}body.rpq-printing .rpq-detail-actions,body.rpq-printing .rpq-icon-btn{display:none!important}.rpq-note{break-inside:avoid}}
/* Preventivi V2: fotografia chiara, controlli coerenti anche fuori dalla pagina. */
.rpq-btn{--rpq-yellow:#ffd21f;border-radius:12px;background:linear-gradient(135deg,#ffe773,#ffd21f);color:#152234;box-shadow:0 5px 14px #ffd21f25;letter-spacing:-.15px}.rpq-btn-secondary{background:#fff;border-color:#dbe3ec;box-shadow:0 3px 10px #12223c06}.rpq-card-add{width:auto;min-width:160px;margin:8px 0 0;background:#f4f8fc;border-color:#d6e2f0;color:#254765}.rpq-hero{background:#f5f8fc;border-color:#e1e8ef;box-shadow:0 18px 48px #244b7810;grid-template-columns:1.05fr 1fr}.rpq-hero::after{background:center/cover no-repeat url('/assets/customer-hero-studio.png');min-height:320px}.rpq-hero h1{color:#172c43;max-width:11ch}.rpq-hero p:not(.rpq-kicker){color:#526980}.rpq-hero-points span{background:white;border-color:#e1e8f0;color:#49617a}.rpq-hero-label{display:none}.rpq-hero>.rpq-btn{background:linear-gradient(135deg,#ffe773,#ffd21f);border:0;color:#192a3e}.rpq-commercial-dialog{max-width:880px;width:calc(100% - 32px)}.rpq-commercial-dialog h3{font-size:18px;letter-spacing:-.4px;margin:25px 0 14px}.rpq-live-price{background:linear-gradient(120deg,#f1f7ff,#fff9da);border:1px solid #dce7f0;border-radius:18px;padding:22px;margin:18px 0}.rpq-live-price>span,.rpq-live-price>strong,.rpq-live-price>small{display:block}.rpq-live-price>strong{font-size:38px;letter-spacing:-1.5px;margin:8px 0}.rpq-live-price small,.rpq-help{color:#53687c;line-height:1.6}.rpq-manual-row{display:grid;grid-template-columns:1fr 95px 125px 40px;gap:8px;margin:10px 0}#rpq-logo-preview{max-width:190px;max-height:80px;object-fit:contain;margin:10px;display:block}#rpq-logo-preview[hidden]{display:none}.rpq-commercial-summary{border:1px solid #deebf4;border-radius:15px;background:#f7fbff;padding:18px}.rpq-dialog{--rpq-yellow:#ffd21f}.rpq-dialog-foot{position:sticky;bottom:0}.rpq-dialog{max-height:92vh;overflow:auto}@media(max-width:620px){.rpq-manual-row{grid-template-columns:1fr 1fr 38px}.rpq-manual-row>input:first-child{grid-column:1/-1}.rpq-hero{min-height:470px}.rpq-hero::after{height:185px;min-height:185px;background-size:contain;background-color:white}}
.rpq-page *,.rpq-dialog *{box-sizing:border-box}.rpq-dialog-head,.rpq-detail-head{background:linear-gradient(110deg,#eef5ff,#fffef5);color:#172c43;border-top:3px solid #ffd21f}.rpq-dialog-head h2,.rpq-detail-head h2{color:#172c43}.rpq-dialog-head p{color:#61748a}.rpq-close{background:white;color:#254765;border:1px solid #d9e3ee}.rpq-manual-row input{min-width:0;width:100%}
/* Direzione fotografica RicambiPro: blu, foto integrata, accenti gialli. */
.rpq-page{--rpq-ink:#102948;--rpq-muted:#65768e;--rpq-yellow:#ffda24;--rpq-yellow-soft:#eff5ff;--rpq-line:#dde7f3}
.rpq-hero{display:block;min-height:375px;border:0;border-radius:24px;background:#06366a url('/assets/quote-workshop-hero.png') center/cover no-repeat;box-shadow:0 16px 38px #153b7024;isolation:isolate}
.rpq-hero::before{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,#063b80bd 0%,#04357055 42%,transparent 65%);pointer-events:none}
.rpq-hero::after{display:none}.rpq-hero>div:first-child{position:relative;width:55%;padding:34px 38px 92px;z-index:1}.rpq-hero .rpq-kicker{color:#ffdd2a;font-size:10px;letter-spacing:.2em}.rpq-hero h1{color:white;max-width:16ch;font-size:clamp(36px,4.5vw,56px);line-height:1.02;letter-spacing:-2.1px}.rpq-hero p:not(.rpq-kicker){color:#d9eaff;max-width:390px;font-size:14px;line-height:1.6}.rpq-hero-points{gap:14px}.rpq-hero-points span{background:none;border:0;border-radius:0;color:#d9eaff;padding:0;font-size:9px}.rpq-hero-points span::before{content:"✓";color:#ffe128;margin-right:5px}.rpq-hero>.rpq-btn{left:38px;bottom:28px;background:#ffdd29;color:#132844;box-shadow:0 8px 22px #0003;border-radius:12px;padding:12px 20px}.rpq-btn{border-radius:11px;letter-spacing:-.2px;transition:transform .18s,box-shadow .18s,background .18s}.rpq-btn:hover{box-shadow:0 8px 22px #184f8d22}.rpq-btn-secondary{color:#204b78;background:#f5f9ff;border-color:#dbe7f5}.rpq-card-add{background:linear-gradient(120deg,#0753a2,#167dcc);color:#fff;border:0;font-size:12px;min-height:36px;padding:8px 14px;box-shadow:0 4px 12px #1168b926}.rpq-card-add:hover{background:#064f9b;color:#fff}
.rpq-overview{gap:14px;margin:18px 0 32px}.rpq-overview article{border-radius:16px;padding:18px;background:white;box-shadow:0 4px 16px #17437008;border:1px solid #dfe8f4}.rpq-overview-icon{background:#eaf3ff;color:#1266b3;border-radius:12px}.rpq-overview strong{color:#143c6c}.rpq-overview article.rpq-overview-active{background:linear-gradient(120deg,#0750a0,#1679c2);border:0;color:white}.rpq-overview-active small,.rpq-overview-active strong{color:white}.rpq-overview-active .rpq-overview-icon{background:#ffffff20;color:#ffdd2b}.rpq-kicker{color:#2768a4}.rpq-toolbar{background:white;padding:10px;border:1px solid #e2eaf4;border-radius:16px;box-shadow:0 5px 18px #17437005}.rpq-active{background:#edf5ff;border-color:#d6e7fa;box-shadow:none;color:#224e7d}.rpq-dot{background:#2a8ce2}.rpq-card{border:1px solid #dce8f4;border-top:3px solid #1b75c6;border-radius:18px;box-shadow:0 5px 16px #12385f06;transition:transform .18s,box-shadow .18s}.rpq-card:hover{transform:translateY(-2px);box-shadow:0 12px 24px #16467516}.rpq-card-avatar{background:linear-gradient(135deg,#e9f3ff,#d4e8ff);color:#115da8;border-radius:13px}.rpq-number{color:#2867a1}.rpq-card-arrow{background:#e6f1ff;color:#1266b3}.rpq-chip-DRAFT{background:#fff2a4;color:#655000}.rpq-total{color:#123c67}
.rpq-dialog-head,.rpq-detail-head{background:linear-gradient(105deg,#08458d,#1677c0);border-top:0;color:white}.rpq-dialog-head h2,.rpq-detail-head h2,.rpq-detail-head .rpq-number{color:white}.rpq-dialog-head p{color:#cfe8ff}.rpq-dialog-head .rpq-kicker{color:#ffdc29}.rpq-close{color:white;background:#ffffff18;border-color:#ffffff30;border-radius:10px}.rpq-live-price{background:linear-gradient(120deg,#e7f3ff,#f4f8ff);border-color:#cce1f7}.rpq-live-price>strong{color:#075ca8}.rpq-commercial-summary{background:#f1f7ff;border-color:#d4e5f7}.rpq-total-row-final{background:linear-gradient(115deg,#06468f,#147ac4);color:white;border:0;border-radius:12px;padding:18px}.rpq-detail{border-color:#dce7f4}.rpq-detail-head .rpq-btn-secondary{background:#ffffff16;color:white;border-color:#ffffff38}.rpq-dialog-foot .rpq-btn{background:#ffdd29;color:#102948}
@media(max-width:800px){.rpq-hero>div:first-child{width:62%;padding-left:26px}.rpq-hero>.rpq-btn{left:26px}.rpq-hero h1{font-size:43px}.rpq-hero{background-position:57% center}}
@media(max-width:620px){.rpq-hero{min-height:460px;background-size:auto 100%;background-position:65% center}.rpq-hero::before{background:linear-gradient(90deg,#062a61f2,#073669c4 55%,#06346840)}.rpq-hero>div:first-child{width:100%;padding:28px 24px 100px}.rpq-hero h1{font-size:43px;max-width:10ch}.rpq-hero p:not(.rpq-kicker){max-width:270px;font-size:14px}.rpq-hero>.rpq-btn{left:24px;bottom:30px}.rpq-hero-points{display:flex;max-width:250px;gap:9px}.rpq-overview{gap:9px}.rpq-overview article{padding:14px}.rpq-detail-head .rpq-detail-actions{gap:8px}}
@media(prefers-reduced-motion:reduce){.rpq-btn,.rpq-card{transition:none}.rpq-btn:hover,.rpq-card:hover{transform:none}}

.rpq-workshop{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fff;border:1px solid #dce8f4;border-radius:18px;padding:20px;margin:0 0 26px}.rpq-workshop>div{display:flex;gap:18px;align-items:center;min-width:0}.rpq-workshop img{max-width:100px;max-height:58px;object-fit:contain}.rpq-workshop strong{font-size:18px}.rpq-workshop p{margin:6px 0 0;color:#65768e;font-size:13px}@media(max-width:620px){.rpq-workshop{align-items:flex-start;flex-direction:column}}

/* Profilo preventivi: punto di accesso permanente e riconoscibile. */
.rpq-workshop{position:relative;padding:25px 28px;background:linear-gradient(115deg,#fff5b4 0%,#ffdf38 75%,#ffd21f 100%);border:1px solid #f4cf35;box-shadow:0 10px 26px #d5ad1a18;gap:24px;border-radius:20px;overflow:hidden}
.rpq-workshop::after{content:'';position:absolute;right:185px;top:-65px;width:220px;height:220px;border:35px solid #ffffff24;border-radius:50%;pointer-events:none}
.rpq-workshop>div,.rpq-workshop>button{position:relative;z-index:1}.rpq-workshop strong{display:block;font-size:25px;letter-spacing:-.6px;color:#123357;line-height:1.15}.rpq-profile-label{display:block;font-size:10px;font-weight:850;letter-spacing:.13em;text-transform:uppercase;margin-bottom:7px;color:#405369}.rpq-workshop p{color:#35465a;font-size:13px;line-height:1.5;max-width:560px}.rpq-workshop img{background:white;border-radius:12px;padding:9px;max-width:105px;max-height:72px}.rpq-workshop #rpq-workshop-edit{flex-shrink:0;background:#103d73;color:#fff;border:1px solid #174c88;box-shadow:0 6px 18px #103d7320;min-height:46px;padding:12px 18px}.rpq-workshop #rpq-workshop-edit:hover{background:#075ba2;box-shadow:0 8px 20px #103d7330}
@media(max-width:620px){.rpq-workshop{padding:22px;gap:18px}.rpq-workshop strong{font-size:23px}.rpq-workshop #rpq-workshop-edit{width:100%}.rpq-workshop::after{right:-80px}.rpq-workshop>div{flex-wrap:wrap}}

/* Messaggio testata: marchio officina e vantaggi concreti. */
.rpq-hero h1{max-width:none;font-size:clamp(30px,3.2vw,43px);line-height:1.08;letter-spacing:-1px}.rpq-hero h1 span{display:block;margin-top:12px;font-size:.57em;line-height:1.2;letter-spacing:.025em;color:#ffdd29}.rpq-hero p:not(.rpq-kicker){max-width:455px}.rpq-workshop strong{font-size:23px;letter-spacing:-.35px}@media(max-width:620px){.rpq-hero h1{font-size:31px}.rpq-hero h1 span{font-size:.62em}.rpq-workshop strong{font-size:21px}}

.result-actions .rpq-card-add{align-self:stretch;width:100%;margin:2px 0 0;min-height:43px;border:1px solid #1766ad;background:linear-gradient(115deg,#103d73,#0872be);color:#fff;justify-content:center;gap:9px;border-radius:11px;font-size:12px;font-weight:800;white-space:normal}.rpq-add-icon{width:21px;height:21px;flex:0 0 21px;color:#ffdd29}.result-actions .rpq-card-add:hover{background:linear-gradient(115deg,#0a4b8b,#1088d1);box-shadow:0 7px 16px #103d7326}.result-actions .rpq-card-add:disabled{opacity:.5;box-shadow:none;transform:none}

.rpq-purchase-dialog{width:min(1080px,calc(100vw - 24px))}.rpq-purchase-all{display:flex;gap:12px;align-items:center;font-weight:800;color:#124c83;padding:14px;background:#e8f3ff;border-radius:12px}.rpq-purchase-lines article{display:grid;grid-template-columns:minmax(180px,1fr) 90px minmax(180px,.65fr) auto;gap:16px;align-items:center;padding:18px 0;border-bottom:1px solid #dce7f1}.rpq-purchase-lines article>label:first-child{display:flex;gap:10px;align-items:center}.rpq-purchase-lines input[type=checkbox],.rpq-purchase-all input{width:20px;height:20px;accent-color:#126fc0;flex-shrink:0}.rpq-purchase-lines small{display:block;color:#5e7286;line-height:1.7}.rpq-purchase-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:16px 0}.rpq-purchase-summary strong{display:block;font-size:21px;color:#123d6b}.rpq-purchase-dialog #qp-feedback{line-height:1.6;color:#174d79;font-weight:700}@media(max-width:700px){.rpq-purchase-lines article{grid-template-columns:1fr 80px}.rpq-purchase-summary{grid-template-columns:1fr 1fr}}

/* Per-line selling price editor */
.rpq-part-price{border:1px solid #d7e1ec;border-radius:16px;padding:18px;margin-bottom:14px;background:linear-gradient(130deg,#f5f9ff,#fff)}.rpq-part-title{display:grid;gap:5px;margin-bottom:14px}.rpq-part-title strong{color:#122b46}.rpq-part-title small{color:#526579}.rpq-part-controls{display:grid;grid-template-columns:1fr 1fr;gap:14px}.rpq-part-result{margin-top:12px;padding:12px;border-left:3px solid #f4c52a;background:#fff9df;color:#253b50;font-size:13px;line-height:1.6}@media(max-width:600px){.rpq-part-controls{grid-template-columns:1fr}}

/* Preventivi: icona coerente con il menu illustrato, solo presentazione. */
#page-app #client-navigation #nav-quotes > svg.ico{background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paper%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23fff%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23d9ecf7%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22gold%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23ffe889%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23f4af16%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M6%203h14l6%206v19a2%202%200%200%201-2%202H6a2%202%200%200%201-2-2V5a2%202%200%200%201%202-2Z%22%20fill%3D%22%23447693%22%20opacity%3D%22.2%22%2F%3E%3Cpath%20d%3D%22M6%202h13l6%206v18a2%202%200%200%201-2%202H6a2%202%200%200%201-2-2V4a2%202%200%200%201%202-2Z%22%20fill%3D%22url(%23paper)%22%20stroke%3D%22%235485a1%22%20stroke-width%3D%221.4%22%2F%3E%3Cpath%20d%3D%22M19%202v6h6%22%20fill%3D%22%2382d1ff%22%20stroke%3D%22%235485a1%22%20stroke-width%3D%221.2%22%20stroke-linejoin%3D%22round%22%2F%3E%3Crect%20x%3D%228%22%20y%3D%229%22%20width%3D%227%22%20height%3D%223%22%20rx%3D%221%22%20fill%3D%22%232585ca%22%2F%3E%3Cpath%20d%3D%22M8%2016h11M8%2020h8M8%2024h5%22%20stroke%3D%22%237b9caf%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22m16%2025%202-6L27%2010a2%202%200%200%201%203%203l-9%2010-5%202Z%22%20fill%3D%22url(%23gold)%22%20stroke%3D%22%23bd8517%22%20stroke-width%3D%221%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22m27%2010%203%203%22%20stroke%3D%22%23ffd995%22%20stroke-width%3D%222%22%2F%3E%3Cpath%20d%3D%22m16%2025%201-3%202%202Z%22%20fill%3D%22%23456178%22%2F%3E%3Cpath%20d%3D%22m20%2020%207-7%22%20stroke%3D%22%23fff0ad%22%20stroke-width%3D%221.3%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;flex-shrink:0;width:20px;height:20px;overflow:visible}
#page-app #client-navigation #nav-quotes > svg.ico > use{visibility:hidden}
