.proposal-template{background:#fcfbf7;border-top:6px solid #202020}.proposal-template:after{content:"";position:absolute;right:0;bottom:0;width:64px;height:8px;background:var(--proposal-accent)}.proposal-template .reference-band{height:80px;background:transparent!important;color:#202020!important;margin:0!important;padding:0!important;border-bottom:1px solid #e8e8e8}.proposal-template .reference-band h1{font-size:24px}.proposal-template .logo-disc{width:100px;height:65px;border-radius:0;background:transparent}.proposal-template .reference-meta{margin-bottom:12px}.proposal-template h2{color:#202020!important}.proposal-cover .reference-band,.proposal-cover .reference-meta{display:none!important}.proposal-cover .sheet-content{position:relative;overflow:visible}.cover-rings{position:absolute;width:480px;height:480px;border:1px solid #8e7139;border-radius:50%;right:-310px;top:-115px;box-shadow:0 0 0 26px #fcfbf7,0 0 0 27px #8e7139;pointer-events:none;background:radial-gradient(circle,#f5f5f5 0 30%,#eeedeb 30% 54%,#eae6de 54% 74%,transparent 74%)}.cover-brand{height:140px;position:relative;display:flex;align-items:flex-start;padding-top:15px;font-size:24px}.cover-brand img{width:220px;height:80px;object-fit:contain;object-position:left}.cover-intro{position:relative;max-width:530px}.proposal-cover .cover-eyebrow{font-size:12px;color:var(--proposal-accent);margin-bottom:26px}.proposal-cover .cover-intro h1{font-size:48px;font-weight:400;line-height:1.08;overflow-wrap:anywhere;margin:0 0 20px}.proposal-cover .cover-subtitle{font-size:20px;color:#555;line-height:1.35}.cover-rule{height:5px;background:var(--proposal-accent);width:120px;margin:22px 0 44px}.cover-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px}.cover-grid>div{background:#f0f0ef;padding:17px 20px;min-height:84px;overflow-wrap:anywhere}.cover-grid>div:nth-child(1){border-top:2px solid #202020}.cover-grid>div:nth-child(2){border-top:2px solid var(--proposal-accent)}.cover-grid small{text-transform:uppercase;font-size:10px;color:#777}.cover-grid p{font-size:15px;margin-top:10px;line-height:1.3}.cover-details{margin-top:36px;color:#888;font-size:10px}.cover-details p{margin:0 0 16px}.cover-details strong{font-weight:400;color:#666}.top .tool-brand{display:flex;align-items:center;gap:12px}.tool-brand img{width:150px;height:48px;object-fit:contain}.top .prototype-cta{font-size:13px;border:1px solid #202020;border-radius:24px;padding:11px 16px;white-space:nowrap}.top{gap:16px;flex-wrap:wrap}@media(max-width:760px){.tool-brand img{width:115px;height:38px}.top .prototype-cta{font-size:12px;padding:9px 12px}.top #download{margin-left:auto}}@media print{.prototype-cta{display:none!important}}.tool-terms{padding:24px;text-align:center;color:#666;font-size:12px;line-height:1.7;border-top:1px solid #e8e8e8;background:#fff}.tool-terms a{text-decoration:underline;color:#202020}@media print{.tool-terms{display:none!important}}.download-dialog{width:min(520px,94vw);max-height:90vh;overflow:auto;border:0;border-radius:16px;padding:26px}.download-dialog::backdrop{background:#0007}.download-dialog p{font-size:13px;line-height:1.6;color:#666}.download-dialog label{display:block;margin:12px 0;font-size:12px}.download-dialog input:not([type=checkbox]){display:block;width:100%;padding:10px;border:1px solid #ddd;border-radius:6px;margin-top:5px}.download-dialog .capture-error{color:#a32b20}.download-dialog [type=submit]{background:#202020;color:#fff}.download-dialog a{text-decoration:underline}.approval-block{margin-top:26px;border-top:1px solid var(--border);padding-top:5px}.approval-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px}.approval-grid section{padding:18px;background:#fafafa;border:1px solid var(--border)}.approval-label{font-size:9px;letter-spacing:1px;color:#666}.approval-grid h3{font-size:13px;min-height:32px;overflow-wrap:anywhere}.signature-line{height:44px;border-bottom:1px solid #aaa;margin-bottom:7px}.approval-grid span{font-size:10px;color:#666}.approval-detail{display:flex;gap:12px;margin-top:18px;font-size:10px}.approval-detail span{flex:1;border-bottom:1px solid #ccc}.reference.support-page table:has(th:nth-child(3)) th:first-child{width:38%}.reference.support-page table:has(th:nth-child(3)) th:nth-child(2){width:40%}.reference.support-page table:has(th:nth-child(3)) th:nth-child(3){width:22%}.reference .prepared:has(p:empty) p:empty{display:none}.reference .reference-band{height:134px;display:flex;align-items:center;justify-content:space-between}.reference .reference-band h1{font-size:34px;font-weight:400;margin:0}.reference .logo-disc{width:118px;height:118px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0}.reference .logo-disc img{object-fit:contain;max-height:65px}.reference-meta{display:flex;justify-content:space-between;border-bottom:1px solid var(--border);padding:18px 0;font-size:10px;margin-bottom:26px}.reference-meta>div:last-child{text-align:right}.reference-meta p{color:#666}.reference h2{font-size:15px;font-weight:400;margin:30px 0 17px}.reference .prepared h3{font-size:24px;font-weight:400;margin:8px 0 12px}.reference .prepared{margin-bottom:32px}.reference p{margin:3px 0;line-height:1.45}.reference .note{font-size:10.5px;color:#666;margin:13px 0 24px}.reference th{font-size:11px;font-weight:400}.reference td{font-size:11.5px}.reference table th:first-child{width:58%}.reference table:has(th:nth-child(3)) th:first-child{width:61%}.reference table:has(th:nth-child(3)) th:nth-child(2){width:17%}.reference table:has(th:nth-child(3)) th:nth-child(3){width:22%}.reference table:not(:has(th:nth-child(3))) th:first-child{width:35%}.reference table:not(:has(th:nth-child(3))) td:last-child,.reference table:not(:has(th:nth-child(3))) th:last-child{text-align:left}.reference .clause{padding:9px 0;font-size:11.5px}.reference footer{bottom:40px;font-size:9px}.reference .highlight td{font-weight:400}*{box-sizing:border-box}body{margin:0;background:#f5f5f5;color:#202020;font:14px Arial,sans-serif}button,select,input,textarea{font:inherit}button,.button{cursor:pointer;border:1px solid #ddd;border-radius:7px;background:#fff;padding:9px 12px;color:#202020}button:hover,.button:hover{background:#fbe1d1}a{color:inherit;text-decoration:none}.top{display:flex;align-items:center;justify-content:space-between;background:#fff;padding:20px 28px;border-bottom:1px solid #e8e8e8}.top a{font-size:24px;font-weight:700}.top small{font-size:12px;font-weight:400}.top #download{background:#202020;color:#fff}.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px 24px;background:#fff}.actions span{font-size:11px;color:#777}main{display:grid;grid-template-columns:390px 1fr}aside{padding:20px;background:#fff;border-right:1px solid #ddd;height:calc(100vh - 140px);overflow:auto;position:sticky;top:0}#tabs{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:20px}#tabs .active{background:#202020;color:#fff}label.field{display:block;margin:12px 0;color:#666;font-size:12px}label.field input,label.field textarea,label.field select{display:block;width:100%;margin-top:6px;border:1px solid #ddd;border-radius:6px;padding:10px;background:#fff;color:#202020}textarea{min-height:70px;resize:vertical}input[type=checkbox]{width:auto!important;display:inline!important}.card{padding:14px;border:1px solid #e8e8e8;border-radius:10px;margin:12px 0}.row{display:flex;gap:7px;align-items:center}.row>*{min-width:0}.row .field{flex:1}.help{font-size:12px;line-height:1.6;color:#777}.preset{width:100%;margin:5px 0;text-align:left}.swatch{display:inline-block;width:20px;height:20px;margin:3px;border-radius:50%}.mini{display:inline-block;width:65px;height:44px;border:1px solid #ddd;vertical-align:middle;margin-right:10px}.preview-tools{position:sticky;top:0;z-index:5;display:flex;gap:10px;align-items:center;justify-content:center;padding:14px;background:#f5f5f5}#preview{overflow:auto;min-width:0}#pages{padding:20px;display:flex;flex-direction:column;align-items:center;gap:22px}.page{width:794px;height:1123px;background:#fff;flex-shrink:0;position:relative;box-shadow:0 5px 24px #0001;overflow:hidden}.sheet-content{overflow:hidden}.page h1{font-size:30px;margin:10px 0}.page h2{font-size:17px;margin:18px 0 10px}.page p{line-height:1.5;white-space:pre-wrap;margin:7px 0}.page table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:inherit}.page td,.page th{vertical-align:top;word-break:break-word;text-align:left;border-bottom:1px solid var(--border);padding:var(--cell)}.page td:last-child,.page th:last-child{text-align:right}.page table:has(th:nth-child(5)) th:first-child{width:38%}.page table:has(th:nth-child(5)) th:nth-child(2){width:16%}.page table:has(th:nth-child(5)) th:nth-child(3){width:18%}.page table:has(th:nth-child(5)) th:nth-child(4){width:10%}.page table:has(th:nth-child(5)) th:nth-child(5){width:18%}.page table:has(th:nth-child(5)) td:nth-child(n+3),.page table:has(th:nth-child(5)) th:nth-child(n+3){text-align:right}.page .muted{font-size:.88em;opacity:.72}.page .doc-head{padding:18px;margin-bottom:18px}.page .doc-head img{object-fit:contain;max-height:85px}.page .meta{display:grid;grid-template-columns:1fr 1fr;gap:24px}.page .total{padding:17px;margin-top:12px;font-size:17px;font-weight:700;display:flex;justify-content:space-between}.page footer{position:absolute;bottom:22px;left:var(--margin);right:var(--margin);display:flex;justify-content:space-between;font-size:10px;border-top:1px solid var(--border);padding-top:9px}.page .clause{padding-bottom:10px}.mobile{display:none}#warnings{padding:0 20px;color:#8a3e22;font-size:12px}.selected{outline:2px solid #5d2a1a}@media(max-width:760px){.top{padding:14px}.top>span{display:none}.actions{padding:10px}.mobile{display:flex;justify-content:center;padding:10px;gap:10px}main{display:block}aside{height:auto;position:static}#preview{display:none}body.preview-mode aside{display:none}body.preview-mode #preview{display:block}#pages{padding:8px}.actions span{width:100%}}@media print{body{background:#fff}.top,.actions,.mobile,aside,.preview-tools,#warnings{display:none!important}main,#preview,#pages{display:block!important;padding:0!important;overflow:visible!important}.page{zoom:1!important;box-shadow:none;break-after:page;margin:0!important}.page:last-child{break-after:auto}@page{size:A4;margin:0}}
