.proposal-toolbar{display:flex;gap:20px;align-items:end;flex-wrap:wrap;margin:20px 0}.proposal-toolbar>label{display:flex;flex-direction:column;gap:8px;font-size:13px;flex:1;min-width:190px}.proposal-next{display:grid;grid-template-columns:1fr auto;gap:4px 14px;flex:1;min-width:240px;background:#102b3d;padding:16px;border:1px solid #315168;border-radius:12px}.proposal-next>span{font-size:12px;color:#bed0de}.proposal-next>strong{font-size:26px;grid-column:1;letter-spacing:.02em}.proposal-next>button{grid-column:2;grid-row:1/3}.proposal-next>small{grid-column:1/-1;color:#bed0de;font-size:12px;line-height:1.5}.proposal-warning{padding:12px 16px;border:1px solid #78612c;border-radius:9px;background:#372d17;color:#ffe1a0;font-size:13px;line-height:1.6}.proposal-conflict{font-size:11px;color:#ffc56b}.proposal-count{font-size:12px}.proposal-table{min-width:1000px}.proposal-table td{vertical-align:top}.proposal-table td:nth-child(2){max-width:290px;white-space:normal}.proposal-actions{display:flex;gap:6px;flex-wrap:wrap}.proposal-filename{display:block;max-width:150px;overflow-wrap:anywhere;color:var(--muted);margin-top:5px}.proposal-editor fieldset{border:0;padding:0;margin:0;min-width:0}.proposal-editor [hidden]{display:none!important}.proposal-editor .proposal-checkbox{display:flex;flex-direction:row;align-items:center;gap:10px}.proposal-checkbox input{width:18px;height:18px;accent-color:#45c4b4}.proposal-editor small{font-weight:400;line-height:1.5;color:var(--muted)}.proposal-editor #proposalAutoFields{margin:0;padding:14px;background:#102536;border-radius:9px}.proposal-editor #proposalAutoFields p{margin:0}.proposal-editor input[type=file]{white-space:normal;padding:12px;max-width:100%}.proposal-editor #proposalError{white-space:normal;padding:12px;border:1px solid currentColor;border-radius:8px;line-height:1.5}.proposal-editor #proposalSaving{color:#8fe1d6}.proposal-editor .form-actions{flex-wrap:wrap}.proposal-heading{gap:16px}@media(max-width:600px){.proposal-toolbar{gap:12px}.proposal-toolbar>label,.proposal-next{flex-basis:100%;min-width:0}.proposal-heading{align-items:flex-start}.proposal-heading h3{font-size:20px}.proposal-editor .form-grid{grid-template-columns:1fr}.proposal-editor .full{grid-column:1}.proposal-editor .form-actions>.btn{flex:1;min-height:44px}.proposal-actions .btn{min-height:40px}}
/* Match the CRM's light workspace and keep important controls readable. */
.proposal-next{background:#e7f4fa;border-color:#c6dfed}.proposal-next>span{color:#446178}.proposal-next>strong{color:#12394d}.proposal-next>small{color:#4c6475}.proposal-next>button{color:#12394d;border-color:#9ebecd}.proposal-warning{background:#fff7df;border-color:#eed391;color:#6e4b05}.proposal-conflict{display:inline-block;color:#805208;background:#fff1cd;padding:2px 5px;border-radius:4px;margin-top:3px}.proposal-editor #proposalAutoFields{background:#eef5f9}.proposal-editor #proposalSaving{color:#17625a}.proposal-table th:last-child,.proposal-table td:last-child{position:sticky;right:0;background:#fff;box-shadow:-5px 0 8px -8px #607485}.proposal-table th:last-child{background:#f6f9fb}
.proposal-totals{display:flex;flex-wrap:wrap;gap:18px 32px;background:var(--panel,#fff);border:1px solid var(--line,#dce3ed);border-radius:12px;padding:18px;margin:18px 0}.proposal-totals>div{display:grid;gap:5px}.proposal-totals strong{font-size:1.05rem}.proposal-totals small,.proposal-totals p{color:var(--muted,#607083)}.proposal-totals p{flex-basis:100%;font-size:.8rem;margin:0;line-height:1.5}.proposal-price-note{max-width:270px;margin-top:7px;font-size:.8rem;white-space:normal}.proposal-price-note summary{cursor:pointer;color:var(--muted,#607083)}.proposal-price-note p{line-height:1.5}.proposal-unmatched{border:1px solid #c79840;border-radius:10px;padding:14px;margin:16px 0;background:#fffaf0;color:#433823}.proposal-unmatched summary{font-weight:700;cursor:pointer}.proposal-unmatched>p{font-size:.85rem;line-height:1.5}.proposal-unmatched article,.proposal-file-history article{border-top:1px solid #dce3ed;padding:12px 0;display:flex;flex-wrap:wrap;gap:8px;align-items:center}.proposal-unmatched article>strong,.proposal-unmatched article>span,.proposal-unmatched article>p,.proposal-file-history article>strong,.proposal-file-history article>span{flex-basis:100%;overflow-wrap:anywhere}.proposal-file-history article>small{flex-basis:100%}.proposal-file-history>p{font-size:.85rem;line-height:1.5}.proposal-unmatched article>p{margin:0;font-size:.85rem}.proposal-table td{vertical-align:top}
@media(max-width:650px){.proposal-totals{gap:14px;padding:14px}.proposal-totals>div:first-child{flex-basis:100%}.proposal-totals strong{font-size:.95rem}}

.native-value-note{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:4px;line-height:1.4}
