/* Daniel Kafka Klinik v0.35 — neon-blue CTA refinement (presentation only).
 * Dark Explore retains the exact v0.34 violet/orchid treatment.
 * Light Explore becomes a white, blue-outlined action with deep electric-blue text.
 * Enabled preparation and Sign in become neon-blue filled actions in both themes.
 * No route, role, clinical action, donation/payment state or disabled state is changed.
 */
:root {
  --neon-outline-surface: #FFFFFF;
  --neon-outline-ink: #005BCE;
  --neon-outline-border: #006AF2;
  --neon-outline-hover: #EDF7FF;
  --neon-outline-ring: rgba(0, 192, 255, .35);
  --neon-blue-start: #006AF2;
  --neon-blue-end: #0053CE;
  --neon-blue-ink: #FFFFFF;
  --neon-blue-stroke: #00BCEB;
  --neon-blue-halo: 0 0 0 1px rgba(0, 166, 255, .24), 0 5px 17px rgba(0, 96, 214, .24);
}
html[data-theme="dark"] {
  /* Dark Explore feature tokens intentionally not overridden. */
  --neon-blue-start: #0869DE;
  --neon-blue-end: #0052C9;
  --neon-blue-stroke: #00D7FF;
  --neon-blue-halo: 0 0 0 1px rgba(0, 225, 255, .33), 0 0 22px rgba(0, 126, 255, .35);
}
@media screen and (forced-colors: none) {
  /* Light-mode Explore: precise scope; leave dark-mode gradient untouched. */
  html[data-theme="light"] .ux-page-tools > .button.secondary.exp-map-button:not(:disabled):not([aria-disabled="true"]) {
    background-color: var(--neon-outline-surface);
    background-image: none;
    color: var(--neon-outline-ink);
    border-width: 2px;
    border-style: solid;
    border-color: var(--neon-outline-border);
    box-shadow: 0 0 0 1px var(--neon-outline-ring), 0 6px 16px rgba(0, 105, 235, .12);
  }
  html[data-theme="light"] .ux-page-tools > .button.secondary.exp-map-button:not(:disabled):not([aria-disabled="true"]):hover {
    background: var(--neon-outline-hover);
    color: var(--neon-outline-ink);
    border-color: #005BCE;
    filter: none;
    box-shadow: 0 0 0 2px var(--neon-outline-ring), 0 8px 22px rgba(0, 101, 229, .20);
  }
  /* Only enabled preparation and active Sign in — no blanket `.button` changes. */
  html[data-theme] .exp-start > .button.secondary:not(:disabled):not([aria-disabled="true"]),
  html[data-theme] .exp-preparation-action > .button:not(:disabled):not([aria-disabled="true"]),
  html[data-theme] #site-header .auth-entry:not(:disabled):not([aria-disabled="true"]) {
    background: linear-gradient(120deg, var(--neon-blue-start), var(--neon-blue-end));
    color: var(--neon-blue-ink);
    border: 1px solid var(--neon-blue-stroke);
    box-shadow: var(--neon-blue-halo);
  }
  html[data-theme] .exp-start > .button.secondary:not(:disabled):not([aria-disabled="true"]):hover,
  html[data-theme] .exp-preparation-action > .button:not(:disabled):not([aria-disabled="true"]):hover,
  html[data-theme] #site-header .auth-entry:not(:disabled):not([aria-disabled="true"]):hover {
    filter: brightness(1.05);
    box-shadow: 0 0 0 2px rgba(0, 194, 255, .32), 0 8px 23px rgba(0, 105, 240, .29);
  }
  /* In offline demos Sign in is disabled. Preserve that meaning, with a blue tint. */
  html[data-theme="light"] #site-header .auth-entry:disabled {
    background: #EDF5FF;
    color: #416EAA;
    border-color: #91B5E4;
  }
  html[data-theme="dark"] #site-header .auth-entry:disabled {
    background: #183454;
    color: #91B9EC;
    border-color: #456D9B;
  }
  html[data-theme] :is(.ux-page-tools > .exp-map-button, .exp-start > .button, .exp-preparation-action > .button, #site-header .auth-entry):focus-visible {
    outline: 3px solid var(--theme-focus);
    outline-offset: 3px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html[data-theme] :is(.ux-page-tools > .exp-map-button, .exp-start > .button, .exp-preparation-action > .button, #site-header .auth-entry) {
    transition: none !important;
  }
}
/* v0.33 high-contrast rules continue to win; no forced-colour custom paint here. */
