@import url('/assets/theme.css');
*{box-sizing:border-box}html{color-scheme:light;scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.55 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button{color:inherit}a:focus-visible,button:focus-visible{outline:3px solid #38bdb0;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:29px;letter-spacing:-1px;line-height:1.25;font-weight:680}h2{font-size:16px;font-weight:650;letter-spacing:-.25px}h3{font-size:15px}p{color:var(--muted)}.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.sidebar{position:fixed;inset:0 auto 0 0;width:256px;background:var(--sidebar);color:#aebed0;display:flex;flex-direction:column;padding:30px 17px 0;z-index:30;border-right:1px solid #23394c}.brand{display:flex;align-items:center;gap:14px;color:#fff;padding:0 12px;font-size:14px;font-weight:600;line-height:1.5}.brand-mark{font-size:37px;letter-spacing:-4px;line-height:1;font-weight:750;color:#fff;display:block;padding-right:3px}.brand-mark span,.document-monogram span{color:#58d2ba}.brand small{font-size:8px;font-weight:500;display:block;letter-spacing:2px;color:#98aebf;margin-top:4px}.workspace{margin:32px 0 29px;padding:12px 9px;border:1px solid #33495b;border-radius:8px;display:flex;align-items:center;gap:9px;color:#dce5ee;font-size:10px;font-weight:600;line-height:1.6;background:#1b354b}.workspace small{display:block;font-size:10px;color:#8fa7ba;font-weight:400}.workspace-icon{padding:7px 8px;background:#304c61;border-radius:6px;color:#caefe7;font-size:11px}.nav-label{font-size:9px;letter-spacing:1.6px;color:#7e97ac;padding:0 13px;margin-bottom:12px}.nav-item{display:flex;align-items:center;gap:12px;padding:11px 13px;border-radius:7px;font-size:12px;margin:3px 0;transition:.15s;background:transparent}.nav-item .icon{width:18px;height:18px;opacity:.85}.nav-item small{margin-left:auto;font-size:8px;color:#91a8bb;padding:1px 5px;border-radius:4px;background:#263f53;white-space:nowrap}.nav-item:hover{background:#223e54;color:#fff}.nav-item.selected{background:#284b5b;color:#78e2ca}.nav-item.selected .icon{opacity:1}.sidebar-bottom{margin-top:auto}.phase-card{position:relative;background:linear-gradient(120deg,#234453,#1c354b);border:1px solid #385563;border-radius:9px;margin:25px 7px 16px;padding:16px;color:#d9eee9}.phase-card>.icon{width:16px;height:16px;color:#73d9c1;margin-right:6px}.phase-card strong{font-size:11px}.phase-card p{font-size:11px;color:#9fb6c2;margin-top:10px;line-height:1.8}.phase-card>span{position:absolute;bottom:18px;right:13px;color:#a5d8cc;font-size:8px;border:1px solid #426477;padding:2px 6px;border-radius:4px}.user-menu{border-top:1px solid #2d4559;padding:20px 4px;margin-top:17px;display:flex;align-items:center;gap:10px;color:#dce5ed;font-size:11px}.user-menu>div{flex:1;min-width:0}.user-menu strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-menu small{display:block;font-size:10px;color:#8ca3b6}.avatar,.top-avatar{display:flex;align-items:center;justify-content:center;background:#e9e1ce;color:#5b5037;width:33px;height:33px;border-radius:50%;font-size:11px;font-weight:650;flex-shrink:0}.shell{margin-left:256px;min-height:100vh}.topbar{height:78px;padding:0 36px;background:var(--panel);border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:16px}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb>span{padding:0 13px;color:#a7b0b9}.breadcrumb strong{font-weight:500;color:var(--text)}.top-actions{display:flex;align-items:center;gap:18px}.top-avatar{width:31px;height:31px;background:#e1efea;color:#1f6a59}.icon-button{display:inline-flex;align-items:center;justify-content:center;background:none;border:0;width:32px;height:32px;border-radius:6px;color:var(--muted);padding:6px}.icon-button:hover{background:var(--hover);color:var(--text)}.user-menu .icon-button{color:#a4bacb}.mobile-menu{display:none}main#main{padding:34px 36px 35px;max-width:1700px;margin:0 auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.page-heading h1{margin-top:6px}.page-heading h1 .badge{vertical-align:middle;margin:0 0 4px 10px;letter-spacing:0}.page-heading p{font-size:12px;margin-top:9px}.eyebrow{font-size:9px;font-weight:650;letter-spacing:1.7px;color:var(--muted)}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--border-strong);background:var(--panel);padding:10px 15px;min-height:40px;border-radius:6px;font-size:12px;font-weight:600;white-space:nowrap;transition:.15s}.button:hover{background:var(--hover);border-color:#a4b4bf}.button.primary{background:var(--primary);color:#fff;border-color:var(--primary);box-shadow:0 2px 2px #132c3f0d}.button.primary:hover{background:#146b59;border-color:#146b59}.button .icon{width:16px;height:16px}.button.small{padding:7px 12px;min-height:35px;font-size:11px}.button.full{width:100%}.actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.filter-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 23px}.date-label{display:flex;align-items:center;gap:9px;font-size:11px;color:var(--muted)}.date-label .icon{width:16px;height:16px}.date-label strong{font-weight:500}.filter-bar select,.filter-bar input{min-height:35px;padding:6px 9px;font-size:10px;background:var(--panel);width:auto}.filter-bar input[type=date]{width:112px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:23px}.stat-card{background:var(--panel);border:1px solid var(--border);border-radius:9px;padding:20px;box-shadow:0 2px 3px #162f4703;display:flex;flex-direction:column;justify-content:center}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted);font-weight:500}.stat-icon{width:31px;height:31px;display:flex;align-items:center;justify-content:center;background:#eff3fc;color:#6885ba;border-radius:8px}.stat-icon .icon{width:16px;height:16px}.stat-icon.paid{background:#e7f5ef;color:#369c7f}.stat-icon.outstanding{background:#fff5df;color:#b58d39}.stat-icon.overdue{background:#ffefec;color:#c97964}.stat-value{font-size:27px;letter-spacing:-1px;font-weight:650;line-height:1.3;margin:14px 0 10px;display:block}.stat-card small{font-size:9px;color:var(--muted)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(270px,1fr);gap:22px;margin-bottom:23px}.panel{border:1px solid var(--border);background:var(--panel);border-radius:9px;overflow:hidden;box-shadow:0 2px 3px #162f4703}.panel-heading{padding:21px 23px;display:flex;align-items:center;justify-content:space-between;gap:14px}.panel-heading p{font-size:10px;margin-top:4px}.subtle-tag{font-size:9px;color:var(--muted);background:var(--hover);border:1px solid var(--border);border-radius:5px;padding:3px 8px;white-space:nowrap}.revenue-total{padding:0 25px;font-size:29px;letter-spacing:-1px;font-weight:650;line-height:1.4}.revenue-total span{display:block;font-size:10px;letter-spacing:0;font-weight:400;color:var(--muted);margin-top:2px}.chart-empty{height:221px;margin:20px 25px 0;position:relative}.chart-grid{position:absolute;inset:0 0 24px;background:repeating-linear-gradient(to bottom,transparent,transparent 47px,var(--border) 47px,var(--border) 48px);opacity:.75;border-bottom:1px solid var(--border)}.empty-chart-message{position:absolute;inset:12px 0 30px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px}.empty-chart-message>.icon{color:#91b3a9;width:29px;height:29px;background:var(--panel);box-shadow:0 0 0 10px var(--panel);margin-bottom:5px}.empty-chart-message strong{background:var(--panel);padding:0 10px;font-size:12px;font-weight:500}.empty-chart-message>span{background:var(--panel);padding:0 10px;font-size:10px;color:var(--muted);text-align:center}.chart-axis{position:absolute;bottom:0;font-size:9px;color:var(--muted)}.chart{display:flex;gap:8px;padding:20px 25px;overflow:auto;min-height:210px;align-items:flex-end}.chart-column{flex:1;min-width:48px;display:flex;flex-direction:column;align-items:center;font-size:8px;gap:4px}.chart-column svg{height:140px;width:100%;max-width:55px;fill:var(--primary)}.chart-column strong{white-space:nowrap}.chart-column span{color:var(--muted)}.status-overview{display:flex;align-items:center;justify-content:center;margin:4px 0 20px}.status-ring{height:110px;width:110px;border-radius:50%;border:12px solid var(--hover);display:flex;flex-direction:column;align-items:center;justify-content:center;outline:1px solid var(--border);outline-offset:-12px}.status-ring strong{font-size:27px;line-height:1.3;font-weight:650}.status-ring small{font-size:8px;color:var(--muted)}.status-legend{display:grid;grid-template-columns:1fr 1fr;gap:11px 24px;padding:0 24px 25px}.status-legend>div{display:flex;align-items:center;gap:7px;font-size:9px;color:var(--muted)}.status-legend strong{margin-left:auto;color:var(--text);font-size:10px}.status-dot{height:6px;width:6px;display:inline-block;border-radius:50%;background:#a7b1be}.status-dot.sent{background:#779ac4}.status-dot.viewed{background:#9b8dbf}.status-dot.partially_paid{background:#dec17d}.status-dot.paid{background:#5ea98d}.status-dot.overdue{background:#d98f7c}.status-dot.void{background:#b1a7a9}.text-link{display:inline-flex;gap:6px;align-items:center;color:var(--link);font-size:11px;font-weight:600;border:0;background:none;padding:0}.text-link .icon{width:15px;height:15px}.text-link:hover{text-decoration:underline}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left}th{background:var(--table-head);font-size:9px;font-weight:600;color:var(--muted);padding:12px 22px;border-block:1px solid var(--border);white-space:nowrap}td{font-size:11px;padding:17px 22px;border-bottom:1px solid var(--border);color:var(--text)}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:var(--row-hover)}.numeric{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.strong{font-weight:600}.table-secondary{font-size:9px;color:var(--muted);display:block;margin-top:3px;white-space:nowrap}.invoice-number{font-weight:650;color:var(--link)}.invoice-number:hover{text-decoration:underline}.badge{border-radius:5px;display:inline-block;padding:4px 8px;font-size:9px;font-weight:550;white-space:nowrap;background:#eef1f6;color:#657383}.badge.sent{background:#eaf1fb;color:#547cba}.badge.viewed{background:#f1edfa;color:#8670ae}.badge.paid{background:#e7f5ef;color:#298064}.badge.partially_paid{background:#fff4dc;color:#947025}.badge.overdue{background:#ffebe6;color:#b65d48}.badge.void{background:#f0e9e9;color:#877373}.empty{padding:45px 24px 48px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px}.empty>.icon{height:40px;width:40px;padding:10px;box-sizing:content-box;color:#76998f;background:var(--hover);border:1px solid var(--border);border-radius:14px;margin-bottom:7px}.empty h3{font-size:14px;font-weight:600}.empty p{font-size:11px;max-width:400px}.empty .button{margin-top:8px;font-size:11px}.empty.compact{padding:25px 22px 32px}.empty.compact>.icon{height:23px;width:23px;padding:9px;border:0;margin:0}.empty.compact h3{font-size:12px}.empty.compact p{font-size:10px}.lower-grid{margin-top:23px;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr)}.quick-start{border:1px solid #cde7df;border-radius:9px;padding:27px;background:var(--soft-green)}.quick-start h2{font-size:20px;max-width:270px;margin:12px 0 8px;line-height:1.4;letter-spacing:-.5px;color:var(--text)}.quick-start p{font-size:11px;line-height:1.9;max-width:290px}.quick-start .text-link{margin-top:18px}.app-footer{padding:0 36px 24px;display:flex;justify-content:space-between;color:var(--muted);font-size:9px}.environment{font-size:9px;background:var(--hover);border:1px solid var(--border);border-radius:4px;padding:4px 8px;color:var(--muted);display:inline-block}.notice{background:var(--notice);border:1px solid var(--border);border-radius:7px;padding:14px 17px;font-size:12px;margin-bottom:22px;display:flex;align-items:center;gap:10px;line-height:1.7}.notice.success{background:var(--soft-green);border-color:#bddccc;color:var(--link)}.notice.danger{background:var(--soft-red);border-color:#ecc7bd;color:var(--danger)}.muted{color:var(--muted)}.table-toolbar{display:flex;align-items:center;gap:12px;padding:20px 22px}.search-input{position:relative;display:flex;align-items:center;width:340px}.search-input>.icon{position:absolute;left:11px;width:16px;height:16px;color:var(--muted);pointer-events:none}.search-input input{padding-left:36px;font-size:11px;min-height:38px}.table-toolbar select{width:165px;font-size:11px;min-height:38px}.record-count{margin-left:auto;font-size:10px;color:var(--muted);white-space:nowrap}.pagination{border-top:1px solid var(--border);padding:15px 22px;display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:10px;color:var(--muted)}.pagination>div{display:flex;gap:8px}label{display:block;font-size:12px;font-weight:550;line-height:1.6;color:var(--text)}input,select,textarea{display:block;width:100%;min-height:41px;padding:9px 12px;border:1px solid var(--border-strong);border-radius:6px;background:var(--input);color:var(--text);font-size:12px;outline:none;transition:border .15s}input:focus,select:focus,textarea:focus{border-color:#429d85;box-shadow:0 0 0 3px #269b7a17}input:disabled{background:var(--hover);color:var(--muted)}label input,label select,label textarea{margin-top:7px}textarea{resize:vertical;line-height:1.6}label small{display:block;font-size:10px;color:var(--muted);font-weight:400;margin-top:6px}.required{color:var(--danger)}.editor-form{max-width:1000px}.form-panel{padding:26px}.form-panel>h2{margin-bottom:24px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:23px}.span-2{grid-column:span 2}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.spaced{margin-top:23px}.back-link{display:inline-block;color:var(--muted);font-size:11px;margin-bottom:10px}.back-link:hover{color:var(--link)}.customer-name{display:flex;gap:12px;align-items:center;font-weight:600}.customer-avatar{height:32px;width:32px;background:var(--soft-green);color:var(--link);border-radius:7px;display:flex;align-items:center;justify-content:center;font-size:12px}.customer-detail-grid{display:grid;grid-template-columns:2fr 1fr;gap:22px;margin-bottom:23px}.customer-detail-grid>.stat-card{align-self:start;padding:26px}.detail-list{margin:0}.detail-list>div{display:grid;grid-template-columns:150px 1fr;gap:20px;margin-top:18px;font-size:12px}.detail-list dt{color:var(--muted)}.detail-list dd{margin:0;overflow-wrap:anywhere}.panel-heading.plain{padding:0 0 25px}.invoice-meta{grid-template-columns:1fr 1.3fr;gap:60px}.small-link{display:inline-block;margin-top:9px;font-size:10px}.item-editor{min-width:850px;table-layout:fixed}.item-editor th,.item-editor td{padding:13px 9px}.item-editor th:first-child,.item-editor td:first-child{width:32%;padding-left:23px}.item-editor th:nth-child(2){width:10%}.item-editor th:nth-child(3){width:13%}.item-editor th:nth-child(4){width:13%}.item-editor th:nth-child(5){width:10%}.item-editor th:nth-child(6){width:17%}.item-editor th:last-child{width:5%}.item-editor td{vertical-align:top}.item-editor textarea{font-size:11px;min-height:65px}.item-editor input{padding:8px 7px;text-align:right;font-size:11px}.line-total{padding-top:22px!important;font-size:11px}.remove-item{color:#a38d8d;font-size:23px}.line-add{padding:16px 24px 19px;border-top:1px solid var(--border)}.invoice-bottom{display:grid;grid-template-columns:1.5fr 1fr;gap:23px;margin-top:23px}.spaced-label{margin-top:22px}.totals-panel{padding:22px;align-self:start}.totals-panel>div{display:flex;justify-content:space-between;gap:15px;font-size:12px;margin-bottom:14px}.totals-panel>div>span{color:var(--muted)}.totals-panel>div.total{border-top:1px solid var(--border);padding-top:18px;margin-top:18px;font-size:16px}.totals-panel>div.total span{color:var(--text)}.totals-panel>small{font-size:9px;color:var(--muted)}.share-panel{display:flex;gap:14px;align-items:center;border:1px solid var(--border);border-radius:8px;background:var(--panel);padding:17px 20px;margin-bottom:25px}.share-icon{display:flex;align-items:center;justify-content:center;background:var(--soft-green);color:var(--link);height:36px;width:36px;border-radius:8px}.share-panel>div{flex:1;min-width:100px}.share-panel strong{font-size:11px}.share-panel input{background:transparent;border:0;padding:0;font-size:10px;color:var(--muted);min-height:26px}.invoice-document{background:#fff;color:#203346;border:1px solid #e0e5ea;border-radius:9px;padding:48px;max-width:1080px;margin:0 auto;box-shadow:0 5px 22px #132c3f04}.invoice-document p{font-size:11px;line-height:1.8;color:#66788a;overflow-wrap:anywhere}.document-header{display:flex;justify-content:space-between;gap:25px;border-bottom:2px solid #1b3a51;padding-bottom:30px}.document-monogram{font-size:40px;letter-spacing:-5px;font-weight:750;color:#19364b;line-height:1.2;display:block;margin-bottom:13px}.document-header h2{font-size:16px;margin-bottom:8px;color:#1d3347}.document-header p+p{margin-top:6px}.document-title{text-align:right}.document-title>span:first-child{font-size:27px;letter-spacing:4px;font-weight:500;color:#183a51}.document-title>strong{display:block;font-size:12px;color:#6b7d8e;margin:6px 0 14px}.document-meta{display:flex;justify-content:space-between;gap:30px;margin:29px 0 36px}.document-label{font-size:8px;letter-spacing:1.6px;color:#788794;font-weight:600}.document-meta h3{font-size:13px;margin:8px 0 5px}.document-meta dl{font-size:11px;min-width:220px;margin:0}.document-meta dl>div{display:flex;justify-content:space-between;gap:35px;margin-bottom:10px}.document-meta dt{color:#73808c}.document-meta dd{margin:0;font-weight:550}.document-table{min-width:620px}.document-table th{background:#f2f6f8;color:#587184;border-color:#e0e8ec;padding:12px 10px}.document-table td{font-size:10px;color:#203346;vertical-align:top;padding:18px 10px;border-color:#e7edf0}.document-table td:first-child{width:37%;white-space:pre-wrap;overflow-wrap:anywhere}.document-table td.numeric{font-size:10px}.document-table tbody tr:hover{background:transparent}.document-summary{display:grid;grid-template-columns:1fr 1fr;gap:45px;margin-top:25px}.document-summary>div:first-child p{margin-top:7px}.document-totals>div{display:flex;justify-content:space-between;gap:15px;font-size:11px;padding:6px 0;color:#66788a}.document-totals strong{font-weight:550;color:#203346}.document-totals>div.doc-grand{border-top:1px solid #dfe7ec;margin-top:9px;padding-top:15px;color:#203346;font-size:13px;font-weight:600}.document-totals>div.doc-balance{background:#eaf5f1;padding:14px 13px;margin:12px -13px 0;color:#1a6b57;font-weight:600;border-radius:4px}.doc-balance strong{color:#1a6b57}.payment-instructions{border-top:1px solid #e4ebee;padding-top:25px;margin-top:32px}.payment-instructions p{margin-top:8px}.document-footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #e4ebee;margin-top:34px;padding-top:20px;font-size:9px;color:#8a98a3}.invoice-admin-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end;margin-top:25px}.danger-button{color:var(--danger)}.business-logo{max-width:180px;max-height:70px;object-fit:contain;margin-bottom:12px}.logo-upload{display:flex;align-items:center;gap:30px;padding-bottom:27px;margin-bottom:26px;border-bottom:1px solid var(--border)}.logo-upload .document-monogram{padding:12px 22px;background:#eef5f2;border-radius:8px;margin:0}.logo-upload input{padding:7px;font-size:10px;max-width:350px}.integration-list>div{display:flex;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid var(--border);font-size:12px}.integration-list>div:last-child{border:0}.integration-list span{font-size:11px;color:var(--muted)}.future-panel{max-width:800px;text-align:center;display:flex;align-items:center;flex-direction:column;padding:65px 50px}.future-icon{display:flex;background:var(--soft-green);color:var(--link);padding:18px;border-radius:17px;margin-bottom:24px}.future-icon .icon{width:32px;height:32px}.future-panel>h2{font-size:23px}.future-panel>p{max-width:520px;font-size:13px;line-height:1.9;margin:15px 0 25px}.future-panel .notice{font-size:11px;justify-content:center}.auth-body{background:#fff}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-story{padding:55px 65px;background:radial-gradient(ellipse at 100% 100%,#28544f 0%,#18384b 45%,#132f45 80%);display:flex;flex-direction:column;justify-content:space-between;gap:60px;min-height:100vh;color:#eaf4f0}.auth-story .brand{padding:0}.auth-story h1{font-size:53px;letter-spacing:-2px;line-height:1.2;color:#fff;margin:18px 0 25px;font-weight:600}.auth-story .eyebrow{color:#9fcbc0;font-size:10px}.auth-story p{max-width:350px;font-size:14px;line-height:1.9;color:#afc2ce}.auth-features{display:flex;flex-direction:column;gap:18px;font-size:12px;color:#d7e8e4;margin-top:45px}.auth-features span{display:flex;align-items:center;gap:12px}.auth-features .icon{color:#82cab6;width:17px}.auth-story>small{font-size:10px;color:#91acb9}.auth-form{display:flex;align-items:center;justify-content:center;padding:50px;background:var(--panel)}.auth-form-inner{width:100%;max-width:360px}.auth-form h2{font-size:25px;letter-spacing:-.9px;margin:13px 0 10px}.auth-form p{font-size:12px;line-height:1.8}.stack{display:flex;flex-direction:column;gap:22px;margin-top:34px}.stack input{min-height:46px}.stack .button{min-height:46px;margin-top:4px}.stack .button>.icon{margin-left:auto}.auth-note{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:10px;line-height:1.7;margin-top:28px}.auth-note .icon{width:15px;height:15px}.auth-form .environment{margin-top:24px}.public-body{background:#f1f5f6;color:#203346}.public-shell{max-width:1010px;margin:35px auto;padding:0 25px}.public-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;font-size:12px;color:#657886}.public-header>span{display:flex;gap:9px;align-items:center}.public-header>span>.icon{color:#5c9e8a;width:18px}.public-payment{margin-top:23px;padding:25px 32px;background:#fff;border-color:#dfe6e9}.public-payment h2{color:#203346}.public-payment p{font-size:12px;margin-top:9px;color:#66788a}.public-payment p.muted{font-size:10px;color:#8a98a5}.public-footer{text-align:center;color:#84929c;font-size:10px;line-height:1.8;margin:25px auto}.error-panel{max-width:600px;margin:12vh auto;padding:40px}.error-panel h1{margin:12px 0 18px;font-size:28px}.error-panel p{margin-bottom:25px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#173a32;color:#fff;padding:12px 20px;border-radius:7px;z-index:100;font-size:12px;box-shadow:0 6px 30px #122c3f30}.toast[hidden]{display:none}.skip-link{position:fixed;top:-60px;left:12px;background:var(--primary);color:white;padding:12px;z-index:100}.skip-link:focus{top:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1600px){main#main{padding-top:45px}.stats-grid{gap:24px}.stat-card{padding:25px}.stat-value{font-size:32px}.dashboard-grid{gap:26px}}
@media(max-height:830px) and (min-width:901px){.sidebar{padding-top:22px}.workspace{margin:23px 0 20px}.nav-item{padding:9px 12px}.phase-card{display:none}.user-menu{padding-block:15px}}
@media(max-width:1250px){.sidebar{width:225px;padding-inline:12px}.shell{margin-left:225px}.brand{gap:11px;font-size:12px}.workspace{font-size:9px}.workspace small{font-size:9px}main#main{padding:28px 25px}.topbar{padding-inline:25px}.stats-grid{gap:12px}.stat-card{padding:16px}.stat-value{font-size:23px}.stat-top{font-size:10px}.stat-icon{height:26px;width:26px}.filter-bar{align-items:flex-start;gap:15px}.filter-bar .actions{justify-content:flex-end}.dashboard-grid{grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr);gap:16px}.status-legend{padding-inline:20px;gap:12px}.panel-heading{padding:19px}.document-summary{gap:28px}.invoice-document{padding:35px}.share-panel{flex-wrap:wrap}.share-panel>div{flex-basis:70%}.share-panel .button{padding:7px 12px;min-height:35px}.invoice-meta{gap:25px}.item-editor th:first-child,.item-editor td:first-child{padding-left:15px}.lower-grid{grid-template-columns:1.4fr 1fr}.quick-start{padding:22px}.quick-start h2{font-size:18px}.auth-story{padding:45px}.auth-story h1{font-size:46px}}
@media(max-width:1000px){.stats-grid{grid-template-columns:1fr 1fr}.stat-value{font-size:28px}.dashboard-grid{grid-template-columns:1fr}.status-panel{display:grid;grid-template-columns:1fr 1.5fr}.status-panel>.panel-heading{grid-column:span 2}.status-overview{margin:0 0 24px}.status-legend{padding-top:8px}.quick-start h2{max-width:none}.invoice-bottom{grid-template-columns:1fr 1fr}.auth-story{padding:35px}.auth-form{padding:35px}.auth-story h1{font-size:40px}.auth-story p{font-size:13px}}
@media(max-width:900px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:256px}.sidebar.open{transform:translateX(0);box-shadow:5px 0 40px #0a20354d}.shell{margin-left:0}.mobile-menu{display:inline-flex}.topbar{height:65px}.breadcrumb{margin-right:auto}.top-actions{gap:12px}.page-heading h1{font-size:27px}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.stat-value{font-size:23px}.dashboard-grid{grid-template-columns:minmax(0,1.6fr) minmax(240px,1fr)}.status-panel{display:block}.status-legend{padding-top:0}.status-panel>.panel-heading{display:flex}.status-overview{margin:4px 0 20px}.auth-story{padding:35px}.auth-story h1{font-size:36px}}
@media(max-width:700px){main#main{padding:25px 18px}.topbar{padding-inline:15px}.top-actions .environment{display:none}.top-avatar{width:27px;height:27px;font-size:10px}.breadcrumb{font-size:10px}.breadcrumb>span{padding-inline:7px}.page-heading{align-items:flex-start;gap:15px;flex-wrap:wrap;margin-bottom:24px}.page-heading p{font-size:11px;line-height:1.7}.page-heading h1{font-size:26px}.page-heading>.button{padding:9px 12px;font-size:11px}.filter-bar{flex-direction:column;gap:12px}.filter-bar .actions{width:100%;justify-content:flex-start;gap:7px}.filter-bar select{width:100%;flex-basis:100%}.filter-bar input[type=date]{flex:1;width:100px}.stats-grid{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:17px}.stat-card{padding:15px}.stat-top{font-size:10px}.stat-value{font-size:25px;margin:14px 0 8px}.stat-card small{font-size:8px}.stat-icon{height:25px;width:25px}.dashboard-grid{grid-template-columns:1fr;gap:17px;margin-bottom:17px}.panel-heading{padding:18px}.panel-heading h2{font-size:14px}.panel-heading p{font-size:9px}.revenue-total{padding-inline:18px}.chart-empty{margin-inline:18px;height:190px}.status-panel{display:grid;grid-template-columns:1fr 1.4fr}.status-panel>.panel-heading{grid-column:span 2}.status-legend{display:flex;flex-direction:column;gap:9px;padding:0 22px 23px 10px}.status-overview{margin:0 0 24px}.status-ring{height:110px;width:110px}.status-legend>div{font-size:9px}.lower-grid{margin-top:17px}.empty{padding:38px 18px}.empty p{font-size:10px}.table-toolbar{padding:15px;flex-wrap:wrap;gap:10px}.search-input{width:100%;flex-basis:100%}.table-toolbar select{flex:1;width:auto}.record-count{font-size:9px}th{padding:11px 15px}td{padding:14px 15px}.pagination{padding:13px 15px}.form-panel{padding:20px}.form-grid,.invoice-meta{grid-template-columns:1fr;gap:19px}.span-2{grid-column:auto}.invoice-meta>.form-grid{grid-template-columns:1fr 1fr;gap:12px}.customer-detail-grid{grid-template-columns:1fr;gap:17px}.detail-list>div{grid-template-columns:110px 1fr;gap:10px;font-size:11px}.invoice-bottom{grid-template-columns:1fr;gap:17px;margin-top:17px}.spaced{margin-top:17px}.invoice-document{padding:24px 20px;border-radius:6px}.document-header{gap:16px;padding-bottom:22px}.document-header h2{font-size:13px}.invoice-document p{font-size:10px}.document-title>span:first-child{font-size:19px;letter-spacing:2px}.document-title>strong{font-size:10px}.document-title .badge{font-size:8px;padding:3px 6px}.document-monogram{font-size:34px}.document-meta{flex-direction:column;gap:20px;margin:22px 0 25px}.document-meta dl{min-width:0;max-width:270px;font-size:10px}.document-summary{grid-template-columns:1fr;gap:24px}.document-summary>div:first-child:empty{display:none}.document-totals{width:100%}.document-footer{display:block;font-size:8px;line-height:1.8}.document-footer span{display:block}.share-panel{padding:15px;gap:10px}.share-panel>div{flex-basis:75%}.share-panel .button{flex:1;font-size:10px;padding:6px;min-height:35px}.invoice-admin-actions{justify-content:flex-start;gap:8px}.invoice-admin-actions .button{font-size:10px;padding:8px 10px}.logo-upload{flex-direction:column;align-items:flex-start;gap:18px}.integration-list>div{flex-direction:column;gap:7px}.integration-list span{font-size:10px}.future-panel{padding:40px 22px}.future-panel>h2{font-size:21px}.future-panel>p{font-size:12px}.public-shell{padding:0 12px;margin:20px auto}.public-header{font-size:10px;gap:10px}.public-header .button{font-size:10px;padding:8px 10px}.public-header .icon{height:15px;width:15px}.public-payment{padding:22px}.public-payment p{font-size:11px}.error-panel{margin:8vh 18px;padding:28px}.app-footer{padding:0 18px 20px;font-size:8px}.auth-shell{grid-template-columns:1fr}.auth-story{padding:26px;min-height:auto;gap:35px}.auth-story h1{font-size:34px;margin:14px 0}.auth-story h1 br{display:none}.auth-story p{font-size:12px;max-width:400px}.auth-story>.brand{font-size:12px}.auth-features,.auth-story>small{display:none}.auth-story .eyebrow{font-size:8px}.auth-form{padding:35px 26px 50px}.auth-form h2{font-size:24px}.auth-form .stack{margin-top:26px}.auth-form-inner{max-width:420px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media print{.sidebar,.topbar,.page-heading,.notice,.share-panel,.invoice-admin-actions,.app-footer,.public-header,.public-payment,.public-footer{display:none!important}.shell{margin:0}main#main,.public-shell{padding:0;margin:0;max-width:none}.invoice-document{border:0;box-shadow:none;padding:0}.table-wrap{overflow:visible}.document-table{min-width:0}body{background:#fff}}

[hidden]{display:none!important}

.table-wrap{position:relative;max-width:100%}.panel{min-width:0}
