.commercial-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.commercial-editor{display:grid;grid-template-columns:minmax(350px,450px) minmax(440px,1fr);gap:24px;align-items:start}.commercial-editor aside{background:transparent;color:inherit;padding:0;width:auto;position:static;min-height:0}.commercial-fields{background:white;border:1px solid #dfe4ea;border-radius:12px;padding:22px}.commercial-fields label{display:block;font-weight:600;font-size:12px;margin:12px 0 5px}.commercial-fields input,.commercial-fields textarea,.commercial-fields select{width:100%;font:inherit;padding:9px;border:1px solid #ccd4df;border-radius:6px}.commercial-fields textarea{min-height:80px}.commercial-fields details{border-top:1px solid #e2e6eb;padding:12px 0}.commercial-fields summary{cursor:pointer;font-weight:700}.commercial-item{border-bottom:1px solid #e2e6eb;padding:12px 0}.commercial-numbers{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:end}.commercial-actions{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.commercial-list table{width:100%}.commercial-list .btn{margin:3px}.commercial-notice{padding:12px 16px;margin:14px 0;background:#fff5df;border:1px solid #eed6a0;border-radius:8px;line-height:1.5}.commercial-error{color:#a13b17}.commercial-attachment{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #e2e6eb}.commercial-editor h2{font-size:19px}.commercial-doc{font-family:'Avenir Next',Arial,sans-serif;background:#fff;color:#242d3c;position:relative;padding:38px 36px;border:1px solid #dfe4ea;overflow:hidden;text-align:left}.commercial-doc::before,.commercial-doc::after{content:'';position:absolute;background:url('assets/comercial/simbolo.svg') center/contain no-repeat;opacity:.05;width:150px;height:175px;pointer-events:none}.commercial-doc::before{top:0;right:-112px}.commercial-doc::after{bottom:0;left:-108px}.commercial-doc>*{position:relative}.commercial-doc .proposal-head{display:flex;justify-content:space-between;gap:18px;align-items:center}.proposal-head img{width:250px;max-width:100%;height:auto}.proposal-tagline{font-size:10px;line-height:1.6;margin-top:10px;color:#030f51}.proposal-meta{text-align:right;color:#6c7480;font-size:11px;line-height:1.7}.proposal-meta strong{color:#030f51;font-size:15px}.commercial-doc h1{font-size:28px;font-weight:500;margin:24px 0;color:#030f51}.commercial-doc h2{font-size:19px;font-weight:600;margin:26px 0 14px;color:#030f51}.commercial-doc h3{font-size:13px;margin:18px 0 8px;color:#030f51}.commercial-doc p{font-size:12px;line-height:1.7}.commercial-doc .proposal-text{white-space:pre-wrap}.commercial-doc table{width:100%;border-collapse:collapse;font-size:11px;table-layout:auto}.commercial-doc th{font-weight:500;color:#6c7480;background:white;border-bottom:1px solid #0071bc;padding:10px 0;text-align:right}.commercial-doc td{padding:10px 0;border-bottom:1px solid #e2e6eb;line-height:1.5;text-align:right;vertical-align:top;white-space:nowrap}.commercial-doc th:first-child,.commercial-doc td:first-child{text-align:left;white-space:normal;padding-right:18px;width:60%}.proposal-summary{margin:24px 0}.proposal-summary>div{display:flex;justify-content:space-between;padding:7px 0;font-size:12px}.proposal-summary .proposal-total{border-top:1px solid #0071bc;font-size:18px;color:#030f51}.proposal-signature{line-height:1.7;font-size:12px;margin:28px 0;color:#030f51;break-inside:avoid}.commercial-doc footer{border-top:1px solid #dfe4ea;padding-top:18px;font-size:10px;color:#6c7480;line-height:1.7}.commercial-modal{max-width:1000px;width:94vw;max-height:90vh;overflow:auto}.commercial-modal table{width:100%}.commercial-modal input:not([type=checkbox]){width:100%;padding:8px}.commercial-root [hidden]{display:none!important}.commercial-root .muted{line-height:1.5}.commercial-public{max-width:900px;margin:25px auto;padding:0 15px}.commercial-demo-body{margin:0;background:#eef2f7;font:14px 'Avenir Next',Arial,sans-serif;color:#242d3c}.commercial-demo-header{background:#030f51;color:#fff;padding:20px 28px}.commercial-demo-main{padding:24px;max-width:1600px;margin:auto}.commercial-demo-body .btn{font:inherit;border:0;border-radius:6px;padding:10px 14px;cursor:pointer;background:#e8eef5;color:#030f51}.commercial-demo-body .btn.primary{background:#0071bc;color:white}.commercial-demo-body .card{background:white;padding:22px;border-radius:12px}.commercial-demo-body table{border-collapse:collapse}.commercial-demo-body th,.commercial-demo-body td{padding:12px;text-align:left;border-bottom:1px solid #dfe4ea}.commercial-demo-body dialog{border:1px solid #ccd4df;border-radius:10px;padding:24px}.commercial-demo-body dialog::backdrop{background:#030f5160}@media(max-width:1100px){.commercial-editor{grid-template-columns:1fr}.commercial-doc{padding:25px 20px}.proposal-head img{width:220px}}@media(max-width:550px){.proposal-head{flex-direction:column;align-items:flex-start!important}.proposal-meta{text-align:left}.commercial-doc table{font-size:9px}.commercial-doc td{padding:8px 2px}.proposal-summary .proposal-total{font-size:15px}}

.commercial-public form input:not([type=checkbox]){width:100%;padding:10px;margin:7px 0 16px;border:1px solid #ccd4df;border-radius:6px;font:inherit}.commercial-public form label{font-size:13px;line-height:1.6}
.commercial-list label{display:block;margin:12px 0 6px;font-size:12px;font-weight:600}.commercial-list input{width:100%;max-width:480px;padding:10px 12px;border:1px solid #ccd4df;border-radius:6px;font:inherit;margin-bottom:15px}
.commercial-followup-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 20px!important;margin-bottom:14px}.commercial-followup-summary>div:first-child{display:flex;flex-direction:column;gap:3px}.commercial-followup-summary>div:first-child>span{font-size:11px;font-weight:800;letter-spacing:.12em;color:#6c7480}.commercial-followup-summary strong{font-size:20px;color:#030f51}.commercial-followup-metrics{display:flex;gap:22px;flex:1;justify-content:center}.commercial-followup-metrics span{color:#6c7480;white-space:nowrap}.commercial-followup-metrics b{color:#030f51;font-size:17px;margin-right:3px}.commercial-followup-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.commercial-followup-search{width:100%;padding:10px 12px;border:1px solid #ccd4df;border-radius:7px;font:inherit;margin-bottom:12px}.commercial-followup-list{max-height:58vh;overflow:auto;padding-right:4px}.commercial-followup-item{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:14px 2px;border-bottom:1px solid #e2e6eb}.commercial-followup-item>div:first-child{display:grid;gap:4px}.commercial-followup-item span,.commercial-followup-item small{color:#5d6877}.commercial-followup-item .commercial-actions{margin:0;flex-shrink:0}@media(max-width:700px){.commercial-followup-summary{align-items:flex-start;flex-wrap:wrap}.commercial-followup-metrics{order:3;width:100%;justify-content:space-between;gap:8px}.commercial-followup-metrics span{font-size:12px}.commercial-followup-item{align-items:flex-start;flex-direction:column}.commercial-followup-item .commercial-actions{width:100%}.commercial-followup-item .commercial-actions .btn{flex:1}.commercial-modal:has(.commercial-followup-list){width:100vw;max-width:none;height:100dvh;max-height:100dvh;margin:0;border-radius:0}.commercial-followup-list{max-height:calc(100dvh - 230px)}}

#signerCanvas{display:block;width:100%;max-width:900px;aspect-ratio:3/1;border:1px solid #aab6c7;border-radius:8px;background:#fff;touch-action:none;cursor:crosshair} .customer-signature{display:block;width:100%;max-width:360px;height:120px;object-fit:contain;object-position:left;margin:12px 0}
.rt-wide-dialog{max-width:1400px}.rt-wide-dialog .metrics{margin:16px 0}.rt-wide-dialog .metric small{display:block;margin-top:8px;line-height:1.5;font-weight:500}.rt-profile-tabs{position:sticky;top:0;background:#fff;padding:8px 0;z-index:2}.rt-ranking-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:10px 0;padding:14px!important}.rt-ranking-row span{line-height:1.6}.rt-wide-dialog table{font-size:12px}.rt-name-link,.rt-back-link{appearance:none;border:0;background:none;color:#075d9c;padding:0;font:inherit;font-weight:700;cursor:pointer;text-align:left}.rt-name-link:hover,.rt-back-link:hover{text-decoration:underline}.rt-crm-dialog section{border-top:1px solid #e2e6eb;margin-top:24px;padding-top:18px}.rt-data-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.rt-data-grid>div{display:grid;gap:5px}.rt-data-grid span{color:#6c7480;font-size:12px}.rt-data-grid .full{grid-column:1/-1}.metrics-4{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:900px){.rt-data-grid,.metrics-4{grid-template-columns:1fr 1fr}}@media(max-width:700px){.rt-ranking-row{align-items:flex-start;flex-direction:column}.rt-wide-dialog{width:98vw}.rt-data-grid,.metrics-4{grid-template-columns:1fr}}
.proposal-kicker{color:#0071bc;font-size:.78rem;font-weight:800;letter-spacing:.18em;margin-top:-1rem}.cellar-proposal-image{display:block;width:100%;max-height:360px;object-fit:cover;border-radius:14px;margin:20px 0}.cellar-editor-image{display:block;width:100%;max-height:240px;object-fit:cover;border-radius:10px;margin:8px 0}
.project-analysis-modal{max-width:1450px;padding:24px}.project-analysis-modal section{border-top:1px solid #e2e6eb;padding-top:16px;margin-top:18px}.project-analysis-table{overflow:auto;margin:12px 0}.project-analysis-table table{min-width:1120px}.project-analysis-table input,.project-analysis-table select{min-width:105px}.project-analysis-table input[type=checkbox]{min-width:auto}.project-engine-controls{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.project-engine-controls label{min-width:190px}.project-system{border:1px solid #dfe4ea;border-radius:10px;padding:14px;margin:10px 0;background:#f8fafc}.project-system span,.project-final-list span{display:block;margin-top:6px}.project-final-list{display:grid;grid-template-columns:1fr 1fr;gap:16px}.project-final-list>div{border:1px solid #dfe4ea;border-radius:10px;padding:14px}
.project-analysis-modal{max-width:1100px}.project-steps{display:flex;gap:8px;flex-wrap:wrap}.project-steps>*{padding:7px 10px;border-radius:999px;background:#eef1f4;color:#667085}.project-steps>.active{background:#e7f4ed;color:#176b42}.project-step{max-width:980px;margin-inline:auto}.project-step>label{display:block;margin:16px 0}.project-step>label>input{width:100%;margin-top:7px}.project-drop{min-height:180px;border:2px dashed #b8c1cc;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:22px}.project-drop.drag{border-color:#16784e;background:#f0faf5}.project-main-action{display:block;min-width:280px;margin:24px auto 0;padding:13px 22px}.project-default{display:flex;gap:12px;align-items:end;margin:16px 0}.project-default input{display:block;margin-top:6px}.project-result-room{display:grid;grid-template-columns:1.4fr repeat(4,1fr);gap:12px;padding:14px;border-bottom:1px solid #e2e6eb}.project-result-room span{display:block}
@media(max-width:700px){.project-analysis-modal{width:100vw;max-width:none;height:100dvh;max-height:100dvh;margin:0;border-radius:0;padding:16px}.project-final-list{grid-template-columns:1fr}.project-engine-controls>*{width:100%}.project-analysis-modal .commercial-attachment{flex-direction:column}.project-analysis-modal .commercial-attachment>div{display:flex;flex-wrap:wrap;gap:6px}.project-result-room{grid-template-columns:1fr 1fr}.project-default{align-items:stretch;flex-direction:column}.project-main-action{width:100%;min-width:0}}
.commercial-check{display:flex!important;align-items:flex-start;gap:8px;padding:10px;background:#f2f6fa;border-radius:8px}.commercial-check input{width:auto!important;margin-top:2px}.commercial-plan{margin:12px 0;padding:14px;background:#f5f8fb;border:1px solid #dce5ee;border-radius:9px}.commercial-plan h4{margin:0 0 8px;color:#030f51}.commercial-plan-grid,.commercial-client-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px}.commercial-plan-grid label,.commercial-client-grid label{margin:0!important}.commercial-plan-rows>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.commercial-inline-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}.commercial-inline-head label{margin:0!important}.commercial-client-grid .full{grid-column:1/-1}.proposal-descriptions p{padding:9px 0;border-bottom:1px solid #e2e6eb;margin:0}@media(max-width:600px){.commercial-plan-grid,.commercial-client-grid,.commercial-plan-rows>div{grid-template-columns:1fr}.commercial-client-grid .full{grid-column:auto}}
.commercial-service-results{display:grid;gap:6px;margin-top:6px;max-height:280px;overflow:auto}.commercial-service-results .btn{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;white-space:normal;width:100%}.commercial-service-results .btn span{flex:0 0 auto}
.commercial-fields:has(.signed-client-panel)>:not(.signed-client-panel){display:none!important}.signed-client-panel{display:grid;gap:12px;padding:18px;border:1px solid #dbe3ea;border-radius:14px;background:#fff}.signed-client-panel h3{margin:4px 0 0;text-transform:uppercase;font-size:.82rem;letter-spacing:.06em}.signed-client-panel [data-signed-client-results]{display:grid;gap:6px}.signed-client-panel [data-signed-client-results] button{text-align:left;justify-content:flex-start}.signed-client-panel [data-signed-save]{margin-top:6px}
