/* Dark look. Made by make_dark.py from the light style files: do not edit by hand, edit the script and run it again. */
@media screen {
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e6eee8; --ink-2: #c7d4cb; --muted: #9bada1; --paper: #0e1511; --surface: #17211b; --line: #2b3930; --line-2: #222e27;
  --leaf-deep: #49a56a; --leaf-wash: #1c3324; --turmeric-wash: #3a2e12; --danger: #e0695d; --danger-wash: #3b1c19; --info: #6fb0d1;
  --shadow: 0 1px 1px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .28);
  --shadow-pop: 0 6px 14px rgba(0, 0, 0, .4), 0 22px 56px rgba(0, 0, 0, .55);
}
:root[data-theme="dark"] body { background: var(--paper); color: var(--ink); }
:root[data-theme="dark"] a { color: #7fcf9a; }
:root[data-theme="dark"] .btn.primary, :root[data-theme="dark"] .btn.primary:hover { color: #fff; }
:root[data-theme="dark"] .btn.primary:hover { background: #276a3f; border-color: #276a3f; }
:root[data-theme="dark"] .btn:hover { background: #1f2c24; border-color: #3d4f43; }
:root[data-theme="dark"] .btn.ghost:hover { background: var(--line-2); }
:root[data-theme="dark"] .btn.danger.solid { background: #b83227; border-color: #b83227; color: #fff; }
:root[data-theme="dark"] .sidebar, :root[data-theme="dark"] .topbar-mobile { background: #0a100d; }
:root[data-theme="dark"] .sidebar { border-right: 1px solid var(--line-2); }
:root[data-theme="dark"] .kpi.hero { background: #1f3528; border-color: #2c4a38; color: #fff; }
:root[data-theme="dark"] .toast { background: #2a3a30; color: #fff; }
:root[data-theme="dark"] .toast.error { background: #b83227; }
:root[data-theme="dark"] .nav-badge, :root[data-theme="dark"] .special-btn .count { color: #17271f; }
:root[data-theme="dark"] .btn .count { background: #3b4d41; color: #fff; }
:root[data-theme="dark"] .special-btn .count { background: var(--turmeric); }
:root[data-theme="dark"] .input, :root[data-theme="dark"] select.input, :root[data-theme="dark"] textarea.input { background: #121a15; border-color: #33433a; color: var(--ink); }
:root[data-theme="dark"] .input[readonly], :root[data-theme="dark"] .input:disabled { background: #1b2620; color: var(--muted); }
:root[data-theme="dark"] .input::placeholder { color: #71837a; }
:root[data-theme="dark"] select.input option { background: #17211b; color: #e6eee8; }
:root[data-theme="dark"] input[type="date"], :root[data-theme="dark"] input[type="time"], :root[data-theme="dark"] input[type="month"] { color-scheme: dark; }
:root[data-theme="dark"] .modal-back { background: rgba(0, 0, 0, .6); }
:root[data-theme="dark"] mark { background: #6b5514; color: #fff; }
:root[data-theme="dark"] .bottom-bar { box-shadow: 0 -6px 24px rgba(0, 0, 0, .4); }
:root[data-theme="dark"] .bottom-bar a, :root[data-theme="dark"] .bottom-bar button { color: var(--muted); }
:root[data-theme="dark"] .bottom-bar .active { color: #8fdcaa; }
:root[data-theme="dark"] .bar-pill { background: #1f3a2a; }
:root[data-theme="dark"] [style*="background:#fff7e0"] { background: #3a2e12 !important; border-color: #6d5a25 !important; }
:root[data-theme="dark"] .whoami a { color: #9fb5a6; }
:root[data-theme="dark"] .warning-banner a, :root[data-theme="dark"] .nav a, :root[data-theme="dark"] a.btn, :root[data-theme="dark"] a.kpi { color: inherit; }
:root[data-theme="dark"] .nav a { color: #c6d4ca; }
:root[data-theme="dark"] .nav a:hover, :root[data-theme="dark"] .nav a.active { color: #fff; }
:root[data-theme="dark"] a.btn.primary { color: #fff; }
:root[data-theme="dark"] .tabs button:hover, :root[data-theme="dark"] .tabs button[aria-selected="true"] { color: var(--ink); }
:root[data-theme="dark"] ::-webkit-scrollbar { width: 12px; height: 12px; }
:root[data-theme="dark"] ::-webkit-scrollbar-thumb { background: #33433a; border-radius: 8px; border: 3px solid #0e1511; }
:root[data-theme="dark"] ::-webkit-scrollbar-track { background: #0e1511; }
/* Bills and printed pages keep their paper look */
:root[data-theme="dark"] .invoice-doc, :root[data-theme="dark"] #print-root, :root[data-theme="dark"] .inv-view {
  --ink: #17271f; --ink-2: #2b3d33; --muted: #5f6e64; --paper: #f3f6f0; --surface: #ffffff; --line: #dce3d6; --line-2: #eaefe6; --leaf-deep: #1f5c35;
  color: #17271f;
}
:root[data-theme="dark"] .invoice-doc { background: #fff; }

/* from app.css */
:root[data-theme="dark"] .btn:hover { border-color: #4d6644; background: #19251d; }
:root[data-theme="dark"] table.data th { background: #1a251e; }
:root[data-theme="dark"] table.data tbody tr:hover { background: #1a261e; }
:root[data-theme="dark"] table.data tfoot td { background: #1a251e; }
:root[data-theme="dark"] .pill.off { background: #1f2d24; color: #b5b5b5; }
:root[data-theme="dark"] .pill.warn { color: #e8d2a5; }
:root[data-theme="dark"] .pill.admin { background: #1e2f38; }
:root[data-theme="dark"] .skeleton { background: linear-gradient(90deg, #202d24 25%, #1b2720 37%, #202d24 63%); }
:root[data-theme="dark"] mark { background: #4c3e1d; }
:root[data-theme="dark"] .bill-entry { background: #19241d; }
:root[data-theme="dark"] .kbd { background: #17211a; }
:root[data-theme="dark"] .slip-rule { border-top: 1px dashed #3b4f42; }
:root[data-theme="dark"] .modal-foot { background: #1a251e; }
:root[data-theme="dark"] table.data tbody tr:hover { background: #1b2720; }
:root[data-theme="dark"] .similar li { background: #383019; color: #e8d3a4; border: 1px solid #716136; }
:root[data-theme="dark"] .similar li.same { background: #321b1b; border-color: #6a3333; }
:root[data-theme="dark"] table.report-table thead th { background: #1d2921; }
:root[data-theme="dark"] .perm-savebar { background: #383019; border-top: 1px solid #716136; }
:root[data-theme="dark"] .btn.active { background: #383019; color: #e8d3a4; }
:root[data-theme="dark"] .btn.unverified { background: #321b1b; border-color: #6a3333; }
:root[data-theme="dark"] .btn.verified { background: #1f3426; border-color: #39764e; color: var(--leaf-deep, #aee2c2); }
:root[data-theme="dark"] .special-btn.has-pending { background: #383019; color: #e8d3a4; }
:root[data-theme="dark"] .net-banner { background: #321b1b; border: 1px solid #6a3333; }
:root[data-theme="dark"] .special-banner, :root[data-theme="dark"] .bill-banner.special { background: #383019; color: #e8d3a4; border: 1px solid #716136; }
:root[data-theme="dark"] .bill-banner.cancelled { background: #321b1b; border: 1px solid #6a3333; }
:root[data-theme="dark"] .alert-strip { background: #383019; color: #e8d3a4; border: 1px solid #716136; }
:root[data-theme="dark"] .new-price { background: #383019; border: 1px solid #716136; color: #e8d3a4; }
:root[data-theme="dark"] .pill.special { background: #383019; color: #e8d3a4; }
:root[data-theme="dark"] .pill.special.rejected { background: #321b1b; }
:root[data-theme="dark"] .pill.special.approved { background: #1f3426; color: #aee2c2; }
:root[data-theme="dark"] .change-out.ok { background: #1f3426; color: #aee2c2; }
:root[data-theme="dark"] .change-out.short { background: #321b1b; }
:root[data-theme="dark"] .cash-cancelled { background: #321b1b; border: 1px solid #6a3333; }
:root[data-theme="dark"] tr.row-pending td { background: #2f281b; }
:root[data-theme="dark"] .approvals { border: 1px solid #716136; background: #2f281b; }
:root[data-theme="dark"] .approval-row { border-top: 1px solid #685932; }
:root[data-theme="dark"] .cash-diff.ok { background: #1f3426; color: #aee2c2; }
:root[data-theme="dark"] .cash-diff.plus { background: #1b2634; color: #99bbe6; }
:root[data-theme="dark"] .cash-diff.minus { background: #321b1b; }
:root[data-theme="dark"] .kpi.holder.me { border-color: #39764e; background: #1c2920; }
:root[data-theme="dark"] .kpi.holder.none { border-color: #6a3333; background: #19251d; }
:root[data-theme="dark"] .closing-line .reclose { color: #e8d2a5; }
:root[data-theme="dark"] .bu-ic.amber { color: #e8d2a5; }
:root[data-theme="dark"] .bu-table tr.bu-reject td, :root[data-theme="dark"] .bu-table tr.bu-notsent td { background: #19251d; }
:root[data-theme="dark"] .bu-table tr.bu-created td, :root[data-theme="dark"] .bu-table tr.bu-updated td { background: #1b271f; }
:root[data-theme="dark"] .bu-check { color: #e8d2a5; }
:root[data-theme="dark"] .cancel-req-btn.has-pending { border-color: #6a3333; background: #19251d; }
:root[data-theme="dark"] .briefing { background: linear-gradient(135deg, #211b2e, #1c2920); border: 1px solid #413361; }
:root[data-theme="dark"] .ask-ic { background: #221b32; }
:root[data-theme="dark"] .qty-neg { color: #e2908b; }
:root[data-theme="dark"] .stock-note { color: #ebd9b0; }
:root[data-theme="dark"] .cv-warn { color: #e8d2a5; }
:root[data-theme="dark"] tr.row-short td { background: #2e1e1b; }
:root[data-theme="dark"] tr.row-excess td { background: #1b2720; }
:root[data-theme="dark"] .cash-notice { color: #eddbb5; }
:root[data-theme="dark"] .cash-notice .minus { color: #e2908b; }
:root[data-theme="dark"] .fy-pick .fy-to { color: var(--muted, #aaaeb8); }
:root[data-theme="dark"] .upi-qr { background: #17211a; border: 1px solid var(--line, #334338); }
:root[data-theme="dark"] .kpi.warn { border-color: #6f3c35; background: #2f1f1c; }
:root[data-theme="dark"] .kpi.warn .k-label .icon { color: #df9286; }
:root[data-theme="dark"] .approval-note { background:#1d2a21; border:1px solid #51603b; }
:root[data-theme="dark"] .short-panel { border-color: #716136; }
:root[data-theme="dark"] .stock-warn { color: #e2938d; }
:root[data-theme="dark"] .pu-form .pu-lines tfoot td { background: #1a251e; }
:root[data-theme="dark"] .fin-head td { background: #1a251e; }
:root[data-theme="dark"] .report-grid table.data thead th { background: #1d2a22; }
:root[data-theme="dark"] .chat-av { background: #24342a; color: #bed7be; }
:root[data-theme="dark"] .chat-dot { border: 2px solid #2c3a31; }
:root[data-theme="dark"] .chat-side { border-right: 1px solid var(--line, #34453a); }
:root[data-theme="dark"] .chat-main-head { border-bottom: 1px solid var(--line, #34453a); }
:root[data-theme="dark"] .chat-msgs { background: #1b271f; }
:root[data-theme="dark"] .chat-msg em { color: #a3ddb0; }
:root[data-theme="dark"] .chat-bubble { background: #17211a; border: 1px solid #344539; }
:root[data-theme="dark"] .chat-msg.mine .chat-bubble { background: #1d3d1f; border-color: #376539; }
:root[data-theme="dark"] .chat-file { border: 1px solid #35463b; background: #19241d; }
:root[data-theme="dark"] .chat-file b { background: #212f26; }
:root[data-theme="dark"] .chat-compose { border-top: 1px solid var(--line, #34453a); background: #17211a; }
:root[data-theme="dark"] .chat-compose textarea { border: 1px solid #374a3e; }
:root[data-theme="dark"] .chat-emoji { background: #17211a; border: 1px solid #36483c; }
:root[data-theme="dark"] .chat-emoji button:hover { background: #1e2b22; }
:root[data-theme="dark"] .chat-pop { background: #17211a; border: 1px solid #37483d; }
:root[data-theme="dark"] .chat-pop header { border-bottom: 1px solid #334338; }
@media (max-width: 800px) { :root[data-theme="dark"] .chat-side { border-bottom: 1px solid #34453a; } }
:root[data-theme="dark"] .modal.pay-warn .modal-head h2 { color: #e6c09d; }
:root[data-theme="dark"] .modal.pay-warn .pw-icon { background: #3b2c17; }
:root[data-theme="dark"] .modal.pay-warn .pw-rows { background: #1a251e; }
:root[data-theme="dark"] .modal.pay-warn .pw-note { color: var(--muted, #aeaeba); }
:root[data-theme="dark"] .kpi.warn { border-color: #775f3a; background: #2f281b; }
:root[data-theme="dark"] .kpi.warn .k-value { color: #e4b592; }
:root[data-theme="dark"] .ts-hero { background: linear-gradient(135deg, #1f3528, #2c4a3a); }
:root[data-theme="dark"] .ts-bar i { background: #1e2b23; }
:root[data-theme="dark"] .btn.wa-btn { color: #9de7c0; }
:root[data-theme="dark"] .btn.wa-btn:hover { background: #1d3527; }
:root[data-theme="dark"] .dues-total { background: #3a3118; border: 1px solid #716136; }
:root[data-theme="dark"] .fb-item { border: 1px solid var(--line, #34453a); background: var(--card, #17211a); }
/* from billing.css */
:root[data-theme="dark"] .billing-grid fieldset { border:1px solid #35473b; }
/* from company.css */
:root[data-theme="dark"] .company-console { background:#1e2531; color:#bbcde8; }
:root[data-theme="dark"] .company-hero .btn { background:#17211a; color:#bbcde8; }
:root[data-theme="dark"] .company-metrics article { background:#17211a; }
:root[data-theme="dark"] .company-metrics strong { color:#abc2e2; }
:root[data-theme="dark"] .company-metrics span { color:#a6b3c2; }
:root[data-theme="dark"] .company-panel { background:#17211a; border:1px solid #3c475a; }
:root[data-theme="dark"] .company-console footer { color:#a6b3c2; }
:root[data-theme="dark"] .coverage-state { background:#1f2d24; }
:root[data-theme="dark"] .coverage-state.active { background:#1e382e; color:#abe9d5; }
:root[data-theme="dark"] .coverage-state.grace, :root[data-theme="dark"] .coverage-state.read_only, :root[data-theme="dark"] .coverage-state.disabled { background:#341b1b; color:#e29191; }
:root[data-theme="dark"] .company-console .input { border-color:#3a4a62; }
:root[data-theme="dark"] .company-console .data th { background:#1c2820; color:#aac1df; }
:root[data-theme="dark"] .company-console .company-hero .btn.primary { color:#bbcde8; border-color:#736137; }
:root[data-theme="dark"] .company-console .company-hero .btn.primary:hover { background:#4e3e1e; color:#bbcde8; border-color:#6a5933; }
/* from platform.css */
:root[data-theme="dark"] .eyebrow { color:#b5c9ad; }
:root[data-theme="dark"] .intro-copy { color:#b1bab0; }
:root[data-theme="dark"] .business-chips span { border:1px solid #4b5c3d; color:#bdc5b6; }
:root[data-theme="dark"] .business-card { background:#17211a; border:1px solid #35473b; }
:root[data-theme="dark"] .status-pill { background:#28341f; color:#afd2aa; }
:root[data-theme="dark"] .form-error { background:#301c1a; color:#e3928e; border:1px solid #693633; }
:root[data-theme="dark"] .card-actions { border-top:1px solid #334439; }
:root[data-theme="dark"] .subscription-summary { background:#1e2b22; }
/* from pwa.css */
:root[data-theme="dark"] #connection-status { border: 1px solid #766239; background: #3b3018; color: #ecd6b2; }
/* from polish.css */
}
