:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#233e37;background:#f7f9f7;font-synthesis:none;--green:#1e5b44;--muted:#75817b;--border:#dfe5df}*{box-sizing:border-box}body{margin:0}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button,a{transition:background .15s,color .15s}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #b19c4e;outline-offset:3px}button{border:0}a{color:inherit}button span{margin-left:12px}[hidden]{display:none!important}.sidebar{position:fixed;inset:0 auto 0 0;width:258px;background:#fff;border-right:1px solid var(--border);padding:35px 22px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-size:10px;font-weight:750;letter-spacing:.4px;white-space:nowrap}.brand small{display:block;font-size:6px;letter-spacing:.6px;margin-top:5px;color:#7b867c}.monogram{display:block;position:relative;font-size:42px;font-family:Georgia,serif;line-height:.8;letter-spacing:-8px;width:49px;color:var(--green)}.monogram>span{font-size:22px;letter-spacing:-4px}.monogram i{display:block;width:40px;border-bottom:3px solid #b1a065;margin-top:9px}.workspace-label{font-size:9px;letter-spacing:1.5px;color:#89928c;margin:62px 14px 17px}.nav-active{border-radius:7px;background:#eaf1eb;font-size:13px;font-weight:600;padding:15px;color:var(--green);display:flex;gap:12px;align-items:center}.nav-active>span:first-child{font-size:19px}.nav-arrow{margin-left:auto}.side-note{font-size:11px;margin:32px 14px;color:#637469}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#4d8d64;margin-right:7px;vertical-align:middle}.side-note p{line-height:1.9;margin-top:11px;padding-left:13px;font-size:11px}.side-note b{font-weight:600;color:#3c5146}.side-bottom{margin-top:auto;border-top:1px solid var(--border);padding-top:23px;display:flex;align-items:center;gap:10px;font-size:10px}.avatar{height:32px;width:32px;background:#eeeede;border-radius:50%;display:grid;place-items:center;color:#6c7248;font-size:10px}.side-bottom small{display:block;color:var(--muted);font-size:9px;margin-top:5px}main{margin-left:258px}.topbar{height:76px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;padding:0 46px;background:#fff;font-size:11px;color:#7c887f}.topbar b{font-weight:500;color:#34493d}.slash{padding:0 15px;color:#bcc4bd}.demo-pill{font-size:9px;font-weight:650;letter-spacing:1px;padding:7px 10px;border:1px solid var(--border);border-radius:4px;color:#52705a}.content{max-width:1350px;margin:auto;padding:46px 46px 22px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:34px}.eyebrow{font-size:9px;letter-spacing:1.7px;font-weight:650;color:#718569;margin:0 0 15px}h1{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:39px;line-height:1.14;letter-spacing:-1px;margin:0 0 17px;color:#254c39}.intro{font-size:12px;line-height:1.85;color:#78847b;margin:0}.heading-mark{display:flex;gap:7px;align-items:end;height:92px;margin-right:10px;transform:skewY(-12deg);opacity:.65}.heading-mark span{width:22px;height:50px;background:#d7e1d3}.heading-mark span:nth-child(2){height:70px;background:#c4d3bf}.heading-mark span:nth-child(3){height:90px;background:#a5b69b}.steps{list-style:none;margin:0 0 24px;padding:0 0 20px;display:flex;border-bottom:1px solid var(--border);gap:48px;font-size:11px;color:#909990}.steps li{display:flex;align-items:center;gap:10px}.steps li>span{border:1px solid #d7dfd5;border-radius:50%;font-size:9px;width:24px;height:24px;display:grid;place-items:center}.steps li.active{color:var(--green);font-weight:650}.steps li.active>span{background:var(--green);border-color:var(--green);color:white}.upload-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:22px}.upload-card,.example-card{border:1px solid var(--border);border-radius:10px;background:white}.upload-card{padding:24px}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.section-title h2{font-size:13px;margin:0;font-weight:600}.section-title>span{font-size:9px;color:#929b93}.drop-zone{border:1px dashed #bdcdbb;border-radius:6px;min-height:287px;background:#fbfcfa;text-align:center;padding:25px 12px}.drop-zone.dragging{border:2px solid var(--green);background:#e9f3e8}.file-icon{position:relative;display:grid;place-items:center;width:38px;height:46px;margin:0 auto 20px;border:1px solid #b5c8ad;border-radius:5px;background:#eef3e8;font-size:24px;color:var(--green)}.file-icon>span{position:absolute;font-family:Arial,sans-serif;bottom:-6px;font-size:7px;background:white;border:1px solid #b5c8ad;padding:2px 5px;letter-spacing:.5px}.drop-zone h3{font-size:16px;font-weight:600;margin:0 0 9px}.drop-zone p{font-size:11px;color:#7d897e;line-height:1.8;margin:0 0 18px}.primary{background:var(--green);border:1px solid var(--green);color:white;font-size:11px;font-weight:600;padding:13px 19px;border-radius:5px}.primary:hover{background:#153e30}.drop-zone>small{display:block;font-size:9px;color:#99a197;margin-top:14px}.privacy-note{font-size:9px;color:#7f8c7e;margin:17px 0 0;display:flex;gap:8px;align-items:center}.privacy-note>span{font-size:14px}.example-card{background:#eff2e9;padding:25px;display:flex;flex-direction:column}.small-tag{font-size:8px;letter-spacing:1.2px;font-weight:650;color:#8c906c}.example-card h2{font-family:Georgia,serif;font-weight:400;font-size:26px;line-height:1.2;margin:16px 0 12px;letter-spacing:-.5px}.example-card p{font-size:11px;line-height:1.8;color:#7a8471;margin:0 0 20px}.sample-file{display:flex;gap:10px;align-items:center;border:1px solid #dce3d3;background:#f8faf3;border-radius:5px;padding:13px 10px;margin-bottom:15px}.sample-icon{font-size:23px;color:#68895d}.sample-file b{font-size:10px;font-weight:600}.sample-file div>span{display:block;font-size:8px;color:#89927f;margin-top:5px}.xlsx-tag{font-size:7px;color:#8a9780;margin-left:auto}.secondary{border:1px solid #c4cfbb;background:transparent;color:#42613c;font-size:10px;font-weight:650;padding:12px;border-radius:5px;width:100%}.secondary:hover{background:#e2ead9}.sample-download{font-size:9px;color:#6e7e65;text-align:center;margin-top:13px;text-underline-offset:3px}.example-bottom{margin-top:23px;border-top:1px solid #d9e1cf;padding-top:17px;font-size:8px;color:#8c937d;letter-spacing:.8px}.example-bottom p{letter-spacing:0;font-size:10px;margin:9px 0 0}.benefits{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:30px;padding:10px 0 0}.benefits>div>span{font-size:9px;color:#9aa48c}.benefits h3{font-size:11px;font-weight:600;margin:10px 0 7px}.benefits p{font-size:10px;color:#889281;line-height:1.8;margin:0;max-width:255px}footer{display:flex;justify-content:space-between;border-top:1px solid var(--border);margin-top:38px;padding-top:19px;font-size:8px;color:#9aa397;letter-spacing:.4px}footer>span{letter-spacing:0}.processing{min-height:330px;text-align:center;padding:70px 20px}.processing h2{font-size:20px;font-weight:500}.processing p{font-size:13px;color:var(--muted)}.spinner{width:36px;height:36px;border:3px solid #dee7d8;border-top-color:var(--green);border-radius:50%;margin:0 auto 25px;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}#message{padding:13px 16px;margin-bottom:18px;font-size:12px;border-radius:6px;background:#fff0e8;color:#874a25}#message.success{background:#e4efdf;color:#345d30}.review-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.review-heading h2{font-family:Georgia,serif;font-size:25px;font-weight:400;margin:0;overflow-wrap:anywhere}.review-heading p:not(.eyebrow){font-size:11px;color:var(--muted);margin:10px 0 23px}.review-heading .eyebrow{margin:3px 0 10px}.quiet{padding:10px 12px;border:1px solid var(--border);background:#fff;border-radius:5px;color:#65795c;font-size:10px;white-space:nowrap}.stats{display:grid;grid-template-columns:1fr 1fr 1fr 1.5fr;border:1px solid var(--border);border-radius:8px;background:white;overflow:hidden}.stats>div{padding:20px;border-right:1px solid var(--border)}.stats>div:last-child{border:0}.stats span{display:block;font-size:8px;color:#8a9585;letter-spacing:.7px}.stats b{display:block;font-size:27px;font-weight:500;margin-top:9px;font-variant-numeric:tabular-nums}.stats .total-stat{background:#edf2e8}.total-stat b{color:var(--green)}.review-note{font-size:10px;color:#89907d;line-height:1.8;margin:15px 0}.table-card{background:#fff;border:1px solid var(--border);border-radius:8px;overflow:hidden}.table-toolbar{padding:15px;display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--border)}.filters{display:flex;gap:3px;align-items:center}.filters button{background:transparent;font-size:10px;color:#829079;padding:8px 10px;border-radius:4px}.filters button.selected{background:#eaf1e4;color:var(--green);font-weight:650}#search{width:245px;border:1px solid var(--border);border-radius:5px;padding:9px 12px;font-size:10px;color:#40533d;background:#fcfdfb}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:760px}th{font-size:8px;letter-spacing:.5px;color:#8b9585;font-weight:500;text-align:left;padding:13px 12px;border-bottom:1px solid var(--border);background:#fbfcf9}th:first-child{width:39%;padding-left:19px}th:nth-child(2){width:11%}th:nth-child(3){width:12%}th:nth-child(4){width:14%}th:nth-child(5){width:13%}th:nth-child(6){width:11%}td{padding:16px 12px;border-bottom:1px solid #edf0e8;font-size:10px;vertical-align:middle;font-variant-numeric:tabular-nums}td:first-child{padding-left:19px}.article-code{display:block;font-size:9px;color:#98a08e;margin-bottom:5px}.article-desc{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.6;font-size:10px;color:#40533c}.price-input{width:100%;max-width:110px;border:1px solid #dfe5d9;border-radius:4px;padding:8px;font-size:11px;text-align:right;background:#fdfefc;color:#3c5335}.price-input.edited{border-color:#bca961;background:#fffdf3}.price-input:invalid{border-color:#b65436}.badge{display:inline-block;border-radius:4px;padding:5px 7px;font-size:8px;white-space:nowrap;background:#f3eddb;color:#987e38}.badge.alta{background:#e6f0df;color:#537643}.badge.baixa{background:#faebdd;color:#a37241}.badge.sem{background:#f0f1ed;color:#8d9685}.source-button{background:none;color:var(--green);font-size:9px;padding:6px 0;text-decoration:underline;text-underline-offset:3px;text-align:left}.detail-row td{background:#f7faf3;padding:18px 22px}.detail-row p{font-size:11px;line-height:1.8;margin:0 0 8px}.candidate{display:grid;grid-template-columns:100px 190px 1fr;gap:15px;padding:10px 0;border-top:1px solid #e1e8db;font-size:10px;line-height:1.65;color:#73816a}.candidate b{color:#527547}.empty{padding:35px;text-align:center;font-size:12px;color:var(--muted)}.table-footer{display:flex;justify-content:space-between;padding:12px 17px;font-size:9px;color:#9aa38f}.export-bar{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:22px 0;padding:22px;background:#eaf0e3;border:1px solid #dbe4d1;border-radius:7px}.export-bar b{font-size:12px;font-weight:600}.export-bar p{font-size:10px;color:#7a8870;margin:7px 0 0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(min-width:1600px){.content{padding-top:60px}.upload-card{padding:30px}.drop-zone{padding:40px 12px;min-height:330px}.example-card{padding:30px}h1{font-size:44px}}@media(max-width:1150px){.sidebar{width:210px;padding:30px 17px}.brand{font-size:8px}.brand small{font-size:5px}main{margin-left:210px}.content{padding:35px 28px 20px}.topbar{padding:0 28px}.heading-mark{display:none}.upload-grid{grid-template-columns:1.3fr 1fr}.example-card{padding:22px}.stats>div{padding:15px}.stats b{font-size:24px}.total-stat b{font-size:23px}}@media(max-width:850px){.sidebar{position:relative;width:auto;flex-direction:row;align-items:center;padding:18px 24px;border-bottom:1px solid var(--border)}.brand{font-size:10px}.brand small{font-size:6px}.workspace-label,.nav-active,.side-note,.side-bottom{display:none}main{margin-left:0}.topbar{height:58px}.content{padding:28px 24px}h1{font-size:36px}.upload-grid{grid-template-columns:1.3fr 1fr}.steps{gap:30px}.stats{grid-template-columns:repeat(2,1fr)}.stats>div{border-bottom:1px solid var(--border)}}@media(max-width:600px){.content{padding:25px 18px}.topbar{padding:0 18px;font-size:10px}.demo-pill{font-size:7px}.steps{gap:0;justify-content:space-between;font-size:9px}.steps li{gap:5px}.steps li>span{width:21px;height:21px;font-size:8px}h1{font-size:31px}.intro{font-size:11px}.desktop-break{display:none}.upload-grid{grid-template-columns:1fr}.example-card{padding:25px}.benefits{grid-template-columns:1fr;gap:20px}.benefits p{max-width:100%}.benefits h3{display:inline-block;margin:0 0 5px 10px}.benefits p{padding-left:25px}.table-toolbar{flex-direction:column}#search{width:100%}.review-heading h2{font-size:20px}.review-heading{align-items:flex-start}.stats b{font-size:24px}.export-bar{align-items:stretch;flex-direction:column}.export-bar .primary{width:100%}.table-footer{gap:12px;line-height:1.5}.candidate{grid-template-columns:1fr}footer{gap:18px;line-height:1.6}.privacy-note{font-size:8px}}

.table-scroll{position:relative}
.export-actions{display:flex;gap:10px;align-items:center;flex-shrink:0}.button-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;white-space:nowrap}.button-link span{margin-left:12px}.proposal-section{scroll-margin-top:24px;margin-top:36px;border-top:1px solid var(--border);padding-top:30px}.proposal-form{background:#fff;border:1px solid var(--border);border-radius:8px;padding:26px}.proposal-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px 18px}.proposal-fields .form-field{min-width:0}.proposal-fields label{font-size:11px;font-weight:600;line-height:1.6;min-width:0}.proposal-fields input,.proposal-fields select,.proposal-fields textarea{display:block;width:100%;border:1px solid #d9e2d6;border-radius:5px;padding:11px 12px;margin-top:7px;background:#fcfdfb;color:#344d3e;font:inherit;font-size:12px;font-weight:400}.proposal-fields textarea{resize:vertical;min-height:78px}.proposal-fields input:focus-visible,.proposal-fields select:focus-visible,.proposal-fields textarea:focus-visible{outline:3px solid #b19c4e;outline-offset:3px}.proposal-fields .field-wide{grid-column:1/-1}.optional{font-weight:400;color:var(--muted);font-size:10px;margin-left:5px}.proposal-blockers{background:#fff6e7;border:1px solid #eee1c4;border-radius:5px;margin-top:22px;padding:14px 16px;color:#7f6335;font-size:11px;line-height:1.8}.proposal-blockers b{font-weight:600}.proposal-blockers ul{margin:5px 0 0;padding-left:20px}.proposal-preview-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:28px 0 14px}.proposal-preview-heading h3{font-size:13px;margin:0;font-weight:600}.proposal-preview-heading>span{font-size:10px;color:var(--muted)}.proposal-preview{border:1px solid #dfe5df;border-radius:5px;padding:25px;background:#fff;color:#354b40}.proposal-preview .table-scroll{max-height:430px;overflow:auto}.preview-table th{position:sticky;top:0;z-index:1}.preview-brand{display:flex;justify-content:space-between;gap:12px;font-size:10px;letter-spacing:.5px;padding-bottom:18px;border-bottom:3px solid var(--green)}.preview-brand>span{font-size:9px;color:#728070}.preview-title{display:flex;justify-content:space-between;align-items:baseline;gap:18px;padding-top:20px}.preview-title h3{font-family:Georgia,serif;font-size:24px;font-weight:400;color:var(--green);margin:0;overflow-wrap:anywhere}.preview-title>span{font-size:10px;overflow-wrap:anywhere}.preview-data{display:grid;grid-template-columns:2fr 1fr 1fr;gap:18px;margin:23px 0}.preview-data dt{font-size:9px;color:var(--muted);margin-bottom:6px}.preview-data dd{font-size:12px;font-weight:600;margin:0;overflow-wrap:anywhere}.preview-count{font-size:10px;color:var(--muted);line-height:1.7;margin:15px 0 10px}.preview-table{min-width:590px}.preview-table th:first-child{width:49%;padding-left:12px}.preview-table th:nth-child(2){width:11%;text-align:right}.preview-table th:nth-child(3){width:9%}.preview-table th:nth-child(4),.preview-table th:nth-child(5){width:15.5%;text-align:right}.preview-table td{padding:12px;font-size:10px}.preview-table td:nth-child(2),.preview-table td:nth-child(4),.preview-table td:nth-child(5){text-align:right}.preview-description{display:block;line-height:1.6;overflow-wrap:anywhere}.preview-totals{width:min(350px,100%);margin:24px 0 22px auto;font-size:12px;font-variant-numeric:tabular-nums}.preview-totals>div{display:flex;justify-content:space-between;gap:14px;padding:8px 0}.preview-totals dd{margin:0}.preview-grand-total{border-top:1px solid var(--border);font-size:16px;font-weight:650;color:var(--green);margin-top:7px;padding-top:15px!important}.preview-conditions{border-top:1px solid var(--border);padding-top:12px}.preview-conditions h4{font-size:11px;margin:12px 0 6px}.preview-conditions p{font-size:11px;line-height:1.8;margin:0 0 8px;white-space:pre-wrap;overflow-wrap:anywhere}.review-confirmation{display:flex;gap:12px;align-items:flex-start;border:1px solid #dbe4d1;background:#f2f6ee;border-radius:5px;padding:16px;margin:22px 0 0;font-size:12px;line-height:1.7;cursor:pointer}.review-confirmation input{accent-color:var(--green);flex-shrink:0;width:16px;height:16px;margin-top:3px}.proposal-submit{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:19px}.proposal-submit p{font-size:11px;color:var(--muted);line-height:1.7;margin:0;max-width:450px}.proposal-submit button:disabled{cursor:not-allowed}.pdf-result{border:1px solid #d3dfca;background:#edf3e8;border-radius:8px;padding:23px;margin-top:24px;scroll-margin-top:24px}.pdf-result-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.pdf-result-heading h3{font-family:Georgia,serif;font-weight:400;color:var(--green);font-size:25px;margin:8px 0}.pdf-result-heading p{font-size:11px;color:#697b5f;margin:0;overflow-wrap:anywhere}.pdf-result-details{font-size:12px;color:var(--green);font-weight:600;margin:0 0 9px;line-height:1.7}.pdf-result-note{font-size:11px;color:#697b5f;line-height:1.7;margin:0}
@media(max-width:1150px){.export-bar{align-items:flex-start}.export-actions{flex-wrap:wrap;justify-content:flex-end}.proposal-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.pdf-result-heading{align-items:flex-start}}
@media(max-width:850px){.export-bar{flex-direction:column}.export-actions{justify-content:flex-start}.proposal-preview-heading{align-items:flex-start;flex-direction:column;gap:6px}.pdf-result-heading{flex-direction:column;gap:15px}}
@media(max-width:600px){.export-actions{width:100%;flex-direction:column;align-items:stretch}.export-actions button,.export-actions a{width:100%;text-align:center}.proposal-form{padding:17px}.proposal-fields{grid-template-columns:1fr;gap:15px}.proposal-preview{padding:15px}.preview-brand{flex-direction:column;gap:8px}.preview-title{flex-direction:column;gap:8px}.preview-title h3{font-size:21px}.preview-data{grid-template-columns:1fr 1fr}.preview-data>div:first-child{grid-column:1/-1}.proposal-submit{flex-direction:column;align-items:stretch;gap:14px}.proposal-submit button{width:100%}.review-confirmation{font-size:11px;padding:13px}.pdf-result{padding:17px}.steps li{max-width:33%;line-height:1.4}}

/* App genérica: base de preços, ajuste, emitente */
.base-card{grid-column:1/-1;border:1px solid var(--border);border-radius:10px;background:#fff;padding:22px 24px}
.base-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;flex-wrap:wrap}
.base-head h2{font-size:13px;margin:0 0 6px;font-weight:600}
.base-head p{font-size:11px;color:var(--muted);margin:0;line-height:1.7}
.base-tag{display:inline-block;font-size:8px;letter-spacing:1px;font-weight:700;padding:4px 7px;border-radius:4px;background:#fff1d6;color:#8a6116;margin-left:8px;vertical-align:middle}
.base-tag.own{background:#e6f0df;color:#3f6a35}
.base-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.base-actions select{border:1px solid var(--border);border-radius:5px;padding:10px;font:inherit;font-size:11px;background:#fcfdfb;color:#34493d}
.base-files{list-style:none;margin:16px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:8px}
.base-files li{border:1px solid #e6ebe4;border-radius:6px;padding:9px 11px;font-size:10px;color:#4b5f50;display:flex;justify-content:space-between;gap:10px;align-items:center;min-width:0}
.base-files li span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.base-files li b{font-weight:600;white-space:nowrap}
.base-files li.ignored{background:#fff6ee;color:#8a5a33}
.adjust{display:flex;gap:8px;align-items:center;font-size:10px;color:#5b6d5f}
.adjust input{width:72px;border:1px solid var(--border);border-radius:5px;padding:8px;font:inherit;font-size:11px;text-align:right;background:#fcfdfb}
.toolbar-right{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.monogram.generic{font-family:Georgia,serif;font-size:26px;letter-spacing:-1px;width:auto;min-width:40px}
@media(max-width:600px){.toolbar-right{flex-direction:column;align-items:stretch}.adjust{justify-content:space-between}.base-files{grid-template-columns:1fr}}
.proposal-fields .field-wide-2{grid-column:span 2}
@media(max-width:600px){.proposal-fields .field-wide-2{grid-column:auto}}
.brand-logo{display:block;width:44px;height:auto;flex-shrink:0;border-radius:6px;background:#fff}
@media(max-width:850px){.brand-logo{width:36px}}
