/* Reference lock: existing AB portfolio exact black/gold/ivory identity; neutral workspace;
   neutral, high-contrast document typography. No remote fonts or images. */
:root{color-scheme:dark;--bg:#0b0b0a;--surface:#11110e;--field:#0d0d0b;--border:#d6b57730;--ink:#f5f1e9;--muted:#b6b2aa;--gold:#d6b577;--gold-light:#e4c889;--paper:#fff;--paper-ink:#2c2a22;--paper-muted:#4d4b44;--radius:12px;font-family:Arial,Tahoma,sans-serif;font-synthesis:none;line-height:1.5;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation;-webkit-tap-highlight-color:#d6b57728}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,section:focus-visible{outline:2px solid var(--gold-light);outline-offset:4px}input,textarea,select{min-width:0;width:100%;padding:11px 12px;border:1px solid var(--border);border-radius:7px;background:var(--field);color:var(--ink);font-size:14px;line-height:1.5;transition:border-color .15s}textarea{resize:vertical;min-height:72px}input:focus,textarea:focus,select:focus{border-color:var(--gold)}input[readonly]{color:#b6b2aa;background:#14130f}input[aria-invalid=true],textarea[aria-invalid=true]{border-color:#eb8f8f}select{padding-inline-end:27px;min-height:45px}input[type=date]{font-size:13px;min-height:45px}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{appearance:textfield}label{display:flex;flex-direction:column;gap:7px;font-size:12px;letter-spacing:.01em;color:#f5f1e9}fieldset{border:0;margin:0;padding:0}legend{font-size:12px;color:#f5f1e9;margin:0 0 9px}h1,h2,h3,p{margin:0}h1,h2,h3{text-wrap:balance}h2{font-size:20px;font-weight:500;line-height:1.35}button{letter-spacing:.01em}.app-header{max-width:1460px;margin:auto;min-height:96px;padding:20px 36px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);gap:18px}.brand{display:flex;align-items:center;gap:13px;direction:ltr}.brand>span:last-child{font-size:11px;letter-spacing:.12em;font-weight:600}.brand small{display:block;font-size:8px;color:var(--muted);letter-spacing:.11em;margin-top:5px;font-weight:400}.brand-monogram{position:relative;font:29px/1 Georgia,serif;color:var(--gold);letter-spacing:-.17em;padding-inline-end:5px;min-width:42px}.brand-monogram span,.footer-mark span{position:absolute;height:1px;left:2px;right:0;bottom:-7px;background:var(--gold);transform:rotate(-10deg)}.language-switch{display:flex;direction:ltr;align-items:center;gap:9px;color:#b6b2aa}.language-switch button{padding:10px 4px;background:none;border:0;color:var(--muted);min-height:44px;font-size:13px}.language-switch button[aria-pressed=true]{color:var(--gold-light)}main{max-width:1460px;margin:0 auto;padding:38px 36px 0}.workspace-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}.back-link{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:12px;min-height:28px}.back-link:hover,.app-footer a:hover{color:var(--gold-light)}.title-line{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin:13px 0 8px}h1{font-size:38px;line-height:1.12;font-weight:500;letter-spacing:-.04em;direction:ltr;white-space:nowrap}.gold-dot{color:var(--gold)}.demo-badge{font-size:9px;letter-spacing:.1em;padding:5px 8px;border:1px solid #d6b57755;border-radius:4px;color:var(--gold)}.workspace-heading p{font-size:14px;color:var(--muted)}.main-actions{display:flex;align-items:center;gap:10px;padding-bottom:4px;flex-shrink:0}.button{min-height:44px;padding:11px 16px;border-radius:7px;font-size:12px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;line-height:1.5}.button-secondary{border-color:var(--border);background:#11110e;color:#f5f1e9}.button-secondary:hover{background:#2c2a22}.button-gold{background:var(--gold);color:#0b0b0a}.button-gold:hover{background:var(--gold-light)}.demo-notice{display:flex;gap:12px;align-items:flex-start;padding:13px 16px;background:#d6b57709;border:1px solid #d6b57725;border-radius:8px;margin-bottom:32px;color:#b6b2aa;font-size:12px;line-height:1.7}.notice-icon{display:flex;align-items:center;justify-content:center;width:16px;height:16px;border:1px solid #bd9f68;border-radius:100%;color:var(--gold);font:12px/1 Georgia,serif;flex-shrink:0;margin-top:2px}.workspace{display:grid;grid-template-columns:minmax(330px,420px) minmax(0,1fr);gap:34px;align-items:start}.editor{padding:24px;border:1px solid var(--border);background:var(--surface);border-radius:var(--radius)}.section-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;gap:10px}.eyebrow{font-size:9px;letter-spacing:.12em;color:var(--gold);display:block;margin-bottom:8px}.preview-jump{min-height:44px;align-items:center;color:var(--gold-light);font-size:11px;white-space:nowrap;display:none}.type-buttons{display:grid;grid-template-columns:1.14fr 1fr 1fr;padding:4px;background:#0b0b0a;border:1px solid var(--border);border-radius:8px;gap:3px}.type-buttons button{min-height:44px;background:transparent;color:#b6b2aa;border:1px solid transparent;border-radius:5px;font-size:11px;padding:8px 3px}.type-buttons button[aria-pressed=true]{background:#2c2a22;border-color:#d6b5775c;color:var(--gold-light)}.type-buttons button:hover{color:var(--gold-light)}.fields{display:grid;gap:16px;margin-top:18px}.two-cols{grid-template-columns:1fr 1fr;gap:17px 14px}.field-divider{height:1px;background:var(--border);margin:24px 0}.items-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.row-count{font-size:11px;color:#b6b2aa;background:#14130f;border:1px solid var(--border);padding:3px 8px;border-radius:5px}.field-help{font-size:12px;line-height:1.6;color:var(--muted);margin:8px 0 15px}.item-editors{display:flex;flex-direction:column;gap:12px}.item-card{border:1px solid #d6b57730;border-radius:8px;background:#14130f;padding:14px}.item-card-top{display:flex;align-items:center;justify-content:space-between;margin:-4px 0 7px}.item-card-number{font-size:10px;letter-spacing:.09em;color:#b6b2aa}.remove-item{background:transparent;border:0;color:#b6b2aa;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:5px;margin-inline-end:-6px}.remove-item svg{width:16px}.remove-item:hover{background:#d889891a;color:#f1abab}.item-card textarea{min-height:67px;font-size:13px}.item-card label{font-size:11px}.item-metrics{display:grid;grid-template-columns:1.2fr 1fr;gap:11px;margin-top:12px}.item-metrics input,.item-metrics select{font-size:13px;min-height:42px;padding:10px}.line-amount{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#b6b2aa;margin-top:14px;padding-top:12px;border-top:1px solid var(--border)}.line-amount strong{color:var(--gold-light);font-size:12px;font-weight:500;direction:ltr}.item-error{font-size:11px;line-height:1.6;color:#f5b2b2;margin-top:10px}.add-item{width:100%;border:1px dashed #d6b5776a;color:var(--gold-light);background:#d6b57707;border-radius:7px;margin-top:14px;min-height:45px;font-size:12px}.add-item:hover{background:#d6b57715}.add-item>span:first-child{font-size:20px;vertical-align:-1px}.notes-field{gap:8px}.rounding-help{font-size:11px;color:#b6b2aa;line-height:1.75;margin-top:17px}.validation-message{padding:12px;border:1px solid #d8898955;border-radius:7px;background:#d889890a;font-size:12px;color:#f5b2b2;margin-top:15px}.preview-section{min-width:0}.preview-top{display:flex;justify-content:space-between;align-items:center;margin:1px 0 19px;gap:10px;min-height:45px}.preview-top .eyebrow{margin-bottom:4px}.preview-top h2{font-size:16px}.live-label{display:flex;gap:6px;align-items:center;font-size:10px;color:#b6b2aa}.live-label i{width:5px;height:5px;border-radius:50%;background:#9ccaac}.paper{background:var(--paper);color:var(--paper-ink);border-radius:3px;padding:31px 32px 25px;box-shadow:0 14px 48px #0003;font-size:11px;line-height:1.55;min-height:790px;position:relative;overflow-wrap:anywhere}.paper-topline{display:flex;justify-content:space-between;gap:15px;color:#4d4b44;font-size:8px;letter-spacing:.13em;border-bottom:1px solid #dedad2;padding-bottom:15px}.paper-topline>span:first-child{color:#2c2a22;font-weight:700}.paper-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 0}.paper-heading h2{font-size:28px;letter-spacing:-.03em;font-weight:500}.paper-number{font-size:11px;margin-top:5px;color:#4d4b44;font-variant-numeric:tabular-nums;unicode-bidi:plaintext}.sample-stamp{white-space:pre-line;border:1px solid #b99860;color:#8c6a34;text-align:center;padding:7px 11px;font-size:9px;line-height:1.5;letter-spacing:.14em;transform:rotate(-5deg);flex-shrink:0}.paper-parties{display:grid;grid-template-columns:1.1fr 1fr;gap:22px;padding-bottom:22px;border-bottom:1px solid #dedad2}.paper-label{display:block;font-size:8px;letter-spacing:.1em;color:#4d4b44;margin-bottom:6px}.paper h3{font-size:13px;font-weight:600;line-height:1.5}.paper-parties p,.bill-to>p{color:var(--paper-muted);white-space:pre-wrap;font-size:10px;margin-top:3px}.paper-dates{padding-top:1px;display:flex;flex-direction:column;gap:5px}.paper-dates p{display:flex;align-items:start;justify-content:space-between;gap:12px;font-size:10px}.paper-dates strong{font-weight:500;color:#2c2a22;white-space:nowrap}.bill-to{padding:20px 0 24px}.invoice-table-wrap{width:100%;margin-bottom:20px}.invoice-table{border-collapse:collapse;width:100%;table-layout:fixed;font-size:9px;font-variant-numeric:tabular-nums}.invoice-table th{padding:10px 4px;color:#4d4b44;background:#f7f5ef;border-top:1px solid #dedad2;border-bottom:1px solid #dedad2;font-size:7px;letter-spacing:.045em;font-weight:600;text-align:end}.invoice-table th:first-child{padding-inline-start:10px;text-align:start;width:38%}.invoice-table th:nth-child(2){width:11%;text-align:center}.invoice-table th:nth-child(3){width:9%}.invoice-table th:nth-child(4){width:15%}.invoice-table th:nth-child(5){width:10%}.invoice-table th:last-child{width:17%;padding-inline-end:8px}.invoice-table td{padding:14px 4px;border-bottom:1px solid #dedad2;text-align:end;vertical-align:top}.invoice-table td:first-child{padding-inline-start:10px;text-align:start;white-space:pre-wrap;color:#2c2a22;font-size:10px;line-height:1.6}.invoice-table td:nth-child(2){text-align:center;color:#4d4b44}.invoice-table td:last-child{padding-inline-end:8px;font-weight:600}.numeric{direction:ltr;unicode-bidi:isolate;display:inline-block;max-width:100%;overflow-wrap:anywhere}.paper-summary{display:grid;grid-template-columns:1fr 1.1fr;gap:25px;margin-bottom:25px}.amount-words{padding-top:7px}.amount-words p{font-size:10px;line-height:1.75;color:#4d4b44}.sample-caption{margin-top:13px;font-size:7px}.totals{margin:0;font-size:11px;font-variant-numeric:tabular-nums}.totals>div{display:flex;align-items:center;justify-content:space-between;padding:7px 0;gap:12px}.totals dd{margin:0;white-space:nowrap;direction:ltr;unicode-bidi:isolate}.totals dt{color:#4d4b44;font-size:10px}.totals .grand-total{border-top:1px solid #c2ad84;margin-top:10px;padding:13px 0 10px;align-items:flex-start}.grand-total dt{font-size:12px;color:#2c2a22;font-weight:600;padding-top:4px}.grand-total dd{font-size:21px;letter-spacing:-.03em;font-weight:600;display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;justify-content:flex-end}.grand-total dd small{font-size:9px;font-weight:400;letter-spacing:0}.paper-notes{border-top:1px solid #dedad2;padding-top:18px;margin:26px 0 30px}.paper-notes p{font-size:10px;color:#4d4b44;white-space:pre-wrap;line-height:1.7}.paper-footer{display:flex;align-items:center;gap:14px;padding-top:21px;border-top:1px solid #ded5c3;margin-top:26px}.footer-mark{font:23px/1 Georgia,serif;position:relative;color:#927140;letter-spacing:-.15em;min-width:33px;padding-inline-end:5px;direction:ltr}.footer-mark span{bottom:-4px;right:4px}.paper-footer p{white-space:pre-line;font-size:8px;color:#4d4b44;line-height:1.8}.print-help{display:flex;align-items:center;gap:9px;font-size:11px;color:#b6b2aa;line-height:1.7;margin:20px 4px}.print-help svg{width:16px}.app-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--border);margin-top:48px;gap:20px;padding:28px 0;color:#b6b2aa;font-size:11px}.app-footer>span{font-size:9px;letter-spacing:.11em}.app-footer a{color:var(--gold);min-height:36px;display:flex;align-items:center}.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}dialog{background:#11110e;color:var(--ink);border:1px solid #d6b57750;border-radius:12px;padding:28px;width:min(470px,calc(100vw - 32px));box-shadow:0 30px 100px #0009}dialog::backdrop{background:#0b0b0ad4}dialog h2{font-size:25px;margin:13px 0}dialog p{font-size:14px;line-height:1.7;color:var(--muted)}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.noscript{padding:30px;background:#521f1f;color:#fff}html[dir=rtl]{font-family:Tahoma,Arial,sans-serif}html[dir=rtl] .brand{direction:ltr}html[dir=rtl] .title-line{justify-content:flex-start}html[dir=rtl] .paper-heading h2{font-size:27px;letter-spacing:0}html[dir=rtl] .eyebrow,html[dir=rtl] .paper-label,html[dir=rtl] .demo-badge,html[dir=rtl] .paper-topline,html[dir=rtl] .invoice-table th,html[dir=rtl] .sample-stamp{letter-spacing:0}html[dir=rtl] .paper-topline>span:first-child{letter-spacing:.13em}html[dir=rtl] .sample-stamp{transform:rotate(5deg)}html[dir=rtl] .paper-footer{line-height:1.9}[hidden]{display:none!important}
@media(min-width:1450px){.paper{padding:36px 42px 30px}.invoice-table{font-size:10px}.invoice-table th{font-size:8px}.invoice-table td:first-child{font-size:11px}.paper-heading h2{font-size:32px}.paper{min-height:825px}.paper-parties p,.bill-to>p,.paper-dates p,.amount-words p,.paper-notes p{font-size:11px}.paper-label{font-size:9px}}
@media(max-width:1190px){.workspace{grid-template-columns:minmax(290px,360px) minmax(0,1fr);gap:22px}.editor{padding:20px}.paper{padding:25px 23px 23px}.grand-total dd{font-size:18px}.paper-heading h2{font-size:26px}.paper-summary{gap:16px}.title-line{gap:12px}.demo-badge{font-size:8px}.main-actions{gap:7px}.button{padding:11px 12px}}
@media(max-width:1040px){main{padding:28px 24px 0}.app-header{padding:18px 24px;min-height:83px}.workspace{grid-template-columns:1fr 1.3fr;gap:20px}.editor{padding:18px}.paper{padding:23px 18px;min-height:740px}.paper-parties{grid-template-columns:1fr;gap:16px}.paper-dates{flex-direction:row;flex-wrap:wrap;gap:10px 24px}.paper-dates p{flex-direction:column;gap:2px}.paper-summary{grid-template-columns:1fr}.amount-words{order:2}.paper-heading h2,html[dir=rtl] .paper-heading h2{font-size:23px}.invoice-table th{font-size:6px}.invoice-table td{font-size:8px}.invoice-table td:first-child{font-size:9px}.type-buttons button{font-size:10px}.workspace-heading{align-items:flex-start}.main-actions{padding-top:30px}.button{font-size:11px}.main-actions .button svg{display:none}.title-line{align-items:baseline}.demo-badge{display:none}}
@media(max-width:820px){.workspace{grid-template-columns:1fr;gap:32px}.editor{padding:24px}.preview-jump{display:flex}.two-cols{grid-template-columns:1fr 1fr}.fields:not(.two-cols){grid-template-columns:1fr 1fr}.item-editors{display:grid;grid-template-columns:1fr 1fr}.type-buttons button{font-size:12px}.paper{padding:36px 40px;min-height:780px}.paper-parties{grid-template-columns:1.1fr 1fr}.paper-dates{display:flex;flex-direction:column;gap:5px}.paper-dates p{flex-direction:row;gap:12px}.paper-heading h2,html[dir=rtl] .paper-heading h2{font-size:30px}.invoice-table th{font-size:8px}.invoice-table td{font-size:10px}.invoice-table td:first-child{font-size:11px}.paper-summary{grid-template-columns:1fr 1.1fr;gap:28px}.amount-words{order:0}.grand-total dd{font-size:22px}.paper-parties p,.bill-to>p,.paper-dates p,.amount-words p,.paper-notes p{font-size:11px}.main-actions{padding-top:30px}.app-footer{flex-wrap:wrap;gap:10px}.app-footer p{order:3;width:100%}}
@media(max-width:520px){.app-header{padding:15px 18px;gap:10px;min-height:80px}.brand{gap:10px}.brand>span:last-child{font-size:8px;letter-spacing:.08em}.brand small{font-size:6px;letter-spacing:.06em}.brand-monogram{font-size:26px;min-width:36px}.language-switch{gap:6px}.language-switch button{font-size:11px;padding-inline:1px}main{padding:22px 16px 0}.workspace-heading{display:block;margin-bottom:22px}h1{font-size:34px}.workspace-heading p{font-size:13px}.main-actions{padding-top:22px;gap:10px}.main-actions .button{flex:1;font-size:12px}.main-actions .button svg{display:block}.demo-notice{font-size:11px;padding:12px;margin-bottom:22px}.editor{padding:18px}.fields:not(.two-cols){grid-template-columns:1fr}.two-cols{gap:14px 12px}.item-editors{grid-template-columns:1fr}.paper{padding:24px 15px;min-height:680px}.paper-topline{font-size:7px;letter-spacing:.1em}.paper-heading{padding:22px 0}.paper-heading h2,html[dir=rtl] .paper-heading h2{font-size:25px}.paper-parties{grid-template-columns:1fr;gap:18px}.paper-dates{flex-direction:row;flex-wrap:wrap;gap:13px 22px}.paper-dates p{flex-direction:column;gap:2px}.invoice-table th{font-size:6px;padding-inline:2px;letter-spacing:0}.invoice-table th:first-child{width:32%;padding-inline-start:4px}.invoice-table th:nth-child(2){width:12%}.invoice-table th:nth-child(3){width:10%}.invoice-table th:nth-child(4){width:17%}.invoice-table th:nth-child(5){width:10%}.invoice-table th:last-child{width:19%;padding-inline-end:4px}.invoice-table td{font-size:8px;padding:12px 2px}.invoice-table td:first-child{font-size:9px;padding-inline-start:4px}.invoice-table td:last-child{padding-inline-end:4px}.paper-summary{grid-template-columns:1fr;gap:19px}.totals{width:78%;margin-inline-start:auto;order:0}.amount-words{order:1}.paper-parties p,.bill-to>p,.paper-dates p,.amount-words p,.paper-notes p{font-size:10px}.paper-notes{margin:16px 0 22px}.paper-footer{gap:12px}.paper-footer p{font-size:7px}.app-footer{margin-top:35px;padding:25px 0}.preview-top{padding-inline:3px}.live-label{font-size:9px}.item-metrics input,.item-metrics select{font-size:14px}.section-top h2{font-size:19px}.print-help{font-size:10px}.dialog-actions .button{font-size:12px}input,select,textarea{font-size:16px}.item-card textarea{font-size:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
/* Keep the document legible. Small screens pan the preview rather than shrink it. */
.paper-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;border-radius:3px;scrollbar-color:#b6b2aa #14130f;scrollbar-width:thin;box-shadow:0 14px 48px #0003}
.paper-scroll:focus-visible{outline:2px solid var(--gold-light);outline-offset:4px}
.paper{min-width:650px;padding:32px;min-height:800px;box-shadow:none}
.paper-topline{font-size:10px;letter-spacing:.07em}
.paper-heading h2,html[dir=rtl] .paper-heading h2{font-size:29px}
.paper-label{font-size:10px;letter-spacing:.035em}
.paper-number{font-size:12px}
.sample-stamp{font-size:10px}
.paper-parties{grid-template-columns:1.1fr 1fr;gap:24px}
.paper-parties p,.bill-to>p,.paper-dates p,.amount-words p,.paper-notes p{font-size:11px}
.paper-dates{flex-direction:column;gap:6px}
.paper-dates p{flex-direction:row;gap:12px}
.invoice-table{font-size:11px}
.invoice-table th{font-size:10px;letter-spacing:0;padding:10px 5px}
.invoice-table td,.invoice-table td:first-child{font-size:11px;padding:14px 5px}
.invoice-table th:first-child,.invoice-table td:first-child{width:32%;padding-inline-start:8px}
.invoice-table th:nth-child(2){width:12%}.invoice-table th:nth-child(3){width:10%}.invoice-table th:nth-child(4){width:17%}.invoice-table th:nth-child(5){width:10%}.invoice-table th:last-child{width:19%}
.paper-summary{grid-template-columns:1fr 1.1fr;gap:28px}
.totals{width:100%;margin:0;order:1}.amount-words{order:0}.totals dt{font-size:11px}.grand-total dt{font-size:13px}.grand-total dd{font-size:23px}.grand-total dd small{font-size:10px}
.paper-footer p{font-size:10px}.sample-caption{font-size:10px}.paper-footer{gap:17px}
.scroll-help{font-size:11px;color:#b6b2aa;line-height:1.6;margin:15px 4px 0;display:none}
@media(max-width:1150px){.scroll-help{display:block}}
@page{size:A4;margin:14mm 12mm}
@media print{html,body{background:white!important;color:#2c2a22;color-scheme:light;margin:0;padding:0;width:auto!important}body>*:not(main),main>*:not(.workspace),.editor,.preview-top,.print-help,.scroll-help{display:none!important}main{max-width:none;width:100%;margin:0;padding:0}.workspace{display:block;margin:0;padding:0}.preview-section{display:block;margin:0;padding:0}.paper-scroll{overflow:visible;box-shadow:none;border-radius:0;max-width:none}.paper{min-width:0;border-radius:0;box-shadow:none;margin:0;padding:0;min-height:0;width:100%;font-size:11px;overflow:visible;print-color-adjust:exact;-webkit-print-color-adjust:exact}.paper-topline{font-size:9px}.paper-heading h2,html[dir=rtl] .paper-heading h2{font-size:30px}.paper-parties{grid-template-columns:1.1fr 1fr;gap:24px}.paper-dates{display:flex;flex-direction:column;gap:5px}.paper-dates p{flex-direction:row;gap:12px;font-size:11px}.paper-label{font-size:9px}.paper-parties p,.bill-to>p,.amount-words p,.paper-notes p{font-size:11px}.invoice-table-wrap{overflow:visible}.invoice-table{font-size:10px}.invoice-table th{font-size:8px}.invoice-table td{font-size:10px}.invoice-table td:first-child{font-size:11px}.invoice-table th:first-child{width:38%}.invoice-table th:nth-child(2){width:11%}.invoice-table th:nth-child(3){width:9%}.invoice-table th:nth-child(4){width:15%}.invoice-table th:nth-child(5){width:10%}.invoice-table th:last-child{width:17%}.invoice-table thead{display:table-header-group}.invoice-table tr{break-inside:avoid;page-break-inside:avoid}.paper-summary{display:grid;grid-template-columns:1fr 1.1fr;gap:30px;break-inside:avoid;page-break-inside:avoid}.amount-words{order:0}.totals{order:1;width:100%;margin:0}.grand-total dd{font-size:23px}.paper-heading,.paper-parties,.bill-to,.paper-notes,.paper-footer{break-inside:avoid;page-break-inside:avoid}.paper-footer p{font-size:9px}.sample-stamp{font-size:10px}.paper-topline,.paper-footer{print-color-adjust:exact}}
