:root {
  color-scheme: light;
}

.qbc-theme-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  min-width: 86px;
  padding: 0 13px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.qbc-theme-toggle:hover {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.qbc-theme-toggle:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}

.qbc-theme-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}

.qbc-theme-toggle-icon::before {
  content: "☾";
  font-size: 18px;
  line-height: 1;
}

html[data-theme="dark"] .qbc-theme-toggle-icon::before {
  content: "☀";
  font-size: 15px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  background: #0b1120;
}

html[data-theme="dark"] body,
html[data-theme="dark"] #root {
  background: #0b1120 !important;
  color: #e2e8f0;
}

html[data-theme="dark"] .qbc-header {
  background: #111827 !important;
  border-color: #263247 !important;
}

html[data-theme="dark"] .qbc-theme-toggle {
  border-color: #334155;
  background: #172033;
  color: #cbd5e1;
  box-shadow: none;
}

html[data-theme="dark"] .qbc-theme-toggle:hover {
  border-color: #475569;
  background: #1e293b;
  color: #f8fafc;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] [class~="bg-white"],
html[data-theme="dark"] [class*="bg-white/"] {
  background-color: #111827 !important;
}

html[data-theme="dark"] [class~="bg-slate-50"],
html[data-theme="dark"] [class*="bg-slate-50/"] {
  background-color: #0f172a !important;
}

html[data-theme="dark"] [class~="bg-slate-100"] {
  background-color: #172033 !important;
}

html[data-theme="dark"] [class~="bg-slate-200"] {
  background-color: #263247 !important;
}

html[data-theme="dark"] [class~="bg-slate-300"] {
  background-color: #475569 !important;
}

html[data-theme="dark"] [class~="bg-slate-400"] {
  background-color: #64748b !important;
}

html[data-theme="dark"] [class~="bg-slate-700"] {
  background-color: #334155 !important;
}

html[data-theme="dark"] [class~="bg-slate-900"] {
  background-color: #1e293b !important;
}

html[data-theme="dark"] [class*="bg-slate-900/"] {
  background-color: rgba(2, 6, 23, 0.72) !important;
}

html[data-theme="dark"] [class~="bg-slate-950"] {
  background-color: #020617 !important;
}

html[data-theme="dark"] [class~="bg-gray-50"],
html[data-theme="dark"] [class~="bg-zinc-50"],
html[data-theme="dark"] [class~="bg-neutral-50"] {
  background-color: #0f172a !important;
}

html[data-theme="dark"] [class~="bg-blue-50"],
html[data-theme="dark"] [class*="bg-blue-50/"] {
  background-color: rgba(37, 99, 235, 0.16) !important;
}

html[data-theme="dark"] [class~="bg-blue-100"] {
  background-color: rgba(37, 99, 235, 0.24) !important;
}

html[data-theme="dark"] [class~="bg-green-50"],
html[data-theme="dark"] [class~="bg-emerald-50"] {
  background-color: rgba(22, 163, 74, 0.16) !important;
}

html[data-theme="dark"] [class~="bg-green-100"] {
  background-color: rgba(22, 163, 74, 0.24) !important;
}

html[data-theme="dark"] [class~="bg-red-50"],
html[data-theme="dark"] [class~="bg-rose-50"] {
  background-color: rgba(220, 38, 38, 0.16) !important;
}

html[data-theme="dark"] [class~="bg-amber-50"],
html[data-theme="dark"] [class~="bg-amber-100"] {
  background-color: rgba(217, 119, 6, 0.18) !important;
}

html[data-theme="dark"] [class~="bg-purple-50"],
html[data-theme="dark"] [class~="bg-violet-50"],
html[data-theme="dark"] [class~="bg-indigo-50"] {
  background-color: rgba(124, 58, 237, 0.17) !important;
}

html[data-theme="dark"] [class~="bg-cyan-50"] {
  background-color: rgba(8, 145, 178, 0.17) !important;
}

html[data-theme="dark"] [class~="bg-orange-50"] {
  background-color: rgba(234, 88, 12, 0.16) !important;
}

html[data-theme="dark"] [class~="text-slate-950"],
html[data-theme="dark"] [class~="text-slate-900"],
html[data-theme="dark"] [class~="text-slate-800"],
html[data-theme="dark"] [class~="text-black"] {
  color: #f8fafc !important;
}

html[data-theme="dark"] [class~="text-slate-700"],
html[data-theme="dark"] [class~="text-slate-600"] {
  color: #cbd5e1 !important;
}

html[data-theme="dark"] [class~="text-slate-500"] {
  color: #94a3b8 !important;
}

html[data-theme="dark"] [class~="text-slate-400"],
html[data-theme="dark"] [class~="text-slate-300"] {
  color: #94a3b8 !important;
}

html[data-theme="dark"] [class~="text-slate-200"],
html[data-theme="dark"] [class~="text-slate-100"] {
  color: #e2e8f0 !important;
}

html[data-theme="dark"] [class~="text-blue-900"],
html[data-theme="dark"] [class~="text-blue-800"],
html[data-theme="dark"] [class~="text-blue-700"] {
  color: #bfdbfe !important;
}

html[data-theme="dark"] [class~="text-blue-600"],
html[data-theme="dark"] [class~="text-blue-500"] {
  color: #60a5fa !important;
}

html[data-theme="dark"] [class~="text-green-800"],
html[data-theme="dark"] [class~="text-green-700"],
html[data-theme="dark"] [class~="text-green-600"] {
  color: #86efac !important;
}

html[data-theme="dark"] [class~="text-emerald-700"],
html[data-theme="dark"] [class~="text-emerald-600"] {
  color: #6ee7b7 !important;
}

html[data-theme="dark"] [class~="text-amber-800"],
html[data-theme="dark"] [class~="text-amber-700"],
html[data-theme="dark"] [class~="text-amber-600"],
html[data-theme="dark"] [class~="text-amber-500"] {
  color: #fcd34d !important;
}

html[data-theme="dark"] [class~="text-red-700"],
html[data-theme="dark"] [class~="text-red-600"],
html[data-theme="dark"] [class~="text-red-500"] {
  color: #fca5a5 !important;
}

html[data-theme="dark"] [class~="text-rose-600"] {
  color: #fda4af !important;
}

html[data-theme="dark"] [class~="text-purple-600"],
html[data-theme="dark"] [class~="text-purple-500"],
html[data-theme="dark"] [class~="text-violet-600"],
html[data-theme="dark"] [class~="text-indigo-600"] {
  color: #c4b5fd !important;
}

html[data-theme="dark"] [class~="text-cyan-600"],
html[data-theme="dark"] [class~="text-cyan-500"] {
  color: #67e8f9 !important;
}

html[data-theme="dark"] [class~="border-slate-50"],
html[data-theme="dark"] [class~="border-slate-100"],
html[data-theme="dark"] [class~="border-slate-200"] {
  border-color: #263247 !important;
}

html[data-theme="dark"] [class~="border-slate-300"] {
  border-color: #334155 !important;
}

html[data-theme="dark"] [class~="border-blue-50"],
html[data-theme="dark"] [class~="border-blue-100"],
html[data-theme="dark"] [class~="border-blue-200"] {
  border-color: rgba(96, 165, 250, 0.32) !important;
}

html[data-theme="dark"] [class~="border-blue-300"] {
  border-color: rgba(96, 165, 250, 0.48) !important;
}

html[data-theme="dark"] [class~="border-red-100"],
html[data-theme="dark"] [class~="border-red-200"] {
  border-color: rgba(248, 113, 113, 0.3) !important;
}

html[data-theme="dark"] [class~="border-green-100"],
html[data-theme="dark"] [class~="border-green-200"],
html[data-theme="dark"] [class~="border-emerald-100"] {
  border-color: rgba(74, 222, 128, 0.28) !important;
}

html[data-theme="dark"] [class~="border-amber-200"] {
  border-color: rgba(251, 191, 36, 0.3) !important;
}

html[data-theme="dark"] [class~="hover:bg-slate-50"]:hover,
html[data-theme="dark"] [class~="hover:bg-slate-100"]:hover,
html[data-theme="dark"] [class~="hover:bg-white"]:hover {
  background-color: #1e293b !important;
}

html[data-theme="dark"] [class~="hover:bg-blue-50"]:hover,
html[data-theme="dark"] [class~="hover:bg-blue-50/40"]:hover,
html[data-theme="dark"] [class~="hover:bg-blue-50/50"]:hover {
  background-color: rgba(37, 99, 235, 0.18) !important;
}

html[data-theme="dark"] [class~="hover:bg-red-50"]:hover {
  background-color: rgba(220, 38, 38, 0.18) !important;
}

html[data-theme="dark"] [class~="hover:text-slate-950"]:hover,
html[data-theme="dark"] [class~="hover:text-slate-700"]:hover {
  color: #f8fafc !important;
}

html[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
html[data-theme="dark"] textarea,
html[data-theme="dark"] select {
  border-color: #334155 !important;
  background-color: #0f172a !important;
  color: #e2e8f0 !important;
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: #64748b !important;
}

html[data-theme="dark"] select option {
  background: #111827;
  color: #e2e8f0;
}

html[data-theme="dark"] table {
  color: #cbd5e1;
}

html[data-theme="dark"] thead,
html[data-theme="dark"] tbody tr:hover {
  background-color: #172033 !important;
}

html[data-theme="dark"] [class~="shadow-card"],
html[data-theme="dark"] [class~="shadow-card-hover"],
html[data-theme="dark"] [class~="shadow-lg"],
html[data-theme="dark"] [class~="shadow-xl"] {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.34) !important;
}

html[data-theme="dark"] :is(
  .qbc-bc-modal,
  .qbc-cd-modal,
  .qbc-gg-modal,
  .qbc-bw-modal,
  .qbc-checkin-panel,
  .qbc-pm-panel,
  .qbc-announcement-panel,
  .qbc-update-log-card,
  .qbc-update-log-dialog,
  .qbc-update-log-editor-dialog,
  .qbc-windows-file-cloudreve-panel
) {
  border-color: #263247 !important;
  background: #0f172a !important;
  color: #e2e8f0 !important;
}

html[data-theme="dark"] :is(
  .qbc-cd-section,
  .qbc-cd-stat,
  .qbc-cd-tab,
  .qbc-cd-check,
  .qbc-gg-tabs,
  .qbc-gg-footer,
  .qbc-gg-stat,
  .qbc-gg-toolbar,
  .qbc-gg-filter,
  .qbc-gg-record,
  .qbc-gg-action,
  .qbc-gg-empty,
  .qbc-gg-section,
  .qbc-gg-secondary,
  .qbc-bw-footer,
  .qbc-bw-section,
  .qbc-bw-stat,
  .qbc-bw-danger,
  .qbc-bw-mute,
  .qbc-checkin-tabs,
  .qbc-checkin-footer,
  .qbc-checkin-project,
  .qbc-checkin-variable,
  .qbc-checkin-test-output,
  .qbc-checkin-stat,
  .qbc-checkin-table-wrap,
  .qbc-update-log-release,
  .qbc-update-log-main-index,
  .qbc-update-log-modal-error,
  .qbc-update-log-draft-discard,
  .qbc-update-log-editor-footer,
  .qbc-update-log-gui-version,
  .qbc-update-log-gui-version-toggle,
  .qbc-update-log-gui-item.is-expanded,
  .qbc-update-log-gui-item-body,
  .qbc-update-log-gui-item-text,
  .qbc-update-log-gui-btn,
  .qbc-update-log-gui-child,
  .qbc-update-log-schedule-switch,
  .qbc-update-log-schedule-bot,
  .qbc-update-log-schedule-loading,
  .qbc-update-log-schedule-empty,
  .qbc-update-log-schedule-input,
  .qbc-update-log-schedule-template-btn,
  .qbc-pm-refresh,
  .qbc-pm-plugin,
  .qbc-pm-action,
  .qbc-announcement-card,
  .qbc-announcement-template-option,
  .qbc-announcement-bot,
  .qbc-announcement-bubble,
  .qbc-announcement-btn.secondary
) {
  background-color: #111827 !important;
}

html[data-theme="dark"] :is(
  .qbc-bc-stat,
  .qbc-bc-tabs,
  .qbc-bc-settings,
  .qbc-bc-table th,
  .qbc-bc-detail td,
  .qbc-cd-table th,
  .qbc-cd-detail td,
  .qbc-cd-stat.is-expired,
  .qbc-cd-stat.is-voided,
  .qbc-gg-tab:hover,
  .qbc-gg-toggle,
  .qbc-gg-operator,
  .qbc-gg-details,
  .qbc-gg-test-result,
  .qbc-bw-action-card,
  .qbc-bw-details,
  .qbc-bw-word-chip.is-static,
  .qbc-bw-record-content,
  .qbc-bw-member-chip,
  .qbc-bw-toggle,
  .qbc-bw-empty,
  .qbc-checkin-textarea[readonly],
  .qbc-checkin-table th,
  .qbc-checkin-empty,
  .qbc-checkin-audit-detail pre,
  .qbc-update-log-count,
  .qbc-update-log-main-item,
  .qbc-update-log-empty,
  .qbc-update-log-gui-version.is-collapsed,
  .qbc-update-log-gui-item,
  .qbc-update-log-gui-add,
  .qbc-update-log-gui-empty,
  .qbc-update-log-schedule-status,
  .qbc-pm-summary-chip,
  .qbc-pm-command,
  .qbc-pm-footer,
  .qbc-announcement-toggle-row.is-secondary,
  .qbc-announcement-chip,
  .qbc-announcement-empty,
  .qbc-announcement-result-stat
) {
  background-color: #172033 !important;
}

html[data-theme="dark"] :is(
  .qbc-bc-stat-value,
  .qbc-bc-name,
  .qbc-bc-section-title,
  .qbc-bc-detail-value,
  .qbc-cd-section-title,
  .qbc-cd-stat-value,
  .qbc-cd-detail-value,
  .qbc-gg-stat-value,
  .qbc-gg-member,
  .qbc-gg-section-title,
  .qbc-gg-subtitle,
  .qbc-bw-section-title,
  .qbc-bw-stat-value,
  .qbc-bw-mute-member,
  .qbc-bw-subtitle,
  .qbc-checkin-project-name,
  .qbc-checkin-section-title,
  .qbc-checkin-stat-value,
  .qbc-checkin-error h3,
  .qbc-update-log-date-main,
  .qbc-update-log-release-title,
  .qbc-update-log-gui-textarea,
  .qbc-pm-heading h3,
  .qbc-pm-summary-chip strong,
  .qbc-pm-command-text code,
  .qbc-pm-plugin-name,
  .qbc-announcement-card-title,
  .qbc-announcement-textarea,
  .qbc-announcement-toggle-text strong,
  .qbc-announcement-bot-name,
  .qbc-announcement-result-stat strong
) {
  color: #f8fafc !important;
}

html[data-theme="dark"] :is(
  .qbc-bc-status,
  .qbc-bc-stat-label,
  .qbc-bc-tab,
  .qbc-bc-auto,
  .qbc-bc-table th,
  .qbc-bc-qq,
  .qbc-bc-label,
  .qbc-cd-label,
  .qbc-cd-hint,
  .qbc-cd-table td,
  .qbc-cd-table th,
  .qbc-cd-pill.is-expired,
  .qbc-cd-code-head-title,
  .qbc-cd-tag,
  .qbc-cd-stat-label,
  .qbc-cd-tab,
  .qbc-gg-tab,
  .qbc-gg-status,
  .qbc-gg-stat-label,
  .qbc-gg-count,
  .qbc-gg-record-meta,
  .qbc-gg-field-label,
  .qbc-gg-toggle-text,
  .qbc-gg-operator,
  .qbc-gg-details-summary,
  .qbc-gg-test-result,
  .qbc-bw-tab,
  .qbc-bw-status,
  .qbc-bw-stat-label,
  .qbc-bw-action-card,
  .qbc-bw-action-desc,
  .qbc-bw-details-summary,
  .qbc-bw-word-chip.is-static,
  .qbc-bw-mute-meta,
  .qbc-bw-record-content,
  .qbc-bw-mute-bottom,
  .qbc-bw-member-chip,
  .qbc-bw-field-label,
  .qbc-bw-toggle-label,
  .qbc-checkin-tab,
  .qbc-checkin-status,
  .qbc-checkin-button,
  .qbc-checkin-mini,
  .qbc-checkin-project-meta,
  .qbc-checkin-label,
  .qbc-checkin-textarea[readonly],
  .qbc-checkin-hint,
  .qbc-checkin-check,
  .qbc-checkin-test-output,
  .qbc-checkin-stat-label,
  .qbc-checkin-table th,
  .qbc-checkin-empty,
  .qbc-checkin-audit-detail pre,
  .qbc-checkin-error p,
  .qbc-update-log-date-year,
  .qbc-update-log-main-text,
  .qbc-update-log-subitem,
  .qbc-update-log-modal-error,
  .qbc-update-log-editor-btn,
  .qbc-update-log-gui-label,
  .qbc-update-log-gui-item-toggle,
  .qbc-update-log-gui-item-summary,
  .qbc-update-log-gui-btn,
  .qbc-update-log-schedule-label,
  .qbc-update-log-schedule-switch-copy span,
  .qbc-update-log-schedule-bot-copy span,
  .qbc-update-log-schedule-status,
  .qbc-update-log-schedule-summary,
  .qbc-pm-subtitle,
  .qbc-pm-close,
  .qbc-pm-status,
  .qbc-pm-summary-chip,
  .qbc-pm-group h4,
  .qbc-pm-command-text,
  .qbc-pm-refresh,
  .qbc-pm-plugin-desc,
  .qbc-pm-badge.is-disabled,
  .qbc-pm-action,
  .qbc-pm-footer-hint,
  .qbc-announcement-card-desc,
  .qbc-announcement-label,
  .qbc-announcement-toggle-text span,
  .qbc-announcement-template-option strong,
  .qbc-announcement-counter,
  .qbc-announcement-bot-meta,
  .qbc-announcement-empty,
  .qbc-announcement-bubble-text,
  .qbc-announcement-preview-note,
  .qbc-announcement-result-stat span,
  .qbc-announcement-footer-hint,
  .qbc-announcement-btn.secondary
) {
  color: #94a3b8 !important;
}

html[data-theme="dark"] .qbc-announcement-bubble-line.is-main {
  color: #f8fafc;
}

html[data-theme="dark"] .qbc-announcement-bubble-line.is-sub {
  color: #94a3b8;
}

html[data-theme="dark"] .qbc-announcement-bubble-line.is-note {
  color: #fbbf24;
}

html[data-theme="dark"] :is(
  .qbc-bc-input,
  .qbc-bc-button,
  .qbc-bc-mini,
  .qbc-cd-input,
  .qbc-cd-button,
  .qbc-cd-mini,
  .qbc-gg-action,
  .qbc-gg-textarea,
  .qbc-gg-secondary,
  .qbc-bw-mute-form select,
  .qbc-checkin-select,
  .qbc-checkin-button,
  .qbc-checkin-mini,
  .qbc-update-log-gui-btn,
  .qbc-update-log-schedule-input,
  .qbc-update-log-schedule-template-btn,
  .qbc-pm-refresh,
  .qbc-pm-action,
  .qbc-announcement-btn.secondary
) {
  border-color: #334155 !important;
  background-color: #111827 !important;
  color: #e2e8f0 !important;
}

html[data-theme="dark"] :is(
  .qbc-bc-button.is-primary,
  .qbc-bc-mini.is-primary,
  .qbc-cd-button.is-primary,
  .qbc-cd-mini.is-primary,
  .qbc-pm-action.is-primary,
  .qbc-update-log-editor-btn.primary,
  .qbc-update-log-gui-btn.is-primary,
  .qbc-announcement-btn.primary
) {
  background-color: #2563eb !important;
  color: #ffffff !important;
}

html[data-theme="dark"] :is(
  .qbc-bc-mini.is-danger,
  .qbc-cd-mini.is-danger,
  .qbc-pm-action.is-danger,
  .qbc-update-log-gui-btn.is-danger
) {
  background-color: rgba(220, 38, 38, 0.2) !important;
  color: #fca5a5 !important;
}

html[data-theme="dark"] :is(
  .qbc-bc-header,
  .qbc-cd-header,
  .qbc-gg-header,
  .qbc-bw-header,
  .qbc-checkin-header,
  .qbc-pm-header,
  .qbc-announcement-header
) {
  color: #f8fafc !important;
}

html[data-theme="dark"] ::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

html[data-theme="dark"] ::-webkit-scrollbar-track {
  background: #0b1120;
}

html[data-theme="dark"] ::-webkit-scrollbar-thumb {
  border: 2px solid #0b1120;
  border-radius: 999px;
  background: #334155;
}

html[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

html[data-theme="dark"] :is(
  .qbc-update-log-date,
  .qbc-update-log-release.is-latest .qbc-update-log-date,
  .qbc-update-log-gui-launch,
  .qbc-update-log-format-help,
  .qbc-update-log-format-help-body,
  .qbc-update-log-editor-body,
  .qbc-update-log-editor-footer,
  .qbc-update-log-gui-version,
  .qbc-update-log-gui-version.is-collapsed,
  .qbc-update-log-gui-version-toggle,
  .qbc-update-log-gui-item,
  .qbc-update-log-gui-item.is-expanded,
  .qbc-update-log-gui-item-body,
  .qbc-update-log-gui-input,
  .qbc-update-log-gui-textarea,
  .qbc-update-log-gui-child,
  .qbc-update-log-gui-add,
  .qbc-update-log-gui-empty,
  .qbc-update-log-main-item,
  .qbc-update-log-main-index,
  .qbc-update-log-empty,
  .qbc-update-log-count,
  .qbc-update-log-draft-notice,
  .qbc-update-log-draft-discard,
  .qbc-update-log-gui-chevron,
  .qbc-update-log-gui-item-meta,
  .qbc-update-log-gui-index
) {
  border-color: #334155 !important;
  background: #111827 !important;
  background-image: none !important;
}

html[data-theme="dark"] :is(
  .qbc-update-log-date,
  .qbc-update-log-release.is-latest .qbc-update-log-date,
  .qbc-update-log-draft-notice
) {
  background: #172033 !important;
}

html[data-theme="dark"] :is(
  .qbc-update-log-gui-launch-copy strong,
  .qbc-update-log-format-help summary,
  .qbc-update-log-format-help strong,
  .qbc-update-log-gui-version-toggle,
  .qbc-update-log-gui-item-meta,
  .qbc-update-log-gui-index,
  .qbc-update-log-count,
  .qbc-update-log-date-meta,
  .qbc-update-log-gui-chevron
) {
  color: #5eead4 !important;
}

html[data-theme="dark"] .qbc-update-log-date-time {
  background: rgba(96, 165, 250, 0.16) !important;
  color: #93c5fd !important;
}

html[data-theme="dark"] .qbc-update-log-date-seq {
  background: rgba(251, 191, 36, 0.18) !important;
  color: #fcd34d !important;
}

html[data-theme="dark"] :is(
  .qbc-update-log-gui-launch-copy span,
  .qbc-update-log-format-help,
  .qbc-update-log-format-help-body,
  .qbc-update-log-editor-hint,
  .qbc-update-log-gui-child,
  .qbc-update-log-gui-add,
  .qbc-update-log-gui-empty,
  .qbc-update-log-draft-notice
) {
  color: #94a3b8 !important;
}

html[data-theme="dark"] :is(
  .qbc-update-log-gui-input,
  .qbc-update-log-gui-textarea,
  .qbc-update-log-gui-child .qbc-update-log-gui-input
) {
  color: #e2e8f0 !important;
}

html[data-theme="dark"] .qbc-update-log-format-help code {
  background: #172033 !important;
  color: #99f6e4 !important;
}

html[data-theme="dark"] .qbc-update-log-draft-discard {
  color: #fbbf24 !important;
}

html[data-theme="dark"] .qbc-update-log-save-choice-body {
  color: #94a3b8 !important;
}

html[data-theme="dark"] .qbc-update-log-save-choice-option {
  border-color: #334155 !important;
  background: #111827 !important;
}

html[data-theme="dark"] .qbc-update-log-save-choice-option.is-push {
  border-color: #0f766e !important;
  background: #0b2b28 !important;
}

html[data-theme="dark"] .qbc-update-log-save-choice-option strong {
  color: #e2e8f0 !important;
}

html[data-theme="dark"] .qbc-update-log-save-choice-option span {
  color: #94a3b8 !important;
}

html[data-theme="dark"] :is(
  .qbc-update-log-note,
  .qbc-update-log-version-note,
  .qbc-update-log-gui-note,
  .qbc-update-log-gui-version-note
) {
  border-color: #78350f !important;
  border-left-color: #f59e0b !important;
  background: #261b0c !important;
  color: #fbbf24 !important;
}

html[data-theme="dark"] .qbc-pm-help {
  border-color: #334155 !important;
  background: linear-gradient(180deg, #111827 0%, #151d2e 100%) !important;
}

html[data-theme="dark"] .qbc-pm-help-summary {
  color: #e2e8f0 !important;
}

html[data-theme="dark"] .qbc-pm-help-summary::after {
  border-color: #334155 !important;
  background: #0f172a !important;
  color: #a5b4fc !important;
}

html[data-theme="dark"] .qbc-pm-help-label strong {
  color: #c7d2fe !important;
}

html[data-theme="dark"] .qbc-pm-help-badge {
  background: #1e1b4b !important;
  color: #c7d2fe !important;
}

html[data-theme="dark"] .qbc-pm-help-body {
  border-top-color: #263247 !important;
}

html[data-theme="dark"] .qbc-pm-help-intro,
html[data-theme="dark"] .qbc-pm-help-step-copy span,
html[data-theme="dark"] .qbc-pm-help-notes ul {
  color: #94a3b8 !important;
}

html[data-theme="dark"] .qbc-pm-help-step {
  border-color: #263247 !important;
  background: #172033 !important;
}

html[data-theme="dark"] .qbc-pm-help-step-index {
  background: #1e1b4b !important;
  color: #c7d2fe !important;
}

html[data-theme="dark"] .qbc-pm-help-step-copy strong,
html[data-theme="dark"] .qbc-pm-help-notes strong {
  color: #e2e8f0 !important;
}

html[data-theme="dark"] .qbc-pm-help-command {
  background: #1e1b4b !important;
  color: #c7d2fe !important;
}

html[data-theme="dark"] .qbc-pm-help-notes {
  background: #172033 !important;
}

@media (max-width: 767px) {
  .qbc-theme-toggle {
    width: 36px;
    min-width: 36px;
    padding: 0;
  }

  .qbc-theme-toggle-text {
    display: none;
  }
}
