:root{color-scheme:light}.topbar-actions{display:flex;align-items:center;gap:12px}.theme-toggle{display:flex;align-items:center;gap:7px;height:38px;padding:0 12px;border:1px solid #d4e0e9;border-radius:11px;background:#f7fafc;color:#244d6b;font-size:11px;font-weight:800;cursor:pointer;transition:transform .2s ease,background .2s ease,border-color .2s ease}.theme-toggle:hover{transform:translateY(-1px);border-color:#8bb3cf;background:#edf6fc}.theme-toggle svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.theme-toggle .theme-moon{fill:currentColor;stroke:none}.sidebar nav a b{display:grid!important;place-items:center!important;width:31px!important;height:31px!important;flex:0 0 31px;border:1px solid #ffffff0c;border-radius:9px;background:#ffffff09;color:#a8c9e1;font-family:"Segoe UI Symbol",sans-serif;font-size:14px!important;font-weight:700;transition:transform .22s ease,background .22s ease,color .22s ease,box-shadow .22s ease}.sidebar nav a span{margin-left:10px!important}.sidebar nav a:hover b{transform:translateX(2px) rotate(-4deg) scale(1.08);background:#ffffff17;color:#fff;box-shadow:0 6px 16px #06152330}.sidebar nav a.active b{background:linear-gradient(145deg,#56a5d5,#2c75a7);border-color:#67acd4;color:#fff;box-shadow:0 7px 16px #06182755}.sidebar nav a{position:relative;transition:background .2s ease,color .2s ease,transform .2s ease}.sidebar nav a:hover{transform:translateX(2px)}.sidebar nav a.active:before{content:"";position:absolute;left:-3px;width:3px;height:25px;border-radius:3px;background:#61b9eb;box-shadow:0 0 12px #61b9eb80}.commerce-quick-actions>a>b,.metric-top i,.stat-icon{transition:transform .22s ease,box-shadow .22s ease}.commerce-quick-actions>a:hover>b,.dashboard-home .stats article:hover .stat-icon{transform:rotate(-7deg) scale(1.1);box-shadow:0 7px 15px #174f7720}
.theme-dark{color-scheme:dark;--ink:#dbe7f2;--muted:#91a5b8;--line:#294155;--bg:#0b1825;--white:#132536;--navy:#081522}.theme-dark body{background:#0b1825;color:#dbe7f2}.theme-dark .main-content{background:radial-gradient(circle at 85% 0,#132e43 0,#0b1825 35%)}.theme-dark .topbar{background:#102233;border-color:#294155;color:#dbe7f2}.theme-dark .context-label{color:#7893a9}.theme-dark .switch{color:#75b7e3}.theme-dark .theme-toggle{border-color:#365269;background:#172d3f;color:#b8d9ee}.theme-dark .sidebar{background:linear-gradient(180deg,#071521,#0b2031)}.theme-dark .sidebar nav a{color:#a8bdce}.theme-dark .sidebar nav a.active,.theme-dark .sidebar nav a:hover{background:#173c57;color:#fff}.theme-dark .content{color:#dbe7f2}.theme-dark .dashboard-home,.theme-dark .supplier-page,.theme-dark .commerce-page,.theme-dark .receivable-page,.theme-dark .sales-report,.theme-dark .quotes-page,.theme-dark .invoices-page,.theme-dark .invoice-view{color:#dbe7f2}.theme-dark .dashboard-home .welcome{border-color:#29475e;background:linear-gradient(120deg,#12283a,#102435 60%,#16354b)}.theme-dark .dashboard-home .welcome h1,.theme-dark .dashboard-home .tenant-summary h2,.theme-dark .dashboard-home .checklist strong{color:#eef6fc}.theme-dark .dashboard-home .welcome p{color:#9eb0c0}.theme-dark .date-card,.theme-dark .stats article,.theme-dark .panel,.theme-dark .commerce-quick-actions>a,.theme-dark .commerce-dashboard-stats article,.theme-dark .commerce-overview-card,.theme-dark .inventory-glance,.theme-dark .supplier-kpis article,.theme-dark .supplier-search,.theme-dark .supplier-list,.theme-dark .supplier-section,.theme-dark .supplier-contact-card>div,.theme-dark .commerce-table,.theme-dark .commerce-modal,.theme-dark .expense-card,.theme-dark .receivable-table,.theme-dark .quote-table,.theme-dark .quote-main,.theme-dark .quote-summary,.theme-dark .quote-document,.theme-dark .quote-workflow,.theme-dark .invoice-stats article,.theme-dark .invoice-filters,.theme-dark .invoice-table,.theme-dark .invoice-paper,.theme-dark .sales-kpis article,.theme-dark .sales-report-card,.theme-dark .financial-statement,.theme-dark .statement-filter{background:#122536!important;border-color:#2a455b!important;color:#dbe7f2}.theme-dark .dashboard-home .tenant-summary{background:linear-gradient(165deg,#122536,#102130)}.theme-dark .commerce-dashboard-stats .sales-card{background:linear-gradient(145deg,#164665,#1d6894)!important}.theme-dark .commerce-dashboard-stats .profit-card{background:linear-gradient(145deg,#12352f,#122536)!important}.theme-dark .commerce-dashboard-stats .cash-card,.theme-dark .supplier-kpis article.warning,.theme-dark .sales-kpis .warning{background:linear-gradient(145deg,#372e1b,#122536)!important}.theme-dark .commerce-dashboard-stats article:after{background:#ffffff05}.theme-dark .commerce-quick-actions>div{background:linear-gradient(135deg,#1c5579,#2477a5)}.theme-dark .metric-top span,.theme-dark .commerce-dashboard-stats article>p,.theme-dark .supplier-kpis small,.theme-dark .supplier-kpis span,.theme-dark .stats small,.theme-dark .stats p,.theme-dark .checklist small,.theme-dark .tenant-summary dt{color:#8fa6b9}.theme-dark .recent-sales-list>a,.theme-dark .business-alert-list>a,.theme-dark .supplier-list>article,.theme-dark .supplier-table th,.theme-dark .supplier-table td,.theme-dark .commerce-overview-card>header,.theme-dark .inventory-glance>header,.theme-dark .panel .checklist li{border-color:#294155}.theme-dark .recent-sales-list>a:hover,.theme-dark .business-alert-list>a:hover,.theme-dark .supplier-list>article:hover,.theme-dark .checklist li:hover{background:#172d3f}.theme-dark input,.theme-dark select,.theme-dark textarea{background:#0d1e2c!important;border-color:#365269!important;color:#e6f0f7!important}.theme-dark input::placeholder,.theme-dark textarea::placeholder{color:#71889b}.theme-dark table th,.theme-dark .supplier-list-head{background:#172f42!important;color:#a3bbce!important}.theme-dark table td{border-color:#294155!important}.theme-dark dialog{background:#122536;color:#dbe7f2}.theme-dark dialog header,.theme-dark dialog footer{border-color:#294155}.theme-dark .alert.success{background:#123a30;color:#8be0bf;border-color:#25624d}.theme-dark .alert.error{background:#3b2023;color:#f0a8a8;border-color:#6b3338}.theme-dark .advanced-nav{border-color:#284458}.theme-dark .advanced-nav summary{color:#91a9bc}.theme-dark a{transition:color .15s ease}.theme-dark .company-badge{box-shadow:0 12px 28px #0006}@media(max-width:650px){.theme-toggle span{display:none}.theme-toggle{width:38px;justify-content:center;padding:0}.topbar-actions{gap:7px}}@media print{.theme-toggle{display:none!important}.theme-dark{color-scheme:light}.theme-dark body,.theme-dark .main-content{background:#fff!important;color:#111!important}}
