/* Dark palette derived from the existing Studby component colors. Loaded last and active only for html[data-theme=dark]. */

/* styles.css */
html[data-theme="dark"]{--bg:#2c2c2e;--surface:#1c1c1e;--surface-raised:#1c1c1e;--surface-2:#2c2c2e;--surface-tint:#2c2c2e;--ink:#ffffff;--text:#ffffff;--muted:#9d9da3;--muted-2:#8e8e93;--line:#38383a;--line-strong:#38383a;--green:#4fd871;--green-strong:#4fd871;--green-soft:#2c2c2e;--blue:#ffffff;--blue-soft:#192f47;--red:#ff6158;--red-soft:#452323;--amber:#ffad2f;--amber-soft:#453e1a;--violet:#9d9da3;--violet-soft:#282842;--shadow:0 14px 36px rgba(0,0,0,0.175);--shadow-hover:0 20px 48px rgba(0,0,0,0.275);--focus-ring:0 0 0 4px rgba(48,209,88,0.078)}
html[data-theme="dark"] .funnel-page{color:#4fd871}
html[data-theme="dark"] .funnel-head{border:1px solid #38383a;background:linear-gradient(135deg, #1f3626 0%, #203d28 100%);box-shadow:0 18px 44px rgba(48,209,88,0.048)}
html[data-theme="dark"] .funnel-eyebrow,html[data-theme="dark"] .funnel-head > div:first-child > span{color:#4fd871}
html[data-theme="dark"] .funnel-head p{color:#9d9da3}
html[data-theme="dark"] .funnel-employee-filter{color:#9d9da3}
html[data-theme="dark"] .funnel-column{border:1px solid #38383a;background:#2c2c2e}
html[data-theme="dark"] .funnel-column.is-drop-target{border-color:#22522f;background:#203d28}
html[data-theme="dark"] .funnel-column > header{border-bottom:1px solid #38383a;color:#4fd871}
html[data-theme="dark"] .funnel-column > header b{background:#1c1c1e;color:#4fd871;box-shadow:0 5px 14px rgba(48,209,88,0.048)}
html[data-theme="dark"] .funnel-card{border:1px solid #38383a;border-left:5px solid #22522f;background:#1c1c1e}
html[data-theme="dark"] .funnel-card.is-overdue{border-left-color:#602826}
html[data-theme="dark"] .funnel-column.is-status-new .funnel-card{border-left-color:#173b62}
html[data-theme="dark"] .funnel-column.is-status-work .funnel-card{border-left-color:#22522f}
html[data-theme="dark"] .funnel-column.is-status-ready .funnel-card{border-left-color:#604318}
html[data-theme="dark"] .funnel-column:nth-child(4) .funnel-card{border-left-color:#22522f}
html[data-theme="dark"] .funnel-card-top > span:first-child{color:#4fd871}
html[data-theme="dark"] .funnel-assignee,html[data-theme="dark"] .funnel-nickname{color:#9d9da3}
html[data-theme="dark"] .funnel-card-client strong{color:#4fd871}
html[data-theme="dark"] .funnel-card > p{color:#9d9da3}
html[data-theme="dark"] .funnel-card dl{border-block:1px solid #38383a}
html[data-theme="dark"] .funnel-card dt{color:#9d9da3}
html[data-theme="dark"] .funnel-card dd{color:#4fd871}
html[data-theme="dark"] .funnel-card-thread button{background:#2c2c2e;color:#4fd871}
html[data-theme="dark"] .funnel-card-thread button.is-unread,html[data-theme="dark"] .button.is-unread{border-color:#605418;background:#453e1a;color:#ffad2f;box-shadow:inset 0 0 0 1px rgba(255,159,10,0.048)}
html[data-theme="dark"] .funnel-card-thread button.is-unread::before,html[data-theme="dark"] .button.is-unread::before{background:#ff9f0a}
html[data-theme="dark"] .funnel-move-actions button{border:1px solid #38383a;background:#1c1c1e;color:#4fd871}
html[data-theme="dark"] .funnel-empty{color:#8e8e93}
html[data-theme="dark"] .funnel-archive{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .funnel-archive > header{border-bottom:1px solid #38383a}
html[data-theme="dark"] .funnel-archive > header span{color:#9d9da3}
html[data-theme="dark"] .funnel-archive-card{border-bottom:1px solid #38383a}
html[data-theme="dark"] .funnel-archive-card > div small{color:#9d9da3}
html[data-theme="dark"] .thread-dialog{background:#2c2c2e}
html[data-theme="dark"] .thread-head{border-bottom:1px solid #38383a;color:#ffffff}
html[data-theme="dark"] .thread-head span{color:#4fd871}
html[data-theme="dark"] .thread-head p{color:#8e8e93}
html[data-theme="dark"] .thread-head .icon-button{color:#ffffff;background:rgba(0,0,0,0.25)}
html[data-theme="dark"] .thread-retention{border-bottom:1px solid #38383a;background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .thread-retention strong{color:#4fd871}
html[data-theme="dark"] .thread-retention.is-active{background:#453e1a;color:#ffdc2f}
html[data-theme="dark"] .thread-retention.is-active strong{color:#ffdc2f}
html[data-theme="dark"] .thread-item{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .thread-item.is-mine{border-color:#22522f;background:#2c2c2e}
html[data-theme="dark"] .thread-item-meta strong{color:#4fd871}
html[data-theme="dark"] .thread-item-meta span{color:#8e8e93}
html[data-theme="dark"] .thread-item > p{color:#ffffff}
html[data-theme="dark"] .thread-file-icon{background:#21452b;color:#4fd871}
html[data-theme="dark"] .thread-file-card > div small{color:#9d9da3}
html[data-theme="dark"] .thread-delete{color:#ff6158}
html[data-theme="dark"] .thread-tombstone{color:#9d9da3}
html[data-theme="dark"] .thread-item.is-deleted{background:#2c2c2e}
html[data-theme="dark"] .thread-empty,html[data-theme="dark"] .thread-loading{color:#9d9da3}
html[data-theme="dark"] .thread-empty strong,html[data-theme="dark"] .thread-loading strong{color:#4fd871}
html[data-theme="dark"] .thread-loading.is-error strong{color:#ff6158}
html[data-theme="dark"] .thread-composer{border-top:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .thread-upload-progress{border-top:1px solid #38383a;background:#2c2c2e}
html[data-theme="dark"] .thread-upload-progress > div{color:#9d9da3}
html[data-theme="dark"] .thread-upload-progress i{background:#303032}
html[data-theme="dark"] .thread-upload-progress i b{background:#22522f}
html[data-theme="dark"] .thread-upload-progress .is-error strong{color:#ff6158}
html[data-theme="dark"] .employee-shell .funnel-head{background:linear-gradient(135deg, #1f3626, #2c2c2e)}
html[data-theme="dark"] .nav-button.is-active{background:#303032;color:#4fd871}
html[data-theme="dark"] .nav-button.is-active .nav-icon{border-color:#38383a;background:#1f3626;color:#4fd871}
html[data-theme="dark"] .topbar{background:rgba(44,44,46,0.92)}
html[data-theme="dark"] .button:hover,html[data-theme="dark"] .icon-button:hover{border-color:#38383a;background:#1c1c1e}
html[data-theme="dark"] .button.primary{border-color:#22522f;color:#ffffff}
html[data-theme="dark"] .button.danger{border-color:#602826}
html[data-theme="dark"] .link-button:hover{color:#ffffff}
html[data-theme="dark"] .metric-card.good{border-color:#22522f;background:linear-gradient(180deg, #1c1c1e 0%, #203d28 100%)}
html[data-theme="dark"] .metric-card.warn{border-color:#604318;background:linear-gradient(180deg, #1c1c1e 0%, #453e1a 100%)}
html[data-theme="dark"] .metric-card.bad{border-color:#602826;background:linear-gradient(180deg, #1c1c1e 0%, #452323 100%)}
html[data-theme="dark"] .panel:hover{border-color:#38383a}
html[data-theme="dark"] .select:focus,html[data-theme="dark"] .input:focus,html[data-theme="dark"] .textarea:focus,html[data-theme="dark"] .search:focus-within{border-color:#38383a;box-shadow:0 0 0 3px rgba(48,209,88,0.072)}
html[data-theme="dark"] th{background:#2c2c2e}
html[data-theme="dark"] tr:hover td{background:#2c2c2e}
html[data-theme="dark"] tbody tr:hover td:first-child{box-shadow:inset 3px 0 0 rgba(34,82,47,0.35)}
html[data-theme="dark"] tr.is-selected td{background:#2c2c2e}
html[data-theme="dark"] .client-click-cell:hover{background:#192f47!important}
html[data-theme="dark"] .status-new{color:#ffffff}
html[data-theme="dark"] .status-work{color:#4fd871}
html[data-theme="dark"] .status-ready{color:#ffad2f}
html[data-theme="dark"] .status-done{color:#9d9da3;background:#2c2c2e}
html[data-theme="dark"] .status-cancel{color:#ff6158}
html[data-theme="dark"] .tag{color:#ffffff}
html[data-theme="dark"] .tag.green{color:#4fd871}
html[data-theme="dark"] .tag.red{color:#ff6158}
html[data-theme="dark"] .tag.amber{color:#ffad2f}
html[data-theme="dark"] .transaction-card{background:#1c1c1e}
html[data-theme="dark"] .transaction-card.income{border-color:#22522f;background:#2c2c2e}
html[data-theme="dark"] .transaction-card.expense{border-color:#602826;background:#452323}
html[data-theme="dark"] .transaction-type.income{color:#4fd871;background:#303032}
html[data-theme="dark"] .transaction-type.expense{color:#ff6158;background:#452323}
html[data-theme="dark"] .transaction-card-description{color:#ffffff}
html[data-theme="dark"] .category-row:hover{background:#2c2c2e}
html[data-theme="dark"] .category-row:hover .mini-name{color:#4fd871}
html[data-theme="dark"] .category-row:hover .category-progress > span{box-shadow:0 0 0 3px rgba(48,209,88,0.072)}
html[data-theme="dark"] .bar-group:hover{background:#2c2c2e}
html[data-theme="dark"] .bar-group:hover .bar-stack{border-color:#38383a}
html[data-theme="dark"] .bar.income{background:linear-gradient(180deg, #303032 0%, var(--green) 100%)}
html[data-theme="dark"] .bar.expense{background:linear-gradient(180deg, #ff453a 0%, var(--red) 100%)}
html[data-theme="dark"] .bar.profit{background:linear-gradient(180deg, #0a84ff 0%, var(--blue) 100%)}
html[data-theme="dark"] .bar-tooltip{background:#1c1c1e}
html[data-theme="dark"] .attention-item{background:#1c1c1e}
html[data-theme="dark"] .attention-item:hover{border-color:#22522f;background:#1f3626}
html[data-theme="dark"] .order-filter-trigger{background:#1c1c1e}
html[data-theme="dark"] .order-filter-trigger:hover,html[data-theme="dark"] .order-filter-trigger.is-active,html[data-theme="dark"] .order-filter-dropdown.is-open .order-filter-trigger{border-color:#38383a;background:#2c2c2e}
html[data-theme="dark"] .order-filter-trigger.is-active,html[data-theme="dark"] .order-filter-dropdown.is-open .order-filter-trigger{box-shadow:0 0 0 3px rgba(48,209,88,0.048)}
html[data-theme="dark"] .order-filter-menu{background:#2c2c2e;box-shadow:inset 0 1px 0 rgba(28,28,30,0.7)}
html[data-theme="dark"] .filter-chip{background:#1c1c1e}
html[data-theme="dark"] .filter-chip:hover{border-color:#38383a;background:#2c2c2e}
html[data-theme="dark"] .filter-chip.is-active{border-color:#38383a;background:#2c2c2e;box-shadow:0 0 0 3px rgba(48,209,88,0.048)}
html[data-theme="dark"] .avito-form-summary span{background:#2c2c2e}
html[data-theme="dark"] .avito-summary-row.is-selected{border-color:#38383a;background:#203d28}
html[data-theme="dark"] .avito-summary-stats span{background:#2c2c2e}
html[data-theme="dark"] .analytics-card,html[data-theme="dark"] .analytics-row-card,html[data-theme="dark"] .partner-card,html[data-theme="dark"] .pnl-card,html[data-theme="dark"] .scenario-card{background:#1c1c1e}
html[data-theme="dark"] .analytics-card.good{border-color:#22522f;background:#2c2c2e}
html[data-theme="dark"] .analytics-card.warn{border-color:#604318;background:#453e1a}
html[data-theme="dark"] .analytics-card.bad{border-color:#602826;background:#452323}
html[data-theme="dark"] .forecast-box,html[data-theme="dark"] .calculator-main{border:1px solid #22522f;background:#2c2c2e}
html[data-theme="dark"] .finance-command-main{background:#2c2c2e;border-color:#22522f}
html[data-theme="dark"] .finance-command-side{background:#453e1a;border-color:#604318}
html[data-theme="dark"] .finance-owner-tile,html[data-theme="dark"] .analytics-proof,html[data-theme="dark"] .finance-pulse-card,html[data-theme="dark"] .finance-story-card,html[data-theme="dark"] .finance-month-tile{background:#1c1c1e}
html[data-theme="dark"] .finance-equation{background:rgba(28,28,30,0.72)}
html[data-theme="dark"] .finance-pulse-card.good{border-color:#22522f;background:#2c2c2e}
html[data-theme="dark"] .finance-pulse-card.warn{border-color:#604318;background:#453e1a}
html[data-theme="dark"] .finance-pulse-card.bad{border-color:#602826;background:#452323}
html[data-theme="dark"] .analytics-ledger-main{background:#2c2c2e;border-color:#22522f}
html[data-theme="dark"] .finance-plain-row.is-main{background:#2c2c2e;border:1px solid #22522f}
html[data-theme="dark"] .finance-plain-row.warn b{color:#ffdc2f}
html[data-theme="dark"] .analytics-hero-main{background:#2c2c2e;border-color:#22522f}
html[data-theme="dark"] .analytics-hero-side{background:#1c1c1e}
html[data-theme="dark"] .finance-story-card.good{border-color:#22522f;background:#2c2c2e}
html[data-theme="dark"] .finance-story-card.warn{border-color:#604318;background:#453e1a}
html[data-theme="dark"] .finance-story-card.bad{border-color:#602826;background:#452323}
html[data-theme="dark"] .finance-mini-bar i{background:#303032}
html[data-theme="dark"] .finance-mini-bar i.amber{background:#563d19}
html[data-theme="dark"] .finance-mini-bar i.red{background:#4f2524}
html[data-theme="dark"] .client-order-card,html[data-theme="dark"] .avito-form,html[data-theme="dark"] .avito-total-box{background:#1c1c1e}
html[data-theme="dark"] .client-order-card:hover{border-color:#38383a;background:#1f3626}
html[data-theme="dark"] .detail-box{background:#1c1c1e}
html[data-theme="dark"] .quick-status-box{background:#1c1c1e}
html[data-theme="dark"] .quick-status-chip:hover{border-color:#38383a;color:#4fd871}
html[data-theme="dark"] .quick-status-chip.is-active{border-color:#38383a;color:#4fd871}
html[data-theme="dark"] .calendar-group.red{border-color:#602826}
html[data-theme="dark"] .calendar-group.amber{border-color:#604318}
html[data-theme="dark"] .calendar-group.green{border-color:#22522f}
html[data-theme="dark"] .calendar-order-card,html[data-theme="dark"] .mobile-card{background:#1c1c1e}
html[data-theme="dark"] .calendar-order-card:hover,html[data-theme="dark"] .mobile-card:hover{border-color:#38383a;background:#1f3626}
html[data-theme="dark"] .mobile-money-grid > div{background:#1c1c1e}
html[data-theme="dark"] .mobile-card.is-selected{border-color:#38383a;background:#2c2c2e}
html[data-theme="dark"] .client-strip:hover{background:#192f47}
html[data-theme="dark"] .form-error{border:1px solid #602826;color:#ff6158}
html[data-theme="dark"] .sheet-tab.is-active{border-color:#38383a;color:#4fd871}
html[data-theme="dark"] .raw-table .row-index{background:#2c2c2e}
html[data-theme="dark"] .toast{border:1px solid #38383a;background:#1f3626;color:#4fd871}
html[data-theme="dark"] body{background:linear-gradient(180deg, #1c1c1e 0%, #2c2c2e 34%, #2c2c2e 100%)}
html[data-theme="dark"] .brand-title{color:#ffffff}
html[data-theme="dark"] .icon-button{background:rgba(28,28,30,0.84)}
html[data-theme="dark"] .nav-button{color:#ffffff}
html[data-theme="dark"] .nav-button:hover{border-color:rgba(56,56,58,0.7);background:#2c2c2e}
html[data-theme="dark"] .nav-button.is-active{border-color:#22522f;background:#2c2c2e}
html[data-theme="dark"] .nav-icon{border-color:#38383a;background:#1c1c1e}
html[data-theme="dark"] .nav-button.is-active .nav-icon{border-color:#22522f;background:#1f3626;box-shadow:0 6px 14px rgba(48,209,88,0.06)}
html[data-theme="dark"] .nav-count{background:rgba(28,28,30,0.86);color:#9d9da3;box-shadow:inset 0 0 0 1px rgba(48,48,50,0.5)}
html[data-theme="dark"] .topbar{border-bottom-color:rgba(56,56,58,0.82);background:rgba(44,44,46,0.9)}
html[data-theme="dark"] .search{border-color:#38383a;background:rgba(28,28,30,0.9)}
html[data-theme="dark"] .search:hover,html[data-theme="dark"] .search:focus-within{border-color:#22522f;background:#1c1c1e}
html[data-theme="dark"] .search-symbol{background:#2c2c2e}
html[data-theme="dark"] .user-chip{color:#9d9da3}
html[data-theme="dark"] .page-title{color:#ffffff}
html[data-theme="dark"] .page-note{color:#9d9da3}
html[data-theme="dark"] .button,html[data-theme="dark"] .icon-button,html[data-theme="dark"] .sheet-tab{border-color:#38383a;background:#1c1c1e;color:#ffffff;box-shadow:0 1px 0 rgba(28,28,30,0.9)}
html[data-theme="dark"] .button:hover,html[data-theme="dark"] .icon-button:hover,html[data-theme="dark"] .sheet-tab:hover{border-color:#38383a;background:#2c2c2e}
html[data-theme="dark"] .button.primary{box-shadow:0 12px 24px rgba(48,209,88,0.108)}
html[data-theme="dark"] .button.primary:hover{box-shadow:0 14px 30px rgba(48,209,88,0.132)}
html[data-theme="dark"] .button.danger{border-color:#602826;background:#3c2222}
html[data-theme="dark"] .button.subtle{background:rgba(28,28,30,0.72)}
html[data-theme="dark"] .select,html[data-theme="dark"] .input,html[data-theme="dark"] .textarea{border-color:#38383a;background:#1c1c1e}
html[data-theme="dark"] .select:hover,html[data-theme="dark"] .input:hover,html[data-theme="dark"] .textarea:hover{border-color:#38383a}
html[data-theme="dark"] .select:focus,html[data-theme="dark"] .input:focus,html[data-theme="dark"] .textarea:focus,html[data-theme="dark"] .search:focus-within{border-color:#22522f}
html[data-theme="dark"] .panel,html[data-theme="dark"] .metric-card,html[data-theme="dark"] .analytics-card,html[data-theme="dark"] .analytics-row-card,html[data-theme="dark"] .partner-card,html[data-theme="dark"] .pnl-card,html[data-theme="dark"] .scenario-card,html[data-theme="dark"] .finance-command-main,html[data-theme="dark"] .finance-command-side,html[data-theme="dark"] .analytics-hero-main,html[data-theme="dark"] .analytics-hero-side,html[data-theme="dark"] .analytics-ledger-main,html[data-theme="dark"] .analytics-ledger-side,html[data-theme="dark"] .finance-owner-tile,html[data-theme="dark"] .analytics-proof,html[data-theme="dark"] .finance-pulse-card,html[data-theme="dark"] .finance-story-card,html[data-theme="dark"] .finance-month-tile,html[data-theme="dark"] .detail-box,html[data-theme="dark"] .client-order-card,html[data-theme="dark"] .avito-form,html[data-theme="dark"] .avito-total-box,html[data-theme="dark"] .calendar-order-card,html[data-theme="dark"] .mobile-card,html[data-theme="dark"] .transaction-card,html[data-theme="dark"] .avito-summary-row{border-color:#38383a;background:rgba(28,28,30,0.94)}
html[data-theme="dark"] .panel:hover,html[data-theme="dark"] .metric-card:hover,html[data-theme="dark"] .analytics-card:hover,html[data-theme="dark"] .analytics-row-card:hover,html[data-theme="dark"] .partner-card:hover,html[data-theme="dark"] .pnl-card:hover,html[data-theme="dark"] .scenario-card:hover,html[data-theme="dark"] .finance-pulse-card:hover,html[data-theme="dark"] .finance-story-card:hover,html[data-theme="dark"] .finance-month-tile:hover,html[data-theme="dark"] .client-order-card:hover,html[data-theme="dark"] .avito-summary-row:hover{border-color:#38383a}
html[data-theme="dark"] .panel-head{border-bottom-color:#38383a;background:linear-gradient(180deg, #1c1c1e 0%, #1c1c1e 100%)}
html[data-theme="dark"] .panel-title{color:#ffffff}
html[data-theme="dark"] .panel-subtitle{color:#9d9da3}
html[data-theme="dark"] th{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] td{color:#ffffff}
html[data-theme="dark"] tr:hover td{background:#2c2c2e}
html[data-theme="dark"] tbody tr:hover td:first-child{box-shadow:inset 3px 0 0 rgba(33,77,46,0.46)}
html[data-theme="dark"] tr.is-selected td{background:#2c2c2e}
html[data-theme="dark"] .status-pill,html[data-theme="dark"] .tag,html[data-theme="dark"] .quick-status-chip,html[data-theme="dark"] .filter-chip{box-shadow:inset 0 0 0 1px rgba(28,28,30,0.44)}
html[data-theme="dark"] .status-new{color:#ffffff;background:#192f47}
html[data-theme="dark"] .status-work{background:#2c2c2e}
html[data-theme="dark"] .status-ready{color:#ffdc2f;background:#453e1a}
html[data-theme="dark"] .status-done{color:#9d9da3;background:#2c2c2e}
html[data-theme="dark"] .status-cancel{color:#ff6158;background:#452323}
html[data-theme="dark"] .order-filter-trigger{border-color:#38383a;background:#1c1c1e}
html[data-theme="dark"] .order-filter-trigger span{color:#9d9da3}
html[data-theme="dark"] .order-filter-trigger:hover,html[data-theme="dark"] .order-filter-trigger.is-active,html[data-theme="dark"] .order-filter-dropdown.is-open .order-filter-trigger{border-color:#22522f;background:#2c2c2e}
html[data-theme="dark"] .order-filter-menu{border-color:#38383a;background:#2c2c2e;box-shadow:inset 0 1px 0 rgba(28,28,30,0.86), 0 10px 24px rgba(0,0,0,0.15)}
html[data-theme="dark"] .filter-chip{border-color:#38383a;background:#1c1c1e;color:#ffffff}
html[data-theme="dark"] .filter-chip:hover{border-color:#22522f;background:#2c2c2e}
html[data-theme="dark"] .filter-chip.is-active{border-color:#22522f;background:#2c2c2e}
html[data-theme="dark"] .active-filter-line .tag{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .finance-command-main,html[data-theme="dark"] .analytics-ledger-main,html[data-theme="dark"] .analytics-hero-main{border-color:#22522f;background:linear-gradient(180deg, #1f3626 0%, #2c2c2e 100%)}
html[data-theme="dark"] .finance-command-side{border-color:#605418;background:linear-gradient(180deg, #3c371b 0%, #453e1a 100%)}
html[data-theme="dark"] .finance-eyebrow,html[data-theme="dark"] .analytics-label{color:#9d9da3}
html[data-theme="dark"] .finance-command-value,html[data-theme="dark"] .analytics-hero-value,html[data-theme="dark"] .analytics-ledger-value,html[data-theme="dark"] .metric-value,html[data-theme="dark"] .analytics-value,html[data-theme="dark"] .partner-balance,html[data-theme="dark"] .forecast-value,html[data-theme="dark"] .calculator-price,html[data-theme="dark"] .finance-pulse-value,html[data-theme="dark"] .finance-story-value,html[data-theme="dark"] .finance-month-value{color:#ffffff}
html[data-theme="dark"] .finance-owner-tile{background:rgba(28,28,30,0.76)}
html[data-theme="dark"] .finance-pulse-card.good,html[data-theme="dark"] .analytics-card.good,html[data-theme="dark"] .finance-story-card.good,html[data-theme="dark"] .metric-card.good,html[data-theme="dark"] .transaction-card.income{border-color:#22522f;background:#2c2c2e}
html[data-theme="dark"] .finance-pulse-card.warn,html[data-theme="dark"] .analytics-card.warn,html[data-theme="dark"] .finance-story-card.warn,html[data-theme="dark"] .metric-card.warn{border-color:#605418;background:#453e1a}
html[data-theme="dark"] .finance-pulse-card.bad,html[data-theme="dark"] .analytics-card.bad,html[data-theme="dark"] .finance-story-card.bad,html[data-theme="dark"] .metric-card.bad,html[data-theme="dark"] .transaction-card.expense{border-color:#602826;background:#452323}
html[data-theme="dark"] .finance-equation{background:rgba(28,28,30,0.78);box-shadow:inset 0 0 0 1px rgba(79,70,25,0.55)}
html[data-theme="dark"] .finance-queue-row,html[data-theme="dark"] .analytics-list-row,html[data-theme="dark"] .analytics-statement > div,html[data-theme="dark"] .finance-plain-row,html[data-theme="dark"] .mini-row{border-bottom-color:#38383a}
html[data-theme="dark"] .finance-queue-row.is-actionable:hover{background:#2c2c2e}
html[data-theme="dark"] .analytics-filter-title{color:#ffffff}
html[data-theme="dark"] .analytics-ledger-side,html[data-theme="dark"] .analytics-hero-side{background:#1c1c1e}
html[data-theme="dark"] .finance-plain-row.is-main{border-color:#22522f;background:#203d28}
html[data-theme="dark"] .analytics-list-row.as-button:hover{background:#2c2c2e}
html[data-theme="dark"] .mobile-money-grid > div,html[data-theme="dark"] .quick-status-box{border-color:#38383a;background:#1c1c1e}
html[data-theme="dark"] .quick-status-chip.is-active{border-color:#22522f;background:#2c2c2e}
html[data-theme="dark"] .calendar-group.red{border-color:#602826}
html[data-theme="dark"] .calendar-group.amber{border-color:#605418}
html[data-theme="dark"] .calendar-group.green{border-color:#22522f}
html[data-theme="dark"] .client-strip:hover,html[data-theme="dark"] .client-click-cell:hover{background:#192f47!important}
html[data-theme="dark"] .dialog{border-color:#38383a;background:#1c1c1e}
html[data-theme="dark"] .dialog-head,html[data-theme="dark"] .dialog-foot{border-color:#38383a;background:#1c1c1e}
html[data-theme="dark"] .dialog-title{color:#ffffff}
html[data-theme="dark"] .empty{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .toast{border-color:#22522f;background:#1f3626}
html[data-theme="dark"] .boot-state{background:linear-gradient(180deg, #1c1c1e 0%, #2c2c2e 100%)}
html[data-theme="dark"] .reimbursement-panel{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .reimbursement-summary > div,html[data-theme="dark"] .reimbursement-dialog-summary > div{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .reimbursement-summary .is-due,html[data-theme="dark"] .reimbursement-dialog-summary .is-due{border-color:#604318;background:#453e1a;color:#ffad2f}
html[data-theme="dark"] .reimbursement-summary .is-settled{border-color:#22522f;background:#203d28;color:#4fd871}
html[data-theme="dark"] .reimbursement-policy,html[data-theme="dark"] .reimbursement-empty,html[data-theme="dark"] .reimbursement-settled{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .reimbursement-empty{border:1px solid #38383a}
html[data-theme="dark"] .reimbursement-settled{background:#2c2c2e;color:#4fd871}
html[data-theme="dark"] .reimbursement-row{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .reimbursement-delete{color:#ff6158}
html[data-theme="dark"] .million-kpi.green,html[data-theme="dark"] .million-scenario-card.green,html[data-theme="dark"] .million-model-card.green{border-color:rgba(48,209,88,0.168)}
html[data-theme="dark"] .million-kpi.amber{border-color:rgba(255,159,10,0.168)}
html[data-theme="dark"] .million-kpi.red,html[data-theme="dark"] .million-scenario-card.red,html[data-theme="dark"] .million-model-card.red{border-color:rgba(255,69,58,0.168)}
html[data-theme="dark"] .million-step-card{border:1px solid rgba(56,56,58,0.84)}
html[data-theme="dark"] .million-step-card.green{border-color:rgba(48,209,88,0.168);background:#203d28}
html[data-theme="dark"] .million-step-card.amber{border-color:rgba(255,159,10,0.168);background:#453e1a}
html[data-theme="dark"] .million-step-card.red{border-color:rgba(255,69,58,0.168);background:#452323}
html[data-theme="dark"] .million-step-card.main{border-color:rgba(34,82,47,0.44);box-shadow:0 20px 44px rgba(48,209,88,0.084)}
html[data-theme="dark"] .million-step-head span{background:rgba(48,209,88,0.072)}
html[data-theme="dark"] .million-step-facts{border-top:1px solid rgba(56,56,58,0.85)}
html[data-theme="dark"] .million-advanced{border-top:1px solid rgba(56,56,58,0.8)}
html[data-theme="dark"] .million-advanced summary::after{border:1px solid rgba(48,209,88,0.132)}
html[data-theme="dark"] .million-readable-card{border:1px solid rgba(56,56,58,0.84)}
html[data-theme="dark"] .million-card .scenario-statement-line{border-bottom:1px solid rgba(56,56,58,0.8)}
html[data-theme="dark"] .million-model-card.primary{border-color:rgba(34,82,47,0.42);box-shadow:0 18px 38px rgba(48,209,88,0.078)}
html[data-theme="dark"] .million-model-title b{background:rgba(48,209,88,0.072)}
html[data-theme="dark"] .payroll-owner-section{border:1px solid #38383a;background:#1c1c1e;box-shadow:0 16px 38px rgba(48,209,88,0.042)}
html[data-theme="dark"] .payroll-section-head h2,html[data-theme="dark"] .payroll-profile-head h2,html[data-theme="dark"] .payroll-dashboard-head h2{color:#ffffff}
html[data-theme="dark"] .payroll-section-head p,html[data-theme="dark"] .payroll-profile-head p,html[data-theme="dark"] .payroll-dashboard-head p{color:#9d9da3}
html[data-theme="dark"] .payroll-month-control{color:#9d9da3}
html[data-theme="dark"] .payroll-month-control .input{border-color:#38383a;background:#2c2c2e;color:#4fd871}
html[data-theme="dark"] .payroll-summary-card{border:1px solid #38383a;background:#2c2c2e}
html[data-theme="dark"] .payroll-summary-card > span,html[data-theme="dark"] .payroll-money-cell > span,html[data-theme="dark"] .payroll-profile-grid span,html[data-theme="dark"] .payroll-dashboard-metrics span,html[data-theme="dark"] .employee-payroll-facts span{color:#9d9da3}
html[data-theme="dark"] .payroll-summary-card > strong{color:#4fd871}
html[data-theme="dark"] .payroll-summary-card > small,html[data-theme="dark"] .payroll-money-cell > small,html[data-theme="dark"] .payroll-profile-grid small,html[data-theme="dark"] .payroll-dashboard-metrics small,html[data-theme="dark"] .employee-payroll-facts small{color:#9d9da3}
html[data-theme="dark"] .payroll-summary-card.is-income{border-color:#38383a;background:#2c2c2e}
html[data-theme="dark"] .payroll-summary-card.is-bonus{border-color:#605418;background:#45341a}
html[data-theme="dark"] .payroll-summary-card.is-salary{border-color:#173b62;background:#192f46}
html[data-theme="dark"] .payroll-summary-card.is-paid{border-color:#38383a;background:#2c2c2e}
html[data-theme="dark"] .payroll-summary-card.is-due{border-color:#604318;background:#453e1a}
html[data-theme="dark"] .payroll-summary-card.is-profit{border-color:#22522f;background:linear-gradient(145deg, #2c2c2e, #2c2c2e)}
html[data-theme="dark"] .payroll-summary-card.is-loss{border-color:#602826;background:#452323}
html[data-theme="dark"] .payroll-summary-card:is(.is-income, .is-paid, .is-profit) > strong{color:#4fd871}
html[data-theme="dark"] .payroll-summary-card:is(.is-bonus, .is-due) > strong{color:#ffad2f}
html[data-theme="dark"] .payroll-summary-card.is-loss > strong{color:#ff6158}
html[data-theme="dark"] .payroll-notice,html[data-theme="dark"] .payroll-rule-note,html[data-theme="dark"] .payroll-dashboard-foot{border:1px solid #605418;background:#453e1a;color:#ffdc2f}
html[data-theme="dark"] .payroll-notice strong,html[data-theme="dark"] .payroll-rule-note strong,html[data-theme="dark"] .payroll-dashboard-foot strong{color:#ffdc2f}
html[data-theme="dark"] .payroll-employee-row{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .payroll-person,html[data-theme="dark"] .payroll-plan-cell,html[data-theme="dark"] .payroll-money-cell,html[data-theme="dark"] .payroll-row-actions{border-right:1px solid #38383a}
html[data-theme="dark"] .payroll-person{color:#4fd871}
html[data-theme="dark"] .payroll-person:hover{background:#2c2c2e}
html[data-theme="dark"] .payroll-avatar{background:#2c2c2e;color:#4fd871}
html[data-theme="dark"] .payroll-person strong,html[data-theme="dark"] .payroll-plan-cell strong,html[data-theme="dark"] .payroll-plan-cell > div > span{color:#4fd871}
html[data-theme="dark"] .payroll-person small,html[data-theme="dark"] .payroll-plan-cell small{color:#9d9da3}
html[data-theme="dark"] .payroll-progress,html[data-theme="dark"] .payroll-profile-progress > span,html[data-theme="dark"] .employee-payroll-progress > span,html[data-theme="dark"] .payroll-dashboard-person-progress{background:#2c2c2e}
html[data-theme="dark"] .payroll-progress i,html[data-theme="dark"] .payroll-profile-progress i,html[data-theme="dark"] .employee-payroll-progress i,html[data-theme="dark"] .payroll-dashboard-person-progress i{background:linear-gradient(90deg, #30d158, #303032)}
html[data-theme="dark"] .payroll-money-cell > strong{color:#4fd871}
html[data-theme="dark"] .payroll-money-cell.is-bonus > strong,html[data-theme="dark"] .payroll-money-cell.is-due > strong{color:#ffad2f}
html[data-theme="dark"] .payroll-money-cell.is-settled > strong{color:#4fd871}
html[data-theme="dark"] .team-person-payroll{color:#ffffff}
html[data-theme="dark"] .payroll-profile-panel{border:1px solid #38383a;background:linear-gradient(145deg, #1c1c1e, #2c2c2e);box-shadow:0 13px 32px rgba(48,209,88,0.036)}
html[data-theme="dark"] .payroll-profile-grid > div{border:1px solid #38383a;background:rgba(28,28,30,0.84)}
html[data-theme="dark"] .payroll-profile-grid strong{color:#4fd871}
html[data-theme="dark"] .payroll-profile-grid .is-due strong{color:#ffad2f}
html[data-theme="dark"] .payroll-profile-grid .is-profit strong{color:#4fd871}
html[data-theme="dark"] .payroll-profile-grid .is-loss strong{color:#ff6158}
html[data-theme="dark"] .payroll-profile-progress small{color:#9d9da3}
html[data-theme="dark"] .payroll-dashboard-panel{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .payroll-dashboard-head > div > span{color:#4fd871}
html[data-theme="dark"] .payroll-dashboard-metrics > article{border:1px solid #38383a;background:#2c2c2e}
html[data-theme="dark"] .payroll-dashboard-metrics strong{color:#4fd871}
html[data-theme="dark"] .payroll-dashboard-metrics .is-income,html[data-theme="dark"] .payroll-dashboard-metrics .is-paid,html[data-theme="dark"] .payroll-dashboard-metrics .is-profit{border-color:#38383a;background:#2c2c2e}
html[data-theme="dark"] .payroll-dashboard-metrics .is-salary{border-color:#173b62;background:#192f46}
html[data-theme="dark"] .payroll-dashboard-metrics .is-cost,html[data-theme="dark"] .payroll-dashboard-metrics .is-due{border-color:#605418;background:#45341a}
html[data-theme="dark"] .payroll-dashboard-metrics .is-loss{border-color:#602826;background:#452323}
html[data-theme="dark"] .payroll-dashboard-metrics .is-dividend{border-color:#38383a;background:linear-gradient(145deg, #2c2c2e, #303032)}
html[data-theme="dark"] .payroll-dashboard-metrics :is(.is-income, .is-paid, .is-profit, .is-dividend) strong{color:#4fd871}
html[data-theme="dark"] .payroll-dashboard-metrics :is(.is-cost, .is-due) strong{color:#ffad2f}
html[data-theme="dark"] .payroll-dashboard-metrics .is-loss strong{color:#ff6158}
html[data-theme="dark"] .payroll-dashboard-person{border:1px solid #38383a;background:#1c1c1e;color:#4fd871}
html[data-theme="dark"] .payroll-dashboard-person:hover{border-color:#38383a;background:#2c2c2e}
html[data-theme="dark"] .payroll-dashboard-person small{color:#9d9da3}
html[data-theme="dark"] .payroll-dashboard-person .is-profit strong{color:#4fd871}
html[data-theme="dark"] .payroll-dashboard-person .is-loss strong{color:#ff6158}
html[data-theme="dark"] .payroll-dashboard-foot{border-color:#38383a;background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .payroll-dashboard-foot strong{color:#4fd871}
html[data-theme="dark"] .employee-payroll-card{border:1px solid #38383a;background:linear-gradient(145deg, #1c1c1e 0%, #2c2c2e 100%);box-shadow:0 18px 40px rgba(48,209,88,0.066)}
html[data-theme="dark"] .employee-payroll-hero > div > span{color:#4fd871}
html[data-theme="dark"] .employee-payroll-hero > div > strong{color:#4fd871}
html[data-theme="dark"] .employee-payroll-hero > div > small{color:#9d9da3}
html[data-theme="dark"] .employee-payroll-status{border:1px solid #605418;background:#453e1a}
html[data-theme="dark"] .employee-payroll-status.is-paid{border-color:#38383a;background:#2c2c2e}
html[data-theme="dark"] .employee-payroll-status small{color:#ffdc2f}
html[data-theme="dark"] .employee-payroll-status strong{color:#ffad2f}
html[data-theme="dark"] .employee-payroll-status.is-paid strong{color:#4fd871}
html[data-theme="dark"] .employee-payroll-facts > div{border:1px solid #38383a;background:rgba(28,28,30,0.82)}
html[data-theme="dark"] .employee-payroll-facts strong{color:#4fd871}
html[data-theme="dark"] .employee-payroll-progress > div{color:#ffffff}
html[data-theme="dark"] .employee-payroll-progress > span{background:#303032}
html[data-theme="dark"] .employee-payroll-progress small{color:#9d9da3}
html[data-theme="dark"] .payroll-dialog-form .field > span,html[data-theme="dark"] .payroll-expense-editor .field > span{color:#9d9da3}
html[data-theme="dark"] .payroll-dialog-summary > div{border:1px solid #38383a;background:#2c2c2e}
html[data-theme="dark"] .payroll-dialog-summary span{color:#9d9da3}
html[data-theme="dark"] .payroll-dialog-summary strong{color:#4fd871}
html[data-theme="dark"] .payroll-dialog-summary .is-due strong{color:#ffad2f}
@media (max-width: 820px){
html[data-theme="dark"] .payroll-person,html[data-theme="dark"] .payroll-plan-cell{border-bottom:1px solid #38383a}
}
@media (max-width: 600px){
html[data-theme="dark"] .payroll-person,html[data-theme="dark"] .payroll-plan-cell,html[data-theme="dark"] .payroll-money-cell,html[data-theme="dark"] .payroll-row-actions{border-bottom:1px solid #38383a}
}
html[data-theme="dark"] body[data-crm-role="employee"]{--employee-ink:#ffffff;--employee-muted:#9d9da3;--employee-line:#38383a;--employee-surface:#1c1c1e;--employee-bg:#2c2c2e;--employee-accent:#ffffff;--employee-accent-dark:#ffffff;--employee-accent-soft:#192f47}
html[data-theme="dark"] .employee-shell{background:radial-gradient(circle at 10% 0%, rgba(10,132,255,0.054), transparent 26rem),
    var(--employee-bg)}
html[data-theme="dark"] .employee-header{border-bottom:1px solid rgba(56,56,58,0.86);background:rgba(28,28,30,0.9)}
html[data-theme="dark"] .employee-brand-mark{background:linear-gradient(145deg, #0a84ff, #173b62);box-shadow:0 10px 22px rgba(10,132,255,0.132);color:#ffffff}
html[data-theme="dark"] .employee-nav{background:#2c2c2e}
html[data-theme="dark"] .employee-nav-button:hover,html[data-theme="dark"] .employee-nav-button.is-active{background:#1c1c1e}
html[data-theme="dark"] .employee-user .button{background:#1c1c1e}
html[data-theme="dark"] .employee-segmented{background:#1c1c1e}
html[data-theme="dark"] .employee-custom-range .input{background:#1c1c1e}
html[data-theme="dark"] .employee-kpi:hover{border-color:#38383a}
html[data-theme="dark"] .employee-kpi.is-violet{color:#ffffff}
html[data-theme="dark"] .employee-kpi.is-blue{color:#ffffff}
html[data-theme="dark"] .employee-kpi.is-green{color:#4fd871}
html[data-theme="dark"] .employee-kpi.is-amber{color:#ffad2f}
html[data-theme="dark"] .employee-kpi.is-red{color:#ff6158}
html[data-theme="dark"] .employee-kpi.is-slate{color:#9d9da3}
html[data-theme="dark"] .employee-status-list > button{border-bottom:1px solid #38383a}
html[data-theme="dark"] .employee-status-track{background:#2c2c2e}
html[data-theme="dark"] .employee-status-track i{background:linear-gradient(90deg, #0a84ff, #173757)}
html[data-theme="dark"] .employee-deadline-row,html[data-theme="dark"] .employee-recent-row{border-bottom:1px solid #38383a}
html[data-theme="dark"] .employee-order-id{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .employee-deadline-date.is-red strong,html[data-theme="dark"] .employee-order-facts strong.is-red,html[data-theme="dark"] .employee-editor-context .is-red{color:#ff6158}
html[data-theme="dark"] .employee-deadline-date.is-amber strong,html[data-theme="dark"] .employee-order-facts strong.is-amber,html[data-theme="dark"] .employee-editor-context .is-amber{color:#ffad2f}
html[data-theme="dark"] .employee-deadline-date.is-green strong,html[data-theme="dark"] .employee-order-facts strong.is-green,html[data-theme="dark"] .employee-editor-context .is-green{color:#4fd871}
html[data-theme="dark"] .employee-empty > span{background:#2c2c2e;color:#4fd871}
html[data-theme="dark"] .employee-month-bar{background:#2c2c2e}
html[data-theme="dark"] .employee-month-bar i{background:linear-gradient(180deg, #0a84ff, #0a84ff)}
html[data-theme="dark"] .employee-search{background:#1c1c1e}
html[data-theme="dark"] .employee-filter-chips button{background:#1c1c1e}
html[data-theme="dark"] .employee-filter-chips button:hover,html[data-theme="dark"] .employee-filter-chips button.is-active{border-color:#173b62}
html[data-theme="dark"] .employee-order-sort .select{background-color:#1c1c1e}
html[data-theme="dark"] .employee-order-card{background:#1c1c1e}
html[data-theme="dark"] .employee-order-card.is-overdue{border-color:#602826;box-shadow:inset 3px 0 #602826, 0 9px 28px rgba(10,132,255,0.027)}
html[data-theme="dark"] .employee-order-task{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .employee-order-facts{border:1px solid #38383a}
html[data-theme="dark"] .employee-order-facts > span{border-right:1px solid #38383a}
html[data-theme="dark"] body[data-crm-role="employee"] #orderDialog.dialog{background:#1c1c1e}
html[data-theme="dark"] .employee-editor-money{background:#1c1c1e}
html[data-theme="dark"] .employee-editor-money .is-amber{color:#ffad2f}
html[data-theme="dark"] .employee-editor-money .is-green{color:#4fd871}
html[data-theme="dark"] body[data-crm-role="employee"] .employee-editor-fields :is(.input, .select){background-color:#1c1c1e}
html[data-theme="dark"] .employee-editor-context{background:#2c2c2e}
html[data-theme="dark"] .employee-editor-context p{color:#9d9da3}
@media (max-width: 1080px){
html[data-theme="dark"] .employee-order-facts > span:nth-child(-n + 2){border-bottom:1px solid #38383a}
}
@media (max-width: 600px){
html[data-theme="dark"] .employee-mobile-nav{border:1px solid rgba(56,56,58,0.9);background:rgba(28,28,30,0.94)}
}
@media (max-width: 390px){
html[data-theme="dark"] .employee-order-facts > span{border-bottom:1px solid #38383a}
}
html[data-theme="dark"] .team-page{--team-ink:#ffffff;--team-muted:#9d9da3;--team-line:#38383a;--team-bg:#2c2c2e;--team-violet:#ffffff;--team-violet-dark:#ffffff;--team-violet-soft:#282842;--team-green:#4fd871;--team-green-soft:#2c2c2e;--team-red:#ff6158;--team-red-soft:#452323;--team-amber:#ffad2f;--team-amber-soft:#453e1a}
html[data-theme="dark"] .team-controls{background:#1c1c1e}
html[data-theme="dark"] .team-period-tabs button.is-active{background:#1c1c1e;box-shadow:0 2px 9px rgba(94,92,230,0.054)}
html[data-theme="dark"] .team-custom-range .input{background:#1c1c1e}
html[data-theme="dark"] .team-summary-card{background:#1c1c1e}
html[data-theme="dark"] .team-summary-card.is-primary{border-color:#302f5a;background:linear-gradient(145deg, #282842, #282842)}
html[data-theme="dark"] .team-sync-alert{border:1px solid #605418}
html[data-theme="dark"] .team-sync-alert.is-clear{border-color:#22522f}
html[data-theme="dark"] .team-sync-icon{background:rgba(255,159,10,0.072)}
html[data-theme="dark"] .team-sync-alert.is-clear .team-sync-icon{background:rgba(48,209,88,0.072)}
html[data-theme="dark"] .team-roster-shell,html[data-theme="dark"] .team-profile-panel,html[data-theme="dark"] .team-profile-hero,html[data-theme="dark"] .team-formula-note{background:#1c1c1e}
html[data-theme="dark"] .team-sort-field .select{background-color:#1c1c1e}
html[data-theme="dark"] .team-person-card{background:#1c1c1e}
html[data-theme="dark"] .team-person-card:hover{border-color:#302f5a;box-shadow:0 13px 30px rgba(94,92,230,0.048)}
html[data-theme="dark"] .team-person-card.is-inactive{background:#1c1c1e}
html[data-theme="dark"] .team-person-arrow,html[data-theme="dark"] .team-row-arrow{color:#8e8e93}
html[data-theme="dark"] .team-person-metrics{border:1px solid #38383a}
html[data-theme="dark"] .team-person-metrics > span{border-right:1px solid #38383a}
html[data-theme="dark"] .team-empty{border:1px dashed #38383a}
html[data-theme="dark"] .team-profile-hero{background:linear-gradient(145deg, #1c1c1e, #25253b)}
html[data-theme="dark"] .team-profile-kpi{border-top:3px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .team-profile-kpi.is-blue{border-top-color:#173b62}
html[data-theme="dark"] .team-status-list > div{border-bottom:1px solid #38383a}
html[data-theme="dark"] .team-status-track{background:#2c2c2e}
html[data-theme="dark"] .team-month-bars{border-bottom:1px solid #38383a}
html[data-theme="dark"] .team-order-row{border-bottom:1px solid #38383a}
html[data-theme="dark"] .team-order-row:hover,html[data-theme="dark"] .team-expense-row:hover{background:#192b3e}
html[data-theme="dark"] .team-expense-row{border-bottom:1px solid #38383a}
html[data-theme="dark"] .team-formula-note{background:#1c1c1e}
@media (max-width: 760px){
html[data-theme="dark"] .team-person-metrics > span:nth-child(-n + 2){border-bottom:1px solid #38383a}
}
@media (max-width: 520px){
html[data-theme="dark"] .team-person-contribution{border-top:1px solid #38383a}
}
html[data-theme="dark"] .team-page{--team-ink:#ffffff;--team-muted:#9d9da3;--team-line:#38383a;--team-bg:#2c2c2e;--team-violet:#4fd871;--team-violet-dark:#4fd871;--team-violet-soft:#2c2c2e;--team-green:#4fd871;--team-green-soft:#2c2c2e;--team-red:#ff6158;--team-red-soft:#452323;--team-amber:#ffdc2f;--team-amber-soft:#453e1a}
html[data-theme="dark"] .team-eyebrow,html[data-theme="dark"] .team-section-head > div > span,html[data-theme="dark"] .team-panel-head > div > span{color:#4fd871}
html[data-theme="dark"] .team-page-title h1{color:#ffffff}
html[data-theme="dark"] .team-page .button.primary{border-color:#22522f;box-shadow:0 9px 18px rgba(48,209,88,0.096)}
html[data-theme="dark"] .team-page .button.primary:hover{border-color:#22522f}
html[data-theme="dark"] .team-controls{border-color:#38383a;background:rgba(28,28,30,0.88)}
html[data-theme="dark"] .team-period-tabs{background:#2c2c2e}
html[data-theme="dark"] .team-period-tabs button.is-active{color:#4fd871;box-shadow:0 3px 10px rgba(48,209,88,0.066)}
html[data-theme="dark"] .team-summary-card{border-color:#38383a}
html[data-theme="dark"] .team-summary-card.is-primary{border-color:#38383a;background:linear-gradient(145deg, #2c2c2e 0%, #2c2c2e 100%)}
html[data-theme="dark"] .team-summary-card.is-primary > strong{color:#4fd871}
html[data-theme="dark"] .team-summary-card:nth-child(2){border-color:#173b62;background:#192b3e}
html[data-theme="dark"] .team-summary-card:nth-child(3){border-color:#38383a;background:#2c2c2e}
html[data-theme="dark"] .team-summary-card:nth-child(4){border-color:#602826;background:#3c2222}
html[data-theme="dark"] .team-summary-card:nth-child(5){border-color:#605418;background:#453e1a}
html[data-theme="dark"] :is(
  .team-roster-shell,
  .team-profile-panel,
  .team-profile-hero,
  .team-formula-note
){border-color:#38383a}
html[data-theme="dark"] .team-roster-shell{background:rgba(28,28,30,0.94)}
html[data-theme="dark"] .team-person-card{border-color:#38383a;background:#1c1c1e}
html[data-theme="dark"] .team-person-card:nth-child(3n + 2){border-color:#173b62;background:#25253b}
html[data-theme="dark"] .team-person-card:nth-child(3n){border-color:#605418;background:#3c371b}
html[data-theme="dark"] .team-person-card:hover{border-color:#38383a;box-shadow:0 15px 34px rgba(48,209,88,0.06)}
html[data-theme="dark"] :is(.team-person-avatar, .team-profile-avatar){background:#2c2c2e;color:#4fd871}
html[data-theme="dark"] .team-person-metrics{border-color:#38383a;background:rgba(28,28,30,0.75)}
html[data-theme="dark"] .team-person-actions button:hover{background:#2c2c2e;color:#4fd871}
html[data-theme="dark"] .team-profile-hero{border-color:#38383a;background:linear-gradient(135deg, #1c1c1e 0%, #2c2c2e 100%)}
html[data-theme="dark"] .team-profile-kpi.is-violet{border-color:#38383a;background:#2c2c2e}
html[data-theme="dark"] .team-profile-kpi.is-green{border-color:#38383a;background:#2c2c2e}
html[data-theme="dark"] .team-profile-kpi.is-red{border-color:#602826;background:#3c2222}
html[data-theme="dark"] .team-profile-kpi.is-blue{border-color:#173b62;background:#192b3e}
html[data-theme="dark"] .team-profile-kpi.is-amber{border-color:#605418;background:#453e1a}
html[data-theme="dark"] .team-formula-note{background:#2c2c2e}
html[data-theme="dark"] .team-formula-note strong{color:#4fd871}
html[data-theme="dark"] .team-back-icon{border-color:#38383a;background:#2c2c2e;color:#4fd871}
html[data-theme="dark"] .team-section-head h2,html[data-theme="dark"] .team-panel-head h3{color:#ffffff}
html[data-theme="dark"] body[data-crm-role="employee"]{--employee-ink:#ffffff;--employee-muted:#9d9da3;--employee-line:#38383a;--employee-surface:#1c1c1e;--employee-bg:#2c2c2e;--employee-accent:#4fd871;--employee-accent-dark:#4fd871;--employee-accent-soft:#2c2c2e}
html[data-theme="dark"] body[data-crm-role="employee"] ::selection{background:#303032;color:#4fd871}
html[data-theme="dark"] .employee-shell{background:radial-gradient(circle at 9% 0%, rgba(48,209,88,0.096), transparent 31rem),
    linear-gradient(180deg, #2c2c2e 0%, #2c2c2e 100%)}
html[data-theme="dark"] .employee-header{border-bottom-color:rgba(56,56,58,0.9);background:rgba(28,28,30,0.92)}
html[data-theme="dark"] .employee-brand-mark{background:linear-gradient(145deg, #22522f, #21492c);box-shadow:0 12px 25px rgba(48,209,88,0.132)}
html[data-theme="dark"] .employee-nav{border-color:#38383a;background:#2c2c2e}
html[data-theme="dark"] .employee-nav-button:hover,html[data-theme="dark"] .employee-nav-button.is-active{box-shadow:0 6px 17px rgba(48,209,88,0.06)}
html[data-theme="dark"] .employee-dashboard .employee-page-head{border:1px solid #22522f}
html[data-theme="dark"] .employee-dashboard .employee-eyebrow{color:#4fd871}
html[data-theme="dark"] .employee-dashboard .employee-page-head h1{color:#ffffff}
html[data-theme="dark"] .employee-dashboard .employee-page-head p{color:rgba(79,216,113,0.72)}
html[data-theme="dark"] .employee-dashboard .employee-segmented{border-color:rgba(0,0,0,0.4);background:rgba(0,0,0,0.25)}
html[data-theme="dark"] .employee-dashboard .employee-segmented button{color:rgba(79,216,113,0.72)}
html[data-theme="dark"] .employee-dashboard .employee-segmented button:hover,html[data-theme="dark"] .employee-dashboard .employee-segmented button.is-active{background:#2c2c2e;color:#4fd871}
html[data-theme="dark"] .employee-dashboard .employee-custom-range label{color:rgba(79,216,113,0.72)}
html[data-theme="dark"] .employee-dashboard .employee-custom-range .input{border-color:rgba(0,0,0,0.45);background:rgba(0,0,0,0.25);color:#ffffff}
html[data-theme="dark"] .employee-kpi{box-shadow:0 12px 30px rgba(48,209,88,0.039)}
html[data-theme="dark"] .employee-kpi.is-violet{color:#4fd871}
html[data-theme="dark"] .employee-kpi.is-blue{color:#ffffff}
html[data-theme="dark"] .employee-kpi.is-green{color:#4fd871}
html[data-theme="dark"] .employee-kpi.is-amber{color:#ffad2f}
html[data-theme="dark"] .employee-kpi.is-red{color:#ff6158}
html[data-theme="dark"] .employee-kpi.is-slate{color:#9d9da3}
html[data-theme="dark"] .employee-kpi:first-child{border-color:#22522f;color:#4fd871}
html[data-theme="dark"] .employee-kpi:first-child > span,html[data-theme="dark"] .employee-kpi:first-child > small{color:rgba(79,216,113,0.68)}
html[data-theme="dark"] .employee-kpi:nth-child(2){background:#192f46}
html[data-theme="dark"] .employee-kpi:nth-child(3){background:#2c2c2e}
html[data-theme="dark"] .employee-kpi:nth-child(4){background:#453e1a}
html[data-theme="dark"] .employee-kpi:nth-child(7){background:#452323}
html[data-theme="dark"] .employee-panel{box-shadow:0 12px 32px rgba(48,209,88,0.036)}
html[data-theme="dark"] .employee-status-track i{background:linear-gradient(90deg, #30d158, #303032)}
html[data-theme="dark"] .employee-order-id{background:#2c2c2e;color:#4fd871}
html[data-theme="dark"] .employee-month-bar i{background:linear-gradient(180deg, #303032, #22522f)}
html[data-theme="dark"] .employee-filter-chips button:hover,html[data-theme="dark"] .employee-filter-chips button.is-active{border-color:#38383a}
html[data-theme="dark"] .employee-order-card{box-shadow:0 12px 30px rgba(48,209,88,0.036)}
html[data-theme="dark"] .employee-order-task{background:#2c2c2e;color:#ffffff}
html[data-theme="dark"] .employees-dialog{border-color:#38383a}
html[data-theme="dark"] .employees-avatar{background:#2c2c2e;color:#4fd871}
html[data-theme="dark"] .funnel-responsibility strong{color:#4fd871}
html[data-theme="dark"] .funnel-responsibility span{color:#9d9da3}
html[data-theme="dark"] .thread-upload-progress .is-waiting > strong{color:#9d9da3}
html[data-theme="dark"] .v1-economy-statement{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .v1-economy-statement > header h2{color:#9d9da3}
html[data-theme="dark"] .v1-economy-statement > header strong{color:#ffffff}
html[data-theme="dark"] .v1-economy-line{border-bottom:1px solid #38383a}
html[data-theme="dark"] .v1-economy-line > span{color:#9d9da3}
html[data-theme="dark"] .v1-economy-line > strong{color:#ffffff}
html[data-theme="dark"] .v1-economy-line > strong.is-green{color:#4fd871}
html[data-theme="dark"] .v1-economy-line > strong.is-amber{color:#ffad2f}
html[data-theme="dark"] .v1-economy-line > strong.is-red{color:#ff6158}
html[data-theme="dark"] .owner-shell .app-header{background:rgba(28,28,30,0.96)}
html[data-theme="dark"] .owner-shell .app-header > .nav::-webkit-scrollbar-thumb{background:rgba(48,209,88,0.18)}
html[data-theme="dark"] .owner-shell .app-header > .nav{border-top:1px solid #38383a;background:linear-gradient(180deg, #2c2c2e, #2c2c2e)}
html[data-theme="dark"] .owner-shell .app-header .nav-button{color:#ffffff}
html[data-theme="dark"] .owner-shell .app-header .nav-button:hover{border-color:#38383a;background:#1c1c1e}
html[data-theme="dark"] .owner-shell .app-header .nav-button.is-active{border-color:#38383a;background:#2c2c2e;color:#4fd871}

/* v4-dashboard.css */
html[data-theme="dark"] .visual-version-switch{border:1px solid #38383a;background:#2c2c2e}
html[data-theme="dark"] .visual-version-switch button{color:#9d9da3}
html[data-theme="dark"] .visual-version-switch button:hover{color:#ffffff}
html[data-theme="dark"] .visual-version-switch button.is-active{background:#1c1c1e;color:#ffffff}
html[data-theme="dark"] body[data-crm-version="v4"]{background:#2c2c2e}
html[data-theme="dark"] .owner-shell.is-v4-mode{--v4-blue:var(--blue-6, #2f96ff);--v4-blue-strong:var(--blue-7, #ffffff);--v4-blue-soft:var(--blue-0, #192f47);--v4-ink:var(--gray-9, #ffffff);--v4-muted:var(--gray-6, #9d9da3);--v4-line:var(--gray-3, #38383a);--v4-surface:var(--gray-0, #1c1c1e);background:#2c2c2e}
html[data-theme="dark"] .owner-shell.is-v4-mode .app-header{background:rgba(44,44,46,0.92)}
html[data-theme="dark"] .v4-brand-tile,html[data-theme="dark"] .owner-shell.is-v4-mode .v4-search-tile,html[data-theme="dark"] .owner-shell.is-v4-mode .v4-user-tile,html[data-theme="dark"] .owner-shell.is-v4-mode .v4-bento-nav{background:rgba(28,28,30,0.96)}
html[data-theme="dark"] .owner-shell.is-v4-mode .v4-search-tile:focus-within{border-color:#173b62;box-shadow:0 0 0 4px rgba(10,132,255,0.072)}
html[data-theme="dark"] .owner-shell.is-v4-mode .v4-user-tile{color:#9d9da3}
html[data-theme="dark"] .owner-shell.is-v4-mode .v4-user-tile .button{border:1px solid #38383a;background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .owner-shell.is-v4-mode .v4-bento-nav .nav-button{color:#9d9da3}
html[data-theme="dark"] .owner-shell.is-v4-mode .v4-bento-nav .nav-button:hover{border-color:#173b62;background:#192b3e}
html[data-theme="dark"] .owner-shell.is-v4-mode .v4-bento-nav .nav-button.is-active{border-color:#173b62}
html[data-theme="dark"] .owner-shell.is-v4-mode .v4-bento-nav .nav-icon{border-color:#38383a;background:#1c1c1e;color:#9d9da3}
html[data-theme="dark"] .owner-shell.is-v4-mode .v4-bento-nav .nav-button.is-active .nav-icon{border-color:#173b62;background:#1c1c1e}
html[data-theme="dark"] .owner-shell.is-v4-mode .main{background:#2c2c2e}
html[data-theme="dark"] .v4-dashboard-intro::before{background:radial-gradient(circle, rgba(10,132,255,0.06), rgba(10,132,255,0.0) 70%)}
html[data-theme="dark"] .v4-tile-kicker i{background:#30d158;box-shadow:0 0 0 5px rgba(48,209,88,0.072)}
html[data-theme="dark"] .v4-dashboard-intro h1{color:#ffffff}
html[data-theme="dark"] .v4-dashboard-utility{border:1px solid #38383a;background:rgba(28,28,30,0.88)}
html[data-theme="dark"] .v4-dashboard-utility button{color:#9d9da3}
html[data-theme="dark"] .v4-dashboard-utility button:hover{background:#192f47}
html[data-theme="dark"] .v4-dashboard-utility button > span{background:#1c1c1e;box-shadow:inset 0 0 0 1px #303032}
html[data-theme="dark"] .v4-tile{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .v4-tile-heading h2{color:#ffffff}
html[data-theme="dark"] .v4-tile-heading > span{color:#9d9da3}
html[data-theme="dark"] .v4-tile-heading.is-on-dark h2{color:#ffffff}
html[data-theme="dark"] .v4-tile-kicker{color:#9d9da3}
html[data-theme="dark"] .is-on-dark .v4-tile-kicker{color:#8e8e93}
html[data-theme="dark"] .v4-money-orbit{border-color:#173b62;background:radial-gradient(circle at 12% 8%, rgba(10,132,255,0.162), transparent 31%),
    radial-gradient(circle at 90% 94%, rgba(48,209,88,0.078), transparent 28%),
    #1c1c1e;color:#ffffff}
html[data-theme="dark"] .v4-money-orbit::after{background-image:radial-gradient(rgba(28,28,30,0.4) 0.7px, transparent 0.8px)}
html[data-theme="dark"] .v4-cash-anchor > strong{color:#ffffff}
html[data-theme="dark"] .v4-cash-revenue{border:1px solid rgba(0,0,0,0.25);background:rgba(0,0,0,0.138)}
html[data-theme="dark"] .v4-cash-revenue > span{color:#8e8e93}
html[data-theme="dark"] .v4-cash-revenue > strong{color:#4fd871}
html[data-theme="dark"] .v4-cash-revenue > small{color:#9d9da3}
html[data-theme="dark"] .v4-orbit-ring{background:conic-gradient(#0a84ff var(--v4-orbit-fill), rgba(0,0,0,0.225) 0)}
html[data-theme="dark"] .v4-orbit-ring::before,html[data-theme="dark"] .v4-orbit-ring::after{border:1px solid rgba(0,0,0,0.4)}
html[data-theme="dark"] .v4-orbit-ring i{background:#1c1c1e;box-shadow:0 0 18px rgba(10,132,255,0.75)}
html[data-theme="dark"] .v4-orbit-ring i:nth-child(2){background:#30d158}
html[data-theme="dark"] .v4-orbit-center{border:1px solid rgba(0,0,0,0.3);box-shadow:inset 0 0 35px rgba(10,132,255,0.06)}
html[data-theme="dark"] .v4-orbit-center > span{color:#8e8e93}
html[data-theme="dark"] .v4-orbit-center strong{color:#ffffff}
html[data-theme="dark"] .v4-orbit-visual.is-negative .v4-orbit-ring{background:conic-gradient(#562625 var(--v4-orbit-fill), rgba(0,0,0,0.225) 0)}
html[data-theme="dark"] .v4-orbit-chip{border:1px solid rgba(0,0,0,0.325)}
html[data-theme="dark"] .v4-orbit-chip > span{color:#8e8e93}
html[data-theme="dark"] .v4-orbit-chip > b{color:#ffffff}
html[data-theme="dark"] .v4-orbit-chip.is-ruslan b{color:#2f96ff}
html[data-theme="dark"] .v4-orbit-chip.is-sergey b{color:#4fd871}
html[data-theme="dark"] .v4-orbit-chip.is-polina b{color:#d38bff}
html[data-theme="dark"] .v4-journal-metric.is-violet{border-color:transparent;background:rgba(191,90,242,.14)}
html[data-theme="dark"] .v4-journal-metric.is-violet strong{color:#d38bff}
html[data-theme="dark"] .v4-forecast-equation{border:1px solid rgba(0,0,0,0.225)}
html[data-theme="dark"] .v4-forecast-equation > span{background:rgba(0,0,0,0.112)}
html[data-theme="dark"] .v4-forecast-equation > span[data-operator]::before{color:#9d9da3}
html[data-theme="dark"] .v4-forecast-equation small{color:#9d9da3}
html[data-theme="dark"] .v4-forecast-equation b{color:#ffffff}
html[data-theme="dark"] .v4-forecast-equation .is-result{background:rgba(10,132,255,0.084)}
html[data-theme="dark"] .v4-forecast-equation .is-result b{color:#ffffff}
html[data-theme="dark"] .v4-command-dock{background:linear-gradient(145deg, #1c1c1e, #192f47)}
html[data-theme="dark"] .v4-command-stack button{background:#192f47;color:#ffffff}
html[data-theme="dark"] .v4-command-stack button:nth-child(2){background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-command-stack button:nth-child(3){background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-command-stack button:nth-child(4){background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-command-stack button:hover{box-shadow:0 10px 19px rgba(10,132,255,0.06)}
html[data-theme="dark"] .v4-attention-stack{background:radial-gradient(circle at 100% 0, rgba(255,214,10,0.066), transparent 35%),
    #3c371b;border-color:#38383a}
html[data-theme="dark"] .v4-attention-head h2{color:#ffffff}
html[data-theme="dark"] .v4-attention-head > strong{color:#ffad2f}
html[data-theme="dark"] .v4-order-slip{border:1px solid rgba(0,0,0,0.25);background:rgba(28,28,30,0.94);box-shadow:0 8px 18px rgba(255,214,10,0.054)}
html[data-theme="dark"] .v4-order-slip:hover{box-shadow:0 12px 24px rgba(255,214,10,0.084)}
html[data-theme="dark"] .v4-order-slip > span{color:#9d9da3}
html[data-theme="dark"] .v4-order-slip > span b{color:#ffffff}
html[data-theme="dark"] .v4-order-slip > strong{color:#ffffff}
html[data-theme="dark"] .v4-order-slip time{background:#4f4619;color:#ffad2f}
html[data-theme="dark"] .v4-order-slip.is-red time{background:#45341a;color:#ff6158}
html[data-theme="dark"] .v4-order-slip > i{color:#9d9da3}
html[data-theme="dark"] .v4-order-slip:focus-visible{outline:3px solid rgba(10,132,255,0.168)}
html[data-theme="dark"] .v4-attention-clear > i{border:1px solid #22522f;background:#203d28;color:#4fd871;box-shadow:0 0 0 10px rgba(48,209,88,0.042)}
html[data-theme="dark"] .v4-attention-clear span{color:#9d9da3}
html[data-theme="dark"] .v4-attention-foot{color:#9d9da3}
html[data-theme="dark"] .v4-attention-foot button{background:rgba(28,28,30,0.7);color:#ffdc2f}
html[data-theme="dark"] .v4-period-capsule{border:1px solid #38383a;background:#2c2c2e;color:#9d9da3!important}
html[data-theme="dark"] .v4-economy-map{background:radial-gradient(circle at 50% 0, rgba(10,132,255,0.042), transparent 34%),
    #1c1c1e}
html[data-theme="dark"] .v4-economy-node{border:1px solid #38383a;background:#2c2c2e}
html[data-theme="dark"] .v4-economy-node > span{color:#9d9da3}
html[data-theme="dark"] .v4-economy-node > strong{color:#ffffff}
html[data-theme="dark"] .v4-economy-node > small{color:#8e8e93}
html[data-theme="dark"] .v4-economy-node.is-income{border-color:#173b62;background:#192f47}
html[data-theme="dark"] .v4-economy-node.is-positive strong{color:#4fd871}
html[data-theme="dark"] .v4-economy-node.is-negative strong{color:#ff6158}
html[data-theme="dark"] .v4-economy-node.is-result{border-color:#38383a;background:#2c2c2e}
html[data-theme="dark"] .v4-economy-link > span{color:#9d9da3}
html[data-theme="dark"] .v4-economy-link > b{color:#ff6158}
html[data-theme="dark"] .v4-economy-link > i{background:#303032;color:#8e8e93}
html[data-theme="dark"] .v4-economy-link > i::after{border-left:4px solid #38383a}
html[data-theme="dark"] .v4-economy-link.is-neutral > span{color:#8e8e93}
html[data-theme="dark"] .v4-order-radar{border-color:#38383a;background:radial-gradient(circle at 5% 100%, rgba(10,132,255,0.06), transparent 38%),
    #1c1c1e}
html[data-theme="dark"] .v4-radar-ring{background:conic-gradient(#0a84ff var(--v4-order-share), rgba(10,132,255,0.072) 0);box-shadow:inset 0 0 0 1px rgba(10,132,255,0.048)}
html[data-theme="dark"] .v4-radar-ring > div{background:#1c1c1e;box-shadow:0 7px 18px rgba(10,132,255,0.054)}
html[data-theme="dark"] .v4-radar-ring strong{color:#ffffff}
html[data-theme="dark"] .v4-radar-ring span{color:#8e8e93}
html[data-theme="dark"] .v4-status-cloud > span{color:#9d9da3}
html[data-theme="dark"] .v4-status-cloud i{background:#303032}
html[data-theme="dark"] .v4-status-cloud .is-status-1 i{background:#0a84ff}
html[data-theme="dark"] .v4-status-cloud .is-status-2 i{background:#ff9f0a}
html[data-theme="dark"] .v4-status-cloud .is-status-3 i{background:#22522f}
html[data-theme="dark"] .v4-status-cloud b{color:#ffffff}
html[data-theme="dark"] .v4-partner-ledger{background:radial-gradient(circle at 100% 0, rgba(10,132,255,0.039), transparent 34%),
    #1c1c1e}
html[data-theme="dark"] .v4-partner-total{border:1px solid #173b62;background:#192f47;color:#9d9da3!important}
html[data-theme="dark"] .v4-partner-card{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .v4-partner-card.is-negative{border-color:#602826}
html[data-theme="dark"] .v4-partner-card > header > div > span{color:#9d9da3}
html[data-theme="dark"] .v4-partner-card > header strong{color:#ffffff}
html[data-theme="dark"] .v4-partner-card.is-negative > header strong{color:#ff6158}
html[data-theme="dark"] .v4-partner-card > header > i{border:1px solid #173b62;background:#192f47;color:#ffffff}
html[data-theme="dark"] .v4-partner-card:nth-child(2) > header > i{border-color:#38383a;background:#2c2c2e;color:#4fd871}
html[data-theme="dark"] .v4-partner-formula{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .v4-partner-formula > span{background:#2c2c2e}
html[data-theme="dark"] .v4-partner-formula .is-result{background:#2c2c2e}
html[data-theme="dark"] .v4-partner-formula > span[data-operator]::before{background:#1c1c1e;color:#8e8e93}
html[data-theme="dark"] .v4-partner-formula small{color:#8e8e93}
html[data-theme="dark"] .v4-partner-formula b{color:#9d9da3}
html[data-theme="dark"] .v4-partner-formula .is-result b{color:#4fd871}
html[data-theme="dark"] .v4-partner-lines > span{background:#2c2c2e}
html[data-theme="dark"] .v4-partner-lines small{color:#8e8e93}
html[data-theme="dark"] .v4-partner-lines b{color:#ffffff}
html[data-theme="dark"] .v4-partner-lines .is-warning b{color:#ffad2f}
html[data-theme="dark"] .v4-team-pod{border-color:#173b62;background:radial-gradient(circle at 100% 0, rgba(10,132,255,0.12), transparent 37%),
    linear-gradient(155deg, #192f47, #192f47)}
html[data-theme="dark"] .v4-team-reserve{border:1px solid rgba(10,132,255,0.096);background:radial-gradient(circle at 85% 15%, rgba(28,28,30,0.85), transparent 32%),
    #192f47}
html[data-theme="dark"] .v4-team-reserve > span{color:#9d9da3}
html[data-theme="dark"] .v4-team-reserve strong{color:#ffffff}
html[data-theme="dark"] .v4-team-reserve small{color:#8e8e93}
html[data-theme="dark"] .v4-team-person{background:rgba(28,28,30,0.67)}
html[data-theme="dark"] .v4-team-person:hover{background:#1c1c1e}
html[data-theme="dark"] .v4-team-avatar{background:#0a84ff;color:#ffffff;box-shadow:0 7px 14px rgba(10,132,255,0.12)}
html[data-theme="dark"] .v4-team-person:nth-child(2) .v4-team-avatar{background:#0a84ff;box-shadow:0 7px 14px rgba(10,132,255,0.108)}
html[data-theme="dark"] .v4-team-person:nth-child(3) .v4-team-avatar{background:#ff453a;box-shadow:0 7px 14px rgba(255,69,58,0.108)}
html[data-theme="dark"] .v4-team-person:nth-child(4) .v4-team-avatar{background:#22522f;box-shadow:0 7px 14px rgba(48,209,88,0.108)}
html[data-theme="dark"] .v4-team-person > span:nth-child(2) strong{color:#ffffff}
html[data-theme="dark"] .v4-team-person > span:nth-child(2) small{color:#8e8e93}
html[data-theme="dark"] .v4-team-person > i{background:rgba(10,132,255,0.072)}
html[data-theme="dark"] .v4-team-person > i b{background:#0a84ff}
html[data-theme="dark"] .v4-team-empty{color:#8e8e93}
html[data-theme="dark"] .v4-team-foot{border-top:1px solid rgba(10,132,255,0.072)}
html[data-theme="dark"] .v4-team-foot > span{color:#9d9da3}
html[data-theme="dark"] .v4-team-foot strong{color:#ffffff}
html[data-theme="dark"] .v4-month-rhythm{background:linear-gradient(rgba(48,48,50,0.35) 1px, transparent 1px),
    #1c1c1e}
html[data-theme="dark"] .v4-month-bars > button{color:#9d9da3}
html[data-theme="dark"] .v4-month-bars > button:hover,html[data-theme="dark"] .v4-month-bars > button:focus{background:linear-gradient(180deg, transparent 0 45%, rgba(25,47,71,0.82) 45%);color:#ffffff}
html[data-theme="dark"] .v4-month-popover{border:1px solid rgba(0,0,0,0.225);color:#ffffff}
html[data-theme="dark"] .v4-month-popover > strong{border-bottom:1px solid rgba(0,0,0,0.25);color:#ffffff}
html[data-theme="dark"] .v4-month-popover > span{color:#8e8e93}
html[data-theme="dark"] .v4-month-popover b{color:#ffffff}
html[data-theme="dark"] .v4-month-columns i{background:linear-gradient(180deg, #0a84ff, #0a84ff)}
html[data-theme="dark"] .v4-month-columns i:last-child{background:linear-gradient(180deg, #4f2524, #ff453a)}
html[data-theme="dark"] .v4-month-bars button > small{color:#8e8e93}
html[data-theme="dark"] .v4-month-legend{color:#8e8e93}
html[data-theme="dark"] .v4-month-legend i{background:#0a84ff}
html[data-theme="dark"] .v4-month-legend i.is-outflow{background:#ff453a}
html[data-theme="dark"] .v4-month-empty{color:#8e8e93}
html[data-theme="dark"] .v4-bento-dashboard button:focus-visible{outline:3px solid rgba(10,132,255,0.162)}
@media (hover: hover){
html[data-theme="dark"] .v4-tile:not(.v4-money-orbit):hover{border-color:#173b62}
}
html[data-theme="dark"] .v4-bento-placeholder{background:#1c1c1e}
html[data-theme="dark"] .v4-bento-placeholder button{color:#ffffff}
html[data-theme="dark"] .v4-orders-page :where(button, [role="button"]):focus-visible,html[data-theme="dark"] .v4-order-workspace :where(button, [role="button"]):focus-visible,html[data-theme="dark"] .v4-order-editor :where(button, input, select, textarea):focus-visible{outline:3px solid rgba(10,132,255,0.144)}
html[data-theme="dark"] .v4-orders-title-block h1,html[data-theme="dark"] .v4-order-workspace-head h1,html[data-theme="dark"] .v4-order-editor-head h1{color:#ffffff}
html[data-theme="dark"] .v4-orders-title-block p{color:#9d9da3}
html[data-theme="dark"] .v4-orders-title-block p strong{color:#ffffff}
html[data-theme="dark"] .v4-orders-create{color:#ffffff;box-shadow:0 13px 28px rgba(10,132,255,0.12)}
html[data-theme="dark"] .v4-orders-create > span{background:rgba(0,0,0,0.4)}
html[data-theme="dark"] .v4-filter-status-tile,html[data-theme="dark"] .v4-filter-focus-tile,html[data-theme="dark"] .v4-filter-control-tile,html[data-theme="dark"] .v4-filter-advanced,html[data-theme="dark"] .v4-active-filter-line{background:rgba(28,28,30,0.96)}
html[data-theme="dark"] .v4-filter-focus-tile{background:linear-gradient(145deg, #1c1c1e, #192f47)}
html[data-theme="dark"] .v4-filter-label,html[data-theme="dark"] .v4-filter-option > span{color:#9d9da3}
html[data-theme="dark"] .v4-filter-statuses button,html[data-theme="dark"] .v4-filter-focuses button{border:1px solid #38383a;background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-filter-statuses button.is-active,html[data-theme="dark"] .v4-filter-focuses button.is-active{border-color:#173b62}
html[data-theme="dark"] .v4-filter-focuses button.is-warning{border-color:#605418;background:#453e1a;color:#ffad2f}
html[data-theme="dark"] .v4-filter-focuses button.is-danger{border-color:#602826;background:#452323;color:#ff6158}
html[data-theme="dark"] .v4-filter-control-tile > strong{color:#ffffff}
html[data-theme="dark"] .v4-filter-control-tile > div button{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-filter-option{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .v4-filter-option > button{background:#1c1c1e;color:#9d9da3;box-shadow:inset 0 0 0 1px #2c2c2e}
html[data-theme="dark"] .v4-filter-option > button i{color:#8e8e93}
html[data-theme="dark"] .v4-filter-option > button.is-active{box-shadow:inset 0 0 0 1px #183351}
html[data-theme="dark"] .v4-filter-menu{border:1px solid #173b62;background:#1c1c1e}
html[data-theme="dark"] .v4-filter-menu > header span{color:#8e8e93}
html[data-theme="dark"] .v4-filter-menu > header strong{color:#ffffff}
html[data-theme="dark"] .v4-filter-menu > header button{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-filter-menu > div button{border:1px solid #38383a;background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-filter-menu > div button.is-active{border-color:#173b62}
html[data-theme="dark"] .v4-active-filter-line > span{color:#8e8e93}
html[data-theme="dark"] .v4-active-filter-line button{border:1px solid #173b62;background:#192f47;color:#9d9da3}
html[data-theme="dark"] .v4-active-filter-line button i{color:#8e8e93}
html[data-theme="dark"] .v4-active-filter-line button.is-reset{color:#ff6158}
html[data-theme="dark"] .v4-order-card{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .v4-order-card.is-overdue::before{background:#ff453a}
html[data-theme="dark"] .v4-order-number{color:#8e8e93}
html[data-theme="dark"] .v4-order-card-head h2{color:#ffffff}
html[data-theme="dark"] .v4-order-status{border:1px solid #38383a;background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-order-status.status-new{border-color:#173b62;background:#192f47;color:#ffffff}
html[data-theme="dark"] .v4-order-status.status-work{border-color:#173b62;background:#192f47;color:#ffffff}
html[data-theme="dark"] .v4-order-status.status-ready{border-color:#38383a;background:#2c2c2e;color:#4fd871}
html[data-theme="dark"] .v4-order-status.status-done{border-color:#38383a;background:#203d28;color:#4fd871}
html[data-theme="dark"] .v4-order-status.status-cancel{border-color:#602826;background:#452323;color:#ff6158}
html[data-theme="dark"] .v4-order-people{background:#2c2c2e}
html[data-theme="dark"] .v4-order-people > span small{color:#8e8e93}
html[data-theme="dark"] .v4-order-people > span strong{color:#9d9da3}
html[data-theme="dark"] .v4-order-people > i{background:#303032}
html[data-theme="dark"] .v4-order-unread{color:#ffffff}
html[data-theme="dark"] .v4-order-task-block{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .v4-order-task-block > span,html[data-theme="dark"] .v4-order-contact-block small,html[data-theme="dark"] .v4-order-finance-block small{color:#8e8e93}
html[data-theme="dark"] .v4-order-task-block p{color:#ffffff}
html[data-theme="dark"] .v4-order-contact-block > span,html[data-theme="dark"] .v4-order-contact-block > button,html[data-theme="dark"] .v4-order-contact-block > time{background:#192f47;color:#ffffff}
html[data-theme="dark"] .v4-order-contact-block time.is-red{background:#452323;color:#ff6158}
html[data-theme="dark"] .v4-order-contact-block time.is-amber{background:#453e1a;color:#ffad2f}
html[data-theme="dark"] .v4-order-contact-block time.is-green{background:#2c2c2e;color:#4fd871}
html[data-theme="dark"] .v4-order-finance-block{border:1px solid #173b62;background:#192f47}
html[data-theme="dark"] .v4-order-finance-block > span{background:#1c1c1e}
html[data-theme="dark"] .v4-order-finance-block strong{color:#ffffff}
html[data-theme="dark"] .v4-order-finance-block .is-warning strong{color:#ffad2f}
html[data-theme="dark"] .v4-order-finance-block .is-positive strong,html[data-theme="dark"] .v4-order-finance-block .is-profit strong{color:#4fd871}
html[data-theme="dark"] .v4-order-finance-block .is-secondary{background:#2c2c2e}
html[data-theme="dark"] .v4-order-open-cue{color:#9d9da3}
html[data-theme="dark"] .v4-orders-empty{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .v4-orders-empty > span{color:#ffffff}
html[data-theme="dark"] .v4-orders-empty p{color:#9d9da3}
html[data-theme="dark"] .v4-order-back{border:1px solid #38383a;background:#1c1c1e;color:#9d9da3}
html[data-theme="dark"] .v4-order-workspace-actions button,html[data-theme="dark"] .v4-order-editor-head > div:last-child button,html[data-theme="dark"] .v4-order-editor-foot button{border:1px solid #38383a;background:#1c1c1e;color:#9d9da3}
html[data-theme="dark"] .v4-order-workspace-actions button.is-primary,html[data-theme="dark"] .v4-order-editor-head button.is-primary,html[data-theme="dark"] .v4-order-editor-foot button.is-primary{color:#ffffff}
html[data-theme="dark"] .v4-order-workspace-actions button.is-danger{border-color:#602826;background:#452323;color:#ff6158}
html[data-theme="dark"] .v4-order-space-tile{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .v4-order-space-tile > header > span,html[data-theme="dark"] .v4-order-space-tile > header > div > span,html[data-theme="dark"] .v4-order-thread-tile .v4-thread-surface > header span{color:#9d9da3}
html[data-theme="dark"] .v4-order-space-tile > header > strong,html[data-theme="dark"] .v4-order-space-tile > header > div > strong,html[data-theme="dark"] .v4-order-thread-tile .v4-thread-surface > header strong{color:#ffffff}
html[data-theme="dark"] .v4-order-task-tile{background:linear-gradient(145deg, #1c1c1e, #2c2c2e)}
html[data-theme="dark"] .v4-order-task-tile > p{color:#ffffff}
html[data-theme="dark"] .v4-order-task-tile > div{background:#2c2c2e}
html[data-theme="dark"] .v4-order-task-tile > div span{color:#8e8e93}
html[data-theme="dark"] .v4-order-task-tile > div p{color:#9d9da3}
html[data-theme="dark"] .v4-order-deadline-focus{background:#192f47}
html[data-theme="dark"] .v4-order-deadline-focus span{color:#8e8e93}
html[data-theme="dark"] .v4-order-deadline-focus strong{color:#ffffff}
html[data-theme="dark"] .v4-order-deadline-focus small{color:#8e8e93}
html[data-theme="dark"] .v4-order-deadline-focus.is-red{background:#452323}
html[data-theme="dark"] .v4-order-deadline-focus.is-red strong{color:#ff6158}
html[data-theme="dark"] .v4-order-deadline-focus.is-amber{background:#453e1a}
html[data-theme="dark"] .v4-order-deadline-focus.is-amber strong{color:#ffad2f}
html[data-theme="dark"] .v4-order-deadline-focus.is-green{background:#2c2c2e}
html[data-theme="dark"] .v4-order-deadline-focus.is-green strong{color:#4fd871}
html[data-theme="dark"] .v4-order-status-flow button{border:1px solid #38383a;background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-order-status-flow button.is-active{border-color:#173b62}
html[data-theme="dark"] .v4-order-status-flow button.is-cancel{border-color:#602826;color:#ff6158}
html[data-theme="dark"] .v4-order-finance-tile{border-color:#173b62;background:radial-gradient(circle at 8% 0, rgba(10,132,255,0.144), transparent 35%), #1c1c1e;color:#ffffff}
html[data-theme="dark"] .v4-order-finance-tile > header > div span{color:#8e8e93}
html[data-theme="dark"] .v4-order-finance-tile > header > div strong{color:#ffffff}
html[data-theme="dark"] .v4-order-finance-tile > header > i{border:1px solid rgba(0,0,0,0.3);background:rgba(0,0,0,0.15);color:#2f96ff}
html[data-theme="dark"] .v4-order-finance-hero span{color:#8e8e93}
html[data-theme="dark"] .v4-order-finance-hero strong{color:#ffffff}
html[data-theme="dark"] .v4-order-finance-flow > span{background:rgba(0,0,0,0.138)}
html[data-theme="dark"] .v4-order-finance-flow small,html[data-theme="dark"] .v4-order-finance-details small{color:#8e8e93}
html[data-theme="dark"] .v4-order-finance-flow strong,html[data-theme="dark"] .v4-order-finance-details strong{color:#ffffff}
html[data-theme="dark"] .v4-order-finance-flow > i{color:#9d9da3}
html[data-theme="dark"] .v4-order-finance-flow .is-warning strong{color:#ffdc2f}
html[data-theme="dark"] .v4-order-finance-flow .is-positive strong,html[data-theme="dark"] .v4-order-finance-flow .is-result strong{color:#4fd871}
html[data-theme="dark"] .v4-order-finance-details > span{border:1px solid rgba(0,0,0,0.188)}
html[data-theme="dark"] .v4-order-contact-tile{background:linear-gradient(145deg, #1c1c1e, #192f47)}
html[data-theme="dark"] .v4-order-contact-grid > span{border:1px solid #38383a;background:rgba(28,28,30,.85)}
html[data-theme="dark"] .v4-order-contact-grid small,html[data-theme="dark"] .v4-order-copy-contact small{color:#8e8e93}
html[data-theme="dark"] .v4-order-contact-grid strong,html[data-theme="dark"] .v4-order-copy-contact strong{color:#ffffff}
html[data-theme="dark"] .v4-order-copy-contact{border:1px solid #173b62;color:#ffffff}
html[data-theme="dark"] .v4-thread-surface > header > b{color:#9d9da3}
html[data-theme="dark"] .v4-order-thread-tile .v4-thread-timeline{border-block:1px solid #38383a;background:#2c2c2e}
html[data-theme="dark"] .v4-order-thread-tile .v4-thread-composer{background:#1c1c1e}
html[data-theme="dark"] .v4-order-thread-tile .v4-thread-composer .textarea{border-color:#38383a;background:#2c2c2e;color:#ffffff}
html[data-theme="dark"] .v4-thread-state{color:#9d9da3}
html[data-theme="dark"] .v4-thread-state > i{border:3px solid #173b62}
html[data-theme="dark"] .v4-thread-state strong{color:#ffffff}
html[data-theme="dark"] .v4-thread-state.is-error strong{color:#ff6158}
html[data-theme="dark"] .v4-order-ledger-list > div,html[data-theme="dark"] .v4-order-history-list > div{border-bottom:1px solid #38383a}
html[data-theme="dark"] .v4-order-ledger-list i,html[data-theme="dark"] .v4-order-history-list i{background:#303032}
html[data-theme="dark"] .v4-order-ledger-list .is-income i{background:#0a84ff}
html[data-theme="dark"] .v4-order-ledger-list .is-expense i{background:#ff453a}
html[data-theme="dark"] .v4-order-ledger-list span strong,html[data-theme="dark"] .v4-order-history-list span strong{color:#ffffff}
html[data-theme="dark"] .v4-order-ledger-list span small,html[data-theme="dark"] .v4-order-history-list span small{color:#8e8e93}
html[data-theme="dark"] .v4-order-ledger-list > div > b{color:#ffffff}
html[data-theme="dark"] .v4-order-ledger-list .is-income > b{color:#4fd871}
html[data-theme="dark"] .v4-order-ledger-list .is-expense > b{color:#ff6158}
html[data-theme="dark"] .v4-order-history-list > div > b{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-order-ledger-empty,html[data-theme="dark"] .v4-order-history-empty{color:#8e8e93}
html[data-theme="dark"] .v4-editor-tile{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .v4-editor-tile legend{color:#ffffff}
html[data-theme="dark"] .v4-editor-field > span{color:#9d9da3}
html[data-theme="dark"] .v4-editor-field input,html[data-theme="dark"] .v4-editor-field select,html[data-theme="dark"] .v4-editor-field textarea{border:1px solid #38383a;background:#2c2c2e;color:#ffffff}
html[data-theme="dark"] .v4-editor-field input:focus,html[data-theme="dark"] .v4-editor-field select:focus,html[data-theme="dark"] .v4-editor-field textarea:focus{border-color:#173b62;background:#1c1c1e;box-shadow:0 0 0 4px rgba(10,132,255,0.06)}
html[data-theme="dark"] .v4-editor-money > p{background:#192f47;color:#9d9da3}
html[data-theme="dark"] .v4-order-editor-foot{border:1px solid #38383a;background:rgba(28,28,30,.92)}
html[data-theme="dark"] .v4-order-editor-foot > span{color:#9d9da3}
html[data-theme="dark"] .v4-delete-order-shell{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .v4-delete-order-shell > span{color:#ff6158}
html[data-theme="dark"] .v4-delete-order-shell h2{color:#ffffff}
html[data-theme="dark"] .v4-delete-order-shell > p{color:#9d9da3}
html[data-theme="dark"] .v4-delete-order-shell > div span{background:#2c2c2e}
html[data-theme="dark"] .v4-delete-order-shell > div small{color:#8e8e93}
html[data-theme="dark"] .v4-delete-order-shell > div strong{color:#ffffff}
html[data-theme="dark"] .v4-delete-order-shell > p.is-warning{background:#452323;color:#ff6158}
html[data-theme="dark"] .v4-delete-order-shell footer button{border:1px solid #38383a;background:#1c1c1e;color:#9d9da3}
html[data-theme="dark"] .v4-delete-order-shell footer button.is-danger{border-color:#602826;background:#602826;color:#ffffff}
@media (hover: hover){
html[data-theme="dark"] .v4-orders-create:hover{box-shadow:0 17px 33px rgba(10,132,255,0.156)}
html[data-theme="dark"] .v4-filter-statuses button:hover,html[data-theme="dark"] .v4-filter-focuses button:hover,html[data-theme="dark"] .v4-filter-menu > div button:hover{border-color:#173b62}
html[data-theme="dark"] .v4-order-card:hover{border-color:#173b62}
html[data-theme="dark"] .v4-order-workspace-actions button:hover,html[data-theme="dark"] .v4-order-back:hover,html[data-theme="dark"] .v4-order-editor-head button:hover,html[data-theme="dark"] .v4-order-editor-foot button:hover{border-color:#173b62}
}
@media (max-width: 700px){
html[data-theme="dark"] .v4-economy-link > i::after{border-top:4px solid #38383a}
}
html[data-theme="dark"] .v4-filter-statuses button:not(:first-child)::before{background:var(--v4-status-color, #303032)}
html[data-theme="dark"] .v4-filter-statuses button.is-active{border-color:var(--v4-status-border, #173b62)}
html[data-theme="dark"] .v4-filter-panel{border:1px solid #173b62;background:rgba(28,28,30,.98)}
html[data-theme="dark"] .v4-filter-panel-head{border-bottom:1px solid #38383a}
html[data-theme="dark"] .v4-filter-panel-head > div:first-child span,html[data-theme="dark"] .v4-filter-values > header span{color:#8e8e93}
html[data-theme="dark"] .v4-filter-panel-head > div:first-child strong{color:#ffffff}
html[data-theme="dark"] .v4-filter-panel-head > div:last-child button{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-filter-categories{border-right:1px solid #38383a;background:#2c2c2e}
html[data-theme="dark"] .v4-filter-categories button{color:#9d9da3}
html[data-theme="dark"] .v4-filter-categories button small{color:#8e8e93}
html[data-theme="dark"] .v4-filter-categories button i{color:#8e8e93}
html[data-theme="dark"] .v4-filter-categories button.is-selected{border-color:#173b62;background:#1c1c1e;color:#ffffff;box-shadow:0 7px 18px rgba(10,132,255,0.042)}
html[data-theme="dark"] .v4-filter-values > header strong{color:#ffffff}
html[data-theme="dark"] .v4-filter-values > div button{border:1px solid #38383a;background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-filter-values > div button i{border:1px solid #38383a;color:#ffffff}
html[data-theme="dark"] .v4-filter-values > div button.is-active{border-color:#173b62}
html[data-theme="dark"] .v4-filter-panel > footer{border-top:1px solid #38383a;background:#1c1c1e;color:#8e8e93}
html[data-theme="dark"] .v4-filter-panel > footer button{background:#452323;color:#ff6158}
html[data-theme="dark"] .v4-orders-page .status-new,html[data-theme="dark"] .v4-order-workspace .status-new{--v4-status-color:#8e8e93;--v4-status-soft:#2c2c2e;--v4-status-border:#173b62;--v4-status-ink:#9d9da3}
html[data-theme="dark"] .v4-orders-page .status-work,html[data-theme="dark"] .v4-order-workspace .status-work{--v4-status-color:#2f96ff;--v4-status-soft:#192f47;--v4-status-border:#173b62;--v4-status-ink:#ffffff}
html[data-theme="dark"] .v4-orders-page .status-revision,html[data-theme="dark"] .v4-order-workspace .status-revision{--v4-status-color:#ffad2f;--v4-status-soft:#453e1a;--v4-status-border:#605418;--v4-status-ink:#ffad2f}
html[data-theme="dark"] .v4-orders-page .status-ready,html[data-theme="dark"] .v4-order-workspace .status-ready{--v4-status-color:#4fd871;--v4-status-soft:#2c2c2e;--v4-status-border:#22522f;--v4-status-ink:#4fd871}
html[data-theme="dark"] .v4-orders-page .status-delivered,html[data-theme="dark"] .v4-order-workspace .status-delivered{--v4-status-color:#ffffff;--v4-status-soft:#2c2c2e;--v4-status-border:#38383a;--v4-status-ink:#ffffff}
html[data-theme="dark"] .v4-orders-page .status-cancel,html[data-theme="dark"] .v4-order-workspace .status-cancel{--v4-status-color:#ff6158;--v4-status-soft:#452323;--v4-status-border:#602826;--v4-status-ink:#ff6158}
html[data-theme="dark"] .v4-order-card{--v4-status-color:#8e8e93;--v4-status-soft:#2c2c2e;--v4-status-border:#173b62;--v4-status-ink:#9d9da3}
html[data-theme="dark"] .v4-order-status,html[data-theme="dark"] .v4-order-status.status-new,html[data-theme="dark"] .v4-order-status.status-work,html[data-theme="dark"] .v4-order-status.status-revision,html[data-theme="dark"] .v4-order-status.status-ready,html[data-theme="dark"] .v4-order-status.status-delivered,html[data-theme="dark"] .v4-order-status.status-cancel{border-color:var(--v4-status-border, #38383a);background:var(--v4-status-soft, #2c2c2e);color:var(--v4-status-ink, #9d9da3)}
html[data-theme="dark"] .v4-order-review-trigger.is-requested{border-color:#22522f;background:#203d28;color:#4fd871}
html[data-theme="dark"] .v4-order-review-trigger.is-not-requested{border-color:#602826;background:#452323;color:#ff6158}
html[data-theme="dark"] .v4-order-status-menu{border:1px solid #38383a;background:rgba(28,28,30,.98)}
html[data-theme="dark"] .v4-order-status-menu > span{color:#8e8e93}
html[data-theme="dark"] .v4-order-status-menu button{color:#9d9da3}
html[data-theme="dark"] .v4-order-review-menu{border:1px solid #38383a;background:rgba(28,28,30,.98)}
html[data-theme="dark"] .v4-order-review-menu > span{color:#8e8e93}
html[data-theme="dark"] .v4-order-review-menu button{color:#9d9da3}
html[data-theme="dark"] .v4-order-review-menu button.is-requested{color:#4fd871}
html[data-theme="dark"] .v4-order-review-menu button.is-not-requested{color:#ff6158}
html[data-theme="dark"] .v4-order-status-flow button{border-color:var(--v4-status-border, #38383a);background:#1c1c1e;color:var(--v4-status-ink, #9d9da3)}
html[data-theme="dark"] .v4-order-status-flow button::before{background:var(--v4-status-color, #303032)}
html[data-theme="dark"] .v4-order-thread-tile{border-color:#173b62;background:#2c2c2e}
html[data-theme="dark"] .v4-order-thread-tile .v4-thread-head{border-bottom:1px solid #38383a;background:rgba(28,28,30,.96)}
html[data-theme="dark"] .v4-order-thread-tile .v4-thread-surface > header.v4-thread-head > strong{color:#ffffff}
html[data-theme="dark"] .v4-order-thread-tile .v4-thread-head > .v4-thread-summary{color:#8e8e93}
html[data-theme="dark"] .v4-thread-summary b{color:#9d9da3}
html[data-theme="dark"] .v4-thread-summary i{color:#8e8e93}
html[data-theme="dark"] .v4-order-thread-tile .thread-retention,html[data-theme="dark"] .v4-order-thread-tile .thread-retention.is-active{border:1px solid #38383a;background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-order-thread-tile .thread-retention strong{color:#9d9da3}
html[data-theme="dark"] .v4-order-thread-tile .thread-retention.is-active{border-color:#605418;background:#453e1a;color:#ffad2f}
html[data-theme="dark"] .v4-order-thread-tile .thread-retention.is-active strong{color:#ffad2f}
html[data-theme="dark"] .v4-order-thread-tile .v4-thread-timeline{border-block:1px solid #38383a;background:#2c2c2e;background-image:radial-gradient(circle at 1px 1px, rgba(0,0,0,0.325) 1px, transparent 0)}
html[data-theme="dark"] .v4-order-thread-tile .thread-item{border-color:#38383a;background:#1c1c1e;box-shadow:0 5px 14px rgba(10,132,255,0.033)}
html[data-theme="dark"] .v4-order-thread-tile .thread-item.is-mine{border-color:#173b62;background:#192f47}
html[data-theme="dark"] .v4-order-thread-tile .thread-item-meta strong{color:#9d9da3}
html[data-theme="dark"] .v4-order-thread-tile .thread-item-meta span{color:#8e8e93}
html[data-theme="dark"] .v4-order-thread-tile .thread-item > p{color:#ffffff}
html[data-theme="dark"] .v4-order-thread-tile .thread-item.is-deleted{border-color:#38383a;background:#2c2c2e}
html[data-theme="dark"] .v4-order-thread-tile .thread-tombstone{color:#9d9da3}
html[data-theme="dark"] .v4-order-thread-tile .thread-delete{color:#ff6158}
html[data-theme="dark"] .v4-order-thread-tile .thread-file-card{border:1px solid #173b62;background:rgba(28,28,30,.7)}
html[data-theme="dark"] .v4-order-thread-tile .thread-file-card > div strong{color:#ffffff}
html[data-theme="dark"] .v4-order-thread-tile .thread-file-card > div small{color:#9d9da3}
html[data-theme="dark"] .v4-order-thread-tile .thread-file-card .button{color:#ffffff}
html[data-theme="dark"] .v4-order-thread-tile .thread-empty{color:#9d9da3}
html[data-theme="dark"] .v4-order-thread-tile .thread-empty strong{color:#9d9da3}
html[data-theme="dark"] .v4-order-thread-tile .thread-upload-progress{border:1px solid #173b62;background:#192f47}
html[data-theme="dark"] .v4-order-thread-tile .thread-upload-progress > div{color:#9d9da3}
html[data-theme="dark"] .v4-order-thread-tile .thread-upload-progress i{background:#183351}
html[data-theme="dark"] .v4-order-thread-tile .v4-thread-composer{background:#1c1c1e}
html[data-theme="dark"] .v4-thread-composer-box{border:1px solid #38383a;background:#2c2c2e}
html[data-theme="dark"] .v4-thread-composer-box:focus-within{border-color:#173b62;box-shadow:0 0 0 4px rgba(10,132,255,0.06)}
html[data-theme="dark"] .v4-order-thread-tile .v4-thread-composer .textarea{color:#ffffff}
html[data-theme="dark"] .v4-order-thread-tile .thread-file-picker{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-order-thread-tile .thread-composer-actions .primary{color:#ffffff}
html[data-theme="dark"] .v4-order-editor-number{border:1px solid #38383a;background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-order-editor-actions button{border:1px solid #38383a;background:#1c1c1e;color:#9d9da3}
html[data-theme="dark"] .v4-editor-section-head h2{color:#ffffff}
@media (hover: hover){
html[data-theme="dark"] .v4-filter-categories button:hover,html[data-theme="dark"] .v4-filter-values > div button:hover{border-color:#173b62}
}
@media (max-width: 700px){
html[data-theme="dark"] .v4-filter-panel-head{background:rgba(28,28,30,.98)}
html[data-theme="dark"] .v4-filter-categories{border-bottom:1px solid #38383a}
html[data-theme="dark"] .v4-filter-panel > footer{background:#1c1c1e}
}
html[data-theme="dark"] .v4-funnel-page .status-new{--v4-funnel-accent:#8e8e93;--v4-funnel-soft:#2c2c2e;--v4-funnel-border:#173b62;--v4-funnel-ink:#9d9da3}
html[data-theme="dark"] .v4-funnel-page .status-work{--v4-funnel-accent:#2f96ff;--v4-funnel-soft:#192f47;--v4-funnel-border:#173b62;--v4-funnel-ink:#ffffff}
html[data-theme="dark"] .v4-funnel-page .status-revision{--v4-funnel-accent:#ffad2f;--v4-funnel-soft:#453e1a;--v4-funnel-border:#605418;--v4-funnel-ink:#ffad2f}
html[data-theme="dark"] .v4-funnel-page .status-ready{--v4-funnel-accent:#4fd871;--v4-funnel-soft:#2c2c2e;--v4-funnel-border:#22522f;--v4-funnel-ink:#4fd871}
html[data-theme="dark"] .v4-funnel-page .status-delivered{--v4-funnel-accent:#ffffff;--v4-funnel-soft:#2c2c2e;--v4-funnel-border:#38383a;--v4-funnel-ink:#ffffff}
html[data-theme="dark"] .v4-funnel-page .status-cancel{--v4-funnel-accent:#ff6158;--v4-funnel-soft:#452323;--v4-funnel-border:#602826;--v4-funnel-ink:#ff6158}
html[data-theme="dark"] .v4-funnel-head{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .v4-funnel-head h1{color:#ffffff}
html[data-theme="dark"] .v4-funnel-head p{color:#9d9da3}
html[data-theme="dark"] .v4-funnel-head p strong{color:#ffffff}
html[data-theme="dark"] .v4-funnel-scope{border:1px solid #38383a;background:#2c2c2e}
html[data-theme="dark"] .v4-funnel-scope button{color:#9d9da3}
html[data-theme="dark"] .v4-funnel-scope button.is-active{background:#1c1c1e;color:#ffffff}
html[data-theme="dark"] .v4-funnel-summary article{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .v4-funnel-summary article > i{background:#0a84ff;box-shadow:0 0 0 6px #192f47}
html[data-theme="dark"] .v4-funnel-summary article.is-danger > i{background:#ff453a;box-shadow:0 0 0 6px #452323}
html[data-theme="dark"] .v4-funnel-summary article.is-neutral > i{background:#303032;box-shadow:0 0 0 6px #2c2c2e}
html[data-theme="dark"] .v4-funnel-summary article.is-warning > i{background:#ff9f0a;box-shadow:0 0 0 6px #453e1a}
html[data-theme="dark"] .v4-funnel-summary article > span{color:#9d9da3}
html[data-theme="dark"] .v4-funnel-summary article > strong{color:#ffffff}
html[data-theme="dark"] .v4-funnel-command{border:1px solid #38383a;background:rgba(28,28,30,.96)}
html[data-theme="dark"] .v4-funnel-command button,html[data-theme="dark"] .v4-funnel-active-filters button{border:1px solid #38383a;background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-funnel-command button b{background:rgba(0,0,0,0.325)}
html[data-theme="dark"] .v4-funnel-command button.is-active{border-color:#173b62;background:#192f47;color:#ffffff}
html[data-theme="dark"] .v4-funnel-command button.is-active.is-danger{border-color:#602826;background:#452323;color:#ff6158}
html[data-theme="dark"] .v4-funnel-command button.is-active.is-warning{border-color:#605418;background:#453e1a;color:#ffad2f}
html[data-theme="dark"] .v4-funnel-command button.is-archive{background:#2c2c2e;color:#ffffff}
html[data-theme="dark"] .v4-funnel-active-filters > span{color:#8e8e93}
html[data-theme="dark"] .v4-funnel-active-filters button{border-color:#173b62;background:#192f47;color:#ffffff}
html[data-theme="dark"] .v4-funnel-command-result{color:#9d9da3}
html[data-theme="dark"] .v4-funnel-command-result b{color:#ffffff}
html[data-theme="dark"] .v4-funnel-island{background:linear-gradient(180deg, var(--v4-funnel-soft) 0, #1c1c1e 104px)}
html[data-theme="dark"] .v4-funnel-island > header{background:rgba(28,28,30,.58)}
html[data-theme="dark"] .v4-funnel-island > header b{background:#1c1c1e}
html[data-theme="dark"] .v4-funnel-card{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .v4-funnel-card.is-overdue{box-shadow:0 6px 17px rgba(0,0,0,0.112), inset 0 0 0 1px rgba(255,69,58,0.078)}
html[data-theme="dark"] .v4-funnel-card-open-head > strong{color:#ffffff}
html[data-theme="dark"] .v4-funnel-client-copy{color:#ffffff}
html[data-theme="dark"] .v4-funnel-order-arrow{color:#8e8e93}
html[data-theme="dark"] .v4-funnel-card-task{color:#9d9da3}
html[data-theme="dark"] .v4-funnel-card-core > span{background:#2c2c2e}
html[data-theme="dark"] .v4-funnel-card-core > span:first-child{background:#192f47}
html[data-theme="dark"] .v4-funnel-card-core > span.is-empty{background:#45341a}
html[data-theme="dark"] .v4-funnel-card-core small,html[data-theme="dark"] .v4-funnel-card-finance small,html[data-theme="dark"] .v4-funnel-card-details small{color:#9d9da3}
html[data-theme="dark"] .v4-funnel-card-core strong{color:#ffffff}
html[data-theme="dark"] .v4-funnel-card-core > span.is-empty strong{color:#ffad2f}
html[data-theme="dark"] .v4-funnel-card-deadline{background:#2c2c2e}
html[data-theme="dark"] .v4-funnel-card-deadline small{color:#8e8e93}
html[data-theme="dark"] .v4-funnel-card-deadline strong{color:#9d9da3}
html[data-theme="dark"] .v4-funnel-card-deadline time{color:#9d9da3}
html[data-theme="dark"] .v4-funnel-card-deadline.is-red{background:#452323}
html[data-theme="dark"] .v4-funnel-card-deadline.is-red :is(strong, time){color:#ff6158}
html[data-theme="dark"] .v4-funnel-card-deadline.is-amber{background:#453e1a}
html[data-theme="dark"] .v4-funnel-card-deadline.is-amber :is(strong, time){color:#ffad2f}
html[data-theme="dark"] .v4-funnel-card-deadline.is-green{background:#2c2c2e}
html[data-theme="dark"] .v4-funnel-card-deadline.is-green :is(strong, time){color:#4fd871}
html[data-theme="dark"] .v4-funnel-card-finance > :is(span, button){border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .v4-funnel-card-finance strong{color:#ffffff}
html[data-theme="dark"] .v4-funnel-card-finance > .is-positive{border-color:#38383a;background:#2c2c2e}
html[data-theme="dark"] .v4-funnel-card-finance > .is-positive strong{color:#4fd871}
html[data-theme="dark"] .v4-funnel-card-finance > .is-warning{border-color:#605418;background:#453e1a}
html[data-theme="dark"] .v4-funnel-card-finance > .is-warning strong{color:#ffad2f}
html[data-theme="dark"] .v4-funnel-payment-button:focus-visible{box-shadow:0 0 0 4px rgba(10,132,255,0.084)}
html[data-theme="dark"] .v4-funnel-card-details{border-top:1px solid #38383a}
html[data-theme="dark"] .v4-funnel-detail-context > span{background:#2c2c2e}
html[data-theme="dark"] .v4-funnel-card-details strong{color:#9d9da3}
html[data-theme="dark"] .v4-funnel-chat{background:#192f47;color:#ffffff}
html[data-theme="dark"] .v4-funnel-chat.is-unread{background:#0a84ff;color:#ffffff}
html[data-theme="dark"] .v4-funnel-details-toggle{border:1px solid #38383a;background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-funnel-details-toggle[aria-expanded="true"]{border-color:#173b62;background:#192f47;color:#ffffff}
html[data-theme="dark"] .v4-funnel-details-toggle:focus-visible,html[data-theme="dark"] .v4-funnel-chat:focus-visible,html[data-theme="dark"] .v4-order-review-trigger:focus-visible,html[data-theme="dark"] .v4-funnel-move-actions button:focus-visible{box-shadow:0 0 0 4px rgba(10,132,255,0.084)}
html[data-theme="dark"] .v4-funnel-move-actions button{border:1px solid #38383a;background:#1c1c1e;color:#9d9da3}
html[data-theme="dark"] .v4-funnel-empty{background:rgba(28,28,30,.55);color:#8e8e93}
html[data-theme="dark"] .v4-funnel-filter-panel,html[data-theme="dark"] .v4-funnel-archive{border:1px solid #38383a;background:rgba(28,28,30,.985)}
html[data-theme="dark"] .v4-funnel-filter-panel > header,html[data-theme="dark"] .v4-funnel-archive > header{border-bottom:1px solid #38383a}
html[data-theme="dark"] .v4-funnel-filter-panel > header span,html[data-theme="dark"] .v4-funnel-archive > header span{color:#8e8e93}
html[data-theme="dark"] .v4-funnel-filter-panel > header strong,html[data-theme="dark"] .v4-funnel-archive > header strong{color:#ffffff}
html[data-theme="dark"] .v4-funnel-filter-panel > header button,html[data-theme="dark"] .v4-funnel-archive > header button{border:1px solid #38383a;background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-funnel-filter-body > nav{border-right:1px solid #38383a;background:#2c2c2e}
html[data-theme="dark"] .v4-funnel-filter-body > nav button{color:#9d9da3}
html[data-theme="dark"] .v4-funnel-filter-body > nav button small{color:#8e8e93}
html[data-theme="dark"] .v4-funnel-filter-body > nav button i{color:#8e8e93}
html[data-theme="dark"] .v4-funnel-filter-body > nav button.is-selected{border-color:#173b62;background:#1c1c1e;color:#ffffff}
html[data-theme="dark"] .v4-funnel-filter-body > nav button.is-active::after{background:#0a84ff}
html[data-theme="dark"] .v4-funnel-filter-values > header span{color:#ffffff}
html[data-theme="dark"] .v4-funnel-filter-values > header strong{color:#9d9da3}
html[data-theme="dark"] .v4-funnel-filter-values button{border:1px solid #38383a;background:#1c1c1e;color:#9d9da3}
html[data-theme="dark"] .v4-funnel-filter-values button i{background:#2c2c2e;color:#2f96ff}
html[data-theme="dark"] .v4-funnel-filter-values button.is-active{border-color:#173b62;background:#192f47;color:#ffffff}
html[data-theme="dark"] .v4-funnel-filter-values button.is-active i{background:#0a84ff;color:#ffffff}
html[data-theme="dark"] .v4-funnel-filter-panel > footer{border-top:1px solid #38383a;background:#2c2c2e}
html[data-theme="dark"] .v4-funnel-filter-panel > footer span{color:#8e8e93}
html[data-theme="dark"] .v4-funnel-filter-panel > footer button{border:1px solid #38383a;background:#1c1c1e;color:#9d9da3}
html[data-theme="dark"] .v4-funnel-archive{border-color:#38383a;background:#1c1c1e}
html[data-theme="dark"] .v4-funnel-archive > header{background:#1c1c1e}
html[data-theme="dark"] .v4-funnel-archive > header span{color:#9d9da3}
html[data-theme="dark"] .v4-funnel-archive > header strong{color:#ffffff}
html[data-theme="dark"] .v4-funnel-archive-tabs{border-bottom:1px solid #38383a;background:#2c2c2e}
html[data-theme="dark"] .v4-funnel-archive-tabs button{background:#1c1c1e}
html[data-theme="dark"] .v4-funnel-archive-tabs button.is-active{box-shadow:inset 0 -3px 0 var(--v4-funnel-accent), 0 5px 14px rgba(10,132,255,0.048)}
html[data-theme="dark"] .v4-funnel-archive-list{background:#2c2c2e}
html[data-theme="dark"] .v4-funnel-archive-card{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .v4-funnel-archive-card-title > strong{color:#ffffff}
html[data-theme="dark"] .v4-funnel-archive-card > p{color:#9d9da3}
html[data-theme="dark"] .v4-funnel-archive-card-meta > span{background:#2c2c2e}
html[data-theme="dark"] .v4-funnel-archive-card-meta > span.is-empty{background:#45341a}
html[data-theme="dark"] .v4-funnel-archive-card small{color:#9d9da3}
html[data-theme="dark"] .v4-funnel-archive-card-meta strong{color:#ffffff}
html[data-theme="dark"] .v4-funnel-archive-card > footer b{color:#ffffff}
html[data-theme="dark"] .v4-funnel-archive-card > footer button{background:#192f47;color:#ffffff}
html[data-theme="dark"] .v4-funnel-archive-card > footer button.is-unread{background:#0a84ff;color:#ffffff}
html[data-theme="dark"] .v4-funnel-archive-empty{color:#9d9da3}
html[data-theme="dark"] .v4-order-thread-tile .v4-thread-head-title > strong{color:#ffffff}
html[data-theme="dark"] .v4-order-thread-tile .thread-upload-progress > div.is-waiting i b{background:#303032}
html[data-theme="dark"] .v4-order-thread-tile .thread-upload-progress > div.is-uploading i b{background:#0a84ff}
html[data-theme="dark"] .v4-order-thread-tile .thread-upload-progress > div.is-done{color:#4fd871}
html[data-theme="dark"] .v4-order-thread-tile .thread-upload-progress > div.is-done i b{background:#22522f}
html[data-theme="dark"] .v4-order-thread-tile .thread-upload-progress > div.is-error{color:#ff6158}
html[data-theme="dark"] .v4-order-thread-tile .thread-upload-progress > div.is-error i b{background:#ff453a}
html[data-theme="dark"] .v4-order-thread-tile .thread-upload-progress > div.is-done strong{color:#4fd871}
html[data-theme="dark"] .v4-order-thread-tile .thread-upload-progress > div.is-error strong{color:#ff6158}
@media (hover: hover){
html[data-theme="dark"] .v4-funnel-command button:hover,html[data-theme="dark"] .v4-funnel-scope button:hover,html[data-theme="dark"] .v4-funnel-filter-values button:hover{border-color:#173b62}
}
@media (max-width: 700px){
html[data-theme="dark"] .v4-funnel-filter-body > nav{border-bottom:1px solid #38383a}
}
html[data-theme="dark"] .v4-clients-page{color:#ffffff}
html[data-theme="dark"] .v4-clients-page :where(button, [tabindex]):focus-visible{outline:3px solid rgba(10,132,255,0.144)}
html[data-theme="dark"] .v4-clients-head{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .v4-clients-head h1{color:#ffffff}
html[data-theme="dark"] .v4-clients-head p{color:#9d9da3}
html[data-theme="dark"] .v4-clients-head p strong{color:#ffffff}
html[data-theme="dark"] .v4-clients-debt{border:1px solid #38383a;background:#2c2c2e}
html[data-theme="dark"] .v4-clients-debt span{color:#9d9da3}
html[data-theme="dark"] .v4-clients-debt strong{color:#ffffff}
html[data-theme="dark"] .v4-clients-debt.is-warning{border-color:#605418;background:#453e1a}
html[data-theme="dark"] .v4-clients-debt.is-warning strong{color:#ffad2f}
html[data-theme="dark"] .v4-clients-focus{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .v4-clients-focus button{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-clients-focus button b{background:#1c1c1e;color:#9d9da3}
html[data-theme="dark"] .v4-clients-focus button.is-active{border-color:#173b62;background:#192f47;color:#ffffff}
html[data-theme="dark"] .v4-clients-focus button.is-active b{background:#0a84ff;color:#ffffff}
html[data-theme="dark"] .v4-client-card{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .v4-client-card::before{background:#303032}
html[data-theme="dark"] .v4-client-card.is-active::before{background:#0a84ff}
html[data-theme="dark"] .v4-client-card.is-debt::before{background:#ff9f0a}
html[data-theme="dark"] .v4-client-card h2{color:#ffffff}
html[data-theme="dark"] .v4-client-card > header span{color:#9d9da3}
html[data-theme="dark"] .v4-client-card > header > strong{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-client-contact > span{color:#9d9da3}
html[data-theme="dark"] .v4-client-contact button{border:1px solid #173b62;background:#192f47;color:#ffffff}
html[data-theme="dark"] .v4-client-contact button small{background:#1c1c1e;color:#ffffff}
html[data-theme="dark"] .v4-client-money > span{background:#2c2c2e}
html[data-theme="dark"] .v4-client-money small{color:#9d9da3}
html[data-theme="dark"] .v4-client-money strong{color:#ffffff}
html[data-theme="dark"] .v4-client-money > span.is-warning{background:#453e1a}
html[data-theme="dark"] .v4-client-money > span.is-warning :is(small, strong){color:#ffad2f}
html[data-theme="dark"] .v4-client-order-link{--v4-client-order-accent:#8e8e93;--v4-client-order-soft:#2c2c2e;border:1px solid #38383a;color:#ffffff}
html[data-theme="dark"] .v4-client-order-link.status-new{--v4-client-order-accent:#8e8e93;--v4-client-order-soft:#2c2c2e}
html[data-theme="dark"] .v4-client-order-link.status-work{--v4-client-order-accent:#2f96ff;--v4-client-order-soft:#192f47}
html[data-theme="dark"] .v4-client-order-link.status-revision{--v4-client-order-accent:#ffad2f;--v4-client-order-soft:#453e1a}
html[data-theme="dark"] .v4-client-order-link.status-ready{--v4-client-order-accent:#4fd871;--v4-client-order-soft:#2c2c2e}
html[data-theme="dark"] .v4-client-order-link.status-delivered{--v4-client-order-accent:#ffffff;--v4-client-order-soft:#2c2c2e}
html[data-theme="dark"] .v4-client-order-link.status-cancel{--v4-client-order-accent:#ff6158;--v4-client-order-soft:#452323}
html[data-theme="dark"] .v4-client-order-link strong{color:#ffffff}
html[data-theme="dark"] .v4-client-order-link small{color:#9d9da3}
html[data-theme="dark"] .v4-client-order-link em{background:#1c1c1e;color:#9d9da3}
html[data-theme="dark"] .v4-client-orders-more{color:#8e8e93}
html[data-theme="dark"] .v4-clients-empty{border:1px solid #38383a;background:#1c1c1e;color:#9d9da3}
html[data-theme="dark"] .v4-clients-empty strong{color:#ffffff}
html[data-theme="dark"] .v4-clients-empty button{background:#192f47;color:#ffffff}
@media (hover: hover){
html[data-theme="dark"] .v4-clients-focus button:hover{border-color:#173b62}
html[data-theme="dark"] .v4-client-contact button:hover{border-color:#173b62}
}
html[data-theme="dark"] .v4-journal-page{color:#ffffff}
html[data-theme="dark"] .v4-journal-page :where(button, [tabindex], input, select, textarea):focus-visible,html[data-theme="dark"] dialog.v4-transaction-dialog :where(button, input, select, textarea):focus-visible{outline:3px solid rgba(10,132,255,0.132)}
html[data-theme="dark"] .v4-journal-intro{border:1px solid #38383a;background:radial-gradient(circle at 78% -80%, rgba(10,132,255,0.108), transparent 42%),
    #1c1c1e;box-shadow:0 14px 38px rgba(10,132,255,0.042)}
html[data-theme="dark"] .v4-journal-intro > div > span{color:#2f96ff}
html[data-theme="dark"] .v4-journal-intro h1{color:#ffffff}
html[data-theme="dark"] .v4-journal-intro p{color:#8e8e93}
html[data-theme="dark"] .v4-journal-intro p strong{color:#ffffff}
html[data-theme="dark"] .v4-journal-intro.is-expense{background:radial-gradient(circle at 78% -80%, rgba(255,159,10,0.114), transparent 42%),
    #1c1c1e}
html[data-theme="dark"] .v4-journal-create{background:#0a84ff;color:#ffffff;box-shadow:0 12px 26px rgba(10,132,255,0.138)}
html[data-theme="dark"] .v4-journal-create.is-expense{background:#ff9f0a;box-shadow:0 12px 26px rgba(255,159,10,0.138)}
html[data-theme="dark"] .v4-journal-metric{border:1px solid #38383a;background:#1c1c1e;box-shadow:0 8px 24px rgba(10,132,255,0.027)}
html[data-theme="dark"] .v4-journal-metric > span,html[data-theme="dark"] .v4-journal-metric small{color:#8e8e93}
html[data-theme="dark"] .v4-journal-metric strong{color:#ffffff}
html[data-theme="dark"] .v4-journal-metric.is-income{border-color:#173b62}
html[data-theme="dark"] .v4-journal-metric.is-income :is(span, small){color:#8e8e93}
html[data-theme="dark"] .v4-journal-metric.is-income strong{color:#ffffff}
html[data-theme="dark"] .v4-journal-metric.is-blue{background:#192f47;border-color:#173b62}
html[data-theme="dark"] .v4-journal-metric.is-blue strong{color:#ffffff}
html[data-theme="dark"] .v4-journal-metric.is-mint{background:#2c2c2e;border-color:#22522f}
html[data-theme="dark"] .v4-journal-metric.is-mint strong{color:#4fd871}
html[data-theme="dark"] .v4-journal-metric.is-expense{border-color:#38383a}
html[data-theme="dark"] .v4-journal-metric.is-expense :is(span, small){color:#8e8e93}
html[data-theme="dark"] .v4-journal-metric.is-expense strong{color:#ffffff}
html[data-theme="dark"] .v4-journal-metric.is-amber{background:#45341a;border-color:#604318}
html[data-theme="dark"] .v4-journal-metric.is-amber strong{color:#ffad2f}
html[data-theme="dark"] .v4-journal-metric.is-warning{background:#452323;border-color:#602826}
html[data-theme="dark"] .v4-journal-metric.is-warning strong{color:#ff6158}
html[data-theme="dark"] .v4-journal-focus-tile,html[data-theme="dark"] .v4-journal-control-tile,html[data-theme="dark"] .v4-journal-active-filters{border:1px solid #38383a;background:#1c1c1e;box-shadow:0 8px 24px rgba(10,132,255,0.027)}
html[data-theme="dark"] .v4-journal-focus-tile > span,html[data-theme="dark"] .v4-journal-control-tile > span{color:#8e8e93}
html[data-theme="dark"] .v4-journal-control-tile > strong{color:#ffffff}
html[data-theme="dark"] .v4-journal-focus-tile button,html[data-theme="dark"] .v4-journal-control-tile button{border:1px solid #38383a;background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-journal-control-tile button i{color:#8e8e93}
html[data-theme="dark"] .v4-journal-focus-tile button.is-active,html[data-theme="dark"] .v4-journal-control-tile button.is-active{border-color:#173b62;background:#192f47;color:#ffffff}
html[data-theme="dark"] .v4-journal-custom-dates{border:1px solid #38383a;background:#2c2c2e}
html[data-theme="dark"] .v4-journal-custom-dates label{color:#9d9da3}
html[data-theme="dark"] .v4-journal-custom-dates input{border:1px solid #38383a;background:#1c1c1e;color:#ffffff}
html[data-theme="dark"] .v4-journal-day{border:1px solid #38383a;background:#1c1c1e;box-shadow:0 10px 28px rgba(10,132,255,0.03)}
html[data-theme="dark"] .v4-journal-day > header{border-bottom:1px solid #38383a;background:#2c2c2e}
html[data-theme="dark"] .v4-journal-day h2{color:#ffffff}
html[data-theme="dark"] .v4-journal-day > header span{color:#8e8e93}
html[data-theme="dark"] .v4-journal-day > header strong{color:#ffffff}
html[data-theme="dark"] .v4-journal-row{border-bottom:1px solid #38383a}
html[data-theme="dark"] .v4-journal-row-icon{background:#192f47;color:#ffffff}
html[data-theme="dark"] .v4-journal-row-copy strong{color:#ffffff}
html[data-theme="dark"] .v4-journal-row-copy small{color:#9d9da3}
html[data-theme="dark"] .v4-journal-row-tags span{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-journal-row.is-income .v4-journal-row-tags span:first-child{background:#2c2c2e;color:#4fd871}
html[data-theme="dark"] .v4-journal-row.is-expense .v4-journal-row-icon{background:#45341a;color:#ffad2f}
html[data-theme="dark"] .v4-journal-row.is-expense .v4-journal-row-tags span:first-child{background:#192f47;color:#ffffff}
html[data-theme="dark"] .v4-journal-row.is-expense .v4-journal-row-tags span.is-due{background:#452323;color:#ff6158}
html[data-theme="dark"] .v4-journal-row.is-expense .v4-journal-row-amount strong{color:#ffad2f}
html[data-theme="dark"] .v4-journal-row-order button,html[data-theme="dark"] .v4-journal-row-order > span{color:#ffffff}
html[data-theme="dark"] .v4-journal-row-order button{background:#192f47}
html[data-theme="dark"] .v4-journal-row-order > span{color:#8e8e93;background:#2c2c2e}
html[data-theme="dark"] .v4-journal-row-amount strong{color:#4fd871}
html[data-theme="dark"] .v4-journal-row-amount span{color:#8e8e93}
html[data-theme="dark"] .v4-journal-empty{border:1px solid #38383a;background:#1c1c1e;color:#9d9da3}
html[data-theme="dark"] .v4-journal-empty > span{color:#2f96ff}
html[data-theme="dark"] .v4-journal-empty h2{color:#ffffff}
html[data-theme="dark"] .v4-journal-empty button{background:#192f47;color:#ffffff}
html[data-theme="dark"] dialog.v4-transaction-dialog{border:1px solid #38383a;background:#2c2c2e}
html[data-theme="dark"] .v4-transaction-sheet{color:#ffffff}
html[data-theme="dark"] .v4-transaction-sheet-head{border-bottom:1px solid #38383a;background:rgba(28,28,30,.98)}
html[data-theme="dark"] .v4-transaction-sheet-head span{color:#2f96ff}
html[data-theme="dark"] .v4-transaction-sheet-head h2{color:#ffffff}
html[data-theme="dark"] .v4-transaction-sheet-head > button{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-transaction-order-context{border:1px solid #173b62;background:#192f47}
html[data-theme="dark"] .v4-transaction-order-context > span{color:#ffffff}
html[data-theme="dark"] .v4-transaction-order-context strong{color:#ffffff}
html[data-theme="dark"] .v4-transaction-order-context small{color:#9d9da3}
html[data-theme="dark"] .v4-transaction-order-context.is-empty{border-color:#38383a;background:#2c2c2e}
html[data-theme="dark"] .v4-transaction-order-context.is-empty :is(span, small){color:#8e8e93}
html[data-theme="dark"] .v4-transaction-order-context.is-empty strong{color:#9d9da3}
html[data-theme="dark"] .v4-transaction-order-context.is-expense{border-color:#604318;background:#45341a}
html[data-theme="dark"] .v4-transaction-order-context.is-expense > span{color:#ffad2f}
html[data-theme="dark"] .v4-transaction-order-context.is-expense strong{color:#ffad2f}
html[data-theme="dark"] .v4-transaction-order-context.is-expense small{color:#9d9da3}
html[data-theme="dark"] .v4-transaction-section{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .v4-transaction-section > header > span{background:#192f47;color:#ffffff}
html[data-theme="dark"] .v4-transaction-section > header strong{color:#ffffff}
html[data-theme="dark"] .v4-transaction-section > header small{color:#8e8e93}
html[data-theme="dark"] .v4-transaction-fields .field > label,html[data-theme="dark"] .v4-transaction-fields .field > span,html[data-theme="dark"] .v4-transaction-comment > span{color:#9d9da3}
html[data-theme="dark"] .v4-transaction-fields :is(input, select),html[data-theme="dark"] .v4-transaction-comment textarea{border:1px solid #38383a;background:#2c2c2e;color:#ffffff}
html[data-theme="dark"] .v4-transaction-fields input[readonly]{color:#9d9da3;background:#2c2c2e}
html[data-theme="dark"] .v4-transaction-note{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-transaction-note.expense-funding-note{background:#45341a;color:#9d9da3}
html[data-theme="dark"] .v4-transaction-form-error{border:1px solid #602826;background:#452323;color:#ff6158}
html[data-theme="dark"] .v4-payroll-protection{border:1px solid #604318;background:#45341a}
html[data-theme="dark"] .v4-payroll-protection span{color:#ff6158}
html[data-theme="dark"] .v4-payroll-protection strong{color:#ff6158}
html[data-theme="dark"] .v4-payroll-protection small{color:#9d9da3}
html[data-theme="dark"] .v4-expense-reimbursement{border:1px solid #604318;background:#3c2f1b}
html[data-theme="dark"] .v4-expense-reimbursement > header span{color:#9d9da3}
html[data-theme="dark"] .v4-expense-reimbursement > header strong{color:#9d9da3}
html[data-theme="dark"] .v4-expense-reimbursement > header > b{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-expense-reimbursement > header > b.is-due{background:#452323;color:#ff6158}
html[data-theme="dark"] .v4-expense-reimbursement-summary > div{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .v4-expense-reimbursement-summary span{color:#9d9da3}
html[data-theme="dark"] .v4-expense-reimbursement-summary strong{color:#9d9da3}
html[data-theme="dark"] .v4-expense-reimbursement-summary .is-due{border-color:#602826;background:#45341a}
html[data-theme="dark"] .v4-expense-reimbursement-summary .is-due strong{color:#ff6158}
html[data-theme="dark"] .v4-expense-reimbursement-summary .is-settled strong{color:#9d9da3}
html[data-theme="dark"] .v4-expense-reimbursement-history{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .v4-expense-reimbursement-history > div{border-bottom:1px solid #38383a}
html[data-theme="dark"] .v4-expense-reimbursement-history span strong,html[data-theme="dark"] .v4-expense-reimbursement-history > div > b{color:#9d9da3}
html[data-theme="dark"] .v4-expense-reimbursement-history small{color:#9d9da3}
html[data-theme="dark"] .v4-expense-reimbursement-history i{background:#2c2c2e;color:#8e8e93}
html[data-theme="dark"] .v4-expense-reimbursement-history button{background:#452323;color:#ff6158}
html[data-theme="dark"] .v4-expense-reimbursement-settled{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-expense-reimbursement-settled{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-expense-reimbursement-toggle,html[data-theme="dark"] .v4-inline-reimbursement-save{background:#ff9f0a;color:#ffffff}
html[data-theme="dark"] .v4-inline-reimbursement{border:1px solid #604318;background:#1c1c1e}
html[data-theme="dark"] .v4-transaction-sheet-foot{border-top:1px solid #38383a;background:rgba(28,28,30,.98)}
html[data-theme="dark"] .v4-transaction-sheet-foot button{border:1px solid #38383a;background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-transaction-sheet-foot button.is-primary{border-color:#173b62;background:#0a84ff;color:#ffffff}
html[data-theme="dark"] .v4-transaction-sheet-foot button.is-danger{border-color:#602826;background:#452323;color:#ff6158}
@media (hover: hover){
html[data-theme="dark"] .v4-journal-row:hover{background:#1c1c1e}
}
html[data-theme="dark"] .v4-employees-page,html[data-theme="dark"] .v4-employee-profile{color:#ffffff}
html[data-theme="dark"] .v4-employees-page :where(button, [tabindex], input, select, textarea):focus-visible,html[data-theme="dark"] .v4-employee-profile :where(button, [tabindex], input, select, textarea):focus-visible,html[data-theme="dark"] dialog.v4-employee-dialog :where(button, input, select, textarea):focus-visible{outline:3px solid rgba(10,132,255,0.132)}
html[data-theme="dark"] .v4-employees-intro{border:1px solid #38383a;background:radial-gradient(circle at 76% -100%, rgba(48,209,88,0.12), transparent 44%), #1c1c1e;box-shadow:0 14px 38px rgba(10,132,255,0.042)}
html[data-theme="dark"] .v4-employees-intro h1{color:#ffffff}
html[data-theme="dark"] .v4-employees-intro p{color:#8e8e93}
html[data-theme="dark"] .v4-employees-intro p strong{color:#ffffff}
html[data-theme="dark"] .v4-employee-month-control{color:#9d9da3}
html[data-theme="dark"] .v4-employee-month-control > span:last-child,html[data-theme="dark"] .v4-employee-profile-toolbar label{border:1px solid #38383a;background:#2c2c2e}
html[data-theme="dark"] .v4-employee-month-control button,html[data-theme="dark"] .v4-employee-profile-toolbar label button{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-employee-month-control input,html[data-theme="dark"] .v4-employee-profile-toolbar input{border-inline:1px solid #38383a;background:#1c1c1e;color:#ffffff}
html[data-theme="dark"] .v4-employees-create{background:#0a84ff;color:#ffffff;box-shadow:0 12px 26px rgba(10,132,255,0.138)}
html[data-theme="dark"] .v4-employee-metric.is-danger{border-color:#602826;background:#452323}
html[data-theme="dark"] .v4-employee-metric.is-danger strong{color:#ff6158}
html[data-theme="dark"] .v4-employee-metric.is-warning{border-color:#604318;background:#453e1a}
html[data-theme="dark"] .v4-employee-metric.is-warning strong{color:#ffad2f}
html[data-theme="dark"] .v4-employee-focus-tile button.is-danger{border-color:#602826;background:#452323;color:#ff6158}
html[data-theme="dark"] .v4-employee-focus-tile button.is-warning{border-color:#604318;background:#45341a;color:#ffad2f}
html[data-theme="dark"] .v4-employee-month-options > label{border:1px solid #38383a;background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-employee-month-options input{border:1px solid #38383a;background:#1c1c1e;color:#ffffff}
html[data-theme="dark"] .v4-employee-roster > header span{color:#8e8e93}
html[data-theme="dark"] .v4-employee-roster > header h2{color:#ffffff}
html[data-theme="dark"] .v4-employee-roster > header > strong{background:#192f47;color:#ffffff}
html[data-theme="dark"] .v4-employee-roster.is-inactive{border-top:1px solid #38383a}
html[data-theme="dark"] .v4-employee-roster.is-inactive > header > strong{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-employee-card{border:1px solid #38383a;background:#1c1c1e;box-shadow:0 8px 24px rgba(10,132,255,0.027)}
html[data-theme="dark"] .v4-employee-card.has-overdue{border-color:#602826;box-shadow:0 8px 24px rgba(255,69,58,0.033)}
html[data-theme="dark"] .v4-employee-card.is-inactive{border-color:#38383a;background:#2c2c2e}
html[data-theme="dark"] .v4-employee-card-main{color:#ffffff}
html[data-theme="dark"] .v4-employee-card-main:hover{background:#1c1c1e}
html[data-theme="dark"] .v4-employee-avatar,html[data-theme="dark"] .v4-employee-profile-avatar{background:#2c2c2e;color:#4fd871}
html[data-theme="dark"] .v4-employee-card.has-overdue .v4-employee-avatar{background:#452323;color:#ff6158}
html[data-theme="dark"] .v4-employee-card.is-inactive .v4-employee-avatar{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-employee-identity strong{color:#ffffff}
html[data-theme="dark"] .v4-employee-identity small,html[data-theme="dark"] .v4-employee-card-main small,html[data-theme="dark"] .v4-employee-card-main em{color:#8e8e93}
html[data-theme="dark"] .v4-employee-card-main :is(.v4-employee-work, .v4-employee-money, .v4-employee-salary) strong{color:#ffffff}
html[data-theme="dark"] .v4-employee-work em.is-danger{color:#ff6158}
html[data-theme="dark"] .v4-employee-goal > span{background:#2c2c2e}
html[data-theme="dark"] .v4-employee-goal > span i{background:linear-gradient(90deg, #214a2d, #0a84ff)}
html[data-theme="dark"] .v4-employee-salary{background:#2c2c2e}
html[data-theme="dark"] .v4-employee-salary.is-due{background:#45341a}
html[data-theme="dark"] .v4-employee-salary.is-due strong{color:#ffad2f!important}
html[data-theme="dark"] .v4-employee-salary.is-settled strong{color:#4fd871!important}
html[data-theme="dark"] .v4-employee-card-arrow{color:#8e8e93}
html[data-theme="dark"] .v4-employee-card > footer{border-top:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .v4-employee-card > footer > span{color:#8e8e93}
html[data-theme="dark"] .v4-employee-card > footer button{border:1px solid #38383a;background:#1c1c1e;color:#9d9da3}
html[data-theme="dark"] .v4-employee-empty{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .v4-employee-empty > span{color:#2f96ff}
html[data-theme="dark"] .v4-employee-empty :is(h2, h3){color:#ffffff}
html[data-theme="dark"] .v4-employee-empty p{color:#9d9da3}
html[data-theme="dark"] .v4-employee-empty button{background:#192f47;color:#ffffff}
html[data-theme="dark"] .v4-orders-context-back{border:1px solid #38383a;background:#1c1c1e;color:#9d9da3}
html[data-theme="dark"] .v4-orders-context-back span{color:#2f96ff}
html[data-theme="dark"] .v4-employee-profile-head{border:1px solid #38383a;background:radial-gradient(circle at 85% -100%, rgba(10,132,255,0.108), transparent 45%), #1c1c1e;box-shadow:0 12px 32px rgba(10,132,255,0.039)}
html[data-theme="dark"] .v4-employee-profile-back{border:1px solid #38383a;background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-employee-profile-back i{color:#2f96ff}
html[data-theme="dark"] .v4-employee-profile-person h1{color:#ffffff}
html[data-theme="dark"] .v4-employee-profile-person p{color:#9d9da3}
html[data-theme="dark"] .v4-employee-access{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-employee-access.is-active{background:#2c2c2e;color:#4fd871}
html[data-theme="dark"] .v4-employee-profile-actions button,html[data-theme="dark"] .v4-employee-payroll-card footer button,html[data-theme="dark"] .v4-employee-profile-panel > header button{border:1px solid #38383a;background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-employee-profile-actions button.is-primary,html[data-theme="dark"] .v4-employee-payroll-card footer button.is-primary{border-color:#173b62;background:#0a84ff;color:#ffffff}
html[data-theme="dark"] .v4-employee-profile-toolbar{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .v4-employee-profile-toolbar > div span{color:#8e8e93}
html[data-theme="dark"] .v4-employee-profile-toolbar > div strong{color:#ffffff}
html[data-theme="dark"] .v4-employee-payroll-card{border:1px solid #38383a;background:radial-gradient(circle at 85% -120%, rgba(48,209,88,0.102), transparent 46%), #1c1c1e;box-shadow:0 8px 24px rgba(10,132,255,0.027)}
html[data-theme="dark"] .v4-employee-payroll-card > header span{color:#9d9da3}
html[data-theme="dark"] .v4-employee-payroll-card > header h2{color:#4fd871}
html[data-theme="dark"] .v4-employee-payroll-card > header p{color:#9d9da3}
html[data-theme="dark"] .v4-employee-payroll-card > header > div:last-child{background:#2c2c2e}
html[data-theme="dark"] .v4-employee-payroll-card > header > div:last-child.is-due{background:#453e1a}
html[data-theme="dark"] .v4-employee-payroll-card > header > div:last-child strong{color:#4fd871}
html[data-theme="dark"] .v4-employee-payroll-card > header > div:last-child.is-due :is(span, strong){color:#ffad2f}
html[data-theme="dark"] .v4-employee-payroll-card > header small{color:#9d9da3}
html[data-theme="dark"] .v4-employee-payroll-grid > div{border:1px solid #38383a;background:rgba(28,28,30,.82)}
html[data-theme="dark"] .v4-employee-payroll-grid span,html[data-theme="dark"] .v4-employee-payroll-grid small{color:#9d9da3}
html[data-theme="dark"] .v4-employee-payroll-grid strong{color:#ffffff}
html[data-theme="dark"] .v4-employee-payroll-grid > div.is-due{border-color:#605418;background:#453e1a}
html[data-theme="dark"] .v4-employee-payroll-grid > div.is-due strong{color:#ffad2f}
html[data-theme="dark"] .v4-employee-payroll-grid > div.is-settled strong{color:#4fd871}
html[data-theme="dark"] .v4-employee-payroll-progress > span{background:#2c2c2e}
html[data-theme="dark"] .v4-employee-payroll-progress > span i{background:linear-gradient(90deg, #22522f, #0a84ff)}
html[data-theme="dark"] .v4-employee-payroll-progress small{color:#9d9da3}
html[data-theme="dark"] .v4-employee-payroll-card > footer > span{color:#9d9da3}
html[data-theme="dark"] .v4-employee-profile-panel{border:1px solid #38383a;background:#1c1c1e;box-shadow:0 8px 24px rgba(10,132,255,0.024)}
html[data-theme="dark"] .v4-employee-profile-panel > header span{color:#8e8e93}
html[data-theme="dark"] .v4-employee-profile-panel > header h2{color:#ffffff}
html[data-theme="dark"] .v4-employee-profile-panel > header > strong{color:#ffffff}
html[data-theme="dark"] .v4-employee-profile-panel > header > strong.is-positive{color:#4fd871}
html[data-theme="dark"] .v4-employee-profile-panel > header > strong.is-negative{color:#ff6158}
html[data-theme="dark"] .v4-employee-finance-grid > div{background:#2c2c2e}
html[data-theme="dark"] .v4-employee-finance-grid span,html[data-theme="dark"] .v4-employee-finance-grid small{color:#9d9da3}
html[data-theme="dark"] .v4-employee-finance-grid strong{color:#ffffff}
html[data-theme="dark"] .v4-employee-finance-grid > div.is-positive{background:#2c2c2e}
html[data-theme="dark"] .v4-employee-finance-grid > div.is-positive strong{color:#4fd871}
html[data-theme="dark"] .v4-employee-finance-grid > div.is-negative{background:#452323}
html[data-theme="dark"] .v4-employee-finance-grid > div.is-negative strong{color:#ff6158}
html[data-theme="dark"] .v4-employee-order-list,html[data-theme="dark"] .v4-employee-expense-list{border:1px solid #38383a}
html[data-theme="dark"] .v4-employee-order-row{border-bottom:1px solid #38383a;background:#1c1c1e;color:#ffffff}
html[data-theme="dark"] .v4-employee-order-row:hover,html[data-theme="dark"] .v4-employee-expense-row:hover{background:#1c1c1e}
html[data-theme="dark"] .v4-employee-order-row.is-overdue{box-shadow:inset 4px 0 #ff453a}
html[data-theme="dark"] .v4-employee-order-row > span:first-child strong{color:#ffffff}
html[data-theme="dark"] .v4-employee-order-row > span:first-child small,html[data-theme="dark"] .v4-employee-order-row time small,html[data-theme="dark"] .v4-employee-order-money small{color:#8e8e93}
html[data-theme="dark"] .v4-employee-order-row > em{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-employee-order-row > em.status-new{background:#192f47;color:#ffffff}
html[data-theme="dark"] .v4-employee-order-row > em.status-work{background:#453e1a;color:#ffad2f}
html[data-theme="dark"] .v4-employee-order-row > em.status-revision{background:#452323;color:#ff6158}
html[data-theme="dark"] .v4-employee-order-row > em.status-ready{background:#2c2c2e;color:#4fd871}
html[data-theme="dark"] .v4-employee-order-row time strong,html[data-theme="dark"] .v4-employee-order-money strong{color:#ffffff}
html[data-theme="dark"] .v4-employee-order-row time.is-red strong{color:#ff6158}
html[data-theme="dark"] .v4-employee-order-row > i{color:#8e8e93}
html[data-theme="dark"] .v4-employee-status-list > div > span{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-employee-status-list > div > i{background:#2c2c2e}
html[data-theme="dark"] .v4-employee-status-list > div > i b{background:#0a84ff}
html[data-theme="dark"] .v4-employee-status-list > div > strong,html[data-theme="dark"] .v4-employee-status-list > div > small{color:#9d9da3}
html[data-theme="dark"] .v4-employee-trend > div > span{border-bottom:1px solid #38383a}
html[data-theme="dark"] .v4-employee-trend i.is-paid{background:#214a2d}
html[data-theme="dark"] .v4-employee-trend i.is-cost{background:#ff9f0a}
html[data-theme="dark"] .v4-employee-trend strong{color:#9d9da3}
html[data-theme="dark"] .v4-employee-trend small{color:#8e8e93}
html[data-theme="dark"] .v4-employee-trend-legend span.is-paid::before{background:#214a2d}
html[data-theme="dark"] .v4-employee-trend-legend span.is-cost::before{background:#ff9f0a}
html[data-theme="dark"] .v4-employee-expense-categories span,html[data-theme="dark"] .v4-employee-expense-categories strong{color:#9d9da3}
html[data-theme="dark"] .v4-employee-expense-categories i{background:#2c2c2e}
html[data-theme="dark"] .v4-employee-expense-categories i b{background:#ff9f0a}
html[data-theme="dark"] .v4-employee-expense-row{border-bottom:1px solid #38383a;background:#1c1c1e;color:#ffffff}
html[data-theme="dark"] .v4-employee-expense-row strong{color:#ffffff}
html[data-theme="dark"] .v4-employee-expense-row small{color:#8e8e93}
html[data-theme="dark"] .v4-employee-expense-row > i{color:#8e8e93}
html[data-theme="dark"] .v4-employee-expense-row.is-salary{background:#2c2c2e}
html[data-theme="dark"] .v4-employee-panel-empty{background:#2c2c2e;color:#8e8e93}
html[data-theme="dark"] .v4-employee-formula-note{border:1px solid #38383a;background:#2c2c2e}
html[data-theme="dark"] .v4-employee-formula-note strong{color:#9d9da3}
html[data-theme="dark"] .v4-employee-formula-note span{color:#9d9da3}
html[data-theme="dark"] dialog.v4-employee-dialog{border:1px solid #38383a;background:#2c2c2e}
html[data-theme="dark"] .v4-employee-modal-form{color:#ffffff}
html[data-theme="dark"] .v4-employee-modal-head{border-bottom:1px solid #38383a;background:rgba(28,28,30,.98)}
html[data-theme="dark"] .v4-employee-modal-head span{color:#2f96ff}
html[data-theme="dark"] .v4-employee-modal-head h2{color:#ffffff}
html[data-theme="dark"] .v4-employee-modal-head p{color:#9d9da3}
html[data-theme="dark"] .v4-employee-modal-head > button{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-employee-form-section{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .v4-employee-form-section > header > span{background:#192f47;color:#ffffff}
html[data-theme="dark"] .v4-employee-form-section > header strong{color:#ffffff}
html[data-theme="dark"] .v4-employee-form-section > header small{color:#8e8e93}
html[data-theme="dark"] .v4-employee-form-field{color:#9d9da3}
html[data-theme="dark"] .v4-employee-form-field :is(input, select){border:1px solid #38383a;background:#2c2c2e;color:#ffffff}
html[data-theme="dark"] .v4-employee-access-toggle{border:1px solid #38383a;background:#2c2c2e}
html[data-theme="dark"] .v4-employee-access-toggle strong{color:#4fd871}
html[data-theme="dark"] .v4-employee-access-toggle small{color:#9d9da3}
html[data-theme="dark"] .v4-employee-security-note{border:1px solid #173b62;background:#2c2c2e}
html[data-theme="dark"] .v4-employee-security-note strong{color:#9d9da3}
html[data-theme="dark"] .v4-employee-security-note p{color:#9d9da3}
html[data-theme="dark"] .v4-employee-dialog-summary > div{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .v4-employee-dialog-summary span{color:#9d9da3}
html[data-theme="dark"] .v4-employee-dialog-summary strong{color:#ffffff}
html[data-theme="dark"] .v4-employee-dialog-summary > div.is-due{border-color:#604318;background:#453e1a}
html[data-theme="dark"] .v4-employee-dialog-summary > div.is-due strong{color:#ffad2f}
html[data-theme="dark"] .v4-employee-form-error{border:1px solid #602826;background:#452323;color:#ff6158}
html[data-theme="dark"] .v4-employee-modal-foot{border-top:1px solid #38383a;background:rgba(28,28,30,.98)}
html[data-theme="dark"] .v4-employee-modal-foot > span{color:#9d9da3}
html[data-theme="dark"] .v4-employee-modal-foot button{border:1px solid #38383a;background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-employee-modal-foot button.is-primary{border-color:#173b62;background:#0a84ff;color:#ffffff}
html[data-theme="dark"] .v4-analytics-intro > div > span{color:#2f96ff}
html[data-theme="dark"] .v4-analytics-intro h1{color:#ffffff}
html[data-theme="dark"] .v4-analytics-intro p{color:#8e8e93}
html[data-theme="dark"] .v4-analytics-intro p strong{color:#ffffff}
html[data-theme="dark"] .v4-analytics-intro > button{border:1px solid #38383a;background:#1c1c1e;color:#9d9da3}
html[data-theme="dark"] .v4-analytics-intro > button b{background:#2c2c2e}
html[data-theme="dark"] .v4-analytics-intro > button.is-active{border-color:#173b62;background:#192f47;color:#ffffff}
html[data-theme="dark"] .v4-analytics-dock{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .v4-analytics-dock > span{color:#8e8e93}
html[data-theme="dark"] .v4-analytics-dock button{border:1px solid #38383a;background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-analytics-dock button.is-active{border-color:#173b62;background:#192f47;color:#ffffff}
html[data-theme="dark"] .v4-analytics-active-filters{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .v4-analytics-ebitda{border:1px solid #173b62;background:radial-gradient(circle at 95% 0, rgba(48,209,88,0.168), transparent 42%), linear-gradient(145deg, #192d42, #173656);color:#ffffff}
html[data-theme="dark"] .v4-analytics-ebitda.is-negative{background:radial-gradient(circle at 95% 0, rgba(255,69,58,0.162), transparent 42%), linear-gradient(145deg, #2c2c2e, #5d2826)}
html[data-theme="dark"] .v4-analytics-ebitda > span{color:#8e8e93}
html[data-theme="dark"] .v4-analytics-ebitda h2{color:#ffffff}
html[data-theme="dark"] .v4-analytics-ebitda p{color:#8e8e93}
html[data-theme="dark"] .v4-analytics-metric{border:1px solid #38383a;background:#1c1c1e;color:#ffffff}
html[data-theme="dark"] button.v4-analytics-metric:hover{border-color:#173b62;background:#192b3e}
html[data-theme="dark"] .v4-analytics-metric > span:first-child{color:#9d9da3}
html[data-theme="dark"] .v4-analytics-metric > strong{color:#ffffff}
html[data-theme="dark"] .v4-analytics-metric > small{color:#8e8e93}
html[data-theme="dark"] .v4-analytics-delta{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-analytics-delta.is-good{background:#2c2c2e;color:#4fd871}
html[data-theme="dark"] .v4-analytics-delta.is-bad{background:#452323;color:#ff6158}
html[data-theme="dark"] .v4-analytics-delta.is-muted{background:rgba(0,0,0,0.375);color:#8e8e93}
html[data-theme="dark"] .v4-analytics-metric .v4-analytics-delta.is-muted{background:#2c2c2e;color:#8e8e93}
html[data-theme="dark"] .v4-analytics-chart-card{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .v4-analytics-chart-card > header > div:first-child span{color:#8e8e93}
html[data-theme="dark"] .v4-analytics-chart-card h2{color:#ffffff}
html[data-theme="dark"] .v4-analytics-legend span{color:#9d9da3}
html[data-theme="dark"] .v4-analytics-legend i{background:#0a84ff}
html[data-theme="dark"] .v4-analytics-legend i.is-expense{background:#ff9f0a}
html[data-theme="dark"] .v4-analytics-legend i.is-ebitda{background:#22522f}
html[data-theme="dark"] .v4-analytics-chart{border-top:1px solid #38383a}
html[data-theme="dark"] .v4-analytics-chart-bars i{background:#0a84ff}
html[data-theme="dark"] .v4-analytics-chart-bars i.is-expense{background:#ff9f0a}
html[data-theme="dark"] .v4-analytics-chart-bars i.is-ebitda{background:#22522f}
html[data-theme="dark"] .v4-analytics-chart-bars i.is-ebitda.is-negative{background:#ff453a}
html[data-theme="dark"] .v4-analytics-chart-point > small{color:#8e8e93}
html[data-theme="dark"] .v4-analytics-chart-tip{border:1px solid #38383a;background:rgba(28,28,30,.98);color:#9d9da3}
html[data-theme="dark"] .v4-analytics-chart-tip strong{color:#ffffff}
html[data-theme="dark"] .v4-analytics-chart-tip b{color:#ffffff}
html[data-theme="dark"] .v4-analytics-chart-point:focus-visible .v4-analytics-chart-bars{outline:3px solid rgba(10,132,255,0.108)}
html[data-theme="dark"] .v4-analytics-chart-empty{color:#8e8e93}
html[data-theme="dark"] .v4-analytics-salary{border:1px solid #38383a;background:radial-gradient(circle at 86% -110%, rgba(48,209,88,0.096), transparent 45%), #1c1c1e}
html[data-theme="dark"] .v4-analytics-salary > div:first-child span{color:#9d9da3}
html[data-theme="dark"] .v4-analytics-salary h2{color:#ffffff}
html[data-theme="dark"] .v4-analytics-salary p{color:#9d9da3}
html[data-theme="dark"] .v4-analytics-salary > div:last-child > span{border:1px solid #38383a;background:rgba(28,28,30,.78)}
html[data-theme="dark"] .v4-analytics-salary > div:last-child small{color:#9d9da3}
html[data-theme="dark"] .v4-analytics-salary > div:last-child strong{color:#ffffff}
html[data-theme="dark"] .v4-analytics-salary > div:last-child span.is-due{border-color:#604318;background:#453e1a}
html[data-theme="dark"] .v4-analytics-salary > div:last-child span.is-due strong{color:#ffad2f}
html[data-theme="dark"] .v4-analytics-salary > div:last-child span.is-settled strong{color:#4fd871}
html[data-theme="dark"] .v4-analytics-salary button{background:#192f47;color:#ffffff}
html[data-theme="dark"] .v4-analytics-breakdown{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .v4-analytics-breakdown.is-open{border-color:#173b62}
html[data-theme="dark"] .v4-analytics-breakdown-head{background:#1c1c1e;color:#ffffff}
html[data-theme="dark"] .v4-analytics-breakdown-head:hover{background:#1c1c1e}
html[data-theme="dark"] .v4-analytics-breakdown-head > span:first-child small{color:#8e8e93}
html[data-theme="dark"] .v4-analytics-breakdown-head > span:first-child strong{color:#ffffff}
html[data-theme="dark"] .v4-analytics-breakdown-head > span:nth-child(2) b{color:#ffffff}
html[data-theme="dark"] .v4-analytics-breakdown-head > span:nth-child(2) small{color:#8e8e93}
html[data-theme="dark"] .v4-analytics-breakdown-head > i{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-analytics-breakdown-body{border-top:1px solid #38383a}
html[data-theme="dark"] .v4-analytics-breakdown-row{border-bottom:1px solid #38383a}
html[data-theme="dark"] .v4-analytics-breakdown-row > div:first-child strong{color:#ffffff}
html[data-theme="dark"] .v4-analytics-breakdown-row > div:first-child small{color:#8e8e93}
html[data-theme="dark"] .v4-analytics-breakdown-row > span small{color:#8e8e93}
html[data-theme="dark"] .v4-analytics-breakdown-row > span b,html[data-theme="dark"] .v4-analytics-breakdown-row > b{color:#ffffff}
html[data-theme="dark"] .v4-analytics-breakdown-row .is-positive b{color:#4fd871}
html[data-theme="dark"] .v4-analytics-breakdown-row .is-negative b{color:#ff6158}
html[data-theme="dark"] .v4-analytics-breakdown-row > button,html[data-theme="dark"] .v4-analytics-row-actions button{background:#192f47;color:#ffffff}
html[data-theme="dark"] .v4-analytics-row-actions button:last-child{background:#45341a;color:#ff6158}
html[data-theme="dark"] .v4-analytics-show-all{border:1px solid #38383a;background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-analytics-breakdown-empty{color:#8e8e93}
html[data-theme="dark"] .v4-analytics-state{border:1px solid #38383a;background:#1c1c1e;color:#9d9da3}
html[data-theme="dark"] .v4-analytics-state > i{background:#192f47;color:#2f96ff}
html[data-theme="dark"] .v4-analytics-state strong{color:#ffffff}
html[data-theme="dark"] .v4-analytics-state button{background:#192f47;color:#ffffff}
html[data-theme="dark"] .v4-analytics-state.is-error{border-color:#602826;background:#3c2222}
html[data-theme="dark"] .v4-analytics-filter-values > header small{color:#9d9da3}
html[data-theme="dark"] .v4-analytics-origin{border:1px solid #173b62;background:#192f47}
html[data-theme="dark"] .v4-analytics-origin > button{border:1px solid #173b62;background:#1c1c1e;color:#ffffff}
html[data-theme="dark"] .v4-analytics-origin strong{color:#ffffff}
html[data-theme="dark"] .v4-analytics-origin span{color:#9d9da3}
@media (max-width: 700px){
html[data-theme="dark"] .v4-analytics-breakdown-row > span{background:#2c2c2e}
}
html[data-theme="dark"] body[data-crm-role="guest"]{background:#2c2c2e}
html[data-theme="dark"] .studby-boot-page{background:radial-gradient(circle at 14% 12%, rgba(10,132,255,0.108), transparent 30rem),
    radial-gradient(circle at 88% 88%, rgba(48,209,88,0.102), transparent 28rem),
    linear-gradient(145deg, #1c1c1e 0%, #2c2c2e 55%, #2c2c2e 100%);color:#ffffff}
html[data-theme="dark"] .studby-boot-page::before{background-image:radial-gradient(rgba(10,132,255,0.132) .8px, transparent .8px)}
html[data-theme="dark"] .studby-boot-orb.is-one{border:33px solid rgba(10,132,255,0.045)}
html[data-theme="dark"] .studby-boot-orb.is-two{background:rgba(48,209,88,0.066)}
html[data-theme="dark"] .studby-boot-card{border:1px solid rgba(56,56,58,.95);background:rgba(28,28,30,.95);box-shadow:0 30px 90px rgba(10,132,255,0.096), 0 2px 5px rgba(10,132,255,0.03)}
html[data-theme="dark"] .studby-boot-card > header{border-bottom:1px solid #173b62}
html[data-theme="dark"] .studby-boot-logo{border:1px solid #38383a;background:linear-gradient(145deg, #45341a, #392744);box-shadow:0 10px 26px rgba(191,90,242,0.072)}
html[data-theme="dark"] .studby-boot-card > header > div > span{color:#ffffff}
html[data-theme="dark"] .studby-boot-card h1{color:#ffffff}
html[data-theme="dark"] .studby-boot-body p{color:#9d9da3}
html[data-theme="dark"] .studby-boot-progress{background:#2c2c2e}
html[data-theme="dark"] .studby-boot-progress i{background:linear-gradient(90deg, #3d2949 0%, #ff453a 46%, #0a84ff 100%)}
html[data-theme="dark"] .studby-boot-retry{background:#0a84ff;color:#ffffff}
html[data-theme="dark"] .studby-boot-retry:hover,html[data-theme="dark"] .studby-boot-retry:focus-visible{background:#0a84ff;box-shadow:0 0 0 4px rgba(10,132,255,0.09)}
html[data-theme="dark"] .studby-boot-page.is-error .studby-boot-card{border-color:#602826}
html[data-theme="dark"] .studby-boot-page.is-error .studby-boot-card > header{border-bottom-color:#602826}
html[data-theme="dark"] .studby-boot-page.is-error .studby-boot-body p{color:#ff6158}
html[data-theme="dark"] .login-bento-page{background:radial-gradient(circle at 14% 12%, rgba(10,132,255,0.108), transparent 30rem),
    radial-gradient(circle at 88% 88%, rgba(48,209,88,0.102), transparent 28rem),
    linear-gradient(145deg, #1c1c1e 0%, #2c2c2e 55%, #2c2c2e 100%);color:#ffffff}
html[data-theme="dark"] .login-bento-page::before{background-image:radial-gradient(rgba(10,132,255,0.132) .8px, transparent .8px)}
html[data-theme="dark"] .login-bento-orb.is-one{border:35px solid rgba(10,132,255,0.048)}
html[data-theme="dark"] .login-bento-orb.is-two{background:rgba(48,209,88,0.06)}
html[data-theme="dark"] .login-bento-card{border:1px solid rgba(56,56,58,.95);background:rgba(28,28,30,.94);box-shadow:0 30px 90px rgba(10,132,255,0.096), 0 2px 5px rgba(10,132,255,0.03)}
html[data-theme="dark"] .login-bento-head{border-bottom:1px solid #173b62}
html[data-theme="dark"] .login-bento-logo{background:linear-gradient(145deg, #0a84ff, #0a84ff);box-shadow:0 13px 27px rgba(10,132,255,0.15);color:#ffffff}
html[data-theme="dark"] .login-bento-logo i{border:7px solid rgba(0,0,0,0.5)}
html[data-theme="dark"] .login-bento-head > div > span{color:#2f96ff}
html[data-theme="dark"] .login-bento-head p{color:#9d9da3}
html[data-theme="dark"] .login-bento-field,html[data-theme="dark"] .login-account-field{color:#9d9da3}
html[data-theme="dark"] .login-bento-field > input,html[data-theme="dark"] .login-password-control,html[data-theme="dark"] .login-account-trigger{border:1px solid #38383a;background:#2c2c2e;color:#ffffff}
html[data-theme="dark"] .login-password-control button{border-left:1px solid #38383a;color:#8e8e93}
html[data-theme="dark"] .login-password-control button:hover,html[data-theme="dark"] .login-password-control button.is-visible{color:#ffffff;background:#192f47}
html[data-theme="dark"] .login-bento-field > input:focus,html[data-theme="dark"] .login-password-control:focus-within,html[data-theme="dark"] .login-account-trigger:focus-visible{outline:3px solid rgba(10,132,255,0.108);border-color:#173b62;background:#1c1c1e}
html[data-theme="dark"] .login-account-trigger.is-open{border-color:#173b62;background:#1c1c1e}
html[data-theme="dark"] .login-account-avatar{background:#192f47;color:#ffffff}
html[data-theme="dark"] .login-account-trigger strong,html[data-theme="dark"] .login-account-option strong{color:#ffffff}
html[data-theme="dark"] .login-account-trigger small,html[data-theme="dark"] .login-account-option small{color:#8e8e93}
html[data-theme="dark"] .login-account-trigger > i{color:#8e8e93}
html[data-theme="dark"] .login-account-placeholder{color:#8e8e93}
html[data-theme="dark"] .login-account-list{border:1px solid #38383a;background:#1c1c1e;box-shadow:0 22px 55px rgba(10,132,255,0.12)}
html[data-theme="dark"] .login-account-option:hover,html[data-theme="dark"] .login-account-option:focus-visible{background:#192f47}
html[data-theme="dark"] .login-account-option.is-selected{background:#192f47}
html[data-theme="dark"] .login-account-option > i{color:#ffffff}
html[data-theme="dark"] .login-account-fallback{color:#8e8e93}
html[data-theme="dark"] .login-bento-error{border:1px solid #602826;background:#452323;color:#ff6158}
html[data-theme="dark"] .login-bento-error > span{background:#452323}
html[data-theme="dark"] .login-bento-submit{background:linear-gradient(135deg, #0a84ff, #0a84ff);box-shadow:0 12px 24px rgba(10,132,255,0.138);color:#ffffff}
html[data-theme="dark"] .login-bento-card > footer{border-top:1px solid #38383a;color:#8e8e93}
html[data-theme="dark"] .toast-stack .toast{border:1px solid #38383a;background:rgba(28,28,30,.97);box-shadow:0 18px 48px rgba(10,132,255,0.108);color:#ffffff}
html[data-theme="dark"] .toast-stack .toast-icon{background:#2c2c2e;color:#4fd871}
html[data-theme="dark"] .toast-stack .toast > button{color:#8e8e93}
html[data-theme="dark"] .toast-stack .toast > button:hover{background:#2c2c2e;color:#ffffff}
html[data-theme="dark"] .toast-stack .toast.is-error{border-color:#602826}
html[data-theme="dark"] .toast-stack .toast.is-error .toast-icon{background:#452323;color:#ff6158}
html[data-theme="dark"] .toast-stack .toast.is-warning{border-color:#605418}
html[data-theme="dark"] .toast-stack .toast.is-warning .toast-icon{background:#453e1a;color:#ffad2f}
html[data-theme="dark"] .toast-stack .toast.is-info{border-color:#173b62}
html[data-theme="dark"] .toast-stack .toast.is-info .toast-icon{background:#192f47;color:#ffffff}
html[data-theme="dark"] .v4-orbit-ring{background:conic-gradient(#30d158 0 var(--v4-sergey-share), #bf5af2 var(--v4-sergey-share) var(--v4-polina-end, var(--v4-sergey-share)), #0a84ff var(--v4-polina-end, var(--v4-sergey-share)) 100%)}
html[data-theme="dark"] .v4-orbit-visual.is-negative .v4-orbit-ring{background:conic-gradient(#30d158 0 var(--v4-sergey-share), #bf5af2 var(--v4-sergey-share) var(--v4-polina-end, var(--v4-sergey-share)), #0a84ff var(--v4-polina-end, var(--v4-sergey-share)) 100%)}
html[data-theme="dark"] .v4-orbit-visual.is-empty .v4-orbit-ring,html[data-theme="dark"] .v4-orbit-visual.is-private .v4-orbit-ring{background:rgba(0,0,0,0.25)}
html[data-theme="dark"] .v4-orbit-chip.is-negative b{color:#ff6158}
html[data-theme="dark"] .v4-orbit-caption{color:#9d9da3}
html[data-theme="dark"] .v4-audit-page{color:#ffffff}
html[data-theme="dark"] .v4-audit-intro p{color:#9d9da3}
html[data-theme="dark"] .v4-audit-intro > span{color:#8e8e93}
html[data-theme="dark"] .v4-audit-intro > span strong{color:#ffffff}
html[data-theme="dark"] .v4-audit-focus{border:1px solid #38383a;background:#1c1c1e;box-shadow:0 9px 25px rgba(10,132,255,0.033)}
html[data-theme="dark"] .v4-audit-focus button{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-audit-focus button b{background:rgba(0,0,0,0.3)}
html[data-theme="dark"] .v4-audit-focus button.is-active{border-color:#173b62;background:#192f47;color:#ffffff}
html[data-theme="dark"] .v4-audit-day{border:1px solid #38383a;background:#1c1c1e;box-shadow:0 12px 34px rgba(10,132,255,0.036)}
html[data-theme="dark"] .v4-audit-day > header{border-bottom:1px solid #38383a;background:#2c2c2e}
html[data-theme="dark"] .v4-audit-day > header span{background:#192f47;color:#ffffff}
html[data-theme="dark"] .v4-audit-row{border-bottom:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .v4-audit-row.is-clickable:hover{background:#192b3e}
html[data-theme="dark"] .v4-audit-row > time{color:#8e8e93}
html[data-theme="dark"] .v4-audit-author i{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-audit-type{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .v4-audit-type.is-create{background:#2c2c2e;color:#4fd871}
html[data-theme="dark"] .v4-audit-type.is-update,html[data-theme="dark"] .v4-audit-type.is-replace,html[data-theme="dark"] .v4-audit-type.is-rollback{background:#45341a;color:#ffad2f}
html[data-theme="dark"] .v4-audit-type.is-delete{background:#452323;color:#ff6158}
html[data-theme="dark"] .v4-audit-object{color:#ffffff}
html[data-theme="dark"] .v4-audit-row:not(.is-clickable) .v4-audit-object{color:#8e8e93}
html[data-theme="dark"] .v4-audit-more button{border:1px solid #173b62;background:#192f47;color:#ffffff}
html[data-theme="dark"] .v4-audit-empty{border:1px dashed #38383a;background:#1c1c1e;color:#8e8e93}
html[data-theme="dark"] .v4-audit-empty i{background:#2c2c2e;color:#4fd871}
html[data-theme="dark"] .v4-audit-empty strong{color:#ffffff}
html[data-theme="dark"] body[data-crm-role="employee"]{background:#2c2c2e}
html[data-theme="dark"] .employee-bento-shell{--employee-accent:#2f96ff;--employee-accent-dark:#ffffff;--employee-accent-soft:#192f47;--employee-ink:#ffffff;--employee-muted:#9d9da3;--employee-line:#38383a;background:radial-gradient(circle at 8% 0%, rgba(10,132,255,0.072), transparent 31rem), radial-gradient(circle at 94% 25%, rgba(48,209,88,0.06), transparent 28rem), #2c2c2e}
html[data-theme="dark"] .employee-bento-header{border:1px solid rgba(56,56,58,.95);background:rgba(28,28,30,.92)}
html[data-theme="dark"] .employee-bento-header .employee-brand-mark{background:linear-gradient(145deg, #0a84ff, #0a84ff);box-shadow:0 10px 22px rgba(10,132,255,0.132);color:#ffffff}
html[data-theme="dark"] .employee-bento-header .employee-brand strong,html[data-theme="dark"] .employee-bento-header .employee-user strong{color:#ffffff}
html[data-theme="dark"] .employee-bento-header .employee-brand small,html[data-theme="dark"] .employee-bento-header .employee-user small{color:#8e8e93}
html[data-theme="dark"] .employee-bento-header .employee-nav{border-color:#38383a;background:#2c2c2e}
html[data-theme="dark"] .employee-bento-header .employee-nav-button{color:#9d9da3}
html[data-theme="dark"] .employee-bento-header .employee-nav-button:hover,html[data-theme="dark"] .employee-bento-header .employee-nav-button.is-active{background:#1c1c1e;color:#ffffff;box-shadow:0 5px 15px rgba(10,132,255,0.066)}
html[data-theme="dark"] .employee-bento-header .employee-nav-button b{background:#192f47;color:#ffffff}
html[data-theme="dark"] .employee-bento-header .employee-user .button{border-color:#38383a;background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .employee-bento-shell .employee-eyebrow{color:#ffffff}
html[data-theme="dark"] .employee-bento-shell .employee-page-head h1{color:#ffffff}
html[data-theme="dark"] .employee-bento-shell .employee-page-head p{color:#9d9da3}
html[data-theme="dark"] .employee-bento-shell .employee-dashboard .employee-page-head{border:1px solid #173b62;background:linear-gradient(135deg, #1c1c1e 0%, #192f47 67%, #203d28 100%)}
html[data-theme="dark"] .employee-bento-shell .employee-dashboard .employee-page-head h1{color:#ffffff}
html[data-theme="dark"] .employee-bento-shell .employee-dashboard .employee-page-head p{color:#9d9da3}
html[data-theme="dark"] .employee-bento-shell .employee-dashboard .employee-eyebrow{color:#ffffff}
html[data-theme="dark"] .employee-bento-shell .employee-dashboard .employee-segmented{border-color:#173b62;background:rgba(28,28,30,.82)}
html[data-theme="dark"] .employee-bento-shell .employee-dashboard .employee-segmented button{color:#9d9da3}
html[data-theme="dark"] .employee-bento-shell .employee-dashboard .employee-segmented button:hover,html[data-theme="dark"] .employee-bento-shell .employee-dashboard .employee-segmented button.is-active{background:#192f47;color:#ffffff}
html[data-theme="dark"] .employee-bento-shell .employee-payroll-card{border:1px solid #173b62;background:#1c1c1e}
html[data-theme="dark"] .employee-bento-shell .employee-payroll-hero{background:linear-gradient(135deg, #0a84ff, #0a84ff 68%, #0a84ff)}
html[data-theme="dark"] .employee-bento-shell .employee-payroll-hero span,html[data-theme="dark"] .employee-bento-shell .employee-payroll-hero small{color:rgba(255,255,255,.78)}
html[data-theme="dark"] .employee-bento-shell .employee-payroll-hero strong{color:#ffffff}
html[data-theme="dark"] .employee-bento-shell .employee-payroll-status{border-color:rgba(0,0,0,0.5);background:rgba(0,0,0,0.35)}
html[data-theme="dark"] .employee-bento-shell .employee-payroll-facts > div,html[data-theme="dark"] .employee-bento-shell .employee-payroll-progress{border-color:#38383a;background:#2c2c2e}
html[data-theme="dark"] .employee-bento-shell .employee-payroll-progress > span i{background:linear-gradient(90deg, #0a84ff, #30d158)}
html[data-theme="dark"] .employee-bento-shell .employee-kpi{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .employee-bento-shell .employee-kpi:is(.is-violet,.is-blue,.is-green,.is-amber,.is-red,.is-slate) > span,html[data-theme="dark"] .employee-bento-shell .employee-kpi:is(.is-violet,.is-blue,.is-green,.is-amber,.is-red,.is-slate) > small{color:#9d9da3}
html[data-theme="dark"] .employee-bento-shell .employee-kpi strong{color:#ffffff}
html[data-theme="dark"] .employee-bento-shell .employee-kpi.is-blue,html[data-theme="dark"] .employee-bento-shell .employee-kpi.is-violet{background:linear-gradient(145deg, #1c1c1e, #192f47)}
html[data-theme="dark"] .employee-bento-shell .employee-panel{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .employee-bento-shell .employee-status-track i,html[data-theme="dark"] .employee-bento-shell .employee-month-bar i{background:linear-gradient(180deg, #0a84ff, #0a84ff)}
html[data-theme="dark"] .employee-bento-shell .employee-orders-head{border:1px solid #173b62;background:#1c1c1e}
html[data-theme="dark"] .employee-bento-shell .employee-search{border-color:#38383a;background:#2c2c2e}
html[data-theme="dark"] .employee-bento-shell .employee-order-toolbar{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .employee-bento-shell .employee-filter-chips button.is-active{border-color:#173b62;background:#192f47;color:#ffffff}
html[data-theme="dark"] .employee-bento-shell .employee-order-card{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .employee-bento-shell .employee-order-card.is-overdue{border-color:#602826}
html[data-theme="dark"] .employee-bento-shell .employee-order-card .button.primary{border-color:#173b62;background:#0a84ff;color:#ffffff}
html[data-theme="dark"] .employee-funnel-head{border:1px solid #173b62;background:linear-gradient(135deg, #1c1c1e, #192f47)}
html[data-theme="dark"] .employee-funnel-tools label{border:1px solid #38383a;background:#1c1c1e;color:#8e8e93}
html[data-theme="dark"] .employee-funnel-tools input{color:#ffffff}
html[data-theme="dark"] .employee-funnel-tools > button{border:1px solid #173b62;background:#192f47;color:#ffffff}
html[data-theme="dark"] .employee-funnel-column{border:1px solid #38383a;background:rgba(28,28,30,.72)}
html[data-theme="dark"] .employee-funnel-column > header{border-bottom:1px solid #38383a}
html[data-theme="dark"] .employee-funnel-column > header span{color:#ffffff}
html[data-theme="dark"] .employee-funnel-column > header span i{background:#303032}
html[data-theme="dark"] .employee-funnel-column.status-work > header span i{background:#0a84ff}
html[data-theme="dark"] .employee-funnel-column.status-revision > header span i{background:#ff9f0a}
html[data-theme="dark"] .employee-funnel-column.status-ready > header span i{background:#22522f}
html[data-theme="dark"] .employee-funnel-column > header b{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .employee-funnel-card{border:1px solid #38383a;border-left:4px solid #48484a;background:#1c1c1e}
html[data-theme="dark"] .status-work .employee-funnel-card{border-left-color:#173b62}
html[data-theme="dark"] .status-revision .employee-funnel-card{border-left-color:#604318}
html[data-theme="dark"] .status-ready .employee-funnel-card{border-left-color:#22522f}
html[data-theme="dark"] .employee-funnel-card.is-overdue{border-color:#602826;border-left-color:#602826}
html[data-theme="dark"] .employee-funnel-card > header > button{color:#ffffff}
html[data-theme="dark"] .employee-funnel-card > header > button span,html[data-theme="dark"] .employee-funnel-card > header > span{color:#9d9da3}
html[data-theme="dark"] .employee-funnel-card > header > span.is-red{color:#ff6158}
html[data-theme="dark"] .employee-funnel-task{background:#2c2c2e;color:#ffffff}
html[data-theme="dark"] .employee-funnel-facts span{background:#2c2c2e}
html[data-theme="dark"] .employee-funnel-facts small{color:#8e8e93}
html[data-theme="dark"] .employee-funnel-facts strong{color:#ffffff}
html[data-theme="dark"] .employee-funnel-facts .is-due{background:#453e1a}
html[data-theme="dark"] .employee-funnel-facts .is-due strong{color:#ffad2f}
html[data-theme="dark"] .employee-funnel-facts .is-paid{background:#2c2c2e}
html[data-theme="dark"] .employee-funnel-facts .is-paid strong{color:#4fd871}
html[data-theme="dark"] .employee-funnel-thread{background:#192f47;color:#ffffff}
html[data-theme="dark"] .employee-funnel-thread.is-unread{background:#0a84ff;color:#ffffff}
html[data-theme="dark"] .employee-funnel-card .funnel-move-actions button{border:1px solid #38383a;background:#1c1c1e;color:#9d9da3}
html[data-theme="dark"] .employee-funnel-column .funnel-empty{border:1px dashed #38383a;background:rgba(44,44,46,.8);color:#8e8e93}
html[data-theme="dark"] .employee-funnel-archive{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] dialog.dialog.employee-bento-order-dialog,html[data-theme="dark"] dialog.dialog.employee-bento-thread-dialog{border:1px solid #173b62;background:#2c2c2e}
html[data-theme="dark"] .employee-bento-order-dialog .employee-order-editor-head,html[data-theme="dark"] .employee-bento-thread-dialog .thread-head{border-bottom:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .employee-bento-order-dialog .employee-order-editor-head > div > span,html[data-theme="dark"] .employee-bento-thread-dialog .thread-head > div > span{color:#ffffff}
html[data-theme="dark"] .employee-bento-order-dialog .employee-order-editor-head h2,html[data-theme="dark"] .employee-bento-thread-dialog .thread-head h2{color:#ffffff}
html[data-theme="dark"] .employee-bento-order-dialog .employee-order-editor-head p,html[data-theme="dark"] .employee-bento-thread-dialog .thread-head p{color:#9d9da3}
html[data-theme="dark"] .employee-bento-order-dialog .employee-order-editor-head .icon-button,html[data-theme="dark"] .employee-bento-thread-dialog .thread-head .icon-button{border:1px solid #38383a;background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .employee-order-form-error{border:1px solid #602826;background:#452323;color:#ff6158}
html[data-theme="dark"] .employee-bento-order-dialog .employee-editor-money > div,html[data-theme="dark"] .employee-bento-order-dialog .employee-editor-context{border-color:#38383a;background:#1c1c1e}
html[data-theme="dark"] .employee-bento-order-dialog .employee-order-editor-foot{border-top:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .employee-bento-order-dialog .employee-order-editor-foot .button.primary,html[data-theme="dark"] .employee-bento-thread-dialog .thread-composer .button.primary{border-color:#173b62;background:#0a84ff;color:#ffffff}
html[data-theme="dark"] .employee-bento-thread-dialog .thread-retention{border-color:#38383a;background:#192f47}
html[data-theme="dark"] .employee-bento-thread-dialog .thread-timeline{background:#2c2c2e}
html[data-theme="dark"] .employee-bento-thread-dialog .thread-composer{border-top-color:#38383a;background:#1c1c1e}
@media (max-width: 700px){
html[data-theme="dark"] .employee-bento-shell .employee-mobile-nav{border-color:#173b62;background:rgba(28,28,30,.94)}
html[data-theme="dark"] .employee-bento-shell .employee-mobile-nav button{color:#9d9da3}
html[data-theme="dark"] .employee-bento-shell .employee-mobile-nav button.is-active{color:#ffffff}
}
html[data-theme="dark"] .v4-brand-tile > strong{color:#ffffff}
html[data-theme="dark"] .login-bento-logo,html[data-theme="dark"] .employee-bento-header .employee-brand-mark{border:1px solid #38383a;background:linear-gradient(145deg, #45341a, #392744);box-shadow:0 10px 26px rgba(191,90,242,0.072)}
html[data-theme="dark"] .login-account-fallback{color:#9d9da3}
html[data-theme="dark"] .login-account-fallback button{border:1px solid #173b62;background:#192f47;color:#ffffff}
html[data-theme="dark"] .notification-spinner{border:2px solid #173b62;border-top-color:#173b62}
html[data-theme="dark"] .notification-bell{border:1px solid #173b62;background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .notification-bell:hover,html[data-theme="dark"] .notification-bell:focus-visible{border-color:#173b62;background:#192f47;color:#ffffff;box-shadow:0 0 0 4px rgba(10,132,255,0.072)}
html[data-theme="dark"] .notification-bell.has-unread{border-color:#173b62;background:#192f47;color:#ffffff}
html[data-theme="dark"] .notification-bell > b{border:2px solid #38383a;background:#0a84ff;color:#ffffff}
html[data-theme="dark"] .notification-panel{border:1px solid #173b62;background:#2c2c2e;color:#ffffff}
html[data-theme="dark"] .notification-panel-head{border-bottom:1px solid #173b62;background:rgba(28,28,30,.94)}
html[data-theme="dark"] .notification-panel-head > div:first-child > span{color:#ffffff}
html[data-theme="dark"] .notification-panel-head h2 b{background:#192f47;color:#ffffff}
html[data-theme="dark"] .notification-panel-head button{border:1px solid #173b62;background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .notification-card{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .notification-card:hover{border-color:#173b62;background:#192b3e}
html[data-theme="dark"] .notification-card.is-unread{border-color:#173b62;box-shadow:inset 4px 0 0 #0a84ff}
html[data-theme="dark"] .notification-card-icon{background:#192f47;color:#ffffff}
html[data-theme="dark"] .notification-card.is-file .notification-card-icon{background:#2c2c2e;color:#4fd871}
html[data-theme="dark"] .notification-card.is-status .notification-card-icon{background:#192f47;color:#ffffff}
html[data-theme="dark"] .notification-card-top strong{color:#ffffff}
html[data-theme="dark"] .notification-card-top time{color:#8e8e93}
html[data-theme="dark"] .notification-card-content{color:#ffffff}
html[data-theme="dark"] .notification-card-context{color:#8e8e93}
html[data-theme="dark"] .notification-empty{color:#8e8e93}
html[data-theme="dark"] .notification-empty > span:not(.notification-spinner){background:#2c2c2e;color:#4fd871}
html[data-theme="dark"] .notification-empty strong{color:#ffffff}
html[data-theme="dark"] .notification-empty.is-error strong{color:#ff6158}
html[data-theme="dark"] .notification-empty button,html[data-theme="dark"] .notification-panel > footer button{border:1px solid #173b62;background:#192f47;color:#ffffff}
html[data-theme="dark"] .notification-panel > footer{border-top:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .employee-bento-shell .employee-payroll-progress{border:1px solid #38383a}
html[data-theme="dark"] .funnel-card-thread button.is-unread,html[data-theme="dark"] .button.is-unread,html[data-theme="dark"] .v4-funnel-chat.is-unread,html[data-theme="dark"] .v4-funnel-archive-card > footer button.is-unread,html[data-theme="dark"] .employee-funnel-thread.is-unread{border-color:#173b62;background:#192f47;color:#ffffff}
html[data-theme="dark"] .thread-delete,html[data-theme="dark"] .v4-order-thread-tile .thread-delete{color:#8e8e93}
html[data-theme="dark"] .thread-delete:hover,html[data-theme="dark"] .thread-delete:focus-visible{background:#452323;color:#ff6158}
html[data-theme="dark"] .thread-upload-progress{background:#2c2c2e}
html[data-theme="dark"] .thread-upload-progress > div,html[data-theme="dark"] .v4-order-thread-tile .thread-upload-progress > div{border:1px solid #173b62;background:#1c1c1e;color:#9d9da3}
html[data-theme="dark"] .thread-upload-progress > div::before{background:#192f47}
html[data-theme="dark"] .thread-upload-progress > div.is-waiting::before{background:#2c2c2e}
html[data-theme="dark"] .thread-upload-progress > div.is-done{border-color:#22522f;color:#4fd871;background:#2c2c2e}
html[data-theme="dark"] .thread-upload-progress > div.is-done::before{background:#2c2c2e}
html[data-theme="dark"] .thread-upload-progress > div.is-error{border-color:#602826;color:#ff6158;background:#452323}
html[data-theme="dark"] .thread-upload-progress > div.is-error::before{background:#452323}
html[data-theme="dark"] .avito-city-field{color:#ffffff}
html[data-theme="dark"] .avito-city-field .avito-city-status,html[data-theme="dark"] .avito-city-field>small,html[data-theme="dark"] .avito-city-field>span{color:#9d9da3}
html[data-theme="dark"] .avito-city-field>strong{color:#ffffff}
html[data-theme="dark"] .avito-contact-date{color:#9d9da3}
html[data-theme="dark"] .avito-contact-date summary{color:#ffffff}
html[data-theme="dark"] .avito-contact-date input{border:1px solid #38383a;background:#2c2c2e;color:#ffffff}
html[data-theme="dark"] .avito-contact-date small{color:#9d9da3}
html[data-theme="dark"] .avito-city-clear{color:#9d9da3}
html[data-theme="dark"] .avito-city-field :is(input,select):focus-visible{border-color:#173b62;box-shadow:0 0 0 4px rgba(10,132,255,0.06)}
html[data-theme="dark"] .avito-city-field :is(summary,button):focus-visible{outline:3px solid #173b62}
html[data-theme="dark"] .avito-city-retry{border:1px solid #38383a;background:#2c2c2e;color:#ffffff}
html[data-theme="dark"] .v4-transaction-section>.avito-city-field{border-top:1px solid #38383a}
html[data-theme="dark"] .v4-transaction-section .avito-city-field .v4-editor-field>span{color:#9d9da3}
html[data-theme="dark"] .v4-transaction-section .avito-city-field select{border-color:#38383a;background-color:#2c2c2e;color:#ffffff}

/* work-tasks.css */
html[data-theme="dark"] .work-tasks-page{color:#ffffff}
html[data-theme="dark"] .work-tasks-page :is(button,input,select,textarea):focus-visible{box-shadow:0 0 0 4px rgba(10,132,255,0.096)}
html[data-theme="dark"] .work-tasks-head,html[data-theme="dark"] .work-task-detail-head{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .work-tasks-head h1{color:#ffffff}
html[data-theme="dark"] .work-tasks-head p{color:#9d9da3}
html[data-theme="dark"] .work-task-primary{border:1px solid #173b62;background:#0a84ff;color:#ffffff;box-shadow:0 7px 16px rgba(10,132,255,0.096)}
html[data-theme="dark"] .work-task-primary:hover{background:#0a84ff}
html[data-theme="dark"] .work-task-secondary{border:1px solid #173b62;background:#192f47;color:#ffffff}
html[data-theme="dark"] .work-task-secondary:hover{background:#192f47}
html[data-theme="dark"] .work-task-controls{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .work-task-filter,html[data-theme="dark"] .work-task-field{color:#9d9da3}
html[data-theme="dark"] .work-task-filter input,html[data-theme="dark"] .work-task-filter select,html[data-theme="dark"] .work-task-field input,html[data-theme="dark"] .work-task-field select,html[data-theme="dark"] .work-task-field textarea{border:1px solid #38383a;background:#1c1c1e;color:#ffffff}
html[data-theme="dark"] .work-task-filter input:focus,html[data-theme="dark"] .work-task-filter select:focus,html[data-theme="dark"] .work-task-field input:focus,html[data-theme="dark"] .work-task-field select:focus,html[data-theme="dark"] .work-task-field textarea:focus{border-color:#173b62;background:#1c1c1e}
html[data-theme="dark"] .work-task-reset{border:1px solid #38383a;background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .work-task-column{--task-accent:#8e8e93;--task-soft:#2c2c2e;--task-border:#173b62;--task-ink:#9d9da3;background:linear-gradient(180deg,var(--task-soft),#1c1c1e 104px)}
html[data-theme="dark"] .work-task-column.is-work{--task-accent:#2f96ff;--task-soft:#192f47;--task-border:#173b62;--task-ink:#ffffff}
html[data-theme="dark"] .work-task-column.is-done{--task-accent:#4fd871;--task-soft:#2c2c2e;--task-border:#22522f;--task-ink:#4fd871}
html[data-theme="dark"] .work-task-column>header{background:rgba(28,28,30,.58)}
html[data-theme="dark"] .work-task-column>header span{background:#1c1c1e}
html[data-theme="dark"] .work-task-column-empty{background:rgba(28,28,30,.55);color:#8e8e93}
html[data-theme="dark"] .work-task-card{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .work-task-card:hover{border-color:#173b62}
html[data-theme="dark"] .work-task-card[data-due="overdue"]{box-shadow:0 6px 17px rgba(0,0,0,0.112),inset 0 0 0 1px rgba(255,69,58,0.078)}
html[data-theme="dark"] .work-task-priority.is-high{background:#453e1a;color:#ffad2f}
html[data-theme="dark"] .work-task-card-title{color:#ffffff}
html[data-theme="dark"] .work-task-card-title:hover{color:#ffffff}
html[data-theme="dark"] .work-task-card-owner{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .work-task-card-owner small{color:#8e8e93}
html[data-theme="dark"] .work-task-card-owner strong{color:#9d9da3}
html[data-theme="dark"] .work-task-card-due{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .work-task-card-due.is-overdue{background:#452323;color:#ff6158}
html[data-theme="dark"] .work-task-card-due.is-today{background:#453e1a;color:#ffad2f}
html[data-theme="dark"] .work-task-card-due.is-later{background:#192f47;color:#ffffff}
html[data-theme="dark"] .work-task-card-due.is-done{background:#2c2c2e;color:#4fd871}
html[data-theme="dark"] .work-task-card footer{border-top:1px solid #38383a}
html[data-theme="dark"] .work-task-card-progress{color:#8e8e93}
html[data-theme="dark"] .work-task-move button{border:1px solid #38383a;background:#1c1c1e;color:#9d9da3}
html[data-theme="dark"] .work-task-error{background:#452323;color:#ff6158}
html[data-theme="dark"] .work-task-detail-head h1{color:#ffffff}
html[data-theme="dark"] .work-task-back{color:#9d9da3}
html[data-theme="dark"] .work-task-back:hover{color:#ffffff}
html[data-theme="dark"] .work-task-danger{border:1px solid #602826;background:#452323;color:#ff6158}
html[data-theme="dark"] .work-task-panel{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .work-task-panel h2{color:#ffffff}
html[data-theme="dark"] .work-task-subtasks>header span,html[data-theme="dark"] .work-task-comments>header span{border:1px solid #38383a;background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .work-task-subtask-empty,html[data-theme="dark"] .work-task-comment-empty{color:#8e8e93}
html[data-theme="dark"] .work-task-subtask{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .work-task-subtask>label span{color:#ffffff}
html[data-theme="dark"] .work-task-subtask.is-done>label span{color:#8e8e93}
html[data-theme="dark"] .work-task-subtask-actions button{color:#8e8e93}
html[data-theme="dark"] .work-task-subtask-actions button:hover{background:#192f47;color:#ffffff}
html[data-theme="dark"] .work-task-subtasks form{border-top:1px solid #38383a}
html[data-theme="dark"] .work-task-subtask-edit input{border:1px solid #173b62;background:#1c1c1e;color:#ffffff}
html[data-theme="dark"] .work-task-subtask-edit button{border:1px solid #38383a;background:#1c1c1e;color:#9d9da3}
html[data-theme="dark"] .work-task-subtask-edit button[type="submit"]{border-color:#173b62;background:#192f47;color:#ffffff}
html[data-theme="dark"] .work-task-comment{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .work-task-comment>div{color:#9d9da3}
html[data-theme="dark"] .work-task-comment time{color:#8e8e93}
html[data-theme="dark"] .work-task-comment p{color:#ffffff}
html[data-theme="dark"] .work-task-comments form{border-top:1px solid #38383a}
html[data-theme="dark"] .work-task-empty{border:1px dashed #173b62;background:#1c1c1e;color:#8e8e93}

/* avito-inbox.css */
html[data-theme="dark"] .av-workspace{--av-ink:#ffffff;--av-muted:#9d9da3;--av-line:#38383a;--av-blue:#ffffff}
html[data-theme="dark"] .av-workspace button:not(:where(.v4-funnel-page *)),html[data-theme="dark"] .av-workspace .av-icon-button{background:#1c1c1e}
html[data-theme="dark"] .av-workspace button:not(:where(.v4-funnel-page *)):hover,html[data-theme="dark"] .av-workspace .av-icon-button:hover{background:#192f47;border-color:#173b62}
html[data-theme="dark"] .av-workspace :is(button,input,textarea,a,summary):focus-visible{outline:3px solid #173b62}
html[data-theme="dark"] .av-workspace .av-primary{color:#ffffff}
html[data-theme="dark"] .av-workspace .av-primary:hover{background:#0a84ff}
html[data-theme="dark"] .av-workspace .av-icon-button{color:#9d9da3}
html[data-theme="dark"] .av-workspace input,html[data-theme="dark"] .av-workspace textarea{background:#1c1c1e}
html[data-theme="dark"] .av-workspace input::placeholder,html[data-theme="dark"] .av-workspace textarea::placeholder{color:#8e8e93}
html[data-theme="dark"] .av-tabs{background:#2c2c2e}
html[data-theme="dark"] .av-tabs button{color:#9d9da3}
html[data-theme="dark"] .av-tabs button.is-active{color:#ffffff;background:#1c1c1e;border-color:#38383a}
html[data-theme="dark"] .av-tabs span{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .av-status{color:#ffad2f}
html[data-theme="dark"] .av-status.is-ok{color:#4fd871}
html[data-theme="dark"] .av-columns{background:#1c1c1e}
html[data-theme="dark"] .av-list{background:#1c1c1e}
html[data-theme="dark"] .av-list-head{border-bottom:1px solid #38383a}
html[data-theme="dark"] .av-search svg{color:#8e8e93}
html[data-theme="dark"] .av-search input{background:#2c2c2e;border-color:#38383a}
html[data-theme="dark"] .av-filters button{color:#8e8e93}
html[data-theme="dark"] .av-filters button.is-active{background:#192f47;color:#ffffff}
html[data-theme="dark"] .av-card:hover{background:#2c2c2e}
html[data-theme="dark"] .av-card.is-selected{background:#192f47;border-color:#173b62}
html[data-theme="dark"] .av-avatar{background:#2c2c2e;color:#8e8e93}
html[data-theme="dark"] .av-card.is-selected .av-avatar{background:#192f47;color:#ffffff}
html[data-theme="dark"] .av-card-title i{background:#0a84ff}
html[data-theme="dark"] .av-item-title,html[data-theme="dark"] .av-preview{color:#8e8e93}
html[data-theme="dark"] .av-preview{color:#9d9da3}
html[data-theme="dark"] .av-card-time{color:#8e8e93}
html[data-theme="dark"] .av-card-time.is-late{color:#ffad2f}
html[data-theme="dark"] .av-workspace .av-star{color:#8e8e93}
html[data-theme="dark"] .av-workspace .av-star.is-starred{color:#ffdc2f}
html[data-theme="dark"] .av-detail{background:#1c1c1e}
html[data-theme="dark"] .av-chat-menu{background:#1c1c1e}
html[data-theme="dark"] .av-workspace .av-delete-contact{color:#ff6158;background:#3c2222}
html[data-theme="dark"] .av-workspace .av-info-toggle{color:#9d9da3}
html[data-theme="dark"] .av-workspace .av-info-toggle.is-active{background:#192f47;color:#ffffff}
html[data-theme="dark"] .av-messages{background:#2c2c2e}
html[data-theme="dark"] .av-messages:focus-visible{outline:2px solid #173b62}
html[data-theme="dark"] .av-message{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .av-message.is-out{background:#192f47;border-color:#173b62}
html[data-theme="dark"] .av-message time{color:#8e8e93}
html[data-theme="dark"] .av-message.is-out time{color:#ffffff}
html[data-theme="dark"] .av-message-image-frame{background:#2c2c2e}
html[data-theme="dark"] .av-send-error{color:#ff6158}
html[data-theme="dark"] .av-day{color:#8e8e93}
html[data-theme="dark"] .av-day span{background:#2c2c2e}
html[data-theme="dark"] .av-composer{background:#1c1c1e}
html[data-theme="dark"] .av-composer textarea{background:#2c2c2e;border-color:#38383a}
html[data-theme="dark"] .av-composer>small{color:#8e8e93}
html[data-theme="dark"] .av-composer>small span{color:#8e8e93}
html[data-theme="dark"] .av-workspace .av-generate{background:#192f47;color:#ffffff;border:1px solid #173b62}
html[data-theme="dark"] .av-reply-state{color:#9d9da3}
html[data-theme="dark"] .av-workspace .av-reply-link{color:#ffffff}
html[data-theme="dark"] .av-reply-progress{color:#ffffff}
html[data-theme="dark"] .av-reply-candidate{background:#192f46;border:1px solid #173b62;color:#ffffff}
html[data-theme="dark"] .av-detail-empty{background:#1c1c1e}
html[data-theme="dark"] .av-detail-empty .av-empty-symbol{background:#2c2c2e;color:#8e8e93}
html[data-theme="dark"] .av-detail-empty p{color:#8e8e93}
html[data-theme="dark"] .av-empty-symbol{color:#8e8e93}
html[data-theme="dark"] .av-workspace .av-more{color:#8e8e93;border-color:#173b62}
html[data-theme="dark"] .av-contact-panel{background:#1c1c1e}
html[data-theme="dark"] .av-panel-head{border-bottom:1px solid #38383a}
html[data-theme="dark"] .av-workspace .av-contact-state{border:1px solid #173b62;background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .av-workspace .av-contact-state.is-tracked{color:#9d9da3;background:#2c2c2e;border-color:#38383a}
html[data-theme="dark"] .av-workspace .av-done{color:#9d9da3}
html[data-theme="dark"] .av-contact summary{color:#9d9da3}
html[data-theme="dark"] .av-contact summary::before{color:#8e8e93}
html[data-theme="dark"] .av-contact summary span{color:#8e8e93}
html[data-theme="dark"] .av-history{border-left:1px solid #173b62}
html[data-theme="dark"] .av-history li{color:#8e8e93}
html[data-theme="dark"] .av-history li::before{background:#303032}
html[data-theme="dark"] .av-history strong{color:#9d9da3}
html[data-theme="dark"] .av-history time{color:#8e8e93}
html[data-theme="dark"] .av-history-details p{color:#8e8e93}
html[data-theme="dark"] .av-contact-footer{background:#1c1c1e}
html[data-theme="dark"] .av-error{background:#452323;color:#ff6158}
html[data-theme="dark"] .av-warning{background:#45341a;color:#ffdc2f}
html[data-theme="dark"] .av-notice{background:#2c2c2e;color:#4fd871}
html[data-theme="dark"] .av-settings{background:#1c1c1e}
html[data-theme="dark"] .av-workspace .av-price-button{color:#ffffff;border-color:#173b62;background:#192f47}
html[data-theme="dark"] .av-workspace .av-contact-state:hover{background:#2c2c2e;border-color:#173b62}
html[data-theme="dark"] .av-workspace .av-contact-state.is-tracked:hover{background:#2c2c2e;border-color:#38383a}
html[data-theme="dark"] .av-price-panel{background:#1c1c1e;border:1px solid #38383a}
html[data-theme="dark"] .av-price-head{background:#1c1c1e;border-bottom:1px solid #38383a}
html[data-theme="dark"] .av-price-head p{color:#8e8e93}
html[data-theme="dark"] .av-price-summary{color:#9d9da3}
html[data-theme="dark"] .av-price-quote{border:1px solid #173b62;background:#192f47;color:#ffffff}
html[data-theme="dark"] .av-price-quote small{color:#9d9da3}
html[data-theme="dark"] .av-price-facts span{color:#8e8e93}
html[data-theme="dark"] .av-price-section ul{color:#9d9da3}
html[data-theme="dark"] .av-price-sources a{border:1px solid #173b62;color:#ffffff}
html[data-theme="dark"] .av-price-sources a:hover{border-color:#173b62;background:#192b3e}
html[data-theme="dark"] .av-price-sources small{color:#8e8e93}
html[data-theme="dark"] .av-price-foot{border-top:1px solid #38383a;color:#8e8e93}
html[data-theme="dark"] .av-price-empty{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .av-price-loading p{color:#8e8e93}
html[data-theme="dark"] .av-price-spinner{border:3px solid #173b62;border-top-color:#173b62}
html[data-theme="dark"] .av-workspace{--av-blue:var(--v4-blue,#2f96ff);--av-ink:#ffffff;--av-muted:#9d9da3;--av-line:#38383a}
html[data-theme="dark"] .av-workspace .av-order-actions button{background:#2c2c2e;color:#9d9da3;border-color:#38383a}
html[data-theme="dark"] .av-workspace .av-order-actions .av-primary{color:#ffffff}
html[data-theme="dark"] .av-workspace .av-order-actions button:hover:not(:disabled){background:#192f47;border-color:#173b62;color:#ffffff}
html[data-theme="dark"] .av-workspace .av-order-actions .av-primary:hover:not(:disabled){background:#0a84ff;border-color:#173b62;color:#ffffff}
html[data-theme="dark"] .av-workspace .av-contact-state{background:#2c2c2e;color:#9d9da3;border-color:#38383a}
html[data-theme="dark"] .av-workspace .av-contact-state.is-tracked{background:#2c2c2e;color:#4fd871;border-color:#22522f}
html[data-theme="dark"] .av-price-panel{color:#ffffff;border-color:#38383a}
html[data-theme="dark"] .av-workspace .av-price-head h2{color:#ffffff}
html[data-theme="dark"] .av-price-head p,html[data-theme="dark"] .av-price-quote small,html[data-theme="dark"] .av-price-facts span,html[data-theme="dark"] .av-price-sources small,html[data-theme="dark"] .av-price-foot,html[data-theme="dark"] .av-price-loading p{color:#9d9da3}
html[data-theme="dark"] .av-price-head{border-color:#38383a}
html[data-theme="dark"] .av-price-quote{background:#192f47;border-color:#173b62;color:#ffffff}
html[data-theme="dark"] .av-price-facts strong{color:#ffffff}
html[data-theme="dark"] .av-workspace .av-price-section h3{color:#ffffff}
html[data-theme="dark"] .av-price-section ul,html[data-theme="dark"] .av-price-summary{color:#9d9da3}
html[data-theme="dark"] .av-price-sources a{border-color:#38383a;background:#2c2c2e}
html[data-theme="dark"] .av-price-head .av-icon-button{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .av-workflow-empty{color:#9d9da3}
html[data-theme="dark"] .av-workflow .v4-funnel-avito-chat{border:1px solid #173b62;background:#0a84ff;color:#ffffff}
html[data-theme="dark"] .av-workflow .v4-funnel-avito-chat:hover:not(:disabled){background:#0a84ff;border-color:#173b62}
html[data-theme="dark"] .av-workflow .v4-funnel-move-actions button{background:#2c2c2e;color:#9d9da3;border:1px solid #38383a}
html[data-theme="dark"] .av-workflow .v4-funnel-move-actions button:hover:not(:disabled){background:#192f47;border-color:#173b62;color:#ffffff}
html[data-theme="dark"] .av-workflow .v4-funnel-page{color:#ffffff}
html[data-theme="dark"] .av-link-existing select{border:1px solid #38383a;background:#2c2c2e;color:#ffffff}
html[data-theme="dark"] .av-link-existing button{border:1px solid #38383a;background:#1c1c1e;color:#ffffff}
html[data-theme="dark"] .av-link-existing{color:#9d9da3}
html[data-theme="dark"] .av-order-data h2{color:#ffffff}
html[data-theme="dark"] .av-order-data .v4-editor-section-head>span{background:#192f47;color:#ffffff}
html[data-theme="dark"] .av-data-actions .button{border:1px solid #38383a;background:#2c2c2e;color:#ffffff}
html[data-theme="dark"] .av-data-state,html[data-theme="dark"] .av-data-empty{color:#9d9da3}
html[data-theme="dark"] .av-data-error,html[data-theme="dark"] .av-data-issues{color:#ffad2f}
html[data-theme="dark"] .av-data-texts{border-top:1px solid #38383a}
html[data-theme="dark"] .av-data-texts article{border-bottom:1px solid #38383a}
html[data-theme="dark"] .av-data-texts time{color:#9d9da3}
html[data-theme="dark"] .av-data-texts p{color:#ffffff}
html[data-theme="dark"] .av-order-data{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .av-order-data .av-data-files .thread-item{background:#1c1c1e;border:1px solid #38383a}
html[data-theme="dark"] .av-followup{border:1px solid #173b62;background:#192b3e}
html[data-theme="dark"] .av-followup-head span{color:#9d9da3}
html[data-theme="dark"] .av-followup .av-followup-status{color:#9d9da3}
html[data-theme="dark"] .av-followup textarea{background:#1c1c1e}
html[data-theme="dark"] .av-followup small{color:#9d9da3}
html[data-theme="dark"] .av-followup-refresh{color:#ffffff}

/* notifications-ui.css */
html[data-theme="dark"] .notification-tools{background:#1c1c1e;border-bottom:1px solid #173b62}
html[data-theme="dark"] .notification-tools button,html[data-theme="dark"] .notification-list-actions button{border:1px solid #173b62;background:#192f47;color:#ffffff}
html[data-theme="dark"] .notification-tools details{color:#8e8e93}
html[data-theme="dark"] .notification-list-actions button:last-child{color:#ff6158;background:#3c2222}
html[data-theme="dark"] .notification-remove{color:#8e8e93}
html[data-theme="dark"] .notification-remove:hover{background:#452323;color:#ff6158}
html[data-theme="dark"] .notification-inline-error{color:#ff6158}

/* education.css */
html[data-theme="dark"] .edu-field-note{color:#9d9da3}
html[data-theme="dark"] .edu-suggestions{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .edu-suggestions button{background:#1c1c1e;color:#ffffff}
html[data-theme="dark"] .edu-suggestions small{color:#9d9da3}
html[data-theme="dark"] .edu-suggestions button:hover,html[data-theme="dark"] .edu-suggestions button[aria-selected="true"]{background:#192f47}
html[data-theme="dark"] .edu-suggestions p{color:#9d9da3}
html[data-theme="dark"] .edu-kpis .ba-fact{background:#2c2c2e;border:1px solid #38383a}
html[data-theme="dark"] .edu-kpis .ba-fact>span{color:#9d9da3}
html[data-theme="dark"] .edu-kpis .ba-fact>strong{color:#ffffff}
html[data-theme="dark"] .edu-coverage{color:#9d9da3}
html[data-theme="dark"] .edu-ranking button{background:#1c1c1e;color:#ffffff}
html[data-theme="dark"] .edu-ranking button:hover{background:#192f47}
html[data-theme="dark"] .edu-ranking small{color:#9d9da3}
html[data-theme="dark"] .edu-bar{background:#192f47}
html[data-theme="dark"] .edu-bar i{background:linear-gradient(90deg,#173757,#0a84ff)}
html[data-theme="dark"] .edu-controls label{color:#9d9da3}
html[data-theme="dark"] .edu-controls input,html[data-theme="dark"] .edu-controls select{border:1px solid #38383a;background:#2c2c2e;color:#ffffff}
html[data-theme="dark"] .edu-institution{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .edu-institution>summary small{color:#9d9da3}
html[data-theme="dark"] .edu-institution>summary b{color:#ffffff}
html[data-theme="dark"] .edu-institution>summary i{color:#2f96ff}
html[data-theme="dark"] .edu-institution[open]>summary{background:#2c2c2e;border-bottom:1px solid #38383a}
html[data-theme="dark"] .edu-mini .ba-fact>span{color:#9d9da3}
html[data-theme="dark"] .edu-mini .ba-fact>strong{color:#ffffff}
html[data-theme="dark"] .edu-orders>button{border-top:1px solid #173b62;background:#1c1c1e;color:#ffffff}
html[data-theme="dark"] .edu-orders>button:hover{background:#192f47}
html[data-theme="dark"] .edu-orders small{color:#9d9da3}
html[data-theme="dark"] .edu-orders strong{color:#ffffff}
html[data-theme="dark"] .edu-orders i{color:#2f96ff}
html[data-theme="dark"] .edu-pagination{color:#9d9da3}
html[data-theme="dark"] .edu-pagination button{border:1px solid #38383a;background:#2c2c2e;color:#ffffff}
html[data-theme="dark"] .edu-empty{color:#9d9da3}
html[data-theme="dark"] .edu-analytics :is(button,input,select,summary):focus-visible,html[data-theme="dark"] .edu-field input:focus-visible{outline:2px solid #173b62}
html[data-theme="dark"] .edu-analytics .an-help a{color:#ffffff}
html[data-theme="dark"] .an-page .edu-institution>summary{color:#ffffff}
html[data-theme="dark"] .an-page .edu-institution>summary strong{color:#ffffff}

/* business-analytics.css */
html[data-theme="dark"] .v4-analytics-page{--ba-ink:#ffffff;--ba-muted:#9d9da3;--ba-border:#38383a;--ba-blue:#ffffff;--ba-mint:#4fd871;--ba-lilac:#ffffff}
html[data-theme="dark"] .ba-calendar-month input{background:#2c2c2e}
html[data-theme="dark"] .ba-owner-switch > button{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .ba-owner-switch > button.is-active{color:#ffffff;border-color:#173b62}
html[data-theme="dark"] .ba-avito-accounts > div{background:#1c1c1e;border:1px solid #38383a}
html[data-theme="dark"] .ba-avito-accounts > div > span{color:#9d9da3}
html[data-theme="dark"] .ba-avito-accounts p{color:#ffad2f}
html[data-theme="dark"] .ba-partial-sign{color:#ffad2f}
html[data-theme="dark"] .ba-jump-nav button:hover{color:#ffffff}
html[data-theme="dark"] .v4-analytics-page .ba-card{background:#1c1c1e}
html[data-theme="dark"] .ba-result{color:#ffffff;background:radial-gradient(ellipse at 95% 0,#354d4938,transparent 55%),#19304a}
html[data-theme="dark"] .ba-result.is-negative{background:radial-gradient(ellipse at 95% 0,#4f393338,transparent 55%),#303032}
html[data-theme="dark"] .ba-result .ba-eyebrow{color:#8e8e93}
html[data-theme="dark"] .ba-result h2{color:#ffffff}
html[data-theme="dark"] .ba-result .v4-analytics-delta{background:#20242912;color:#ffffff}
html[data-theme="dark"] .ba-result .v4-analytics-delta.is-bad{background:#9b49311f;color:#ff6158}
html[data-theme="dark"] .ba-result-bottom > div{border-top:1px solid #434c5624}
html[data-theme="dark"] .ba-result-bottom > div span{color:#8e8e93}
html[data-theme="dark"] .ba-result-bottom p{color:#8e8e93}
html[data-theme="dark"] .ba-kpi{background:#1c1c1e}
html[data-theme="dark"] .ba-kpi:hover{border-color:#173b62;box-shadow:0 8px 20px #32719a0a}
html[data-theme="dark"] .ba-kpi > span i{color:#8e8e93}
html[data-theme="dark"] .ba-kpi:nth-child(3) .v4-analytics-delta{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .ba-kpi .v4-analytics-delta.is-muted{background:#2c2c2e}
html[data-theme="dark"] .ba-signal{background:#192f47;border:1px solid #173b62}
html[data-theme="dark"] .ba-signal.is-amber{background:#45341a;border-color:#604318}
html[data-theme="dark"] .ba-signal.is-red{background:#45341a;border-color:#604318}
html[data-theme="dark"] .ba-signal.is-mint{background:#2c2c2e;border-color:#38383a}
html[data-theme="dark"] .ba-signal > span{color:#9d9da3}
html[data-theme="dark"] .ba-signal p{color:#9d9da3}
html[data-theme="dark"] .ba-scope-note{border:1px solid #605418;background:#45341a;color:#ffdc2f}
html[data-theme="dark"] .ba-no-value{color:#8e8e93}
html[data-theme="dark"] .ba-link{color:#ffffff}
html[data-theme="dark"] .ba-link:hover{color:#ffffff}
html[data-theme="dark"] .ba-link:disabled{color:#8e8e93}
html[data-theme="dark"] .ba-month-point:hover,html[data-theme="dark"] .ba-month-point.is-selected{background:#192f47}
html[data-theme="dark"] .ba-month-bars > .is-negative{background:#ff453a}
html[data-theme="dark"] .ba-month-bars em{background:#39414940}
html[data-theme="dark"] .ba-month-label sup{color:#ffffff}
html[data-theme="dark"] .ba-month-detail{background:#192f46;border:1px solid #173b62}
html[data-theme="dark"] .v4-analytics-page details > summary{color:#9d9da3}
html[data-theme="dark"] .v4-analytics-page details > summary > span{color:#8e8e93}
html[data-theme="dark"] .ba-avito-mark{color:#ffffff}
html[data-theme="dark"] .ba-status{background:#192f47;color:#ffffff}
html[data-theme="dark"] .ba-status.is-mint{background:#2c2c2e;color:#4fd871}
html[data-theme="dark"] .ba-status.is-amber{background:#45341a;color:#ffad2f}
html[data-theme="dark"] .ba-acquisition-flow > div{background:#192f47}
html[data-theme="dark"] .ba-acquisition-flow > div:nth-child(2){background:#2c2c2e}
html[data-theme="dark"] .ba-acquisition-flow > div:nth-child(3){background:#2c2c2e}
html[data-theme="dark"] .ba-stage-number{color:#8e8e93}
html[data-theme="dark"] .ba-flow-arrow{background:#1c1c1e;color:#8e8e93;border:1px solid #38383a}
html[data-theme="dark"] .ba-inbox-strip b{color:#9d9da3}
html[data-theme="dark"] .ba-collection-ring{background:conic-gradient(#22522f var(--collected),#2c2c2e 0)}
html[data-theme="dark"] .ba-collection-ring::before{background:#1c1c1e}
html[data-theme="dark"] .ba-payment-stages .is-mint{background:#22522f}
html[data-theme="dark"] .ba-payment-stages .is-blue{background:#0a84ff}
html[data-theme="dark"] .ba-payment-stages .is-amber{background:#ff9f0a}
html[data-theme="dark"] .ba-retention-hero{background:#192f47}
html[data-theme="dark"] .ba-cost-stack{background:#2c2c2e}
html[data-theme="dark"] .ba-cost-stack .is-authors,html[data-theme="dark"] .ba-cost-list .is-authors{background:#303032}
html[data-theme="dark"] .ba-cost-stack .is-advertising,html[data-theme="dark"] .ba-cost-list .is-advertising{background:#0a84ff}
html[data-theme="dark"] .ba-cost-stack .is-salary,html[data-theme="dark"] .ba-cost-list .is-salary{background:#303032}
html[data-theme="dark"] .ba-cost-stack .is-other,html[data-theme="dark"] .ba-cost-list .is-other{background:#303032}
html[data-theme="dark"] .ba-cost-list > div > span{color:#9d9da3}
html[data-theme="dark"] .ba-cash-result{background:#2c2c2e}
html[data-theme="dark"] .ba-cash-result .is-negative b{color:#ff6158}
html[data-theme="dark"] .ba-source-list article header{color:#9d9da3}
html[data-theme="dark"] .ba-source-track{background:#2c2c2e}
html[data-theme="dark"] .ba-source-track i{background:#0a84ff}
html[data-theme="dark"] .ba-debt{background:#45341a;border:1px solid #604318}
html[data-theme="dark"] .ba-aging > div{color:#9d9da3}
html[data-theme="dark"] .ba-aging b{color:#ffad2f}
html[data-theme="dark"] .ba-aging .is-age-0{background:#564b19}
html[data-theme="dark"] .ba-aging .is-age-1{background:#ff9f0a}
html[data-theme="dark"] .ba-aging .is-age-2{background:#604318}
html[data-theme="dark"] .ba-definitions{background:#202429b8}
html[data-theme="dark"] .v4-analytics-page :is(button,input,summary):focus-visible{outline:3px solid #173b62}
@media (max-width:760px){
html[data-theme="dark"] .ba-month-point.is-selected .ba-month-bars{outline:1px solid #173b62}
}
html[data-theme="dark"] .ue-view-tabs{background:#2c2c2e}
html[data-theme="dark"] .ue-view-tabs button{color:#9d9da3}
html[data-theme="dark"] .ue-view-tabs button.is-active{background:#1c1c1e;color:#ffffff}
html[data-theme="dark"] .ue-map{color:#ffffff}
html[data-theme="dark"] .ue-eyebrow{color:#8e8e93}
html[data-theme="dark"] .ue-map h2{color:#ffffff}
html[data-theme="dark"] .ue-map > header p{color:#8e8e93}
html[data-theme="dark"] .ue-map-badge{border:1px solid #38383a;color:#8e8e93}
html[data-theme="dark"] .ue-operator{color:#ffffff}
html[data-theme="dark"] .ue-node{border:1px solid #38383a}
html[data-theme="dark"] .v4-analytics-page .ue-node > summary > span{color:#8e8e93}
html[data-theme="dark"] .ue-node summary small{color:#8e8e93}
html[data-theme="dark"] .ue-node summary i{color:#8e8e93}
html[data-theme="dark"] .ue-node > p{border-top:1px solid #434c5626;color:#8e8e93}
html[data-theme="dark"] .ue-equation .is-profit{background:#30d158;color:#ffffff}
html[data-theme="dark"] .ue-equation .is-revenue{background:#0a84ff;color:#ffffff}
html[data-theme="dark"] .ue-equation .is-cost,html[data-theme="dark"] .ue-equation .is-loss{background:#ff453a;color:#ffffff}
html[data-theme="dark"] .ue-map-branches{border-top:1px solid #38383a}
html[data-theme="dark"] .ue-branch > header > span{color:#8e8e93}
html[data-theme="dark"] .ue-branch h3{color:#ffffff}
html[data-theme="dark"] .ue-cost-node{border:1px solid #38383a;border-left:4px solid var(--ue-color,#48484a);color:#ffffff}
html[data-theme="dark"] .ue-cost-node small{color:#8e8e93}
html[data-theme="dark"] .ue-cost-node i{color:#8e8e93}
html[data-theme="dark"] .is-variable{--ue-color:#ff6158}
html[data-theme="dark"] .is-fixed{--ue-color:#2f96ff}
html[data-theme="dark"] .is-marketing{--ue-color:#ffffff}
html[data-theme="dark"] .is-mixed{--ue-color:#ffad2f}
html[data-theme="dark"] .is-oneoff{--ue-color:#4fd871}
html[data-theme="dark"] .is-review{--ue-color:#8e8e93}
html[data-theme="dark"] .ue-map-note{color:#8e8e93}
html[data-theme="dark"] .ue-fixed-summary{background:#192f47}
html[data-theme="dark"] .ue-recurring-grid header span{color:#9d9da3}
html[data-theme="dark"] .ue-payroll{background:#453e1a;border:1px solid #605418}
html[data-theme="dark"] .ue-order-equation{background:#2c2c2e}
html[data-theme="dark"] .ue-order-equation > span{color:#9d9da3}
html[data-theme="dark"] .ue-avito-comparison article{background:#192b3e}
html[data-theme="dark"] .ue-expense{border-top:1px solid #173b62}
html[data-theme="dark"] .ue-expense p b{color:#ffad2f}
html[data-theme="dark"] .ue-limits article{background:#2c2c2e;border:1px dashed #38383a}
html[data-theme="dark"] .ue-limits article > span{color:#9d9da3}
html[data-theme="dark"] .ad-eyebrow{color:#4fd871}
html[data-theme="dark"] .ad-title p{color:#9d9da3}
html[data-theme="dark"] .ad-status-line,html[data-theme="dark"] .ad-sources{color:#9d9da3}
html[data-theme="dark"] .ad-kpis article{background:#2c2c2e;border:1px solid #38383a}
html[data-theme="dark"] .ad-kpis article>span,html[data-theme="dark"] .ad-fact>span{color:#9d9da3}
html[data-theme="dark"] .ad-kpis small{color:#8e8e93}
html[data-theme="dark"] .ad-toggle{background:#2c2c2e}
html[data-theme="dark"] .ad-toggle button{color:#9d9da3}
html[data-theme="dark"] .ad-toggle .is-active{background:#1c1c1e;color:#ffffff}
html[data-theme="dark"] .ad-chart-controls label{color:#9d9da3}
html[data-theme="dark"] .ad-chart-controls select{background:#1c1c1e;border:1px solid #38383a;color:#ffffff}
html[data-theme="dark"] .ad-chart-note{color:#9d9da3}
html[data-theme="dark"] .ad-chart-wrap svg text{fill:#8e8e93}
html[data-theme="dark"] .ad-chart-wrap svg .ad-svg-title{fill:#9d9da3}
html[data-theme="dark"] .ad-tooltip{border:1px solid #434c5630;color:#ffffff}
html[data-theme="dark"] .ad-tooltip small{color:#ffffff}
html[data-theme="dark"] .ad-chart-readout{background:#2c2c2e}
html[data-theme="dark"] .ad-chart-readout>div{color:#9d9da3}
html[data-theme="dark"] .ad-chart-readout strong{color:#ffffff}
html[data-theme="dark"] .ad-insight-grid article{background:#2c2c2e}
html[data-theme="dark"] .ad-insight-grid article:nth-child(2){background:#192f47}
html[data-theme="dark"] .ad-insight-grid span{color:#9d9da3}
html[data-theme="dark"] .ad-insight-grid p{color:#9d9da3}
html[data-theme="dark"] .ad-week-grid article{border:1px solid #38383a}
html[data-theme="dark"] .ad-week-grid small{color:#8e8e93}
html[data-theme="dark"] .ad-week-grid article>span{color:#8e8e93}
html[data-theme="dark"] .ad-bar{background:#2c2c2e}
html[data-theme="dark"] .ad-bar i{background:#0a84ff}
html[data-theme="dark"] .ad-root dt{color:#8e8e93}
html[data-theme="dark"] .ad-outlook{border-top:1px solid #38383a}
html[data-theme="dark"] .ad-outlook-grid article,html[data-theme="dark"] .ad-bands article{background:#2c2c2e}
html[data-theme="dark"] .ad-outlook-grid span,html[data-theme="dark"] .ad-outlook-grid small,html[data-theme="dark"] .ad-bands small{color:#8e8e93}
html[data-theme="dark"] .ad-bands article>span{color:#8e8e93}
html[data-theme="dark"] .ad-bands p{color:#9d9da3}
html[data-theme="dark"] .ad-month-grid button{background:#1c1c1e;border:1px solid #38383a}
html[data-theme="dark"] .ad-month-grid button:hover{border-color:#173b62}
html[data-theme="dark"] .ad-month-grid button>span{color:#8e8e93}
html[data-theme="dark"] .ad-fact>small{color:#8e8e93}
html[data-theme="dark"] .ad-cost-grid{border-top:1px solid #38383a}
html[data-theme="dark"] .ad-promotion-grid article{background:#2c2c2e}
html[data-theme="dark"] .ad-promotion-grid p,html[data-theme="dark"] .ad-promotion-grid small{color:#9d9da3}
html[data-theme="dark"] .ad-bid-group{border-top:1px solid #38383a}
html[data-theme="dark"] .ad-bid-group span{color:#9d9da3}
html[data-theme="dark"] .ad-bid-snapshot{border-top:1px solid #38383a}
html[data-theme="dark"] .ad-day-list{border-top:1px solid #38383a}
html[data-theme="dark"] .ad-day{border-bottom:1px solid #38383a}
html[data-theme="dark"] .ad-day summary small{color:#8e8e93}
html[data-theme="dark"] .ad-day summary>span{color:#8e8e93}
html[data-theme="dark"] .ad-day summary strong{color:#ffffff}
html[data-theme="dark"] .ad-day summary>i{color:#8e8e93}
html[data-theme="dark"] .ad-day-expanded{background:#2c2c2e}
html[data-theme="dark"] .ad-owner-days{border-top:1px solid #173b62}
html[data-theme="dark"] .ad-pagination button{background:#2c2c2e;border:1px solid #173b62}
html[data-theme="dark"] .ad-method p{color:#9d9da3}
html[data-theme="dark"] .ad-root button:focus-visible,html[data-theme="dark"] .ad-root select:focus-visible,html[data-theme="dark"] .ad-root summary:focus-visible,html[data-theme="dark"] .ad-chart-wrap:focus-visible{outline:3px solid #173b62}
html[data-theme="dark"] .v4-analytics-page .ad-day>summary>span{color:#8e8e93}
html[data-theme="dark"] .ad-day-expanded .ad-owner-days small,html[data-theme="dark"] .ad-day-expanded .ad-owner-days p{color:#9d9da3}
html[data-theme="dark"] .an-header h1{color:#ffffff}
html[data-theme="dark"] .an-filters label{color:#9d9da3}
html[data-theme="dark"] .an-filters select,html[data-theme="dark"] .an-filters input,html[data-theme="dark"] .an-more{border:1px solid #38383a;background:#1c1c1e;color:#ffffff}
html[data-theme="dark"] .an-tabs{background:#2c2c2e;border:1px solid #38383a}
html[data-theme="dark"] .an-tabs button{color:#9d9da3}
html[data-theme="dark"] .an-tabs button.is-active{background:#1c1c1e;color:#4fd871}
html[data-theme="dark"] .an-tabs button:focus-visible,html[data-theme="dark"] .an-section>summary:focus-visible{outline:2px solid #173b62}
html[data-theme="dark"] .an-period-label{color:#9d9da3}
html[data-theme="dark"] .an-period-label [role=status]{color:#4fd871}
html[data-theme="dark"] .an-initial{color:#9d9da3}
html[data-theme="dark"] .an-section{background:#1c1c1e;border:1px solid #38383a}
html[data-theme="dark"] .an-section>summary h2{color:#ffffff}
html[data-theme="dark"] .an-section>summary>span{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .an-section-body>h3{color:#ffffff}
html[data-theme="dark"] .an-help{border-top:1px solid #38383a;color:#9d9da3}
html[data-theme="dark"] .an-section .ue-map-branches{border-color:#38383a}
html[data-theme="dark"] .an-section .ue-branch>header h3{color:#ffffff}
html[data-theme="dark"] .an-sync{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .an-sync-accounts b{color:#ffffff}
html[data-theme="dark"] .an-sales-summary{border-top:1px solid #38383a}
html[data-theme="dark"] .an-sales-summary h3{color:#9d9da3}
html[data-theme="dark"] .an-warning,html[data-theme="dark"] .an-error{color:#ffad2f!important}
html[data-theme="dark"] .an-error{border:1px solid #604318;background:#45341a}
html[data-theme="dark"] .an-section .ad-kpis article{background:#2c2c2e;border:1px solid #38383a}
html[data-theme="dark"] .an-section .am-chart{background:#1c1c1e;border-color:#38383a}
html[data-theme="dark"] .an-city-status article{background:#2c2c2e;border:1px solid #38383a}
html[data-theme="dark"] .an-city-status h3{color:#9d9da3}
html[data-theme="dark"] .an-city-status span{color:#9d9da3}
html[data-theme="dark"] .an-city-status small,html[data-theme="dark"] .an-city-status p{color:#9d9da3}
html[data-theme="dark"] .an-city-clock{color:#9d9da3}
html[data-theme="dark"] .an-city{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .an-city>header{background:#2c2c2e}
html[data-theme="dark"] .an-city h3{color:#ffffff}
html[data-theme="dark"] .an-city-account{border-top:1px solid #38383a}
html[data-theme="dark"] .an-city-values>strong{color:#9d9da3}
html[data-theme="dark"] .an-city-values span{color:#8e8e93}
html[data-theme="dark"] .an-city-values b{color:#ffffff}
html[data-theme="dark"] .an-city-account>.am-item-history{border-top:1px solid #38383a}
html[data-theme="dark"] .an-city-account>.am-item-history>summary{color:#9d9da3}
html[data-theme="dark"] .an-city-account .am-small{color:#9d9da3}
html[data-theme="dark"] .an-empty{color:#9d9da3}
html[data-theme="dark"] .an-filter-scope{color:#9d9da3}
html[data-theme="dark"] .an-section .ue-operator{color:#9d9da3}
html[data-theme="dark"] .an-section .ue-equation .is-revenue{background:#0a84ff}
html[data-theme="dark"] .ue-root{--ba-muted:#9d9da3}
html[data-theme="dark"] .ue-root .an-help{color:#9d9da3}
html[data-theme="dark"] .ue-root .an-section>summary>span{color:#9d9da3}
html[data-theme="dark"] .ue-root .ba-link{color:#ffffff}
html[data-theme="dark"] .v4-analytics-page.an-page{--ba-ink:#ffffff;--ba-muted:#9d9da3;--ba-border:var(--v4-line, #38383a);--ba-blue:var(--v4-blue, #2f96ff)}
html[data-theme="dark"] .an-page .an-header h1{color:#ffffff}
html[data-theme="dark"] .an-page .an-filters label{color:#9d9da3}
html[data-theme="dark"] .an-page :is(.an-filters select,.an-filters input,.an-more,.ad-chart-controls select,.am-controls input,.am-controls select){border:1px solid #38383a;background:#1c1c1e;color:#ffffff}
html[data-theme="dark"] .an-page .an-tabs{background:#1c1c1e;border:1px solid #38383a}
html[data-theme="dark"] .an-page :is(.an-tabs button,.an-more,.ad-toggle button,.am-pagination button,.ad-pagination button){border:1px solid #38383a;background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .an-page :is(.an-tabs button.is-active,.an-more[aria-expanded="true"],.ad-toggle button.is-active){border-color:#173b62;background:#192f47;color:#ffffff}
html[data-theme="dark"] .an-page :is(.an-tabs button,.an-more,.ad-toggle button,.am-pagination button,.ad-pagination button):hover:not(:disabled){border-color:#173b62;background:#192f47}
html[data-theme="dark"] .an-page :is(button,input,select,summary,[tabindex]):focus-visible{outline:3px solid rgba(23,59,98,.35)}
html[data-theme="dark"] .an-page .an-period-label{color:#9d9da3}
html[data-theme="dark"] .an-page .an-section{border-color:#38383a}
html[data-theme="dark"] .an-page .an-section>summary h2{color:#ffffff}
html[data-theme="dark"] .an-page .an-section>summary>span{background:#192f47;color:#ffffff}
html[data-theme="dark"] .an-page :is(.an-section-body>h3,.an-sales-summary h3,.an-city h3,.an-city-status h3,.ue-branch>header h3){color:#ffffff}
html[data-theme="dark"] .an-page :is(.an-help,.ue-root .an-help){color:#9d9da3;border-color:#38383a}
html[data-theme="dark"] .an-page :is(.ba-link,.ue-root .ba-link){color:#ffffff}
html[data-theme="dark"] .an-page .an-sync{border:1px solid #38383a;background:#1c1c1e;color:#9d9da3}
html[data-theme="dark"] .an-page .an-sync-accounts b{color:#ffffff}
html[data-theme="dark"] .an-page .an-sync .ba-link{border:1px solid #173b62;background:#192f47}
html[data-theme="dark"] .an-page :is(.an-city-status article,.an-city>header,.an-section .ad-kpis article,.an-section .am-chart){background:#2c2c2e;border-color:#38383a}
html[data-theme="dark"] .an-page :is(.an-city,.an-city-account,.an-sales-summary){border-color:#38383a}
html[data-theme="dark"] .an-page :is(.an-city-values>strong,.an-city-values span,.an-city-values small,.an-city-status span,.an-city-status small,.an-city-clock,.an-city-account .am-small,.an-city-account>.am-item-history>summary){color:#9d9da3}
html[data-theme="dark"] .an-page .an-city-values b{color:#ffffff}
html[data-theme="dark"] .an-page :is(.an-city-status strong,.an-section .ad-kpis strong){color:#ffffff}
html[data-theme="dark"] .an-page :is(.an-section .ad-kpis small,.an-section .ba-kpi small,.an-section .ad-chart-note){color:#9d9da3}
html[data-theme="dark"] .an-page .ue-root{--ba-muted:#9d9da3}
html[data-theme="dark"] .an-page .ue-map{color:#ffffff}
html[data-theme="dark"] .an-page .ue-equation .ue-node{border:1px solid #38383a;background:#192f47;color:#ffffff}
html[data-theme="dark"] .an-page .ue-equation .is-profit{background:#2c2c2e;border-color:#22522f}
html[data-theme="dark"] .an-page .ue-equation :is(.is-cost,.is-loss){background:#45341a;border-color:#604318}
html[data-theme="dark"] .an-page .ue-map-branches{border-color:#38383a}
html[data-theme="dark"] .an-page .ue-node-grid .ue-node{border-color:#38383a;background:#2c2c2e;color:#ffffff}
html[data-theme="dark"] .an-page .ue-node-grid .ue-node summary :is(span,small,i){color:#9d9da3}
html[data-theme="dark"] .an-page .ue-node-grid .ue-node>p{color:#9d9da3;border-color:#38383a}
html[data-theme="dark"] .an-page .ue-cost-node{color:#ffffff;background:#2c2c2e;border-color:#38383a}
html[data-theme="dark"] .an-page .ue-cost-node:hover{background:#192f47}
html[data-theme="dark"] .an-page .ue-cost-node :is(small,i){color:#9d9da3}
html[data-theme="dark"] .an-page :is(.ue-fixed-summary,.ue-order-equation){background:#2c2c2e;border:1px solid #38383a}
html[data-theme="dark"] .an-city-sales-summary{background:#2c2c2e;border:1px solid #38383a}
html[data-theme="dark"] .an-city-sale{border:1px solid #38383a}
html[data-theme="dark"] .an-city-sale>header{background:#2c2c2e}
html[data-theme="dark"] .an-city-sale h3{color:#ffffff}
html[data-theme="dark"] .an-city-sale>section{border-top:1px solid #38383a}
html[data-theme="dark"] .an-city-sale h4{color:#9d9da3}
html[data-theme="dark"] .an-city-sales-acquisition{color:#9d9da3}
html[data-theme="dark"] .an-city-sale details>summary,html[data-theme="dark"] .an-city-sales-unlinked>summary{color:#ffffff}
html[data-theme="dark"] .an-city-sales-orders>div{border-top:1px solid #38383a}
html[data-theme="dark"] .an-city-sales-orders span,html[data-theme="dark"] .an-city-sales-orders small{color:#9d9da3}
html[data-theme="dark"] .an-city-sales-unlinked{border-top:1px solid #38383a}
html[data-theme="dark"] .an-city-sales-scope{color:#9d9da3}
html[data-theme="dark"] .an-page :is(.an-city-values span,.an-city-values small,.an-city-status span,.an-city-status small,.an-city-clock,.an-city-account .am-small,.an-city-account>.am-item-history>summary){color:#9d9da3}

/* avito-markets.css */
html[data-theme="dark"] .am-body{color:#ffffff}
html[data-theme="dark"] .am-tabs button,html[data-theme="dark"] .am-pagination button{background:#1c1c1e;border:1px solid #38383a;color:#9d9da3}
html[data-theme="dark"] .am-tabs .is-active{background:#192f46;color:#ffffff;border-color:#173b62}
html[data-theme="dark"] .am-tabs button:hover,html[data-theme="dark"] .am-pagination button:not(:disabled):hover{border-color:#173b62;background:#192f47}
html[data-theme="dark"] .am-body :is(button,summary,input,select):focus-visible,html[data-theme="dark"] .am-tabs button:focus-visible,html[data-theme="dark"] .am-chart-wrap:focus-visible{outline:3px solid #173b62}
html[data-theme="dark"] .am-hero p{color:#9d9da3}
html[data-theme="dark"] .am-clock{background:#2c2c2e}
html[data-theme="dark"] .am-clock span,html[data-theme="dark"] .am-small,html[data-theme="dark"] .am-status small{color:#9d9da3}
html[data-theme="dark"] .am-status progress{background:#2c2c2e}
html[data-theme="dark"] .am-status progress::-webkit-progress-bar{background:#2c2c2e}
html[data-theme="dark"] .am-status progress::-webkit-progress-value{background:#173b62}
html[data-theme="dark"] .am-badge{background:#45341a;color:#ffad2f}
html[data-theme="dark"] .am-badge.is-ready{background:#2c2c2e;color:#4fd871}
html[data-theme="dark"] .am-controls{background:#2c2c2e;border:1px solid #38383a}
html[data-theme="dark"] .am-controls input,html[data-theme="dark"] .am-controls select,html[data-theme="dark"] .am-link-row select,html[data-theme="dark"] .am-link-row input{border:1px solid #38383a;background:#1c1c1e;color:#ffffff}
html[data-theme="dark"] .am-controls p{color:#9d9da3}
html[data-theme="dark"] .am-list-heading{color:#9d9da3}
html[data-theme="dark"] .am-city header small{color:#8e8e93}
html[data-theme="dark"] .am-fact>span{color:#9d9da3}
html[data-theme="dark"] .am-fact>small{color:#8e8e93}
html[data-theme="dark"] .am-bid-pair>.am-fact:first-child>strong{color:#4fd871}
html[data-theme="dark"] .am-mini-grid{border-top:1px solid #38383a}
html[data-theme="dark"] .am-warning{background:#45341a;color:#ffad2f}
html[data-theme="dark"] .v4-analytics-page .am-body details:not(.an-section):not(.an-help)>summary::after{color:#8e8e93}
html[data-theme="dark"] .am-item{border-top:1px solid #173b62}
html[data-theme="dark"] .am-item a{color:#ffffff}
html[data-theme="dark"] .am-item p{color:#9d9da3}
html[data-theme="dark"] .am-learning{color:#8e8e93}
html[data-theme="dark"] .am-method p{color:#9d9da3}
html[data-theme="dark"] .am-method a{color:#ffffff}
html[data-theme="dark"] .am-business>header p{color:#9d9da3}
html[data-theme="dark"] .am-business-kpis .am-fact{border:1px solid #38383a;border-top:3px solid #173b62;background:#2c2c2e}
html[data-theme="dark"] .am-business-kpis .am-fact:nth-child(3n/**/+2){border-top-color:#22522f}
html[data-theme="dark"] .am-business-kpis .am-fact:nth-child(3n){border-top-color:#302f5a}
html[data-theme="dark"] .am-chart{background:#1c1c1e;border:1px solid #173b62}
html[data-theme="dark"] .am-chart header h3{color:#ffffff}
html[data-theme="dark"] .am-chart header p,html[data-theme="dark"] .am-chart-help{color:#9d9da3}
html[data-theme="dark"] .am-chart-legend{color:#9d9da3}
html[data-theme="dark"] .am-chart-wrap svg text{fill:#8e8e93}
html[data-theme="dark"] .am-chart-wrap svg .am-svg-title{fill:#9d9da3}
html[data-theme="dark"] .am-chart-wrap svg .am-svg-empty{fill:#8e8e93}
html[data-theme="dark"] .am-grid-line{stroke:#ffffff}
html[data-theme="dark"] .am-zero-line{stroke:#8e8e93}
html[data-theme="dark"] .am-chart-readout small{color:#8e8e93}
html[data-theme="dark"] .am-chart-empty{background:#2c2c2e;color:#8e8e93}
html[data-theme="dark"] .am-economics{background:#2c2c2e;border:1px solid #38383a}
html[data-theme="dark"] .am-economics p{color:#9d9da3}
html[data-theme="dark"] .am-month{border:1px solid #173b62;background:#1c1c1e}
html[data-theme="dark"] .am-month summary strong{color:#9d9da3}
html[data-theme="dark"] .am-timeline>div,html[data-theme="dark"] .am-levels>div,html[data-theme="dark"] .am-day-row{border-bottom:1px solid #38383a}
html[data-theme="dark"] .am-timeline time{color:#8e8e93}
html[data-theme="dark"] .am-link-row{border-bottom:1px solid #173b62}
html[data-theme="dark"] .am-link-row small{color:#8e8e93}
html[data-theme="dark"] .am-link-row button{color:#ffffff}
html[data-theme="dark"] .an-page :is(.am-small,.am-timeline time,.am-chart-readout small,.am-chart-help,.am-chart-legend,.am-chart-readout span,.am-chart-readout>b,.am-tooltip small){color:#9d9da3}
html[data-theme="dark"] .an-page :is(.am-controls input,.am-controls select,.am-link-row select){border:1px solid #38383a;background-color:#2c2c2e;color:#ffffff}
html[data-theme="dark"] .an-page .am-link-row button{background:#0a84ff}
html[data-theme="dark"] .an-page .am-month summary strong{color:#9d9da3}

/* student-portal.css */
html[data-theme="dark"] .student-portal-dialog{border:1px solid #38383a;background:#1c1c1e;color:#ffffff}
html[data-theme="dark"] .student-portal-dialog input:not([type=checkbox]),html[data-theme="dark"] .student-portal-dialog textarea{border:1px solid #38383a;background:#1c1c1e}
html[data-theme="dark"] .student-portal-dialog button{background:#192f47;color:#ffffff}
html[data-theme="dark"] .student-portal-file small{color:#9d9da3}
html[data-theme="dark"] .student-portal-dialog div.student-portal-file{border-bottom:1px solid #38383a}
html[data-theme="dark"] .student-portal-dialog [data-save]{background:#0a84ff;color:#ffffff}

/* Theme control and final palette tuning. Keep these rules after the component colors. */
.theme-toggle{
  width:42px;height:42px;display:grid;place-items:center;flex:0 0 auto;padding:0;
  border:1px solid #d9e5ec;border-radius:14px;background:#f5f9fb;color:#607789;
  font:inherit;cursor:pointer;transition:background .18s,border-color .18s,color .18s;
}
.theme-toggle svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.theme-toggle:hover,.theme-toggle:focus-visible{outline:0;border-color:#9dcdf1;background:#eaf6ff;color:#2784d2;box-shadow:0 0 0 4px rgba(51,144,236,.12)}
@media(max-width:700px){.employee-bento-header .theme-toggle{width:40px;height:40px}}

html[data-theme="dark"]{color-scheme:dark;--bg:#000000;--surface:#1c1c1e;--surface-raised:#2c2c2e;--surface-2:#2c2c2e;--surface-tint:#2c2c2e;--ink:#ffffff;--text:#ffffff;--muted:#9d9da3;--muted-2:#8e8e93;--line:#38383a;--line-strong:#48484a;--shadow:0 14px 36px rgba(0,0,0,0.5);--shadow-hover:0 20px 48px rgba(0,0,0,.32);--shadow-soft:0 6px 18px rgba(0,0,0,0.5)}
html[data-theme="dark"] body[data-crm-version="v4"],html[data-theme="dark"] .owner-shell.is-v4-mode,html[data-theme="dark"] .owner-shell.is-v4-mode .main{background:#000000}
html[data-theme="dark"] .owner-shell.is-v4-mode{--v4-blue:#ffffff;--v4-blue-strong:#2f96ff;--v4-blue-soft:#18324d;--v4-ink:#ffffff;--v4-muted:#9d9da3;--v4-line:#38383a;--v4-surface:#1c1c1e}
html[data-theme="dark"] .owner-shell.is-v4-mode .app-header{background:rgba(0,0,0,.94)}
html[data-theme="dark"] :is(.v4-brand-tile,.owner-shell.is-v4-mode .v4-search-tile,.owner-shell.is-v4-mode .v4-user-tile,.owner-shell.is-v4-mode .v4-bento-nav){border-color:#38383a;background:#1c1c1e}
html[data-theme="dark"] .theme-toggle{border-color:#38383a;background:#2c2c2e;color:#ffffff}
html[data-theme="dark"] .theme-toggle:hover,html[data-theme="dark"] .theme-toggle:focus-visible{border-color:#173b62;background:#173757;color:#2f96ff;box-shadow:0 0 0 4px rgba(10,132,255,0.078)}
html[data-theme="dark"] :is(input,textarea,select)::placeholder{color:#8e8e93;opacity:1}
html[data-theme="dark"] :is(input,textarea,select){accent-color:#8e8e93}
html[data-theme="dark"] :is(.studby-boot-page,.login-bento-page){color:#ffffff}
html[data-theme="dark"] .studby-boot-page{background:radial-gradient(circle at 14% 12%,rgba(10,132,255,0.078),transparent 30rem),linear-gradient(145deg,#000000,#0a0a0a)}
html[data-theme="dark"] .studby-boot-card{border-color:#38383a;background:#1c1c1e;box-shadow:0 30px 90px rgba(0,0,0,0.5)}
html[data-theme="dark"] .studby-boot-card > header{border-color:#38383a}
html[data-theme="dark"] .studby-boot-card header span{color:#ffffff}
html[data-theme="dark"] .studby-boot-body p{color:#ffffff}
html[data-theme="dark"] .studby-boot-progress{background:#2c2c2e}
html[data-theme="dark"] .work-task-move button:hover:not(:disabled){border-color:#173b62;background:#173757;color:#2f96ff}
html[data-theme="dark"] .work-task-move button:hover:not(:disabled){border-color:#173b62;background:#173757;color:#2f96ff}

/* iOS / Telegram «Ночь»: black canvas, #1C1C1E cards, system blue. Keep last. */
html[data-theme="dark"] body,html[data-theme="dark"] body[data-crm-version="v4"]{background:#000}
html[data-theme="dark"] .owner-shell.is-v4-mode{--v4-blue:#0a84ff;--v4-blue-strong:#409cff}
html[data-theme="dark"] :is(.v4-order-workspace-actions,.v4-order-editor-head,.v4-order-editor-foot) button.is-primary,html[data-theme="dark"] :is(.v4-orders-create,.work-task-primary){border-color:#0a84ff;background:#0a84ff;color:#fff;box-shadow:none}
html[data-theme="dark"] :is(.v4-order-workspace-actions,.v4-order-editor-head,.v4-order-editor-foot) button.is-primary:hover,html[data-theme="dark"] :is(.v4-orders-create,.work-task-primary):hover{background:#409cff;border-color:#409cff}
html[data-theme="dark"] :is(.v4-order-workspace-actions,.v4-order-editor-head,.v4-order-editor-foot) button.is-danger{border-color:transparent;background:rgba(255,69,58,.16);color:#ff6961}

/* Shared V4 surfaces for the employee cabinet; dialogs inherit these tokens. */
html[data-theme="dark"] body[data-crm-role="employee"] {
  --ec-bg: #000; --ec-surface: #1c1c1e; --ec-soft: #2c2c2e;
  --ec-ink: #fff; --ec-muted: #9d9da3; --ec-line: #38383a;
  --ec-blue: #0a84ff; --ec-blue-strong: #64adff; --ec-blue-soft: #182c42;
  --ec-green: #30d158; --ec-green-soft: #183522;
  --ec-amber: #ff9f0a; --ec-amber-soft: #392b16;
  --ec-red: #ff453a; --ec-red-soft: #3c2223; --ec-shadow: none;
  color-scheme: dark;
}
html[data-theme="dark"] body[data-crm-role="employee"] .employee-shell.employee-v4-shell .employee-page-head { border: 0; background: transparent; box-shadow: none; }
html[data-theme="dark"] body[data-crm-role="employee"] .employee-shell.employee-v4-shell .employee-kpi { background: var(--ec-surface); }
html[data-theme="dark"] body[data-crm-role="employee"] .employee-shell.employee-v4-shell .employee-segmented { background: var(--ec-surface); border-color: var(--ec-line); }
html[data-theme="dark"] body[data-crm-role="employee"] .employee-shell.employee-v4-shell .employee-segmented button { color: var(--ec-muted); }
html[data-theme="dark"] body[data-crm-role="employee"] .employee-shell.employee-v4-shell .employee-segmented button:is(:hover,.is-active) { background: var(--ec-blue-soft); color: var(--ec-blue-strong); }

html[data-theme="dark"] body[data-crm-role="employee"] .employee-shell.employee-v4-shell .employee-payroll-hero { background: var(--ec-blue); }
