:root{--brand:#981b1e;--brand2:#6f1215;--accent:#efb31b;--ink:#1f2937;--muted:#667085;--bg:#f4f6f8;--card:#fff;--line:#e2e7ee;--green:#137a4e;--orange:#b65f08;--blue:#2359a5;--red:#b42318;--shadow:0 8px 26px rgba(16,24,40,.08)}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink);background:var(--bg)}button,input,textarea,select{font:inherit}button{cursor:pointer}.boot{height:100vh;display:flex;align-items:center;justify-content:center;background:#fff;padding:24px}.boot-wrap{display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center}.boot-brand{display:flex;align-items:flex-end;justify-content:center;gap:16px}.boot img{width:min(72vw,310px);height:auto;display:block}.boot span{font-weight:800;font-size:12px;letter-spacing:.18em;color:var(--muted)}.boot-credit{position:fixed;left:50%;bottom:14px;transform:translateX(-50%);width:calc(100% - 32px);max-width:680px;text-align:center;font-size:11px;color:#98a2b3;letter-spacing:.02em;pointer-events:none}
.login{min-height:100vh;display:grid;grid-template-columns:minmax(320px,520px) 1fr;position:relative}.login-form{display:flex;align-items:center;padding:clamp(30px,7vw,92px);background:white}.login-box{width:100%;max-width:370px;margin:auto}.login-brand{display:flex;align-items:flex-end;gap:14px;margin-bottom:38px}.login-logo{display:block;width:min(100%,295px);height:auto;object-fit:contain}.login-product{font-size:12px;font-weight:800;letter-spacing:.18em;color:#697386;padding-bottom:9px}.brand{font-weight:900;letter-spacing:.06em;color:var(--brand);font-size:25px}.brand small{color:#6b7280;font-size:13px;letter-spacing:.14em;margin-left:8px}.login h1{margin:0 0 8px;font-size:30px}.login p{color:var(--muted);line-height:1.55}.login-hero{background:linear-gradient(135deg,rgba(111,18,21,.98),rgba(152,27,30,.88)),radial-gradient(circle at 80% 20%,#efb31b,transparent 34%);color:#fff;display:flex;align-items:flex-end;padding:8vw}.login-hero h2{font-size:clamp(32px,5vw,64px);max-width:760px;line-height:1.03;margin:0 0 18px}.login-hero p{max-width:650px;color:#f4d9da;font-size:18px}.login-credit{position:fixed;left:50%;bottom:14px;transform:translateX(-50%);width:calc(100% - 32px);max-width:680px;text-align:center;font-size:11px;color:#98a2b3;z-index:6;letter-spacing:.02em;pointer-events:none}
.field{display:grid;gap:6px;margin:14px 0}.field label{font-size:12px;font-weight:700;color:#475467}.field input,.field select,.field textarea{width:100%;border:1px solid #d0d5dd;border-radius:9px;padding:11px 12px;background:#fff;color:#101828;outline:none}.field input:focus,.field select:focus,.field textarea:focus{border-color:#b55d60;box-shadow:0 0 0 3px rgba(152,27,30,.08)}.field textarea{min-height:95px;resize:vertical}.btn{border:0;border-radius:9px;padding:10px 14px;font-weight:750;background:#fff;color:#344054;border:1px solid #d0d5dd}.btn:hover{filter:brightness(.98)}.btn.primary{background:var(--brand);border-color:var(--brand);color:#fff}.btn.green{background:var(--green);border-color:var(--green);color:#fff}.btn.danger{background:#fff3f2;color:var(--red);border-color:#fecdca}.btn.ghost{background:transparent}.btn.small{padding:7px 10px;font-size:12px}.btn.block{width:100%}.btn:disabled{opacity:.5;cursor:not-allowed}
.shell{min-height:100vh;min-width:0}.sidebar{position:fixed;left:0;top:0;bottom:0;width:242px;background:#1d232c;color:#d7dee8;padding:22px 14px;z-index:20;display:flex;flex-direction:column}.sidebar .brand{padding:0 12px 22px;color:white}.sidebar .brand small{color:#aeb7c4}.nav{display:grid;gap:5px}.nav a{color:#bfc7d2;text-decoration:none;padding:10px 12px;border-radius:9px;font-size:14px;font-weight:650;display:flex;gap:10px;align-items:center}.nav a:hover,.nav a.active{background:#303844;color:#fff}.nav .ico{width:22px;text-align:center}.side-user{margin-top:auto;border-top:1px solid #343c47;padding:16px 10px 4px}.side-user strong{display:block;color:white;font-size:13px}.side-user span{font-size:11px;color:#99a4b3}.main{margin-left:242px;min-height:100vh;min-width:0;width:calc(100% - 242px)}.topbar{height:68px;background:white;border-bottom:1px solid var(--line);padding:0 28px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:15}.topbar h1{font-size:18px;margin:0}.top-actions{display:flex;gap:8px;align-items:center}.notif-dot{display:inline-flex;min-width:18px;height:18px;padding:0 5px;background:var(--brand);color:#fff;border-radius:20px;font-size:10px;align-items:center;justify-content:center}.content{padding:26px;width:100%;max-width:1500px;min-width:0;margin:auto}.mobile-menu{display:none}.menu-backdrop{display:none}
.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.kpi{background:var(--card);border:1px solid var(--line);border-radius:13px;padding:18px;box-shadow:0 2px 6px rgba(16,24,40,.025)}.kpi .label{color:var(--muted);font-size:12px;font-weight:650}.kpi .value{font-size:31px;font-weight:850;margin-top:7px}.kpi .sub{font-size:11px;color:#98a2b3;margin-top:4px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.card{background:white;border:1px solid var(--line);border-radius:13px;box-shadow:0 2px 6px rgba(16,24,40,.025);overflow:hidden;min-width:0;max-width:100%}.card-head{padding:16px 18px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.card-head h2{font-size:14px;margin:0}.card-body{padding:16px 18px;min-width:0;max-width:100%}.section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.section-head h2{margin:0;font-size:23px}.section-head p{margin:4px 0 0;color:var(--muted);font-size:13px}.actions{display:flex;gap:8px;flex-wrap:wrap}
.table-wrap{width:100%;max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain}.table{width:100%;border-collapse:collapse;min-width:760px}.table th{background:#f8fafc;color:#667085;font-size:11px;text-transform:uppercase;letter-spacing:.04em;text-align:left;padding:10px 12px;border-bottom:1px solid var(--line)}.table td{padding:12px;border-bottom:1px solid #edf0f4;font-size:13px;vertical-align:middle}.table tr.click:hover{background:#fafbfc;cursor:pointer}.code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;font-weight:750;color:#344054}.badge{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:750;background:#eef2f6;color:#475467;white-space:nowrap}.badge.critical,.badge.cancelled{background:#fee4e2;color:#b42318}.badge.high,.badge.waiting_parts{background:#fff1dc;color:#a15c00}.badge.medium,.badge.scheduled{background:#eaf2ff;color:#2456a5}.badge.low{background:#eef4f0;color:#397255}.badge.open{background:#f2f4f7}.badge.taken,.badge.travel{background:#fff7d6;color:#816000}.badge.working{background:#e8f1ff;color:#175cd3}.badge.resolved,.badge.completed,.badge.closed{background:#e7f7ef;color:#067647}.badge.waiting_customer{background:#f4ebff;color:#6941c6}
.list{display:grid}.list-item{padding:13px 0;border-bottom:1px solid #edf0f4;display:flex;justify-content:space-between;gap:14px;align-items:center}.list-item:last-child{border-bottom:0}.list-item h3{font-size:13px;margin:0 0 3px}.list-item p{font-size:11px;color:var(--muted);margin:0}.empty{padding:38px;text-align:center;color:#98a2b3}.filters{display:flex;gap:9px;align-items:end;flex-wrap:wrap;margin-bottom:14px}.filters .field{margin:0;min-width:150px}.filters .field input,.filters .field select{padding:8px 10px}
.detail-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:18px}.meta-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.meta{padding:12px;background:#f8fafc;border-radius:9px}.meta b{display:block;font-size:10px;text-transform:uppercase;color:#667085;margin-bottom:5px}.meta span{font-size:13px}.description{white-space:pre-wrap;line-height:1.55;font-size:13px}.timeline{display:grid;gap:10px}.timeline .event{border-left:3px solid #d0d5dd;padding-left:12px}.timeline .event strong{font-size:12px}.timeline .event div{font-size:11px;color:var(--muted)}
.agenda-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.agenda{display:grid;grid-template-columns:repeat(7,minmax(150px,1fr));gap:10px;overflow:auto;padding-bottom:8px}.day{background:#fff;border:1px solid var(--line);border-radius:12px;min-height:300px}.day-head{padding:10px;border-bottom:1px solid var(--line);font-size:11px;text-transform:uppercase;color:#667085;position:sticky;top:0;background:#fff;border-radius:12px 12px 0 0}.day-head b{display:block;color:#101828;font-size:18px}.appointment{margin:8px;padding:17px 10px 10px 14px;border-radius:9px;background:#f6f7f9;font-size:11px;cursor:pointer;position:relative;overflow:hidden;border:1px solid #e4e7ec}.appointment:before{content:'';position:absolute;left:0;top:0;bottom:0;width:6px;background:var(--status-color,#667085);z-index:2}.appointment .tech-band{position:absolute;left:6px;right:0;top:0;height:8px;display:block;z-index:1;border-bottom:1px solid rgba(0,0,0,.08)}.appointment time{font-weight:800;display:block;margin-bottom:4px}.appointment strong{display:block;font-size:12px}.appointment>span{color:#667085}.agenda-techs{display:flex;flex-direction:column;gap:3px;margin-top:7px}.agenda-techs span{display:flex;align-items:center;gap:5px;font-size:10px;color:#667085}.agenda-techs i,.tech-dot,.tech-check i{width:10px;height:10px;border-radius:50%;display:inline-block;flex:0 0 10px}.tech-dot{margin-right:7px;vertical-align:-1px}.tech-check{display:flex;align-items:center;gap:6px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.form-grid .full{grid-column:1/-1}.checkline{display:flex;gap:10px;align-items:center}.materials{display:grid;gap:8px}.material-row{display:grid;grid-template-columns:1fr 90px 80px 36px;gap:8px;align-items:center}.material-row input{min-width:0}.intervention-material-card{overflow:visible}.intervention-material-card .card-body{overflow:visible}.material-picker{position:relative;min-width:0}.material-picker>.mat-desc{width:100%}.material-suggestions{display:none;position:fixed;z-index:140;max-height:300px;overflow:auto;overscroll-behavior:contain;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 18px 40px rgba(16,24,40,.22)}.material-suggestions.open{display:block}.material-suggestion{width:100%;border:0;border-bottom:1px solid #edf0f4;background:#fff;text-align:left;padding:10px 11px;display:grid;grid-template-columns:minmax(110px,.45fr) 1fr auto;gap:10px;align-items:center;cursor:pointer;color:#101828}.material-suggestion:last-child{border-bottom:0}.material-suggestion:hover,.material-suggestion:focus{background:#f8fafc;outline:none}.material-suggestion .material-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;font-weight:750;color:#344054}.material-suggestion span:nth-child(2){font-size:12px;line-height:1.35}.material-suggestion small{font-size:10px;color:#667085}.material-noresult{padding:12px;color:#667085;font-size:11px;line-height:1.4}.material-import-stats{display:flex;flex-wrap:wrap;gap:10px 18px;margin:10px 0 6px;font-size:12px}.material-import-stats strong{font-size:17px;margin-right:4px}.signature{display:block;position:relative;z-index:1;border:1px dashed #98a2b3;border-radius:10px;background:#fff;touch-action:none;overscroll-behavior:contain;-webkit-user-select:none;user-select:none;cursor:crosshair;width:100%;height:160px}.signature-state{margin-top:7px;font-size:11px;color:#667085}.signature-state.ok{color:#15803d;font-weight:700}.photos{display:flex;gap:12px;flex-wrap:wrap}.photo{width:120px;height:90px;object-fit:cover;border-radius:8px;border:1px solid var(--line)}.offline-note{display:none;background:#fff6df;color:#6b4b00;padding:8px 12px;font-size:11px;border-bottom:1px solid #f3dfac}.offline .offline-note{display:block}.customer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.customer{padding:16px;background:#fff;border:1px solid var(--line);border-radius:12px}.customer h3{margin:0 0 6px;font-size:15px}.customer p{margin:2px 0;color:var(--muted);font-size:12px}.customer .count{margin-top:12px;display:flex;gap:14px;font-size:11px}.customer .count b{font-size:17px;display:block;color:#101828}.customer-actions{margin-top:12px;display:flex;gap:7px;flex-wrap:wrap}
.modal-back{position:fixed;inset:0;background:rgba(16,24,40,.46);z-index:60;display:flex;align-items:center;justify-content:center;padding:20px}.modal{width:min(680px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:14px;box-shadow:0 30px 70px rgba(0,0,0,.2)}.modal-head{padding:16px 18px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.modal-head h3{margin:0;font-size:16px}.modal-body{padding:18px}.modal-foot{padding:14px 18px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:8px}.close{border:0;background:transparent;font-size:22px;color:#667085}
#toast{position:fixed;right:20px;bottom:20px;z-index:99;display:grid;gap:8px}.toast{background:#1f2937;color:#fff;padding:11px 14px;border-radius:9px;box-shadow:var(--shadow);font-size:12px;max-width:330px}.toast.error{background:#9b1c1c}.toast.ok{background:#146c46}.spinner{display:inline-block;width:16px;height:16px;border:2px solid #ddd;border-top-color:var(--brand);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.chat-list{display:flex;flex-direction:column;gap:10px;max-height:420px;overflow:auto;padding:4px 2px 12px}.chat-msg{display:flex;justify-content:flex-start}.chat-msg.mine{justify-content:flex-end}.chat-bubble{max-width:min(78%,620px);background:#f2f4f7;border:1px solid #e4e7ec;border-radius:12px;padding:9px 11px;font-size:13px;line-height:1.45}.chat-msg.mine .chat-bubble{background:#eef4ff;border-color:#c7d7fe}.chat-author{font-size:11px;font-weight:750;margin-bottom:4px;color:#344054}.chat-author small{font-weight:500;color:#667085;margin-left:4px}.chat-bubble time{display:block;margin-top:5px;font-size:10px;color:#98a2b3}.chat-compose{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end;border-top:1px solid var(--line);padding-top:12px}.chat-compose textarea{min-height:68px;resize:vertical}.field input[type=color]{width:64px;height:38px;padding:3px;cursor:pointer}@media(max-width:1050px){.kpis{grid-template-columns:repeat(2,1fr)}.grid2,.detail-grid{grid-template-columns:1fr}.customer-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.login{grid-template-columns:1fr}.login-hero{display:none}.login-credit{left:50%;transform:translateX(-50%);text-align:center;width:calc(100% - 32px)}.sidebar{transform:translateX(-100%);transition:.2s}.shell.menu-open .sidebar{transform:none}.main{margin-left:0}.mobile-menu{display:inline-flex}.topbar{padding:0 14px}.content{padding:16px}.kpis{grid-template-columns:1fr 1fr;gap:10px}.kpi{padding:14px}.kpi .value{font-size:25px}.grid2{gap:12px}.section-head{align-items:flex-start;flex-direction:column}.form-grid,.meta-grid{grid-template-columns:1fr}.customer-grid{grid-template-columns:1fr}.material-row{grid-template-columns:1fr 65px 55px 34px}.agenda{grid-template-columns:repeat(7,200px)}.top-actions .hide-mobile{display:none}}
.user-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:760px){.user-kpis{grid-template-columns:1fr}}

@media(max-width:760px){.material-suggestion{grid-template-columns:1fr}.material-suggestion small{display:none}.material-suggestions{max-height:240px}.material-import-stats{display:grid;grid-template-columns:1fr 1fr}}

.customer-locations{margin-top:14px;border-top:1px solid var(--line);padding-top:10px;display:grid;gap:7px}.customer-location{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:8px 9px;background:#f8fafc;border:1px solid #edf0f4;border-radius:9px}.customer-location>div{min-width:0;display:grid;gap:2px}.customer-location b{font-size:12px}.customer-location small{font-size:10.5px;color:#667085;overflow-wrap:anywhere}.customer-locations-empty{margin-top:12px;padding:9px;border:1px dashed #d0d5dd;border-radius:8px;color:#667085;font-size:11px}@media(max-width:760px){.customer-location{align-items:flex-start;flex-direction:column}}

.jobs-table{min-width:1240px}.job-full-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;font-weight:700;color:#344054;max-width:440px;white-space:normal;overflow-wrap:anywhere;line-height:1.45}.job-preview{padding:12px 13px;border:1px solid #d0d5dd;border-radius:9px;background:#f8fafc;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;font-weight:750;overflow-wrap:anywhere;min-height:42px;color:#344054}.jobs-table th:nth-child(6),.jobs-table td:nth-child(6){min-width:150px}.jobs-table td{vertical-align:middle}.job-quote-links{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;min-width:0;padding:2px 0}.job-quote-link{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;line-height:1.2;margin:0;width:max-content;max-width:100%}

/* Preventivi editor v0.1.24 */
.quotes-table{min-width:1050px}.quotes-table .money,.quote-detail-table .money{text-align:right;white-space:nowrap}.quote-detail-table{min-width:820px}.quote-form{display:block}.quote-customer-preview{padding:12px 13px;border:1px solid var(--line);border-radius:9px;background:#f8fafc;font-size:12px;line-height:1.55}.quote-price-list-info{margin-top:8px;padding:9px 11px;border-left:3px solid #667085;background:#f8fafc;font-size:11px;color:#475467}.quote-material-card{overflow:visible}.quote-material-card .card-body{overflow:visible}.quote-material-help{display:block;margin-top:3px;color:#667085;font-size:10px;font-weight:500}.quote-material-scroll{width:100%;overflow-x:auto;overflow-y:visible;padding:0 8px 10px 0;scrollbar-gutter:stable}.quote-item-head{padding:0 8px 8px;font-size:10px;text-transform:uppercase;color:#667085;font-weight:750;letter-spacing:.03em}.quote-item-head span{display:block;white-space:nowrap}.quote-items{display:grid;gap:8px}.quote-item-row{padding:9px 8px;border:1px solid #e4e7ec;border-radius:10px;background:#fff}.quote-item-row input{width:100%;min-width:0;height:38px;border:1px solid #d0d5dd;border-radius:8px;padding:8px 9px;background:#fff;color:#101828;outline:none}.quote-item-row input:focus{border-color:#98a2b3;box-shadow:0 0 0 3px rgba(102,112,133,.09)}.quote-item-row>.btn.danger{justify-self:end;width:34px;min-width:34px;padding:7px 0;margin-right:4px}.quote-item-picker{position:relative;min-width:0;width:100%}.quote-item-picker>input{display:block;width:100%!important;max-width:none}.quote-desc-picker{width:100%!important;min-width:0!important}.quote-desc-picker>.q-desc{display:block;width:100%!important;min-width:0!important;max-width:none!important}.quote-item-suggestions{display:none;position:fixed;z-index:120;max-height:300px;overflow:auto;background:#fff;border:1px solid #d0d5dd;border-radius:10px;box-shadow:0 18px 40px rgba(16,24,40,.2)}.quote-item-suggestions.open{display:block}.quote-item-suggestion{width:100%;border:0;border-bottom:1px solid #edf0f4;background:#fff;padding:10px 11px;display:grid;grid-template-columns:135px minmax(0,1fr) 100px;gap:12px;text-align:left;align-items:center;cursor:pointer;color:#101828}.quote-item-suggestion:last-child{border-bottom:0}.quote-item-suggestion:hover,.quote-item-suggestion:focus{background:#f8fafc;outline:none}.quote-item-suggestion b{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;color:#344054}.quote-item-suggestion span{font-size:12px;line-height:1.35;min-width:0}.quote-item-suggestion span small{display:block;margin-top:3px;color:#667085;font-size:10px}.quote-item-suggestion strong{font-size:11px;white-space:nowrap;text-align:right}.q-line-total,.q-discounted-total{height:38px;display:flex;align-items:center;justify-content:flex-end;padding:0 9px;border:1px solid #e4e7ec;border-radius:8px;background:#f8fafc;font-weight:800;text-align:right;white-space:nowrap;font-size:12px}.q-discounted-total{color:#344054}.q-discount{text-align:right}.quote-bottom{display:grid;grid-template-columns:1fr 380px;gap:16px;margin-top:16px}.quote-totals .card-body{display:grid;gap:10px}.quote-totals .card-body>div{display:flex;justify-content:space-between;gap:18px;padding-bottom:8px;border-bottom:1px solid #edf0f4}.quote-totals .card-body>div:last-child{border-bottom:0}.quote-totals .grand{font-size:17px;padding-top:8px}.quote-totals .grand b{font-size:22px}.quote-savebar{position:sticky;bottom:0;z-index:20;margin-top:18px;padding:12px 0;background:linear-gradient(to top,#f7f8fa 80%,rgba(247,248,250,0));display:flex;justify-content:flex-end;gap:8px}.quote-print{display:block}.num{text-align:right}.money{text-align:right}
@media(max-width:1100px){.quote-bottom{grid-template-columns:1fr}.quote-material-scroll{padding-bottom:10px}}
@media(max-width:760px){.quote-bottom{grid-template-columns:1fr}.quote-savebar{padding:10px}.quote-item-suggestion{grid-template-columns:110px minmax(0,1fr) 90px}}


.quote-doc{display:grid;gap:16px}.quote-doc-header{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding:22px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(135deg,#fff, #f9fafb 55%, #fbf2f2)}.quote-doc-brand{display:flex;gap:18px;align-items:flex-start}.quote-doc-brand img{width:220px;max-width:48vw;height:auto;display:block}.quote-doc-brand h2{margin:6px 0 6px;font-size:28px;line-height:1.05}.quote-doc-brand p{margin:0;color:#667085;font-size:13px}.quote-doc-kicker{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.18em;color:var(--brand)}.quote-doc-meta{display:grid;gap:10px;min-width:250px}.quote-doc-meta>div{padding:11px 13px;border:1px solid #ead7d8;border-radius:12px;background:rgba(255,255,255,.82)}.quote-doc-meta small{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#667085;margin-bottom:4px}.quote-doc-meta strong{font-size:14px;color:#101828}.quote-hero{display:grid;grid-template-columns:1.4fr .7fr;gap:16px;padding:18px 22px;border-radius:16px;background:linear-gradient(135deg,rgba(152,27,30,.97),rgba(111,18,21,.92));color:#fff;box-shadow:0 18px 34px rgba(111,18,21,.16)}.quote-label{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#f2d7d8;margin-bottom:8px}.quote-hero h3{margin:0 0 6px;font-size:26px}.quote-hero p{margin:0;color:#fbe9ea;line-height:1.55}.quote-hero-total{display:flex;flex-direction:column;justify-content:center;align-items:flex-end;text-align:right;border-left:1px solid rgba(255,255,255,.18);padding-left:18px}.quote-hero-total small{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:#f4d9da}.quote-hero-total strong{font-size:34px;line-height:1.05;margin:6px 0}.quote-hero-total span{font-size:12px;color:#f8e7e8}.quote-doc-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.quote-panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;box-shadow:0 2px 6px rgba(16,24,40,.025)}.quote-panel h3{margin:0 0 12px;font-size:15px}.quote-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.quote-system-panel .description{font-size:14px}.quote-note{margin:0;color:#475467;font-size:13px;line-height:1.55}.quote-inline-note{min-height:44px;display:flex;align-items:center;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#f8fafc;font-size:12px;color:#344054}.quote-sign-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:18px}.quote-sign-grid.one{grid-template-columns:1fr}.quote-sign-grid span{display:block;font-size:11px;font-weight:700;color:#667085;text-transform:uppercase;letter-spacing:.06em;margin-bottom:10px}.quote-sign-line{height:72px;border-bottom:2px solid #d0d5dd;border-radius:6px;background:linear-gradient(180deg,rgba(248,250,252,.9),rgba(255,255,255,.4))}.quote-acceptance,.quote-issuer{min-height:230px}.quote-lines .card-head h2{font-size:16px}.quote-totals-elegant{border:1px solid #ead7d8;background:linear-gradient(180deg,#fff,#fcf7f7)}.quote-totals-elegant .card-body>div span{color:#475467}.quote-totals-elegant .grand{padding-top:14px;margin-top:4px;border-top:2px solid #ead7d8}.quote-totals-elegant .grand span{font-weight:700;color:#6f1215}.quote-totals-elegant .grand b{color:#6f1215}.quote-doc-bottom{align-items:start}
@media(max-width:1000px){.quote-doc-header,.quote-hero,.quote-doc-grid,.quote-mini-grid{grid-template-columns:1fr}.quote-doc-meta{min-width:0}.quote-hero-total{align-items:flex-start;text-align:left;border-left:0;border-top:1px solid rgba(255,255,255,.18);padding-left:0;padding-top:16px}}
@media(max-width:760px){.quote-doc-header{padding:16px}.quote-doc-brand{flex-direction:column;gap:10px}.quote-doc-brand img{width:190px}.quote-hero{padding:16px}.quote-hero h3{font-size:22px}.quote-hero-total strong{font-size:28px}.quote-panel{padding:14px}.quote-mini-grid,.quote-sign-grid{grid-template-columns:1fr}}
@media print{.sidebar,.topbar,.section-head .actions,.quote-savebar,#toast,.offline-note{display:none!important}.main{margin-left:0!important}.content{padding:0!important;background:#fff}.section-head{margin-bottom:14px}.card,.quote-panel{box-shadow:none!important;break-inside:avoid}.quote-print{font-size:10pt}.quote-doc-header,.quote-hero,.quote-panel,.quote-lines,.quote-totals-elegant,.quote-acceptance,.quote-issuer{break-inside:avoid}.quote-doc-header{padding:14px 16px;background:#fff!important}.quote-doc-brand h2{font-size:22px}.quote-hero{padding:14px 16px!important;background:#fff!important;color:#111827!important;border:1px solid var(--line)}.quote-hero p,.quote-hero-total small,.quote-hero-total span,.quote-label{color:#475467!important}.quote-hero-total{border-left:1px solid var(--line)!important}.table th,.table td{padding:7px 8px}.quote-bottom{grid-template-columns:1fr 320px}.quote-sign-line{height:60px}.btn{display:none!important}}

/* Preventivo stile modello di riferimento v0.1.20 */
.quote-ref{max-width:980px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:14px;padding:34px 42px;color:#253247;font-family:Arial,Helvetica,sans-serif;box-shadow:0 2px 7px rgba(16,24,40,.035)}
.quote-ref-company{display:block}.quote-ref-logo-wrap{margin-bottom:9px}.quote-ref-logo-wrap img{display:block;width:205px;max-width:48%;height:auto}.quote-ref-company-lines{font-size:12px;line-height:1.55;color:#344054}.quote-ref-company-name{font-weight:800;font-size:13px;margin-bottom:2px;color:#1f2937}.quote-ref-rule{height:1px;background:#cbd5e1;margin:22px 0 20px}.quote-ref-meta{display:grid;grid-template-columns:.9fr 1.1fr;gap:54px;padding:0 14px 0 14px;margin-bottom:30px}.quote-ref-meta-col{font-size:13px;line-height:1.75}.quote-ref-meta-col b{font-weight:800}.quote-ref-client-title{font-weight:800;font-size:14px;margin-bottom:3px}.quote-ref-object{margin-bottom:28px;font-size:13px;line-height:1.55}.quote-ref-object>div{font-weight:500}.quote-ref-object p{margin:19px 0 0}.quote-ref-section{margin-top:16px}.quote-ref-section h3,.quote-ref-summary h3,.quote-ref-terms h3{font-size:18px;line-height:1.2;margin:0 0 12px;color:#2d70b3;font-weight:800}.quote-ref-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}.quote-ref-table th{background:#2f75b5;color:#fff;padding:9px 8px;border:1px solid #d5dfeb;text-align:center;font-weight:700}.quote-ref-table td{padding:9px 8px;border:1px solid #dfe6ee;vertical-align:middle;line-height:1.35}.quote-ref-table td:nth-child(1){font-family:Arial,Helvetica,sans-serif;font-weight:400;color:#344054}.quote-ref-table td:nth-child(3),.quote-ref-table td:nth-child(4),.quote-ref-table td:nth-child(5){text-align:center;white-space:nowrap}.quote-ref-table .qref-code{width:18%}.quote-ref-table .qref-qty{width:10%}.quote-ref-table .qref-price{width:16%}.quote-ref-table .qref-total{width:17%}.quote-ref-summary{margin-top:34px}.quote-ref-summary-row{display:grid;grid-template-columns:1fr 190px;gap:24px;padding:8px 14px;font-size:13px;align-items:center}.quote-ref-summary-row b{text-align:right}.quote-ref-summary-row.emphasis{border-top:1px solid #cfd8e3;font-weight:800}.quote-ref-summary-row.grand{border-top:2px solid #2f75b5;font-weight:800;font-size:14px}.quote-ref-terms{margin-top:34px}.quote-ref-terms p{font-size:13px;line-height:1.5;margin:7px 0}.quote-ref-attachment{padding-top:4px;color:#475467}.quote-ref-signatures{display:grid;grid-template-columns:1fr 1fr;gap:90px;margin-top:58px;padding:0 14px 10px;font-size:13px}.quote-ref-sign-line{height:62px;border-bottom:1px solid #475467;margin-bottom:15px}
@media(max-width:900px){.quote-ref{padding:24px 20px}.quote-ref-meta{grid-template-columns:1fr;gap:18px;padding:0}.quote-ref-signatures{grid-template-columns:1fr;gap:34px}.quote-ref-summary-row{grid-template-columns:1fr auto}.quote-ref-logo-wrap img{max-width:60%}}

@media print{
  @page{size:A4;margin:14mm 15mm 15mm 15mm}
  html,body{background:#fff!important;color:#263244!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .sidebar,.topbar,.offline-note,#toast,.section-head{display:none!important}
  .main{margin-left:0!important;min-height:auto!important}.content{max-width:none!important;margin:0!important;padding:0!important}
  .quote-ref{border:0!important;border-radius:0!important;box-shadow:none!important;max-width:none!important;margin:0!important;padding:0!important;font-family:Arial,Helvetica,sans-serif;color:#263244;font-size:10pt}
  .quote-ref-logo-wrap{margin-bottom:2.5mm}.quote-ref-logo-wrap img{width:52mm;max-width:none}.quote-ref-company-lines{font-size:9.2pt;line-height:1.45}.quote-ref-company-name{font-size:9.6pt}
  .quote-ref-rule{margin:6mm 0 5mm;background:#b9c5d3}
  .quote-ref-meta{grid-template-columns:35% 65%;gap:10mm;margin:0 0 8mm;padding:0 4mm}.quote-ref-meta-col{font-size:9.6pt;line-height:1.65}.quote-ref-client-title{font-size:10pt}
  .quote-ref-object{font-size:9.7pt;line-height:1.5;margin-bottom:7mm}.quote-ref-object p{margin-top:5mm}
  .quote-ref-section{margin-top:0}.quote-ref-section h3,.quote-ref-summary h3,.quote-ref-terms h3{font-size:13pt;margin:0 0 3.5mm;color:#2d70b3!important;break-after:avoid-page}
  .quote-ref-table{font-size:8.9pt;table-layout:fixed}.quote-ref-table thead{display:table-header-group}.quote-ref-table tr{break-inside:avoid-page;page-break-inside:avoid}.quote-ref-table th{padding:2.4mm 2mm;background:#2f75b5!important;color:#fff!important;border-color:#d7e0ea!important}.quote-ref-table td{padding:2.4mm 2mm;border-color:#dfe6ee!important;line-height:1.3}.quote-ref-table .qref-code{width:18%}.quote-ref-table .qref-qty{width:10%}.quote-ref-table .qref-price{width:16%}.quote-ref-table .qref-total{width:17%}
  .quote-ref-summary{margin-top:8mm;break-inside:avoid-page}.quote-ref-summary-row{grid-template-columns:1fr 46mm;gap:8mm;padding:2.1mm 4mm;font-size:9.4pt}.quote-ref-summary-row.grand{border-top:1.5pt solid #2f75b5!important;font-size:10pt}
  .quote-ref-terms{margin-top:9mm;break-inside:avoid-page}.quote-ref-terms p{font-size:9.4pt;line-height:1.45;margin:1.8mm 0}.quote-ref-terms .btn{display:none!important}
  .quote-ref-signatures{grid-template-columns:1fr 1fr;gap:30mm;margin-top:13mm;padding:0 4mm;font-size:9.3pt;break-inside:avoid-page}.quote-ref-sign-line{height:19mm;margin-bottom:4mm}
}

/* Chat auto-refresh v0.1.21 */
.chat-auto-status{display:block;margin-top:3px;color:#667085;font-size:10px;font-weight:500}.chat-auto-status.error{color:#b42318}

/* Preventivo stile rapportino - grigio v0.1.21 */
.quote-report{max-width:980px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:13px;padding:30px 34px;color:#202631;font-family:Arial,Helvetica,sans-serif;box-shadow:0 2px 6px rgba(16,24,40,.025)}
.quote-report-head{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:center}.quote-report-logo img{display:block;width:235px;max-width:70%;height:auto}.quote-report-logo small{display:block;margin-top:8px;color:#667085;font-size:10px;line-height:1.45;max-width:470px}.quote-report-title{text-align:right}.quote-report-title h2{margin:0;color:#4b5563;font-size:27px;letter-spacing:.01em}.quote-report-title strong{display:block;margin-top:4px;font-size:17px}.quote-report-title span{display:block;margin-top:3px;color:#667085;font-size:12px}.quote-report-rule{height:2px;background:#4b5563;margin:16px 0}
.quote-report-info{display:grid;grid-template-columns:1fr 1fr;border:1px solid #d9dee7}.quote-report-info-cell{min-height:66px;padding:9px 10px;border-bottom:1px solid #d9dee7}.quote-report-info-cell:nth-child(odd){border-right:1px solid #d9dee7}.quote-report-info-cell:nth-last-child(-n+2){border-bottom:0}.quote-report-info-cell small{display:block;color:#667085;font-size:10px;text-transform:uppercase;font-weight:700;margin-bottom:4px}.quote-report-info-cell span{display:block;font-size:13px;line-height:1.4;border-bottom:2px solid #6b7280;padding-bottom:3px}
.quote-report-section-title{margin:26px 0 7px;color:#4b5563;font-size:18px}.quote-report-box{border:1px solid #d9dee7;padding:10px 12px;font-size:13px;line-height:1.45;white-space:pre-wrap}.quote-report-table{width:100%;border-collapse:collapse;min-width:720px;font-size:12px}.quote-report-table th{background:#eef0f3;color:#202631;border:1px solid #d9dee7;padding:8px 9px;text-align:left}.quote-report-table td{border:1px solid #d9dee7;padding:8px 9px;vertical-align:middle}.quote-report-table th:nth-child(2),.quote-report-table th:nth-child(3),.quote-report-table td:nth-child(2),.quote-report-table td:nth-child(3){text-align:center}.quote-report-table th:nth-child(n+4),.quote-report-table td:nth-child(n+4){text-align:right;white-space:nowrap}.quote-report:not(.has-line-discount) .quote-report-table th:nth-child(1){width:54%}.quote-report:not(.has-line-discount) .quote-report-table th:nth-child(2){width:8%}.quote-report:not(.has-line-discount) .quote-report-table th:nth-child(3){width:9%}.quote-report:not(.has-line-discount) .quote-report-table th:nth-child(4){width:14%}.quote-report:not(.has-line-discount) .quote-report-table th:nth-child(5){width:15%}.quote-report.has-line-discount .quote-report-table{min-width:920px}.quote-report.has-line-discount .quote-report-table th:nth-child(1){width:39%}.quote-report.has-line-discount .quote-report-table th:nth-child(2){width:7%}.quote-report.has-line-discount .quote-report-table th:nth-child(3){width:7%}.quote-report.has-line-discount .quote-report-table th:nth-child(4){width:12%}.quote-report.has-line-discount .quote-report-table th:nth-child(5){width:11%}.quote-report.has-line-discount .quote-report-table th:nth-child(6){width:9%}.quote-report.has-line-discount .quote-report-table th:nth-child(7){width:15%}
.quote-report-summary{border:1px solid #d9dee7}.quote-report-summary>div{display:grid;grid-template-columns:1fr 180px;gap:18px;padding:8px 10px;border-bottom:1px solid #e5e7eb;font-size:13px}.quote-report-summary>div:last-child{border-bottom:0}.quote-report-summary b{text-align:right}.quote-report-summary .emphasis{font-weight:700;border-top:1px solid #9ca3af}.quote-report-summary .grand{font-weight:800;font-size:14px;border-top:2px solid #4b5563;background:#f7f8fa}.quote-report-terms p{margin:4px 0}.quote-report-signatures{display:grid;grid-template-columns:1fr 1fr;gap:52px;margin-top:32px;border-top:1px solid #9ca3af;padding-top:10px}.quote-report-signatures b{display:block;font-size:12px}.quote-report-signatures span{display:block;font-size:12px;margin-top:3px}.quote-report-sign-line{height:64px;border-bottom:1px solid #6b7280;margin-bottom:7px}.quote-report-signatures small{color:#667085}.quote-report-footer{text-align:center;color:#98a2b3;font-size:9px;margin-top:40px}
@media(max-width:900px){.quote-report{padding:22px 18px}.quote-report-head,.quote-report-info,.quote-report-signatures{grid-template-columns:1fr}.quote-report-title{text-align:left}.quote-report-info-cell:nth-child(odd){border-right:0}.quote-report-info-cell:nth-last-child(-n+2){border-bottom:1px solid #d9dee7}.quote-report-info-cell:last-child{border-bottom:0}.quote-report-summary>div{grid-template-columns:1fr auto}.quote-report-logo img{max-width:80%}}
@media print{@page{size:A4;margin:12mm 13mm 14mm}.sidebar,.topbar,.offline-note,#toast,.section-head{display:none!important}.main{margin-left:0!important;min-height:auto!important}.content{max-width:none!important;margin:0!important;padding:0!important}.quote-report{border:0!important;border-radius:0!important;box-shadow:none!important;max-width:none!important;margin:0!important;padding:0!important;font-family:Arial,Helvetica,sans-serif}.quote-report-head{grid-template-columns:44% 56%}.quote-report-logo img{width:50mm;max-width:none}.quote-report-logo small{font-size:7.7pt;margin-top:2mm}.quote-report-title h2{font-size:19pt;color:#4b5563!important}.quote-report-title strong{font-size:12pt}.quote-report-title span{font-size:9pt}.quote-report-rule{background:#4b5563!important;margin:4mm 0}.quote-report-info{grid-template-columns:1fr 1fr}.quote-report-info-cell{min-height:17mm;padding:2.2mm 2.5mm}.quote-report-info-cell:nth-child(odd){border-right:1px solid #d9dee7}.quote-report-info-cell:nth-last-child(-n+2){border-bottom:0}.quote-report-info-cell small{font-size:7.5pt}.quote-report-info-cell span{font-size:9.2pt;border-bottom:1.5pt solid #6b7280!important}.quote-report-section-title{font-size:12.5pt;color:#4b5563!important;margin:6mm 0 2mm;break-after:avoid-page}.quote-report-box{font-size:9pt;padding:2.5mm 3mm;break-inside:avoid-page}.quote-report-table{font-size:8.7pt;min-width:0}.quote-report.has-line-discount .quote-report-table{font-size:7.8pt;min-width:0}.quote-report-table thead{display:table-header-group}.quote-report-table tr{break-inside:avoid-page;page-break-inside:avoid}.quote-report-table th{background:#eef0f3!important;color:#202631!important;padding:2mm 2.2mm}.quote-report-table td{padding:2mm 2.2mm}.quote-report-summary{break-inside:avoid-page}.quote-report-summary>div{grid-template-columns:1fr 45mm;padding:2mm 2.5mm;font-size:8.9pt}.quote-report-summary .grand{font-size:9.6pt;border-top:1.5pt solid #4b5563!important;background:#f7f8fa!important}.quote-report-signatures{grid-template-columns:1fr 1fr;gap:24mm;margin-top:9mm;padding-top:2.5mm;break-inside:avoid-page}.quote-report-sign-line{height:15mm}.quote-report-footer{font-size:7pt;margin-top:10mm}.quote-report .btn{display:none!important}}

/* Preventivi v0.1.25 - editor stile PDF e costi interni */
.quote-editor-report{max-width:1320px;padding:30px 34px}.quote-editor-report .quote-report-head{align-items:start}.quote-editor-info select,.quote-editor-info input{width:100%;border:0;border-bottom:2px solid #6b7280;border-radius:0;background:transparent;padding:5px 2px 6px;color:#202631;outline:none;font-size:13px}.quote-editor-info select:focus,.quote-editor-info input:focus{border-bottom-color:#374151;box-shadow:none}.quote-editor-info em{display:block;margin-top:5px;font-size:9px;font-style:normal;color:#98a2b3}.quote-inline-field{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px}.quote-inline-field span{font-size:11px;color:#667085}.quote-editor-client-preview{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.quote-editor-client-preview .quote-customer-preview,.quote-editor-client-preview .quote-price-list-info{margin:0;border-radius:0;border:1px solid #d9dee7;background:#fafafa}.quote-editor-box{padding:0}.quote-editor-box textarea{width:100%;min-height:84px;border:0;resize:vertical;padding:12px;font:inherit;color:#202631;outline:none;background:#fff}.quote-editor-section-head{display:flex;justify-content:space-between;align-items:end;gap:12px}.quote-editor-section-head .quote-report-section-title{margin-bottom:7px}.quote-editor-materials{border:1px solid #d9dee7;padding:10px;background:#fff}.quote-editor-materials .quote-item-head{background:#eef0f3;padding:9px 8px;margin-bottom:8px}.quote-editor-materials .quote-item-row{border-radius:0;border-color:#d9dee7}.quote-editor-materials .q-desc{min-width:0}.quote-editor-materials .q-cost{background:#f3f4f6;font-weight:700;color:#374151}.quote-item-suggestion strong small{display:block;font-size:9px;font-weight:600;color:#667085;margin-top:2px}.quote-editor-bottom{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(360px,.75fr);gap:18px;align-items:start}.quote-editor-conditions{display:grid;gap:7px}.quote-editor-conditions label{font-size:10px;font-weight:750;text-transform:uppercase;color:#667085}.quote-editor-conditions textarea{width:100%;min-height:82px;border:1px solid #d0d5dd;border-radius:7px;padding:9px 10px;resize:vertical}.quote-editor-conditions small{color:#667085}.quote-editor-summary>div{align-items:center}.quote-editor-summary input{width:110px;justify-self:end;text-align:right;border:1px solid #d0d5dd;border-radius:7px;padding:6px 8px;background:#fff}.quote-internal-note{margin:-1px 0 8px;color:#667085;font-size:10px}.quote-web-cost-table{min-width:900px}.quote-web-cost-table .internal-cost{background:#f7f8fa;color:#475467}.quote-web-report:not(.has-line-discount) .quote-web-cost-table th:nth-child(1){width:46%}.quote-web-report:not(.has-line-discount) .quote-web-cost-table th:nth-child(2){width:7%}.quote-web-report:not(.has-line-discount) .quote-web-cost-table th:nth-child(3){width:8%}.quote-web-report:not(.has-line-discount) .quote-web-cost-table th:nth-child(4){width:12%}.quote-web-report:not(.has-line-discount) .quote-web-cost-table th:nth-child(5){width:13%}.quote-web-report:not(.has-line-discount) .quote-web-cost-table th:nth-child(6){width:14%}.quote-web-report.has-line-discount .quote-web-cost-table{min-width:1080px}.quote-web-report.has-line-discount .quote-web-cost-table th:nth-child(1){width:34%}.quote-web-report.has-line-discount .quote-web-cost-table th:nth-child(2){width:6%}.quote-web-report.has-line-discount .quote-web-cost-table th:nth-child(3){width:6%}.quote-web-report.has-line-discount .quote-web-cost-table th:nth-child(4){width:10%}.quote-web-report.has-line-discount .quote-web-cost-table th:nth-child(5){width:11%}.quote-web-report.has-line-discount .quote-web-cost-table th:nth-child(6){width:10%}.quote-web-report.has-line-discount .quote-web-cost-table th:nth-child(7){width:8%}.quote-web-report.has-line-discount .quote-web-cost-table th:nth-child(8){width:15%}
@media(max-width:1050px){.quote-editor-report{padding:22px 18px}.quote-editor-bottom,.quote-editor-client-preview{grid-template-columns:1fr}}
@media(max-width:760px){.quote-editor-report{padding:16px 12px}.quote-editor-section-head{align-items:flex-start}.quote-editor-info{grid-template-columns:1fr}.quote-editor-info .quote-report-info-cell{border-right:0!important;border-bottom:1px solid #d9dee7!important}.quote-editor-info .quote-report-info-cell:last-child{border-bottom:0!important}}
@media print{.quote-web-report .internal-cost,.quote-internal-note{display:none!important}.quote-editor-report{display:none!important}}

/* Preventivi v0.1.26 - editor coerente con le altre schermate di inserimento */
.quote-entry-materials{border:1px solid #edf0f4;border-radius:11px;background:#fafbfc;padding:10px}.quote-entry-materials .quote-item-head{background:#f2f4f7;border:1px solid #e4e7ec;border-radius:8px;padding:9px 8px;margin-bottom:8px;color:#475467}.quote-entry-materials .quote-item-row{background:#fff}.quote-entry-materials .q-cost{background:#f2f4f7;color:#475467;font-weight:700}.quote-entry-bottom{align-items:start}.quote-entry-bottom .quote-totals .card-body>.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px;padding-bottom:12px;border-bottom:1px solid #edf0f4}.quote-entry-bottom .quote-totals .card-body>.form-grid .field{margin:0 0 8px}.quote-entry-bottom .quote-totals .card-body>.form-grid .field input{width:100%}.quote-entry-bottom .quote-totals .card-body>div:not(.form-grid){display:flex;justify-content:space-between;gap:18px;padding-bottom:8px;border-bottom:1px solid #edf0f4}.quote-entry-bottom .quote-totals .card-body>div:last-child{border-bottom:0}.quote-entry-bottom .quote-totals .grand{font-size:17px;padding-top:8px}.quote-entry-bottom .quote-totals .grand b{font-size:22px}.quote-form>.card+.card{margin-top:18px}
@media(max-width:760px){.quote-entry-bottom .quote-totals .card-body>.form-grid{grid-template-columns:1fr}.quote-entry-materials{padding:8px}}


/* v0.1.33 - responsive layout generale */
.main,.content,.card,.card-body,.table-wrap,.grid2>*,.form-grid>*,.detail-grid>*{min-width:0}
.section-head>div:first-child{min-width:0}
.section-head h2,.section-head p{overflow-wrap:anywhere}
.actions{max-width:100%}
.actions .btn{white-space:normal}
.jobs-table{min-width:1080px}
.jobs-table th,.jobs-table td{white-space:normal}
.jobs-table td:nth-child(2){min-width:260px}
.jobs-table td:nth-child(3){min-width:180px}
.jobs-table td:nth-child(6){min-width:145px}
.job-full-code{max-width:360px}
.job-quote-links{display:flex;flex-direction:column;align-items:flex-start;gap:7px}
.job-quote-link{width:max-content;max-width:100%;white-space:nowrap}
.quote-material-scroll{max-width:100%}
.quote-entry-materials{max-width:100%}

@media(max-width:1399px){
  .sidebar{transform:translateX(-100%);transition:transform .2s ease;box-shadow:12px 0 28px rgba(16,24,40,.15)}
  .shell.menu-open .sidebar{transform:translateX(0)}
  .shell.menu-open .menu-backdrop{display:block;position:fixed;inset:0;z-index:19;border:0;padding:0;margin:0;background:rgba(16,24,40,.42);cursor:default;-webkit-tap-highlight-color:transparent}
  .main{margin-left:0;width:100%;max-width:100%}
  .mobile-menu{display:inline-flex}
  .content{padding:20px;max-width:none}
  .topbar{padding:0 20px}
  .top-actions{min-width:0}
  .table-wrap{border-radius:0 0 12px 12px}
}
@media(max-width:900px){
  .content{padding:16px}
  .section-head{align-items:flex-start;flex-direction:column}
  .section-head .actions{width:100%}
  .section-head .actions .btn{flex:1 1 auto}
  .grid2,.detail-grid,.form-grid,.meta-grid,.customer-grid{grid-template-columns:1fr}
  .form-grid .full{grid-column:auto}
  .kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .card-head{align-items:flex-start}
  .filters{align-items:stretch}
  .filters .field{flex:1 1 220px;min-width:0}
}
@media(max-width:620px){
  .topbar{height:auto;min-height:62px;padding:10px 12px;gap:10px}
  .topbar h1{font-size:16px}
  .top-actions{gap:5px}
  .top-actions .btn{padding:7px 8px}
  .content{padding:12px}
  .kpis{grid-template-columns:1fr}
  .section-head{gap:10px;margin-bottom:14px}
  .section-head h2{font-size:20px}
  .card-head,.card-body{padding-left:13px;padding-right:13px}
  .login-form{padding:28px 22px 56px}
  .login-credit{bottom:10px;width:calc(100% - 24px);font-size:10.5px}
}

@media print{.main{width:100%!important;max-width:none!important}}

/* v0.1.34 - login footer centrato e azioni amministrative */
.login{
  min-height:100vh;
  min-height:100dvh;
  display:grid;
  grid-template-columns:1fr;
  grid-template-rows:minmax(0,1fr) 64px;
  background:#fff;
}
.login-main{
  min-height:0;
  display:grid;
  grid-template-columns:minmax(320px,520px) minmax(0,1fr);
}
.login-credit{
  position:static;
  left:auto;
  right:auto;
  bottom:auto;
  transform:none;
  width:100%;
  max-width:none;
  min-height:64px;
  margin:0;
  padding:0 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:#fff;
  border-top:1px solid #edf0f4;
  color:#667085;
  font-size:11px;
  letter-spacing:.02em;
  z-index:auto;
  pointer-events:none;
}
.row-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.row-actions .btn{white-space:nowrap}
@media(max-width:760px){
  .login{grid-template-rows:minmax(0,1fr) 58px}
  .login-main{grid-template-columns:1fr}
  .login-credit{min-height:58px;width:100%;padding:0 14px;font-size:10.5px}
}

/* v0.1.35 - login layout robusto a griglia con footer centrato */
.login{
  min-height:100vh!important;
  min-height:100dvh!important;
  width:100%!important;
  display:grid!important;
  grid-template-columns:minmax(320px,520px) minmax(0,1fr)!important;
  grid-template-rows:minmax(0,1fr) 72px!important;
  grid-template-areas:"form hero" "credit credit"!important;
  background:#fff!important;
  overflow:hidden!important;
}
.login-main{display:contents!important}
.login-form{grid-area:form!important;min-width:0!important;min-height:0!important}
.login-hero{grid-area:hero!important;min-width:0!important;min-height:0!important}
.login-credit{
  grid-area:credit!important;
  position:static!important;
  inset:auto!important;
  transform:none!important;
  width:100%!important;
  max-width:none!important;
  min-height:72px!important;
  margin:0!important;
  padding:0 18px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  background:#fff!important;
  border-top:1px solid #edf0f4!important;
  color:#667085!important;
  font-size:11px!important;
  letter-spacing:.02em!important;
  pointer-events:none!important;
}
@media(max-width:760px){
  .login{
    grid-template-columns:1fr!important;
    grid-template-rows:minmax(0,1fr) 62px!important;
    grid-template-areas:"form" "credit"!important;
    overflow:auto!important;
  }
  .login-hero{display:none!important}
  .login-credit{min-height:62px!important;padding:0 14px!important;font-size:10.5px!important}
}

/* v0.1.36 - Google Calendar aziendale */
.gcal-status{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:800;line-height:1.2;white-space:nowrap;border:1px solid #d0d5dd;background:#f8fafc;color:#475467}
.gcal-status.ok{background:#ecfdf3;border-color:#abefc6;color:#067647}.gcal-status.wait{background:#fffaeb;border-color:#fedf89;color:#b54708}.gcal-status.error{background:#fef3f2;border-color:#fecdca;color:#b42318}.gcal-status.neutral{background:#f2f4f7;border-color:#e4e7ec;color:#475467}
.gcal-link{display:inline-block;margin-top:5px;font-size:11px;font-weight:700}.gcal-error-text{display:block;margin-top:5px;color:#b42318;line-height:1.35;max-width:420px}
.gcal-error-box{margin-top:14px;padding:11px 13px;border:1px solid #fecdca;border-radius:10px;background:#fef3f2;color:#b42318;font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.gcal-help{margin-top:18px;padding:14px 15px;border:1px solid #d0d5dd;border-radius:12px;background:#f8fafc}.gcal-help h3{margin:0 0 8px;font-size:13px}.gcal-help p{margin:7px 0;color:#475467;font-size:12px;line-height:1.55}

/* v0.1.37 - anagrafica clienti e sedi */
.customer-toolbar{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:14px}.customer-toolbar>.field{flex:1;max-width:620px;margin-bottom:0}.customer-toolbar>small{color:#667085;white-space:nowrap;padding-bottom:10px}.customer-table{min-width:1180px}.customer-table th,.customer-table td{vertical-align:top}.customer-table th:nth-child(1){width:220px}.customer-table th:nth-child(2),.customer-table th:nth-child(3){width:145px}.customer-table th:nth-child(4){min-width:360px}.customer-table th:nth-last-child(1){width:140px}.customer-identity{min-width:210px}.customer-identity>b{display:block;font-size:13px;color:#101828;margin-bottom:5px}.customer-identity>small{display:block;color:#667085;font-size:10.5px;line-height:1.4;overflow-wrap:anywhere}.customer-sites-cell{min-width:360px}.customer-site-stack{display:grid;gap:7px}.customer-site{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:9px 10px;border:1px solid #e4e7ec;border-radius:9px;background:#f8fafc;min-width:0}.customer-site-main{display:grid;gap:2px;min-width:0}.customer-site-main b{font-size:12px;color:#101828}.customer-site-main span{font-size:11px;color:#344054;overflow-wrap:anywhere}.customer-site-main small{font-size:10.5px;color:#667085;overflow-wrap:anywhere}.customer-site-actions{display:flex;flex-direction:column;gap:6px;flex:0 0 auto;min-width:108px}.customer-site-actions .btn{width:100%;justify-content:center;margin:0}.customer-table-actions{display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:126px}.customer-table-actions .btn{width:100%;justify-content:center;margin:0}.customer-count-number{display:block;font-size:18px;font-weight:800;color:#101828;line-height:1.1}.customer-count-label{display:block;margin-top:3px;font-size:10px;color:#667085}.customer-import-format{margin-top:14px;padding:12px;border:1px solid #e4e7ec;border-radius:10px;background:#f8fafc;display:flex;flex-wrap:wrap;gap:7px}.customer-import-format b{width:100%;font-size:11px;color:#344054;margin-bottom:2px}.customer-import-format span{display:inline-flex;align-items:center;padding:5px 8px;border-radius:7px;background:#fff;border:1px solid #d0d5dd;font-size:10.5px;color:#475467}.customer-locations-empty{margin:0;padding:9px;border:1px dashed #d0d5dd;border-radius:8px;color:#667085;font-size:11px;background:#fff}
@media(max-width:760px){.customer-toolbar{align-items:stretch;flex-direction:column}.customer-toolbar>.field{max-width:none}.customer-toolbar>small{padding:0}.customer-site{min-width:320px}.customer-table-actions{min-width:118px}}

/* v0.1.43 - pianificazione tecnici, agenda multi-giorno e tipologie impianto */
.technician-assignment-field{margin-top:4px}
.tech-assignment-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.tech-assignment-row{display:grid;grid-template-columns:22px 12px minmax(0,1fr);align-items:center;gap:9px;min-height:48px;padding:9px 10px;border:1px solid #e4e7ec;border-radius:9px;background:#f8fafc;cursor:pointer}
.tech-assignment-row:hover{border-color:#b9c0cc;background:#fff}
.tech-assignment-row input[type=checkbox]{width:18px;height:18px;margin:0;justify-self:center}
.tech-assignment-color{width:11px;height:11px;border-radius:50%;display:block}
.tech-assignment-name{display:flex;flex-direction:column;min-width:0;font-size:12px;font-weight:700;color:#101828;line-height:1.25}
.tech-assignment-name small{font-size:10px;font-weight:500;color:#667085;margin-top:2px;overflow-wrap:anywhere}
.appointment.multi-day{box-shadow:inset 0 0 0 1px rgba(37,99,235,.12)}
.agenda-type{display:block;margin-top:5px;font-size:9.5px;font-weight:800;letter-spacing:.03em;color:#475467}
.system-types-table{min-width:720px}
@media(max-width:760px){.tech-assignment-list{grid-template-columns:1fr}}


/* v0.1.44 - filtri/ordinamento tabelle, export CSV e archivi completati */
.nav a.subnav{margin-left:22px;padding-top:8px;padding-bottom:8px;font-size:11px;opacity:.88}
.nav a.subnav .ico{font-size:11px;opacity:.8}
.data-table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px;padding:10px 12px;border:1px solid #e4e7ec;border-radius:10px;background:#f8fafc}
.data-table-info{display:flex;align-items:center;gap:10px;min-width:0}.data-table-info b{font-size:11px;color:#101828;white-space:nowrap}.data-table-info span{font-size:10.5px;color:#667085;line-height:1.35}
.data-table-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.data-table-actions .btn{white-space:nowrap}
.table thead tr:first-child th.sortable{cursor:pointer;user-select:none;white-space:nowrap}.table thead tr:first-child th.sortable:hover{background:#eef2f6}.sort-marker{margin-left:6px;font-size:9px;color:#981b1e}
.column-filter-row th{padding:6px!important;background:#f8fafc!important;border-top:1px solid #e4e7ec}.column-filter{width:100%;min-width:84px;height:30px;padding:5px 7px;border:1px solid #d0d5dd;border-radius:6px;background:#fff;font-size:10.5px;color:#344054;outline:none}.column-filter:focus{border-color:#981b1e;box-shadow:0 0 0 2px rgba(152,27,30,.08)}
.data-select-head,.data-select-cell{width:38px;min-width:38px;text-align:center!important;padding-left:7px!important;padding-right:7px!important}.data-select-head input,.data-select-cell input{width:16px;height:16px;margin:0;cursor:pointer}
.data-table-page-note{margin:0 0 12px;color:#667085;font-size:11px;line-height:1.45}
@media(max-width:760px){.data-table-toolbar{align-items:stretch;flex-direction:column}.data-table-info{align-items:flex-start;flex-direction:column;gap:2px}.data-table-actions{justify-content:flex-start}.nav a.subnav{margin-left:14px}.column-filter{min-width:110px}}

/* v0.1.45 - chiusura menu mobile toccando lo sfondo */

/* v0.1.48 - gestione assegnazione tecnici e riallineamento selettore */
.tech-assignment-list{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));align-items:stretch}
.tech-assignment-row{grid-template-columns:20px 12px minmax(0,1fr) auto;column-gap:10px;row-gap:2px;min-height:58px;padding:10px 12px;box-sizing:border-box;align-items:center}
.tech-assignment-row>input[type=checkbox]{appearance:auto;-webkit-appearance:checkbox;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;padding:0!important;margin:0!important;align-self:center;justify-self:center}
.tech-assignment-row>.tech-assignment-color{align-self:center;justify-self:center;margin:0}
.tech-assignment-row>.tech-assignment-name{align-self:center;justify-self:stretch;text-align:left}
.tech-management-list{margin-top:8px}
.tech-management-row.is-assigned{background:#fff;border-color:#cbd5e1}
.tech-assignment-state{display:inline-flex;align-items:center;justify-content:center;min-width:76px;padding:4px 7px;border-radius:999px;font-size:9.5px;font-weight:800;line-height:1.1;white-space:nowrap;background:#f2f4f7;color:#667085;border:1px solid #e4e7ec}
.tech-assignment-state.assigned{background:#ecfdf3;color:#067647;border-color:#abefc6}
.tech-assignment-state.available{background:#f8fafc;color:#475467}
.tech-management-help{margin:4px 0 10px;color:#667085;font-size:11.5px;line-height:1.45}
@media(max-width:760px){.tech-assignment-list{grid-template-columns:1fr}.tech-assignment-row{grid-template-columns:20px 12px minmax(0,1fr) auto;padding:10px}.tech-assignment-state{min-width:68px;font-size:9px}}
@media(max-width:420px){.tech-assignment-row{grid-template-columns:20px 12px minmax(0,1fr)}.tech-assignment-state{grid-column:3;justify-self:start;margin-top:4px}}
.tech-assignment-state.removing{background:#fef3f2;color:#b42318;border-color:#fecdca}
.tech-management-row:has(input:not(:checked))[data-was-assigned="1"]{border-color:#fecdca;background:#fffafa}

/* v0.1.52 - referenti multipli sede e allegati intervento */
.location-contacts-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:6px 0 10px}.location-contacts-head>div{min-width:0}.location-contacts-head h3{margin:0;font-size:13px;color:#101828}.location-contacts-head small{display:block;margin-top:3px;color:#667085;font-size:10.5px;line-height:1.35}.location-contacts-list{display:grid;gap:9px}.location-contact-row{display:grid;grid-template-columns:auto minmax(170px,1.25fr) minmax(130px,.9fr) minmax(130px,.9fr) minmax(190px,1.25fr) auto;gap:8px;align-items:end;padding:10px;border:1px solid #e4e7ec;border-radius:10px;background:#f8fafc}.location-contact-row .field{margin:0;min-width:0}.location-contact-row .field label{font-size:9.5px}.location-contact-row input{min-width:0}.location-contact-primary{display:flex;align-items:center;gap:6px;min-height:38px;padding:0 6px;white-space:nowrap;font-size:10.5px;color:#344054}.location-contact-primary input{width:16px;height:16px;margin:0}.location-contact-remove{min-height:38px;align-self:end}.location-contact-empty{padding:10px;border:1px dashed #d0d5dd;border-radius:9px;background:#fff;color:#667085;font-size:11px}
.intervention-attachments{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:10px;margin-top:12px}.intervention-attachment{display:grid;grid-template-columns:66px minmax(0,1fr);gap:10px;align-items:center;padding:9px;border:1px solid #e4e7ec;border-radius:10px;background:#f8fafc;min-width:0}.attachment-preview{width:66px;height:58px;object-fit:cover;border:1px solid #d0d5dd;border-radius:7px;background:#fff}.attachment-file-icon{width:66px;height:58px;display:flex;align-items:center;justify-content:center;border:1px solid #d0d5dd;border-radius:7px;background:#fff;color:#475467;font-size:10px;font-weight:900;letter-spacing:.05em}.intervention-attachment-info{min-width:0}.intervention-attachment-info b{display:block;font-size:11.5px;color:#101828;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.intervention-attachment-info small{display:block;margin-top:3px;color:#667085;font-size:9.5px}.intervention-attachment-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}.intervention-attachment-actions .btn{margin:0}.intervention-file-help{display:block;margin-top:5px;color:#667085;font-size:10.5px;line-height:1.4}
@media(max-width:980px){.location-contact-row{grid-template-columns:1fr 1fr}.location-contact-primary,.location-contact-remove{align-self:center}}
@media(max-width:620px){.location-contacts-head{align-items:flex-start;flex-direction:column}.location-contact-row{grid-template-columns:1fr;padding:11px}.location-contact-primary{padding:2px 0;min-height:28px}.location-contact-remove{width:100%;justify-content:center}.intervention-attachments{grid-template-columns:1fr}.intervention-attachment{grid-template-columns:58px minmax(0,1fr)}.attachment-preview,.attachment-file-icon{width:58px;height:52px}}

/* v0.1.53 - selezione multipla referenti preventivo */
.quote-contact-picker{position:relative;width:100%}.quote-contact-trigger{width:100%;min-height:42px;border:1px solid #d0d5dd;border-radius:8px;background:#fff;color:#101828;padding:9px 11px;display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;cursor:pointer}.quote-contact-trigger span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quote-contact-trigger b{font-size:14px;color:#667085}.quote-contact-picker.open .quote-contact-trigger{border-color:#98a2b3;box-shadow:0 0 0 3px rgba(102,112,133,.09)}.quote-contact-menu{display:none;position:absolute;left:0;right:0;top:calc(100% + 5px);z-index:140;max-height:280px;overflow:auto;border:1px solid #d0d5dd;border-radius:10px;background:#fff;box-shadow:0 16px 38px rgba(16,24,40,.18);padding:6px}.quote-contact-picker.open .quote-contact-menu{display:block}.quote-contact-option{display:grid;grid-template-columns:20px minmax(0,1fr);gap:9px;align-items:start;padding:9px;border-radius:8px;cursor:pointer}.quote-contact-option:hover{background:#f8fafc}.quote-contact-option input{width:16px;height:16px;margin:2px 0 0}.quote-contact-option span{min-width:0}.quote-contact-option b{display:block;font-size:12px;color:#101828}.quote-contact-option small{display:block;margin-top:2px;color:#667085;font-size:10px;line-height:1.25;overflow-wrap:anywhere}.quote-contact-empty{padding:12px;color:#667085;font-size:11px}
@media(max-width:620px){.quote-contact-menu{position:fixed;left:12px;right:12px;top:auto;bottom:14px;max-height:55vh}.quote-contact-trigger span{white-space:normal}}

/* v0.1.57 - righe descrittive preventivo */
.quote-row-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.quote-description-row{background:#f7f8fa!important;border-style:dashed!important;border-color:#cfd5df!important}
.quote-description-row .q-description-only{width:100%;min-height:54px;resize:vertical;border:1px solid #cfd5df;border-radius:8px;padding:10px 12px;background:#fff;color:#202631;font:inherit;font-weight:650;line-height:1.4;outline:none}
.quote-description-row .q-description-only:focus{border-color:#98a2b3;box-shadow:0 0 0 3px rgba(102,112,133,.09)}
.quote-description-line td{background:#f2f4f7!important;color:#344054;font-weight:750;text-align:left!important;white-space:normal!important}
@media(max-width:760px){.quote-row-actions{width:100%;justify-content:flex-start}}

/* Preventivi - copia/incolla materiali v0.1.60 */
.quote-copy-help{margin-bottom:12px;color:#475467;font-size:12px;line-height:1.5}
.quote-copy-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}.quote-copy-toolbar span{margin-left:auto;color:#667085;font-size:11px}
.quote-copy-list{display:grid;gap:8px;max-height:56vh;overflow:auto;padding-right:3px}
.quote-copy-row{display:grid;grid-template-columns:24px minmax(0,1fr);gap:10px;align-items:center;padding:10px 12px;border:1px solid #e4e7ec;border-radius:9px;background:#fff;cursor:pointer}
.quote-copy-row:hover{background:#f8fafc}.quote-copy-row.is-description{border-style:dashed;background:#f8fafc}.quote-copy-row>input{width:17px;height:17px;margin:0}
.quote-copy-row-main{display:flex;gap:8px;align-items:baseline;min-width:0}.quote-copy-row-main b{font-size:11px;white-space:nowrap}.quote-copy-row-main span{font-size:12px;color:#344054;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.quote-copy-row-side{margin-top:4px;font-size:10px;color:#667085}
@media(max-width:760px){.quote-copy-toolbar span{width:100%;margin-left:0}.quote-copy-row-main{display:block}.quote-copy-row-main span{display:block;margin-top:3px;white-space:normal}}


.quote-admin-finance{margin-top:12px;padding-top:10px;border-top:1px dashed #98a2b3}
.quote-admin-finance>small{display:block;margin-bottom:6px;font-size:10px;font-weight:700;letter-spacing:.04em;color:#b54708}
.quote-admin-finance>div{display:flex;justify-content:space-between;gap:16px;padding:4px 0}
.quote-admin-finance>div b{white-space:nowrap}

/* v0.1.62 - riordino righe preventivo, allegati commesse, preventivi accettati */
.quote-line-controls{display:grid;grid-template-columns:repeat(3,30px);gap:4px;align-items:center;justify-content:end}
.quote-line-controls .btn{width:30px;min-width:30px;height:32px;padding:0;display:inline-flex;align-items:center;justify-content:center;font-size:15px;line-height:1}
.quote-line-controls .btn:disabled{opacity:.3;cursor:not-allowed}
.quote-description-row .quote-line-controls{align-self:center}
.quote-accepted-note{display:inline-block;margin-top:4px;color:#067647;font-weight:700}
.jobs-table th:nth-child(7),.jobs-table td:nth-child(7){min-width:115px}
@media(max-width:760px){.quote-line-controls{grid-template-columns:repeat(3,28px);gap:3px}.quote-line-controls .btn{width:28px;min-width:28px;height:30px}}
