/* White inner tables. Outer module panels keep their existing frosted glass. */
#root .home-screen.theme-light :is(
  .crm-record-table, .crm-client-list, .crm-company-list-scroll,
  .crm-incoming-table, .exporters-table-wrap, .exporters-table,
  .tasks-table, .tasks-table-state, .tasks-table-footer,
  .catalog-table-scroll, .catalog-table,
  .settings-employee-list, .settings-permissions,
  .car-search-list-scroll,
  .mail-message-list,
  .crm-document-browser-list, .hs-table-scroll, table
) {
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
#root .home-screen.theme-light :is(
  .crm-list-head, .crm-table-footer,
  .crm-incoming-table th, .exporters-table th,
  .tasks-table-head, .catalog-table th, .settings-permissions th, table th
) { background: #fff; }
#root .home-screen.theme-light :is(
  .crm-client-row, .crm-incoming-table tbody tr,
  .exporters-table tbody tr, .task-row, .catalog-table tbody tr
) { background: #fff; }
#root .home-screen.theme-light :is(
  .crm-client-row, .crm-incoming-table tbody tr,
  .exporters-table tbody tr, .task-row, .catalog-table tbody tr
):hover { background: #f8fafb; }
#root .home-screen.theme-light :is(
  .crm-client-row.active, .crm-client-row.selected,
  .crm-incoming-table tr.selected, .exporters-table tr.selected,
  .task-row.selected, .catalog-table tr.selected
) { background: #eaf3fc; }
#root .home-screen.theme-light :is(
  .crm-client-row.active, .crm-client-row.selected,
  .crm-incoming-table tr.selected, .exporters-table tr.selected,
  .task-row.selected, .catalog-table tr.selected
):hover { background: #eaf3fc; }
#root .home-screen.theme-light .crm-placeholder { background: #fff; }

/* Tables fill the panel; module titles sit directly on its frosted surface. */
#root .home-screen:is(.theme-light, .theme-dark) :is(.crm-list-panel-full, .tasks-page) {
  padding-inline: 0;
}
#root .home-screen:is(.theme-light, .theme-dark) :is(
  .crm-record-table, .crm-company-list-scroll, .exporters-table-wrap,
  .tasks-table, .catalog-table-scroll, .hs-table-scroll
) {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-inline: 0;
}
#root .home-screen:is(.theme-light, .theme-dark) .crm-record-table { padding-inline: 0; }
#root .home-screen:is(.theme-light, .theme-dark) .crm-record-table :is(.crm-list-head, .crm-client-row) {
  padding-inline: 16px;
}
#root .home-screen:is(.theme-light, .theme-dark) :is(.crm-toolbar, .tasks-toolbar, .catalog-toolbar) {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}
#root .home-screen:is(.theme-light, .theme-dark) :is(.crm-toolbar, .tasks-toolbar) {
  padding-inline: 20px;
}
#root .home-screen:is(.theme-light, .theme-dark) :is(.crm-record-heading, .catalog-toolbar h1, .hs-panel > h2) {
  background: transparent;
}
