/* Light workspace: one blue-violet canvas behind translucent reading surfaces. */
#root .home-screen.filmash-bootstrap-theme.theme-light {
  --workspace-glass: rgba(255, 255, 255, .84);
  --workspace-glass-line: rgba(255, 255, 255, .64);
  --workspace-canvas: rgba(255, 255, 255, .42);
  --workspace-panel: rgba(255, 255, 255, .78);
  --panel-bg: var(--workspace-glass);

}
#root .home-screen.filmash-bootstrap-theme.theme-light:not(.android-app):not(.mobile-web) > .app-content {
  background: radial-gradient(ellipse at 0% 100%, rgba(190, 117, 215, .85), transparent 64%),
    radial-gradient(ellipse at 100% 0%, rgba(108, 118, 227, .9), transparent 68%),
    linear-gradient(135deg, #5684e9 0%, #7981e5 48%, #a17bd4 100%);
  background-attachment: fixed;
}
#root .home-screen.filmash-bootstrap-theme.theme-light :is(.messenger-page, .tasks-page, .crm-list-panel-full,
  .crm-sales-board, .crm-section-placeholder, .calendar-page, .customs-page, .home-statistics,
  .catalog-surface, .car-search-filters, .car-search-results, .mail-page, .settings-page) {
  background: var(--workspace-glass);
  border-color: var(--workspace-glass-line);
  box-shadow: inset 0 1px rgba(255, 255, 255, .8), 0 12px 32px rgba(49, 55, 118, .12);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
}
#root .home-screen.filmash-bootstrap-theme.theme-light :is(.car-search-page, .crm-workspace) { background: transparent; }
#root .home-screen.filmash-bootstrap-theme.theme-light .settings-section-button { background: rgba(255, 255, 255, .45); }
#root .home-screen.filmash-bootstrap-theme.theme-light :is(.messenger-chat-list, .messenger-conversation,
  .messenger-list-header, .messenger-mobile-list-header, .tasks-table, .tasks-table-state,
  .crm-client-list, .crm-placeholder, .mail-folders, .mail-list-panel, .mail-reader) { background: transparent; }
#root .home-screen.filmash-bootstrap-theme.theme-light :is(.messenger-conversation-header, .messenger-composer,
  .tasks-toolbar, .crm-toolbar) {
  background: rgba(255, 255, 255, .55); border-color: rgba(85, 102, 149, .15);
}
#root .home-screen.filmash-bootstrap-theme.theme-light :is(.task-row, .crm-client-row) { background: rgba(255, 255, 255, .16); }
#root .home-screen.filmash-bootstrap-theme.theme-light :is(.task-row, .crm-client-row):hover { background: rgba(255, 255, 255, .55); }
#root .home-screen.filmash-bootstrap-theme.theme-light .calendar-page {
  --cal-canvas: rgba(255, 255, 255, .32); --cal-surface: rgba(255, 255, 255, .58);
  --cal-toolbar: rgba(255, 255, 255, .42);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  #root .home-screen.filmash-bootstrap-theme.theme-light { --workspace-glass: rgba(255, 255, 255, .95); }
}

/* Keep the chat title and message input on a denser light surface. */
#root .home-screen.filmash-bootstrap-theme.theme-light :is(.messenger-conversation-header, .messenger-composer, .messenger-chat-list) {
  background: rgba(255, 255, 255, .9);
}
