/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.relative{position:relative}.start{inset-inline-start:var(--spacing)}.hidden{display:none}.table{display:table}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}}:root{--ink:#101820;--muted:#68717d;--line:#dfe3e7;--panel:#fff;--canvas:#eef1f3;--orange:#ef6c22;--orange-dark:#d95712;--teal:#169bad;--teal-soft:#e8f6f7}*{box-sizing:border-box}html{background:var(--canvas)}body{background:var(--canvas);color:var(--ink);-webkit-font-smoothing:antialiased;margin:0;font-family:Arial,Helvetica,sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}.app-shell{min-height:100vh}.app-header{z-index:20;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff5;border-bottom:1px solid #e5e8eb;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;height:76px;padding:0 30px;display:grid;position:sticky;top:0}.brand-lockup,.invoice-logo-row{align-items:center;display:flex}.brand-logo{object-fit:contain;width:175px;height:auto;display:block}.header-title{align-items:center;gap:12px;font-size:14px;display:flex}.status-dot,.currency-pill,.catalogue-count{letter-spacing:.04em;border-radius:999px;align-items:center;font-size:11px;font-weight:800;display:inline-flex}.status-dot{color:#52606b;background:#f1f3f5;padding:6px 10px}.status-dot:before{content:"";background:#f2a23a;border-radius:50%;width:6px;height:6px;margin-right:6px}.header-actions{justify-content:flex-end;gap:10px;display:flex}.user-chip{text-overflow:ellipsis;white-space:nowrap;color:#68717a;align-self:center;max-width:150px;font-size:11px;font-weight:700;overflow:hidden}.button{border:1px solid #0000;border-radius:8px;min-height:40px;padding:0 16px;font-size:13px;font-weight:800}.button-ghost{color:#27313a;background:#fff;border-color:#d8dde1}.button-primary{background:var(--ink);color:#fff}.button:hover{transform:translateY(-1px)}.app-tabs{z-index:15;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff7;border-bottom:1px solid #e3e7e9;justify-content:center;gap:5px;padding:9px 20px;display:flex;position:sticky;top:76px}.app-tabs button{color:#66717a;background:0 0;border:0;border-radius:7px;padding:9px 14px;font-size:12px;font-weight:800}.app-tabs button:hover{color:var(--ink);background:#f3f5f6}.app-tabs button.active{color:#0f7f8d;background:var(--teal-soft)}.app-tabs button span{color:#68717a;background:#fff;border-radius:999px;min-width:18px;margin-left:5px;padding:2px 5px;font-size:9px}.notice-bar{color:#765018;background:#fff7e9;border-bottom:1px solid #f3d6a5;justify-content:space-between;align-items:center;gap:20px;padding:11px clamp(20px,5vw,70px);font-size:12px;font-weight:700;display:flex}.notice-bar button{color:#765018;background:0 0;border:0;font-size:20px}.is-hidden{display:none!important}.workspace{grid-template-columns:minmax(520px,.92fr) minmax(620px,1.08fr);min-height:calc(100vh - 76px);display:grid}.editor{background:#f7f8f9;border-right:1px solid #dde1e4;padding:38px clamp(24px,4vw,58px) 80px}.editor-intro{justify-content:space-between;align-items:flex-start;margin-bottom:26px;display:flex}.eyebrow{color:var(--teal);letter-spacing:.16em;text-transform:uppercase;margin:0 0 7px;font-size:11px;font-weight:900}.editor-intro h1{letter-spacing:-.035em;margin:0;font-size:29px}.currency-pill{color:#176f79;background:var(--teal-soft);border:1px solid #cce9ec;padding:8px 11px}.form-card{background:var(--panel);border:1px solid #e1e5e8;border-radius:12px;margin-bottom:16px;padding:22px;box-shadow:0 1px 2px #10182006}.section-heading,.heading-with-number{align-items:center;gap:12px;display:flex}.section-heading{margin-bottom:20px}.items-heading{justify-content:space-between}.section-number{width:29px;height:29px;color:var(--teal);background:var(--teal-soft);border-radius:7px;flex:none;place-items:center;font-size:11px;font-weight:900;display:grid}.section-heading h2{margin:0;font-size:15px}.section-heading p{color:#7a838c;margin:3px 0 0;font-size:11px;line-height:1.4}.catalogue-count{color:#65717b;background:#f4f5f6;padding:7px 9px}.field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.field-grid-three{grid-template-columns:1.1fr 1fr .8fr}.field-wide{grid-column:1/-1}.field{flex-direction:column;gap:7px;display:flex}.field>span,.discount-field>label{color:#444e57;font-size:11px;font-weight:800}.field input,.field textarea,.line-item input,.amount-input{width:100%;min-height:42px;color:var(--ink);background:#fff;border:1px solid #d8dde1;border-radius:8px;outline:none}.field input{padding:0 12px}.field textarea{resize:vertical;min-height:78px;padding:11px 12px;line-height:1.45}input:focus{border-color:var(--teal);box-shadow:0 0 0 3px #169bad1a}input::placeholder{color:#a4abb2}.line-labels,.line-item{grid-template-columns:minmax(190px,1.7fr) 72px 110px 118px 28px;align-items:center;gap:8px;display:grid}.line-labels{color:#707982;padding:0 2px 7px;font-size:10px;font-weight:800}.line-labels span:nth-child(n+2){text-align:right}.line-item{border-top:1px solid #edf0f2;padding:9px 0}.line-item input{padding:0 10px;font-size:12px}.product-cell,.line-field,.line-total-cell{min-width:0}.line-field{display:block}.line-field input{width:100%}.line-total-cell{text-align:right}.product-input-row{grid-template-columns:minmax(0,1fr) auto;gap:6px;display:grid}.product-input-wrap{position:relative}.product-input-wrap input{padding-right:32px}.search-icon{color:#85909a;pointer-events:none;position:absolute;top:50%;right:11px;transform:translateY(-50%)}.open-product-picker{background:var(--teal-soft);color:#0f7f8d;border:1px solid #c8e3e6;border-radius:8px;min-width:42px;min-height:42px;padding:0 11px;font-size:17px;font-weight:900}.open-product-picker:hover{border-color:var(--teal);background:#daf0f2}.open-product-picker strong{font-size:11px;display:none}.numeric-input{text-align:right}.line-total{text-align:right;white-space:nowrap;font-size:12px}.remove-button{color:#87909a;background:0 0;border:0;border-radius:6px;width:28px;height:28px;font-size:21px}.remove-button:hover:not(:disabled){color:#b52f2f;background:#fff0f0}.remove-button:disabled{opacity:.25;cursor:default}.mobile-label{display:none}.product-picker-backdrop{z-index:100;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#0911189e;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.product-picker-panel{background:#f7f9fa;border:1px solid #d8dfe2;border-radius:18px;flex-direction:column;width:min(820px,100%);max-height:min(820px,100vh - 48px);display:flex;overflow:hidden;box-shadow:0 28px 80px #0811184d}.product-picker-header{background:#fff;justify-content:space-between;align-items:center;gap:20px;padding:22px 24px 16px;display:flex}.product-picker-header span{color:var(--teal);letter-spacing:.15em;font-size:9px;font-weight:900}.product-picker-header h2{letter-spacing:-.025em;margin:4px 0 0;font-size:23px}.product-picker-close{color:#4e5962;background:#f7f8f9;border:1px solid #dde2e5;border-radius:50%;flex:none;width:44px;height:44px;font-size:25px}.product-picker-search-wrap{background:#fff;border:2px solid #b8dfe3;border-radius:12px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;min-height:56px;margin:0 24px 14px;display:grid;overflow:hidden}.product-picker-search-wrap>span{color:var(--teal);padding-left:16px;font-size:21px}.product-picker-search-wrap input{width:100%;min-height:54px;color:var(--ink);background:0 0;border:0;outline:0;padding:0 13px;font-size:16px}.product-picker-search-wrap input:focus{box-shadow:none}.product-picker-search-wrap button{color:#52606a;background:#eef2f3;border:0;border-radius:8px;height:38px;margin-right:8px;padding:0 12px;font-size:10px;font-weight:900}.product-category-list{scrollbar-width:thin;-webkit-overflow-scrolling:touch;gap:8px;padding:0 24px 15px;display:flex;overflow-x:auto}.product-category-list button{color:#5b6670;white-space:nowrap;background:#fff;border:1px solid #d7dee2;border-radius:999px;flex:none;min-height:38px;padding:0 13px;font-size:10px;font-weight:850}.product-category-list button.active{border-color:var(--teal);background:var(--teal);color:#fff}.product-picker-results-heading{color:#77828a;border-top:1px solid #e1e6e8;justify-content:space-between;gap:16px;padding:12px 24px 10px;font-size:10px;display:flex}.product-picker-results-heading strong{color:#3f4a53}.product-picker-results{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0 14px 16px;overflow-y:auto}.product-choice{width:100%;min-height:66px;color:var(--ink);text-align:left;background:#fff;border:1px solid #e0e5e7;border-radius:11px;grid-template-columns:minmax(0,1fr) auto 18px;align-items:center;gap:14px;margin-top:7px;padding:11px 14px;display:grid;box-shadow:0 1px 2px #10182006}.product-choice:hover,.product-choice:focus-visible{border-color:var(--teal);background:#f3fbfc;outline:none}.product-choice-main{min-width:0}.product-choice-main strong,.product-choice-main small{display:block}.product-choice-main strong{font-size:13px;line-height:1.35}.product-choice-main small{color:#849099;margin-top:4px;font-size:9px}.product-choice-price{color:#0d7e8b;white-space:nowrap;font-size:12px;font-weight:900}.product-choice-arrow{color:#9aa3aa;font-size:24px}.product-picker-empty{color:#7a858d;text-align:center;padding:46px 20px}.product-picker-empty strong,.product-picker-empty span{display:block}.product-picker-empty strong{color:#3f4a53;font-size:14px}.product-picker-empty span{margin-top:7px;font-size:11px}.add-button{color:#33404a;background:#fafbfb;border:1px dashed #bdc7cd;border-radius:8px;width:100%;min-height:42px;margin-top:9px;font-size:12px;font-weight:800}.add-button span{color:var(--orange);vertical-align:-1px;font-size:17px}.add-button:hover{border-color:var(--orange);background:#fffaf7}.editor-totals{border-top:1px solid #e8ebed;grid-template-columns:1fr 1.1fr;align-items:end;gap:34px;margin-top:22px;padding-top:20px;display:grid}.discount-field{flex-direction:column;gap:7px;display:flex}.amount-input{grid-template-columns:1fr auto;align-items:center;display:grid;overflow:hidden}.amount-input input{text-align:right;border:0;outline:0;width:100%;height:40px;padding:0 10px}.amount-input span{color:#78828b;padding:0 10px;font-size:10px;font-weight:800}.summary-lines{flex-direction:column;gap:10px;font-size:12px;display:flex}.summary-lines>div{justify-content:space-between;gap:20px;display:flex}.summary-lines span{color:#717a83}.summary-grand{border-top:2px solid var(--ink);margin-top:3px;padding-top:13px;font-size:16px}.summary-grand span,.summary-grand strong{color:var(--ink)}.workflow-actions{background:#f2f9fa;border:1px solid #d8e4e6;border-radius:12px;justify-content:space-between;align-items:center;gap:22px;padding:19px 20px;display:flex}.workflow-actions>div{align-items:center;gap:12px;display:flex}.workflow-actions p{margin:0}.workflow-actions p strong,.workflow-actions p small{display:block}.workflow-actions p strong{font-size:12px}.workflow-actions p small{color:#6d777f;margin-top:4px;font-size:10px}.workflow-lock{color:#24804f;background:#d9f0e4;border-radius:50%;place-items:center;width:30px;height:30px;font-size:12px;font-weight:900;display:grid}.submit-button{background:var(--orange);color:#fff}.submit-button:hover{background:var(--orange-dark)}.management-view{max-width:1380px;min-height:calc(100vh - 130px);margin:0 auto;padding:42px clamp(20px,5vw,70px) 80px}.management-heading{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:24px;display:flex}.management-heading h1{letter-spacing:-.035em;margin:0;font-size:30px}.queue-count{color:#956317;background:#fff3de;border-radius:999px;padding:8px 12px;font-size:11px;font-weight:900}.records-card,.team-card{background:#fff;border:1px solid #e0e4e7;border-radius:12px;overflow:hidden;box-shadow:0 8px 28px #171f260b}.records-row{border-top:1px solid #edf0f2;grid-template-columns:1.1fr 1.1fr 1.4fr .9fr .8fr .8fr;align-items:center;gap:14px;padding:16px 18px;font-size:12px;display:grid}.records-row>span{min-width:0}.records-row small{color:#88919a;margin-top:4px;font-size:9px;display:block}.records-header{color:#707a83;letter-spacing:.05em;text-transform:uppercase;background:#f5f7f8;border-top:0;font-size:9px;font-weight:900}.record-email{color:#68727b;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.document-status{white-space:nowrap;border-radius:999px;padding:6px 8px;font-size:9px;font-weight:900;display:inline-flex}.document-status.draft{color:#5f6972;background:#edf0f2}.document-status.pending{color:#9a6512;background:#fff1d7}.document-status.approved{color:#167c4b;background:#e0f5e9}.document-status.rejected{color:#a93636;background:#fde8e8}.document-status.paid{color:#087481;background:#def4f6}.table-action{color:#3c4750;background:#fff;border:1px solid #d7dde0;border-radius:6px;padding:7px 9px;font-size:9px;font-weight:800}.table-action.paid{color:#19724a;background:#e9f8f0;border-color:#bde2d0}.record-actions{flex-wrap:wrap;gap:6px;display:flex}.empty-state{color:#7d868e;text-align:center;padding:48px 20px;font-size:12px}.empty-state.wide{background:#fff;border:1px dashed #ccd3d7;border-radius:12px;grid-column:1/-1}.approval-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.approval-card{background:#fff;border:1px solid #e0e5e8;border-radius:12px;padding:20px;box-shadow:0 8px 24px #171f260a}.approval-card-top{color:#8a939a;justify-content:space-between;align-items:center;font-size:9px;display:flex}.approval-card h2{margin:18px 0 5px;font-size:17px}.approval-card p{color:#66717a;margin:0;font-size:12px}.approval-total{margin:17px 0 8px;font-size:22px;display:block}.approval-card>small{color:#8a9299;font-size:9px}.approval-actions{grid-template-columns:1fr 1fr;gap:8px;margin-top:20px;display:grid}.approval-actions button{color:#4b555e;background:#fff;border:1px solid #d8dde0;border-radius:7px;min-height:37px;font-size:10px;font-weight:900}.approval-actions button.approve{background:var(--teal);color:#fff;border-color:#138899}.team-layout{grid-template-columns:1.1fr .9fr;gap:18px;display:grid}.team-card{padding:22px}.team-card h2{margin:0 0 18px;font-size:15px}.team-member{border-top:1px solid #edf0f2;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:13px 0;display:grid}.avatar{background:var(--teal-soft);color:#107988;border-radius:9px;place-items:center;width:36px;height:36px;font-size:10px;font-weight:900;display:grid}.team-member strong,.team-member small{display:block}.team-member strong{font-size:12px}.team-member small{color:#838d95;margin-top:3px;font-size:9px}.role-pill{border-radius:999px;padding:6px 8px;font-size:9px;font-weight:900}.role-pill.admin{color:#8b5810;background:#fff0d6}.role-pill.staff{color:#28724e;background:#e3f4e9}.invite-card{flex-direction:column;gap:13px;display:flex}.invite-card h2{margin-bottom:0}.invite-card>p{color:#747e86;margin:0 0 4px;font-size:11px;line-height:1.5}.field select{width:100%;min-height:42px;color:var(--ink);background:#fff;border:1px solid #d8dde1;border-radius:8px;padding:0 12px}.preview-column{background:#e8ebed;padding:26px clamp(24px,4vw,58px) 80px;overflow:hidden}.preview-toolbar{color:#6c7680;justify-content:space-between;align-items:center;max-width:794px;margin:0 auto 12px;font-size:11px;font-weight:700;display:flex}.preview-toolbar>div{align-items:center;gap:7px;display:flex}.live-dot{background:#43a66c;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 3px #43a66c1f}.invoice-paper{color:#17212a;background:#fff;width:100%;max-width:794px;min-height:1123px;margin:0 auto;padding:58px 58px 40px;position:relative;box-shadow:0 16px 45px #232b311f}.receipt-print-only{display:none}.receipt-title small{color:#7d858d;margin-top:7px;font-size:9px;font-weight:700;display:block}.receipt-validation{background:#f3fafb;border:1px solid #cfe3e6;border-radius:9px;grid-template-columns:1.3fr .7fr;gap:50px;margin-top:48px;padding:19px 20px;display:grid}.receipt-validation p{color:#5e6a72;margin:8px 0 0;font-size:10px;line-height:1.5}.receipt-validation>div:last-child{text-align:right}.receipt-validation>div:last-child span,.receipt-validation>div:last-child strong{display:block}.receipt-validation>div:last-child span{color:#7b858d;letter-spacing:.08em;text-transform:uppercase;font-size:8px;font-weight:800}.receipt-validation>div:last-child strong{overflow-wrap:anywhere;margin-top:8px;font-size:9px}.document-detail-view{background:#e8ebed;min-height:calc(100vh - 130px)}.document-detail-bar{background:#fff;border-bottom:1px solid #d8dde0;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;padding:16px clamp(20px,4vw,58px);display:grid}.back-button{color:#4f5b64;background:0 0;border:0;justify-self:start;font-size:11px;font-weight:800}.document-detail-identity{align-items:center;gap:12px;display:flex}.document-detail-identity div span,.document-detail-identity div strong{text-align:center;display:block}.document-detail-identity div span{color:#8b949b;letter-spacing:.08em;text-transform:uppercase;font-size:8px;font-weight:800}.document-detail-identity div strong{margin-top:3px;font-size:12px}.document-detail-actions{flex-wrap:wrap;justify-content:flex-end;justify-self:end;gap:8px;display:flex}.document-detail-paper-wrap{padding:28px clamp(12px,4vw,58px) 70px;overflow-x:auto}.saved-document-paper{min-height:1123px}.saved-status-text{letter-spacing:.08em;margin-top:7px;font-size:9px;font-weight:900;display:block}.saved-status-text.draft{color:#69747c}.saved-status-text.pending{color:#a16a13}.saved-status-text.approved,.saved-status-text.paid{color:#168154}.saved-status-text.rejected{color:#b03c3c}.approval-proof{color:#126d48;border:2px solid #168154;border-radius:8px;align-items:center;gap:12px;width:fit-content;margin-top:34px;padding:12px 16px;display:flex;transform:rotate(-1deg)}.approval-check{color:#fff;background:#168154;border-radius:50%;place-items:center;width:24px;height:24px;font-size:13px;font-weight:900;display:grid}.approval-proof strong,.approval-proof small{display:block}.approval-proof strong{letter-spacing:.08em;font-size:10px}.approval-proof small{overflow-wrap:anywhere;margin-top:4px;font-size:8px}.invoice-accent{background:linear-gradient(90deg, var(--orange) 0 31%, var(--teal) 31% 37%, var(--ink) 37% 100%);height:8px;position:absolute;inset:0 0 auto}.invoice-header{border-bottom:1px solid #dfe4e7;justify-content:space-between;align-items:flex-start;padding-bottom:28px;display:flex}.invoice-logo{object-fit:contain;width:220px;height:auto;display:block}.invoice-brand>p{color:#6b747d;margin:10px 0 0;font-size:10px}.invoice-brand>p+p{margin-top:3px}.invoice-title{text-align:right}.invoice-title span{color:#9aa1a8;letter-spacing:.2em;font-size:10px;font-weight:900;display:block}.invoice-title strong{margin-top:8px;font-size:22px;display:block}.invoice-meta{grid-template-columns:1.25fr .75fr;gap:55px;padding:30px 0;display:grid}.invoice-label{color:var(--teal);letter-spacing:.15em;font-size:9px;font-weight:900}.invoice-client strong{margin-top:10px;font-size:15px;display:block}.invoice-client p{color:#67717a;margin:5px 0 0;font-size:10px}.invoice-client .project-ref{color:#202a32;font-weight:700}.invoice-dates{gap:15px;display:grid}.invoice-dates div{border-bottom:1px solid #edf0f1;justify-content:space-between;gap:15px;padding-bottom:10px;font-size:9px;display:flex}.invoice-dates span{color:#7b848c;text-transform:uppercase;letter-spacing:.08em}.invoice-dates strong{text-align:right}.invoice-table{border-collapse:collapse;table-layout:fixed;width:100%}.invoice-table thead{background:var(--ink);color:#fff}.invoice-table th{text-align:right;letter-spacing:.04em;padding:11px 10px;font-size:9px}.invoice-table th:first-child{text-align:left;width:48%}.invoice-table th:nth-child(2){width:10%}.invoice-table td{text-align:right;vertical-align:top;border-bottom:1px solid #e8ebed;padding:13px 10px;font-size:10px}.invoice-table td:first-child{text-align:left;font-weight:700}.invoice-summary{width:295px;margin:26px 0 0 auto}.invoice-summary>div{color:#65707a;justify-content:space-between;gap:20px;padding:7px 0;font-size:10px;display:flex}.invoice-grand-total{border-left:4px solid var(--orange);background:#f1f4f5;margin-top:5px;color:var(--ink)!important;padding:13px 12px!important}.invoice-grand-total span{letter-spacing:.08em;font-weight:900}.invoice-grand-total strong{font-size:16px}.invoice-terms{border-top:1px solid #e2e6e8;grid-template-columns:1.25fr .75fr;gap:70px;margin-top:52px;padding-top:22px;display:grid}.invoice-terms p{color:#6c757e;margin:8px 0 0;font-size:9px;line-height:1.5}.signature-box{color:#7e878f;text-align:center;padding-top:1px;font-size:9px}.signature-box div{border-bottom:1px solid #bdc4c9;height:55px;margin-top:8px}.invoice-footer{color:#8a9299;justify-content:space-between;gap:20px;font-size:8px;display:flex;position:absolute;bottom:36px;left:58px;right:58px}.invoice-footer span:first-child{color:var(--orange-dark);font-weight:800}@media (width<=1180px){.app-header{grid-template-columns:1fr auto}.header-title{display:none}.workspace{grid-template-columns:1fr}.editor{border-right:0}.preview-column{border-top:1px solid #d9dde0}.approval-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=1024px){.line-labels{display:none}.line-items{gap:12px;display:grid}.line-item{background:#fbfcfc;border:1px solid #e1e6e8;border-radius:12px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:16px}.product-cell{grid-column:1/-1}.mobile-label{color:#68737c;margin-bottom:6px;font-size:10px;font-weight:850;display:block}.line-item input,.open-product-picker{min-height:50px}.open-product-picker{justify-content:center;align-items:center;gap:7px;min-width:112px;display:inline-flex}.open-product-picker strong{display:inline}.line-total-cell{text-align:left;align-self:end}.line-total{background:#eef3f4;border-radius:8px;align-items:center;min-height:50px;padding:0 12px;font-size:13px;display:flex}.line-item .remove-button{color:#a74444;background:#fff5f5;border:1px solid #f0d5d5;place-self:end;width:50px;height:50px}}@media (width<=700px){.app-header{gap:12px;height:auto;min-height:70px;padding:14px 16px}.brand-logo{width:146px}.button-ghost{display:none}.button{padding:0 12px;font-size:11px}.user-chip{display:none}.app-tabs{justify-content:flex-start;top:70px;overflow-x:auto}.app-tabs button{white-space:nowrap}.editor{padding:26px 14px 50px}.editor-intro h1{font-size:25px}.form-card{padding:18px 14px}.field-grid,.field-grid-three{grid-template-columns:1fr}.field-wide{grid-column:auto}.line-item{grid-template-columns:1fr 1fr;gap:8px 10px;padding:14px 12px}.product-input-row{grid-template-columns:minmax(0,1fr) 104px}.open-product-picker{min-width:104px;padding:0 9px}.product-picker-backdrop{align-items:end;padding:0}.product-picker-panel{border-radius:20px 20px 0 0;width:100%;max-height:92dvh}.product-picker-header{padding:18px 16px 14px}.product-picker-header h2{font-size:20px}.product-picker-search-wrap{margin:0 16px 12px}.product-category-list{padding:0 16px 12px}.product-category-list button{min-height:42px}.product-picker-results-heading{padding:11px 16px 8px}.product-picker-results-heading span{display:none}.product-picker-results{padding:0 8px calc(18px + env(safe-area-inset-bottom))}.product-choice{min-height:72px;padding:12px}.product-choice-main strong{font-size:12px}.product-choice-price{font-size:11px}.editor-totals{grid-template-columns:1fr;gap:20px}.workflow-actions{flex-direction:column;align-items:stretch}.workflow-actions>div:last-child{grid-template-columns:1fr 1fr;display:grid}.management-view{padding:28px 14px 55px}.management-heading{flex-direction:column;align-items:flex-start}.records-card{overflow-x:auto}.records-row{min-width:860px}.approval-grid,.team-layout{grid-template-columns:1fr}.document-detail-bar{grid-template-columns:1fr;align-items:stretch}.document-detail-identity{justify-content:space-between}.document-detail-identity div span,.document-detail-identity div strong{text-align:left}.document-detail-actions{grid-template-columns:1fr 1fr;justify-self:stretch;display:grid}.preview-column{padding:24px 8px 40px;overflow-x:auto}.preview-toolbar{padding:0 8px}.invoice-paper{transform-origin:0 0;width:690px;min-height:976px;padding:48px}}@media print{@page{size:A4;margin:0}html,body{background:#fff;width:210mm;min-height:297mm}.no-print{display:none!important}.receipt-print-only{display:block}.document-detail-paper-wrap{background:#fff;padding:0;overflow:visible}.workspace{min-height:auto;display:block}.preview-column{background:#fff;padding:0;overflow:visible}.invoice-paper{width:210mm;max-width:none;min-height:297mm;box-shadow:none;margin:0;padding:15mm 15mm 11mm}.invoice-footer{bottom:10mm;left:15mm;right:15mm}}
