@font-face{font-family:Noto Sans;src:url(/fonts/NotoSans-Regular.ttf) format("truetype");font-weight:400;font-display:swap}@font-face{font-family:Noto Sans;src:url(/fonts/NotoSans-Bold.ttf) format("truetype");font-weight:600 800;font-display:swap}@font-face{font-family:"Noto Serif";src:url(/fonts/NotoSerif-Regular.ttf) format("truetype");font-weight:400;font-display:swap}@font-face{font-family:"Noto Serif";src:url(/fonts/NotoSerif-Bold.ttf) format("truetype");font-weight:700;font-display:swap}@font-face{font-family:Noto Sans Mono;src:url(/fonts/NotoSansMono-Regular.ttf) format("truetype");font-weight:400;font-display:swap}@font-face{font-family:Noto Sans Mono;src:url(/fonts/NotoSansMono-Bold.ttf) format("truetype");font-weight:700;font-display:swap}:root{font-family:Noto Sans,system-ui,sans-serif;color:#293246;background:#f7f8fa;font-synthesis:none;font-size:13px;--accent:#5367df;--muted:#798294;--border:#e7eaf0;--shadow:0 3px 15px #27335604;--radius:12px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:var(--accent);text-decoration:none}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #8898f5;outline-offset:3px}input,textarea,select{width:100%;border:1px solid #dee3eb;background:#fff;color:#293246;border-radius:7px;padding:10px 11px;outline:none;transition:border-color .15s,box-shadow .15s}input:focus,textarea:focus,select:focus{border-color:#8392ea;box-shadow:0 0 0 3px #5367df13}input::placeholder,textarea::placeholder{color:#9aa2b0}input[type=checkbox]{width:15px;height:15px;accent-color:var(--accent);margin:0}input[type=color]{padding:3px;width:40px;height:38px}textarea{resize:vertical;min-height:44px;line-height:1.65}h1,h2,h3,p{margin-top:0}h1{font-size:30px;letter-spacing:-1px;line-height:1.35;color:#222c40;margin-bottom:7px;font-weight:700}h2{font-size:16px;letter-spacing:-.2px;margin-bottom:8px}h3{font-size:13px}p{line-height:1.7;color:#7b8494}small{font-size:11px;line-height:1.5}fieldset{min-width:0}.muted{color:#7b8494}.eyebrow{display:block;font-size:10px;font-weight:700;letter-spacing:1.8px;color:#858da0;margin-bottom:14px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #dfe4ec;background:#fff;border-radius:8px;min-height:39px;padding:10px 16px;color:#4b5569;font-size:12px;font-weight:600;white-space:nowrap;box-shadow:0 1px 2px #26345204;transition:background .15s,transform .15s}.button:hover{background:#f8f9fc}.button.primary{background:var(--accent);color:#fff;border-color:var(--accent);box-shadow:0 3px 7px #5367df22}.button.primary:hover{background:#4559ce}.button.full{width:100%}.button.subtle{background:#f9fafc;box-shadow:none}.text-button{background:none;border:none;color:var(--accent);display:inline-flex;align-items:center;gap:6px;padding:8px 0;font-size:12px;font-weight:600}.icon-button{width:31px;height:31px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border:0;border-radius:6px;background:transparent;color:#939bab}.icon-button:hover{background:#f0f2f8;color:var(--accent)}.danger{color:#b85a62}.panel{background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;margin-bottom:15px;min-width:0}.field>span{font-weight:600;color:#596478;font-size:11px}.field small{color:#939aaa}.form-grid{display:grid;gap:0 18px;grid-template-columns:1fr 1fr}.form-grid .field:nth-child(2){grid-row:span 2}.form-grid.two .field:nth-child(2){grid-row:auto}.unstyled-fieldset{border:0;padding:0;margin:0}.tiny-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#8fa5a0;flex-shrink:0}.badge{font-size:10px;text-transform:capitalize;font-weight:600;display:inline-flex;align-items:center;gap:4px;border:1px solid #e5e8ed;background:#f7f8fa;color:#7a8495;border-radius:5px;padding:4px 8px;white-space:nowrap}.badge.draft{color:#78839a;background:#f3f5f9;border-color:#e7ebf1}.badge.issued{color:#586fc5;background:#f1f4ff;border-color:#e1e7ff}.badge.paid{color:#388b67;background:#edf8f3;border-color:#d8eee3}.badge.void{color:#8d819d;background:#f5f1f8;border-color:#e8e0ef}.badge.overdue{color:#bc6a43;background:#fff6ed;border-color:#f9e4d1}.loading-state{padding:90px 24px;text-align:center;color:#939cac}.app-loading{height:100dvh;display:flex;gap:14px;align-items:center;justify-content:center;color:#7b8494}.app-shell{display:flex;min-height:100dvh}.sidebar{width:228px;flex-shrink:0;background:#fff;border-right:1px solid var(--border);position:fixed;inset:0 auto 0 0;z-index:10;display:flex;flex-direction:column;padding:31px 20px 20px}.brand{font-size:25px;font-weight:700;letter-spacing:-1.2px;display:flex;align-items:center;color:#283146;gap:10px;width:max-content}.brand-mark{display:inline-flex;width:35px;height:37px;border-radius:10px;justify-content:center;align-items:center;background:#5367df;color:#fff;box-shadow:0 3px 7px #5367df20}.brand-dot{margin-left:-8px;color:#5367df}.workspace-label{display:flex;align-items:center;gap:10px;margin:33px 0 30px;padding:12px 9px;border:1px solid var(--border);border-radius:9px;background:#fdfdfe}.workspace-avatar{width:31px;height:31px;border-radius:7px;background:#f0f2f8;font-size:10px;display:flex;align-items:center;justify-content:center;color:#7d87a1;font-weight:700}.workspace-label>div{flex:1;min-width:0}.workspace-label strong{font-size:11px;display:block}.workspace-label small{font-size:9px;color:#9aa2b1}.workspace-label>svg{color:#a8afbe}.nav-caption{font-size:9px;letter-spacing:1.4px;font-weight:600;color:#a2a9b8;margin:0 12px 11px}.sidebar nav{display:flex;flex-direction:column;gap:6px}.sidebar nav a{display:flex;align-items:center;gap:11px;color:#8991a1;padding:12px;border-radius:7px;font-size:12px}.sidebar nav a>span{flex:1}.sidebar nav a.active{background:#f0f2ff;color:#5367df;font-weight:600}.sidebar nav a:hover{background:#f6f7fc;color:#5367df}.sidebar-bottom{margin-top:auto;padding-top:45px}.ownership-note{border:1px solid #edf0f4;border-radius:10px;background:#fcfdfe;padding:17px;color:#95a1b6}.ownership-note svg{display:block;margin-bottom:10px;color:#8495cf}.ownership-note strong{display:block;color:#6e798b;font-size:11px}.ownership-note p{font-size:10px;line-height:1.8;margin:6px 0 0;color:#929aaa}.logout{display:flex;align-items:center;gap:10px;color:#929aaa;background:none;border:0;font-size:11px;margin:21px 0 17px;padding:9px 10px}.logout:hover{color:#5367df}.sidebar-version{font-size:8px;letter-spacing:1.2px;color:#b5bbc7;margin-left:10px}.main-shell{margin-left:228px;flex:1;min-width:0}.topbar{height:65px;border-bottom:1px solid var(--border);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 38px;font-size:10px;color:#a1a8b4}.topbar>span:first-child{display:flex;align-items:center;gap:11px}.topbar strong{font-weight:500;color:#727c8d}.private-tag{display:flex;align-items:center;gap:8px;font-size:9px}main{max-width:1520px;margin:auto;padding:38px 40px 28px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:28px}.page-heading p{margin-bottom:0;font-size:12px}.page-heading>.button{margin-top:17px}.setup-banner{display:flex;align-items:center;gap:15px;padding:20px 22px;background:#f0f2fd;border:1px solid #e1e6fc;border-radius:10px;margin-bottom:24px}.setup-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:#e6eaff;border-radius:9px;color:#6b7bce;flex-shrink:0}.setup-banner>div:nth-child(2){flex:1}.setup-banner strong{font-size:12px;color:#5e6bb1}.setup-banner p{font-size:10px;color:#8792ba;margin:4px 0 0}.setup-banner .button{font-size:10px;border-color:#dce2f7;color:#6273c4;padding:9px 13px}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:29px}.stat-card{position:relative;background:#fff;border:1px solid var(--border);border-radius:10px;padding:22px 23px 20px;display:flex;flex-direction:column;gap:11px;box-shadow:var(--shadow);min-height:155px}.stat-card>span:not(.stat-icon){font-size:10px;color:#8a93a3}.stat-card strong{font-size:28px;color:#30394c;letter-spacing:-.7px;line-height:1.25}.stat-card .stat-money{font-size:20px;overflow-wrap:anywhere}.stat-card small{color:#a1a8b5;font-size:9px}.stat-icon{position:absolute;right:21px;top:20px;display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:9px}.violet{background:#f0f2ff;color:#8491de}.amber{background:#fff6e9;color:#d5b073}.green{background:#eef7f3;color:#81b79e}.invoice-list{overflow:hidden}.list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 20px;border-bottom:1px solid var(--border);flex-wrap:wrap}.tabs{display:flex;gap:7px;flex-wrap:wrap}.tabs button{background:transparent;border:0;color:#9aa2b0;font-size:10px;padding:9px 10px;border-radius:6px}.tabs button.active{color:#697bd0;background:#f1f3fc;font-weight:600}.list-tools{display:flex;align-items:center;gap:13px}.search-field{display:flex;align-items:center;gap:8px;border:1px solid #e6eaf1;border-radius:7px;background:#fff;padding:0 10px;color:#a7aebb;min-width:0}.search-field input{border:none;padding:9px 0;font-size:10px;background:transparent;box-shadow:none}.archive-filter{display:flex;align-items:center;gap:6px;font-size:10px;color:#949dad}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th{text-align:left;background:#fcfcfe;color:#a1a8b6;font-size:9px;font-weight:500;padding:15px 18px;border-bottom:1px solid #edf0f5}td{padding:17px 18px;font-size:10px;border-bottom:1px solid #f0f2f6;color:#949cac}td strong{display:block;font-size:11px;font-weight:500;color:#687389}td small{display:block;font-size:9px;color:#a6adba;margin-top:3px}tbody tr:hover{background:#fcfdff}.align-right{text-align:right}.amount-cell{font-weight:600;color:#697386}.invoice-link{display:flex;align-items:center;gap:9px;background:none;border:0;color:#66728c;font-size:10px;font-weight:600;padding:0}.invoice-link svg{color:#adb8d2}.pagination{display:flex;align-items:center;justify-content:space-between;padding:15px 20px;font-size:9px;color:#a0a8b7}.pagination>div{display:flex;align-items:center;gap:10px}.empty-state{text-align:center;padding:72px 24px 59px;max-width:570px;margin:auto}.empty-art{width:77px;height:88px;display:flex;align-items:center;justify-content:center;margin:0 auto 27px;background:linear-gradient(155deg,#f2f4ff,#fbfcff);border:1px solid #e6ebfd;border-radius:14px;color:#94a1df;position:relative;transform:rotate(-6deg)}.art-dot{width:18px;height:18px;position:absolute;right:-4px;bottom:13px;background:#e4edf9;border:4px solid white;border-radius:50%}.empty-state h2{font-size:20px;letter-spacing:-.5px;color:#56637b;font-weight:600;margin-bottom:10px}.empty-state p{font-size:11px;line-height:1.9;color:#a0a8b7;margin-bottom:22px}.empty-state .empty-note{font-size:9px;color:#b3bac7;margin:17px 0 0}.dashboard-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:23px;color:#a2aabb;font-size:9px}.dashboard-footer>span{display:flex;gap:7px;align-items:center}.dashboard-footer .text-button{font-size:9px;color:#929fbc;font-weight:400}.mobile-menu{display:none}.editor-heading h1{font-size:26px;display:flex;gap:12px;align-items:center}.editor-heading{align-items:flex-start}.back-link{border:0;padding:0;background:none;display:flex;gap:6px;align-items:center;color:#929db1;font-size:10px;margin-bottom:13px}.heading-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:26px}.heading-actions .button{font-size:11px;padding:10px 12px}.unsaved{color:#bc965b;font-size:10px}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 267px;gap:24px;align-items:start}.invoice-workspace{min-width:0}.invoice-paper{margin:0;border:1px solid #e2e6ed;background:#fff;border-radius:3px;padding:38px 34px;box-shadow:0 4px 18px #27335605;min-height:900px}.invoice-paper.modern{border-top:5px solid var(--invoice-accent)}.invoice-paper:disabled{color:inherit}.paper-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:30px;margin-bottom:29px}.paper-logo-placeholder{font-size:9px;font-weight:700;letter-spacing:1px;color:#9aa5ba;margin:0 0 18px}.paper-logo{max-width:140px;max-height:66px;object-fit:contain;margin-bottom:15px}.paper-party{display:flex;flex-direction:column;gap:1px}.paper-party input:first-child{font-size:14px;font-weight:600;color:#4f5a6f}.invoice-paper input,.invoice-paper textarea{border:1px solid transparent;box-shadow:none;border-radius:4px;background:transparent;font-size:11px;padding:7px 6px;color:#778196}.invoice-paper input:hover:not(:disabled),.invoice-paper textarea:hover:not(:disabled){border-color:#edf0f6;background:#fcfdff}.invoice-paper input:focus,.invoice-paper textarea:focus{border-color:#c7d0f6;background:#fcfdff;box-shadow:0 0 0 2px #5367df0b}.invoice-paper :disabled{opacity:1;-webkit-text-fill-color:#778196}.invoice-paper input::placeholder,.invoice-paper textarea::placeholder{color:#b3bac6}.paper-meta h2{font-size:27px;font-weight:400;letter-spacing:1.5px;text-align:right;color:var(--invoice-accent);margin:0 0 23px;overflow-wrap:anywhere}.paper-meta .field{display:grid;grid-template-columns:.8fr 1.2fr;align-items:center;gap:8px;margin:0 0 1px}.paper-meta .field span{font-size:9px;color:#909bab;font-weight:400;text-align:right}.paper-meta .field input{font-size:10px;text-align:right;padding:7px 3px;min-width:0}.paper-parties{display:flex;gap:30px;margin-bottom:30px}.paper-parties section{flex:1;min-width:0}.paper-parties h3{font-size:9px;letter-spacing:1px;text-transform:uppercase;color:#929db1;font-weight:600;margin-bottom:10px}.paper-parties select{font-size:10px;border-color:#edf0f7;background:#fafbfe;padding:7px 9px;margin-bottom:8px;color:#939eb2}.party-inputs .field{margin:0;gap:0}.party-inputs .field>span{display:none}.party-inputs input,.party-inputs textarea{padding:5px 4px!important}.party-inputs .field:first-child input{font-weight:600}.line-items{margin-bottom:28px}.line-head,.line-item{display:grid;grid-template-columns:minmax(0,2.7fr) minmax(0,.65fr) minmax(0,.85fr) minmax(0,1.1fr) 21px;gap:7px;align-items:start}.line-head{background:#f5f7fb;border-radius:4px;padding:12px 9px;font-size:9px;color:#909db1}.line-head span:not(:first-child){text-align:right}.modern .line-head{background:var(--invoice-accent);color:#fff}.line-item{border-bottom:1px solid #edf0f6;padding:10px 5px;font-size:10px}.line-item textarea{font-size:11px;min-height:40px;resize:vertical}.line-item input{text-align:right;padding-top:7px}.line-amount{padding-top:8px;text-align:right;color:#8793a8;font-size:10px;overflow-wrap:anywhere}.line-item .icon-button{width:21px;height:29px}.line-items>.text-button{margin-top:9px;font-size:10px;color:#8b99c0}.paper-bottom{display:grid;grid-template-columns:1fr 1fr;gap:30px}.paper-notes .field>span{font-size:9px;color:#98a3b5;letter-spacing:.5px}.paper-notes textarea{padding-left:0}.totals-editor{font-size:10px}.total-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 0;color:#8994a9}.total-row strong{font-weight:500;overflow-wrap:anywhere}.adjustment-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:4px 0;color:#96a1b4}.adjustment-row>div{display:flex;max-width:120px;gap:2px;align-items:center}.adjustment-row input{width:74px;text-align:right;font-size:10px;border-color:#edf0f6;padding:6px 7px}.adjustment-row select{width:55px;padding:6px 3px;font-size:9px;border-color:#edf0f6;color:#98a3b5}.total-row.balance{margin-top:8px;border-top:1px solid #e9ecf2;padding-top:16px;color:#677aaf;font-weight:600;font-size:12px}.total-row.balance strong{font-weight:700}.custom-fields{margin-top:22px;border-top:1px solid #eff1f5;padding-top:16px}.custom-field{display:grid;grid-template-columns:1fr 1.5fr 25px;gap:8px;margin-bottom:8px}.custom-field input{border-color:#edf0f6}.custom-fields .text-button{font-size:9px;color:#a1abc0}.workspace-footnote{display:flex;align-items:center;justify-content:center;gap:7px;font-size:9px;color:#a5aec0;margin-top:19px}.workspace-footnote .tiny-dot{background:#b0b9cf;width:4px;height:4px}.editor-aside>.panel{padding:22px 20px;margin-bottom:18px}.editor-aside h2{font-size:13px;color:#657189}.editor-aside .muted{font-size:10px;margin-bottom:23px}.branding-fields .field>span{font-size:10px;color:#929bad;font-weight:500}.branding-fields input,.branding-fields select{font-size:10px;padding:9px}.logo-upload{border:1px dashed #dce2ed;border-radius:8px;min-height:92px;margin-bottom:20px;background:#fcfdff;position:relative;display:flex;justify-content:center;align-items:center;padding:12px}.logo-upload img{max-width:150px;max-height:70px;object-fit:contain}.logo-upload>.icon-button{position:absolute;right:3px;top:3px}.upload-label{display:flex;align-items:center;flex-direction:column;gap:5px;color:#9eabc7;font-size:10px;cursor:pointer;width:100%;padding:8px}.upload-label small{font-size:8px;color:#b3bdcd}.upload-label input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.template-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.template-choice{border:1px solid #e9edf4;background:#fafbfe;border-radius:7px;padding:9px 12px;color:#9aa5b9;font-size:9px}.template-choice.selected{border-color:#a3b2f2;background:#f6f8ff;color:#7185d1}.mini-paper{width:49px;height:60px;background:#fff;border:1px solid #e5e9f2;margin:0 auto 7px;padding:6px;display:flex;flex-direction:column;gap:5px;position:relative}.mini-paper i{width:20px;height:3px;background:#c6d0e7}.mini-paper b{width:17px;height:4px;align-self:flex-end;background:#a7b8e0}.mini-paper span{height:3px;background:#e9edf5}.mini-paper.modern{border-top:3px solid #9fb1df}.mini-paper.modern span:first-of-type{background:#b1c0e1}.color-input{display:flex;gap:8px;align-items:center}.color-input input[type=color]{width:36px;height:34px;padding:3px;flex-shrink:0}.color-input input:last-child{flex:1;font-size:10px}.customize-details{border-top:1px solid #eef1f5;padding:12px 0;font-size:10px;color:#939eb2}.customize-details summary{cursor:pointer;color:#7f8da5}.customize-details .checks{display:flex;flex-direction:column;gap:12px;margin-top:15px}.checks label{display:flex;align-items:center;gap:8px}.labels-grid{margin-top:15px;display:grid;grid-template-columns:1fr 1fr;gap:0 10px}.labels-grid .field{margin-bottom:10px}.labels-grid .field>span{font-size:9px}.labels-grid input{padding:7px;font-size:9px}.editor-aside fieldset>.field{margin-top:12px}.editor-aside fieldset>.field input,.editor-aside fieldset>.field select{font-size:10px}.editor-aside fieldset>.field>span{font-size:10px;color:#939eb2;font-weight:500}.actions-panel p{font-size:10px;color:#a0aabc;line-height:1.8}.actions-panel .button{margin-bottom:9px;font-size:10px}.actions-panel>.text-button{font-size:10px}.share-result{background:#f6f8fe;border-radius:7px;padding:12px;margin-top:15px}.share-result label{font-size:9px;color:#8c9bb8}.share-result input{font-size:9px;margin:7px 0 12px}.share-result a{font-size:9px}.pdf-preview{height:900px;background:#fff;border:1px solid var(--border)}.pdf-preview iframe{width:100%;height:100%;border:0}.inline-error{border:1px solid #f4d6d9;background:#fff5f6;padding:12px 15px;border-radius:7px;color:#ab5761;font-size:11px;line-height:1.7;margin:12px 0;overflow-wrap:anywhere}.customer-search{max-width:300px;margin-bottom:25px}.customer-search input{font-size:11px;padding:11px 0}.customer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.customer-card{padding:24px}.customer-top{display:flex;align-items:center;gap:12px;margin-bottom:24px}.avatar{display:flex;align-items:center;justify-content:center;background:#f0f2fd;color:#8a9bcf;width:40px;height:40px;flex-shrink:0;border-radius:11px;font-size:13px;font-weight:600}.customer-top>div{min-width:0;flex:1}.customer-top h2{font-size:13px;overflow-wrap:anywhere;margin-bottom:4px}.customer-top .muted{font-size:9px}.customer-card p{display:flex;gap:10px;align-items:flex-start;font-size:10px;overflow-wrap:anywhere;margin-bottom:15px}.customer-card p svg{flex-shrink:0;color:#b2bfd2;margin-top:2px}.customer-card>.text-button{font-size:9px;margin-top:12px}.multiline{white-space:pre-wrap}.preset-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.preset-card{overflow:hidden}.preset-preview{height:235px;background:#f1f3f9;display:flex;align-items:flex-start;justify-content:center;padding-top:24px;overflow:hidden}.preset-sheet{background:#fff;padding:22px;width:190px;min-height:244px;box-shadow:0 8px 25px #60719710;border:1px solid #edf0f6;transform:rotate(-3deg)}.preset-sheet-header{display:flex;gap:12px;justify-content:space-between;align-items:center;margin-bottom:30px;font-size:6px}.preset-sheet-header b{color:var(--invoice-accent);font-size:10px;font-weight:500}.preset-lines{display:flex;flex-direction:column;gap:8px}.preset-lines i{height:5px;background:#eef1f7}.preset-lines i:first-child{background:var(--invoice-accent);opacity:.4}.preset-total{display:flex;justify-content:space-between;font-size:7px;margin:20px 0;color:#73839e}.preset-lines.small{width:55%;gap:6px}.preset-lines.small i{height:3px;background:#e9edf5}.modern .preset-sheet{border-top:4px solid var(--invoice-accent);transform:rotate(3deg)}.preset-info{display:flex;gap:10px;padding:23px 20px 0}.preset-info>div{flex:1}.preset-info h2{font-size:13px}.preset-info p{font-size:10px;text-transform:capitalize}.preset-actions{display:flex;justify-content:space-between;align-items:center;margin:2px 20px 16px;border-top:1px solid #eff1f6;padding-top:12px}.preset-actions .text-button{font-size:9px;color:#a7b1c4}.preset-actions .text-button.is-default{color:#738bd6}.settings-layout{display:grid;grid-template-columns:1.5fr 1fr;gap:24px;align-items:start}.settings-section{padding:28px;margin-bottom:23px}.section-title{display:flex;gap:12px;align-items:flex-start;margin-bottom:25px}.section-title svg{color:#91a1c6;margin-top:2px}.section-title h2{font-size:14px;margin-bottom:7px}.section-title p{font-size:10px;color:#9ea8bb;margin:0}.settings-section>.field{margin-top:18px}.settings-section .field span{font-size:10px;color:#8995a9}.settings-section input,.settings-section select,.settings-section textarea{font-size:11px}.settings-layout>.settings-section{padding:28px 25px}.security-note{max-width:700px;color:#91a0ba;padding:8px 4px;font-size:10px}.security-note p{color:#a1acc0;font-size:10px;margin-top:7px}.api-hero{padding:34px 35px;margin-bottom:24px;position:relative}.api-hero>.stat-icon{position:static;width:44px;height:44px;margin-bottom:22px}.api-hero h2{font-size:24px;letter-spacing:-.7px;color:#5b6d93}.api-hero p{max-width:600px;font-size:12px;color:#9aa7bd}.api-pills{display:flex;gap:9px;margin-top:23px;flex-wrap:wrap}.api-pills span{font-size:9px;color:#8f9fc0;border:1px solid #e7ecf9;padding:6px 10px;border-radius:5px;background:#fafbff}.api-example{padding:28px;margin-bottom:24px}.api-example .section-title{align-items:center;justify-content:space-between;margin-bottom:15px}.api-example .section-title h2{margin:0}.api-example>p{font-size:11px}.api-example pre{font:11px/1.9 Noto Sans Mono,monospace;background:#f7f9fc;color:#8392ad;border:1px solid #edf0f5;padding:23px;border-radius:8px;overflow-x:auto;margin:23px 0}.api-example .button{font-size:10px}.api-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:25px}.api-grid .panel{padding:27px}.api-grid h2{color:#7586a5;font-size:14px}.api-grid p{color:#a0acc0;font-size:11px}.api-grid code{font-size:10px;color:#7b8eb7}.modal{border:1px solid #e1e5ef;border-radius:14px;padding:28px;max-width:560px;width:calc(100% - 36px);max-height:88dvh;box-shadow:0 25px 90px #14214730;color:#34435f}.modal::backdrop{background:#17233e48;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.modal-header h2{font-size:18px;margin:0}.modal .field{font-size:12px}.modal .field>span{font-size:11px}.modal .branding-fields{max-width:100%}.modal .template-options{max-width:250px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:25px;border-top:1px solid #edf0f5;padding-top:20px}.modal>.muted{font-size:12px}.toast{position:fixed;z-index:100;bottom:26px;left:50%;transform:translate(-50%);display:flex;gap:10px;align-items:flex-start;background:#fbfffd;border:1px solid #d6ece1;box-shadow:0 7px 30px #1b304217;color:#6e9481;padding:15px 18px;border-radius:10px;max-width:650px;width:max-content;min-width:200px;font-size:12px;line-height:1.6}.toast.error{background:#fffafb;border-color:#f0d7dc;color:#af737e}.toast>span{flex:1;max-width:550px;overflow-wrap:anywhere}.toast>svg{flex-shrink:0;margin-top:2px}.toast button{border:0;color:inherit;background:none;padding:2px;display:flex}.login-page{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.login-left{background:radial-gradient(ellipse at 20% 45%,#eef1ff 0,transparent 70%),#f6f8fe;position:relative;padding:48px 60px;overflow:hidden;display:flex;flex-direction:column;min-height:820px}.login-copy{margin-top:71px;z-index:1}.login-copy .eyebrow{font-size:10px;color:#a1adcb;letter-spacing:2px}.login-copy h1{font-size:52px;line-height:1.14;letter-spacing:-2.5px;color:#4f618d;font-weight:600;margin:22px 0}.login-copy>p{font-size:12px;line-height:1.9;max-width:355px;color:#97a6c4}.login-benefits{display:flex;flex-direction:column;gap:13px;margin-top:24px;color:#91a3c8;font-size:11px}.login-benefits span{display:flex;align-items:center;gap:10px}.login-benefits svg{color:#9fb1df}.login-left footer{font-size:9px;color:#b3bdd0;letter-spacing:.5px;margin-top:auto;padding-top:290px}.login-paper-art{position:absolute;width:320px;height:280px;bottom:46px;right:5%;transform:rotate(-7deg)}.art-paper{width:260px;height:307px;padding:27px;background:#fff;border:1px solid #e5ebf8;border-radius:4px;box-shadow:0 20px 55px #7e96cb20;position:relative}.art-wordmark{font-size:6px;letter-spacing:.7px;color:#aab7d0}.art-paper>strong{position:absolute;right:27px;top:28px;font-size:11px;letter-spacing:1px;color:#8da1d4;font-weight:500}.art-address{display:flex;flex-direction:column;gap:6px;width:74px;margin:24px 0 26px}.art-address i{display:block;background:#edf1f9;height:3px}.art-address i:last-child{width:65%}.art-table{display:flex;flex-direction:column;gap:12px}.art-table b{height:14px;background:#e8eefb}.art-table span{height:5px;background:#f1f4fa;border-bottom:1px solid #e9eff8}.art-total{display:flex;justify-content:flex-end;align-items:center;gap:23px;margin-top:26px;font-size:7px;color:#9eb0d0}.art-total b{color:#8da3cc;font-weight:500;font-size:9px}.art-thanks{display:block;margin-top:40px;font-size:6px;color:#b2bfd4}.art-badge{position:absolute;bottom:2px;right:0;background:#fff;border:1px solid #e3eaf8;padding:14px 18px;border-radius:10px;display:flex;align-items:center;gap:8px;transform:rotate(7deg);font-size:10px;color:#8fa7c2;box-shadow:0 8px 25px #728bc918}.login-right{display:flex;align-items:center;justify-content:center;padding:50px}.login-form{max-width:360px;width:100%}.login-lock{display:flex;align-items:center;justify-content:center;width:48px;height:48px;background:#f1f3ff;border:1px solid #e5e9fc;border-radius:13px;color:#8797d5;margin-bottom:28px}.login-form h2{font-size:24px;letter-spacing:-.9px;color:#4c5b78;line-height:1.35;margin-bottom:12px}.login-form>p{font-size:11px;color:#a0acbf;margin-bottom:30px}.login-form .field{margin-bottom:22px}.login-form .field>span{font-size:10px;color:#8c98af}.login-form .field input{padding:13px;font-size:11px}.login-form>.button{font-size:11px;justify-content:space-between;padding:13px 18px}.login-security{display:flex;align-items:center;justify-content:center;gap:6px;font-size:8px;color:#b2bdd0;margin-top:22px;line-height:1.6}@media(min-width:1500px){main{padding:45px 55px}.invoice-paper{padding:45px 48px}.editor-layout{grid-template-columns:minmax(0,1fr) 300px;gap:30px}.editor-aside>.panel{padding:25px}.paper-top{gap:55px}.topbar{padding:0 55px}}@media(max-width:1150px){main{padding:30px 25px}.sidebar{width:205px;padding-left:15px;padding-right:15px}.main-shell{margin-left:205px}.topbar{padding:0 25px}.customer-grid,.preset-grid{grid-template-columns:repeat(2,1fr)}.editor-layout{grid-template-columns:minmax(0,1fr) 235px;gap:18px}.invoice-paper{padding:28px 22px}.paper-top{gap:16px}.heading-actions{margin-top:0}.editor-heading{flex-wrap:wrap}.editor-aside>.panel{padding:19px 16px}.line-head,.line-item{gap:4px;grid-template-columns:minmax(0,2.4fr) minmax(0,.65fr) minmax(0,.85fr) minmax(0,1.1fr) 18px}.paper-bottom{gap:18px}.login-left{padding:40px}.login-copy h1{font-size:45px}.login-form h2{font-size:23px}.login-right{padding:35px}}@media(max-width:900px){.sidebar{width:180px;padding:26px 12px}.main-shell{margin-left:180px}.sidebar .brand{font-size:23px}.sidebar nav a{font-size:10px;gap:8px;padding:12px 9px}.workspace-label{padding:9px 6px;gap:6px}.workspace-label strong{font-size:10px}.workspace-label small{font-size:8px}.workspace-label>svg{display:none}.stat-grid{gap:12px}.stat-card{padding:19px 17px}.stat-card .stat-icon{right:14px;top:15px;width:28px;height:28px}.stat-card>span:not(.stat-icon){max-width:95px;font-size:9px}.stat-card strong{font-size:25px}.editor-layout{display:flex;flex-direction:column}.invoice-workspace{width:100%}.editor-aside{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:20px}.invoice-paper{padding:34px;min-height:840px}.paper-bottom{gap:25px}.settings-layout{grid-template-columns:1fr}.setup-banner{padding:17px;flex-wrap:wrap}.setup-banner .button{margin-left:55px}.private-tag{display:none}.login-left{padding:35px 30px}.login-copy h1{font-size:40px}.login-paper-art{transform:rotate(-7deg) scale(.8);transform-origin:right bottom}.login-form h2{font-size:21px}.login-copy>p{font-size:11px}.settings-section{padding:24px}}@media(max-width:650px){.mobile-menu{display:flex;position:sticky;top:0;z-index:20;border-radius:0;width:100%;justify-content:flex-start;padding:14px 20px;border:0;border-bottom:1px solid var(--border);color:#65769c;background:#fff;min-height:51px}.app-shell{display:block}.sidebar{display:none;width:230px;top:51px;box-shadow:10px 0 30px #1f304d12;z-index:30}.sidebar.open{display:flex}.main-shell{margin-left:0}.topbar{height:46px;padding:0 20px}.topbar>span:first-child{font-size:9px}main{padding:25px 17px}.page-heading{gap:12px;flex-wrap:wrap;margin-bottom:24px}h1{font-size:26px}.eyebrow{font-size:8px;margin-bottom:12px}.page-heading p{font-size:10px}.page-heading>.button{margin-top:3px;font-size:10px}.setup-banner{gap:10px;padding:15px}.setup-banner strong{font-size:10px}.setup-banner p{font-size:9px}.setup-banner .button{font-size:9px;padding:8px 10px;margin-left:50px}.stat-grid{gap:8px;margin-bottom:23px}.stat-card{padding:15px 11px;min-height:148px;gap:11px}.stat-card .stat-icon{position:static;width:25px;height:25px;margin-bottom:1px}.stat-card .stat-icon svg{width:15px}.stat-card>span:not(.stat-icon){font-size:8px;max-width:none}.stat-card strong{font-size:22px}.stat-card .stat-money{font-size:12px}.stat-card small{font-size:7px}.list-toolbar{padding:13px;gap:12px}.tabs{gap:2px}.tabs button{font-size:9px;padding:7px 6px}.list-tools{width:100%}.search-field{flex:1}.search-field input,.archive-filter{font-size:9px}.empty-state{padding:52px 20px}.empty-state h2{font-size:18px}.empty-state p{font-size:10px}.dashboard-footer{font-size:8px;align-items:flex-start;gap:10px}.dashboard-footer .text-button{font-size:8px;text-align:right;padding:0}.customer-grid,.preset-grid{grid-template-columns:1fr}.customer-card{padding:24px}.preset-preview{height:260px}.preset-sheet{width:210px;min-height:285px}.settings-section{padding:22px 18px}.settings-layout>.settings-section{padding:22px 18px}.form-grid{gap:0 13px}.form-grid .field input,.form-grid .field textarea{font-size:11px}.api-hero,.api-example,.api-grid .panel{padding:22px}.api-hero h2{font-size:22px}.api-example .section-title{flex-wrap:wrap;gap:12px}.api-example pre{padding:16px;font-size:9px}.api-grid{grid-template-columns:1fr;gap:15px}.editor-heading h1{font-size:22px}.editor-heading p{font-size:9px}.heading-actions{width:100%;margin-top:2px}.heading-actions .button{flex:1;font-size:9px;padding:9px 8px;gap:5px}.heading-actions .button svg{width:14px}.invoice-paper{padding:23px 15px;min-height:830px}.paper-top{gap:12px}.paper-party input:first-child{font-size:11px}.paper-party input,.paper-party textarea{font-size:9px}.paper-meta h2{font-size:20px;margin-bottom:18px}.paper-meta .field{grid-template-columns:1fr;gap:0;margin-bottom:7px}.paper-meta .field>span{font-size:8px}.paper-meta .field input{padding:2px;font-size:9px}.paper-parties{gap:14px}.paper-parties input,.paper-parties textarea,.paper-parties select{font-size:9px}.line-head{font-size:8px;padding:10px 5px}.line-head,.line-item{grid-template-columns:minmax(0,1.7fr) minmax(0,.6fr) minmax(0,.7fr) minmax(0,.9fr) 17px;gap:4px}.line-item{padding:8px 0}.line-item input,.line-item textarea{font-size:9px!important;padding:6px 2px!important}.line-amount{font-size:8px;padding-top:7px}.line-item svg{width:11px}.line-item .icon-button{width:17px}.paper-bottom{grid-template-columns:1fr;gap:15px}.paper-notes{order:2;margin-top:15px}.totals-editor{margin-left:23%;font-size:9px}.total-row.balance{font-size:11px}.paper-notes textarea,.custom-field input{font-size:9px}.editor-aside{grid-template-columns:1fr;gap:0}.editor-aside>.panel{padding:23px}.editor-aside .template-choice{padding:11px}.pdf-preview{height:700px}.modal{padding:22px}.modal-header h2{font-size:17px}.toast{bottom:18px;max-width:calc(100% - 30px);font-size:10px;padding:13px;width:calc(100% - 30px)}.toast>span{max-width:none}.login-page{grid-template-columns:1fr}.login-left{padding:28px 25px 35px;min-height:auto}.login-copy{margin-top:35px}.login-copy h1{font-size:36px;letter-spacing:-1.5px;margin:15px 0}.login-copy>p{max-width:80%;font-size:10px}.login-copy .eyebrow{font-size:8px}.login-benefits{gap:10px;font-size:9px;margin-top:20px}.login-paper-art{transform:rotate(-7deg) scale(.43);right:0;bottom:15px;opacity:.8}.login-left footer{display:none}.login-right{padding:38px 30px 50px}.login-form{max-width:400px}.login-lock{width:38px;height:38px;margin-bottom:20px}.login-form h2{font-size:21px}.login-form>p{margin-bottom:24px}.login-security{font-size:8px}.login-form .field input{font-size:12px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}.pdf-preview{height:auto;min-height:900px;background:#eef1f7;overflow:hidden;border-radius:5px}.pdf-pages{padding:16px;display:flex;flex-direction:column;gap:18px}.pdf-page{margin:0 auto;width:100%;max-width:735px;box-shadow:0 3px 15px #1d304719;background:#fff}.pdf-page canvas{display:block;width:100%;height:auto}.pdf-viewer-container{width:100%;min-height:250px}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.shared-invoice{min-height:100dvh;background:#f0f2f7}.shared-header{display:flex;gap:17px;align-items:center;padding:22px 35px;background:#fff;border-bottom:1px solid #e1e6ef}.shared-header>div:first-of-type{flex:1}.shared-header h1{font-size:17px;margin:0 0 5px;letter-spacing:-.5px}.shared-header p{font-size:10px;margin:0;color:#9aa5b8;display:flex;align-items:center;gap:8px}.shared-header .shared-balance{display:flex;flex-direction:column;gap:6px;align-items:flex-end;margin-right:10px}.shared-balance span{font-size:9px;color:#9aa5b8}.shared-balance strong{font-size:17px;color:#6b7eaa}.shared-content{padding:20px 12px;max-width:810px;margin:0 auto}.shared-invoice footer{display:flex;gap:6px;justify-content:center;align-items:center;padding:0 15px 25px;color:#9eabc2;font-size:9px}.shared-unavailable{max-width:550px;margin:100px auto;padding:40px;text-align:center}.shared-unavailable>svg{color:#9eadd0;margin-bottom:20px}.shared-unavailable h1{font-size:24px}.shared-unavailable p{font-size:12px}@media(max-width:650px){.pdf-preview{min-height:500px}.pdf-pages{padding:10px;gap:12px}.shared-header{padding:18px 16px;gap:12px;flex-wrap:wrap}.shared-header>div:first-of-type{min-width:200px}.shared-header .shared-balance{flex:1;align-items:flex-start;margin:5px 0}.shared-header .button{font-size:10px;padding:10px}.shared-content{padding:8px 0}.shared-unavailable{margin:60px 20px;padding:30px}}@media print{.shared-header,.shared-invoice footer{display:none}.shared-invoice,.shared-content,.pdf-pages{background:#fff;margin:0;padding:0;max-width:none}.pdf-pages{gap:0}.pdf-page{box-shadow:none;max-width:none;break-after:page;page-break-after:always}.pdf-page:last-child{break-after:auto;page-break-after:auto}.pdf-viewer-container{min-height:0}.sr-only{display:none}@page{margin:0}}
