:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--canvas:#f3f4f1;--surface:#fbfcfb;--surface-subtle:#eef0ed;--surface-raised:#fff;--foreground:#12211f;--foreground-muted:#3d4f4b;--foreground-subtle:#4e615c;--border:#d5dbd6;--border-strong:#b7c2bc;--accent:#0f7468;--accent-hover:#0b5c53;--accent-soft:#e4f3ef;--success:#176b4c;--warning:#8a5a0a;--danger:#b42318;--info:#1f5f82;--focus-ring:#0f7468;--sidebar:#101c1b;--sidebar-soft:#1a2a28;--sidebar-text:#e8f0ed;--sidebar-muted:#8fa09b;--success-soft:#e4f3ec;--warning-soft:#f6eedc;--danger-soft:#f8e8e6;--info-soft:#e6f0f5;--ink:var(--foreground);--ink-soft:var(--foreground-muted);--muted:var(--foreground-subtle);--line:var(--border);--line-soft:var(--surface-subtle);--surface-strong:var(--surface-raised);--radius-sm:6px;--radius-md:8px;--radius-lg:12px;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-7:28px;--space-8:32px;--z-dropdown:100;--z-sticky:30;--z-overlay:35;--z-sidebar:40;--z-modal:50;--z-toast:120;--z-tooltip:130;--shadow-float:0 10px 30px #12211f1f, 0 1px 2px #12211f0f;--shadow-sm:none;--shadow-lg:var(--shadow-float);--font:"DM Sans", "Segoe UI", system-ui, sans-serif;--ease:cubic-bezier(.2, .8, .2, 1);--duration:.14s;--sidebar-width:240px;--topbar-height:56px;font:14px/1.45 var(--font);color:var(--foreground);background:var(--canvas);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased}*,:before,:after{box-sizing:border-box}html,body,#root{min-height:100%}html{hanging-punctuation:first last}body{background:var(--canvas);min-width:320px;color:var(--foreground);margin:0}button,input,select,textarea{font:inherit;color:inherit}button{background:0 0}button,a,[role=menuitem],[role=tab]{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:var(--font);letter-spacing:-.02em;color:var(--foreground);font-weight:600}img,svg{display:block}ul,ol{margin:0}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.skip-link{z-index:calc(var(--z-toast) + 1);border-radius:var(--radius-md);color:var(--surface-raised);background:var(--accent);padding:8px 12px;font-size:13px;font-weight:600;position:absolute;top:-48px;left:12px}.skip-link:focus,.skip-link:focus-visible{outline-offset:2px;top:12px}:focus{outline:none}:focus-visible,button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[role=menuitem]:focus-visible,[role=tab]:focus-visible,[role=switch]:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.money,.numeric,.amount-cell,.align-right,.records-table,table.data-table,.data-table,.invoice-total,.metric-strip strong,.module-metrics strong,.fin-headline strong,.filing-total strong,time,input[type=date],input[type=number]{font-variant-numeric:tabular-nums lining-nums}.button,.create-button{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-raised);height:40px;min-height:40px;color:var(--foreground);letter-spacing:-.01em;cursor:pointer;transition:background var(--duration) var(--ease), border-color var(--duration) var(--ease), color var(--duration) var(--ease);justify-content:center;align-items:center;gap:8px;padding:0 14px;font-size:13px;font-weight:600;display:inline-flex}.button:hover,.create-button:hover{background:var(--surface-subtle)}.button:active:not(:disabled),.create-button:active:not(:disabled){transform:translateY(1px)}.button.primary,.create-button{color:var(--surface-raised);background:var(--accent);border-color:#0000}.button.primary:hover,.create-button:hover{background:var(--accent-hover)}.button.secondary{color:var(--foreground);border-color:var(--border);background:var(--surface-raised)}.button.secondary:hover,.button.ghost:hover{border-color:var(--border-strong);background:var(--surface-subtle)}.button.ghost{color:var(--foreground-muted);background:0 0;border-color:#0000}.button.compact{height:36px;min-height:36px;padding:0 10px;font-size:13px}.button.loading,.button.is-loading,.button[aria-busy=true],.create-button.loading{opacity:.7;pointer-events:none}.button:disabled,.create-button:disabled,.icon-button:disabled{opacity:.45;cursor:not-allowed;pointer-events:none}.create-button{margin-left:2px}.text-button{height:36px;color:var(--accent);cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:0 4px;font-size:13px;font-weight:600;display:inline-flex}.text-button:hover{color:var(--accent-hover)}.icon-button{border-radius:var(--radius-md);width:40px;min-width:40px;height:40px;min-height:40px;color:var(--foreground-muted);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:inline-grid}.icon-button:hover{color:var(--foreground);background:var(--surface-subtle)}.field,.setup-fields label,.setup-select{flex-direction:column;gap:6px;display:flex}.field>span,.setup-fields label>span,.setup-select>span{color:var(--foreground-muted);font-size:12px;font-weight:600}.field em,.setup-fields label em{color:var(--foreground-subtle);font-style:normal;font-weight:400}.field input,.field select,.field textarea,.setup-fields input,.setup-select select,.inspector-content .field textarea,.editor-line-item textarea,.custom-block-list input,.custom-block-list textarea{border:1px solid var(--border);border-radius:var(--radius-md);width:100%;min-height:40px;color:var(--foreground);background:var(--surface-raised);outline:none;padding:0 12px;font-size:14px}.field textarea,.inspector-content .field textarea,.editor-line-item textarea,.custom-block-list textarea{resize:vertical;min-height:84px;padding:10px 12px;line-height:1.45}.field input:hover,.field select:hover,.field textarea:hover,.setup-fields input:hover,.setup-select select:hover{border-color:var(--border-strong)}.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible,.setup-fields input:focus-visible,.setup-select select:focus-visible,.inspector-content .field textarea:focus,.editor-line-item textarea:focus,.custom-block-list textarea:focus,.custom-block-list input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.field small,.dialog-error,.setup-error,.editor-error{color:var(--danger);font-size:12px;line-height:1.4}.dialog-error,.setup-error,.editor-error{border:1px solid var(--danger);border-radius:var(--radius-md);background:var(--danger-soft);margin-top:12px;padding:10px 12px}.editor-error{margin:0 14px 14px}:is(.field:has(small) input,.field:has(small) select){border-color:var(--danger)}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.field-wide{grid-column:span 2}.input-suffix{position:relative}.input-suffix input{padding-right:48px}.input-suffix span{color:var(--foreground-subtle);font-size:12px;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.empty-select-action{border:1px dashed var(--accent);border-radius:var(--radius-md);height:40px;color:var(--accent);background:var(--accent-soft);cursor:pointer;justify-content:center;align-items:center;gap:8px;padding:0 12px;font-size:13px;font-weight:600;display:flex}.fixed-tax-value{border:1px solid var(--border);border-radius:var(--radius-md);height:40px;color:var(--foreground-muted);background:var(--surface-subtle);align-items:center;padding:0 12px;font-size:13px;display:flex}.expert-toggle{border-right:1px solid var(--border);min-height:40px;color:var(--foreground-muted);align-items:center;gap:8px;margin-right:4px;padding-right:12px;font-size:12px;display:flex}.expert-toggle button,.switch{background:var(--border-strong);cursor:pointer;width:40px;height:24px;transition:background var(--duration) var(--ease);border:0;border-radius:999px;padding:2px}.expert-toggle button[data-state=checked],.switch[data-state=checked]{background:var(--accent)}.expert-toggle button span,.switch span{background:var(--surface-raised);width:20px;height:20px;transition:transform .16s var(--ease);border-radius:50%;display:block}.expert-toggle button[data-state=checked] span,.switch[data-state=checked] span{transform:translate(16px)}.dropdown-content{min-width:180px;padding:var(--space-1);border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-raised);box-shadow:var(--shadow-float);z-index:var(--z-dropdown)}.create-menu{min-width:200px}.dropdown-content>:not([role=menuitem]){color:var(--foreground-subtle);letter-spacing:.04em;text-transform:uppercase;padding:8px 8px 6px;font-size:12px;font-weight:600}.dropdown-content .dropdown-note{letter-spacing:0;text-transform:none;white-space:normal;max-width:240px;padding:4px 8px 10px;font-weight:400;line-height:1.4}.dropdown-content [role=menuitem]{border-radius:var(--radius-sm);width:100%;min-height:36px;color:var(--foreground);font:500 13px/1.3 var(--font);text-align:left;cursor:pointer;-webkit-user-select:none;user-select:none;background:0 0;border:0;justify-content:flex-start;align-items:center;gap:8px;margin:0;padding:0 8px;display:flex}.dropdown-content [role=menuitem]+[role=menuitem]{margin-top:1px}.dropdown-content [role=menuitem] svg{color:var(--foreground-subtle);flex:none}.dropdown-content [role=menuitem]>span:last-child:not(:first-child){color:var(--accent);margin-left:auto;font-size:12px}.dropdown-content [role=menuitem][data-highlighted],.dropdown-content [role=menuitem]:hover,.dropdown-content [role=menuitem]:focus-visible{background:var(--accent-soft);color:var(--accent-hover);outline:none}.dropdown-content [role=menuitem][data-highlighted] svg{color:var(--accent)}.dropdown-content [role=menuitem][data-disabled]{opacity:.45;pointer-events:none}.dialog-overlay,.invoice-editor-overlay{z-index:var(--z-modal);background:#101c1b75;position:fixed;inset:0}.dialog-content{z-index:calc(var(--z-modal) + 1);border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface-raised);width:min(100vw - 32px,600px);max-height:calc(100vh - 40px);box-shadow:var(--shadow-float);position:fixed;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%)}.invoice-dialog,.contact-dialog{padding:24px}.dialog-heading{justify-content:space-between;gap:16px;margin-bottom:20px;display:flex}.dialog-heading h2{margin:0 0 6px;font-size:20px}.dialog-heading p:last-child,.dialog-heading [data-radix-dialog-description]{color:var(--foreground-muted);margin:0;font-size:13px}.invoice-total{border-block:1px solid var(--border);grid-template-columns:1fr 1fr 1.2fr;gap:14px;margin-top:18px;padding:14px 0;display:grid}.invoice-total span{color:var(--foreground-subtle);flex-direction:column;font-size:12px;display:flex}.invoice-total strong{color:var(--foreground);margin-top:4px;font-size:14px}.invoice-gross{border-left:1px solid var(--border);padding-left:16px}.invoice-gross strong{letter-spacing:-.02em;font-size:18px}.small-business-invoice-note{border-left:2px solid var(--accent);color:var(--foreground-muted);background:var(--accent-soft);align-items:flex-start;gap:10px;margin-top:12px;padding:12px 14px;font-size:13px;display:flex}.small-business-invoice-note strong{color:var(--accent-hover)}.dialog-actions{justify-content:flex-end;gap:8px;margin-top:18px;display:flex}.command-dialog{width:min(100vw - 32px,520px);animation:none;top:14%;overflow:hidden;transform:translate(-50%)}.command-input{border-bottom:1px solid var(--border);height:52px;color:var(--foreground-subtle);align-items:center;gap:10px;padding:0 14px;display:flex}.command-input input{background:0 0;border:0;outline:0;flex:1;font-size:14px}.command-results{padding:8px}.command-label{color:var(--foreground-subtle);letter-spacing:.06em;text-transform:uppercase;margin:4px 8px 8px;font-size:12px;font-weight:600}.command-results button{border-radius:var(--radius-md);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;width:100%;min-height:44px;padding:0 10px;display:flex}.command-results button:hover,.command-results button:focus-visible,.command-results button[data-active=true]{background:var(--accent-soft);color:var(--accent-hover)}.command-results button:disabled{opacity:.45;cursor:not-allowed}.command-results button>span{flex-direction:column;font-size:13px;font-weight:600;display:flex}.command-results button small{color:var(--foreground-subtle);margin-top:2px;font-size:12px;font-weight:400}.empty-command{color:var(--foreground-muted);text-align:center;padding:24px;font-size:13px}.command-footer{border-top:1px solid var(--border);height:40px;color:var(--foreground-subtle);background:var(--surface);align-items:center;gap:16px;padding:0 14px;font-size:12px;display:flex}.toast{z-index:var(--z-toast);border:1px solid var(--border);border-radius:var(--radius-md);max-width:min(380px,100vw - 32px);min-height:48px;color:var(--foreground);background:var(--surface-raised);box-shadow:var(--shadow-float);align-items:center;gap:10px;padding:10px 14px 10px 10px;font-size:13px;font-weight:500;display:flex;position:fixed;bottom:24px;right:24px}.toast>span{border-radius:var(--radius-sm);width:32px;height:32px;color:var(--accent);background:var(--accent-soft);place-items:center;display:grid}.tooltip{z-index:var(--z-tooltip);border-radius:var(--radius-sm);background:var(--foreground);color:var(--surface-raised);box-shadow:var(--shadow-float);padding:6px 8px;font-size:12px}.tabs-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-end;height:44px;display:flex}.tabs{align-items:flex-end;gap:20px;height:100%;display:flex;overflow-x:auto}.tabs button{height:100%;min-height:40px;color:var(--foreground-subtle);white-space:nowrap;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;padding:0 2px;font-size:13px;font-weight:500}.tabs button.active,.tabs button[aria-selected=true]{color:var(--foreground);border-color:var(--accent);font-weight:600}.tabs-tools{padding-bottom:4px;display:flex}.badge,.status,.record-status,.integration-state,.count-badge{width:fit-content;min-height:24px;color:var(--foreground-muted);background:var(--surface-subtle);border-radius:999px;align-items:center;padding:0 8px;font-size:12px;font-style:normal;font-weight:600;display:inline-flex}.status-bezahlt,.record-status.issued,.record-status.paid,.integration-state.success{color:var(--success);background:var(--success-soft)}.status-offen,.record-status.customer{color:var(--info);background:var(--info-soft)}.status-uberfallig,.record-status.reversed,.integration-state.error{color:var(--danger);background:var(--danger-soft)}.status-entwurf,.record-status.draft{color:var(--warning);background:var(--warning-soft)}.count-badge,.setup-progress{min-width:28px;height:24px;color:var(--accent);background:var(--accent-soft);border-radius:999px;place-items:center;padding:0 8px;font-size:12px;font-weight:700;display:grid}.inline-alert{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);color:var(--foreground);align-items:flex-start;gap:10px;padding:12px 14px;font-size:13px;display:flex}.inline-alert.danger,.inline-alert.error{border-color:var(--danger);background:var(--danger-soft);color:var(--danger)}.inline-alert.warning{border-color:var(--warning);background:var(--warning-soft);color:var(--warning)}.inline-alert.success{border-color:var(--success);background:var(--success-soft);color:var(--success)}.inline-alert.info{border-color:var(--info);background:var(--info-soft);color:var(--info)}.skeleton{border-radius:var(--radius-sm);background:var(--surface-subtle);height:12px;animation:1.2s ease-in-out infinite pulse;display:block}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.data-table-wrap{border-top:1px solid var(--border);width:100%;overflow:auto}table.data-table,.data-table{border-collapse:collapse;width:100%;font-size:13px}table.data-table thead th,.data-table th{z-index:var(--z-sticky);height:40px;color:var(--foreground-muted);text-align:left;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;background:var(--surface-subtle);border-bottom:1px solid var(--border);padding:0 12px;font-size:12px;font-weight:600;position:sticky;top:0}table.data-table td,.data-table td{border-bottom:1px solid var(--border);height:48px;color:var(--foreground-muted);white-space:nowrap;padding:0 12px}table.data-table tbody tr,.data-table tbody tr{cursor:pointer}table.data-table tbody tr:hover,.data-table tbody tr:hover{background:var(--surface)}table.data-table .table-id,.data-table .table-id{color:var(--foreground);font-weight:600}table.data-table .numeric,table.data-table .amount-cell,table.data-table .align-right,.data-table .amount-cell,.data-table .align-right,.data-table .numeric{text-align:right;color:var(--foreground)}table.data-table.compact td,table.data-table.compact th{height:40px}.mono-muted{color:var(--foreground-subtle);font:12px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace}.records-table{border-top:1px solid var(--border)}.records-head,.records-row{grid-template-columns:1.05fr 1.3fr .8fr .75fr .8fr;align-items:center;gap:16px;display:grid}.sales-records .records-head,.sales-records .records-row{grid-template-columns:1.05fr 1.2fr .72fr .72fr .7fr .8fr;gap:12px}.records-head{top:var(--topbar-height);z-index:1;min-height:40px;color:var(--foreground-muted);background:var(--surface-subtle);text-transform:uppercase;letter-spacing:.04em;padding:0 12px;font-size:12px;font-weight:600;position:sticky}.records-row{border-bottom:1px solid var(--border);min-height:56px;color:var(--foreground-muted);padding:10px 12px;font-size:13px}.records-row:hover{background:var(--surface)}.records-row>span{min-width:0}.records-row>span:first-child,.records-row .numeric{flex-direction:column;gap:3px;display:flex}.records-row strong{color:var(--foreground);font-size:13px}.records-row small{color:var(--foreground-subtle);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.numeric{text-align:right;align-items:flex-end}.invoice-row-actions{justify-content:flex-end;gap:6px;display:flex}.invoice-row-actions .button{white-space:nowrap;text-decoration:none}.invoice-table{table-layout:auto;min-width:1120px}.invoice-table td{vertical-align:middle;height:56px}.invoice-table th:first-child,.invoice-table td:first-child{padding-left:14px}.invoice-table th:nth-child(5),.invoice-table td:nth-child(5){width:120px}.invoice-table th:nth-child(6),.invoice-table td:nth-child(6){width:132px}.invoice-table th:nth-child(7),.invoice-table td:nth-child(7){width:178px}.invoice-table th:last-child,.invoice-table td:last-child{width:224px;padding-right:14px}.invoice-status-cell,.invoice-cockpit-cell{line-height:1.25}.invoice-table .table-subline{margin-top:4px}.record-person{align-items:center;flex-direction:row!important;gap:10px!important}.record-person i{border-radius:var(--radius-md);width:32px;height:32px;color:var(--accent);background:var(--accent-soft);flex:none;place-items:center;font-size:12px;font-style:normal;font-weight:700;display:grid}.empty-workspace{border-top:1px solid var(--border);text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:280px;padding:48px 20px;display:flex}.empty-workspace.compact{border-top:0;min-height:180px}.empty-workspace-icon{border-radius:var(--radius-md);width:44px;height:44px;color:var(--accent);background:var(--accent-soft);place-items:center;margin-bottom:16px;display:grid}.empty-workspace h2{margin-bottom:8px;font-size:16px}.empty-workspace p{max-width:440px;color:var(--foreground-muted);margin-bottom:16px;font-size:13px}.empty-workspace>small{color:var(--foreground-subtle);margin:-8px 0 14px;font-size:12px}.data-loading,.app-loading{min-height:220px;color:var(--foreground-muted);place-items:center;font-size:13px;display:grid}.data-loading{border-top:1px solid var(--border)}.app-loading{background:var(--canvas);flex-direction:column;justify-content:center;align-items:center;gap:14px;min-height:100vh;display:flex}.app-loading p{color:var(--foreground-muted);font-size:13px}.app-shell{min-height:100dvh}.sidebar{width:var(--sidebar-width);color:var(--sidebar-text);background:var(--sidebar);z-index:var(--z-sidebar);flex-direction:column;padding:16px 12px 12px;display:flex;position:fixed;inset:0 auto 0 0}.workspace{min-height:100dvh;margin-left:var(--sidebar-width)}.app-shell:has(.sidebar[data-collapsed]){--sidebar-width:72px}.brand-row{justify-content:space-between;align-items:center;padding:0 8px 16px;display:flex}.brand,.landing-brand,.brand-logo{align-items:center;gap:10px;min-width:0;display:flex}.brand-logo,.landing-brand img,.brand img{flex:none;width:auto;height:22px;display:block}.sidebar .brand-mark{background:var(--surface);width:auto;height:36px;padding:6px 8px;overflow:hidden}.sidebar .brand-mark img,.sidebar .brand-logo{width:auto;max-width:108px;height:18px}.landing-nav .brand-logo,.setup-aside .brand-logo{border-radius:var(--radius-md);background:var(--surface);max-width:148px;height:28px;padding:6px 10px}.sidebar .icon-button{color:var(--sidebar-muted)}.sidebar .icon-button:hover{color:var(--sidebar-text);background:var(--sidebar-soft)}.brand-mark{border-radius:var(--radius-md);background:var(--accent-soft);place-items:center;width:32px;height:32px;display:grid}.brand-mark span{border:solid var(--sidebar);border-width:0 3px 3px 0;border-radius:1px;width:13px;height:16px;display:block;transform:rotate(34deg)translate(-1px,-1px)}.brand>span:last-child,.landing-brand>span:last-child{flex-direction:column;line-height:1.15;display:flex}.brand strong{letter-spacing:-.02em;color:var(--surface-raised);font-size:15px}.brand small{letter-spacing:.06em;text-transform:uppercase;color:var(--sidebar-muted);margin-top:2px;font-size:12px}.organization-switch,.user-row{width:100%;min-height:44px;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;display:grid}.organization-switch{border-radius:var(--radius-md);background:var(--sidebar-soft);border:1px solid #ffffff14;margin-bottom:16px;padding:8px}.organization-switch:hover,.user-row:hover{background:var(--sidebar-soft)}.organization-switch>span:nth-child(2),.user-row>span:nth-child(2){flex-direction:column;min-width:0;display:flex}.organization-switch strong,.user-row strong{color:var(--surface-raised);white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:600;overflow:hidden}.organization-switch small,.user-row small{color:var(--sidebar-muted);margin-top:2px;font-size:12px}.org-avatar,.user-avatar{border-radius:var(--radius-md);width:32px;height:32px;color:var(--sidebar-text);background:#ffffff1a;flex:none;place-items:center;font-size:12px;font-weight:700;display:grid}.user-avatar{background:var(--accent-soft);color:var(--sidebar);border-radius:50%}.main-nav{flex-direction:column;gap:2px;display:flex}.main-nav a,.sidebar-bottom>a{border-radius:var(--radius-md);min-height:40px;color:var(--sidebar-muted);align-items:center;gap:10px;padding:0 10px;display:flex}.main-nav a:hover,.sidebar-bottom>a:hover{color:var(--sidebar-text);background:var(--sidebar-soft)}.main-nav a.active,.sidebar-bottom>a.active{color:var(--surface-raised);background:var(--sidebar-soft)}.main-nav a.active svg,.sidebar-bottom>a.active svg{color:var(--accent-soft)}.main-nav a span,.sidebar-bottom>a span{flex:1;font-size:13px;font-weight:500}.main-nav a em{min-width:20px;height:20px;color:var(--accent-soft);background:#ffffff14;border-radius:99px;place-items:center;padding:0 6px;font-size:12px;font-style:normal;display:grid}.sidebar-bottom{margin-top:auto}.user-row{border-radius:var(--radius-md);padding:8px}.sidebar[data-collapsed]{padding-inline:12px}.sidebar[data-collapsed] .brand>span:last-child,.sidebar[data-collapsed] .organization-switch>span:nth-child(2),.sidebar[data-collapsed] .organization-switch>svg,.sidebar[data-collapsed] .main-nav a span,.sidebar[data-collapsed] .main-nav a em,.sidebar[data-collapsed] .sidebar-bottom>a span,.sidebar[data-collapsed] .user-row>span:nth-child(2),.sidebar[data-collapsed] .user-row>svg{display:none}.sidebar[data-collapsed] .organization-switch,.sidebar[data-collapsed] .user-row{grid-template-columns:1fr;justify-items:center;padding-inline:0}.sidebar[data-collapsed] .main-nav a,.sidebar[data-collapsed] .sidebar-bottom>a{justify-content:center;padding:0}.sidebar[data-collapsed] .brand-row{flex-direction:column;gap:8px}.sidebar[data-collapsed] .brand-mark{width:40px;height:40px;padding:6px}.sidebar[data-collapsed] .brand-mark img{object-fit:cover;object-position:left center;max-width:28px;height:14px}.topbar{z-index:var(--z-sticky);height:var(--topbar-height);border-bottom:1px solid var(--border);background:var(--surface);justify-content:space-between;align-items:center;gap:16px;padding:0 24px;display:flex;position:sticky;top:0}.search-trigger{border:1px solid var(--border);border-radius:var(--radius-md);width:min(340px,36vw);height:40px;color:var(--foreground-subtle);background:var(--surface-raised);cursor:pointer;align-items:center;gap:8px;padding:0 10px;display:flex}.search-trigger span{text-align:left;flex:1;font-size:13px}.search-trigger kbd{border:1px solid var(--border);color:var(--foreground-subtle);background:var(--surface-subtle);border-radius:4px;padding:2px 6px;font-family:inherit;font-size:12px}.topbar-actions{align-items:center;gap:6px;display:flex}.locale-trigger{height:40px;color:var(--foreground-muted);cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:0 8px;font-size:12px;font-weight:600;display:flex}.mobile-menu,.mobile-close,.mobile-overlay,.mobile-tabbar{display:none}.breadcrumbs{min-width:0;max-width:240px;color:var(--foreground-muted);flex-wrap:wrap;align-items:center;margin:0;font-size:13px;display:flex}.breadcrumbs ol{flex-wrap:wrap;align-items:center;gap:8px;padding:0;list-style:none;display:flex}.breadcrumbs li{align-items:center;gap:8px;min-width:0;display:flex}.breadcrumbs a:hover{color:var(--foreground)}.breadcrumbs [aria-current=page]{color:var(--foreground);font-weight:600}.period-switch,.period-control button{min-height:36px;color:var(--foreground);cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:0;font-size:13px;font-weight:600;display:inline-flex}.mobile-tabbar{z-index:var(--z-sticky);height:auto;padding:6px 8px calc(6px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--border);background:var(--surface-raised);justify-content:space-around;gap:4px;display:none;position:fixed;bottom:0;left:0;right:0}.mobile-tabbar a,.mobile-tabbar button{border-radius:var(--radius-md);min-height:44px;color:var(--foreground-subtle);cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;padding:6px 4px;font-size:12px;font-weight:500;display:flex}.mobile-tabbar a.active,.mobile-tabbar a[aria-current=page],.mobile-tabbar button.active{color:var(--accent);background:var(--accent-soft)}.main-content{padding:28px clamp(20px,3vw,48px) 56px}.page{width:100%;max-width:1440px;margin:0 auto}.page-heading{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:28px;display:flex}.page-heading h1{letter-spacing:-.025em;margin-bottom:6px;font-size:22px;line-height:1.2}.page-heading p:not(.section-kicker){color:var(--foreground-muted);margin-bottom:0;font-size:14px}.section-kicker{color:var(--accent);letter-spacing:.08em;text-transform:uppercase;margin-bottom:6px;font-size:12px;font-weight:600}.heading-actions{align-items:center;gap:8px;display:flex}.section-heading{justify-content:space-between;align-items:flex-start;gap:16px;min-height:40px;margin-bottom:12px;display:flex}.section-heading h2{margin-bottom:4px;font-size:16px}.section-heading p{color:var(--foreground-muted);margin:0;font-size:13px}.section-actions{gap:16px;display:flex}.positive{color:var(--success)!important}.metric-strip,.fin-headline{border-block:1px solid var(--border);background:0 0;grid-template-columns:minmax(220px,1.35fr) repeat(3,minmax(0,1fr));margin-bottom:28px;display:grid}.metric-strip>div,.fin-headline>div{flex-direction:column;min-width:0;padding:18px 20px;display:flex}.metric-strip>div+div,.fin-headline>div+div{border-left:1px solid var(--border)}.metric-strip span,.module-metrics span,.fin-headline span{color:var(--foreground-subtle);font-size:12px}.metric-strip strong,.fin-headline strong{letter-spacing:-.025em;margin:6px 0 4px;font-size:18px}.metric-strip>div:first-child strong,.fin-headline>.fin-primary strong,.fin-headline>div:first-child strong{letter-spacing:-.03em;font-size:28px;line-height:1.1}.metric-strip small,.fin-headline small{color:var(--foreground-subtle);align-items:center;gap:4px;font-size:12px;display:flex}.attention-queue,.activity-list,.task-list,.setup-list,.recent-invoice-list{border-top:1px solid var(--border)}.task-row,.setup-list a,.activity-row,.recent-invoice-list a{border:0;border-bottom:1px solid var(--border);text-align:left;width:100%;min-height:56px;color:var(--foreground);cursor:pointer;background:0 0;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:10px 4px;display:grid}.task-row{display:flex}.task-row:hover,.setup-list a:hover,.recent-invoice-list a:hover{background:var(--surface)}.attention-queue .task-row .text-button{white-space:nowrap;background:0 0;border:0;flex:none;width:auto;min-height:0;padding:0;display:inline-flex}.task-icon,.recent-invoice-list a>span,.setup-list a>span:first-child{border-radius:var(--radius-md);background:var(--accent-soft);width:32px;height:32px;color:var(--accent);flex:none;place-items:center;display:grid}.task-icon.warning{color:var(--warning);background:var(--warning-soft)}.task-icon.danger{color:var(--danger);background:var(--danger-soft)}.task-icon.info{color:var(--info);background:var(--info-soft)}.task-copy,.setup-list a>span:nth-child(2),.activity-row>span:nth-child(2),.recent-invoice-list a>div{flex-direction:column;flex:1;min-width:0;display:flex}.task-copy strong,.setup-list strong,.activity-row strong,.recent-invoice-list strong{font-size:13px;font-weight:600}.task-copy small,.setup-list small,.activity-row small,.activity-row time,.recent-invoice-list small{color:var(--foreground-subtle);margin-top:3px;font-size:12px}.task-action{color:var(--accent);align-items:center;gap:4px;font-size:12px;font-weight:600;display:flex}.setup-list a.done>span:first-child{color:var(--foreground-subtle);background:var(--surface-subtle)}.activity-avatar{width:32px;height:32px;color:var(--accent);background:var(--accent-soft);border-radius:50%;place-items:center;font-size:12px;font-weight:700;display:grid}.recent-invoice-list a{grid-template-columns:34px 1fr auto 18px}.recent-invoice-list b{font-variant-numeric:tabular-nums lining-nums;font-size:13px}.recent-invoice-list svg:last-child,.setup-list a>svg{color:var(--foreground-subtle)}.progress-panel,.trend-panel,.cashflow-section{border-left:1px solid var(--border);min-width:0;padding-left:24px}.attention-queue ul{margin:0;padding:0;list-style:none}.attention-queue .task-row{cursor:default;width:100%}.trend-bars{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.trend-bars li{grid-template-columns:88px minmax(0,1fr) auto;align-items:center;gap:12px;font-size:13px;display:grid}.trend-bars li>span:first-child{color:var(--foreground-muted)}.trend-bar-track{background:var(--surface-subtle);border-radius:99px;height:8px;overflow:hidden}.trend-bar-fill{border-radius:inherit;background:var(--accent);height:100%;display:block}.dashboard-grid{grid-template-columns:minmax(280px,.9fr) minmax(360px,1.1fr);gap:28px;margin-bottom:32px;display:grid}.tasks-section,.table-section,.activity-section{min-width:0}.activity-section{margin-top:32px}.onboarding-dashboard{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;display:grid}.first-entry-panel{border-left:1px solid var(--border);padding-left:32px}.first-entry-mark{border-radius:var(--radius-md);width:44px;height:44px;color:var(--accent);background:var(--accent-soft);place-items:center;margin-bottom:16px;display:grid}.first-entry-panel h2{max-width:520px;margin-bottom:10px;font-size:18px;line-height:1.3}.first-entry-panel>p:not(.section-kicker){max-width:520px;color:var(--foreground-muted);font-size:14px}.first-entry-actions{border-top:1px solid var(--border);margin-top:20px}.first-entry-actions button,.first-entry-actions a{border:0;border-bottom:1px solid var(--border);text-align:left;cursor:pointer;background:0 0;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;width:100%;min-height:56px;padding:8px 2px;display:grid}.first-entry-actions>*>svg:first-child{color:var(--accent)}.first-entry-actions>*>span{flex-direction:column;display:flex}.first-entry-actions strong{font-size:13px}.first-entry-actions small{color:var(--foreground-subtle);margin-top:3px;font-size:12px}.first-entry-actions>*>svg:last-child{color:var(--foreground-subtle)}.empty-ledger-section{margin-top:36px}.empty-ledger-row{border-block:1px solid var(--border);grid-template-columns:auto 1fr;align-items:center;gap:12px;min-height:56px;padding:10px 4px;display:grid}.empty-ledger-row>span{border-radius:var(--radius-md);width:32px;height:32px;color:var(--foreground-subtle);background:var(--surface-subtle);place-items:center;display:grid}.empty-ledger-row>div{flex-direction:column;display:flex}.empty-ledger-row strong{font-size:13px}.empty-ledger-row small{color:var(--foreground-subtle);margin-top:3px;font-size:12px}.chart-summary{align-items:baseline;gap:10px;display:flex}.chart-summary>strong{letter-spacing:-.03em;font-size:24px}.chart-summary>span{align-items:center;font-size:12px;display:flex}.line-chart{height:176px;padding-top:10px}.line-chart svg{width:100%;height:145px;overflow:visible}.grid-lines line{stroke:var(--border);stroke-width:1px;stroke-dasharray:3 5;vector-effect:non-scaling-stroke}.area-path{fill:var(--accent-soft)}.line-path{fill:none;stroke:var(--accent);stroke-width:2px;vector-effect:non-scaling-stroke}.line-chart circle{fill:var(--surface-raised);stroke:var(--accent);stroke-width:2px}.chart-labels{color:var(--foreground-subtle);justify-content:space-between;font-size:12px;display:flex}.cashflow-legend{border-top:1px solid var(--border);color:var(--foreground-subtle);gap:20px;padding-top:12px;font-size:12px;display:flex}.cashflow-legend span{align-items:center;gap:6px;display:flex}.cashflow-legend i{background:var(--accent);border-radius:50%;width:6px;height:6px}.cashflow-legend i.expense-dot{background:var(--border-strong)}.cashflow-legend strong{color:var(--foreground);font-weight:600}.module-heading{margin-bottom:20px}.module-metrics{border-block:1px solid var(--border);grid-template-columns:repeat(3,minmax(140px,1fr)) minmax(170px,auto);min-height:72px;margin-bottom:20px;display:grid}.module-metrics>div{flex-direction:column;justify-content:center;padding:14px 20px;display:flex}.module-metrics>div+div{border-left:1px solid var(--border)}.module-metrics strong{letter-spacing:-.02em;margin-top:4px;font-size:16px}.module-metrics .period-control{align-items:flex-end}.period-control button{margin-top:4px}.module-toolbar{justify-content:space-between;align-items:center;gap:20px;min-height:56px;display:flex}.module-toolbar>label{border:1px solid var(--border);border-radius:var(--radius-md);width:min(280px,40vw);height:40px;color:var(--foreground-subtle);background:var(--surface-raised);align-items:center;gap:8px;padding:0 10px;display:flex}.module-toolbar input{width:100%;color:var(--foreground);background:0 0;border:0;outline:0;font-size:13px}.module-toolbar>div{gap:6px;display:flex}.contact-cell{align-items:center;gap:8px;display:flex}.contact-cell i{border-radius:var(--radius-sm);width:28px;height:28px;color:var(--accent);background:var(--accent-soft);place-items:center;font-size:12px;font-style:normal;font-weight:700;display:grid}.bank-account-bar{border:1px solid var(--border);border-radius:var(--radius-md) var(--radius-md) 0 0;background:var(--surface-raised);grid-template-columns:auto 1fr auto auto;align-items:center;gap:12px;min-height:56px;padding:8px 12px;display:grid}.bank-logo{border-radius:var(--radius-md);width:32px;height:32px;color:var(--accent);background:var(--accent-soft);place-items:center;display:grid}.bank-account-bar>span:nth-child(2){flex-direction:column;display:flex}.bank-account-bar strong{font-size:13px}.bank-account-bar>strong{font-size:16px}.bank-account-bar small{color:var(--foreground-subtle);margin-top:2px;font-size:12px}.banking-dialog{padding:24px}.banking-action-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;min-height:64px;padding:10px 0;display:flex}.banking-action-row>div:first-child{flex-direction:column;gap:3px;display:flex}.banking-action-row>div:first-child>strong{font-size:14px}.banking-action-row>div:first-child>small{color:var(--foreground-subtle);font-size:12px}.banking-search{border:1px solid var(--border);border-radius:var(--radius-md);width:min(340px,42vw);height:40px;color:var(--foreground-subtle);background:var(--surface-raised);align-items:center;gap:8px;padding:0 11px;display:flex}.banking-search:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.banking-search input{background:0 0;border:0;outline:0;width:100%;font-size:13px}.banking-filters{align-items:center;gap:8px;display:flex}.banking-filters select,.inline-match-select{border:1px solid var(--border);border-radius:var(--radius-md);max-width:220px;height:36px;color:var(--foreground);background:var(--surface-raised);padding:0 30px 0 10px;font-size:12px}.bank-account-list{border-top:1px solid var(--border)}.bank-account-card{border-bottom:1px solid var(--border);grid-template-columns:auto minmax(180px,1fr) minmax(90px,auto) minmax(110px,auto) minmax(150px,auto);align-items:center;gap:16px;min-height:72px;padding:12px 14px;display:grid}.bank-account-card:hover{background:var(--surface)}.bank-account-card>div{flex-direction:column;gap:3px;display:flex}.bank-account-card small{color:var(--foreground-subtle);font-size:12px}.bank-account-card strong{font-size:13px}.bank-account-card .align-right strong{font-size:16px}.bank-import-info{border-bottom:1px solid var(--border);min-height:190px;color:var(--accent);align-items:flex-start;gap:16px;padding:28px;display:flex}.bank-import-info h2{color:var(--foreground);margin:0 0 7px;font-size:16px}.bank-import-info p{max-width:680px;color:var(--foreground-muted);margin:0 0 10px;font-size:13px;line-height:1.55}.bank-import-info small,.neutral-help,.table-subline{color:var(--foreground-subtle)!important;font-size:11px!important}.table-subline{margin-top:3px;display:block}.banking-table tbody tr{cursor:default}.banking-table td:first-child{width:54px}.banking-table td:last-child{width:96px}.skeleton-line{border-bottom:1px solid var(--border);background:linear-gradient(90deg, var(--surface) 20%, var(--surface-subtle) 50%, var(--surface) 80%);background-size:220% 100%;height:56px;animation:1.4s infinite skeleton-shift}@keyframes skeleton-shift{to{background-position:-220% 0}}.purchase-dialog{width:min(100vw - 32px,860px);padding:24px}.vendor-dialog{padding:24px}.purchases-toolbar{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;min-height:64px;padding:10px 0;display:flex}.purchases-toolbar>label{border:1px solid var(--border);border-radius:var(--radius-md);width:min(340px,40vw);height:40px;color:var(--foreground-subtle);background:var(--surface-raised);align-items:center;gap:8px;padding:0 11px;display:flex}.purchases-toolbar>label:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.purchases-toolbar>label input{background:0 0;border:0;outline:0;width:100%;font-size:13px}.purchases-toolbar>div{align-items:center;gap:8px;display:flex}.purchases-toolbar>div>.field-help{margin-right:8px}.purchases-table{min-width:1160px}.purchases-table tbody tr{cursor:default}.attachment-link{max-width:170px;color:var(--accent);align-items:center;gap:5px;font-size:12px;display:inline-flex}.attachment-link:hover{color:var(--accent-hover)}.purchase-row-actions{text-align:right;width:116px}.purchase-lines-editor{border-block:1px solid var(--border);margin-top:18px}.purchase-lines-heading{justify-content:space-between;align-items:center;min-height:44px;display:flex}.purchase-lines-heading strong{font-size:13px}.purchase-line-row{border-top:1px solid var(--border);grid-template-columns:minmax(220px,1fr) minmax(130px,.35fr) minmax(100px,.25fr);gap:12px;padding:12px 40px 12px 0;display:grid;position:relative}.purchase-line-remove{position:absolute;bottom:12px;right:-6px}.purchase-total{border-bottom:1px solid var(--border);grid-template-columns:repeat(3,1fr);gap:16px;min-height:68px;padding:10px 0;display:grid}.purchase-total span{color:var(--foreground-subtle);flex-direction:column;justify-content:center;font-size:12px;display:flex}.purchase-total strong{color:var(--foreground);margin-top:3px;font-size:15px}.purchase-total span:last-child{border-left:1px solid var(--border);padding-left:16px}.purchase-total span:last-child strong{font-size:18px}.purchase-meta-grid{margin-top:16px}.journal-dialog{width:min(100vw - 32px,820px);padding:24px}.account-dialog{padding:24px}.accounting-toolbar{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;min-height:64px;padding:10px 0;display:flex}.accounting-toolbar>div{align-items:center;gap:8px;display:flex}.accounting-toolbar>div:first-child:not(:last-child){flex-direction:column;align-items:flex-start;gap:3px}.accounting-toolbar>div:first-child small{color:var(--foreground-subtle);font-size:12px}.accounting-search{border:1px solid var(--border);border-radius:var(--radius-md);width:min(360px,42vw);height:40px;color:var(--foreground-subtle);background:var(--surface-raised);align-items:center;gap:8px;padding:0 11px;display:flex}.accounting-search:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.accounting-search input{background:0 0;border:0;outline:0;width:100%;font-size:13px}.accounts-table tbody tr,.journal-table tbody tr{cursor:default}.journal-table{min-width:920px}.journal-lines{border-block:1px solid var(--border);margin-top:18px}.journal-lines-heading{justify-content:space-between;align-items:center;min-height:44px;display:flex}.journal-lines-heading strong{font-size:13px}.journal-line{border-top:1px solid var(--border);grid-template-columns:minmax(240px,1fr) 110px 150px auto;align-items:end;gap:10px;min-height:68px;padding:12px 0;display:grid}.period-list{border-top:1px solid var(--border)}.period-row{border-bottom:1px solid var(--border);grid-template-columns:auto 1fr auto minmax(210px,auto);align-items:center;gap:12px;min-height:68px;padding:10px 12px;display:grid}.period-icon{border-radius:var(--radius-md);width:32px;height:32px;color:var(--success);background:var(--success-soft);place-items:center;display:grid}.period-icon.review{color:var(--warning);background:var(--warning-soft)}.period-icon.locked{color:var(--foreground-muted);background:var(--surface-subtle)}.period-row>div:nth-child(2){flex-direction:column;gap:3px;display:flex}.period-row small{color:var(--foreground-subtle);font-size:12px}.period-actions{justify-content:flex-end;gap:6px;display:flex}.report-toolbar,.tax-period-heading{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;min-height:64px;padding:10px 0;display:flex}.report-toolbar>div,.tax-period-heading>div{flex-direction:column;gap:3px;display:flex}.report-toolbar small,.tax-period-heading small{color:var(--foreground-subtle);font-size:12px}.tax-period-heading .tax-filing-actions{flex-direction:row;align-items:center;gap:8px}.report-statement{border-bottom:1px solid var(--border);grid-template-columns:repeat(4,1fr);min-height:84px;display:grid}.report-statement>div{flex-direction:column;justify-content:center;padding:16px;display:flex}.report-statement>div+div{border-left:1px solid var(--border)}.report-statement span{color:var(--foreground-subtle);font-size:12px}.report-statement strong{margin-top:5px;font-size:18px}.success-text{color:var(--success)}.danger-text{color:var(--danger)}.monthly-report{border-bottom:1px solid var(--border)}.monthly-row{border-top:1px solid var(--border);grid-template-columns:80px 1fr 1fr 130px;align-items:center;gap:14px;min-height:70px;padding:10px 12px;display:grid}.monthly-row>div{align-items:center;height:28px;display:flex;position:relative}.monthly-row i{inset-block:6px;background:var(--accent-soft);border-left:2px solid var(--accent);border-radius:3px;position:absolute;left:0}.monthly-row i.expense{background:var(--warning-soft);border-left-color:var(--warning)}.monthly-row small{color:var(--foreground-muted);padding-left:8px;font-size:11px;position:relative}.monthly-row>strong{text-align:right;font-size:13px}.profit-report{max-width:760px;padding-top:12px}.profit-report>div{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;min-height:58px;padding:0 12px;display:flex}.profit-report span{color:var(--foreground-muted);font-size:13px}.profit-report strong{font-size:16px}.profit-report .profit-total{border-top:2px solid var(--foreground);min-height:72px}.profit-report .profit-total strong{font-size:22px}.profit-report p{color:var(--foreground-subtle);padding:14px 12px;font-size:12px}.open-items-layout{background:var(--border);grid-template-columns:1fr 1fr;gap:1px;display:grid}.open-items-layout article{background:var(--surface-raised);flex-direction:column;min-height:190px;padding:28px;display:flex}.open-items-layout span{color:var(--foreground-muted);font-size:13px}.open-items-layout strong{margin:12px 0;font-size:28px}.open-items-layout small{max-width:360px;color:var(--foreground-subtle);font-size:12px;line-height:1.5}.accounts-balance-table tbody tr{cursor:default}.vat-calculation{border-bottom:1px solid var(--border);grid-template-columns:1fr auto 1fr auto 1.2fr;align-items:center;gap:18px;min-height:150px;padding:24px 0;display:grid}.vat-calculation>div{background:var(--surface);flex-direction:column;justify-content:center;min-height:84px;padding:16px;display:flex}.vat-calculation>span{color:var(--foreground-subtle);font-size:20px}.vat-calculation div>span{color:var(--foreground-subtle);font-size:12px}.vat-calculation strong{margin-top:6px;font-size:19px}.vat-calculation .vat-payable{border-left:2px solid var(--accent);background:var(--accent-soft)}.transaction-list{border-inline:1px solid var(--border)}.transaction-row{border-bottom:1px solid var(--border);background:var(--surface);grid-template-columns:auto minmax(180px,1fr) minmax(155px,.7fr) 100px 72px;align-items:center;gap:12px;min-height:56px;padding:8px 12px;display:grid}.transaction-row:hover{background:var(--surface-raised)}.match-state{width:28px;height:28px;color:var(--foreground-subtle);background:var(--surface-subtle);border-radius:50%;place-items:center;display:grid}.match-state.matched{color:var(--success);background:var(--success-soft)}.transaction-main{flex-direction:column;min-width:0;display:flex}.transaction-main strong{font-size:13px}.transaction-main small{color:var(--foreground-subtle);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:12px;overflow:hidden}.transaction-main em{color:var(--foreground-subtle);margin-top:4px;font:12px ui-monospace,monospace}.match-suggestion{color:var(--warning);align-items:center;gap:6px;font-size:12px;display:flex}.match-suggestion.matched{color:var(--success)}.positive-amount,.negative-amount{text-align:right;font-variant-numeric:tabular-nums lining-nums;font-size:13px}.negative-amount{color:var(--danger)}.tax-layout{grid-template-columns:minmax(280px,.8fr) minmax(420px,1.2fr);gap:28px;display:grid}.filing-summary{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-raised);align-self:start;padding:20px}.filing-state{gap:12px;display:flex}.filing-state>span{border-radius:var(--radius-md);width:36px;height:36px;color:var(--accent);background:var(--accent-soft);flex:none;place-items:center;display:grid}.filing-state h2{margin-bottom:4px;font-size:16px}.filing-state p:last-child{color:var(--foreground-muted);margin:0;font-size:13px}.filing-total{border-block:1px solid var(--border);flex-direction:column;margin:20px 0 16px;padding:16px 0;display:flex}.filing-total span{color:var(--foreground-subtle);font-size:12px}.filing-total strong{letter-spacing:-.03em;margin:4px 0;font-size:24px}.filing-total small{color:var(--danger);font-size:12px}.report-list,.generic-list{border-top:1px solid var(--border)}.report-list>button,.generic-list>button{border:0;border-bottom:1px solid var(--border);text-align:left;cursor:pointer;background:0 0;grid-template-columns:auto 1fr auto auto;align-items:center;gap:12px;width:100%;min-height:56px;padding:8px 10px;display:grid}.report-list>button:hover,.generic-list>button:hover{background:var(--surface)}.report-icon,.generic-icon{border-radius:var(--radius-md);width:32px;height:32px;color:var(--accent);background:var(--accent-soft);place-items:center;display:grid}.report-list button>span:nth-child(2),.generic-list button>span:nth-child(2){flex-direction:column;display:flex}.report-list strong,.generic-list strong{font-size:13px}.report-list small,.generic-list small{color:var(--foreground-subtle);margin-top:3px;font-size:12px}.report-list em{border-radius:var(--radius-sm);min-width:52px;color:var(--foreground-muted);background:var(--surface-subtle);text-align:center;padding:4px 8px;font-size:12px;font-style:normal;font-weight:600}.owner-member-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;min-height:64px;padding:12px;display:flex}.owner-member-row .contact-cell>span{flex-direction:column;display:flex}.owner-member-row small{color:var(--foreground-subtle);margin-top:3px;font-size:12px}.settings-workspace{border-top:1px solid var(--border)}.settings-workspace:has(.settings-nav){grid-template-columns:220px minmax(0,1fr);gap:0;display:grid}.settings-nav{border-right:1px solid var(--border);flex-direction:column;gap:2px;padding:16px 12px;display:flex}.settings-nav a,.settings-nav button{border-radius:var(--radius-md);min-height:40px;color:var(--foreground-muted);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;padding:0 10px;font-size:13px;font-weight:500;display:flex}.settings-nav a.active,.settings-nav a[aria-current=page],.settings-nav button.active{color:var(--foreground);background:var(--accent-soft)}.settings-panel{min-width:0;padding:8px 0 24px}.settings-workspace .settings-summary{border-top:0}.settings-summary{border-top:1px solid var(--border);grid-template-columns:repeat(2,1fr);display:grid}.settings-summary>div{border-bottom:1px solid var(--border);flex-direction:column;min-height:84px;padding:18px 20px;display:flex}.settings-summary>div:nth-child(2n){border-left:1px solid var(--border)}.settings-summary span{color:var(--foreground-subtle);font-size:12px}.settings-summary strong{margin-top:6px;font-size:14px}.settings-summary>.settings-tax-rule{grid-column:1/-1;min-height:120px}.settings-tax-rule>.small-business-toggle{max-width:640px;margin-top:10px}.settings-tax-rule .small-business-toggle span{color:inherit}.settings-tax-rule .small-business-toggle strong{margin:0;font-size:13px}.invoice-settings-form{border-top:1px solid var(--border);grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px 32px;padding:28px 20px 32px;display:grid}.settings-readiness{border:1px solid var(--warning);border-radius:var(--radius-md);background:var(--warning-soft);min-height:56px;color:var(--warning);grid-column:1/-1;align-items:center;gap:12px;padding:12px 14px;display:flex}.settings-readiness.complete{border-color:var(--success);background:var(--success-soft);color:var(--success)}.settings-readiness>span{border-radius:var(--radius-md);width:32px;height:32px;color:var(--warning);background:var(--surface-raised);place-items:center;display:grid}.settings-readiness.complete>span{color:var(--success)}.settings-readiness div,.settings-section-title>div{flex-direction:column;gap:3px;display:flex}.settings-readiness strong,.settings-section-title strong{color:var(--foreground);font-size:13px}.settings-readiness small,.settings-section-title small{color:var(--foreground-muted);font-size:12px}.invoice-settings-form section{min-width:0}.settings-section-title{min-height:40px;color:var(--accent);align-items:flex-start;gap:10px;margin-bottom:14px;display:flex}.settings-form-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.settings-form-grid .field-wide{grid-column:1/-1}.settings-form-actions{border-top:1px solid var(--border);grid-column:1/-1;justify-content:flex-end;padding-top:16px;display:flex}.settings-form-actions .button:disabled{opacity:.55;cursor:wait}.cockpit-integration{border-top:1px solid var(--border);background:var(--surface);margin-top:24px}.cockpit-integration.loading,.cockpit-integration.error{min-height:96px;color:var(--foreground-muted);align-items:center;gap:10px;padding:24px 20px;font-size:13px;display:flex}.cockpit-integration>header{border-bottom:1px solid var(--border);background:var(--surface-raised);grid-template-columns:auto 1fr auto;align-items:start;gap:14px;min-height:108px;padding:24px 20px;display:grid}.cockpit-mark{border-radius:var(--radius-md);width:40px;height:40px;color:var(--accent);background:var(--accent-soft);place-items:center;display:grid}.cockpit-integration header p{color:var(--accent);letter-spacing:.08em;margin-bottom:4px;font-size:12px;font-weight:600}.cockpit-integration header h2{margin-bottom:6px;font-size:16px}.cockpit-integration header div>span{max-width:620px;color:var(--foreground-muted);font-size:13px;line-height:1.45;display:block}.cockpit-status-line{border-bottom:1px solid var(--border);background:var(--surface-raised);grid-template-columns:repeat(3,1fr);display:grid}.cockpit-status-line>div{flex-direction:column;gap:4px;min-height:84px;padding:16px 20px;display:flex}.cockpit-status-line>div+div{border-left:1px solid var(--border)}.cockpit-status-line span{color:var(--foreground-subtle);font-size:12px}.cockpit-status-line strong{font-size:13px}.cockpit-status-line small{color:var(--foreground-subtle);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.cockpit-controls{grid-template-columns:minmax(240px,.85fr) minmax(340px,1.15fr);gap:12px;padding:20px;display:grid}.integration-master{border:1px solid var(--border);border-radius:var(--radius-md);text-align:left;min-height:88px;color:var(--foreground);background:var(--surface-raised);cursor:pointer;align-items:flex-start;gap:12px;padding:16px;display:flex}.integration-master.selected{border-color:var(--accent);background:var(--accent-soft)}.integration-master>span{border:1px solid var(--border-strong);width:20px;height:20px;color:var(--surface-raised);background:var(--surface-raised);border-radius:5px;flex:none;place-items:center;display:grid}.integration-master.selected>span{border-color:var(--accent);background:var(--accent)}.integration-master div,.integration-scope button span{flex-direction:column;gap:4px;display:flex}.integration-master strong,.integration-scope strong{font-size:13px}.integration-master small,.integration-scope small{color:var(--foreground-muted);font-size:12px;line-height:1.45}.integration-scope{gap:8px;display:grid}.integration-scope button{border:1px solid var(--border);border-radius:var(--radius-md);text-align:left;min-height:48px;color:var(--foreground-muted);background:var(--surface-raised);cursor:pointer;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:10px 12px;display:grid}.integration-scope button[aria-pressed=true]{color:var(--accent);border-color:var(--accent)}.integration-scope button i{color:inherit;font-size:12px;font-style:normal;font-weight:700}.cockpit-integration>footer{border-top:1px solid var(--border);background:var(--surface-raised);justify-content:space-between;align-items:center;gap:20px;min-height:64px;padding:12px 20px;display:flex}.cockpit-integration footer p{color:var(--foreground-muted);align-items:center;gap:8px;font-size:12px;display:flex}.cockpit-integration footer p svg{color:var(--accent)}.cockpit-integration footer>div{gap:8px;display:flex}.cockpit-integration button:disabled{opacity:.45;cursor:not-allowed}.invoice-editor-overlay{z-index:var(--z-modal)}.invoice-editor-shell{z-index:calc(var(--z-modal) + 1);border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--canvas);box-shadow:var(--shadow-float);grid-template-rows:56px minmax(0,1fr);display:grid;position:fixed;inset:12px;overflow:hidden}.invoice-editor-header{border-bottom:1px solid var(--border);background:var(--surface-raised);grid-template-columns:minmax(180px,1fr) auto minmax(320px,1fr);align-items:center;gap:16px;padding:0 14px 0 18px;display:grid}.invoice-editor-header>div:first-child{align-items:baseline;gap:10px;display:flex}.invoice-editor-header h2{margin:0;font-size:16px}.invoice-editor-header p{color:var(--foreground-muted);margin:0;font-size:13px}.invoice-editor-header>div:last-child{justify-self:end;gap:8px;display:flex}.editor-save-state{color:var(--foreground-subtle);padding-left:14px;font-size:12px;font-weight:600;position:relative}.editor-save-state:before{content:"";background:var(--foreground-subtle);border-radius:50%;width:7px;height:7px;margin-top:-3px;position:absolute;top:50%;left:0}.editor-save-state.dirty{color:var(--warning)}.editor-save-state.dirty:before{background:var(--warning)}.editor-save-state.saving{color:var(--info)}.editor-save-state.saving:before{background:var(--info)}.editor-save-state.saved{color:var(--success)}.editor-save-state.saved:before{background:var(--success)}.editor-save-state.issued{color:var(--foreground-muted)}.editor-save-state.issued:before{background:var(--border-strong)}.editor-save-state.error{color:var(--danger)}.editor-save-state.error:before{background:var(--danger)}.invoice-editor-header .button:disabled{opacity:.42;cursor:not-allowed}.invoice-mobile-switch{display:none}.nav-more{width:100%;color:var(--sidebar-text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;padding:10px 12px;display:flex}.nav-scope-note{color:var(--sidebar-muted);padding:10px 12px;font-size:12px}.sidebar[data-collapsed=true] .nav-more span{display:none}.invoice-workflow{border-block:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:12px 24px;margin-bottom:20px;padding:16px 0;display:flex}.invoice-workflow a{color:var(--accent);font-weight:600}.invoice-workflow small{color:var(--foreground-muted);flex-basis:100%}.invoice-next-steps{border-bottom:1px solid var(--border);padding:16px}.invoice-next-steps h3{margin-bottom:8px;font-size:15px}.invoice-next-steps p{color:var(--foreground-muted);margin-block:8px;font-size:14px;line-height:1.5}.invoice-next-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.invoice-prototype{border-top:1px solid var(--border);margin-top:12px;padding-top:12px}.invoice-editor-workspace{grid-template-columns:minmax(560px,1fr) 390px;min-height:0;display:grid}.invoice-canvas{background:var(--canvas);grid-template-columns:168px minmax(0,1fr);align-items:start;gap:16px;min-width:0;padding:20px 24px 32px;display:grid;overflow:auto}.invoice-structure{flex-direction:column;gap:4px;padding:8px 4px 8px 0;display:flex;position:sticky;top:16px}.invoice-structure p{color:var(--foreground-subtle);margin:0 8px 8px;font-size:12px;font-weight:600}.invoice-structure button{border-radius:var(--radius-sm);width:100%;min-height:36px;color:var(--foreground-muted);text-align:left;cursor:pointer;background:0 0;border:0;padding:6px 8px;font-size:13px;font-weight:600}.invoice-structure button.active,.invoice-structure button[aria-current=true]{color:var(--accent-hover);background:var(--accent-soft)}.invoice-preview-stage{min-width:0}.invoice-pdf-frame{border:1px solid var(--border);background:#fff;width:100%;max-width:820px;height:calc(100vh - 150px);min-height:640px;display:block}.invoice-zoom{justify-content:flex-end;gap:4px;margin-bottom:12px;display:flex}.invoice-zoom button{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-raised);cursor:pointer;min-width:52px;min-height:32px;padding:0 8px;font-size:12px;font-weight:600}.invoice-zoom button[aria-pressed=true]{color:var(--accent-hover);border-color:var(--accent);background:var(--accent-soft)}@font-face{font-family:DM Sans Document;font-weight:400;src:url(/fonts/DMSans-Regular.ttf)format("truetype")}@font-face{font-family:DM Sans Document;font-weight:500;src:url(/fonts/DMSans-Medium.ttf)format("truetype")}@font-face{font-family:DM Sans Document;font-weight:600;src:url(/fonts/DMSans-SemiBold.ttf)format("truetype")}@font-face{font-family:DM Sans Document Tabular;font-weight:400;src:url(/fonts/DMSansTabular-Regular.ttf)format("truetype")}.invoice-preview-pages{flex-direction:column;gap:16px;display:flex;position:relative}.invoice-preview-scale{flex:none}.invoice-preview-page{transform-origin:0 0;border:1px solid var(--border);background:#fff;width:680px;height:962px;transition:transform .18s;overflow:hidden}.doc-page{width:100%;height:100%;font-family:"DM Sans Document", var(--font);font-variant-numeric:lining-nums;position:relative}.doc-page p,.doc-page h1,.doc-page dl,.doc-page dd,.doc-page figure{margin:0}.doc-page{--doc-space:.266em}.doc-measure{width:var(--doc-content);visibility:hidden;pointer-events:none;height:auto;position:absolute;top:0;left:0}.doc-head{position:absolute;inset:0}.doc-head>*{position:absolute}.doc-fold{height:var(--doc-hairline-width);background:var(--doc-hairline)}.doc-lockup{left:var(--doc-left)}.doc-lockup strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.doc-lockup.wrapped strong{white-space:normal;padding-right:var(--doc-space);overflow:visible}.doc-lockup i{background:var(--doc-accent);display:block}.doc-logo{left:var(--doc-left);object-fit:contain;object-position:left center}.doc-contact{left:var(--doc-left);width:var(--doc-content);text-align:right;pointer-events:none}.doc-address{left:var(--doc-left)}.doc-address small,.doc-address p span{overflow-wrap:anywhere;padding-right:var(--doc-space);display:block}.doc-info>div{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.doc-continuation>div{left:var(--doc-left);width:var(--doc-content);justify-content:space-between;align-items:flex-start;display:flex;position:absolute}.doc-continuation>i{left:var(--doc-left);width:var(--doc-content);height:var(--doc-hairline-width);background:var(--doc-hairline);position:absolute}.doc-continuation-name{overflow-wrap:anywhere;padding-right:var(--doc-space);box-sizing:border-box;display:block}.doc-flow-block{left:var(--doc-left);width:var(--doc-content);position:absolute}.doc-title{letter-spacing:0;white-space:pre-wrap;overflow-wrap:anywhere;padding-right:var(--doc-space)}.doc-text{white-space:pre-wrap;overflow-wrap:anywhere;padding-right:var(--doc-space)}.doc-table-head,.doc-table-row{align-items:start;display:grid}.doc-table-head{box-shadow:inset 0 calc(-1 * var(--doc-strong-width)) var(--doc-ink)}.doc-table-row{padding:var(--doc-row-padding) 0;box-shadow:inset 0 calc(-1 * var(--doc-hairline-width)) var(--doc-hairline)}.doc-table-row>span:nth-child(2){padding-right:calc(9.14px + var(--doc-space));white-space:pre-wrap;overflow-wrap:anywhere}.doc-line-part{display:block}.doc-table-head>span:nth-child(n+3),.doc-table-row>span:nth-child(n+3){text-align:right}.doc-totals{margin-left:auto}.doc-totals>div{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.doc-grand-total{border-top:var(--doc-strong-width) solid var(--doc-ink);box-sizing:content-box;align-items:baseline!important}.doc-note{padding-left:11.42px;padding-right:var(--doc-space);box-shadow:inset 2px 0 var(--doc-accent);overflow-wrap:anywhere}.doc-block-title{overflow-wrap:anywhere;padding-right:var(--doc-space);display:block}.doc-bank>div{align-items:start;display:grid}.doc-bank dd{overflow-wrap:anywhere;padding-right:var(--doc-space)}.doc-payment{justify-content:space-between;align-items:flex-start;display:flex}.doc-payment>div{flex:none;min-width:0}.doc-payment figure{text-align:right;flex:none}.doc-payment svg{margin-left:auto;display:block}.doc-footer>*{left:var(--doc-left);width:var(--doc-content);position:absolute}.doc-footer>i{height:var(--doc-hairline-width);background:var(--doc-hairline)}.doc-footer>span{text-align:right}.doc-footer-columns{display:grid}.doc-footer-columns>span{padding-right:calc(12.95px + var(--doc-space));overflow-wrap:anywhere}.logo-settings{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.logo-settings-preview{border:1px solid var(--border);border-radius:var(--radius-sm);background:#fff;align-items:center;width:220px;height:72px;padding:8px 12px;display:flex}.logo-settings-preview img{object-fit:contain;max-width:100%;max-height:100%}.logo-settings-preview span{color:var(--foreground);text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:600;overflow:hidden}.logo-settings-actions{flex-wrap:wrap;flex:1;align-items:center;gap:8px;min-width:0;display:flex}.logo-settings-actions small{flex-basis:100%}.invoice-inspector{border-left:1px solid var(--border);background:var(--surface-raised);flex-direction:column;min-width:0;min-height:0;display:flex;overflow-y:auto}.editor-issued-note{border-bottom:1px solid var(--border);color:var(--foreground-muted);background:var(--warning-soft);padding:12px 14px;font-size:13px;line-height:1.45}.editor-issued-note strong{color:var(--foreground);font-size:13px;display:block}.editor-issued-note a{color:var(--accent);margin-top:8px;font-weight:600;display:inline-block}.invoice-inspector>nav{border-bottom:1px solid var(--border);background:var(--surface);flex:none;grid-template-columns:repeat(3,1fr);gap:4px;padding:6px;display:grid}.invoice-inspector>nav button{border-radius:var(--radius-sm);min-height:36px;color:var(--foreground-subtle);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;gap:6px;font-size:12px;font-weight:600;display:flex}.invoice-inspector>nav button.active{color:var(--accent-hover);background:var(--accent-soft)}.inspector-content{flex:1;min-height:0;padding:20px;overflow-y:auto}.inspector-content>.field{margin-bottom:12px}.inspector-heading{border-bottom:1px solid var(--border);flex-direction:column;gap:4px;margin-bottom:16px;padding-bottom:12px;display:flex}.inspector-heading strong{font-size:14px}.inspector-heading small{color:var(--foreground-muted);font-size:12px;line-height:1.45}.protected-fields{border:1px solid var(--accent);border-radius:var(--radius-md);min-height:52px;color:var(--accent-hover);background:var(--accent-soft);align-items:center;gap:10px;margin-top:16px;padding:10px 12px;display:flex}.protected-fields>span{flex-direction:column;gap:3px;display:flex}.protected-fields strong{font-size:13px}.protected-fields small{color:var(--foreground-muted);font-size:12px}.editor-lines-list{gap:12px;display:grid}.editor-line-item{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);padding:12px}.editor-line-item>div:first-child{min-height:28px;color:var(--foreground-subtle);align-items:center;gap:6px;margin-bottom:8px;display:flex}.editor-line-item>div:first-child strong{color:var(--foreground);font-size:13px}.editor-line-item>div:first-child button{color:var(--danger);cursor:pointer;background:0 0;border:0;margin-left:auto}.editor-line-item>.field+.field{margin-top:8px}.editor-line-hint{font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin-bottom:0;display:flex}.editor-line-numbers{grid-template-columns:.75fr 1fr .75fr;gap:8px;margin-top:8px;display:grid}.editor-add-button{width:100%;margin-top:12px}.quote-editor-dialog{width:min(100vw - 32px,760px)}.quote-editor-lines-heading{justify-content:space-between;align-items:baseline;gap:12px;margin:20px 0 10px;display:flex}.quote-editor-lines-heading strong{font-size:14px}.quote-editor-lines-heading span{color:var(--foreground-subtle);font-size:12px}.quote-editor-line-actions{gap:2px;margin-left:auto;display:inline-flex}.editor-line-item>div:first-child .quote-editor-line-actions button{border-radius:var(--radius-md);width:28px;height:28px;color:var(--foreground-muted);place-items:center;margin-left:0;display:inline-grid}.editor-line-item>div:first-child .quote-editor-line-actions button.danger{color:var(--danger)}.editor-line-item>div:first-child .quote-editor-line-actions button:hover:not(:disabled){background:var(--accent-soft)}.editor-line-item>div:first-child .quote-editor-line-actions button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.editor-line-item>div:first-child .quote-editor-line-actions button:disabled{opacity:.35;cursor:default}.quote-editor-dialog .editor-line-item textarea{min-height:60px}.custom-block-heading{border-top:1px solid var(--border);justify-content:space-between;align-items:flex-end;min-height:44px;margin-top:20px;display:flex}.custom-block-heading strong{font-size:13px}.custom-block-list{gap:10px;margin-top:10px;display:grid}.custom-block-list section{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);padding:10px}.custom-block-list section>div{color:var(--foreground-subtle);align-items:center;gap:4px;margin-bottom:8px;font-size:12px;display:flex}.custom-block-list section>div span{color:var(--foreground-muted);margin-right:auto;font-weight:600}.custom-block-list section>div button{border-radius:var(--radius-sm);width:36px;height:36px;color:var(--foreground-subtle);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.custom-block-list section>div button:hover{color:var(--foreground);background:var(--surface-subtle)}.custom-block-list section>div button:disabled{opacity:.25;cursor:not-allowed}.custom-block-list input{border-radius:var(--radius-sm) var(--radius-sm) 0 0;height:36px;font-weight:600}.custom-block-list textarea{border-radius:0 0 var(--radius-sm) var(--radius-sm);border-top:0}.landing-page{min-height:100vh;color:var(--foreground);background:var(--canvas)}.landing-nav{z-index:20;height:72px;color:var(--sidebar-text);justify-content:space-between;align-items:center;padding:0 clamp(20px,5vw,72px);display:flex;position:absolute;inset:0 0 auto}.landing-brand strong{color:inherit;letter-spacing:-.02em;font-size:15px;font-weight:700}.landing-brand small{color:var(--sidebar-muted);letter-spacing:.08em;text-transform:uppercase;margin-top:2px;font-size:12px}.landing-nav .brand-mark{background:var(--accent-soft)}.landing-nav nav{gap:28px;display:flex}.landing-nav nav a{color:var(--sidebar-muted);font-size:13px;font-weight:500}.landing-nav nav a:hover{color:var(--surface-raised)}.landing-nav>div{align-items:center;gap:16px;display:flex}.landing-nav>div>button{width:40px;height:40px;color:var(--surface-raised);background:0 0;border:0;display:none}.landing-login{color:var(--sidebar-text);font-size:13px;font-weight:600}.landing-cta{border-radius:var(--radius-md);height:40px;color:var(--surface-raised);background:var(--accent);align-items:center;gap:8px;padding:0 14px;font-size:13px;font-weight:600;display:inline-flex}.landing-cta:hover{background:var(--accent-hover)}.landing-hero{height:100svh;min-height:640px;max-height:820px;color:var(--sidebar-text);background:var(--sidebar);grid-template-columns:minmax(360px,.9fr) minmax(400px,1.1fr);align-items:center;gap:clamp(40px,7vw,96px);padding:120px clamp(20px,6vw,96px) 64px;display:grid;position:relative;overflow:hidden}.hero-copy{z-index:2;max-width:600px;position:relative}.hero-copy>p{color:var(--accent-soft);letter-spacing:.1em;text-transform:uppercase;margin-bottom:16px;font-size:12px;font-weight:600}.hero-copy h1{color:var(--surface-raised);letter-spacing:-.04em;margin-bottom:20px;font-size:clamp(36px,4.6vw,56px);line-height:1.05}.hero-copy>div>span{max-width:500px;color:var(--sidebar-muted);font-size:16px;line-height:1.55;display:block}.hero-actions{align-items:center;gap:20px;margin-top:28px;display:flex}.hero-actions a:first-child{border-radius:var(--radius-md);height:44px;color:var(--foreground);background:var(--surface-raised);align-items:center;gap:8px;padding:0 16px;font-size:14px;font-weight:600;display:inline-flex}.hero-actions a:last-child{color:var(--sidebar-text);border-bottom:1px solid #ffffff2e;padding-bottom:2px;font-size:14px}.hero-ledger{z-index:2;border-radius:var(--radius-lg);background:var(--sidebar-soft);border:1px solid #ffffff1a;justify-self:end;width:100%;max-width:520px;padding:20px;position:relative}.ledger-top{color:var(--sidebar-text);border-bottom:1px solid #ffffff1a;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding-bottom:16px;font-size:13px;font-weight:600;display:grid}.ledger-top em{color:var(--sidebar-muted);font-size:12px;font-style:normal;font-weight:400}.ledger-logo{border-radius:var(--radius-md);width:32px;height:32px;color:var(--accent-soft);background:#ffffff14;place-items:center;display:grid}.ledger-flow{padding:20px 4px}.ledger-flow>div{border-radius:var(--radius-md);background:#0000002e;border:1px solid #ffffff14;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;min-height:56px;padding:10px 12px;display:grid}.ledger-flow>div>span{border-radius:var(--radius-md);width:32px;height:32px;color:var(--accent-soft);background:#ffffff0f;place-items:center;display:grid}.ledger-flow p{flex-direction:column;margin:0;display:flex}.ledger-flow strong{color:var(--surface-raised);font-size:13px}.ledger-flow small{color:var(--sidebar-muted);margin-top:3px;font-size:12px}.ledger-flow>div>svg{color:var(--accent)}.ledger-flow>i{background:#ffffff1f;width:1px;height:16px;margin:0 0 0 28px;display:block}.ledger-footer{color:var(--sidebar-muted);border-top:1px solid #ffffff1a;justify-content:space-between;padding-top:14px;font-size:12px;display:flex}.ledger-footer span{align-items:center;gap:6px;display:flex}.hero-orbit,.orbit-one,.orbit-two{display:none}.landing-statement{padding:80px clamp(20px,6vw,96px) 64px}.landing-statement>p{max-width:460px;color:var(--foreground-muted);margin:0 0 64px auto;font-size:16px;line-height:1.55}.landing-statement>div{grid-template-columns:96px 1fr;align-items:start;display:grid}.landing-statement span{color:var(--accent);font-size:13px;font-weight:600}.landing-statement h2{max-width:860px;margin:0;font-size:clamp(28px,4vw,44px);line-height:1.12}.feature-sequence{padding:0 clamp(20px,6vw,96px) 80px}.feature-sequence article{border-top:1px solid var(--border);grid-template-columns:1fr auto;align-items:center;gap:28px;min-height:180px;padding:40px 0;display:grid}.feature-sequence article:last-child{border-bottom:1px solid var(--border)}.feature-sequence article>div{grid-template-columns:140px 1fr;column-gap:28px;max-width:680px;display:grid}.feature-sequence article span{color:var(--accent);text-transform:uppercase;letter-spacing:.06em;grid-row:span 2;font-size:12px;font-weight:600}.feature-sequence h3{margin-bottom:10px;font-size:clamp(20px,2.2vw,28px)}.feature-sequence p{max-width:560px;color:var(--foreground-muted);margin:0;font-size:15px;line-height:1.55}.feature-sequence article>svg{color:var(--border-strong);margin-right:24px}.security-section{color:var(--sidebar-text);background:var(--sidebar);grid-template-columns:1fr 1fr;gap:8vw;padding:80px clamp(20px,6vw,96px);display:grid}.security-section .section-kicker{color:var(--accent-soft)}.security-section h2{max-width:520px;color:var(--surface-raised);margin-bottom:16px;font-size:clamp(28px,3.4vw,40px);line-height:1.12}.security-section>div>p:last-child{max-width:500px;color:var(--sidebar-muted);font-size:15px;line-height:1.55}.security-section ul{border-top:1px solid #ffffff1a;margin:0;padding:0;list-style:none}.security-section li{border-bottom:1px solid #ffffff1a;grid-template-columns:auto 1fr;align-items:center;gap:14px;min-height:84px;padding:16px 2px;display:grid}.security-section li>svg{color:var(--accent-soft)}.security-section li span{flex-direction:column;display:flex}.security-section li strong{font-size:14px}.security-section li small{color:var(--sidebar-muted);margin-top:4px;font-size:13px}.pricing-section{grid-template-columns:1fr 1fr;gap:8vw;padding:80px clamp(20px,6vw,96px);display:grid}.pricing-section h2{max-width:560px;margin-bottom:12px;font-size:clamp(28px,3.4vw,40px);line-height:1.12}.pricing-section>div:first-child>p:last-child{color:var(--foreground-muted);font-size:15px}.price-line{border-block:1px solid var(--border);grid-template-columns:1fr auto;align-items:baseline;gap:16px;padding:8px 0 24px;display:grid}.price-line>span{font-weight:700}.price-line>strong{letter-spacing:-.03em;font-size:36px}.price-line>strong small{color:var(--foreground-subtle);font:400 13px var(--font);letter-spacing:0}.price-line ul{color:var(--foreground-muted);grid-column:span 2;gap:16px;margin:4px 0;padding:0;font-size:13px;list-style:none;display:flex}.price-line li{align-items:center;gap:6px;display:flex}.price-line>a{border-radius:var(--radius-md);height:44px;color:var(--surface-raised);background:var(--accent);grid-column:span 2;justify-content:center;align-items:center;gap:8px;font-size:14px;font-weight:600;display:flex}.final-cta{text-align:center;min-height:360px;color:var(--surface-raised);background:var(--sidebar);flex-direction:column;justify-content:center;align-items:center;padding:72px 24px;display:flex}.final-cta p{color:var(--accent-soft);letter-spacing:.1em;text-transform:uppercase;font-size:12px}.final-cta h2{color:var(--surface-raised);margin-bottom:28px;font-size:clamp(32px,5vw,52px);line-height:1.08}.final-cta a{border-radius:var(--radius-md);height:44px;color:var(--foreground);background:var(--surface-raised);align-items:center;gap:8px;padding:0 16px;font-size:14px;font-weight:600;display:flex}.landing-footer{min-height:64px;color:var(--sidebar-muted);background:var(--sidebar);border-top:1px solid #ffffff14;justify-content:space-between;align-items:center;padding:0 clamp(20px,5vw,72px);font-size:12px;display:flex}.landing-footer div{gap:20px;display:flex}.setup-page{background:var(--canvas);grid-template-columns:340px 1fr;min-height:100vh;display:grid}.setup-aside{min-height:100vh;color:var(--sidebar-text);background:var(--sidebar);flex-direction:column;padding:28px 32px;display:flex;position:relative;overflow:hidden}.setup-aside .landing-brand{z-index:2;position:relative}.setup-aside-copy{z-index:2;margin:64px 0 40px;position:relative}.setup-aside-copy>p{color:var(--accent-soft);letter-spacing:.1em;text-transform:uppercase;margin-bottom:10px;font-size:12px;font-weight:600}.setup-aside-copy h1{color:var(--surface-raised);margin-bottom:12px;font-size:24px;line-height:1.2}.setup-aside-copy>span{color:var(--sidebar-muted);font-size:14px;line-height:1.5}.setup-aside ol{z-index:2;margin:0;padding:0;list-style:none;position:relative}.setup-aside li{opacity:.45;grid-template-columns:auto 1fr;align-items:start;gap:12px;min-height:64px;display:grid;position:relative}.setup-aside li:after{content:"";background:#ffffff1f;width:1px;height:28px;position:absolute;top:32px;left:15px}.setup-aside li:last-child:after{display:none}.setup-aside li.active,.setup-aside li.complete{opacity:1}.setup-aside li>span{width:32px;height:32px;color:var(--sidebar-muted);border:1px solid #ffffff29;border-radius:50%;place-items:center;display:grid}.setup-aside li.active>span{border-color:var(--accent);color:var(--accent-soft);background:var(--sidebar-soft)}.setup-aside li.complete>span{color:var(--sidebar);border-color:var(--accent-soft);background:var(--accent-soft)}.setup-aside li div{flex-direction:column;padding-top:2px;display:flex}.setup-aside li strong{font-size:13px}.setup-aside li small{color:var(--sidebar-muted);margin-top:3px;font-size:12px}.setup-security{z-index:2;color:var(--sidebar-muted);align-items:center;gap:8px;margin-top:auto;font-size:12px;display:flex;position:relative}.setup-main{grid-template-rows:56px 1fr 72px;min-height:100vh;display:grid}.setup-top{border-bottom:1px solid var(--border);color:var(--foreground-subtle);grid-template-columns:auto minmax(100px,200px) 1fr;align-items:center;gap:14px;padding:0 clamp(24px,5vw,64px);font-size:12px;display:grid}.setup-top>div{background:var(--surface-subtle);border-radius:9px;height:4px;overflow:hidden}.setup-top i{background:var(--accent);height:100%;display:block}.setup-top a{color:var(--foreground-muted);justify-self:end}.setup-form-wrap{place-self:start center;width:min(100%,760px);padding:48px 48px 32px}.setup-step>h2{margin-bottom:8px;font-size:clamp(22px,2.4vw,28px)}.setup-step>p:not(.section-kicker){max-width:560px;color:var(--foreground-muted);margin-bottom:28px;font-size:14px}.setup-fields{grid-template-columns:1fr 1fr;gap:16px;display:grid}.setup-fields label.full,.setup-fields>.full{grid-column:span 2}.choice-grid{grid-template-columns:repeat(2,1fr);gap:8px;display:grid}.choice-grid.three{grid-template-columns:repeat(3,1fr)}.choice-grid button{border:1px solid var(--border);border-radius:var(--radius-md);text-align:left;min-height:44px;color:var(--foreground-muted);background:var(--surface-raised);cursor:pointer;justify-content:space-between;align-items:center;padding:0 12px;font-size:13px;display:flex}.choice-grid button.selected{border-color:var(--accent);color:var(--accent-hover);background:var(--accent-soft)}.choice-grid button:disabled{cursor:not-allowed}.tax-cadence-block.disabled{opacity:.5}.field-help{color:var(--foreground-subtle);margin-top:2px;font-size:12px}.small-business-toggle{border:1px solid var(--border);border-radius:var(--radius-md);text-align:left;width:100%;min-height:72px;color:var(--foreground);background:var(--surface-raised);cursor:pointer;align-items:flex-start;gap:12px;padding:14px 16px;display:flex}.small-business-toggle:hover{border-color:var(--border-strong)}.small-business-toggle.selected{border-color:var(--accent);background:var(--accent-soft)}.small-business-toggle:disabled{opacity:.65;cursor:wait}.small-business-check{border:1px solid var(--border-strong);width:20px;height:20px;color:var(--surface-raised);background:var(--surface-raised);border-radius:5px;flex:none;place-items:center;margin-top:1px;display:grid}.small-business-toggle.selected .small-business-check{border-color:var(--accent);background:var(--accent)}.small-business-toggle>span:last-child{flex-direction:column;gap:4px;display:flex}.small-business-toggle strong{margin:0;font-size:13px}.small-business-toggle small{max-width:560px;color:var(--foreground-muted);font-size:12px;line-height:1.45}.large-choice-list{gap:10px;margin-bottom:24px;display:grid}.large-choice-list button{border:1px solid var(--border);border-radius:var(--radius-md);text-align:left;background:var(--surface-raised);cursor:pointer;justify-content:space-between;align-items:center;min-height:72px;padding:14px 16px;display:flex}.large-choice-list button.selected{border-color:var(--accent);background:var(--accent-soft)}.large-choice-list button span{flex-direction:column;display:flex}.large-choice-list strong{font-size:14px}.large-choice-list small{color:var(--foreground-muted);margin-top:4px;font-size:13px}.large-choice-list svg{color:var(--accent)}.setup-select{margin-top:16px}.setup-summary{border-block:1px solid var(--border);grid-template-columns:repeat(2,1fr);margin:28px 0 20px;display:grid}.setup-summary>div{flex-direction:column;min-height:72px;padding:14px 8px;display:flex}.setup-summary>div:nth-child(2n){border-left:1px solid var(--border);padding-left:24px}.setup-summary>div:nth-child(n+3){border-top:1px solid var(--border)}.setup-summary span{color:var(--foreground-subtle);font-size:12px}.setup-summary strong{margin-top:4px;font-size:14px}.setup-actions{border-top:1px solid var(--border);background:var(--canvas);justify-content:space-between;align-items:center;padding:0 clamp(24px,5vw,64px);display:flex}.setup-actions .button:disabled{opacity:.38;cursor:not-allowed}.spin{animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important}}@media (width<=1440px){.main-content{padding-inline:clamp(20px,2.4vw,40px)}}@media (width<=1280px){:root{--sidebar-width:220px}.invoice-editor-workspace{grid-template-columns:minmax(0,1fr) 360px}}@media (width<=1050px){:root{--sidebar-width:214px}.dashboard-grid,.onboarding-dashboard,.tax-layout{grid-template-columns:1fr}.cashflow-section,.progress-panel,.trend-panel,.first-entry-panel{border-left:0;border-top:1px solid var(--border);padding:24px 0 0}.expert-toggle>span{display:none}.transaction-row{grid-template-columns:auto 1fr 130px 85px}.transaction-row .button{display:none}.metric-strip,.fin-headline{grid-template-columns:1.2fr 1fr 1fr}.metric-strip>div:nth-child(4),.fin-headline>div:nth-child(4){border-left:0;border-top:1px solid var(--border);grid-column:1/-1}}@media (width<=800px){:is(:root,.app-shell:has(.sidebar[data-collapsed])){--sidebar-width:0px}.sidebar{width:min(280px,88vw);transition:transform .2s var(--ease);box-shadow:var(--shadow-float);padding-top:calc(12px + env(safe-area-inset-top,0px));transform:translate(-100%)}.sidebar.mobile-open{transform:translate(0)}.workspace{margin-left:0}.mobile-menu,.mobile-close{display:inline-grid}.sidebar-collapse{display:none}.mobile-overlay{z-index:var(--z-overlay);background:#101c1b66;border:0;display:block;position:fixed;inset:0}.mobile-tabbar{display:flex}.breadcrumbs{display:none}.topbar{padding-inline:12px;padding-top:env(safe-area-inset-top,0px);height:calc(var(--topbar-height) + env(safe-area-inset-top,0px))}.search-trigger{background:0 0;border-color:#0000;justify-content:center;width:40px;padding:0}.search-trigger span,.search-trigger kbd,.top-icon,.expert-toggle{display:none}.main-content{padding:20px 16px calc(80px + env(safe-area-inset-bottom,0px))}.toast{bottom:calc(72px + env(safe-area-inset-bottom,0px))}.metric-strip,.fin-headline{grid-template-columns:1fr 1fr}.metric-strip>div:first-child,.fin-headline>div:first-child{grid-column:1/-1}.metric-strip>div+div,.fin-headline>div+div{border-left:1px solid var(--border)}.metric-strip>div:nth-child(2),.fin-headline>div:nth-child(2){border-left:0}.metric-strip>div:nth-child(n+2),.fin-headline>div:nth-child(n+2){border-top:1px solid var(--border)}.page-heading{align-items:flex-start}.module-metrics{grid-template-columns:repeat(2,1fr)}.module-metrics>div:nth-child(3){border-left:0;border-top:1px solid var(--border)}.module-metrics>div:nth-child(4){border-top:1px solid var(--border)}.module-metrics .period-control{align-items:flex-start}.transaction-row{grid-template-columns:auto 1fr auto}.match-suggestion{grid-column:2/4}.bank-account-card{grid-template-columns:auto 1fr 1fr}.bank-account-card>div:nth-child(4),.bank-account-card>div:nth-child(5){grid-column:span 1}.banking-table{min-width:900px}.purchases-toolbar{flex-direction:column;align-items:stretch}.purchases-toolbar>label{width:100%}.purchases-toolbar>div{overflow-x:auto}.purchase-line-row{grid-template-columns:1fr 1fr}.purchase-line-row>.field:first-child{grid-column:1/-1}.accounting-toolbar{flex-direction:column;align-items:stretch}.accounting-search{width:100%}.journal-line{grid-template-columns:1fr 1fr}.journal-line>.field:first-child{grid-column:1/-1}.period-row{grid-template-columns:auto 1fr auto}.period-actions{grid-column:2/-1;justify-content:flex-start}.report-statement{grid-template-columns:1fr 1fr}.report-statement>div:nth-child(3){border-left:0;border-top:1px solid var(--border)}.report-statement>div:nth-child(4){border-top:1px solid var(--border)}.monthly-row{grid-template-columns:70px 1fr 100px}.monthly-row>div:nth-child(3){grid-column:2/4}.vat-calculation{grid-template-columns:1fr;gap:8px}.vat-calculation>span,.module-toolbar>div .button:first-child,.records-head{display:none}.records-row{grid-template-columns:1fr auto;gap:8px 16px}.records-row>span:nth-child(3),.records-row>span:nth-child(4){display:none}.sales-records .records-row{grid-template-columns:1fr auto}.sales-records .records-row>span:nth-child(5){align-items:flex-end}.sales-records .invoice-row-actions{grid-column:1/-1;justify-content:flex-start}}@media (width<=768px){.landing-hero{grid-template-columns:1fr;height:auto;min-height:0;padding-top:120px}.hero-ledger{justify-self:start}.security-section,.pricing-section{grid-template-columns:1fr;gap:40px}.setup-page,.onboarding-dashboard,.invoice-settings-form{grid-template-columns:1fr}.invoice-settings-form>*{grid-column:1}.invoice-editor-shell{border:0;border-radius:0;inset:0}.invoice-editor-workspace{grid-template-columns:1fr 340px}.cockpit-controls{grid-template-columns:1fr}.settings-workspace:has(.settings-nav){grid-template-columns:1fr}.settings-nav{border-right:0;border-bottom:1px solid var(--border);flex-direction:row;overflow-x:auto}}@media (width<=560px){.create-button{width:40px;padding:0}.create-button span,.create-button>svg:last-child,.locale-trigger{display:none}.page-heading{flex-direction:column;margin-bottom:20px}.heading-actions{width:100%}.heading-actions .button{flex:1}.heading-actions .secondary{display:none}.activity-row{grid-template-columns:auto 1fr}.activity-row time{display:none}.tabs{gap:16px}.tabs-tools{display:none}.module-toolbar>label{width:100%}.module-toolbar>div{display:none}.bank-account-bar{grid-template-columns:auto 1fr auto}.banking-action-row{flex-direction:column;align-items:stretch}.banking-search{width:100%}.banking-filters{width:100%;overflow-x:auto}.bank-account-card{grid-template-columns:auto 1fr}.bank-account-card>div:nth-child(n+3){grid-column:2}.purchase-line-row{grid-template-columns:1fr;padding-right:38px}.purchase-line-row>.field:first-child{grid-column:auto}.purchase-total{grid-template-columns:1fr 1fr}.purchase-total span:last-child{border-left:0;border-top:1px solid var(--border);grid-column:1/-1;padding:10px 0 0}.journal-line{grid-template-columns:1fr;padding-right:0}.journal-line>.field:first-child{grid-column:auto}.report-toolbar{flex-direction:column;align-items:stretch}.open-items-layout,.form-grid{grid-template-columns:1fr}.field-wide{grid-column:span 1}.invoice-total{grid-template-columns:1fr 1fr}.invoice-gross{border-left:0;border-top:1px solid var(--border);grid-column:span 2;padding:10px 0 0}.dialog-actions .button{flex:1}}@media (width<=390px){.landing-nav{height:64px;padding-inline:16px}.landing-nav nav{border:1px solid var(--border);border-radius:var(--radius-md);color:var(--foreground);background:var(--surface-raised);box-shadow:var(--shadow-float);flex-direction:column;gap:12px;padding:12px;display:none;position:absolute;top:60px;left:12px;right:12px}.landing-nav nav.open{display:flex}.landing-nav>div>button{place-items:center;display:grid}.landing-login{display:none}.landing-hero{gap:40px;padding:104px 16px 48px}.hero-copy h1{font-size:32px}.landing-statement,.feature-sequence,.security-section,.pricing-section{padding-inline:16px}.landing-statement>div,.feature-sequence article>div{grid-template-columns:1fr;gap:12px}.feature-sequence article>svg{display:none}.price-line ul{flex-direction:column}.setup-aside{min-height:auto;padding:20px 16px}.setup-aside ol,.setup-security{display:none}.setup-main{grid-template-rows:52px 1fr 68px;min-height:auto}.setup-form-wrap{padding:32px 16px 24px}.setup-top{grid-template-columns:auto 1fr auto;padding-inline:16px}.setup-fields{grid-template-columns:1fr}.setup-fields label.full,.setup-fields>.full{grid-column:span 1}.choice-grid,.choice-grid.three{grid-template-columns:1fr}.setup-actions{z-index:5;padding-inline:16px;padding-bottom:env(safe-area-inset-bottom,0px);position:sticky;bottom:0}.settings-form-grid{grid-template-columns:1fr}.settings-form-grid .field-wide{grid-column:1}.invoice-editor-header{grid-template-columns:1fr auto}.invoice-editor-header>div:first-child p,.invoice-editor-header>.editor-save-state,.invoice-editor-header>div:last-child .secondary,.invoice-editor-header>div:last-child .icon-button{display:none}.invoice-editor-shell{grid-template-rows:auto auto minmax(0,1fr)}.invoice-editor-header{gap:8px;min-height:64px;padding:10px}.invoice-editor-header>div:last-child{gap:6px}.invoice-editor-header>div:last-child .editor-close{display:inline-flex}.invoice-editor-header h2{overflow-wrap:anywhere;font-size:14px}.invoice-mobile-switch{border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:8px;padding:8px 12px;display:flex}.invoice-mobile-switch button{border:1px solid var(--border);background:var(--surface);color:var(--foreground);border-radius:var(--radius-sm);padding:8px}.invoice-mobile-switch button[aria-pressed=true]{background:var(--accent-soft)}.invoice-mobile-switch span{color:var(--foreground-muted);font-size:12px}.invoice-editor-workspace{grid-template-columns:minmax(0,1fr);position:relative}.invoice-canvas{grid-template-columns:minmax(0,1fr);padding:16px}.invoice-structure{display:none}.invoice-inspector{border-left:0;height:auto;position:static;overflow-y:auto}.invoice-editor-workspace[data-mobile-view=edit] .invoice-canvas,.invoice-editor-workspace[data-mobile-view=preview] .invoice-inspector{display:none}.invoice-inspector .field input,.invoice-inspector .field textarea,.invoice-dialog .field input{font-size:16px}.cockpit-integration>header{grid-template-columns:auto 1fr}.cockpit-integration>header .integration-state{grid-column:2;justify-self:start}.cockpit-status-line{grid-template-columns:1fr}.cockpit-status-line>div+div{border-top:1px solid var(--border);border-left:0}.cockpit-integration>footer{flex-direction:column;align-items:stretch}.cockpit-integration footer>div{flex-direction:column}}@media (width<=360px){.page-heading h1{font-size:20px}.metric-strip>div:first-child strong,.fin-headline>div:first-child strong{font-size:24px}.hero-copy h1{font-size:28px}}.auth-page{color:#14253d;background:radial-gradient(circle at 85% 10%,#168a791c,#0000 30%),#f5f3ee;min-height:100vh;padding:28px clamp(20px,5vw,72px) 56px}.auth-brand{color:inherit;align-items:center;gap:11px;font-weight:650;text-decoration:none;display:inline-flex}.auth-brand img{width:112px;height:auto}.auth-brand span{border-left:1px solid #14253d33;padding-left:11px}.auth-shell{grid-template-columns:minmax(0,1.05fr) minmax(340px,.8fr);align-items:center;gap:clamp(42px,8vw,96px);width:min(1040px,100%);margin:clamp(64px,11vh,120px) auto 0;display:grid}.auth-copy h1{letter-spacing:-.055em;max-width:680px;margin:10px 0 18px;font-size:clamp(42px,6vw,72px);line-height:.98}.auth-copy>p:not(.section-kicker){color:#607087;max-width:570px;font-size:17px;line-height:1.7}.auth-copy ul{flex-wrap:wrap;gap:10px;margin:28px 0 0;padding:0;list-style:none;display:flex}.auth-copy li{color:#44566e;background:#fff9;border:1px solid #d9dedb;border-radius:999px;align-items:center;gap:7px;padding:8px 11px;font-size:13px;display:inline-flex}.auth-copy li svg{color:#168a79}.auth-form-panel{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffe0;border:1px solid #d9dedb;border-radius:18px;padding:26px;box-shadow:0 24px 70px #14253d17}.auth-tabs{background:#edf0ee;border-radius:10px;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:24px;padding:4px;display:grid}.auth-tabs button{color:#607087;min-height:38px;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:7px;font-weight:600}.auth-tabs button.active{color:#14253d;background:#fff;box-shadow:0 1px 4px #14253d1a}.auth-form-panel form{gap:16px;display:grid}.auth-form-panel .field{margin:0}.auth-form-panel .field em{color:#738095;font-size:12px;font-style:normal}.auth-submit{justify-content:center;width:100%;margin-top:4px}.org-avatar.compact{width:25px;height:25px;font-size:10px}@media (width<=760px){.auth-page{padding:20px 16px 40px}.auth-shell{grid-template-columns:1fr;gap:30px;margin-top:48px}.auth-copy h1{font-size:44px}.auth-copy ul{display:none}.auth-form-panel{padding:20px}}.team-workspace{gap:14px;display:grid}.workspace-toolbar{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);justify-content:space-between;align-items:center;gap:16px;padding:12px 14px;display:flex}.workspace-toolbar>div{align-items:center;gap:9px;display:flex}.inline-create-form{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);grid-template-columns:minmax(240px,1.5fr) minmax(180px,.7fr) minmax(180px,.8fr) auto;align-items:end;gap:12px;padding:16px;display:grid}.inline-create-form .field{margin:0}.inline-create-form .dialog-error{grid-column:1/-1;margin:0}.owner-member-row>select{min-width:170px}@media (width<=900px){.inline-create-form{grid-template-columns:1fr}.owner-member-row{align-items:flex-start;gap:12px}.owner-member-row>select{width:100%}}.automation-workspace{gap:14px;display:grid}.automation-form{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);grid-template-columns:repeat(5,minmax(140px,1fr)) auto;align-items:end;gap:11px;padding:16px;display:grid}.automation-form .field{margin:0}.automation-form .field-wide{order:1;grid-column:1/-1}.automation-form .field-wide textarea{min-height:64px}.dunning-note{max-width:640px;margin:0}.name-length-warning{color:var(--warning);margin-top:6px;font-size:12px;line-height:1.4;display:block}@media (width<=1100px){.automation-form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=620px){.automation-form{grid-template-columns:1fr}}.billing-workspace{gap:18px;display:grid}.plan-grid{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}.plan-grid article{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);gap:18px;padding:20px;display:grid}.plan-grid article.current{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.plan-grid article>div{gap:6px;display:grid}.plan-grid article>div strong{font-size:24px}.plan-grid ul{gap:9px;margin:0;padding:0;list-style:none;display:grid}.plan-grid li{color:var(--foreground-subtle);align-items:center;gap:7px;font-size:13px;display:flex}.plan-grid li svg{color:var(--accent)}@media (width<=800px){.plan-grid{grid-template-columns:1fr}}.numbering-settings{gap:24px;max-width:940px;display:grid}.numbering-rule{border:1px solid var(--border);border-radius:12px;gap:24px;padding:24px;display:grid}.numbering-rule fieldset{border:0;min-width:0;margin:0;padding:0}.numbering-rule .field .field-help,.contact-dialog .field .field-help{color:var(--foreground-muted);font-weight:400}.numbering-preview{color:var(--foreground-muted)}.numbering-preview strong{color:var(--foreground);font-variant-numeric:tabular-nums}.numbering-token-picker{flex-wrap:wrap;gap:8px;display:flex}.numbering-rule table{font-variant-numeric:tabular-nums;width:100%;margin-block:12px}.numbering-rule th,.numbering-rule td{text-align:left;padding:8px}.numbering-history{gap:16px;padding:0;list-style:none;display:grid}.numbering-history li{border-bottom:1px solid var(--border);gap:6px;padding-bottom:16px;display:grid}.numbering-history small{color:var(--foreground-muted)}.numbering-rule summary,.number-override summary{cursor:pointer}.numbering-history pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.number-override{min-width:200px;margin-top:16px}.invoice-workflow{gap:1rem;min-width:0;display:grid}.invoice-workflow details{border-top:1px solid var(--border,#dfe4e1);padding-top:.75rem}.invoice-workflow summary{cursor:pointer;padding:.4rem 0;font-weight:600}.invoice-workflow .form-grid{margin:1rem 0}.invoice-workflow fieldset{min-width:0;max-height:18rem;margin:1rem 0;overflow:auto}.invoice-workflow .checkbox-row{align-items:start;gap:.6rem;margin:.6rem 0;display:flex}.invoice-workflow .checkbox-row input{flex:none;margin-top:.2rem}.workflow-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:0;display:grid}.workflow-summary dt{color:var(--muted,#6a7772);font-size:.8rem}.workflow-summary dd{font-variant-numeric:tabular-nums;margin:.25rem 0 0}.invoice-workflow p,.invoice-workflow li{overflow-wrap:anywhere}.invoice-workflow .button{white-space:normal}.invoice-workflow>*{min-width:0;max-width:100%}.advance-workspace{box-sizing:border-box;width:100%;display:block}.invoice-workflow .data-table-wrap{width:100%;max-width:100%;overflow-x:auto}@media (width<=640px){.workflow-summary,.invoice-workflow .form-grid{grid-template-columns:1fr}}
