/* ============================================================
   DEV OVERRIDES -- Generated by Dev Editor
   This file is loaded LAST so it overrides all other styles.
   Use the Dev Editor (Ctrl+Shift+Z) to generate changes,
   then click DOWNLOAD ALL AS CSS FILE to update this file.
   ============================================================ */


/* === PARITY SECTION HEADERS: fix dim green-on-grey contrast (April 29, 2026) === */
/* The 4x4x4 and 7x7x7 parity headers use inline style "color: green" which the
   browser maps to #008000 -- nearly invisible on the dark site background.
   This rule brightens them to readable lime with a matching neon glow. */
.parity-section-header[style*="color: green"] {
  color: #5dff5d !important;
  text-shadow: 0 0 8px #00ff00, 0 0 16px rgba(0, 255, 0, 0.5) !important;
}


/* === PARITY SECTION HEADERS: fix dim purple-on-grey contrast (May 2, 2026) === */
/* The 8x8x8 parity headers use inline style "color: purple" which the browser
   maps to #800080 -- nearly invisible on the dark site background.
   This rule brightens them to readable magenta-pink with a matching neon glow.
   Pattern matches the green-fix above (same visual weight, same halo radius). */
.parity-section-header[style*="color: purple"] {
  color: #ff5dff !important;
  text-shadow: 0 0 8px #ff00ff, 0 0 16px rgba(255, 0, 255, 0.5) !important;
}


/* === PARITY SECTION HEADERS: fix dim blue-on-grey contrast (May 2, 2026) === */
/* The 9x9x9 parity headers use inline style "color: blue" which the browser
   maps to #0000FF -- saturated but reads almost black on the dark site bg.
   This rule brightens them to readable sky-blue with a matching neon glow.
   Slight shift toward cyan in the glow improves legibility vs pure blue. */
.parity-section-header[style*="color: blue"] {
  color: #5d8dff !important;
  text-shadow: 0 0 8px #2080ff, 0 0 16px rgba(32, 128, 255, 0.5) !important;
}

/* ============================================================
   BILL ALERTS BANNER (bill-alerts.js)
   Fires when any unpaid bill is due within 3 days.
   Dismissable per-day. Color-coded by urgency.
   ============================================================ */
.maw-bill-alert {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 2147483646;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: #000;
  background: #ffd866;
  border-bottom: 3px solid #c98e00;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.maw-bill-alert.tier-tomorrow {
  background: #ffb347;
  border-bottom-color: #c66e00;
}
.maw-bill-alert.tier-today {
  background: #ff5555;
  color: #fff;
  border-bottom-color: #a00;
  animation: maw-pulse 1.5s infinite;
}
.maw-bill-alert.tier-overdue {
  background: #c00;
  color: #fff;
  border-bottom-color: #600;
  animation: maw-pulse 1s infinite;
}
@keyframes maw-pulse {
  0%, 100% { box-shadow: 0 2px 8px rgba(0,0,0,0.4); }
  50% { box-shadow: 0 2px 24px rgba(255,80,80,0.9); }
}
.maw-alert-icon {
  flex: 0 0 32px;
  height: 32px;
  width: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.2);
  color: inherit;
  font-weight: bold;
  font-size: 22px;
  line-height: 32px;
  text-align: center;
}
.maw-alert-body {
  flex: 1 1 auto;
  min-width: 0;
}
.maw-alert-title {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 3px;
  letter-spacing: 0.5px;
}
.maw-alert-row {
  font-size: 12px;
  line-height: 1.4;
  padding: 1px 0;
}
.maw-alert-label {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 11px;
}
.maw-alert-due {
  font-size: 11px;
  opacity: 0.85;
}
.maw-pay-link {
  margin-left: 6px;
  color: #003a8c;
  text-decoration: underline;
  font-weight: bold;
  white-space: nowrap;
}
.maw-bill-alert.tier-today .maw-pay-link,
.maw-bill-alert.tier-overdue .maw-pay-link {
  color: #fff;
}
.maw-alert-actions {
  flex: 0 0 auto;
  display: flex;
  gap: 8px;
  align-items: center;
}
.maw-alert-tracker {
  background: rgba(0,0,0,0.25);
  color: inherit;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  font-size: 12px;
  white-space: nowrap;
}
.maw-alert-tracker:hover { background: rgba(0,0,0,0.4); }
.maw-alert-close {
  background: transparent;
  border: 2px solid currentColor;
  color: inherit;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}
.maw-alert-close:hover { background: rgba(0,0,0,0.2); }
@media print { .maw-bill-alert { display: none !important; } }
