@font-face{font-family:QuoteSans;src:local("Aptos"),local("Segoe UI");font-display:swap}
:root{font-family:QuoteSans,"Segoe UI",Arial,sans-serif;color:#183d48;background:#f1f5f5;font-synthesis:none;color-scheme:light;--ink:#123d4b;--teal:#237d92;--muted:#5e737b;--line:#dce5e7}
*{box-sizing:border-box}body{margin:0;font-size:16px;line-height:1.5}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}a{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #2887a5;outline-offset:4px}input:focus,textarea:focus,select:focus{outline:2px solid #2887a5;outline-offset:1px}button{touch-action:manipulation}h1,h2,p{margin:0}.app-header{height:88px;display:flex;align-items:center;gap:30px;padding:0 max(28px,calc((100vw - 1440px)/2));background:#fff;border-bottom:1px solid var(--line)}.brand{display:flex}.brand img{width:156px;height:56px;object-fit:contain}.app-name{border-left:1px solid var(--line);padding-left:30px;color:var(--muted);font-size:15px}.app-header>.button{margin-left:auto}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:10px 18px;border-radius:8px;border:1px solid var(--line);font-size:15px;font-weight:600;background:#fff;color:var(--ink);transition:background .15s}.button:hover{background:#eaf2f3}.primary{background:var(--ink);color:#fff;border-color:var(--ink)}.primary:hover{background:#205364}.quiet{background:transparent}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:42px 0 30px}.eyebrow{font-size:12px;letter-spacing:.14em;font-weight:700;color:var(--teal);margin-bottom:9px}h1{font-size:clamp(28px,3vw,38px);letter-spacing:-.04em;font-weight:650;line-height:1.2}.page-heading p:not(.eyebrow){color:var(--muted);margin-top:10px}.save-state{display:flex;gap:8px;align-items:center;font-size:13px;color:#52716b}.save-state svg{flex-shrink:0}main{max-width:1440px;margin:auto;padding:0 28px}.workspace{display:grid;grid-template-columns:minmax(0,1.03fr) minmax(0,1fr);align-items:start;gap:36px}.editor{display:grid;gap:20px}.panel{border:1px solid var(--line);background:#fff;border-radius:12px;padding:26px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}h2{font-size:18px;font-weight:650;letter-spacing:-.02em}.section-caption{font-size:13px;color:var(--muted)}.fields{display:grid;grid-template-columns:1fr 1fr;gap:20px 18px}label{display:block;font-size:14px;font-weight:600;color:#3e5962}.wide{grid-column:1/-1}.optional{color:var(--muted);font-weight:400}input,textarea,select{display:block;width:100%;min-width:0;margin-top:8px;background:#fff;border:1px solid #cddadd;border-radius:6px;padding:11px 12px;color:var(--ink);font-size:16px;line-height:1.35}input::placeholder,textarea::placeholder{color:#7c8c92;font-weight:400}textarea{resize:vertical;min-height:80px}select{appearance:none;padding-right:32px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233e5962' stroke-width='1.6'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}.help{font-size:14px;color:var(--muted);margin:-12px 0 22px}.item-count{font-size:13px;border-radius:4px;background:#edf4f5;padding:3px 9px;color:var(--muted);white-space:nowrap}.item-row{padding:0 0 22px;margin-bottom:22px;border-bottom:1px solid var(--line)}.item-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px;gap:10px}.item-top>span{font-size:12px;letter-spacing:.08em;font-weight:700;color:var(--muted)}.remove-item{border:0;background:transparent;color:#7d6060;font-size:13px;padding:8px;min-height:40px}.remove-item:hover{background:#fbefee;border-radius:5px}.item-numbers{display:grid;grid-template-columns:.85fr 1fr 1.35fr;gap:12px;margin-top:16px}.item-total{margin-top:14px;display:flex;justify-content:flex-end;gap:14px;align-items:baseline;font-size:13px;color:var(--muted)}.item-total output{font-size:16px;color:var(--ink);font-weight:650;font-variant-numeric:tabular-nums}.add{width:100%;border:1px dashed #97b8c1;color:#246b7c;background:#f7fafb}.add>span{font-size:22px;line-height:1}.editor-bottom{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:0 5px 12px}.editor-bottom p{font-size:12px;color:var(--muted);text-align:right}.text-button{border:0;background:transparent;color:#246c7e;padding:5px 0;font-weight:600;font-size:14px;min-height:34px}.text-button:hover{text-decoration:underline}.preview-area{position:sticky;top:24px;min-width:0}.preview-heading{display:flex;justify-content:space-between;align-items:center;padding:0 3px;margin-bottom:14px}.preview-heading h2{font-size:15px}.preview-heading>span{font-size:12px;color:var(--muted)}.quote-paper{background:#fff;box-shadow:0 8px 40px #123d4b0c;border:1px solid #d8e2e4;border-top:5px solid var(--ink);padding:30px 28px 24px;min-height:570px;overflow-wrap:anywhere}.paper-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:24px;border-bottom:1px solid var(--line)}.paper-header img{width:148px;height:auto}.paper-title{text-align:right}.paper-title h3{font-size:23px;letter-spacing:-.04em;margin:0;font-weight:650}.paper-title p{font-size:13px;color:var(--muted);margin-top:4px}.paper-client{display:grid;grid-template-columns:minmax(0,1fr) minmax(95px,.65fr);gap:20px;padding:25px 0}.paper-label{text-transform:uppercase;letter-spacing:.1em;font-size:10px;color:#68818a;font-weight:700;margin-bottom:6px}.paper-client h4{font-size:17px;line-height:1.4;margin:0 0 5px}.paper-client p:not(.paper-label){font-size:13px;color:var(--muted)}.paper-date{text-align:right}.paper-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px;line-height:1.45}.paper-table th{background:#edf4f5;padding:11px 6px;font-size:10px;font-weight:600;color:#43616a;letter-spacing:.04em;text-align:right}.paper-table th:first-child{width:43%;text-align:left;padding-left:10px}.paper-table th:nth-child(2){width:13%}.paper-table th:nth-child(3){width:22%}.paper-table th:nth-child(4){width:22%;padding-right:10px}.paper-table td{vertical-align:top;border-bottom:1px solid #e7edef;padding:15px 6px;text-align:right;font-variant-numeric:tabular-nums}.paper-table td:first-child{text-align:left;padding-left:10px;font-weight:550}.paper-table td:last-child{padding-right:10px}.paper-unit{display:block;color:var(--muted);font-size:10px;margin-top:3px}.paper-summary{margin:23px 0 24px auto;width:min(100%,290px)}.summary-line{display:flex;justify-content:space-between;gap:18px;font-size:13px;margin:10px 0;font-variant-numeric:tabular-nums}.summary-line span{color:var(--muted)}.summary-line.total{background:var(--ink);padding:15px 16px;margin-top:16px;color:#fff;font-size:18px;font-weight:650;border-radius:4px}.summary-line.total span{color:#fff;font-size:14px;font-weight:500}.paper-notes{font-size:12px;border-top:1px solid var(--line);padding-top:20px;margin-top:12px;white-space:pre-wrap;color:#4e6871}.paper-bottom{border-top:1px solid var(--line);padding-top:17px;margin-top:24px;display:flex;justify-content:space-between;gap:12px;color:#68818a;font-size:10px}.paper-bottom strong{display:block;color:var(--teal);font-size:12px;font-weight:600}.paper-bottom p:last-child{text-align:right}.share-panel{padding:24px 0 0;text-align:center}.share-panel>.primary{width:100%;min-height:51px;font-size:16px}.secondary-actions{display:flex;justify-content:center;align-items:center;gap:18px;margin-top:12px}.secondary-actions>span{color:#9aafb6}.share-help{font-size:12px;color:var(--muted);margin-top:6px}.action-status{font-size:13px;min-height:25px;margin-top:8px;color:#237165}.error{font-size:14px;color:#a13d32;background:#fff0ee;text-align:left;padding:12px;border-radius:5px;margin-bottom:15px}.app-footer{max-width:1440px;margin:35px auto 0;padding:24px 28px;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}.app-footer a{text-decoration:none}.mobile-views{display:none}dialog{border:1px solid var(--line);border-radius:12px;padding:30px;max-width:440px;width:calc(100% - 36px);color:var(--ink)}dialog::backdrop{background:#0c283c70;backdrop-filter:blur(3px)}dialog p{color:var(--muted);margin-top:12px;font-size:15px}.dialog-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:25px}.noscript{position:fixed;bottom:0;background:#fff0ee;color:#a13d32;padding:20px;width:100%;text-align:center}
@media(min-width:1500px){.app-header{padding-inline:calc((100vw - 1384px)/2)}}
@media(max-width:1100px){.workspace{gap:22px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.panel{padding:22px}.quote-paper{padding:24px 18px}.paper-header img{width:120px}.paper-title h3{font-size:21px}.section-caption{display:none}.paper-table{font-size:11px}.paper-table td,.paper-table th{padding-left:4px;padding-right:4px}.paper-table th:first-child{width:39%}.paper-table th:nth-child(2){width:13%}.paper-table th:nth-child(3),.paper-table th:nth-child(4){width:24%}.item-numbers{gap:9px}.editor-bottom{flex-direction:column;gap:8px}.editor-bottom p{text-align:left}}
@media(max-width:800px){main{padding:0 18px}.app-header{height:76px;padding:0 18px;gap:18px}.brand img{width:128px;height:46px}.app-name{padding-left:18px;font-size:13px}.app-header>.button{font-size:13px;padding:8px 11px;min-height:40px}.page-heading{padding:30px 0 22px;display:block}.save-state{margin-top:16px}.workspace{display:block}.preview-area{position:static}.mobile-views{display:flex;border:1px solid #cfdddf;background:#e4edef;padding:4px;border-radius:8px;margin-bottom:22px}.mobile-views button{border:0;background:transparent;flex:1;min-height:43px;border-radius:5px;color:#506e78;font-weight:600;font-size:14px}.mobile-views button.active{background:#fff;box-shadow:0 1px 4px #123d4b12;color:var(--ink)}.workspace[data-view=edit] .preview-area,.workspace[data-view=preview] .editor{display:none}.quote-paper{padding:26px;max-width:630px;margin:auto}.paper-table{font-size:12px}.paper-header img{width:148px}.paper-title h3{font-size:23px}.share-panel{max-width:630px;margin:auto}.preview-heading{max-width:630px;margin:0 auto 14px}.editor-bottom{flex-direction:row}.editor-bottom p{text-align:right}.app-footer{margin-top:25px;padding:24px 18px}.section-caption{display:block}}
@media(max-width:440px){.app-name{display:none}.app-header{gap:12px}.page-heading p:not(.eyebrow){font-size:14px}.eyebrow{font-size:10px}.panel{padding:20px 16px}.section-caption{display:none}.fields{gap:17px 12px}.item-numbers{grid-template-columns:70px 90px minmax(0,1fr);gap:9px}.item-numbers label{font-size:12px}.item-numbers input,.item-numbers select{padding:11px 8px}.item-numbers select{padding-right:21px;background-position:right 4px center}.quote-paper{padding:22px 14px;min-height:520px}.paper-header img{width:112px}.paper-title h3{font-size:20px}.paper-title p{font-size:12px}.paper-table{font-size:10px}.paper-table th{font-size:9px;letter-spacing:0}.paper-table th:first-child,.paper-table td:first-child{padding-left:6px}.paper-table td:last-child,.paper-table th:last-child{padding-right:6px}.paper-table th:first-child{width:37%}.paper-table th:nth-child(2){width:13%}.paper-table th:nth-child(3),.paper-table th:nth-child(4){width:25%}.paper-client{gap:10px}.paper-client h4{font-size:15px}.paper-client p:not(.paper-label){font-size:12px}.paper-bottom{font-size:9px;gap:8px}.paper-bottom strong{font-size:11px}.editor-bottom{flex-direction:column;gap:8px}.editor-bottom p{text-align:left}.secondary-actions{gap:14px}.app-footer{font-size:11px;gap:12px}.quote-paper .summary-line.total{font-size:19px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
[hidden]{display:none!important}.header-actions{margin-left:auto;display:flex;align-items:center;gap:10px}.install-button{background:#eaf4f5;border-color:#c0d9df;color:#1c687a}.connection-note,.update-note{margin-top:20px;padding:12px 16px;border:1px solid #c5dce1;border-radius:7px;background:#e9f3f5;font-size:14px;color:#24596a}.update-note{display:flex;align-items:center;justify-content:space-between;gap:16px}.paper-tax-note{font-size:10px;color:var(--muted);margin-top:10px}.install-button .long-label,.quiet .long-label{margin-left:-5px}
@media(max-width:800px){.header-actions{gap:8px}.header-actions .button{font-size:13px;padding:8px 11px;min-height:40px}}
@media(max-width:440px){.header-actions .long-label{display:none}.brand img{width:112px;height:42px}.header-actions .button{padding:8px 10px;gap:0}}
