.backup-options{margin-block:20px;font-size:12px;color:var(--ui-muted)}.backup-options>summary{width:fit-content;min-height:44px;padding-block:12px;cursor:pointer;color:var(--ui-text)}.backup-options .preset-actions{margin-top:0}.guide-list-heading{margin-block:28px 12px}.guide-list-heading h2{font-size:16px}.a4-toolbar{position:sticky;top:var(--sticky-header-height,90px);z-index:4;display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;padding:12px 0;margin-bottom:16px;background:var(--ui-bg);color:var(--ui-text);font-size:12px}.a4-toolbar label,.a4-toolbar nav{display:flex;align-items:center;gap:8px}.a4-toolbar nav{margin-left:auto}.a4-toolbar select,.a4-toolbar button{font:inherit;color:var(--ui-text);background:var(--ui-input);border:1px solid var(--ui-line);border-radius:6px;min-height:44px;padding:8px 10px}.a4-toolbar button:disabled{opacity:.4}.a4-toolbar output{min-width:44px;text-align:center;font-variant-numeric:tabular-nums}.a4-source{position:absolute!important;width:1px!important;min-width:0!important;max-width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:0!important;overflow:hidden!important;clip-path:inset(50%)}.a4-pages{display:grid;gap:24px;justify-content:center;width:100%}.a4-page-slot{width:var(--scaled-page-width, 210mm);height:var(--scaled-page-height, 297mm);overflow:hidden;scroll-margin-top:calc(var(--sticky-header-height, 90px) + var(--a4-toolbar-height, 80px) + 16px)}.a4-page{position:relative;box-sizing:border-box;width:210mm;height:297mm;padding:var(--paper-margin);background:#fff;color:#222;outline:1px solid #ddd;transform:scale(var(--page-scale, 1));transform-origin:top left}.a4-page-window{width:100%;height:100%;overflow:hidden}.a4-page-number{position:absolute;bottom:5mm;left:0;width:100%;text-align:center;font:10px sans-serif;color:#666}.a4-measure{position:fixed;left:-100000px;top:0;visibility:hidden;pointer-events:none}html body .a4-flow:is(.estimate-preview,.contract-sheet){box-sizing:content-box;width:var(--paper-content-width)!important;min-width:0!important;max-width:none!important;height:var(--paper-content-height)!important;min-height:0!important;max-height:none!important;padding:0!important;margin:0!important;box-shadow:none!important;border:0;background:#fff!important;color:#242424;font-size:10px;line-height:1.6;container-type:normal!important;column-width:var(--paper-content-width);column-count:auto;column-gap:32px;column-fill:auto;overflow:visible}html body .a4-flow[data-template] .document-title-row{margin-top:20px}html body .a4-flow[data-template] .document-title-row h2{font-size:24px}html body .a4-flow[data-template] .document-intro{margin:10px 0 18px}html body .a4-flow[data-template] .document-parties{gap:16px;break-inside:avoid}html body .a4-flow[data-template] .document-table-wrap{margin-top:20px;overflow:visible}html body .a4-flow[data-template] .document-table{min-width:0}html body .a4-flow[data-template] .document-table th{font-size:8px;padding-block:7px}html body .a4-flow[data-template] .document-table td{font-size:9px;padding-block:5px}html body .a4-flow[data-template] .document-party-table :is(th,td){padding:4px 6px;font-size:9px}html body .a4-flow[data-template=minimal] .document-party{padding:8px 16px}html body .a4-flow[data-template] .document-table tfoot{display:table-row-group;break-inside:avoid}html body .a4-flow[data-template] :is(tr,.document-summary,.document-foot,.contract-party,.contract-clause,.contract-closing,.contract-signatures){break-inside:avoid}html body .a4-flow[data-template] .document-foot{margin-top:14px}html body .a4-flow[data-template] .document-foot :is(span,strong,p){padding-block:7px}html body .a4-flow[data-template] .document-bottom{margin-top:12px;padding-top:8px}html body .a4-flow.estimate-preview.a4-estimate-page{display:flow-root;height:auto!important;column-width:auto;column-count:auto;column-gap:normal}html body .a4-flow.a4-estimate-page .a4-continued-table{margin-top:0}html body .a4-flow.a4-estimate-page .a4-estimate-closing{display:flow-root}html body .a4-flow.a4-estimate-page .a4-totals-table{margin-top:0}html body .a4-flow.contract-sheet.a4-contract-page{display:flow-root;height:auto!important;column-width:auto;column-count:auto;column-gap:normal}html body .a4-contract-page>.contract-doc-section:first-child{margin-top:0}html body .a4-contract-page .contract-doc-section{display:flow-root}html body .a4-contract-opening{display:flow-root}html body .a4-flow.contract-sheet h2{font-size:27px;margin-top:18px}html body .a4-flow[data-template] .contract-doc-intro{margin-bottom:16px}html body .a4-flow[data-template] .contract-doc-section{margin-top:16px;break-inside:auto}html body .a4-flow[data-template] :is(.contract-section-title,.contract-clause h3){break-after:avoid}html body .a4-flow[data-template] .contract-clause{padding-block:7px}html body .a4-flow[data-template] .contract-clause p{orphans:3;widows:3}html body .a4-flow[data-template] .contract-scope :is(th,td){padding-block:7px}html body .a4-flow[data-template] .contract-signatures{margin-top:18px}html body .a4-flow[data-template] .contract-closing>.contract-clause{break-after:avoid}html body .a4-flow[data-template] .contract-closing>.contract-signatures{break-before:avoid}html body .a4-flow[data-template] :is(.contract-money-summary,.contract-price-lines,.contract-payment-schedule){break-inside:avoid;page-break-inside:avoid}html body .a4-flow[data-template] .contract-signatures>p{margin-bottom:10px}html body .a4-flow[data-template] .contract-signature-grid>div{padding-top:9px}html body .a4-flow[data-template] .contract-signature-grid p{margin-top:18px}html body :is(.estimate-preview,.contract-sheet)[data-template=editorial]{color:var(--doc-ink)}html body :is(.estimate-preview,.contract-sheet)[data-template=editorial] :is(.document-party-table td,.document-foot,.contract-party dd,.contract-scope td,.contract-date-grid strong,.contract-signatures>p,.contract-signing-date strong,.contract-signature-grid strong,.contract-signature-grid p){color:var(--doc-ink)}html body :is(.estimate-preview,.contract-sheet)[data-template=editorial] .contract-clause p:not(.contract-missing){color:var(--doc-ink)}html body :is(.estimate-preview,.contract-sheet)[data-template=editorial] :is(.document-date,.document-intro,.document-party-table th,.document-table>tbody td span,.document-bottom,.contract-doc-intro,.contract-party dt,.contract-project span,.contract-scope td span,.contract-date-grid span,.contract-clause small,.contract-signing-date span,.contract-signature-grid span,.contract-signature-grid em,.contract-doc-notice){color:var(--doc-muted)}html body :is(.estimate-preview,.contract-sheet)[data-template=editorial] .document-table tfoot tr:not(.sum-final) :is(th,td){color:var(--doc-muted)}html body :is(.estimate-preview,.contract-sheet)[data-template=editorial] :is(.document-kicker,.document-party h3,.document-category-cell,.document-foot span,.document-table .sum-final th,.document-table .sum-final td,.contract-doc-header,.contract-section-title>span,.contract-clause h3,.contract-price-total,.contract-price-total strong,.contract-payment-schedule>thead th,.contract-actual-note){color:var(--doc-accent)}html body :is(.estimate-preview,.contract-sheet)[data-template=editorial] .document-table .actual-row td{color:var(--doc-accent)}html body .a4-flow[data-template=editorial] h2{font-size:var(--editorial-title-size)}html body .a4-flow[data-template=editorial] :is(.document-table,.contract-scope)>thead th{font-size:var(--editorial-header-size)}html body .a4-flow[data-template=editorial] :is(.document-table,.contract-scope) :is(th,td){padding-block:var(--editorial-row-padding)}html body .a4-flow[data-template=editorial] :is(.document-parties,.contract-doc-parties){gap:16px}html body :is(.estimate-preview,.contract-sheet)[data-template=grid]{--grid-title-size:24px;--grid-header-size:9px;--grid-item-size:10px;--grid-total-size:18px;--grid-row-padding:7px}html body :is(.estimate-preview,.contract-sheet)[data-template=grid] h2{font-size:var(--grid-title-size);line-height:1.32;letter-spacing:-.035em}html body :is(.estimate-preview,.contract-sheet)[data-template=grid] :is(.document-parties,.contract-doc-parties){gap:16px}html body :is(.estimate-preview,.contract-sheet)[data-template=grid] :is(.document-table,.contract-scope)>thead th{font-size:var(--grid-header-size);line-height:1.6;padding:var(--grid-row-padding) 6px;color:var(--doc-accent)}html body :is(.estimate-preview,.contract-sheet)[data-template=grid] :is(.document-table,.contract-scope)>tbody>tr>td{font-size:9px;line-height:1.6;padding:var(--grid-row-padding) 6px}html body :is(.estimate-preview,.contract-sheet)[data-template=grid] .document-category-cell{font-size:9px;padding:var(--grid-row-padding) 6px;color:var(--doc-accent);font-weight:500}html body :is(.estimate-preview,.contract-sheet)[data-template=grid] .contract-scope>tbody>tr>td:first-child{font-weight:500}html body :is(.estimate-preview,.contract-sheet)[data-template=grid] :is(.document-table,.contract-scope)>tbody td strong{font-size:var(--grid-item-size);line-height:1.45;font-weight:700}html body :is(.estimate-preview,.contract-sheet)[data-template=grid] :is(.document-table,.contract-scope)>tbody td span{margin-top:4px}html body :is(.estimate-preview,.contract-sheet)[data-template=grid] :is(.document-party-table,.contract-party-table) :is(th,td){font-size:9px;line-height:14px;padding:4px 6px}html body :is(.estimate-preview,.contract-sheet)[data-template=grid] :is(.document-party-table,.contract-party-table)>thead th{padding:7px 6px;color:var(--doc-accent);background:var(--doc-soft);font-weight:700}html body :is(.estimate-preview,.contract-sheet)[data-template=grid] :is(.document-party-table,.contract-party-table)>thead h3{font-size:10px;line-height:14px;color:var(--doc-accent);letter-spacing:.02em}html body :is(.estimate-preview,.contract-sheet)[data-template=grid] :is(.document-party-table,.contract-party-table)>tbody th{width:36%;color:var(--doc-accent);background:var(--doc-subtle);font-weight:500}html body :is(.estimate-preview,.contract-sheet)[data-template=grid] :is(.document-party-table,.contract-party-table)>tbody td{color:#242424;font-weight:600}html body :is(.estimate-preview,.contract-sheet)[data-template=grid] :is(.document-party-table,.contract-party-table) col:first-child{width:36%}html body :is(.estimate-preview,.contract-sheet)[data-template=grid][data-palette=mono] :is(.document-party-table,.contract-party-table)>thead th{color:var(--doc-accent);background:var(--doc-soft)}html body :is(.estimate-preview,.contract-sheet)[data-template=grid][data-palette=mono] :is(.document-party-table,.contract-party-table)>tbody th{color:#3d3d3d}html body :is(.estimate-preview,.contract-sheet)[data-template=grid][data-palette=mono] :is(.document-category-cell,.contract-scope>tbody>tr>td:first-child){color:#3d3d3d}html body :is(.estimate-preview,.contract-sheet)[data-template=grid] .document-summary{width:43%;margin-left:auto}html body :is(.estimate-preview,.contract-sheet)[data-template=grid] .summary-breakdown{border:var(--doc-outer-rule)}html body :is(.estimate-preview,.contract-sheet)[data-template=grid] .summary-breakdown>div{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;padding:9px 8px}html body :is(.estimate-preview,.contract-sheet)[data-template=grid] .summary-breakdown>div+div{border-left:var(--doc-inner-rule)}html body :is(.estimate-preview,.contract-sheet)[data-template=grid] .summary-breakdown dd{color:#242424}html body :is(.estimate-preview,.contract-sheet)[data-template=grid] .summary-total{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;padding:12px 10px;background:var(--doc-accent);color:#fffdf6}html body :is(.estimate-preview,.contract-sheet)[data-template=grid] .summary-total dt{font-size:10px;font-weight:700}html body :is(.estimate-preview,.contract-sheet)[data-template=grid] .summary-total dd{font-size:var(--grid-total-size);line-height:1.6;color:var(--doc-highlight);font-weight:700}html body :is(.estimate-preview,.contract-sheet)[data-template=minimal]{--minimal-title-size:24px;--minimal-header-size:9px;--minimal-item-size:10px;--minimal-total-size:18px;--minimal-row-padding:7px;--minimal-label:#626b66}html body :is(.estimate-preview,.contract-sheet)[data-template=minimal][data-palette=mono]{--minimal-label:#666}html body :is(.estimate-preview,.contract-sheet)[data-template=minimal] :is(.document-kicker,.contract-doc-header){border:0;border-top:2px solid var(--doc-accent);padding:12px 0 0;font-size:9px;line-height:1.6;font-weight:700;color:var(--doc-accent)}html body :is(.estimate-preview,.contract-sheet)[data-template=minimal] .document-title-row{margin-top:18px}html body :is(.estimate-preview,.contract-sheet)[data-template=minimal] h2{font-size:var(--minimal-title-size);line-height:1.32;letter-spacing:-.035em}html body .contract-sheet[data-template=minimal] h2{margin:18px 0 0}html body :is(.estimate-preview,.contract-sheet)[data-template=minimal] :is(.document-intro,.contract-doc-intro){margin:10px 0 18px;color:var(--minimal-label)}html body :is(.estimate-preview,.contract-sheet)[data-template=minimal] :is(.document-parties,.contract-doc-parties){gap:16px}html body :is(.estimate-preview,.contract-sheet)[data-template=minimal] :is(.document-party,.contract-party){padding:12px 16px;background:#f4f5f4;color:#242424}html body :is(.estimate-preview,.contract-sheet)[data-template=minimal] :is(.document-party,.contract-party) h3{margin:0;padding:0 0 8px;border:0;font-size:10px;line-height:14px;font-weight:700;color:#242424}html body :is(.estimate-preview,.contract-sheet)[data-template=minimal] .document-party-table :is(th,td){padding:4px 6px;line-height:14px;font-size:9px}html body :is(.estimate-preview,.contract-sheet)[data-template=minimal] .document-party-table th{color:var(--minimal-label);font-weight:500}html body :is(.estimate-preview,.contract-sheet)[data-template=minimal] .document-party-table td{color:#242424;font-weight:600}html body :is(.estimate-preview,.contract-sheet)[data-template=minimal] .contract-party dl>div{grid-template-columns:36% minmax(0,1fr);gap:0;padding:4px 0}html body :is(.estimate-preview,.contract-sheet)[data-template=minimal] .contract-party :is(dt,dd){padding-inline:6px;line-height:14px;font-size:9px}html body :is(.estimate-preview,.contract-sheet)[data-template=minimal] .contract-party dt{color:var(--minimal-label);font-weight:500}html body :is(.estimate-preview,.contract-sheet)[data-template=minimal] .contract-party dd{color:#242424;font-weight:600}html body :is(.estimate-preview,.contract-sheet)[data-template=minimal] :is(.document-table,.contract-scope)>thead th{font-size:var(--minimal-header-size);line-height:1.6;padding:var(--minimal-row-padding) 3px}html body :is(.estimate-preview,.contract-sheet)[data-template=minimal] :is(.document-table,.contract-scope)>tbody>tr>td{font-size:9px;line-height:1.6;padding:var(--minimal-row-padding) 3px}html body :is(.estimate-preview,.contract-sheet)[data-template=minimal] .document-category-cell{font-size:9px;padding:var(--minimal-row-padding) 3px;font-weight:500;color:var(--doc-accent)}html body :is(.estimate-preview,.contract-sheet)[data-template=minimal] .contract-scope>tbody>tr>td:first-child{font-weight:500;color:var(--doc-accent)}html body :is(.estimate-preview,.contract-sheet)[data-template=minimal] :is(.document-table,.contract-scope)>tbody td strong{font-size:var(--minimal-item-size);line-height:1.45;font-weight:700}html body :is(.estimate-preview,.contract-sheet)[data-template=minimal] :is(.document-table,.contract-scope)>tbody td span{margin-top:4px;color:var(--minimal-label)}html body :is(.estimate-preview,.contract-sheet)[data-template=minimal][data-palette=mono] :is(.document-table,.contract-scope)>tbody td span{color:var(--minimal-label)}html body :is(.estimate-preview,.contract-sheet)[data-template=minimal] .document-table tfoot :is(th,td):not(.total-spacer){padding:var(--minimal-row-padding) 3px;line-height:1.5;vertical-align:middle}html body :is(.estimate-preview,.contract-sheet)[data-template=minimal] .contract-price-lines{width:57%;margin-left:auto}html body :is(.estimate-preview,.contract-sheet)[data-template=minimal] .contract-price-lines>div{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:0;border:0;background:transparent;font-size:10px;line-height:1.5}html body :is(.estimate-preview,.contract-sheet)[data-template=minimal] .contract-price-lines>div>:is(span,strong){display:flex;align-items:center;justify-content:flex-end;padding:var(--minimal-row-padding) 3px;border-bottom:var(--doc-rule);color:#424a47}html body :is(.estimate-preview,.contract-sheet)[data-template=minimal] .contract-price-lines>div>span{font-size:10px;font-weight:600}html body :is(.estimate-preview,.contract-sheet)[data-template=minimal] .contract-price-lines>div>strong{font-size:10px;font-weight:700}html body :is(.estimate-preview,.contract-sheet)[data-template=minimal] :is(.document-table .sum-final td,.contract-price-lines .contract-price-total strong){font-size:var(--minimal-total-size);line-height:1.5;font-weight:700;color:var(--doc-accent)}html body :is(.estimate-preview,.contract-sheet)[data-template=minimal] :is(.document-table .sum-final th,.contract-price-lines .contract-price-total span){font-size:10px;font-weight:700;color:var(--doc-accent)}@media screen{.a4-page{box-shadow:inset 0 0 0 1px #ddd}.print-area:has(.a4-pages),.contract-paper-wrap:has(.a4-pages){overflow:visible;container-type:normal}}@media(max-width:600px){.a4-toolbar{gap:8px}.a4-toolbar select{font-size:16px}.a4-toolbar nav{margin-left:0}}@page{size:A4 portrait;margin:0}@page contract-document{size:A4 portrait;margin:0}@media print{.a4-source,.a4-measure,.a4-toolbar,.backup-options{display:none!important}html.a4-ready body{margin:0!important;padding:0!important}html.a4-ready .a4-pages{display:block;width:210mm;margin:0;padding:0}html.a4-ready .a4-page-slot{display:block;width:210mm;height:297mm;margin:0;padding:0;break-after:page;break-inside:avoid}html.a4-ready .a4-page-slot:last-child{break-after:auto}html.a4-ready .a4-page{transform:none;outline:0;print-color-adjust:exact;-webkit-print-color-adjust:exact}}
