.reports{background:var(--canvas);min-height:100dvh}.reports-nav{border-bottom:1px solid var(--line);background:var(--paper);justify-content:space-between;align-items:center;height:68px;padding:0 max(28px,50vw - 590px);display:flex}.reports-nav nav{gap:4px;display:flex}.reports-nav nav a{color:var(--muted);border-radius:6px;padding:8px 10px;font-size:12px;font-weight:700;text-decoration:none}.reports-nav nav a:hover,.reports-nav nav a.active{background:var(--soft);color:var(--accent)}.reports-head{justify-content:space-between;align-items:flex-end;max-width:1180px;margin:auto;padding:52px 28px 30px;display:flex}.reports-head p{color:var(--accent);letter-spacing:.12em;margin:0 0 8px;font:600 10px monospace}.reports-head h1{letter-spacing:-1.3px;margin:0;font-size:32px}.reports-head span{color:var(--muted);margin-top:8px;font-size:13px;display:block}.reports-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.report-currency{border:1px solid var(--line);color:var(--muted);border-radius:7px;align-items:center;gap:8px;padding:8px 10px;font-size:10px;font-weight:700;display:flex}.report-currency select{color:var(--ink);background:0 0;border:0;outline:0;font:700 11px Arial}.report-export{text-decoration:none}.report-print{border:1px solid var(--line);background:var(--paper);color:var(--ink);cursor:pointer;border-radius:7px;padding:10px 11px;font:700 11px Arial}.report-print:hover{border-color:var(--accent);color:var(--accent)}.report-metrics{grid-template-columns:repeat(3,1fr);gap:12px;max-width:1180px;margin:auto;display:grid}.report-metrics article,.aging,.report-list{border:1px solid var(--line);background:var(--paper);border-radius:9px;padding:20px}.report-metrics span{color:var(--muted);font-size:11px;font-weight:700;display:block}.report-metrics strong{letter-spacing:-1px;margin:9px 0 5px;font:600 23px monospace;display:block}.report-metrics article:nth-child(2) strong{color:#0e6f8a}.report-metrics small{color:var(--muted);font-size:10px}.report-grid{grid-template-columns:1.2fr 1fr;gap:12px;max-width:1180px;margin:24px auto;display:grid}.report-panel-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding-bottom:14px;display:flex}.report-panel-head h2{margin:0;font-size:14px}.report-panel-head span,.report-panel-head a{color:var(--accent);font-size:11px;font-weight:700;text-decoration:none}.report-summary{color:var(--muted);margin:15px 0 20px;font-size:12px;line-height:1.55}.aging-row{grid-template-columns:115px 1fr 100px;align-items:center;gap:12px;padding:10px 0;font-size:11px;display:grid}.aging-row>span{color:var(--muted)}.aging-row div{background:var(--soft);border-radius:9px;height:9px;overflow:hidden}.aging-row i{border-radius:inherit;background:var(--accent);height:100%;display:block}.aging-row strong{text-align:right;font:500 11px monospace}.report-invoice{border-bottom:1px solid #edf0ef;justify-content:space-between;gap:12px;padding:14px 0;display:flex}.report-invoice b,.report-invoice small{display:block}.report-invoice b{font-size:12px}.report-invoice small{color:var(--muted);margin-top:4px;font-size:10px}.report-invoice strong{font:500 11px monospace}.report-empty{color:var(--muted);text-align:center;padding:42px 0;font-size:12px}@media (max-width:760px){.reports-nav{padding:0 20px}.reports-nav nav a{padding:7px 5px;font-size:11px}.reports-head{flex-direction:column;align-items:flex-start;gap:18px;padding:35px 20px 24px}.report-metrics,.report-grid{grid-template-columns:1fr;margin-left:20px;margin-right:20px}.aging-row{grid-template-columns:100px 1fr 80px}}@media print{.reports{background:#fff}.reports-nav,.reports-actions{display:none}.reports-head{padding:0 0 24px}.report-metrics,.report-grid{max-width:none;margin-left:0;margin-right:0}.report-grid{break-inside:avoid}.report-metrics article,.aging,.report-list{box-shadow:none}}
.reports{--report-blue:#2f6bff;--report-blue-deep:#2459d6;--report-blue-soft:#eaf0ff;--report-ink:#182131;--report-muted:#718096;--report-line:#e1e7f0;min-height:100dvh;color:var(--report-ink);background:radial-gradient(circle at 82% 0,#eaf0ff 0,#eaf0ff00 25rem),#f6f8fc}.reports-nav{background:0 0;border:0;align-items:center;gap:24px;height:auto;min-height:74px;padding:0 max(24px,50vw - 590px);display:flex}.reports-nav .wordmark{color:var(--report-ink);letter-spacing:-1px;align-items:center;gap:7px;font-size:18px;font-weight:850;text-decoration:none;display:flex}.reports-nav .wordmark span{background:var(--report-blue);color:#fff;border-radius:7px;place-items:center;width:24px;height:24px;font-size:13px;line-height:1;display:grid}.reports-nav nav{background:#1c2331;border-radius:999px;gap:4px;margin-left:auto;padding:4px;display:flex}.reports-nav nav a{color:#cfd5e0;border-radius:999px;padding:8px 12px;font-size:10px;font-weight:750;text-decoration:none}.reports-nav nav a:hover,.reports-nav nav a.active{background:var(--report-blue);color:#fff}.reports-head,.report-metrics,.report-grid{max-width:1180px;margin-left:auto;margin-right:auto}.reports-head{justify-content:space-between;align-items:flex-end;gap:24px;padding:42px 24px 27px;display:flex}.reports-head p,.report-panel-head p{color:var(--report-blue);letter-spacing:.12em;margin:0 0 8px;font:750 10px ui-monospace,SFMono-Regular,Menlo,monospace}.reports-head h1{color:var(--report-ink);letter-spacing:-1.45px;margin:0;font-size:34px}.reports-head>div>span{max-width:520px;color:var(--report-muted);margin-top:8px;font-size:12px;line-height:1.5;display:block}.reports-actions{align-items:center;gap:9px;display:flex}.report-currency{border:1px solid var(--report-line);height:40px;color:var(--report-muted);background:#fff;border-radius:8px;align-items:center;gap:7px;padding:0 10px;font-size:10px;font-weight:750;display:flex}.report-currency select{color:var(--report-ink);background:0 0;border:0;outline:0;font:750 11px Arial}.reports .primary{background:var(--report-blue);color:#fff;border:0;border-radius:8px;padding:11px 13px;font-size:10px;font-weight:800;box-shadow:0 8px 16px #2f6bff29}.report-export{text-decoration:none}.report-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;padding:0 24px;display:grid}.report-metrics article,.aging,.report-list,.client-value{border:1px solid var(--report-line);background:#fff;border-radius:13px;padding:19px;box-shadow:0 9px 25px #22304f0a}.report-metrics span{color:var(--report-muted);font-size:10px;font-weight:750;display:block}.report-metrics strong{color:var(--report-ink);letter-spacing:-1px;margin:10px 0 5px;font:750 21px ui-monospace,SFMono-Regular,Menlo,monospace;display:block}.report-metrics article:nth-child(2) strong{color:#bd3e53}.report-metrics article:nth-child(3) strong{color:var(--report-blue-deep)}.report-metrics small{color:var(--report-muted);font-size:9px}.report-grid{grid-template-columns:1.13fr .87fr;gap:13px;padding:24px 24px 54px;display:grid}.client-value{grid-column:1/-1}.report-panel-head{border-bottom:1px solid var(--report-line);justify-content:space-between;align-items:flex-start;gap:14px;padding-bottom:14px;display:flex}.report-panel-head p{margin-bottom:5px}.report-panel-head h2{color:var(--report-ink);margin:0;font-size:14px}.report-panel-head>span,.report-panel-head>a{color:var(--report-blue-deep);font-size:10px;font-weight:750;text-decoration:none}.report-summary{color:var(--report-muted);margin:15px 0 19px;font-size:11px;line-height:1.5}.aging-row{grid-template-columns:115px 1fr 110px;align-items:center;gap:12px;padding:10px 0;font-size:10px;display:grid}.aging-row>span{color:var(--report-muted)}.aging-row div{background:#eef1f6;border-radius:9px;height:9px;overflow:hidden}.aging-row i{border-radius:inherit;background:linear-gradient(90deg,var(--report-blue-deep),var(--report-blue));height:100%;display:block}.aging-row strong{text-align:right;color:var(--report-ink);font:650 10px ui-monospace,SFMono-Regular,Menlo,monospace}.report-invoice{color:inherit;border-bottom:1px solid #edf0f5;justify-content:space-between;gap:12px;padding:14px 0;text-decoration:none;display:flex}.report-invoice:last-of-type{border-bottom:0}.report-invoice b,.report-invoice small{display:block}.report-invoice b{color:var(--report-ink);font-size:11px}.report-invoice small{color:var(--report-muted);margin-top:4px;font-size:9px}.report-invoice strong{color:var(--report-ink);font:650 11px ui-monospace,SFMono-Regular,Menlo,monospace}.report-invoice:hover b{color:var(--report-blue-deep)}.report-empty{text-align:center;justify-items:center;padding:45px 0 20px;display:grid}.report-empty>span{background:var(--report-blue-soft);width:36px;height:36px;color:var(--report-blue);border-radius:50%;place-items:center;font-size:17px;font-weight:800;display:grid}.report-empty strong{color:var(--report-ink);margin-top:11px;font-size:12px}.report-empty p{color:var(--report-muted);margin:6px 0 0;font-size:10px}.client-value-list{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:25px;display:grid}.client-value-list a{color:inherit;border-bottom:1px solid #edf0f5;justify-content:space-between;gap:12px;padding:13px 0;text-decoration:none;display:flex}.client-value-list a:nth-last-child(-n+2){border-bottom:0}.client-value-list b,.client-value-list small{display:block}.client-value-list b{color:var(--report-ink);font-size:11px}.client-value-list small{color:var(--report-muted);margin-top:4px;font-size:9px}.client-value-list strong{color:var(--report-ink);align-self:center;font:650 11px ui-monospace,SFMono-Regular,Menlo,monospace}.client-value-list a:hover b{color:var(--report-blue-deep)}@media (max-width:860px){.report-metrics{grid-template-columns:repeat(2,1fr)}.report-grid,.client-value-list{grid-template-columns:1fr}.client-value-list a:nth-last-child(-n+2){border-bottom:1px solid #edf0f5}.client-value-list a:last-child{border-bottom:0}}@media (max-width:640px){.reports-nav{flex-direction:column;align-items:flex-start;padding:14px 20px}.reports-nav nav{width:100%;margin-left:0;overflow:auto}.reports-nav nav a{white-space:nowrap}.reports-head{flex-direction:column;align-items:flex-start;padding:30px 20px 24px}.reports-actions{justify-content:space-between;width:100%}.report-metrics,.report-grid{padding-left:20px;padding-right:20px}.aging-row{grid-template-columns:92px 1fr 83px;gap:8px}.report-metrics{grid-template-columns:1fr}.client-value-list{display:block}}
:root[data-theme=dark]{--ink:#e8efed;--muted:#a9b7b4;--line:#314042;--soft:#243135;--canvas:#11191b;--paper:#182225;--accent:#57c9aa}:root[data-theme=dark] input,:root[data-theme=dark] select,:root[data-theme=dark] textarea{color:var(--ink);background:#1c292c}:root[data-theme=dark] .invoice-paper,:root[data-theme=dark] .portal-paper{color:#152025}.command-fab{z-index:20;gap:7px;display:flex;position:fixed;bottom:18px;right:18px}.command-fab button{border:1px solid var(--line);background:var(--paper);height:42px;color:var(--ink);cursor:pointer;border-radius:8px;padding:0 12px;font:700 11px Arial;box-shadow:0 8px 28px #14262621}.command-fab button:first-child{background:var(--accent);border-color:var(--accent);color:#fff}.command-fab kbd,.command-dialog kbd{opacity:.72;border:1px solid;border-radius:4px;padding:2px 4px;font:9px monospace}.command-backdrop{z-index:120;background:#0a141680;place-items:start center;padding-top:14dvh;display:grid;position:fixed;inset:0}.command-dialog{border:1px solid var(--line);background:var(--paper);border-radius:10px;width:min(540px,100% - 28px);overflow:hidden;box-shadow:0 24px 70px #00000052}.command-dialog input{border:0;border-bottom:1px solid var(--line);width:100%;height:55px;color:var(--ink);background:0 0;outline:0;padding:0 16px;font:600 14px Arial}.command-results{padding:8px}.command-results button{width:100%;height:43px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:space-between;align-items:center;padding:0 10px;font:600 12px Arial;display:flex}.command-results button:hover,.command-results button:focus-visible{background:var(--soft)}.command-empty{color:var(--muted);padding:26px 16px;font-size:12px}.command-dialog footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;padding:10px 16px;font-size:10px;display:flex}@media (max-width:600px){.command-fab{bottom:12px;right:12px}.command-fab button:first-child{width:44px;padding:0;font-size:0}.command-fab button:first-child:after{content:"⌘";font-size:16px}.command-backdrop{padding-top:8dvh}.command-dialog input{font-size:16px}}
.shortcuts-dialog{border:1px solid var(--line);background:var(--paper);border-radius:11px;width:min(580px,100% - 28px);overflow:hidden;box-shadow:0 24px 70px #00000052}.shortcuts-dialog>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:18px;padding:20px;display:flex}.shortcuts-dialog>header span{color:var(--accent);letter-spacing:.08em;text-transform:uppercase;font:750 10px ui-monospace,SFMono-Regular,Menlo,monospace}.shortcuts-dialog h2{color:var(--ink);letter-spacing:-.7px;margin:6px 0 0;font-size:21px}.shortcuts-dialog>header button{border:1px solid var(--line);color:var(--muted);cursor:pointer;background:0 0;border-radius:6px;padding:5px 7px;font:700 10px monospace}.shortcuts-groups{grid-template-columns:repeat(3,1fr);gap:16px;padding:20px;display:grid}.shortcuts-groups section{min-width:0}.shortcuts-groups h3{color:var(--muted);letter-spacing:.07em;text-transform:uppercase;margin:0 0 9px;font:750 9px ui-monospace,SFMono-Regular,Menlo,monospace}.shortcuts-groups section>div{color:var(--ink);gap:6px;margin-top:11px;font-size:11px;line-height:1.35;display:grid}.shortcuts-dialog kbd{border:1px solid var(--line);background:var(--soft);color:var(--ink);border-bottom-color:#a7b2c4;border-radius:5px;justify-self:start;padding:3px 5px;font:700 9px ui-monospace,SFMono-Regular,Menlo,monospace}.shortcuts-dialog footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;gap:14px;padding:12px 20px;font-size:10px;display:flex}.shortcuts-dialog footer button{color:var(--accent);cursor:pointer;background:0 0;border:0;align-items:center;gap:7px;padding:0;font:750 10px Arial;display:flex}.shortcuts-dialog footer button kbd{color:currentColor}.command-loading{color:var(--muted);margin:0;padding:24px 16px;font-size:12px}@media (max-width:600px){.shortcuts-groups{grid-template-columns:1fr;gap:19px;padding:18px}.shortcuts-groups section>div{grid-template-columns:minmax(0,1fr) auto;align-items:center;margin-top:8px}.shortcuts-groups section>div kbd{justify-self:end}.shortcuts-dialog footer{flex-direction:column;align-items:flex-start}.command-dialog footer{flex-wrap:wrap;gap:8px}}
.command-loading{color:var(--muted);padding:22px 16px;font-size:12px}.command-results h2{color:var(--muted);letter-spacing:.08em;margin:10px 10px 4px;font:700 9px monospace}.command-results button span b,.command-results button span small{display:block}.command-results button span b{font-size:12px}.command-results button span small{color:var(--muted);margin-top:3px;font-size:10px;font-weight:400}
@keyframes desiq-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.desiq-skeleton{animation:desiq-shimmer 1.25s var(--ease-in-out) infinite;background:linear-gradient(90deg,#edf1f6 25%,#f7f9fc 37%,#edf1f6 63%) 0 0/400% 100%}.invoice-app .line-dragging{background:#f7faff;box-shadow:0 16px 34px #1d2d4c1f}.invoices-workspace .invoice-queue button.selected{box-shadow:inset 3px 0 0 var(--workspace-blue,#2f6bff)}@media (hover:hover) and (pointer:fine){.invoices-workspace .invoice-queue button,.invoice-app .line,.invoice-app .line-actions button,.invoice-app .items-head button,.payment-plan-actions button,.schedule-list button,.invoice-app .primary,.invoice-app .secondary,.invoice-app .ai-draft-button,.portal-pay button,.approvals .primary,.automations .primary,.detail-actions a,.client-form .primary{transition:background-color var(--motion-fast) var(--ease-out),border-color var(--motion-fast) var(--ease-out),box-shadow var(--motion-fast) var(--ease-out),color var(--motion-fast) var(--ease-out),opacity var(--motion-fast) var(--ease-out),transform var(--motion-fast) var(--ease-out)}.invoices-workspace .invoice-queue button:hover{transform:translate(2px)}}@media (prefers-reduced-motion:reduce){.desiq-skeleton{background:#edf1f6;animation:none}}
:root{--ease-out:cubic-bezier(.23,1,.32,1);--ease-in-out:cubic-bezier(.77,0,.175,1);--ease-drawer:cubic-bezier(.32,.72,0,1);--motion-fast:.14s;--motion-standard:.2s;--motion-slow:.28s}.desiq-route{will-change:opacity;min-height:100%}button,a,[role=button]{-webkit-tap-highlight-color:transparent}button:active:not(:disabled),a[class]:active{transform:scale(.97)}@media (hover:hover) and (pointer:fine){button,a,[role=button]{transition-property:color,background-color,border-color,box-shadow,opacity,transform;transition-duration:var(--motion-fast);transition-timing-function:var(--ease-out)}}@media (prefers-reduced-motion:reduce){.desiq-route{will-change:auto}.motion-transform,.motion-lift,.motion-stagger{transform:none!important}}
.workspace-loading{color:#18253d;background:#f8fafc;min-height:100dvh;font-family:Arial,sans-serif}.workspace-loading .loading-bar{border-radius:7px;display:block}.dashboard-loading{grid-template-columns:238px minmax(0,1fr);display:grid}.dashboard-loading>aside{background:#fff;border-right:1px solid #e4e9f1;align-content:start;gap:13px;height:100dvh;padding:27px 24px;display:grid}.dashboard-loading>aside .brand{width:118px;height:29px;margin-bottom:27px}.dashboard-loading>aside .nav{height:39px}.dashboard-loading>section>header,.invoices-loading>header{background:#fff;border-bottom:1px solid #e4e9f1;justify-content:space-between;align-items:center;min-height:112px;padding:19px 42px;display:flex}.workspace-loading .title{width:220px;height:28px}.workspace-loading .title.short{width:130px}.workspace-loading .subtitle{width:180px;height:11px;margin-top:9px}.workspace-loading .action{width:132px;height:43px}.workspace-loading .selector{width:150px;height:40px}.loading-content{max-width:1480px;margin:0 auto;padding:34px 42px 52px}.loading-heading{justify-content:space-between;align-items:flex-end;display:flex}.loading-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:24px;display:grid}.loading-metrics article{background:#fff;border:1px solid #e4e9f1;border-radius:12px;min-height:130px;padding:20px}.loading-metrics .icon{width:36px;height:36px}.loading-metrics .label{width:88px;height:10px;margin-top:16px}.loading-metrics .amount{width:68%;height:24px;margin-top:9px}.loading-metrics .caption{width:80%;height:9px;margin-top:10px}.loading-panels{grid-template-columns:minmax(0,1.38fr) minmax(310px,.82fr);gap:14px;margin-top:14px;display:grid}.loading-panels article,.loading-invoice-grid article{background:#fff;border:1px solid #e4e9f1;border-radius:12px;min-height:330px;padding:20px}.panel-title{width:125px;height:14px}.loading-panels .chart{height:225px;margin-top:34px}.loading-panels .row{height:48px;margin-top:12px}.invoices-loading>header{min-height:73px;padding-top:12px;padding-bottom:12px}.invoices-loading>header .brand{width:92px;height:29px}.invoices-loading>header .nav-wide{width:350px;height:34px}.invoices-loading .toolbar{height:46px;margin-top:18px}.loading-invoice-grid{grid-template-columns:minmax(300px,.8fr) minmax(420px,1.2fr);gap:14px;margin-top:14px;display:grid}.loading-invoice-grid .invoice-row{height:39px;margin-top:10px}.loading-invoice-grid .detail{height:225px;margin-top:24px}html[data-theme=dark] .workspace-loading{background:#101722}html[data-theme=dark] .workspace-loading>aside,html[data-theme=dark] .workspace-loading>section>header,html[data-theme=dark] .invoices-loading>header,html[data-theme=dark] .loading-metrics article,html[data-theme=dark] .loading-panels article,html[data-theme=dark] .loading-invoice-grid article{background:#172131;border-color:#28364a}html[data-theme=dark] .desiq-skeleton{background:#243248}@media (max-width:760px){.dashboard-loading{display:block}.dashboard-loading>aside{grid-template-columns:120px repeat(3,1fr);gap:8px;height:auto;padding:16px}.dashboard-loading>aside .brand{margin:0}.dashboard-loading>aside .nav{height:29px}.dashboard-loading>aside .nav:nth-of-type(n+5){display:none}.dashboard-loading>section>header,.invoices-loading>header{min-height:90px;padding:18px}.loading-content{padding:25px 18px 40px}.loading-metrics{grid-template-columns:1fr;gap:10px}.loading-panels,.loading-invoice-grid{grid-template-columns:1fr}.invoices-loading>header .nav-wide{display:none}}.dashboard-command-loading{min-height:calc(100dvh - var(--workspace-topbar));background:#f5f8fc;padding:30px clamp(20px,3vw,46px) 64px}.dashboard-command-loading>*{width:min(100%,1500px);margin-inline:auto}.dashboard-command-loading .loading-bar{border-radius:7px;display:block}.dashboard-loading-hero{justify-content:space-between;align-items:flex-end;gap:22px;display:flex}.dashboard-loading-hero>div:last-child{gap:10px;display:flex}.dashboard-loading-hero .eyebrow{width:124px;height:9px}.dashboard-loading-hero .hero-title{width:360px;height:35px;margin-top:10px}.dashboard-loading-hero .hero-subtitle{width:290px;height:12px;margin-top:10px}.dashboard-loading-hero .date{width:210px;height:43px}.dashboard-loading-hero .currency{width:108px;height:43px}.dashboard-loading-kpis{grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;margin-top:25px;display:grid}.dashboard-loading-kpis article{background:#fff;border:1px solid #dfe6ef;border-radius:13px;grid-template-columns:42px 1fr;gap:13px;min-height:144px;padding:17px;display:grid}.dashboard-loading-kpis .icon{width:42px;height:42px}.dashboard-loading-kpis .label{width:78%;height:9px}.dashboard-loading-kpis .amount{width:84%;height:24px;margin-top:10px}.dashboard-loading-kpis .caption{width:72%;height:8px;margin-top:9px}.dashboard-loading-primary,.dashboard-loading-secondary{grid-template-columns:minmax(0,2.15fr) minmax(290px,.85fr);gap:14px;margin-top:14px;display:grid}.dashboard-loading-primary>article,.dashboard-loading-secondary>article{background:#fff;border:1px solid #dfe6ef;border-radius:13px;min-height:430px;padding:20px}.dashboard-loading-primary aside,.dashboard-loading-secondary aside{align-content:start;gap:14px;display:grid}.dashboard-command-loading .panel-title{width:160px;height:14px}.dashboard-command-loading .chart{height:335px;margin-top:32px}.dashboard-command-loading .insight{height:78px}.dashboard-command-loading .rail-card{height:164px}.dashboard-loading-secondary>article{min-height:328px}.dashboard-loading-secondary .row{height:43px;margin-top:12px}.dashboard-command-loading .side-card{height:145px}html[data-theme=dark] .dashboard-command-loading{background:#09121f}html[data-theme=dark] .dashboard-loading-kpis article,html[data-theme=dark] .dashboard-loading-primary>article,html[data-theme=dark] .dashboard-loading-secondary>article{background:#111d2c;border-color:#29384d}@media (max-width:1320px){.dashboard-loading-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:1080px){.dashboard-loading-primary,.dashboard-loading-secondary{grid-template-columns:1fr}}@media (max-width:780px){.dashboard-command-loading{padding:22px 14px 40px}.dashboard-loading-hero{flex-direction:column;align-items:stretch}.dashboard-loading-hero>div:last-child{flex-direction:column}.dashboard-loading-hero .date,.dashboard-loading-hero .currency,.dashboard-loading-hero .hero-title{width:100%}.dashboard-loading-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.dashboard-loading-kpis article{min-height:136px}.dashboard-loading-primary,.dashboard-loading-secondary{gap:10px;margin-top:10px}.dashboard-loading-primary aside,.dashboard-loading-secondary aside{gap:10px}}
:root[data-theme=dark] body{background:#0e1420}:root[data-theme=dark] .invoice-app,:root[data-theme=dark] .invoices-workspace,:root[data-theme=dark] .invoice-detail,:root[data-theme=dark] .portal,:root[data-theme=dark] .approvals,:root[data-theme=dark] .directory,:root[data-theme=dark] .client-detail,:root[data-theme=dark] .automations,:root[data-theme=dark] .reports,:root[data-theme=dark] .messages,:root[data-theme=dark] .activity{color:#e9eef8;background:#101827}:root[data-theme=dark] .portal{background:radial-gradient(circle at 84% 3%,#18284a 0,#18284a00 22rem),#101827}:root[data-theme=dark] .invoices-workspace,:root[data-theme=dark] .approvals,:root[data-theme=dark] .directory,:root[data-theme=dark] .client-detail,:root[data-theme=dark] .automations,:root[data-theme=dark] .reports,:root[data-theme=dark] .messages,:root[data-theme=dark] .activity{background:radial-gradient(circle at 82% 0,#17284d 0,#17284d00 25rem),#101827}:root[data-theme=dark] .invoice-app .app-topbar,:root[data-theme=dark] .invoices-workspace-top,:root[data-theme=dark] .portal>header,:root[data-theme=dark] .reports-nav,:root[data-theme=dark] .messages .dashboard-nav,:root[data-theme=dark] .activity .dashboard-nav{background:#141d2df0;border-color:#2a3750;box-shadow:0 8px 28px #0003}:root[data-theme=dark] .invoice-app .wordmark,:root[data-theme=dark] .invoices-wordmark,:root[data-theme=dark] .invoice-detail .wordmark,:root[data-theme=dark] .directory .wordmark,:root[data-theme=dark] .client-detail .wordmark,:root[data-theme=dark] .approvals .wordmark,:root[data-theme=dark] .automation-nav .wordmark,:root[data-theme=dark] .reports-nav .wordmark,:root[data-theme=dark] .messages .wordmark,:root[data-theme=dark] .activity .wordmark{color:#f4f7ff}:root[data-theme=dark] .invoice-app .editor,:root[data-theme=dark] .invoice-app .preview article,:root[data-theme=dark] .invoice-app .progress,:root[data-theme=dark] .invoice-detail .invoice-ledger,:root[data-theme=dark] .invoice-detail .payment-plan-summary,:root[data-theme=dark] .invoice-detail .invoice-economics,:root[data-theme=dark] .invoice-detail .manual-payment-panel,:root[data-theme=dark] .invoice-detail .adjustments-panel,:root[data-theme=dark] .invoice-detail .internal-notes-panel,:root[data-theme=dark] .portal-paper,:root[data-theme=dark] .portal-payments,:root[data-theme=dark] .portal-comments,:root[data-theme=dark] .approval-queue>div,:root[data-theme=dark] .approval-rule,:root[data-theme=dark] .client-form,:root[data-theme=dark] .client-card,:root[data-theme=dark] .client-profile>section,:root[data-theme=dark] .schedule-form,:root[data-theme=dark] .schedule-list,:root[data-theme=dark] .automation-local-note,:root[data-theme=dark] .report-metrics article,:root[data-theme=dark] .aging,:root[data-theme=dark] .report-list,:root[data-theme=dark] .client-value,:root[data-theme=dark] .report-currency{background:#151e2d;border-color:#2a3750;box-shadow:0 10px 28px #0000002e}:root[data-theme=dark] .invoice-app .ai-draft-panel,:root[data-theme=dark] .invoice-app .currency-reference,:root[data-theme=dark] .invoice-app .payment-plan-editor,:root[data-theme=dark] .invoice-detail-note,:root[data-theme=dark] .manual-payment-balance,:root[data-theme=dark] .manual-payment-installment,:root[data-theme=dark] .adjustment-balance,:root[data-theme=dark] .plan-adjustment-fields,:root[data-theme=dark] .directory .empty{background:#14213a;border-color:#29436f}:root[data-theme=dark] .invoice-app .table-label,:root[data-theme=dark] .invoice-app .line:hover,:root[data-theme=dark] .invoice-app .line-items,:root[data-theme=dark] .workspace-filters,:root[data-theme=dark] .internal-note-list article,:root[data-theme=dark] .portal-comment,:root[data-theme=dark] .adjustment-kind{background:#111a29;border-color:#2a3750}:root[data-theme=dark] .invoice-app .fields input,:root[data-theme=dark] .invoice-app .fields select,:root[data-theme=dark] .invoice-app textarea,:root[data-theme=dark] .invoice-app .line input,:root[data-theme=dark] .invoice-detail input,:root[data-theme=dark] .invoice-detail select,:root[data-theme=dark] .invoice-detail textarea,:root[data-theme=dark] .client-profile input,:root[data-theme=dark] .client-profile textarea,:root[data-theme=dark] .client-form input,:root[data-theme=dark] .schedule-form input,:root[data-theme=dark] .schedule-form select,:root[data-theme=dark] .portal-comment-form textarea{color:#edf2fc;background:#101827;border-color:#34425b}:root[data-theme=dark] .invoice-app .page-head h1,:root[data-theme=dark] .invoice-app .section-title h2,:root[data-theme=dark] .invoice-app .items-head h2,:root[data-theme=dark] .invoice-app .preview-lines strong,:root[data-theme=dark] .invoice-app .summary b,:root[data-theme=dark] .invoice-app .summary strong,:root[data-theme=dark] .invoice-detail-head h1,:root[data-theme=dark] .invoice-detail .detail-section-head h2,:root[data-theme=dark] .invoice-detail .invoice-detail-lines span,:root[data-theme=dark] .invoice-detail .invoice-detail-lines strong,:root[data-theme=dark] .invoice-detail .invoice-detail-totals b,:root[data-theme=dark] .portal-intro h1,:root[data-theme=dark] .portal-item strong,:root[data-theme=dark] .portal-total,:root[data-theme=dark] .portal-comments-heading h2,:root[data-theme=dark] .portal-comment strong,:root[data-theme=dark] .approvals-head h1,:root[data-theme=dark] .approval-queue h2,:root[data-theme=dark] .approval-amount strong,:root[data-theme=dark] .directory-head h1,:root[data-theme=dark] .clients-grid h2,:root[data-theme=dark] .client-detail-head h1,:root[data-theme=dark] .client-profile h2,:root[data-theme=dark] .automation-head h1,:root[data-theme=dark] .schedule-form-head h2,:root[data-theme=dark] .automation-list-head h2,:root[data-theme=dark] .schedule-list b{color:#f0f4fc}:root[data-theme=dark] .invoice-app .section-title span,:root[data-theme=dark] .invoice-app .items-head p,:root[data-theme=dark] .invoice-app .preview-top span,:root[data-theme=dark] .invoice-app .preview-address small,:root[data-theme=dark] .invoice-app .preview-address span,:root[data-theme=dark] .invoice-app .preview-lines div,:root[data-theme=dark] .invoice-app .summary,:root[data-theme=dark] .invoice-app .preview footer,:root[data-theme=dark] .invoice-app .currency-reference span,:root[data-theme=dark] .invoice-detail-head>div>span,:root[data-theme=dark] .invoice-detail .detail-section-head p,:root[data-theme=dark] .invoice-detail .detail-section-head>span,:root[data-theme=dark] .invoice-detail .invoice-detail-lines small,:root[data-theme=dark] .invoice-detail .invoice-detail-totals,:root[data-theme=dark] .manual-payment-locked,:root[data-theme=dark] .adjustments-locked,:root[data-theme=dark] .portal-intro p,:root[data-theme=dark] .amount span,:root[data-theme=dark] .amount small,:root[data-theme=dark] .portal-item,:root[data-theme=dark] .portal-payments header span,:root[data-theme=dark] .portal-payments article span,:root[data-theme=dark] .portal-comments-heading p,:root[data-theme=dark] .portal-comment p,:root[data-theme=dark] .approval-invoice small,:root[data-theme=dark] .approval-amount small,:root[data-theme=dark] .directory-head>div>span,:root[data-theme=dark] .clients-grid p,:root[data-theme=dark] .client-detail-head>div>span,:root[data-theme=dark] .contact-list span,:root[data-theme=dark] .client-invoices span,:root[data-theme=dark] .client-invoices time,:root[data-theme=dark] .automation-head>div>span,:root[data-theme=dark] .schedule-list small,:root[data-theme=dark] .schedule-list em,:root[data-theme=dark] .schedule-footnote{color:#a9b7ca}:root[data-theme=dark] .invoice-app .invoice-recipients,:root[data-theme=dark] .invoice-action-toast{color:#e9effa;background:#172336;border-color:#3d506e}:root[data-theme=dark] .invoice-app .invoice-recipients-head strong{color:#edf3ff}:root[data-theme=dark] .invoice-app .invoice-recipients-head span,:root[data-theme=dark] .invoice-app .invoice-recipients>small{color:#b4c0d3}:root[data-theme=dark] .invoice-app .recipient-suggestions button{color:#bac6d9;background:#101827;border-color:#41536f}:root[data-theme=dark] .invoice-app .recipient-suggestions button span{color:#e2eaf7}:root[data-theme=dark] .invoice-app .recipient-suggestions button[aria-pressed=true],:root[data-theme=dark] .invoice-app .recipient-chips button{color:#d9e5ff;background:#1c3568;border-color:#4c70bb}:root[data-theme=dark] .invoice-app .recipient-add-field input{color:#edf2fc;background:#101827;border-color:#41536f}:root[data-theme=dark] .invoice-app .recipient-add-field button{color:#d9e5ff;background:#1c3568;border-color:#4c70bb}:root[data-theme=dark] .invoice-action-toast button{color:#b8c4d6}:root[data-theme=dark] .invoice-action-toast button:hover{color:#fff;background:#243550}:root[data-theme=dark] .invoice-app .preview-top,:root[data-theme=dark] .invoice-app .preview-lines,:root[data-theme=dark] .invoice-app .preview-lines div,:root[data-theme=dark] .invoice-app .summary strong,:root[data-theme=dark] .invoice-app .preview footer,:root[data-theme=dark] .invoice-detail .invoice-detail-lines,:root[data-theme=dark] .invoice-detail .invoice-detail-lines>div,:root[data-theme=dark] .invoice-detail .invoice-detail-totals strong,:root[data-theme=dark] .portal-item,:root[data-theme=dark] .portal-total,:root[data-theme=dark] .portal-payments header,:root[data-theme=dark] .approval-queue article,:root[data-theme=dark] .automation-list-head,:root[data-theme=dark] .schedule-list article,:root[data-theme=dark] .contact-list,:root[data-theme=dark] .contact-list article,:root[data-theme=dark] .client-invoices,:root[data-theme=dark] .client-invoices article{border-color:#2a3750}:root[data-theme=dark] .invoice-app .currency-reference strong,:root[data-theme=dark] .invoice-app .ai-draft-panel h2,:root[data-theme=dark] .invoice-detail-meta b,:root[data-theme=dark] .invoice-detail .internal-note-list strong,:root[data-theme=dark] .portal-payments h2,:root[data-theme=dark] .client-form label,:root[data-theme=dark] .schedule-form label{color:#e6edf9}:root[data-theme=dark] .invoice-app .line-actions button,:root[data-theme=dark] .invoice-app .items-head button,:root[data-theme=dark] .detail-action-secondary,:root[data-theme=dark] .schedule-list button{color:#b9cdfd;background:#1b2b48}:root[data-theme=dark] .workspace-filters button.active,:root[data-theme=dark] .adjustment-kind button.selected{color:#eef4ff;background:#243553}:root[data-theme=dark] .invoice-app .currency-reference:before{background:#1b315a}:root[data-theme=dark] .invoice-summary-grid article,:root[data-theme=dark] .invoice-summary-action{border-color:#2a3750;background:#151e2d!important}:root[data-theme=dark] .invoice-summary-grid article>strong{color:#eef4ff}:root[data-theme=dark] .invoice-summary-grid article>span,:root[data-theme=dark] .invoice-summary-grid article>small{color:#a9b7ca}:root[data-theme=dark] .invoice-summary-action a{color:#cbd9ff;background:#243553}:root[data-theme=dark] .reports-head h1,:root[data-theme=dark] .report-panel-head h2,:root[data-theme=dark] .report-metrics strong,:root[data-theme=dark] .aging-row strong,:root[data-theme=dark] .report-invoice b,:root[data-theme=dark] .report-invoice strong,:root[data-theme=dark] .client-value-list b,:root[data-theme=dark] .client-value-list strong,:root[data-theme=dark] .report-empty strong{color:#f0f4fc}:root[data-theme=dark] .reports-head>div>span,:root[data-theme=dark] .report-metrics span,:root[data-theme=dark] .report-metrics small,:root[data-theme=dark] .report-summary,:root[data-theme=dark] .aging-row>span,:root[data-theme=dark] .report-invoice small,:root[data-theme=dark] .client-value-list small,:root[data-theme=dark] .report-empty p,:root[data-theme=dark] .report-currency{color:#a9b7ca}:root[data-theme=dark] .report-currency select{color:#eef4ff;background:0 0}:root[data-theme=dark] .aging-row div{background:#26344e}:root[data-theme=dark] .report-invoice,:root[data-theme=dark] .client-value-list a{border-color:#2a3750}:root[data-theme=dark] .invoice-app .anomaly-review{color:#f8df9b;background:#2c2416;border-color:#775a23}:root[data-theme=dark] .invoice-app .anomaly-review p{color:#ffd166}:root[data-theme=dark] .invoice-app .anomaly-review span{color:#d8c28e}:root[data-theme=dark] .invoice-app .anomaly-review .secondary{color:#ffe4a3;background:#332a19;border-color:#80652a}:root[data-theme=dark] .message-thread{background:#151e2d;border-color:#2a3750;box-shadow:0 10px 28px #0000002e}:root[data-theme=dark] .message-thread>header,:root[data-theme=dark] .message-reply,:root[data-theme=dark] .activity-list,:root[data-theme=dark] .activity-list article{border-color:#2a3750}:root[data-theme=dark] .message-bubble.pending{background:#17284d;border-color:#385a98}:root[data-theme=dark] .messages-head h1,:root[data-theme=dark] .activity-head h1,:root[data-theme=dark] .message-thread h2,:root[data-theme=dark] .message-bubble strong,:root[data-theme=dark] .activity-list strong{color:#f0f4fc}:root[data-theme=dark] .messages-head>div>span,:root[data-theme=dark] .activity-head>span,:root[data-theme=dark] .message-thread header small,:root[data-theme=dark] .message-bubble time,:root[data-theme=dark] .message-reply>div>span,:root[data-theme=dark] .message-bubble p,:root[data-theme=dark] .activity-list p,:root[data-theme=dark] .activity-list small{color:#a9b7ca}:root[data-theme=dark] .activity-dot{border-color:#101827;box-shadow:0 0 0 1px #385078}:root[data-theme=dark] .portal-document{background:#151e2dd1;border-color:#2a3750;box-shadow:0 18px 50px #0000002e}:root[data-theme=dark] .portal-item-group.is-bundle-header .portal-item{color:#f0f4fc;background:#17243a}:root[data-theme=dark] .portal-item-group.is-sub-service .portal-item{color:#a9b7ca;background:#151e2d}:root[data-theme=dark] .portal-item-group.is-sub-service .portal-item strong{color:#cbd6e8}:root[data-theme=dark] .portal-note{color:#a9b7ca;background:#151e2d}:root[data-theme=dark] .portal-note>span,:root[data-theme=dark] .portal-hero h1{color:#f0f4fc}:root[data-theme=dark] .portal-download{color:#cbd6e8;background:#151e2d;border-color:#34425b}:root[data-theme=dark] .portal-download:hover{color:#dbe7ff;background:#1a2941;border-color:#4b6ca8}:root[data-theme=dark] .messages-head-count{color:#b9cdfd;background:#151e2d;border-color:#34425b}:root[data-theme=dark] .message-inbox{background:#151e2d;border-color:#2a3750;box-shadow:0 15px 38px #0000002e}:root[data-theme=dark] .message-thread-list{background:#111a29;border-color:#2a3750}:root[data-theme=dark] .message-thread-option{color:#edf2fc}:root[data-theme=dark] .message-thread-option:hover{background:#18253a}:root[data-theme=dark] .message-thread-option.selected{background:#1c3568}:root[data-theme=dark] .message-thread-option-copy strong,:root[data-theme=dark] .message-conversation-head h2,:root[data-theme=dark] .message-bubble strong{color:#f0f4fc}:root[data-theme=dark] .message-thread-option-copy>span,:root[data-theme=dark] .message-thread-option-meta time,:root[data-theme=dark] .message-conversation-head p,:root[data-theme=dark] .message-bubble time,:root[data-theme=dark] .message-bubble p{color:#a9b7ca}:root[data-theme=dark] .message-thread-option-meta b{color:#c6d4e9;background:#26344e}:root[data-theme=dark] .message-thread-option.selected .message-thread-option-meta b{color:#e0ebff;background:#294b86}:root[data-theme=dark] .message-thread-avatar{color:#cbd9ff;background:#263a60}:root[data-theme=dark] .message-conversation{background:#151e2d}:root[data-theme=dark] .message-conversation-head,:root[data-theme=dark] .message-reply{background:#151e2d;border-color:#2a3750}:root[data-theme=dark] .message-conversation-head a{color:#bdd1ff;border-color:#34425b}:root[data-theme=dark] .message-conversation-head a:hover{background:#1a2941;border-color:#4a6da8}:root[data-theme=dark] .message-bubble{background:#111a29;border-color:#2a3750}:root[data-theme=dark] .message-reply textarea{color:#edf2fc;background:#101827;border-color:#34425b}:root[data-theme=dark] .portal-summary-rail{background:#151e2d;border-color:#2a3750;box-shadow:0 16px 34px #0000002e}:root[data-theme=dark] .portal-summary-rail-head,:root[data-theme=dark] .portal-summary-rail dl>div,:root[data-theme=dark] .portal-summary-download{border-color:#2a3750}:root[data-theme=dark] .portal-summary-rail dd{color:#edf2fc}:root[data-theme=dark] .portal-summary-download{color:#bdd1ff}:root[data-theme=dark] .portal-summary-download:hover{color:#e0ebff;background:#1a2941}:root[data-theme=dark] .client-avatar-editor{background:#111a29;border-color:#2a3750}:root[data-theme=dark] .client-avatar-preview{color:#cbd9ff;background:#17284d;border-color:#385078}:root[data-theme=dark] .client-avatar-editor strong{color:#edf2fc}:root[data-theme=dark] .client-avatar-editor p{color:#a9b7ca}:root[data-theme=dark] .client-avatar-upload{color:#bdd1ff;background:#17284d;border-color:#415d91}:root[data-theme=dark] .client-avatar-remove{color:#ffc4cb;background:#2b1b23;border-color:#70404a}
