:root,
:root[data-theme='romanuke-4793'] {
  --theme-page: #f1f3ef;
  --theme-page-accent: #e7edf1;
  --theme-surface: rgba(255, 255, 255, 0.86);
  --theme-surface-raised: #ffffff;
  --theme-surface-soft: #f4f6f7;
  --theme-sidebar-surface: rgba(247, 248, 249, 0.92);
  --theme-outline: #d7dde4;
  --theme-outline-strong: #c4ced8;
  --theme-text: #243041;
  --theme-text-muted: #697486;
  --theme-text-soft: #8a94a3;
  --theme-primary: #6498af;
  --theme-primary-strong: #5d6474;
  --theme-primary-soft: #dbe8ef;
  --theme-secondary: #a7a6b0;
  --theme-secondary-soft: #ece9ef;
  --theme-info: #8ca9bd;
  --theme-success: #5d8a74;
  --theme-danger: #c96a72;
  --theme-warning: #b98a43;
  --theme-overlay: rgba(19, 27, 38, 0.42);
  --theme-primary-ring: rgba(100, 152, 175, 0.18);
  --theme-shell-shadow: 0 32px 88px rgba(93, 100, 116, 0.18);
  --theme-soft-shadow: 0 16px 48px rgba(93, 100, 116, 0.12);

  --clr-bright: var(--theme-surface-raised);
  --clr-dark: var(--theme-text);
  --clr-body-background: var(--theme-page);
  --clr-text-primary: var(--theme-text);
  --clr-text-secondary: var(--theme-text-muted);
  --clr-text-tertiary: var(--theme-text-soft);
  --clr-text-tertiary-activated: var(--theme-primary-strong);
  --clr-text-placeholder: var(--theme-text-soft);
  --clr-text-disabled: #98a1af;
  --clr-border-light: var(--theme-outline);
  --clr-border-muted: #e4e8ed;
  --clr-background-off-white: var(--theme-surface-raised);
  --clr-background-light-gray: #eef2f4;
  --clr-background-extra-light-gray: var(--theme-surface-soft);
  --clr-background-blue-gray-50: #eef3f6;
  --clr-background-blue-gray-75: #e7eef2;
  --clr-background-blue-gray-100: #dbe5eb;
  --clr-background-blue-gray-300: #eef2f5;
  --clr-blue-wash-light: #eef5f8;
  --clr-blue-wash-medium: #dce8ef;
  --clr-primary-wash: var(--theme-primary-soft);
  --clr-indigo-50: #edf0f5;
  --clr-primary-accent: var(--theme-primary);
  --clr-primary-accent-hover: var(--theme-primary-strong);
  --clr-primary-accent-focus-shadow: var(--theme-primary-ring);
  --clr-primary-accent-transparent-medium: rgba(100, 152, 175, 0.25);
  --clr-primary-action: var(--theme-primary-strong);
  --clr-primary-action-hover: #4f5a69;
  --clr-secondary-accent: var(--theme-primary);
  --clr-primary-light-blue: #f3f6f8;
  --clr-light-blue-accent: var(--theme-info);
  --clr-warning-accent: var(--theme-warning);
  --clr-warning-bg-light: #fdf6eb;
  --clr-warning-border-light: #f3e3c9;
  --clr-warning-text-dark: #8a6331;
  --clr-warning-icon: var(--theme-warning);
  --clr-error-bg-light: #faecef;
  --clr-error-border-light: #f0d2d8;
  --clr-error-text-dark: #8f4651;
  --clr-error-icon: var(--theme-danger);
  --clr-info-bg-light: #eaf2f6;
  --clr-info-border-light: #d2e2ea;
  --clr-info-text-dark: var(--theme-primary-strong);
  --clr-header-stripe-bg: transparent;
  --clr-scrollbar-thumb: rgba(93, 100, 116, 0.24);
  --clr-scrollbar-track: rgba(236, 237, 230, 0.6);
  --clr-menu-item-hover-bg: #f2f5f7;
  --clr-alert-overlay-bg: rgba(235, 240, 244, 0.72);
  --clr-verified-accent: var(--theme-primary);
  --clr-staff-accent: var(--theme-success);
  --clr-badge-inv: #ffffff;
  --clr-cyan-50: #edf2f4;
  --clr-overlay-white-strong: rgba(244, 246, 247, 0.94);
  --clr-gray-medium-bg: #8e98a5;
  --clr-toast-bg: #273041;
  --clr-toast-text: #f1f3ef;
  --clr-online: #5d8a74;
  --clr-offline: #c7ced7;
  --clr-shadow-input-underline: rgba(36, 48, 65, 0.08);
  --clr-shadow-hr-inset: rgba(36, 48, 65, 0.12);
  --clr-shadow-scrollbar-track-webkit: rgba(36, 48, 65, 0.12);
  --clr-shadow-button: rgba(93, 100, 116, 0.16);
  --clr-shadow-button-inset-active: rgba(93, 100, 116, 0.18);
  --clr-shadow-dialog: rgba(36, 48, 65, 0.24);
  --clr-shadow-panel-divider: rgba(93, 100, 116, 0.08);
  --clr-shadow-gray-strong: rgba(93, 100, 116, 0.22);
  --clr-shadow-silver-subtle: rgba(93, 100, 116, 0.12);
  --clr-shadow-bubble-drop: rgba(93, 100, 116, 0.12);

  --clr-button-primary-bg: var(--theme-primary-strong);
  --clr-button-primary-text: #f8fbfd;
  --clr-button-primary-hover-bg: #4f5a69;
  --clr-button-secondary-bg: var(--theme-surface-raised);
  --clr-button-secondary-text: var(--theme-primary-strong);
  --clr-button-secondary-hover-bg: var(--theme-primary-soft);
  --clr-button-outline-text: var(--theme-primary-strong);
  --clr-button-outline-border: var(--theme-outline);
  --clr-button-outline-hover-bg: #eef2f5;
  --clr-button-danger-bg: var(--theme-danger);
  --clr-button-danger-text: #fffafa;
  --clr-button-danger-hover-bg: #b85f67;
  --clr-button-positive-bg: var(--theme-success);
  --clr-button-positive-text: #f5fbf7;
  --clr-button-positive-hover-bg: #4f7b66;

  --clr-input-text: var(--theme-text);
  --clr-input-border: var(--theme-outline);
  --clr-input-border-focus: var(--theme-primary);
  --clr-input-shadow: transparent;
  --clr-input-shadow-focus: var(--theme-primary-ring);
  --clr-input-invalid-border: #d68c95;
  --clr-input-invalid-shadow: rgba(201, 106, 114, 0.16);
  --clr-input-placeholder-text: var(--theme-text-soft);

  --clr-bubble-left-bg: #e0edf2;
  --clr-bubble-left-bg-flash: #cfe1ea;
  --clr-bubble-right-bg: rgba(255, 255, 255, 0.92);
  --clr-bubble-right-bg-flash: #eef2f5;
  --clr-bubble-text: var(--theme-text);
  --clr-bubble-meta-text: var(--theme-text-muted);
  --clr-bubble-meta-deleted-bg: #eef2f5;
  --clr-bubble-meta-date-bg: rgba(255, 255, 255, 0.78);
  --clr-bubble-timestamp-text: var(--theme-text-soft);
  --clr-bubble-author-text: var(--theme-primary-strong);

  --clr-reply-quote-border: var(--theme-primary);
  --clr-reply-quote-text: var(--theme-text);
  --clr-reply-quote-left-bg: rgba(255, 255, 255, 0.5);
  --clr-reply-quote-right-bg: rgba(100, 152, 175, 0.08);
  --clr-reply-quote-preview-bg: #f7fafb;

  --clr-badge-default-bg: #eef2f5;
  --clr-badge-default-text: var(--theme-primary-strong);
  --clr-badge-default-border: #dde5eb;
  --clr-badge-green-bg: #eaf5ef;
  --clr-badge-green-text: #3e7259;
  --clr-badge-green-border: #c9dfd3;
  --clr-badge-yellow-bg: #fbf4e7;
  --clr-badge-yellow-text: #8a6331;
  --clr-badge-yellow-border: #ebd7b4;
  --clr-badge-blue-bg: #e8f0f5;
  --clr-badge-blue-text: #4d6f84;
  --clr-badge-blue-border: #c8dbe6;
  --clr-badge-red-bg: #f9ecef;
  --clr-badge-red-text: #8f4651;
  --clr-badge-red-border: #edcfd6;
  --clr-badge-magenta-bg: #f2edf4;
  --clr-badge-magenta-text: #6e6176;
  --clr-badge-magenta-border: #ddd2e1;

  --clr-chip-bg: #edf2f5;
  --clr-chip-invalid-text: #8f4651;
  --clr-chip-invalid-bg: #f8e9ec;
  --clr-chip-remove-icon-bg: #97a0ab;
  --clr-chip-remove-icon-text: #ffffff;
  --clr-chip-remove-icon-hover-bg: var(--theme-primary-strong);
  --clr-chip-remove-icon-hover-text: #ffffff;

  --clr-tabbar-bg: #eff3f5;
  --clr-tabbar-inactive-text: #8391a2;
  --clr-tabbar-active-text: var(--theme-primary-strong);
  --clr-tabbar-inactive-border: transparent;
  --clr-tabbar-active-border: var(--theme-primary);

  --clr-highlight-text: var(--theme-primary-strong);
  --clr-highlight-preview-text: var(--theme-primary);
  --clr-spinner-track: #eef3f6;
  --clr-spinner-active: var(--theme-primary-strong);
  --clr-cropper-bounding-box-border: var(--theme-primary-strong);
  --clr-cropper-bounding-box-bg: #dce4ea;
  --clr-cropper-cutout-border: var(--theme-primary);
  --clr-cropper-cutout-shadow: rgba(36, 48, 65, 0.3);
  --clr-audio-bg: #eef3f6;
  --clr-audio-icon: rgba(93, 100, 116, 0.82);
  --clr-audio-icon-disabled: rgba(138, 148, 163, 0.82);
  --clr-audio-timer-text: rgba(105, 116, 134, 0.84);
  --clr-pinned-menu-bg: #f8fafb;
  --clr-drag-n-drop-border: var(--theme-primary-strong);
  --clr-drag-n-drop-text: var(--theme-primary-strong);
  --clr-drag-n-drop-bg: rgba(255, 255, 255, 0.92);
  --clr-drag-n-drop-outline: rgba(241, 243, 239, 0.9);
}

:root[data-theme='romanuke-4793'][data-color-scheme='dark'] {
  --theme-page: #121923;
  --theme-page-accent: #1b2230;
  --theme-surface: rgba(27, 34, 48, 0.88);
  --theme-surface-raised: #1c2432;
  --theme-surface-soft: #202938;
  --theme-sidebar-surface: rgba(20, 27, 38, 0.92);
  --theme-outline: #2f3a4b;
  --theme-outline-strong: #3b485d;
  --theme-text: #e8eef5;
  --theme-text-muted: #a4b0c3;
  --theme-text-soft: #8794a8;
  --theme-primary: #8ca9bd;
  --theme-primary-strong: #6498af;
  --theme-primary-soft: rgba(100, 152, 175, 0.16);
  --theme-secondary: #a7a6b0;
  --theme-secondary-soft: rgba(167, 166, 176, 0.12);
  --theme-info: #6498af;
  --theme-success: #74ab8e;
  --theme-danger: #dd858f;
  --theme-warning: #d2a25c;
  --theme-overlay: rgba(7, 10, 15, 0.62);
  --theme-primary-ring: rgba(140, 169, 189, 0.18);
  --theme-shell-shadow: 0 40px 96px rgba(0, 0, 0, 0.4);
  --theme-soft-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);

  --clr-badge-inv: #0f1520;
  --clr-scrollbar-thumb: rgba(236, 237, 230, 0.18);
  --clr-scrollbar-track: rgba(18, 25, 35, 0.72);
  --clr-toast-bg: #0f1520;
  --clr-toast-text: #edf2f7;
  --clr-offline: #536072;
  --clr-shadow-button: rgba(0, 0, 0, 0.24);
  --clr-shadow-button-inset-active: rgba(0, 0, 0, 0.24);
  --clr-shadow-dialog: rgba(0, 0, 0, 0.4);
  --clr-shadow-panel-divider: rgba(0, 0, 0, 0.24);
  --clr-shadow-gray-strong: rgba(0, 0, 0, 0.28);
  --clr-shadow-silver-subtle: rgba(0, 0, 0, 0.2);

  --clr-background-light-gray: #1e2736;
  --clr-background-extra-light-gray: #202938;
  --clr-background-blue-gray-50: #1e2736;
  --clr-background-blue-gray-75: #243041;
  --clr-background-blue-gray-100: #2a3647;
  --clr-background-blue-gray-300: #1c2432;
  --clr-blue-wash-light: #1a2430;
  --clr-blue-wash-medium: #233344;
  --clr-indigo-50: #202a37;
  --clr-menu-item-hover-bg: #202938;
  --clr-alert-overlay-bg: rgba(7, 10, 15, 0.68);
  --clr-overlay-white-strong: rgba(12, 16, 24, 0.92);
  --clr-gray-medium-bg: #384354;
  --clr-button-primary-text: #f5f8fb;
  --clr-button-secondary-bg: #202938;
  --clr-button-secondary-text: var(--theme-text);
  --clr-button-outline-text: var(--theme-text);
  --clr-button-outline-hover-bg: #253041;
  --clr-input-invalid-shadow: rgba(221, 133, 143, 0.16);
  --clr-bubble-left-bg: #243548;
  --clr-bubble-left-bg-flash: #2d4359;
  --clr-bubble-right-bg: #202938;
  --clr-bubble-right-bg-flash: #283243;
  --clr-bubble-meta-date-bg: rgba(20, 27, 38, 0.76);
  --clr-reply-quote-left-bg: rgba(255, 255, 255, 0.04);
  --clr-reply-quote-right-bg: rgba(100, 152, 175, 0.12);
  --clr-reply-quote-preview-bg: #202938;
  --clr-badge-default-bg: #202938;
  --clr-badge-default-text: var(--theme-text);
  --clr-badge-default-border: #2f3a4b;
  --clr-badge-green-bg: #1f3127;
  --clr-badge-green-text: #9fd0b7;
  --clr-badge-green-border: #335041;
  --clr-badge-yellow-bg: #322718;
  --clr-badge-yellow-text: #f0c888;
  --clr-badge-yellow-border: #4c3a22;
  --clr-badge-blue-bg: #1f2b38;
  --clr-badge-blue-text: #a8c7d8;
  --clr-badge-blue-border: #324454;
  --clr-badge-red-bg: #351e24;
  --clr-badge-red-text: #f1b2bc;
  --clr-badge-red-border: #54323a;
  --clr-badge-magenta-bg: #2f2432;
  --clr-badge-magenta-text: #dbc0e1;
  --clr-badge-magenta-border: #4a394f;
  --clr-chip-bg: #202938;
  --clr-chip-remove-icon-bg: #526072;
  --clr-tabbar-bg: #1a2230;
  --clr-tabbar-inactive-text: #8190a3;
  --clr-tabbar-active-text: var(--theme-text);
  --clr-audio-bg: #1f2735;
  --clr-audio-icon: rgba(232, 238, 245, 0.74);
  --clr-audio-icon-disabled: rgba(135, 148, 168, 0.82);
  --clr-audio-timer-text: rgba(164, 176, 195, 0.84);
  --clr-pinned-menu-bg: #1c2432;
  --clr-drag-n-drop-bg: rgba(18, 25, 35, 0.94);
  --clr-drag-n-drop-outline: rgba(18, 25, 35, 0.88);
}
