@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap";:root{font-family:DM Sans,sans-serif;color:#202632;background:#f7f8fa;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh;display:flex}.sidebar{width:248px;background:#fff;border-right:1px solid #e9ebef;padding:26px 16px 14px;display:flex;flex-direction:column;flex-shrink:0}.brand{display:flex;align-items:center;gap:11px;padding:0 10px 26px}.brand-mark{height:38px;width:38px;border-radius:10px;background:#151922;color:#fff;display:grid;place-items:center;font:800 23px Manrope}.brand strong{display:block;font:800 15px Manrope;letter-spacing:2px}.brand span{font-size:9px;color:#818897;letter-spacing:2.3px;font-weight:700}.workspace{margin:0 0 26px;padding:12px 10px;border:1px solid #e9ebef;border-radius:9px;display:flex;align-items:center;gap:8px;font-size:11px;font-weight:600}.workspace svg{margin-left:auto;color:#7d8490}.workspace-dot,.status-pill span{width:7px;height:7px;border-radius:50%;background:#21a875;display:inline-block}.nav-label{font-size:9px;letter-spacing:1.5px;color:#9aa0aa;font-weight:700;padding:0 12px 10px;margin-top:5px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;padding:12px;border:0;background:transparent;color:#687180;font-size:13px;border-radius:8px;text-align:left;margin-bottom:3px}.nav-item svg{color:#8b93a0}.nav-item.active{background:#f0f1f3;color:#151922;font-weight:700}.nav-item.active svg{color:#171b24}.nav-count{margin-left:auto;border-radius:5px;background:#fff;border:1px solid #e8e9ed;padding:2px 7px;font-size:10px}.sidebar-bottom{margin-top:auto}.help-card{background:#f7f8fa;border:1px solid #eceef1;border-radius:10px;padding:14px;margin:16px 0}.help-icon{width:25px;height:25px;display:grid;place-items:center;border-radius:7px;background:#e8eaf0;margin-bottom:10px}.help-card strong{font-size:12px}.help-card p{font-size:11px;line-height:1.55;color:#818896;margin:5px 0 12px}.help-card button{border:0;background:transparent;padding:0;display:flex;align-items:center;gap:5px;font-size:11px;font-weight:700}.user-profile{border-top:1px solid #eceef1;padding:16px 3px 0;display:flex;align-items:center;gap:9px}.avatar{width:32px;height:32px;background:#e5e7eb;border-radius:50%;display:grid;place-items:center;font-size:10px;font-weight:800;color:#333a46}.user-profile strong{display:block;font-size:11px}.user-profile span{font-size:10px;color:#9399a4}.user-profile>svg{margin-left:auto;color:#9aa0aa}.main-area{flex:1;min-width:0}.topbar{height:70px;border-bottom:1px solid #e9ebef;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 38px}.breadcrumb{font-size:12px;color:#9298a3}.breadcrumb span{padding:0 10px;color:#c4c7ce}.breadcrumb b{color:#353b46;font-weight:600}.top-actions{display:flex;align-items:center;gap:17px}.status-pill{font-size:10px;border:1px solid #e7e9ed;border-radius:30px;padding:7px 10px;display:flex;align-items:center;gap:7px;color:#667080}.icon-btn,.row-action{border:0;background:transparent;color:#78808e;padding:6px;display:grid;place-items:center}.avatar.small{width:29px;height:29px}.page-content{max-width:1500px;padding:34px 38px;margin:auto}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:27px}.eyebrow{font-size:10px;letter-spacing:1.6px;color:#9ba1ab;font-weight:700;margin-bottom:10px}.page-heading h1,.builder-heading h1{font:800 25px Manrope;margin:0 0 7px;letter-spacing:-.8px}.page-heading h1 span{color:#a0a6b1;font-size:18px}.page-heading p,.builder-heading p{margin:0;color:#8a919d;font-size:12px}.primary-btn,.secondary-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 15px;border-radius:7px;font-size:12px;font-weight:700;white-space:nowrap}.primary-btn{border:1px solid #171b23;background:#171b23;color:#fff;box-shadow:0 2px 4px #1111110c}.primary-btn:hover{background:#2a303b}.secondary-btn{border:1px solid #e2e5e9;background:#fff;color:#454c59}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:24px}.stat-card,.content-card{background:#fff;border:1px solid #e9ebef;border-radius:11px}.stat-card{padding:18px 19px}.stat-icon{width:33px;height:33px;border-radius:8px;background:#f0f2f5;display:grid;place-items:center;color:#515a68;margin-bottom:16px}.stat-icon svg{width:17px}.stat-icon.warn{background:#fff4e9;color:#d9872e}.stat-label{font-size:11px;color:#8b929e;margin-bottom:8px}.stat-value{font:800 23px Manrope;letter-spacing:-.7px}.stat-note{display:flex;align-items:center;gap:3px;font-size:10px;color:#9299a4;margin-top:8px}.stat-note.positive{color:#249b70}.stat-note.warning-text{color:#d9872e}.invoice-list-card{overflow:hidden}.card-heading{display:flex;align-items:center;justify-content:space-between;padding:21px 22px 16px}.card-heading h2,.form-card h2{font:700 14px Manrope;margin:0 0 5px}.card-heading p,.form-card .section-title p{font-size:11px;color:#9198a3;margin:0}.text-btn{display:flex;align-items:center;gap:6px;border:0;background:transparent;color:#333b47;font-size:11px;font-weight:700}.table-tools{display:flex;align-items:center;justify-content:space-between;padding:0 22px 15px}.searchbox{width:290px;border:1px solid #e8eaee;border-radius:7px;display:flex;align-items:center;gap:8px;padding:9px 11px;color:#a0a6b0}.searchbox input{border:0;outline:0;width:100%;font-size:11px;color:#303744}.filter-btn{display:flex;align-items:center;gap:8px;border:1px solid #e7e9ed;background:#fff;padding:9px 11px;border-radius:7px;font-size:11px;color:#5b6370}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}thead{background:#fafbfc}th{text-align:left;padding:12px 18px;font-size:9px;letter-spacing:1px;color:#939aa5;font-weight:700}td{padding:14px 18px;border-top:1px solid #f0f1f4;font-size:11px;color:#626a77}td:first-child,th:first-child{padding-left:22px}.invoice-cell{display:flex;align-items:center;gap:9px}.invoice-cell strong{font-size:11px;color:#303743}.pdf-icon{width:28px;height:28px;border-radius:7px;background:#f0f2f5;display:grid;place-items:center;color:#667080}.amount{font-weight:700;color:#313743}.badge{padding:5px 8px;border-radius:5px;font-size:10px;font-weight:600}.badge.paid{background:#eaf7f1;color:#26966c}.badge.pending{background:#fff4e4;color:#c1812c}.badge.overdue{background:#fff0ee;color:#d45d54}.table-footer{padding:14px 22px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #f0f1f4;color:#9298a2;font-size:10px}.demo-note{color:#b0b5bd}.table-footer>div{display:flex;gap:4px}.table-footer button{border:1px solid #e9ebef;background:#fff;padding:6px 9px;border-radius:5px;font-size:10px;color:#7e8692}.table-footer button:disabled{opacity:.5}.table-footer .current-page{background:#171b23;color:#fff;border-color:#171b23}.bottom-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:15px;margin-top:18px}.drive-card{padding:18px;display:flex;align-items:flex-start;gap:14px;position:relative}.drive-logo{width:40px;height:40px;border-radius:10px;background:#edf5ff;color:#4285f4;display:grid;place-items:center;flex-shrink:0}.drive-copy h3,.tip-card h3{font:700 12px Manrope;margin:2px 0 7px}.drive-copy p,.tip-card p{font-size:11px;line-height:1.6;color:#8b929d;margin:0 0 13px;max-width:390px}.drive-copy .secondary-btn{font-size:10px;padding:8px 10px}.not-connected{position:absolute;right:15px;top:16px;font-size:9px;color:#a0a6b0}.tip-card{padding:19px;display:flex;align-items:flex-start;gap:12px}.tip-symbol{height:28px;width:28px;background:#f0f1f4;border-radius:8px;display:grid;place-items:center;flex-shrink:0}.builder-page{padding:27px 30px 45px;max-width:1700px;margin:auto}.builder-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:22px}.back-link{border:0;background:transparent;padding:0;margin-bottom:13px;color:#858d99;font-size:11px}.builder-heading h1{font-size:24px}.builder-actions{display:flex;gap:9px}.builder-grid{display:grid;grid-template-columns:minmax(340px,.88fr) minmax(450px,1.12fr);gap:22px;align-items:start}.builder-grid.no-preview{grid-template-columns:minmax(0,850px)}.editor-column{display:grid;gap:15px;min-width:0}.form-card{background:#fff;border:1px solid #e7e9ed;border-radius:10px;padding:20px}.section-title{display:flex;align-items:flex-start;gap:11px;margin-bottom:20px}.step-number{width:29px;height:29px;background:#f0f2f5;border-radius:8px;display:grid;place-items:center;font-size:11px;font-weight:800;color:#5c6471;flex-shrink:0}.form-card h2{font-size:13px;margin:1px 0 5px}.form-card .section-title p{font-size:10px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:14px;min-width:0}.field:last-child{margin-bottom:0}.field>span,.item-bottom label{font-size:10px;font-weight:700;color:#646d7a}.field input,.field textarea,.field select,.item-bottom select{border:1px solid #e3e6eb;border-radius:6px;padding:10px 11px;outline:0;background:#fff;color:#303743;font-size:11px;width:100%;min-width:0}.field input:focus,.field textarea:focus,.field select:focus{border-color:#9aa3b1;box-shadow:0 0 0 3px #dce0e733}.field textarea{resize:vertical;line-height:1.5}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.field-grid.three{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.items-editor{display:grid;gap:10px}.item-edit{border:1px solid #e8eaee;border-radius:8px;padding:12px}.item-edit-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:9px;letter-spacing:1px;color:#a0a6b0;font-weight:700}.delete-btn{border:0;background:transparent;color:#a2a8b1;padding:2px}.item-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:10px}.item-bottom label{display:flex;align-items:center;gap:8px}.item-bottom select{width:auto;padding:7px}.item-bottom strong{font-size:11px}.add-item-btn{display:flex;align-items:center;gap:6px;border:1px dashed #d9dde3;background:#fafbfc;border-radius:7px;width:100%;justify-content:center;padding:10px;color:#59616e;font-size:11px;font-weight:700;margin-top:12px}.note-box{font-size:10px;line-height:1.5;color:#997137;background:#fff8eb;padding:11px;border-radius:7px;margin-top:15px}.preview-column{position:sticky;top:15px;min-width:0}.preview-top{display:flex;align-items:center;justify-content:space-between;font-size:9px;letter-spacing:1.2px;color:#8e96a2;font-weight:700;margin:0 2px 12px}.preview-top span:first-child{display:flex;align-items:center;gap:6px}.paper{background:#fff;border:1px solid #dfe2e7;box-shadow:0 5px 24px #1e293b0b;padding:23px 22px 18px;min-height:700px;color:#202020;font-family:Georgia,Times New Roman,serif;font-size:7px;position:relative}.paper-topline{font:6px Arial;color:#888;padding-bottom:13px}.paper-header{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.paper-brand{display:flex;align-items:center;gap:7px}.paper-mark{font:800 27px Arial;border:2px solid #111;width:27px;height:32px;display:grid;place-items:center}.paper-brand b{font:800 15px Georgia;letter-spacing:2px;display:block}.paper-brand span{font:7px Arial;letter-spacing:3px;display:block}.paper-invoice{text-align:right;display:flex;flex-direction:column;gap:4px;color:#6f6f6f;font-size:7px}.paper-invoice h2{font:700 17px Georgia;color:#222;margin:0 0 3px}.paper-rule{height:2px;background:#222;margin:18px 0 16px}.bill-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;min-height:100px}.bill-grid>div{display:flex;flex-direction:column;gap:4px;min-width:0;overflow-wrap:anywhere}.bill-grid b{font:700 9px Georgia;letter-spacing:1px;margin-bottom:3px}.bill-grid strong{font:700 9px Georgia}.bill-grid span{font:7px Arial;color:#4b4b4b;line-height:1.35}.supply-band{display:flex;justify-content:space-between;background:#f0f0f0;padding:8px 7px;margin:15px 0 17px;font:700 7px Arial}.paper-table{font-family:Arial,sans-serif;width:100%;border-collapse:collapse;white-space:normal}.paper-table thead{background:#151515;color:#fff}.paper-table th{font:700 7px Georgia;color:#fff;letter-spacing:0;padding:8px 4px;text-align:right}.paper-table th:nth-child(2){text-align:left}.paper-table td{padding:8px 4px;border:1px solid #e1e1e1;text-align:right;font:7px Arial;color:#292929;white-space:normal;vertical-align:top}.paper-table td:nth-child(2){text-align:left;min-width:75px}.paper-table small{display:block;font-size:6px;color:#666;margin-top:3px}.paper-bottom{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:17px}.bank,.totals{display:flex;flex-direction:column;gap:4px}.bank b{font:700 9px Georgia;letter-spacing:.8px;margin-bottom:2px}.bank span{font:7px Arial;line-height:1.3;overflow-wrap:anywhere}.totals>div{display:flex;justify-content:space-between;gap:6px;font:7px Arial;padding:2px 0}.totals .grand-total{background:#151515;color:#fff;padding:8px 7px;font:700 9px Georgia;margin-top:3px}.amount-words{margin:18px 0 20px;display:flex;gap:5px;align-items:baseline;flex-wrap:wrap}.amount-words span{font:7px Arial;color:#777}.amount-words b{font:700 10px Georgia}.terms>b{font:700 9px Georgia;letter-spacing:.8px}.terms p{font:7px Georgia;margin:4px 0}.paper-disclaimer{text-align:center;color:#888;font:7px Georgia;line-height:1.7;margin:28px 0 20px}.paper-footer{text-align:center;border-top:1px solid #ddd;padding-top:9px;font:6px Arial;color:#777;margin-top:45px}.preview-note{display:flex;align-items:center;gap:6px;color:#8b929d;font-size:10px;margin:12px 2px}.preview-note svg{color:#2b9a72}.empty-state{padding:65px 20px;text-align:center;color:#8a929e}.empty-state h2{color:#303743;font:700 16px Manrope}.empty-state p{font-size:12px;margin-bottom:20px}.toast{position:fixed;right:25px;bottom:25px;z-index:10;display:flex;align-items:center;gap:10px;background:#202630;color:#fff;border-radius:9px;padding:13px 16px;font-size:12px;box-shadow:0 10px 30px #0002;max-width:calc(100vw - 30px)}.toast svg{flex-shrink:0}.toast button{border:0;background:transparent;color:#c9cdd4;display:grid;place-items:center;margin-left:4px}@media(max-width:1200px){.sidebar{width:215px}.page-content{padding:28px 24px}.topbar{padding:0 24px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.builder-grid{grid-template-columns:minmax(300px,.9fr) minmax(380px,1.1fr);gap:14px}.builder-page{padding:24px 18px}.paper{padding:17px 14px}.paper-brand b{font-size:12px}.paper-invoice h2{font-size:14px}}@media(max-width:900px){.sidebar{width:68px;padding:20px 9px}.brand{padding:0 5px 25px}.brand>div:last-child,.workspace,.nav-label,.nav-item:not(.active),.nav-item.active{font-size:0}.nav-item{justify-content:center;padding:12px 0}.nav-item svg{width:20px;height:20px}.nav-count,.sidebar-bottom{display:none}.brand-mark{width:40px;height:40px}.builder-grid{grid-template-columns:1fr}.preview-column{position:static}.paper{max-width:620px;margin:auto}.bottom-grid{grid-template-columns:1fr}.builder-heading{align-items:flex-start;gap:15px;flex-direction:column}.builder-actions{width:100%}.builder-actions button{flex:1}}@media(max-width:600px){.topbar{height:58px;padding:0 14px}.status-pill{display:none}.page-content{padding:24px 14px}.page-heading{align-items:flex-start;gap:15px;flex-direction:column}.stats-grid{gap:9px}.stat-card{padding:13px}.stat-value{font-size:19px}.stat-note{line-height:1.4}.card-heading{padding:17px 14px}.table-tools{padding:0 14px 12px;gap:8px}.searchbox{width:auto;flex:1}.filter-btn{font-size:0}.filter-btn svg{font-size:initial}.table-footer{padding:12px 14px}.demo-note{display:none}.builder-page{padding:20px 12px}.field-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.form-card{padding:15px}.paper{padding:14px 10px}.paper-table th,.paper-table td{padding:6px 2px;font-size:6px}.paper-brand b{font-size:10px}.paper-invoice h2{font-size:12px}.paper-footer{margin-top:28px}.bottom-grid{gap:10px}.drive-card{padding:13px}.not-connected{display:none}.breadcrumb{font-size:11px}}.error-banner{display:flex;align-items:center;gap:10px;margin:18px 28px 0;padding:12px 14px;border:1px solid #e5b4aa;background:#fff4f1;color:#8a3021;border-radius:10px;font-size:13px}.error-banner span{flex:1}.error-banner button{border:0;background:transparent;color:inherit;cursor:pointer}.inline-actions{display:flex;gap:10px;margin-top:16px}.client-admin{margin-bottom:20px}.muted-cell{font-size:12px;color:#777;margin-top:4px;max-width:320px;white-space:normal}.danger-action,.stat-note.warning-text{color:#a33}.row-action{margin-left:3px}.empty-state{padding:42px 22px;text-align:center;color:#727272}.empty-state h2{color:#222;margin:12px 0 6px}.empty-state p{max-width:480px;margin:0 auto 18px;line-height:1.5}.nav-count{margin-left:auto}.field input:focus,.field textarea:focus,.field select:focus{outline:2px solid #c7d4fa;outline-offset:1px}.auth-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:32px 18px;background:radial-gradient(circle at top left,rgba(33,102,75,.1),transparent 34%),var(--page-bg,#f5f7f6)}.auth-card{width:min(100%,440px);padding:34px;background:var(--card-bg,#fff);border:1px solid var(--border,#e5e9e7);border-radius:20px;box-shadow:0 18px 60px #152d2314}.auth-brand{margin-bottom:30px}.auth-card h1{font-size:28px;line-height:1.2;margin:10px 0}.auth-subtitle{color:var(--muted,#68736d);line-height:1.55;margin:0 0 24px}.auth-card form{display:grid;gap:16px}.auth-card .field{display:flex;flex-direction:column;gap:7px}.auth-card .field input{width:100%;box-sizing:border-box}.auth-card .field small{font-size:12px;color:var(--muted,#68736d)}.auth-submit{width:100%;justify-content:center;margin-top:4px;min-height:46px}.auth-error{margin:0;padding:10px 12px}.auth-switch{text-align:center;font-size:14px;margin:20px 0 8px}.auth-switch .text-btn{display:inline;padding:0}.auth-footnote{text-align:center;color:var(--muted,#68736d);font-size:12px;line-height:1.5;margin:18px 0 0}@media(max-width:520px){.auth-card{padding:25px 20px;border-radius:16px}.auth-card h1{font-size:24px}}.sidebar-bottom{width:100%;min-width:0;box-sizing:border-box}.user-profile{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-width:0;box-sizing:border-box}.user-profile>div:nth-child(2){min-width:0;overflow:hidden}.user-profile>div:nth-child(2) strong,.user-profile>div:nth-child(2) span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-profile .text-btn{flex-shrink:0;white-space:nowrap;word-break:keep-all;min-width:max-content;padding:6px 8px}.user-profile .avatar{flex-shrink:0}.brand-logo,.paper-logo{display:block;width:38px;height:38px;object-fit:contain;flex-shrink:0}.connected{position:absolute;right:15px;top:16px;font-size:9px;font-weight:600;color:#249b70}.auth-footer{font-size:12px;line-height:1.5;color:var(--muted, #68736d);margin:16px 0 0}
