.proposal-library-row{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid #e6e1ee;padding:20px 0}.proposal-library-row h3{margin:0}.proposal-library-row p{margin:5px 0}.proposal-builder{max-width:900px;margin:auto}.proposal-builder-intro,.proposal-picker{background:#f6f2fb;border:1px solid #e6ddf2;border-radius:14px;padding:20px;margin:12px 0 24px}.proposal-section{border:1px solid #e6e1ee;border-radius:12px;margin:12px 0;padding:18px}.proposal-section summary{cursor:pointer;font-weight:650;display:flex;justify-content:space-between;gap:12px}.proposal-section small{font-weight:400;color:#777}.proposal-builder fieldset{border:0;padding:0;min-width:0}.proposal-builder textarea{width:100%;min-height:150px;resize:vertical;line-height:1.6}.proposal-save{display:flex;gap:12px;flex-wrap:wrap;padding:16px 0}.proposal-document{background:#fff;color:#30273b;max-width:850px;margin:auto;line-height:1.7}.proposal-cover{background:var(--proposal-accent);color:white;position:relative;overflow:hidden;border-radius:16px}.proposal-banner{width:100%;height:auto;max-height:240px;object-fit:contain}.proposal-cover-content{padding:38px}.proposal-logo{max-width:180px;max-height:75px;object-fit:contain;background:white;border-radius:8px;padding:8px}.proposal-document h1{color:inherit;font-size:32px;line-height:1.2}.proposal-document h2{color:var(--proposal-accent);font-size:21px}.proposal-document section{padding:24px 30px;border-bottom:1px solid #eee}.proposal-document p{overflow-wrap:anywhere}.proposal-document dt{font-weight:bold}.proposal-document dd{margin:0 0 14px;white-space:pre-wrap}.proposal-document footer{padding:24px 30px;font-size:13px;color:#6e6478}.proposal-document .preserve-lines{white-space:pre-wrap}.proposal-preview{background:#f7f5fa}.proposal-builder .form-check{display:flex;gap:10px;margin:10px 0}.proposal-picker select{width:100%}@media(max-width:600px){.proposal-library-row{align-items:flex-start;flex-direction:column}.proposal-section{padding:12px}.proposal-cover-content{padding:22px}.proposal-document section,.proposal-document footer{padding:18px}.proposal-document h1{font-size:26px}.proposal-preview{padding:12px!important}.proposal-save>*{flex:1}}
@media print{body>*{display:none!important}body>dialog[open]{display:block!important;position:static!important;width:100%!important;max-width:none!important;max-height:none!important;border:0!important;overflow:visible!important}dialog[open]>*:not(.dialog-body){display:none!important}dialog .proposal-preview{overflow:visible!important;max-height:none!important;background:#fff!important;padding:0!important}dialog .proposal-document{max-width:none}dialog .proposal-document button{border:0;padding:0}dialog .proposal-document section{break-inside:avoid}dialog .proposal-cover{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

.proposal-cover small{color:#fff;opacity:.85}.proposal-document .proposal-cover p{color:inherit}
