
@supports (color: color-mix(in srgb, red 50%, transparent)) {

html[data-theme="dark"] {
  color-scheme: dark;
  --qc-fg: #F5F1EE;              /* GOAL 4B.5 dark fg */
  --qc-fg-secondary: #948C85;
  --qc-fg-tertiary: #948C85;
  --qc-surface-0: #0F0D0C;
  --qc-surface-1: #171412;
  --qc-surface-2: #0A0908;
  --qc-badge-blue: #93c5fd;      /* == blue-300 */
  --qc-badge-emerald: #6ee7b7;   /* == emerald-300 */
  --qc-badge-amber: #fcd34d;     /* == amber-300 */
  --qc-badge-green: #86efac;     /* == green-300 */
  --qc-badge-orange: #fdba74;    /* == orange-300 */
  --qc-badge-purple: #d8b4fe;    /* == purple-300 */
  --qc-badge-indigo: #a5b4fc;    /* == indigo-300 */
  --qc-badge-red: #fca5a5;       /* == red-300 */
  --qc-badge-teal: #5eead4;      /* == teal-300 */
  --qc-badge-cyan: #67e8f9;      /* == cyan-300 */
  --qc-badge-sky: #7dd3fc;       /* == sky-300 */
  --qc-badge-violet: #c4b5fd;    /* == violet-300 */
  --qc-badge-rose: #fda4af;      /* == rose-300 */
  --qc-brand: #E39A82;           /* GOAL 4B.5 dark brand */
  --qc-brand-on: #0F0D0C;
  --qc-brand-fill: #A35941;      /* regular-size fill buttons (white text 5.17:1) */
  --qc-brand-fill-hover: #8F4D38;/* fill hover (white text 6.39:1, darker) */
  --qc-brand-text: #E39A82;      /* dark-theme text = brand */
  --qc-brand-text-hover: #EDAF9B;
}

html[data-theme="light"] {
  color-scheme: light;
  --qc-fg: #1A1613;              /* GOAL 4B.5 light fg */
  --qc-fg-body: #413A34;
  --qc-fg-secondary: #6E6660;
  --qc-fg-tertiary: #6E6660;
  --qc-surface-0: #FBFAF9;
  --qc-surface-1: #FFFFFF;
  --qc-surface-2: #F4F1EE;
  --qc-hairline: rgba(26, 22, 19, .10);
  --qc-shadow-rest: 0 1px 2px rgba(0, 0, 0, .04), 0 4px 16px rgba(0, 0, 0, .06);
  --qc-shadow-hover: 0 2px 6px rgba(0, 0, 0, .05), 0 10px 28px rgba(0, 0, 0, .09);
  --qc-shadow-modal: 0 8px 32px rgba(0, 0, 0, .12), 0 2px 8px rgba(0, 0, 0, .06);
  --qc-brand: #D97757;
  --qc-brand-on: #1D1D1F;
  --qc-brand-fill: #A35941;
  --qc-brand-fill-hover: #8F4D38;
  --qc-brand-text: #A8461F;
  --qc-brand-text-hover: #9C4A24;
  --qc-badge-blue: #1d4ed8;      /* == blue-700 */
  --qc-badge-emerald: #047857;   /* == emerald-700 */
  --qc-badge-amber: #b45309;     /* == amber-700 */
  --qc-badge-green: #15803d;     /* == green-700 */
  --qc-badge-orange: #c2410c;    /* == orange-700 */
  --qc-badge-purple: #7e22ce;    /* == purple-700 */
  --qc-badge-indigo: #4338ca;    /* == indigo-700 */
  --qc-badge-red: #b91c1c;       /* == red-700 */
  --qc-badge-teal: #0f766e;      /* == teal-700 */
  --qc-badge-cyan: #0e7490;      /* == cyan-700 */
  --qc-badge-sky: #0369a1;       /* == sky-700 */
  --qc-badge-violet: #6d28d9;    /* == violet-700 */
  --qc-badge-rose: #be123c;      /* == rose-700 */
}

[data-theme] .qc-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: 1px solid color-mix(in srgb, var(--qc-fg) 15%, transparent);
  background: color-mix(in srgb, var(--qc-fg) 6%, transparent);
  color: var(--qc-fg);
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
  flex-shrink: 0;
}
[data-theme] .qc-theme-toggle:hover {
  background: color-mix(in srgb, var(--qc-fg) 12%, transparent);
}
[data-theme] .qc-theme-toggle svg {
  width: 1.1rem;
  height: 1.1rem;
}
[data-theme] .qc-theme-toggle-mobile {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  justify-content: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}


[data-theme] .qc-ink.bg-ink-950,
[data-theme] .qc-ink .bg-ink-950 { background-color: var(--qc-surface-0); }
[data-theme] .qc-ink .bg-ink-900 { background-color: var(--qc-surface-1); }
[data-theme] .qc-ink .bg-ink-800 { background-color: var(--qc-surface-2); }

[data-theme] .qc-ink .from-ink-950 {
  --tw-gradient-from: var(--qc-surface-0) var(--tw-gradient-from-position);
  --tw-gradient-to: color-mix(in srgb, var(--qc-surface-0) 0%, transparent) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
[data-theme] .qc-ink .via-ink-950\/80 {
  --tw-gradient-to: color-mix(in srgb, var(--qc-surface-0) 0%, transparent) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), color-mix(in srgb, var(--qc-surface-0) 80%, transparent) var(--tw-gradient-via-position), var(--tw-gradient-to);
}
[data-theme] .qc-ink .to-ink-950\/20 {
  --tw-gradient-to: color-mix(in srgb, var(--qc-surface-0) 20%, transparent) var(--tw-gradient-to-position);
}
[data-theme] .qc-ink .to-ink-950 {
  --tw-gradient-to: var(--qc-surface-0) var(--tw-gradient-to-position);
}

[data-theme] .qc-ink.text-white:not(.qc-keep):not(.qc-keep *),
[data-theme] .qc-ink .text-white:not(.qc-keep):not(.qc-keep *) { color: var(--qc-fg); }
[data-theme] .qc-ink .text-white\/90:not(.qc-keep):not(.qc-keep *) { color: color-mix(in srgb, var(--qc-fg) 90%, transparent); }
[data-theme] .qc-ink .text-white\/80:not(.qc-keep):not(.qc-keep *) { color: color-mix(in srgb, var(--qc-fg) 80%, transparent); }
[data-theme] .qc-ink .text-white\/70:not(.qc-keep):not(.qc-keep *) { color: color-mix(in srgb, var(--qc-fg) 70%, transparent); }
[data-theme] .qc-ink .text-white\/60:not(.qc-keep):not(.qc-keep *) { color: color-mix(in srgb, var(--qc-fg) 60%, transparent); }
[data-theme] .qc-ink .text-white\/50:not(.qc-keep):not(.qc-keep *) { color: color-mix(in srgb, var(--qc-fg) 50%, transparent); }
html[data-theme="dark"] .qc-ink .text-white\/40:not(.qc-keep):not(.qc-keep *) { color: var(--qc-fg-secondary); }
html[data-theme="light"] .qc-ink .text-white\/40:not(.qc-keep):not(.qc-keep *) { color: var(--qc-fg-secondary); }
[data-theme] .qc-ink .text-white\/30:not(.qc-keep):not(.qc-keep *) { color: color-mix(in srgb, var(--qc-fg) 30%, transparent); }
[data-theme] .qc-ink .text-white\/20:not(.qc-keep):not(.qc-keep *) { color: color-mix(in srgb, var(--qc-fg) 20%, transparent); }

[data-theme] .qc-ink .text-gray-200:not(.qc-keep):not(.qc-keep *) { color: color-mix(in srgb, var(--qc-fg) 75%, transparent); }
[data-theme] .qc-ink .text-gray-300:not(.qc-keep):not(.qc-keep *) { color: color-mix(in srgb, var(--qc-fg) 65%, transparent); }
[data-theme] .qc-ink .text-gray-400:not(.qc-keep):not(.qc-keep *) { color: color-mix(in srgb, var(--qc-fg) 60%, transparent); }
[data-theme] .qc-ink .text-ink-muted:not(.qc-keep):not(.qc-keep *) { color: color-mix(in srgb, var(--qc-fg) 60%, transparent); }

[data-theme] .qc-ink .bg-white\/5:not(.qc-keep):not(.qc-keep *) { background-color: color-mix(in srgb, var(--qc-fg) 5%, transparent); }
[data-theme] .qc-ink .bg-white\/10:not(.qc-keep):not(.qc-keep *) { background-color: color-mix(in srgb, var(--qc-fg) 10%, transparent); }
[data-theme] .qc-ink .bg-white\/20:not(.qc-keep):not(.qc-keep *) { background-color: color-mix(in srgb, var(--qc-fg) 20%, transparent); }
[data-theme] .qc-ink .bg-white\/30:not(.qc-keep):not(.qc-keep *) { background-color: color-mix(in srgb, var(--qc-fg) 30%, transparent); }
[data-theme] .qc-ink .bg-white\/15:not(.qc-keep):not(.qc-keep *) { background-color: color-mix(in srgb, var(--qc-fg) 15%, transparent); }

[data-theme] .qc-ink .border-white\/10:not(.qc-keep):not(.qc-keep *) { border-color: color-mix(in srgb, var(--qc-fg) 10%, transparent); }
[data-theme] .qc-ink .border-white\/15:not(.qc-keep):not(.qc-keep *) { border-color: color-mix(in srgb, var(--qc-fg) 15%, transparent); }
[data-theme] .qc-ink .border-white\/20:not(.qc-keep):not(.qc-keep *) { border-color: color-mix(in srgb, var(--qc-fg) 20%, transparent); }
[data-theme] .qc-ink .border-white\/30:not(.qc-keep):not(.qc-keep *) { border-color: color-mix(in srgb, var(--qc-fg) 30%, transparent); }
[data-theme] .qc-ink .border-white\/40:not(.qc-keep):not(.qc-keep *) { border-color: color-mix(in srgb, var(--qc-fg) 40%, transparent); }
[data-theme] .qc-ink .divide-white\/5 > :not([hidden]) ~ :not([hidden]):not(.qc-keep):not(.qc-keep *) { border-color: color-mix(in srgb, var(--qc-fg) 5%, transparent); }
[data-theme] .qc-ink .divide-white\/10 > :not([hidden]) ~ :not([hidden]):not(.qc-keep):not(.qc-keep *) { border-color: color-mix(in srgb, var(--qc-fg) 10%, transparent); }
[data-theme] .qc-ink .placeholder-white\/40:not(.qc-keep):not(.qc-keep *)::placeholder { color: color-mix(in srgb, var(--qc-fg) 40%, transparent); }

[data-theme] .qc-ink .bg-ink-950\/60 { background-color: color-mix(in srgb, var(--qc-surface-0) 60%, transparent); }

[data-theme] .qc-ink .border-white { border-color: var(--qc-surface-0); }

[data-theme] .qc-ink .text-blue-300 { color: var(--qc-badge-blue); }
[data-theme] .qc-ink .text-emerald-300 { color: var(--qc-badge-emerald); }
[data-theme] .qc-ink .text-amber-300 { color: var(--qc-badge-amber); }
html[data-theme="dark"] .qc-ink .text-yellow-300 { color: var(--qc-badge-amber); }
html[data-theme="light"] .qc-ink .text-yellow-300 { color: #92400e; }
[data-theme] .qc-ink .text-green-300 { color: var(--qc-badge-green); }
[data-theme] .qc-ink .text-orange-300 { color: var(--qc-badge-orange); }
[data-theme] .qc-ink .text-purple-300 { color: var(--qc-badge-purple); }
[data-theme] .qc-ink .text-indigo-300 { color: var(--qc-badge-indigo); }
html[data-theme="dark"] .qc-ink .text-indigo-200 { color: #c7d2fe; }
html[data-theme="light"] .qc-ink .text-indigo-200 { color: var(--qc-badge-indigo); }
[data-theme] .qc-ink .text-red-300 { color: var(--qc-badge-red); }

[data-theme] .qc-ink .bg-black\/80 { background-color: color-mix(in srgb, var(--qc-surface-0) 80%, transparent); }

[data-theme] .qc-ink .nav-auth-dark > div > a:not(.qc-keep):not(.qc-keep *),
[data-theme] .qc-ink .nav-auth-dark > div > span:not(.qc-keep):not(.qc-keep *),
[data-theme] .qc-ink .nav-auth-dark > div > button:not(.qc-keep):not(.qc-keep *),
[data-theme] .qc-ink .nav-auth-dark > div > div > button:not(.qc-keep):not(.qc-keep *) {
  color: color-mix(in srgb, var(--qc-fg) 80%, transparent);
}
[data-theme] .qc-ink .nav-auth-dark > div > a:hover:not(.qc-keep):not(.qc-keep *) { color: var(--qc-fg); }

[data-theme] .qc-paper.bg-white,
[data-theme] .qc-paper .bg-white:not(.qc-keep):not(.qc-keep *) { background-color: var(--qc-surface-0); }
[data-theme] .qc-paper.bg-gray-50,
[data-theme] .qc-paper .bg-gray-50:not(.qc-keep):not(.qc-keep *) { background-color: var(--qc-surface-1); }

[data-theme] .qc-paper .text-gray-900:not(.qc-keep):not(.qc-keep *),
[data-theme] .qc-paper .text-gray-800:not(.qc-keep):not(.qc-keep *) { color: var(--qc-fg); }
[data-theme] .qc-paper .text-gray-700:not(.qc-keep):not(.qc-keep *) { color: color-mix(in srgb, var(--qc-fg) 80%, transparent); }
[data-theme] .qc-paper .text-gray-600:not(.qc-keep):not(.qc-keep *) { color: color-mix(in srgb, var(--qc-fg) 70%, transparent); }
[data-theme] .qc-paper .text-gray-500:not(.qc-keep):not(.qc-keep *) { color: color-mix(in srgb, var(--qc-fg) 60%, transparent); }
[data-theme] .qc-paper .text-gray-300:not(.qc-keep):not(.qc-keep *) { color: color-mix(in srgb, var(--qc-fg) 35%, transparent); }

[data-theme] .qc-paper .border-gray-200:not(.qc-keep):not(.qc-keep *) { border-color: color-mix(in srgb, var(--qc-fg) 12%, transparent); }
[data-theme] .qc-paper .border-gray-300:not(.qc-keep):not(.qc-keep *) { border-color: color-mix(in srgb, var(--qc-fg) 20%, transparent); }

[data-theme] .qc-paper .prose:not(.qc-keep):not(.qc-keep *) { color: var(--qc-fg); }

[data-theme] .panel-dark .bg-white { background-color: var(--qc-surface-1); }
[data-theme] .panel-dark .bg-gray-50,
[data-theme] .panel-dark .bg-gray-100 { background-color: var(--qc-surface-2); }
[data-theme] .panel-dark .text-gray-900,
[data-theme] .panel-dark .text-gray-800 { color: var(--qc-fg); }
[data-theme] .panel-dark .text-gray-700,
[data-theme] .panel-dark .text-gray-600 { color: color-mix(in srgb, var(--qc-fg) 70%, transparent); }
[data-theme] .panel-dark .text-gray-500,
[data-theme] .panel-dark .text-gray-400 { color: color-mix(in srgb, var(--qc-fg) 40%, transparent); }
[data-theme] .panel-dark .border-gray-200,
[data-theme] .panel-dark .border-gray-100,
[data-theme] .panel-dark .divide-gray-200 > * + *,
[data-theme] .panel-dark .divide-gray-100 > * + * { border-color: color-mix(in srgb, var(--qc-fg) 10%, transparent); }
[data-theme] .panel-dark input:not([type=checkbox]):not([type=radio]),
[data-theme] .panel-dark select,
[data-theme] .panel-dark textarea { background-color: var(--qc-surface-2); border-color: color-mix(in srgb, var(--qc-fg) 15%, transparent); color: var(--qc-fg); }
[data-theme] .panel-dark input::placeholder,
[data-theme] .panel-dark textarea::placeholder { color: color-mix(in srgb, var(--qc-fg) 40%, transparent); }

[data-theme] .panel-dark .text-red-600, [data-theme] .panel-dark .text-red-700,
[data-theme] .panel-dark .text-red-800, [data-theme] .panel-dark .text-red-900 { color: var(--qc-badge-red); }
[data-theme] .panel-dark .text-orange-600, [data-theme] .panel-dark .text-orange-700,
[data-theme] .panel-dark .text-orange-800, [data-theme] .panel-dark .text-orange-900 { color: var(--qc-badge-orange); }
[data-theme] .panel-dark .text-yellow-600, [data-theme] .panel-dark .text-yellow-700,
[data-theme] .panel-dark .text-yellow-800, [data-theme] .panel-dark .text-yellow-900 { color: var(--qc-badge-amber); }
[data-theme] .panel-dark .text-green-600, [data-theme] .panel-dark .text-green-700,
[data-theme] .panel-dark .text-green-800, [data-theme] .panel-dark .text-green-900 { color: var(--qc-badge-green); }
[data-theme] .panel-dark .text-blue-600, [data-theme] .panel-dark .text-blue-700,
[data-theme] .panel-dark .text-blue-800, [data-theme] .panel-dark .text-blue-900 { color: var(--qc-badge-blue); }
[data-theme] .panel-dark .text-purple-600, [data-theme] .panel-dark .text-purple-700,
[data-theme] .panel-dark .text-purple-800, [data-theme] .panel-dark .text-purple-900 { color: var(--qc-badge-purple); }
[data-theme] .panel-dark .text-indigo-600, [data-theme] .panel-dark .text-indigo-700,
[data-theme] .panel-dark .text-indigo-800, [data-theme] .panel-dark .text-indigo-900 { color: var(--qc-badge-indigo); }
[data-theme] .panel-dark .text-amber-600, [data-theme] .panel-dark .text-amber-700,
[data-theme] .panel-dark .text-amber-800, [data-theme] .panel-dark .text-amber-900 { color: var(--qc-badge-amber); }
[data-theme] .panel-dark .text-emerald-600, [data-theme] .panel-dark .text-emerald-700,
[data-theme] .panel-dark .text-emerald-800, [data-theme] .panel-dark .text-emerald-900 { color: var(--qc-badge-emerald); }
[data-theme] .panel-dark .hover\:text-blue-600:hover, [data-theme] .panel-dark .hover\:text-blue-700:hover,
[data-theme] .panel-dark .hover\:text-blue-800:hover { color: var(--qc-badge-blue); }
[data-theme] .panel-dark .hover\:text-emerald-600:hover { color: var(--qc-badge-emerald); }
[data-theme] .panel-dark .hover\:text-red-600:hover, [data-theme] .panel-dark .hover\:text-red-700:hover,
[data-theme] .panel-dark .hover\:text-red-800:hover { color: var(--qc-badge-red); }
[data-theme] .panel-dark .hover\:text-gray-600:hover { color: color-mix(in srgb, var(--qc-fg) 70%, transparent); }
[data-theme] .panel-dark .hover\:text-gray-800:hover { color: var(--qc-fg); }
[data-theme] .panel-dark .group:hover .group-hover\:text-blue-600 { color: var(--qc-badge-blue); }
[data-theme] .panel-dark .group:hover .group-hover\:text-red-700 { color: var(--qc-badge-red); }

[data-theme] .panel-dark .bg-gray-200 { background-color: color-mix(in srgb, var(--qc-fg) 10%, transparent); }
[data-theme] .panel-dark .text-gray-300 { color: color-mix(in srgb, var(--qc-fg) 30%, transparent); }
[data-theme] .panel-dark .border-gray-300 { border-color: color-mix(in srgb, var(--qc-fg) 15%, transparent); }
[data-theme] .panel-dark .hover\:border-gray-300:hover { border-color: color-mix(in srgb, var(--qc-fg) 15%, transparent); }


[data-theme] .qc-paper .bg-amber-50:not(.qc-keep):not(.qc-keep *) { background-color: color-mix(in srgb, #f59e0b 10%, var(--qc-surface-1)); }
[data-theme] .qc-paper .bg-blue-50:not(.qc-keep):not(.qc-keep *) { background-color: color-mix(in srgb, #3b82f6 10%, var(--qc-surface-1)); }
[data-theme] .qc-paper .bg-cyan-50:not(.qc-keep):not(.qc-keep *) { background-color: color-mix(in srgb, #06b6d4 10%, var(--qc-surface-1)); }
[data-theme] .qc-paper .bg-emerald-50:not(.qc-keep):not(.qc-keep *) { background-color: color-mix(in srgb, #10b981 10%, var(--qc-surface-1)); }
[data-theme] .qc-paper .bg-gray-50:not(.qc-keep):not(.qc-keep *) { background-color: var(--qc-surface-1); }
[data-theme] .qc-paper .bg-gray-100:not(.qc-keep):not(.qc-keep *) { background-color: var(--qc-surface-2); }
[data-theme] .qc-paper .bg-green-50:not(.qc-keep):not(.qc-keep *) { background-color: color-mix(in srgb, #22c55e 10%, var(--qc-surface-1)); }
[data-theme] .qc-paper .bg-indigo-50:not(.qc-keep):not(.qc-keep *) { background-color: color-mix(in srgb, #6366f1 10%, var(--qc-surface-1)); }
[data-theme] .qc-paper .bg-orange-50:not(.qc-keep):not(.qc-keep *) { background-color: color-mix(in srgb, #f97316 10%, var(--qc-surface-1)); }
[data-theme] .qc-paper .bg-purple-50:not(.qc-keep):not(.qc-keep *) { background-color: color-mix(in srgb, #a855f7 10%, var(--qc-surface-1)); }
[data-theme] .qc-paper .bg-red-50:not(.qc-keep):not(.qc-keep *) { background-color: color-mix(in srgb, #ef4444 10%, var(--qc-surface-1)); }
[data-theme] .qc-paper .bg-teal-50:not(.qc-keep):not(.qc-keep *) { background-color: color-mix(in srgb, #14b8a6 10%, var(--qc-surface-1)); }
[data-theme] .qc-paper .bg-violet-50:not(.qc-keep):not(.qc-keep *) { background-color: color-mix(in srgb, #8b5cf6 10%, var(--qc-surface-1)); }
[data-theme] .qc-paper .bg-yellow-50:not(.qc-keep):not(.qc-keep *) { background-color: color-mix(in srgb, #eab308 10%, var(--qc-surface-1)); }
[data-theme] .qc-paper .bg-sky-50:not(.qc-keep):not(.qc-keep *) { background-color: color-mix(in srgb, #0ea5e9 10%, var(--qc-surface-1)); }
[data-theme] .qc-paper .bg-rose-50:not(.qc-keep):not(.qc-keep *) { background-color: color-mix(in srgb, #f43f5e 10%, var(--qc-surface-1)); }

html[data-theme="dark"] .qc-paper .bg-amber-100:not(.qc-keep):not(.qc-keep *) { background-color: color-mix(in srgb, #f59e0b 16%, var(--qc-surface-1)); }
html[data-theme="dark"] .qc-paper .bg-blue-100:not(.qc-keep):not(.qc-keep *) { background-color: color-mix(in srgb, #3b82f6 16%, var(--qc-surface-1)); }
html[data-theme="dark"] .qc-paper .bg-cyan-100:not(.qc-keep):not(.qc-keep *) { background-color: color-mix(in srgb, #06b6d4 16%, var(--qc-surface-1)); }
html[data-theme="dark"] .qc-paper .bg-emerald-100:not(.qc-keep):not(.qc-keep *) { background-color: color-mix(in srgb, #10b981 16%, var(--qc-surface-1)); }
html[data-theme="dark"] .qc-paper .bg-green-100:not(.qc-keep):not(.qc-keep *) { background-color: color-mix(in srgb, #22c55e 16%, var(--qc-surface-1)); }
html[data-theme="dark"] .qc-paper .bg-indigo-100:not(.qc-keep):not(.qc-keep *) { background-color: color-mix(in srgb, #6366f1 16%, var(--qc-surface-1)); }
html[data-theme="dark"] .qc-paper .bg-orange-100:not(.qc-keep):not(.qc-keep *) { background-color: color-mix(in srgb, #f97316 16%, var(--qc-surface-1)); }
html[data-theme="dark"] .qc-paper .bg-purple-100:not(.qc-keep):not(.qc-keep *) { background-color: color-mix(in srgb, #a855f7 16%, var(--qc-surface-1)); }
html[data-theme="dark"] .qc-paper .bg-red-100:not(.qc-keep):not(.qc-keep *) { background-color: color-mix(in srgb, #ef4444 16%, var(--qc-surface-1)); }
html[data-theme="dark"] .qc-paper .bg-rose-100:not(.qc-keep):not(.qc-keep *) { background-color: color-mix(in srgb, #f43f5e 16%, var(--qc-surface-1)); }
html[data-theme="dark"] .qc-paper .bg-sky-100:not(.qc-keep):not(.qc-keep *) { background-color: color-mix(in srgb, #0ea5e9 16%, var(--qc-surface-1)); }
html[data-theme="dark"] .qc-paper .bg-teal-100:not(.qc-keep):not(.qc-keep *) { background-color: color-mix(in srgb, #14b8a6 16%, var(--qc-surface-1)); }
html[data-theme="dark"] .qc-paper .bg-violet-100:not(.qc-keep):not(.qc-keep *) { background-color: color-mix(in srgb, #8b5cf6 16%, var(--qc-surface-1)); }
html[data-theme="dark"] .qc-paper .bg-yellow-100:not(.qc-keep):not(.qc-keep *) { background-color: color-mix(in srgb, #eab308 16%, var(--qc-surface-1)); }

html[data-theme="dark"] .qc-paper :is(.text-red-600, .text-red-700, .text-red-800, .text-red-900):not(.qc-keep):not(.qc-keep *) { color: var(--qc-badge-red); }
html[data-theme="dark"] .qc-paper :is(.text-orange-600, .text-orange-700, .text-orange-800, .text-orange-900):not(.qc-keep):not(.qc-keep *) { color: var(--qc-badge-orange); }
html[data-theme="dark"] .qc-paper :is(.text-amber-600, .text-amber-700, .text-amber-800, .text-amber-900):not(.qc-keep):not(.qc-keep *) { color: var(--qc-badge-amber); }
html[data-theme="dark"] .qc-paper :is(.text-yellow-600, .text-yellow-700, .text-yellow-800, .text-yellow-900):not(.qc-keep):not(.qc-keep *) { color: var(--qc-badge-amber); }
html[data-theme="dark"] .qc-paper :is(.text-green-600, .text-green-700, .text-green-800, .text-green-900):not(.qc-keep):not(.qc-keep *) { color: var(--qc-badge-green); }
html[data-theme="dark"] .qc-paper :is(.text-emerald-600, .text-emerald-700, .text-emerald-800, .text-emerald-900):not(.qc-keep):not(.qc-keep *) { color: var(--qc-badge-emerald); }
html[data-theme="dark"] .qc-paper :is(.text-teal-600, .text-teal-700, .text-teal-800, .text-teal-900):not(.qc-keep):not(.qc-keep *) { color: var(--qc-badge-teal); }
html[data-theme="dark"] .qc-paper :is(.text-cyan-600, .text-cyan-700, .text-cyan-800, .text-cyan-900):not(.qc-keep):not(.qc-keep *) { color: var(--qc-badge-cyan); }
html[data-theme="dark"] .qc-paper :is(.text-sky-600, .text-sky-700, .text-sky-800, .text-sky-900):not(.qc-keep):not(.qc-keep *) { color: var(--qc-badge-sky); }
html[data-theme="dark"] .qc-paper :is(.text-blue-600, .text-blue-700, .text-blue-800, .text-blue-900):not(.qc-keep):not(.qc-keep *) { color: var(--qc-badge-blue); }
html[data-theme="dark"] .qc-paper :is(.text-indigo-600, .text-indigo-700, .text-indigo-800, .text-indigo-900):not(.qc-keep):not(.qc-keep *) { color: var(--qc-badge-indigo); }
html[data-theme="dark"] .qc-paper :is(.text-purple-600, .text-purple-700, .text-purple-800, .text-purple-900):not(.qc-keep):not(.qc-keep *) { color: var(--qc-badge-purple); }
html[data-theme="dark"] .qc-paper :is(.text-violet-600, .text-violet-700, .text-violet-800, .text-violet-900):not(.qc-keep):not(.qc-keep *) { color: var(--qc-badge-violet); }
html[data-theme="dark"] .qc-paper :is(.text-rose-600, .text-rose-700, .text-rose-800, .text-rose-900):not(.qc-keep):not(.qc-keep *) { color: var(--qc-badge-rose); }

[data-theme] .qc-paper .from-amber-50 { --tw-gradient-from: color-mix(in srgb, #f59e0b 10%, var(--qc-surface-1)) var(--tw-gradient-from-position); }
[data-theme] .qc-paper .from-blue-50 { --tw-gradient-from: color-mix(in srgb, #3b82f6 10%, var(--qc-surface-1)) var(--tw-gradient-from-position); }
[data-theme] .qc-paper .from-cyan-50 { --tw-gradient-from: color-mix(in srgb, #06b6d4 10%, var(--qc-surface-1)) var(--tw-gradient-from-position); }
[data-theme] .qc-paper .from-emerald-50 { --tw-gradient-from: color-mix(in srgb, #10b981 10%, var(--qc-surface-1)) var(--tw-gradient-from-position); }
[data-theme] .qc-paper .from-fuchsia-50 { --tw-gradient-from: color-mix(in srgb, #d946ef 10%, var(--qc-surface-1)) var(--tw-gradient-from-position); }
[data-theme] .qc-paper .from-gray-50 { --tw-gradient-from: var(--qc-surface-1) var(--tw-gradient-from-position); }
[data-theme] .qc-paper .from-green-50 { --tw-gradient-from: color-mix(in srgb, #22c55e 10%, var(--qc-surface-1)) var(--tw-gradient-from-position); }
[data-theme] .qc-paper .from-indigo-50 { --tw-gradient-from: color-mix(in srgb, #6366f1 10%, var(--qc-surface-1)) var(--tw-gradient-from-position); }
[data-theme] .qc-paper .from-orange-50 { --tw-gradient-from: color-mix(in srgb, #f97316 10%, var(--qc-surface-1)) var(--tw-gradient-from-position); }
[data-theme] .qc-paper .from-purple-50 { --tw-gradient-from: color-mix(in srgb, #a855f7 10%, var(--qc-surface-1)) var(--tw-gradient-from-position); }
[data-theme] .qc-paper .from-red-50 { --tw-gradient-from: color-mix(in srgb, #ef4444 10%, var(--qc-surface-1)) var(--tw-gradient-from-position); }
[data-theme] .qc-paper .from-rose-50 { --tw-gradient-from: color-mix(in srgb, #f43f5e 10%, var(--qc-surface-1)) var(--tw-gradient-from-position); }
[data-theme] .qc-paper .from-sky-50 { --tw-gradient-from: color-mix(in srgb, #0ea5e9 10%, var(--qc-surface-1)) var(--tw-gradient-from-position); }
[data-theme] .qc-paper .from-teal-50 { --tw-gradient-from: color-mix(in srgb, #14b8a6 10%, var(--qc-surface-1)) var(--tw-gradient-from-position); }
[data-theme] .qc-paper .from-violet-50 { --tw-gradient-from: color-mix(in srgb, #8b5cf6 10%, var(--qc-surface-1)) var(--tw-gradient-from-position); }
[data-theme] .qc-paper .from-yellow-50 { --tw-gradient-from: color-mix(in srgb, #eab308 10%, var(--qc-surface-1)) var(--tw-gradient-from-position); }

[data-theme] .qc-paper .to-amber-50 { --tw-gradient-to: color-mix(in srgb, #f59e0b 10%, var(--qc-surface-1)) var(--tw-gradient-to-position); }
[data-theme] .qc-paper .to-amber-100 { --tw-gradient-to: color-mix(in srgb, #f59e0b 16%, var(--qc-surface-1)) var(--tw-gradient-to-position); }
[data-theme] .qc-paper .to-blue-50 { --tw-gradient-to: color-mix(in srgb, #3b82f6 10%, var(--qc-surface-1)) var(--tw-gradient-to-position); }
[data-theme] .qc-paper .to-blue-100 { --tw-gradient-to: color-mix(in srgb, #3b82f6 16%, var(--qc-surface-1)) var(--tw-gradient-to-position); }
[data-theme] .qc-paper .to-cyan-50 { --tw-gradient-to: color-mix(in srgb, #06b6d4 10%, var(--qc-surface-1)) var(--tw-gradient-to-position); }
[data-theme] .qc-paper .to-cyan-100 { --tw-gradient-to: color-mix(in srgb, #06b6d4 16%, var(--qc-surface-1)) var(--tw-gradient-to-position); }
[data-theme] .qc-paper .to-emerald-50 { --tw-gradient-to: color-mix(in srgb, #10b981 10%, var(--qc-surface-1)) var(--tw-gradient-to-position); }
[data-theme] .qc-paper .to-emerald-100 { --tw-gradient-to: color-mix(in srgb, #10b981 16%, var(--qc-surface-1)) var(--tw-gradient-to-position); }
[data-theme] .qc-paper .to-fuchsia-50 { --tw-gradient-to: color-mix(in srgb, #d946ef 10%, var(--qc-surface-1)) var(--tw-gradient-to-position); }
[data-theme] .qc-paper .to-fuchsia-100 { --tw-gradient-to: color-mix(in srgb, #d946ef 16%, var(--qc-surface-1)) var(--tw-gradient-to-position); }
[data-theme] .qc-paper .to-gray-50 { --tw-gradient-to: var(--qc-surface-1) var(--tw-gradient-to-position); }
[data-theme] .qc-paper .to-green-50 { --tw-gradient-to: color-mix(in srgb, #22c55e 10%, var(--qc-surface-1)) var(--tw-gradient-to-position); }
[data-theme] .qc-paper .to-green-100 { --tw-gradient-to: color-mix(in srgb, #22c55e 16%, var(--qc-surface-1)) var(--tw-gradient-to-position); }
[data-theme] .qc-paper .to-indigo-50 { --tw-gradient-to: color-mix(in srgb, #6366f1 10%, var(--qc-surface-1)) var(--tw-gradient-to-position); }
[data-theme] .qc-paper .to-indigo-100 { --tw-gradient-to: color-mix(in srgb, #6366f1 16%, var(--qc-surface-1)) var(--tw-gradient-to-position); }
[data-theme] .qc-paper .to-lime-50 { --tw-gradient-to: color-mix(in srgb, #84cc16 10%, var(--qc-surface-1)) var(--tw-gradient-to-position); }
[data-theme] .qc-paper .to-orange-50 { --tw-gradient-to: color-mix(in srgb, #f97316 10%, var(--qc-surface-1)) var(--tw-gradient-to-position); }
[data-theme] .qc-paper .to-orange-100 { --tw-gradient-to: color-mix(in srgb, #f97316 16%, var(--qc-surface-1)) var(--tw-gradient-to-position); }
[data-theme] .qc-paper .to-pink-50 { --tw-gradient-to: color-mix(in srgb, #ec4899 10%, var(--qc-surface-1)) var(--tw-gradient-to-position); }
[data-theme] .qc-paper .to-purple-50 { --tw-gradient-to: color-mix(in srgb, #a855f7 10%, var(--qc-surface-1)) var(--tw-gradient-to-position); }
[data-theme] .qc-paper .to-purple-100 { --tw-gradient-to: color-mix(in srgb, #a855f7 16%, var(--qc-surface-1)) var(--tw-gradient-to-position); }
[data-theme] .qc-paper .to-red-50 { --tw-gradient-to: color-mix(in srgb, #ef4444 10%, var(--qc-surface-1)) var(--tw-gradient-to-position); }
[data-theme] .qc-paper .to-red-100 { --tw-gradient-to: color-mix(in srgb, #ef4444 16%, var(--qc-surface-1)) var(--tw-gradient-to-position); }
[data-theme] .qc-paper .to-rose-100 { --tw-gradient-to: color-mix(in srgb, #f43f5e 16%, var(--qc-surface-1)) var(--tw-gradient-to-position); }
[data-theme] .qc-paper .to-sky-50 { --tw-gradient-to: color-mix(in srgb, #0ea5e9 10%, var(--qc-surface-1)) var(--tw-gradient-to-position); }
[data-theme] .qc-paper .to-sky-100 { --tw-gradient-to: color-mix(in srgb, #0ea5e9 16%, var(--qc-surface-1)) var(--tw-gradient-to-position); }
[data-theme] .qc-paper .to-teal-50 { --tw-gradient-to: color-mix(in srgb, #14b8a6 10%, var(--qc-surface-1)) var(--tw-gradient-to-position); }
[data-theme] .qc-paper .to-teal-100 { --tw-gradient-to: color-mix(in srgb, #14b8a6 16%, var(--qc-surface-1)) var(--tw-gradient-to-position); }
[data-theme] .qc-paper .to-violet-50 { --tw-gradient-to: color-mix(in srgb, #8b5cf6 10%, var(--qc-surface-1)) var(--tw-gradient-to-position); }
[data-theme] .qc-paper .to-violet-100 { --tw-gradient-to: color-mix(in srgb, #8b5cf6 16%, var(--qc-surface-1)) var(--tw-gradient-to-position); }
[data-theme] .qc-paper .to-yellow-50 { --tw-gradient-to: color-mix(in srgb, #eab308 10%, var(--qc-surface-1)) var(--tw-gradient-to-position); }
[data-theme] .qc-paper .to-yellow-100 { --tw-gradient-to: color-mix(in srgb, #eab308 16%, var(--qc-surface-1)) var(--tw-gradient-to-position); }


html[data-theme="dark"] .qc-ink .pv-accent { color: var(--qc-brand-text); }
html[data-theme="light"] .qc-ink .pv-accent { color: var(--qc-brand-text); }

[data-theme] .qc-ink .pv-meter-track { background: color-mix(in srgb, var(--qc-fg) 8%, transparent); }
[data-theme] .qc-ink .pv-meter-dot { border-color: var(--qc-surface-0); }
[data-theme] .qc-ink .pv-meter-dot--official { background: color-mix(in srgb, var(--qc-fg) 45%, transparent); }
[data-theme] .qc-ink .pv-meter-dot--base { background: var(--qc-fg); }
[data-theme] .qc-ink .pv-meter-dot--yours { background: #d97757; }
[data-theme] .qc-ink .pv-meter-leader { background: color-mix(in srgb, var(--qc-fg) 25%, transparent); }
[data-theme] .qc-ink .pv-meter-leader--yours { background: color-mix(in srgb, #d97757 60%, transparent); }
[data-theme] .qc-ink .pv-meter-gap {
  background: var(--qc-surface-1);
  border-color: color-mix(in srgb, #d97757 45%, transparent);
}
html[data-theme="dark"] .qc-ink .pv-meter-gap { color: #eda07e; }
html[data-theme="light"] .qc-ink .pv-meter-gap { color: #b04a2e; }

[data-theme] .qc-ink .pv-card-l2 { border-top-color: color-mix(in srgb, var(--qc-fg) 12%, transparent); }

[data-theme] .qc-ink .pv-strike { color: color-mix(in srgb, var(--qc-fg) 55%, transparent); }

[data-theme] .qc-ink .pv-quick-chip {
  background: color-mix(in srgb, var(--qc-fg) 5%, transparent);
  border-color: color-mix(in srgb, var(--qc-fg) 15%, transparent);
  color: color-mix(in srgb, var(--qc-fg) 75%, transparent);
}
[data-theme] .qc-ink .pv-quick-chip:hover { border-color: color-mix(in srgb, #d97757 60%, transparent); }
[data-theme] .qc-ink .pv-quick-chip.pv-active { background: #b04a2e; border-color: #b04a2e; color: #fff; }
[data-theme] .qc-ink .pv-calc-row + .pv-calc-row { border-top-color: color-mix(in srgb, var(--qc-fg) 8%, transparent); }
[data-theme] .qc-ink .pv-saved { color: var(--qc-badge-green); }

[data-theme] .qc-ink .pv-wf-arrow { color: color-mix(in srgb, var(--qc-fg) 55%, transparent); }


html[data-theme="light"] .qc-ink .text-white\/80:not(.qc-keep):not(.qc-keep *),
html[data-theme="light"] .qc-ink .text-white\/70:not(.qc-keep):not(.qc-keep *) { color: var(--qc-fg-body); }
html[data-theme="light"] .qc-ink .text-white\/60:not(.qc-keep):not(.qc-keep *),
html[data-theme="light"] .qc-ink .text-white\/50:not(.qc-keep):not(.qc-keep *) { color: var(--qc-fg-secondary); }
html[data-theme="light"] .qc-ink .text-white\/30:not(.qc-keep):not(.qc-keep *),
html[data-theme="light"] .qc-ink .text-white\/20:not(.qc-keep):not(.qc-keep *) { color: var(--qc-fg-tertiary); }
html[data-theme="light"] .qc-ink .text-gray-200:not(.qc-keep):not(.qc-keep *) { color: var(--qc-fg-body); }
html[data-theme="light"] .qc-ink .text-gray-300:not(.qc-keep):not(.qc-keep *),
html[data-theme="light"] .qc-ink .text-gray-400:not(.qc-keep):not(.qc-keep *),
html[data-theme="light"] .qc-ink .text-ink-muted:not(.qc-keep):not(.qc-keep *) { color: var(--qc-fg-secondary); }
html[data-theme="light"] .qc-ink .placeholder-white\/40::placeholder { color: var(--qc-fg-tertiary); }
html[data-theme="light"] .qc-ink .nav-auth-dark > div > a:not(.qc-keep):not(.qc-keep *),
html[data-theme="light"] .qc-ink .nav-auth-dark > div > span:not(.qc-keep):not(.qc-keep *),
html[data-theme="light"] .qc-ink .nav-auth-dark > div > button:not(.qc-keep):not(.qc-keep *),
html[data-theme="light"] .qc-ink .nav-auth-dark > div > div > button:not(.qc-keep):not(.qc-keep *) { color: var(--qc-fg-body); }
html[data-theme="light"] .qc-ink .nav-auth-dark > div > a:hover:not(.qc-keep):not(.qc-keep *) { color: var(--qc-fg); }
html[data-theme="light"] .qc-paper .text-gray-700:not(.qc-keep):not(.qc-keep *),
html[data-theme="light"] .qc-paper .text-gray-600:not(.qc-keep):not(.qc-keep *) { color: var(--qc-fg-body); }
html[data-theme="light"] .qc-paper .text-gray-500:not(.qc-keep):not(.qc-keep *) { color: var(--qc-fg-secondary); }
html[data-theme="light"] .panel-dark .text-gray-700,
html[data-theme="light"] .panel-dark .text-gray-600 { color: var(--qc-fg-body); }
html[data-theme="light"] .panel-dark .text-gray-500,
html[data-theme="light"] .panel-dark .text-gray-400 { color: var(--qc-fg-secondary); }
html[data-theme="light"] .panel-dark .hover\:text-gray-600:hover { color: var(--qc-fg-body); }
html[data-theme="light"] .panel-dark input::placeholder,
html[data-theme="light"] .panel-dark textarea::placeholder { color: var(--qc-fg-tertiary); }

html[data-theme="light"] .qc-ink .bg-white\/5:not(.qc-keep):not(.qc-keep *) { background-color: rgba(0, 0, 0, .03); }
html[data-theme="light"] .qc-ink .bg-white\/10:not(.qc-keep):not(.qc-keep *) { background-color: rgba(0, 0, 0, .04); }
html[data-theme="light"] .qc-ink .bg-white\/15:not(.qc-keep):not(.qc-keep *) { background-color: rgba(0, 0, 0, .05); }
html[data-theme="light"] .qc-ink .bg-white\/20:not(.qc-keep):not(.qc-keep *) { background-color: rgba(0, 0, 0, .06); }
html[data-theme="light"] .qc-ink .bg-white\/30:not(.qc-keep):not(.qc-keep *) { background-color: rgba(0, 0, 0, .08); }

html[data-theme="light"] .qc-ink :is(.bg-ink-950, .bg-ink-900, .bg-white\/5, .bg-white\/10):is(.rounded-lg, .rounded-xl, .rounded-2xl, .rounded-3xl):is(.border-white\/10, .border-white\/15, .border-white\/20):not(input):not(select):not(textarea):not(.qc-keep):not(.qc-keep *) {
  background-color: #ffffff;
  border-color: var(--qc-hairline);
  box-shadow: var(--qc-shadow-rest);
  transition: box-shadow .2s ease;
}
html[data-theme="light"] .qc-ink a:is(.bg-ink-950, .bg-ink-900, .bg-white\/5, .bg-white\/10):is(.rounded-lg, .rounded-xl, .rounded-2xl, .rounded-3xl):hover,
html[data-theme="light"] .qc-ink button:is(.bg-ink-950, .bg-ink-900, .bg-white\/5, .bg-white\/10):is(.rounded-lg, .rounded-xl, .rounded-2xl, .rounded-3xl):hover {
  box-shadow: var(--qc-shadow-hover);
}

html[data-theme="light"] .qc-ink .border-white\/10:not(.qc-keep):not(.qc-keep *) { border-color: var(--qc-hairline); }
html[data-theme="light"] .qc-ink.border-white\/10,
html[data-theme="light"] .qc-ink.border-white\/15 { border-color: var(--qc-hairline); }
html[data-theme="light"] .qc-ink .border-white\/15:not(.qc-keep):not(.qc-keep *) { border-color: rgba(0, 0, 0, .10); }
html[data-theme="light"] .qc-ink .border-white\/20:not(.qc-keep):not(.qc-keep *) { border-color: rgba(0, 0, 0, .12); }
html[data-theme="light"] .qc-ink .border-white\/30:not(.qc-keep):not(.qc-keep *) { border-color: rgba(0, 0, 0, .14); }
html[data-theme="light"] .qc-ink .border-white\/40:not(.qc-keep):not(.qc-keep *) { border-color: rgba(0, 0, 0, .16); }
html[data-theme="light"] .qc-ink .divide-white\/5 > :not([hidden]) ~ :not([hidden]):not(.qc-keep):not(.qc-keep *),
html[data-theme="light"] .qc-ink .divide-white\/10 > :not([hidden]) ~ :not([hidden]):not(.qc-keep):not(.qc-keep *) { border-color: var(--qc-hairline); }
html[data-theme="light"] .qc-paper .border-gray-200:not(.qc-keep):not(.qc-keep *) { border-color: var(--qc-hairline); }
html[data-theme="light"] .qc-paper .border-gray-300:not(.qc-keep):not(.qc-keep *) { border-color: rgba(0, 0, 0, .12); }
html[data-theme="light"] .panel-dark .border-gray-200,
html[data-theme="light"] .panel-dark .border-gray-100,
html[data-theme="light"] .panel-dark .divide-gray-200 > * + *,
html[data-theme="light"] .panel-dark .divide-gray-100 > * + * { border-color: var(--qc-hairline); }
html[data-theme="light"] .panel-dark .border-gray-300,
html[data-theme="light"] .panel-dark .hover\:border-gray-300:hover { border-color: rgba(0, 0, 0, .12); }

html[data-theme="light"] .qc-ink input:is(.bg-white\/5, .bg-white\/10, .bg-white\/15, .bg-white\/20),
html[data-theme="light"] .qc-ink select:is(.bg-white\/5, .bg-white\/10, .bg-white\/15, .bg-white\/20),
html[data-theme="light"] .qc-ink textarea:is(.bg-white\/5, .bg-white\/10, .bg-white\/15, .bg-white\/20) {
  background-color: #ffffff;
  border-color: rgba(0, 0, 0, .12);
}

html[data-theme="light"] .qc-ink .bg-black\/80 {
  background-color: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
@supports (not (backdrop-filter: blur(1px))) and (not (-webkit-backdrop-filter: blur(1px))) {
  html[data-theme="light"] .qc-ink .bg-black\/80 { background-color: #ffffff; }
}

html[data-theme="light"] .qc-ink .pv-strike { color: var(--qc-fg-secondary); }
html[data-theme="light"] .qc-ink .pv-wf-arrow,
html[data-theme="light"] .qc-ink .pv-wf-arrow-note { color: var(--qc-fg-secondary); }

html[data-theme="light"] .qc-paper .text-gray-300:not(.qc-keep):not(.qc-keep *) { color: var(--qc-fg-tertiary); }


html[data-theme="light"] .qc-ink .fixed.inset-0 :is(.bg-ink-950, .bg-ink-900, .bg-white\/5, .bg-white\/10):is(.rounded-lg, .rounded-xl, .rounded-2xl, .rounded-3xl):is(.border-white\/10, .border-white\/15, .border-white\/20):not(input):not(select):not(textarea):not(.qc-keep):not(.qc-keep *) {
  box-shadow: var(--qc-shadow-modal);
}

html[data-theme="light"] .qc-ink .pv-quick-chip {
  background: rgba(0, 0, 0, .03);
  border-color: var(--qc-hairline);
  color: var(--qc-fg-body);
}
html[data-theme="light"] .qc-ink .pv-card-l2 { border-top-color: var(--qc-hairline); }
html[data-theme="light"] .qc-ink .pv-calc-row + .pv-calc-row { border-top-color: var(--qc-hairline); }
html[data-theme="light"] .qc-ink .pv-meter-track { background: rgba(0, 0, 0, .06); }
html[data-theme="light"] .qc-ink .pv-meter-leader { background: rgba(0, 0, 0, .15); }
html[data-theme="light"] .qc-ink .pv-meter-dot--official { background: var(--qc-fg-tertiary); }


[data-theme] :where(.qc-ink, .qc-paper, .panel-dark) .bg-qcode-primary:not(.qc-keep):not(.qc-keep *),
[data-theme] :where(.qc-ink, .qc-paper, .panel-dark).bg-qcode-primary:not(.qc-keep) { background-color: var(--qc-brand-fill); }
html[data-theme="light"] :where(.qc-ink, .qc-paper, .panel-dark) .bg-qcode-primary.text-white:not(.qc-keep):not(.qc-keep *),
html[data-theme="light"] :where(.qc-ink, .qc-paper, .panel-dark) .bg-qcode-primary:not(.qc-keep):not(.qc-keep *) .text-white { color: #ffffff; }
[data-theme] :where(.qc-ink, .qc-paper, .panel-dark) .hover\:bg-qcode-primary-hover:hover:not(.qc-keep):not(.qc-keep *) { background-color: var(--qc-brand-fill-hover); }

[data-theme] :where(.qc-ink, .qc-paper, .panel-dark) .text-qcode-primary:not(.qc-keep):not(.qc-keep *) { color: var(--qc-brand-text); }
[data-theme] :where(.qc-ink, .qc-paper, .panel-dark) .text-qcode-primary\/90:not(.qc-keep):not(.qc-keep *) { color: var(--qc-brand-text); }
[data-theme] :where(.qc-ink, .qc-paper, .panel-dark) .hover\:text-qcode-primary:hover:not(.qc-keep):not(.qc-keep *) { color: var(--qc-brand-text-hover); }
html[data-theme="light"] :where(.qc-ink, .qc-paper, .panel-dark) .text-qcode-primary:is(.text-2xl, .text-3xl, .text-4xl, .text-5xl, .text-8xl):not(.qc-keep):not(.qc-keep *),
html[data-theme="light"] :where(.qc-ink, .qc-paper, .panel-dark) :is(h1, h2) .text-qcode-primary:not(.qc-keep):not(.qc-keep *),
html[data-theme="light"] :where(.qc-ink, .qc-paper, .panel-dark) .probe-rate { color: var(--qc-brand); }

}

html[data-theme="light"] .bg-ink-950 .fixed.inset-0.bg-black .bg-gray-800 .text-white,
html[data-theme="light"] .bg-ink-950 .fixed.inset-0.bg-black .bg-blue-600 .text-white,
html[data-theme="light"] .bg-ink-950 .fixed.inset-0.bg-black .bg-purple-600.text-white,
html[data-theme="light"] .bg-ink-950 .fixed.inset-0.bg-black .bg-purple-600 .text-white,
html[data-theme="light"] .bg-ink-950 .fixed.inset-0.bg-black .bg-slate-600.text-white,
html[data-theme="light"] .bg-ink-950 .fixed.inset-0.bg-black .bg-slate-600 .text-white,
html[data-theme="light"] .bg-ink-950 .fixed.inset-0.bg-black [style*="linear-gradient(135deg, #4f46e5"].text-white,
html[data-theme="light"] .bg-ink-950 .fixed.inset-0.bg-black [style*="linear-gradient(135deg, #2563eb"].text-white {
  color: #fff;
}
html[data-theme="light"] .bg-ink-950 .fixed.inset-0.bg-black [style*="linear-gradient(135deg, #059669"] {
  background: linear-gradient(135deg, #047857, #059669) !important;
}
html[data-theme="light"] .bg-ink-950 .fixed.inset-0.bg-black [style*="linear-gradient(135deg, #059669"],
html[data-theme="light"] .bg-ink-950 .fixed.inset-0.bg-black [style*="linear-gradient(135deg, #047857"] {
  color: #fff;
}
html[data-theme="light"] .bg-ink-950 .fixed.inset-0.bg-black .text-green-500 { color: #15803d; }
html[data-theme="light"] .bg-ink-950 .fixed.inset-0.bg-black .text-orange-600 { color: #c2410c; }

html[data-theme="light"] .bg-ink-950 .fixed.inset-0.bg-black .text-green-600,
html[data-theme="light"] .bg-ink-950 .fixed.inset-0.bg-black .text-green-400 { color: #15803d; }
html[data-theme="light"] .bg-ink-950 .fixed.inset-0.bg-black .text-red-600   { color: #b91c1c; }
html[data-theme="light"] .bg-ink-950 .fixed.inset-0.bg-black .text-blue-400  { color: #2563eb; }
