@media screen{
html[data-theme=dark]{color-scheme:dark;--background:#111827;--foreground:#e5edf8;--card:#182235;--card-foreground:#e5edf8;--popover:#182235;--popover-foreground:#e5edf8;--muted:#243249;--muted-foreground:#a9b8ce;--border:#37465c;--input:#37465c;--primary:#3b82f6;--primary-foreground:#fff;--secondary:#243249;--secondary-foreground:#e5edf8;--accent:#243249;--accent-foreground:#e5edf8;--bg:#0d1523;--tx:#e5edf8;--mu:#adbbce;--bd:#37465c;--ac:#77a9ff;--rd:#ff9a9a}
html[data-theme=dark] body{background:#0d1523!important;color:#e5edf8!important}
html[data-theme=dark] :is(main,.shell,.app,.inventory-app,#app,#root){color:#e5edf8}
html[data-theme=dark] :is(.panel,.card,.product,.k,.stat,.metric,.report-card,.return-card,.return-channel-card,.room-card,.document-card,.design-card,.sheet-card,.employee-card,.po-card,.profile-card,.settings-card,.selection-preview,.upload-box,.upload-zone,.data-menu>div,dialog,[role=dialog],[role=listbox],[data-slot=select-content],[data-slot=popover-content],[data-slot=dropdown-menu-content],.entry-dialog,.tabs-content,.batch-footer,.yarn-group-header,.master-toolbar,.modal-content){background:#182235!important;color:#e5edf8!important;border-color:#37465c!important;box-shadow:none}
html[data-theme=dark] :is(h1,h2,h3,h4,strong,b,label,legend,.stat-value,.metric-value){color:inherit}
html[data-theme=dark] :is(p,small,.muted,.mu,.helper,.sku,.eyebrow,.stat-label,.panel-foot,.cell-sub,.field-hint,.entry-tip){color:#aebdd1!important}
html[data-theme=dark] :is(input,select,textarea){background:#101a2b!important;color:#e5edf8!important;border-color:#52627a!important;color-scheme:dark}
html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#91a2ba!important;opacity:1}
html[data-theme=dark] :is(th,thead,.shell .master-table th,.yarn-group-header,.style-summary-row){background:#223149!important;color:#c4d3e7!important;border-color:#37465c!important}
html[data-theme=dark] :is(td,tr,.responsive-table tr,.responsive-table td,.master-table td,.shade-table td){border-color:#37465c!important}
html[data-theme=dark] :is(tbody tr,.responsive-table tr,.responsive-table td){background:transparent}
html[data-theme=dark] :is(.secondary,.b.g,.chip,.text-button,.row-action,.icon-button,.icon-btn,.search,.search-field,.tabbar,.tabs-list,.profile-security-links .security-link){background:#243249!important;color:#d3e4ff!important;border-color:#475c79!important}
html[data-theme=dark] :is(.primary,button.b:not(.g),.chip.active){background:#2863c7!important;color:#fff!important;border-color:#6492df!important}
html[data-theme=dark] :is(.primary,button.b:not(.g)) :is(span,b,small){color:#fff!important}
html[data-theme=dark] a:not(.brand):not(.identity):not(.primary){color:#9dc2ff}
html[data-theme=dark] :is(.balance-hint,.usage-preview,.store-weight,.notice,.selection-bar,.pin-confirm,.action-icon,.empty,.return-preview64,.progress-cell,.info-box){background:#213451!important;color:#d5e6ff!important;border-color:#4a6384!important}
html[data-theme=dark] :is(.error,.delete-notice,.danger-button,.damaged){background:#492b35!important;color:#ffd4d6!important;border-color:#a65a6b!important}
html[data-theme=dark] :is(.status,.tag){background:#243b59;color:#d9eaff;border-color:#5d789c}
html[data-theme=dark] :is(.topbar,header,.sidebar){background:#101c30!important;border-color:#37465c!important;color:#e5edf8!important}
html[data-theme=dark] :is(.label,.paper,.a4-page,.tds-sheet,.document-preview,.print-sheet,.sheet-preview){background:white!important;color:#111827!important;color-scheme:light}
html[data-theme=dark] :is(.label,.paper,.a4-page,.tds-sheet,.document-preview,.print-sheet,.sheet-preview) :is(p,small,td,th,label,strong,h1,h2,h3){color:#111827!important}
html[data-theme=dark] :is(.sheet-preview,.tds-sheet) input{background:#fff!important;color:#111827!important;color-scheme:light}
html[data-theme=dark] :is(.bar,.progress-track){background:#34445e}
html[data-theme=dark] [role=option][data-highlighted]{background:#2f4c77!important;color:#fff!important}
html[data-theme=dark] .saving-overlay{background:#111827c9}
html[data-theme=dark] .saving-overlay span{background:#243b59;color:#fff}
html[data-theme=dark] .theme-setting{max-width:100%}
}
@media print{html{color-scheme:light!important}body{background:white!important;color:black!important}}
@media screen{
html[data-theme=dark] :is(td,.stat-label,.stat-label span,.attention-list>button,.history-row,.selection-list>button){color:#c5d3e6!important}
html[data-theme=dark] :is(.attention-list>button,.daily-shortcuts,.shortcut,.month-control,.modal,.modal-head,.modal-header,.report-filters,.history-row,.selection-list>button,.rule-note,.rules-note,.rule-summary,.info-note,[class~=bg-white],[class~=bg-slate-50],[class~=bg-gray-50]){background:#1d2c43!important;color:#e5edf8!important;border-color:#37465c!important}
html[data-theme=dark] :is(.badge,.stat-icon,.quick-icon){background:#2d425c!important;color:#cde1ff!important}
html[data-theme=dark] :is(.a4-editor,.a4-editor td,.a4-editor th,.a4-editor input,.a4-editor textarea){background:white!important;color:#111827!important;color-scheme:light}
}
@media screen{
html[data-theme=dark] button{background-color:#243249!important;color:#d8e7fc!important;border-color:#465d7c!important}
html[data-theme=dark] :is(.primary,button.b:not(.g),.chip.active){background:#2863c7!important;color:white!important}
html[data-theme=dark] :is(.actions button,.upload-button,.refresh,.row-icon,.btn,.quickitem,.choice,.templatecard,.panel-foot,.bulk-toolbar,.bulk-field,.yarn-group,.yarn-group-heading,.sheet-extras,.design-two-views section,.variant-panel,.variant-manager,.search-panel,.image-search,.visual-query,.first-design,.design-form,.daily-actions,.modal-actions,.low-summary,.low-heading-icon,.stats>div,.category-cards button,.rule-note){background:#182235!important;color:#d7e4f6!important;border-color:#37465c!important}
html[data-theme=dark] :is([data-slot=table-body]>tr,.shade-table td,.master-table td){background:#182235!important;color:#d7e4f6!important}
html[data-theme=dark] :is([data-slot=tabs-list],[data-slot=tabs-trigger],.count,.version,.badge,.stat svg,.quick>span,.docicon,.emptyicon){background:#243249!important;color:#bcd4f8!important}
html[data-theme=dark] :is(.yarn-group-heading strong,.yarn-group-heading b,.room-card span,.room-card small,.stat>div,.stat>span){color:#c5d6eb!important}
html[data-theme=dark] :is(.a4-sheet,.a4-sheet input,.a4-sheet select,.a4-sheet textarea,.a4-sheet td,.a4-sheet th,.a4-sheet .sheet-title){background:white!important;color:#111827!important;color-scheme:light}
html[data-theme=dark] .a4-sheet :is(label,small,span,p,strong,b,h1,h2,h3){color:#111827!important}
html[data-theme=dark] .a4-sheet :is(th,.sheet-title){background:#e8edf3!important}
html[data-theme=dark] .a4-sheet button{background:#eff3f8!important;color:#182235!important}
html[data-theme=dark] :is(.danger-button,.delete-action){background:#492b35!important;color:#ffd4d6!important}
}
@media screen{html[data-theme=dark] :is(.bulk-toolbar span,.variant-heading span,.yarn-group-heading small,.yarn-group-heading span){color:#aebdd1!important}html[data-theme=dark] button:disabled{opacity:.55}}
