/* C&A TMS - Equipment light mode internal workspace fix v3 */
html:not([data-ca-theme="night"]) .equipment-page,
html:not([data-ca-theme="night"]) .equipment-workspace,
html:not([data-ca-theme="night"]) .equipment-workspace__shell,
html:not([data-ca-theme="night"]) .equipment-workspace .admin-workspace-v2__content,
html:not([data-ca-theme="night"]) .equipment-content,
html:not([data-ca-theme="night"]) .equipment-workspace .admin-card,
html:not([data-ca-theme="night"]) .equipment-grid-card,
html:not([data-ca-theme="night"]) .equipment-table-wrap{background:#fff!important;color:#1f2937!important;border-color:#d1d5db!important;color-scheme:light!important}
html:not([data-ca-theme="night"]) .equipment-workspace .admin-workspace-v2__header,
html:not([data-ca-theme="night"]) .equipment-workspace .admin-workspace-v2__nav,
html:not([data-ca-theme="night"]) .equipment-tabs{background:#fff!important;color:#1f2937!important;border-color:#d1d5db!important}
html:not([data-ca-theme="night"]) .equipment-section-header,
html:not([data-ca-theme="night"]) .equipment-toolbar{background:#f9fafb!important;color:#1f2937!important;border-color:#d1d5db!important}
html:not([data-ca-theme="night"]) .equipment-workspace .admin-workspace-v2__header h1,
html:not([data-ca-theme="night"]) .equipment-section-header h2,
html:not([data-ca-theme="night"]) .equipment-workspace .eyebrow,
html:not([data-ca-theme="night"]) .equipment-search-field>span,
html:not([data-ca-theme="night"]) .equipment-check>span{color:#1f2937!important}
html:not([data-ca-theme="night"]) .equipment-workspace .admin-workspace-v2__version,
html:not([data-ca-theme="night"]) .equipment-section-header p,
html:not([data-ca-theme="night"]) .equipment-workspace .hint{color:#6b7280!important}
html:not([data-ca-theme="night"]) .equipment-search-field input,
html:not([data-ca-theme="night"]) .equipment-workspace .button--secondary{background:#fff!important;border-color:#d1d5db!important;color:#1f2937!important}
html:not([data-ca-theme="night"]) .equipment-table{color:#1f2937!important}
html:not([data-ca-theme="night"]) .equipment-table th{background:#f3f4f6!important;color:#4b5563!important;border-color:#d1d5db!important}
html:not([data-ca-theme="night"]) .equipment-table td{background:#fff!important;color:#1f2937!important;border-color:#e5e7eb!important}
html:not([data-ca-theme="night"]) .equipment-table tbody tr:hover td{background:#f9fafb!important}
html:not([data-ca-theme="night"]) .equipment-tabs .tab:not(.active){background:transparent!important;color:#6b7280!important;border-color:transparent!important}
html:not([data-ca-theme="night"]) .equipment-tabs .tab:not(.active):hover{background:#f3f4f6!important;color:#1f2937!important}

/* Final day-mode overrides: policy note + native/custom scrollbars. */
html[data-ca-theme="day"] body.equipment-page .equipment-workspace .admin-fixed-policy-note,
html:not([data-ca-theme="night"]) body.equipment-page .equipment-workspace .admin-fixed-policy-note{background:#f8fafc!important;color:#475467!important;border:1px solid #d0d5dd!important;border-left:3px solid #98a2b3!important;color-scheme:light!important}
html[data-ca-theme="day"] body.equipment-page .equipment-table-wrap,
html:not([data-ca-theme="night"]) body.equipment-page .equipment-table-wrap,
html[data-ca-theme="day"] body.equipment-page .equipment-dialog__body,
html:not([data-ca-theme="night"]) body.equipment-page .equipment-dialog__body{scrollbar-color:#98a2b3 #eaecf0!important;scrollbar-width:thin!important;color-scheme:light!important}
html[data-ca-theme="day"] body.equipment-page .equipment-table-wrap::-webkit-scrollbar,
html:not([data-ca-theme="night"]) body.equipment-page .equipment-table-wrap::-webkit-scrollbar,
html[data-ca-theme="day"] body.equipment-page .equipment-dialog__body::-webkit-scrollbar,
html:not([data-ca-theme="night"]) body.equipment-page .equipment-dialog__body::-webkit-scrollbar{width:12px!important;height:12px!important;background:#eaecf0!important}
html[data-ca-theme="day"] body.equipment-page .equipment-table-wrap::-webkit-scrollbar-track,
html:not([data-ca-theme="night"]) body.equipment-page .equipment-table-wrap::-webkit-scrollbar-track,
html[data-ca-theme="day"] body.equipment-page .equipment-dialog__body::-webkit-scrollbar-track,
html:not([data-ca-theme="night"]) body.equipment-page .equipment-dialog__body::-webkit-scrollbar-track{background:#eaecf0!important;border-radius:999px!important}
html[data-ca-theme="day"] body.equipment-page .equipment-table-wrap::-webkit-scrollbar-thumb,
html:not([data-ca-theme="night"]) body.equipment-page .equipment-table-wrap::-webkit-scrollbar-thumb,
html[data-ca-theme="day"] body.equipment-page .equipment-dialog__body::-webkit-scrollbar-thumb,
html:not([data-ca-theme="night"]) body.equipment-page .equipment-dialog__body::-webkit-scrollbar-thumb{background:#98a2b3!important;border:2px solid #eaecf0!important;border-radius:999px!important}
html[data-ca-theme="day"] body.equipment-page .equipment-table-wrap::-webkit-scrollbar-corner,
html:not([data-ca-theme="night"]) body.equipment-page .equipment-table-wrap::-webkit-scrollbar-corner,
html[data-ca-theme="day"] body.equipment-page .equipment-dialog__body::-webkit-scrollbar-corner,
html:not([data-ca-theme="night"]) body.equipment-page .equipment-dialog__body::-webkit-scrollbar-corner{background:#eaecf0!important}

html[data-ca-theme="night"] body.equipment-page .equipment-workspace .admin-fixed-policy-note{background:#111b2b!important;color:#94a3b8!important;border:1px solid #2b3b50!important;border-left:3px solid #64748b!important;color-scheme:dark!important}
html[data-ca-theme="night"] body.equipment-page .equipment-table-wrap,
html[data-ca-theme="night"] body.equipment-page .equipment-dialog__body{scrollbar-color:#64748b #0f172a!important;scrollbar-width:thin!important;color-scheme:dark!important}
