/* ==========================================================================
   High Contrast Dark — Dark Theme (v3)
   Maximum contrast for accessibility (WCAG AAA 7:1+).
   White primary on black body, yellow links.
   ========================================================================== */

.high-contrast-dark {
  /* -----------------------------------------------------------------------
     PALETTE — Brand / Theme Colors (pure white ramp)
     ----------------------------------------------------------------------- */
  --themePrimary:     #ffffff;
  --themeDark:        #ffffff;
  --themeDarkAlt:     #ffffff;
  --themeDarker:      #ffffff;
  --themeSecondary:   #cccccc;
  --themeTertiary:    #999999;
  --themeLight:       #333333;
  --themeLighter:     #1a1a1a;
  --themeLighterAlt:  #0d0d0d;

  /* -----------------------------------------------------------------------
     PALETTE — Neutrals (inverted for dark mode, pure grayscale)
     ----------------------------------------------------------------------- */
  --black:                #000000;
  --neutralDarker:        #000000;
  --neutralDark:          #0a0a0a;
  --neutralPrimary:       #000000;
  --neutralPrimaryAlt:    #141414;
  --neutralSecondary:     #1e1e1e;
  --neutralSecondaryAlt:  #2e2e2e;
  --neutralTertiary:      #555555;
  --neutralTertiaryAlt:   #ffffff;
  --neutralQuaternary:    #767676;
  --neutralQuaternaryAlt: #999999;
  --neutralLight:         #c8c8c8;
  --neutralLighter:       #e0e0e0;
  --neutralLighterAlt:    #f0f0f0;
  --white:                #ffffff;

  /* -----------------------------------------------------------------------
     BODY / BACKGROUND
     ----------------------------------------------------------------------- */
  --bodyBackground:          #000000;
  --bodyBackgroundHovered:   var(--neutralPrimaryAlt);
  --bodyBackgroundChecked:   var(--neutralSecondary);
  --bodyStandoutBackground:  #000000;
  --bodyFrameBackground:     #000000;
  --bodyFrameDivider:        #ffffff;
  --bodyDivider:             #ffffff;

  /* -----------------------------------------------------------------------
     TEXT
     ----------------------------------------------------------------------- */
  --bodyText:                #ffffff;
  --bodyTextChecked:         #ffffff;
  --bodySubtext:             #e0e0e0;
  --disabledText:            #767676;
  --disabledBodyText:        #767676;
  --disabledSubtext:         #555555;
  --disabledBodySubtext:     #555555;

  /* -----------------------------------------------------------------------
     LINKS
     ----------------------------------------------------------------------- */
  --link:                    #ffff00;
  --linkHovered:             #ffff99;
  --actionLink:              #ffffff;
  --actionLinkHovered:       #ffffff;

  /* -----------------------------------------------------------------------
     BUTTONS — Default
     ----------------------------------------------------------------------- */
  --buttonBackground:              #000000;
  --buttonBackgroundHovered:       var(--neutralPrimaryAlt);
  --buttonBackgroundChecked:       var(--neutralSecondary);
  --buttonBackgroundCheckedHovered: var(--neutralSecondaryAlt);
  --buttonBackgroundPressed:       var(--neutralSecondary);
  --buttonBackgroundDisabled:      #000000;
  --buttonBorder:                  #ffffff;
  --buttonBorderDisabled:          #767676;
  --buttonText:                    #ffffff;
  --buttonTextHovered:             #ffffff;
  --buttonTextChecked:             #ffffff;
  --buttonTextCheckedHovered:      #ffffff;
  --buttonTextPressed:             #ffffff;
  --buttonTextDisabled:            #767676;

  /* -----------------------------------------------------------------------
     BUTTONS — Primary
     ----------------------------------------------------------------------- */
  --primaryButtonBackground:          #ffffff;
  --primaryButtonBackgroundHovered:   #e0e0e0;
  --primaryButtonBackgroundPressed:   #c8c8c8;
  --primaryButtonBackgroundDisabled:  #555555;
  --primaryButtonBorder:              transparent;
  --primaryButtonText:                #000000;
  --primaryButtonTextHovered:         #000000;
  --primaryButtonTextPressed:         #000000;
  --primaryButtonTextDisabled:        #767676;

  /* -----------------------------------------------------------------------
     BUTTONS — Accent
     ----------------------------------------------------------------------- */
  --accentButtonBackground:  #ffffff;
  --accentButtonText:        #000000;

  /* -----------------------------------------------------------------------
     INPUTS
     ----------------------------------------------------------------------- */
  --inputBackground:                    #000000;
  --inputBackgroundChecked:             #ffffff;
  --inputBackgroundCheckedHovered:      #e0e0e0;
  --inputPlaceholderBackgroundChecked:  #1a1a1a;
  --inputForegroundChecked:             #000000;
  --inputBorder:                        #ffffff;
  --smallInputBorder:                   #ffffff;
  --inputBorderHovered:                 #ffffff;
  --inputFocusBorderAlt:                #ffff00;
  --inputText:                          #ffffff;
  --inputTextHovered:                   #ffffff;
  --inputPlaceholderText:               #c8c8c8;
  --inputIcon:                          #ffffff;
  --inputIconHovered:                   #ffff00;
  --inputIconDisabled:                  #767676;

  /* -----------------------------------------------------------------------
     LISTS
     ----------------------------------------------------------------------- */
  --listBackground:                  #000000;
  --listText:                        #ffffff;
  --listItemBackgroundHovered:       var(--neutralPrimaryAlt);
  --listItemBackgroundChecked:       var(--neutralSecondary);
  --listItemBackgroundCheckedHovered: var(--neutralSecondaryAlt);
  --listHeaderBackgroundHovered:     var(--neutralPrimaryAlt);
  --listHeaderBackgroundPressed:     var(--neutralSecondary);

  /* -----------------------------------------------------------------------
     MENUS
     ----------------------------------------------------------------------- */
  --menuBackground:              #000000;
  --menuDivider:                 #ffffff;
  --menuIcon:                    #ffffff;
  --menuHeader:                  #ffffff;
  --menuItemBackgroundHovered:   var(--neutralPrimaryAlt);
  --menuItemBackgroundPressed:   var(--neutralSecondary);
  --menuItemText:                #ffffff;
  --menuItemTextHovered:         #ffffff;

  /* -----------------------------------------------------------------------
     CARDS
     ----------------------------------------------------------------------- */
  --cardStandoutBackground:  #000000;
  --cardShadow:              none;
  --cardShadowHovered:       none;
  --variantBorder:           #ffffff;
  --variantBorderHovered:    #ffffff;

  /* -----------------------------------------------------------------------
     DISABLED / FOCUS
     ----------------------------------------------------------------------- */
  --disabledBackground:  #1a1a1a;
  --disabledBorder:      #767676;
  --focusBorder:         #ffffff;

  /* -----------------------------------------------------------------------
     STATUS — Backgrounds
     ----------------------------------------------------------------------- */
  --infoBackground:           #1a1a1a;
  --errorBackground:          #440000;
  --blockingBackground:       #440000;
  --warningBackground:        #443300;
  --severeWarningBackground:  #442200;
  --successBackground:        #003300;

  /* -----------------------------------------------------------------------
     STATUS — Icons
     ----------------------------------------------------------------------- */
  --infoIcon:           #ffffff;
  --errorIcon:          #ff6666;
  --blockingIcon:       #ff6666;
  --warningIcon:        #ffff00;
  --severeWarningIcon:  #ff6600;
  --successIcon:        #66ff66;

  /* -----------------------------------------------------------------------
     STATUS — Text
     ----------------------------------------------------------------------- */
  --errorText:    #ff6666;
  --messageText:  #ffffff;
  --messageLink:  #ffff00;
  --messageLinkHovered: #ffff99;
  --warningText:  #ffffff;
  --successText:  #66ff66;

  /* -----------------------------------------------------------------------
     MISC
     ----------------------------------------------------------------------- */
  --defaultStateBackground:  #0a0a0a;
  --overlayBackground:       rgba(0, 0, 0, 0.8);
}
