html[data-theme=light] body{background:var(--bg);color:var(--text)}html[data-theme=light] body :is(.sidebar,.ro-nav,.main,.app-shell){background:var(--bg);color:var(--text)}html[data-theme=light] body .sidebar{background:var(--sidebar);border-color:var(--line)}html[data-theme=light] body .main>header{background:var(--header-bg);color:var(--text);border-color:var(--line)}html[data-theme=light] body :is(.panel,.stat-card,.table-wrap,.ro-orders-table,.ro-workspace,.modal,.drawer,.ro-order-detail,.strict-info-form,.strict-create-main,.ro-event-rail,.settings-form,.settings-section,.report-card,.login-card,.config-grid aside,.workspace,.permission-module,.permission-module-list,.staff-source-notice){background:var(--surface)!important;color:var(--text)!important;border-color:var(--line)!important}html[data-theme=light] body :is(.modal,.ro-workspace,.strict-create-workspace,.strict-line-panel,.strict-comment-panel,.ro-status-menu,.entity-results,.order-filter-popup,.ro-column-menu,.ro-bulk-options,.strict-bulk-menu,.entity-search-dropdown,.async-options,.ro-filter-popup,.header-popover,.header-actions .header-popover){background:var(--surface)!important;color:var(--text)!important;border-color:var(--line)!important;box-shadow:0 12px 36px #233A551A}html[data-theme=light] body :is(.ro-orders-table-tools,.ro-pagination,.ro-tabs,.ro-order-tabs,.ro-event-tabs,.ro-event-list,.ro-comment-composer,.strict-create-heading,.strict-create-main>header,.ro-client-header,.config-actions,.ro-stock-title,.ro-stock-toolbar,.ro-reference-filters,.strict-orders-workspace,.strict-orders-workspace>.ro-event-rail,.strict-specialist-row,.strict-specialist-row td){background:var(--surface-raised)!important;color:var(--text)!important;border-color:var(--line)!important}html[data-theme=light] body :is(input,select,textarea){background:#FFFFFF!important;color:var(--text)!important;border-color:var(--header-border)!important;color-scheme:light}html[data-theme=light] body :is(input,textarea)::placeholder{color:var(--placeholder)!important}html[data-theme=light] body option{background:white;color:var(--text)}html[data-theme=light] body :is(h1,h2,h3,h4,b,strong,td,th,label,.breadcrumbs,.stat-value,.profile b,.brand b){color:var(--text)}html[data-theme=light] body :is(small,.muted,.empty,.side-label,.eyebrow,.stat-top,.page-heading p,.panel-head p){color:var(--muted)!important}html[data-theme=light] body :is(table,tbody,td){background:var(--surface);color:var(--text);border-color:var(--line)}html[data-theme=light] body :is(thead,thead th){background:var(--surface-raised)!important;color:var(--metric-label)!important;border-color:var(--line)}html[data-theme=light] body tbody tr:hover>td{background:#EDF6F4}html[data-theme=light] body :is(.secondary,.sidebar-toggle,.order-view-switch button,.ro-tabs button,.ro-order-tabs button,.ro-event-tabs button,.ro-pagination button,.ro-column-menu label,.ro-stock-tabs button,.strict-catalog-tabs button,.ro-client-tabs button,.ro-contact-tabs button){background:var(--surface)!important;color:var(--text)!important;border-color:var(--line)!important}html[data-theme=light] body .sidebar .ro-nav button.active,html[data-theme=light] body :is(.order-view-switch,.ro-stock-tabs,.ro-tabs,.ro-order-tabs,.strict-catalog-tabs,.ro-client-tabs,.ro-contact-tabs) button:is(.selected,.active,.primary,[aria-selected=true]){background:var(--selected-bg)!important;color:var(--selected-text)!important;border-color:var(--selected-border)!important;box-shadow:inset 0 0 0 1px var(--selected-border)!important}html[data-theme=light] body .sidebar .ro-nav button{color:var(--metric-label)}html[data-theme=light] body :is(.primary,.brand-mark,.avatar,.avatar.gold,.header-avatar){background:var(--accent);color:#FFFFFF;border-color:var(--accent)}html[data-theme=light] body .primary:hover{background:var(--accent-hover);color:white}html[data-theme=light] body :is(.text-btn,a,.ro-sort){color:#216F64}html[data-theme=light] body :is(.header-icon-button,.header-profile){color:var(--text)}html[data-theme=light] body :is(.header-icon-button,.header-profile):is(:hover,[aria-expanded=true]){background:var(--hover-bg);border-color:#AFCCC6}html[data-theme=light] body .header-search{background:white;border-color:var(--header-border);color:var(--muted)}html[data-theme=light] body .header-search>input{background:transparent!important}html[data-theme=light] body .header-search>kbd{color:var(--muted)}html[data-theme=light] body .header-popover :is(small,time){color:var(--muted)}html[data-theme=light] body .header-popover>button:is(:hover,:focus-visible,.unread){background:#EAF4F0;color:var(--text)}html[data-theme=light] body .header-popover-heading>button,html[data-theme=light] body .header-profile-menu>button{color:#216F64}html[data-theme=light] body :is(.modal-backdrop,.ro-workspace-backdrop){background:var(--backdrop)}html[data-theme=light] body :is(.error,[role=alert]){background:var(--danger-bg);color:var(--danger);border-color:#D5979E}html[data-theme=light] body :is(.income,.positive){color:#176A49}html[data-theme=light] body :is(.expense,.negative){color:#AB3444}html[data-theme=light] body .login-wrap{background:radial-gradient(ellipse at 50% 0,#D7EBE5,var(--bg) 65%)}html[data-theme=light] body .status-tooltip{background:#FFF;color:var(--text);border-color:#8BA99F;box-shadow:0 4px 16px var(--text)20}html[data-theme=light] body .status[data-status=New]{background:var(--status-new-bg)!important;color:var(--status-new-text)!important;border-color:var(--status-new-border)!important}html[data-theme=light] body .status[data-status="In Progress"]{background:var(--status-progress-bg)!important;color:var(--status-progress-text)!important;border-color:var(--status-progress-border)!important}html[data-theme=light] body .status[data-status=Ready]{background:var(--status-ready-bg)!important;color:var(--status-ready-text)!important;border-color:var(--status-ready-border)!important}html[data-theme=light] body .status[data-status=Closed]{background:var(--status-closed-bg)!important;color:var(--status-closed-text)!important;border-color:var(--status-closed-border)!important}html[data-theme=light] body .status[data-status=Cancelled]{background:var(--status-cancelled-bg)!important;color:var(--status-cancelled-text)!important;border-color:var(--status-cancelled-border)!important}html[data-theme=light] body .status[data-status=Draft]{background:var(--status-draft-bg)!important;color:var(--status-draft-text)!important;border-color:var(--status-draft-border)!important}html[data-theme=light] body .status-label{color:inherit!important}html[data-theme=light] body .status i{background:currentColor!important}html[data-theme=light] body .order-payroll-shortcut,html[data-theme=light] body .ro-current-status{background:var(--hover-bg)!important;color:var(--text)!important;border-color:#9EBEB5!important}html[data-theme=light] body .ro-status-menu button{color:var(--text)}html[data-theme=light] body .ro-status-menu button:hover{background:var(--selected-bg)!important}@media(max-width:768px){body .header-actions{gap:4px}body .header-actions .theme-toggle{width:36px;flex-shrink:0;padding:0}}html[data-theme=light] body :is(h1,h2,h3,h4,b,strong,legend,label,dt,dd,td,th,button){color:var(--text)!important}html[data-theme=light] body :is(p,small,.muted,.side-label){color:var(--muted)!important}html[data-theme=light] body :is(a,.text-btn,.ro-sort){color:var(--accent)!important}html[data-theme=light] body :is(.primary,.primary b,.avatar,.avatar.gold,.brand-mark,.header-avatar){color:#FFFFFF!important}html[data-theme=light] body button:disabled{color:var(--muted)!important}html[data-theme=light] body :is(.error,[role=alert]),html[data-theme=light] body :is(.error,[role=alert]) :is(p,b,strong){color:var(--danger)!important}html[data-theme=light] body :is(.header-popover>button,.sidebar .ro-nav button,.header-icon-button,.header-profile){color:var(--text)!important}html[data-theme=light] body .reports-tabs .execution-summary>div,html[data-theme=light] body .reports-tabs .execution-summary>div:last-child{background:var(--metric-bg)!important;border-color:var(--metric-border);box-shadow:none}html[data-theme=light] body :is(.report-filters,.execution-summary,.ro-order-toolbar,.ro-orders-filters,.ro-filter-bar,.ro-filters,.strict-order-bulk-toolbar){background:var(--surface-raised)!important;color:var(--text)!important}html[data-theme=light] body :is(.ro-tabbar,.ro-workspace-tabs,.strict-catalog-tabs,.ro-order-tabs,.ro-stock-tabs,.order-view-switch) button:is(.selected,.active,.primary,[aria-selected=true]){color:var(--selected-text)!important;background:var(--selected-bg)!important;border-color:var(--selected-border)!important}html[data-theme=light] body :is(.strict-specialist-row,.strict-specialist-row td,.order-payroll-line,.order-payroll-line>td){color:var(--text)!important;background:#E8F2EE!important}html[data-theme=light] body :is(.strict-cash-operation>header,.strict-cash-operation>footer,.strict-invoice-history,.modal header,.modal footer,.strict-create-heading,.ro-line-edit-modal,.strict-catalog-modal){background:var(--surface-raised)!important;color:var(--text)!important;border-color:var(--line)!important}html[data-theme=light] body :is(.strict-create-workspace,.strict-create-main,.strict-info-form,.strict-line-panel,.strict-comment-panel){background:var(--surface)!important;color:var(--text)!important}html[data-theme=light] body :is(.ro-reference-filters .order-filter-popup button,.strict-create-workspace input:not([type=checkbox]):not([type=radio]),.strict-create-workspace select,.strict-row-unit button,.ro-settlement-options button){background:var(--surface)!important;color:var(--text)!important;border-color:var(--line)!important}html[data-theme=light] body :is(.ro-reference-filters .order-filter-popup button.selected,.strict-row-unit button[aria-pressed=true],.ro-settlement-options button.selected){background:var(--selected-bg)!important;color:var(--selected-text)!important;border-color:var(--selected-border)!important}html[data-theme=light] body :is(.order-date-trigger,.date-wheel-frame){background:#F0F5F7!important;color:var(--text)!important;border-color:var(--line)!important}html[data-theme=light] body .date-wheel [role=option]{color:var(--muted)}html[data-theme=light] body .date-wheel [role=option].selected{color:var(--selected-text);background:var(--selected-bg)}html[data-theme=light] body :is(.kanban-column,.calendar-day,.strict-calendar-month>section){background:var(--surface)!important;color:var(--text)!important;border-color:var(--line)!important}html[data-theme=light] body :is(.strict-calendar-timeline,.strict-calendar-days) :is(td,th){background:var(--surface)!important;color:var(--text)!important;border-color:var(--line)!important}html[data-theme=light] body .strict-calendar-vertical>section{background:repeating-linear-gradient(to bottom,#FFFFFF 0,#FFFFFF 59px,var(--line) 59px,var(--line) 60px)}html[data-theme=light] body :is(.strict-calendar-vertical>header,.strict-calendar-vertical>aside){background:var(--surface-raised);color:var(--text)}html[data-theme=light] body :is(.payment-indicator,.payment-indicator button){background:#FFFFFF!important;color:var(--text)!important}html[data-theme=light] body .reports-tabs .execution-summary span{color:var(--metric-label)!important}html[data-theme=light] body :is(.strict-create-workspace,.strict-orders-workspace,.ro-workspace,.modal) :is(footer,.ro-create-footer,.strict-create-footer,.ro-close-actions,.ro-modal-actions,.modal-actions){background:var(--surface-raised)!important;color:var(--text)!important;border-color:var(--line)!important}