@font-face{font-family:ProposalSans;src:url('/vendor/pdfjs/standard_fonts/LiberationSans-Regular.ttf')}@font-face{font-family:ProposalSans;src:url('/vendor/pdfjs/standard_fonts/LiberationSans-Bold.ttf');font-weight:700}
.proposal-page{--p-ink:#24332d;--p-accent:#355c48;--p-line:#d9dfd9;max-width:1600px;margin:0 auto;padding:32px 24px 80px;color:var(--p-ink)}.proposal-page *,#dashboardProposals *{box-sizing:border-box}.proposal-page [hidden]{display:none!important}.proposal-page button,#dashboardProposals button{min-height:42px;padding:9px 14px;border:1px solid #b9c5bb;border-radius:6px;background:#fff;color:#24332d;font:inherit;cursor:pointer}.proposal-page button:hover,#dashboardProposals button:hover{background:#edf3ed}.proposal-page button:disabled{opacity:.5;cursor:default}.proposal-page :is(button,input,textarea,select,a):focus-visible,#dashboardProposals :focus-visible{outline:3px solid #a27421;outline-offset:3px}.proposal-page .primary{background:#284e39;color:#fff;border-color:#284e39}.proposal-page .primary:hover{background:#193825}.proposal-kicker{font-size:12px;font-weight:800;letter-spacing:.14em;color:#466049;text-transform:uppercase}.proposal-top{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:24px}.proposal-top h1{font-size:clamp(28px,3vw,40px);line-height:1.1;margin:7px 0 12px}.proposal-top p{margin:0}.proposal-top a{color:inherit}.proposal-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:12px 0;border-top:1px solid var(--p-line);border-bottom:1px solid var(--p-line);position:sticky;top:0;background:#f7f8f4;z-index:4}.proposal-actions label{display:flex;align-items:center;gap:7px;font-size:13px}.proposal-actions select{width:auto}.proposal-actions small{margin-left:auto;color:#536554}.proposal-message{min-height:25px;margin:10px 0;color:#355c48;overflow-wrap:anywhere}.proposal-message.error{color:#9c3025}.proposal-layout{display:grid;grid-template-columns:170px minmax(340px,1fr) minmax(330px,1.05fr);gap:22px;align-items:start}.proposal-sidebar{position:sticky;top:95px}.proposal-sidebar h2{font-size:13px;letter-spacing:.07em;text-transform:uppercase;margin:0 0 12px}.template-choice{display:block;border:1px solid var(--p-line);background:#fff;border-radius:7px;padding:10px;margin-bottom:10px;cursor:pointer;font-size:12px}.template-choice:has(input:checked){border:2px solid #355c48;padding:9px;background:#f0f5ef}.template-choice input{width:auto;margin-right:5px}.template-mini{display:block;height:62px;width:48px;border:1px solid #d2d7d2;margin:0 auto 8px;background:repeating-linear-gradient(0deg,transparent 0 7px,#dce0dd 7px 9px,transparent 9px 12px),#fff;border-top:7px solid #303534}.template-mini.modern{border-top:2px solid #49757c;background:repeating-linear-gradient(0deg,transparent 0 11px,#dce9e7 11px 13px,transparent 13px 17px),#fff}.template-mini.compact{height:53px;background:repeating-linear-gradient(0deg,transparent 0 4px,#dce0dd 4px 5px,transparent 5px 7px),#fff}.proposal-sections{display:grid;gap:10px;margin-top:22px}.proposal-sections a{font-size:12px;color:#435647;text-decoration:none}.editor-section{background:#fff;border:1px solid var(--p-line);border-radius:10px;padding:22px;margin-bottom:18px;scroll-margin-top:95px;min-width:0}.editor-heading{display:flex;gap:12px;align-items:center;border-bottom:1px solid #e7ebe5;padding-bottom:14px;margin-bottom:18px}.editor-heading>span{font-size:12px;font-weight:bold;color:#728272}.editor-heading h2{font-size:19px;margin:0}.editor-section h3{font-size:14px;margin:18px 0 12px}.editor-help{font-size:13px;color:#667066;line-height:1.5}.proposal-page label,#dashboardProposals label{display:block;font-size:12px;font-weight:650;line-height:1.5;margin-bottom:12px;min-width:0}.proposal-page :is(input,textarea,select),#dashboardProposals select{display:block;width:100%;max-width:100%;min-width:0;border:1px solid #bbc6bd;border-radius:5px;background:#fff;color:#24332d;padding:10px;font:400 14px/1.4 system-ui;margin-top:5px;min-height:42px}.proposal-page textarea{resize:vertical}.proposal-page .proposal-check{display:flex;gap:10px;align-items:center;margin-top:18px}.proposal-check input{width:18px;min-height:18px;height:18px;margin:0;accent-color:#355c48}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.proposal-item{border:1px solid #e2e7e0;border-radius:6px;padding:12px;margin:12px 0;background:#fafbf9;min-width:0}.proposal-item .proposal-item{background:#fff}.item-actions{display:flex;gap:6px;flex-wrap:wrap}.proposal-page .item-actions button,#dashboardProposals .item-actions button{padding:6px 10px;font-size:12px;min-height:36px}.proposal-page .add-item{font-size:13px;border-style:dashed;width:100%;color:#355c48}.proposal-total{display:flex;justify-content:space-between;gap:10px;padding:15px 0;border-block:1px solid #dce3d9;font-size:15px}.proposal-preview-panel{position:sticky;top:90px;background:#e5e9e4;border-radius:9px;padding:14px;max-height:calc(100vh - 105px);overflow:auto;min-width:0}.preview-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.preview-heading h2{font-size:13px;margin:0}.preview-heading span{font-size:11px;color:#536353}.proposal-sheet{display:block;background:#fff;width:100%;height:auto;margin:0 0 16px;box-shadow:0 2px 8px #263a2920;font-family:ProposalSans,Arial,sans-serif}.proposal-views{display:none}.proposal-auth{padding:45px;background:white;border:1px solid #d9dfd9;border-radius:12px;text-align:center}.proposal-hero{display:grid;grid-template-columns:1.2fr 1fr;gap:64px;align-items:center;padding:50px 0 65px;max-width:1100px;margin:auto}.proposal-hero h1{font-size:clamp(38px,5vw,66px);line-height:1.04;letter-spacing:-.04em;margin:18px 0 24px}.proposal-hero p{font-size:18px;line-height:1.6}.proposal-cta{display:inline-block;text-decoration:none;padding:14px 22px;background:#284e39;color:white;border-radius:6px;font-weight:700;margin:10px 12px 10px 0}.proposal-link{color:#355c48;font-weight:650}.proposal-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;max-width:1100px;margin:0 auto 48px}.proposal-feature-grid article,.pro-card{padding:28px;background:white;border:1px solid #d8dfd5;border-radius:10px}.proposal-feature-grid h2{font-size:21px}.proposal-feature-grid p{font-size:15px;line-height:1.6}.sample-sheet{background:white;padding:32px;box-shadow:0 15px 40px #293b2220;transform:rotate(2deg);font-size:12px;border:1px solid #dce1d9}.sample-sheet header{display:flex;justify-content:space-between;border-bottom:2px solid #303534;padding-bottom:20px}.sample-sheet h3{background:#303534;color:white;padding:8px;font-size:10px;letter-spacing:.08em}.sample-sheet p{font-size:12px}.sample-sheet small{color:#667266}.sample-scope{padding:12px 0;display:flex;gap:18px}.sample-scope strong{font-size:24px;color:#526553}.sample-lines{display:block;width:100%;height:42px;overflow:visible}.proposal-list-row{display:flex;justify-content:space-between;gap:24px;padding:20px 0;border-bottom:1px solid #dbe1d7}.proposal-list-row p{margin:8px 0}.proposal-list-row small{color:#5c6c5d}.proposal-list-row a{color:#294a35}.pro-card{max-width:720px;margin:40px auto}.pro-card h1{font-size:42px}.pro-card li{margin:14px 0}.pro-card #pro-price{font-size:24px;font-weight:bold}.pro-card button{margin:8px 5px 8px 0}
@media(max-width:1150px){.proposal-layout{grid-template-columns:140px minmax(280px,1fr) minmax(280px,1fr);gap:12px}.editor-section{padding:15px}.field-grid{grid-template-columns:1fr}}
@media(max-width:850px){.proposal-page{padding:22px 16px 90px}.proposal-layout{grid-template-columns:1fr}.proposal-sidebar{position:static}.proposal-sidebar fieldset{display:flex;gap:10px;border:0;padding:0;margin:0}.template-choice{flex:1;min-width:0;text-align:center;padding:8px;font-size:11px}.template-choice:has(input:checked){padding:7px}.proposal-sections{display:none}.proposal-views{display:flex;gap:8px;margin:14px 0}.proposal-views button{flex:1}.proposal-views [aria-pressed=true]{background:#284e39;color:white}.proposal-preview-panel{position:static;max-height:none;padding:10px}#proposal-workspace[data-view=edit] .proposal-preview-panel{display:none}#proposal-workspace[data-view=preview] #proposal-fields{display:none}#proposal-workspace[data-view=preview] .proposal-sidebar{display:none}.proposal-actions{top:0;gap:6px}.proposal-actions button{font-size:12px;padding:8px}.proposal-actions small{margin-left:0}.proposal-top{display:block}.proposal-top>a{display:block;margin-top:12px}.proposal-hero{grid-template-columns:1fr;gap:30px;padding:15px 0 40px}.proposal-hero h1{font-size:42px}.sample-sheet{max-width:480px;width:100%;margin:auto;transform:none}.proposal-feature-grid{grid-template-columns:1fr;gap:14px}.proposal-list-row{flex-direction:column;gap:8px}.proposal-auth{padding:25px}.editor-section{padding:16px}.proposal-page .item-actions button{min-height:42px}}
@media print{body>*{display:none!important}.proposal-page{display:block!important}.proposal-page>*{display:none!important}#proposal-workspace,.proposal-layout,.proposal-preview-panel,#proposal-preview{display:block!important;position:static;overflow:visible;max-height:none;padding:0}.proposal-layout>*:not(.proposal-preview-panel),.preview-heading{display:none!important}.proposal-sheet{page-break-after:always;box-shadow:none;margin:0}.proposal-sheet:last-child{page-break-after:auto}}

.proposal-page{font-family:Inter,ui-sans-serif,system-ui,sans-serif}.proposal-page .template-choice input{display:inline-block;width:16px;height:16px;min-height:16px;margin:0 5px 0 0;padding:0;vertical-align:middle;accent-color:#355c48}.proposal-page .proposal-views button[aria-pressed="true"]{background:#284e39;color:#fff}

/* Editor refinements: scope ownership, lightweight examples, and aligned toolbar. */
.proposal-page .proposal-actions label{display:flex;align-items:center;gap:7px;margin:0}.proposal-page .proposal-actions select{margin:0;width:auto}.scope-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;border-bottom:1px solid #dce3d9;padding-bottom:12px;margin-bottom:14px}.editor-section .scope-heading h3{margin:0}.scope-heading .item-actions{margin-left:auto}.proposal-examples{margin:0 0 18px;font-size:13px}.proposal-examples summary{cursor:pointer;color:#355c48;font-weight:650;width:fit-content;padding:6px 0}.proposal-examples>div{padding:12px;border-left:2px solid #d9dfd9;margin-top:8px}.proposal-examples p{line-height:1.5;margin:0 0 8px}.client-tools{padding:14px;background:#f4f7f1;border:1px solid #dce3d9;border-radius:6px;margin-bottom:18px}#proposal-created{display:block;color:#667066;margin-top:8px}@media(max-width:600px){.scope-heading{align-items:flex-start}.scope-heading .item-actions{margin-left:0;width:100%}}
/* Keep the heading, action bar, and editor workspace visually connected. */
.proposal-top{margin-bottom:14px}
#proposal-message:empty,#proposal-created:empty{display:none}
.proposal-page .proposal-actions{border:1px solid var(--p-line);border-radius:6px;padding:12px 14px;margin-bottom:24px}
@media(max-width:850px){.proposal-top{margin-bottom:12px}.proposal-page .proposal-actions{padding:10px 12px;margin-bottom:20px}}

.proposal-page .proposal-actions{top:var(--proposal-header-height,0px)}
.proposal-page .proposal-sidebar,.proposal-page .proposal-preview-panel{top:calc(var(--proposal-header-height,0px) + var(--proposal-toolbar-height,66px) + 24px)}
.proposal-page .editor-section{scroll-margin-top:calc(var(--proposal-header-height,0px) + var(--proposal-toolbar-height,66px) + 24px)}
@media(min-width:851px){.proposal-page .proposal-preview-panel{max-height:calc(100vh - var(--proposal-header-height,0px) - var(--proposal-toolbar-height,66px) - 40px)}}
