:root {
  scroll-behavior: smooth;
  /* Grok SET 1 (good, 8)*/
  --top-primary-color: #A8559D;
  --electricity-primary-color: #B8860B;
  --lpgas-primary-color: #1D4ED8;
}

/* Scroll lock helper */
.no-scroll { overflow: hidden !important; }

/* Overlay: hidden by default, fade-in 0.5s when opened */
.app-overlay {
  position: fixed;
  inset: 0;
  display: grid;            /* keeps centering ready */
  place-items: center;
  padding: 24px;
  background: rgba(0,0,0,0.25);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 2147483647;      /* top-most to beat any site UI */
}
.app-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Notice panel (base) */
.notice-panel {
  position: relative;
  background: #fff;
  color: #111;
  border-radius: 10px;
  max-width: 720px;
  width: min(92vw, 720px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.30);
  padding: 28px 24px 24px;
}

.notice-title {
  margin: 0 24px 14px;
  text-align: center;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .02em;
}

.notice-list { margin: 0; padding: 0 24px 4px; list-style: none; }
.notice-item { margin: 10px 0 12px; line-height: 1.8; font-size: 16px; }
.notice-lead { color: var(--top-primary-color); font-weight: 700; }

/* Close button */
.notice-close {
  position: absolute;
  top: 8px; right: 8px;
  appearance: none;
  background: transparent;
  border: none;
  padding: 8px;
  border-radius: 8px;
  color: var(--top-primary-color);
  cursor: pointer;
  line-height: 0;
}
.notice-close:hover {
  background: color-mix(in srgb, var(--top-primary-color) 10%, transparent);
}
.notice-close:focus-visible { outline: 2px solid var(--top-primary-color); outline-offset: 2px; }
.notice-close svg { width: 22px; height: 22px; display: block; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .app-overlay { transition: none; }
}