/* HawaiiGuide web-app notification settings — /notifications */

body.hg-push-page {
  background: #f4f7f5;
}

body.hg-push-page #type-feature-page {
  margin-top: 0 !important;
  padding-top: 0;
}

.hg-push,
.hg-push *,
.hg-push-hero,
.hg-push-hero * {
  box-sizing: border-box;
}

.hg-push {
  --push-ink: #14241d;
  --push-muted: #627068;
  --push-green: #087443;
  --push-green-dark: #075733;
  --push-green-soft: #e7f5ed;
  --push-blue: #1769aa;
  --push-coral: #d86445;
  --push-line: #dce6e0;
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px 64px;
  color: var(--push-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.hg-push a {
  color: inherit;
}

.hg-push-hero {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  overflow: hidden;
  padding: 38px 42px 64px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 255, 255, .19), transparent 28%),
    linear-gradient(135deg, #075733 0%, #087443 58%, #147c73 100%);
  color: #fff;
  box-shadow: 0 18px 44px rgba(11, 72, 47, .18);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.hg-push-hero-icon {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 25px;
  background: rgba(255, 255, 255, .15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28);
  font-size: 39px;
}

.hg-push-kicker,
.hg-push-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hg-push-kicker {
  color: #d6f2e1;
}

.hg-push-eyebrow {
  color: var(--push-green);
}

.hg-push-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 760;
  letter-spacing: -.035em;
  line-height: 1.04;
}

.hg-push-hero-copy > p:not(.hg-push-kicker) {
  max-width: 760px;
  margin: 15px 0 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.6;
}

.hg-push-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hg-push-trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.hg-push-hero-actions {
  margin-top: 16px;
}

.hg-push-hero-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 17px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  background: #fff;
  color: #075733;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.hg-push-hero-actions a:focus-visible {
  outline: 3px solid rgba(255, 255, 255, .72);
  outline-offset: 3px;
}

.hg-push-settings {
  scroll-margin-top: 140px;
}

.hg-push-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .85fr);
  gap: 22px;
  margin-top: 24px;
  align-items: start;
}

.hg-push-card {
  border: 1px solid var(--push-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(19, 58, 40, .07);
}

.hg-push-settings {
  padding: 28px;
}

.hg-push-policy {
  padding: 28px;
}

.hg-push-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.hg-push-card h2 {
  margin: 0;
  color: var(--push-ink);
  font-size: 26px;
  letter-spacing: -.02em;
  line-height: 1.16;
}

.hg-push-state {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f0f3f1;
  color: #536159;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.hg-push-state > span:first-child {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.hg-push-state[data-state="ready"] {
  background: #d9f3e4;
  color: #06452a;
}

.hg-push-state[data-state="on"] {
  background: #dff4e8;
  color: #075733;
}

.hg-push-state[data-state="blocked"],
.hg-push-state[data-state="error"] {
  background: #ffe3dc !important;
  color: #4a0d08 !important;
}

.hg-push-message {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-left: 4px solid #9eaaa3;
  border-radius: 8px;
  background: #f5f7f6;
  color: #34423a;
  font-size: 14px;
  line-height: 1.5;
}

.hg-push-message[data-tone="success"] {
  border-color: var(--push-green);
  background: #edf8f1;
  color: #215c3c;
}

.hg-push-message[data-tone="error"] {
  border-color: var(--push-coral);
  background: #fff3ef;
  color: #843a28;
}

.hg-push-install-note {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 13px;
  margin-top: 18px;
  padding: 17px;
  border: 1px solid #c7ddef;
  border-radius: 15px;
  background: #f0f7fc;
  color: #224e70;
}

.hg-push-install-note > i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #fff;
  color: var(--push-blue);
  font-size: 20px;
}

.hg-push-install-note strong {
  display: block;
  font-size: 15px;
}

.hg-push-install-note p {
  margin: 4px 0 8px;
  font-size: 16px;
  line-height: 1.55;
}

.hg-push-install-note a {
  display: inline-block;
  padding: 8px 11px;
  border-radius: 8px;
  background: #0b3e66;
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.hg-push-fieldset {
  min-width: 0;
  margin: 24px 0 0;
  padding: 0;
  border: 0;
}

.hg-push-fieldset legend {
  width: 100%;
  margin: 0 0 12px;
  color: var(--push-ink);
  font-size: 16px;
  font-weight: 800;
}

.hg-push-field-hint {
  margin: -8px 0 12px;
  color: var(--push-muted);
  font-size: 13px;
}

.hg-push-choice {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: 10px;
  padding: 15px;
  border: 1px solid var(--push-line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, transform .15s ease;
}

.hg-push-choice:hover {
  border-color: #9dcab1;
  transform: translateY(-1px);
}

.hg-push-choice:has(input:checked) {
  border-color: #8ec6a5;
  background: #f1faf5;
}

.hg-push-choice input,
.hg-push-islands input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.hg-push-check {
  position: relative;
  width: 22px;
  height: 22px;
  border: 2px solid #98a79f;
  border-radius: 7px;
  background: #fff;
}

.hg-push-choice input:checked + .hg-push-check {
  border-color: var(--push-green);
  background: var(--push-green);
}

.hg-push-choice input:checked + .hg-push-check::after {
  position: absolute;
  top: 3px;
  left: 6px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}

.hg-push-choice input:focus-visible + .hg-push-check,
.hg-push-islands input:focus-visible + span {
  outline: 3px solid rgba(24, 102, 180, .28);
  outline-offset: 3px;
}

.hg-push-choice strong,
.hg-push-choice small {
  display: block;
}

.hg-push-choice strong {
  color: #183026;
  font-size: 15px;
  line-height: 1.25;
}

.hg-push-choice small {
  margin-top: 4px;
  color: var(--push-muted);
  font-size: 15px;
  line-height: 1.5;
}

.hg-push-choice-golden {
  border-color: #e6c985;
  background: linear-gradient(135deg, #fffdf6 0%, #fff8e5 100%);
}

.hg-push-choice-golden:has(input:checked) {
  border-color: #d8a62f;
  background: #fff8e1;
}

.hg-push-topic-options {
  margin: 9px 0 0 34px;
  padding: 14px;
  border: 1px solid #ead8a8;
  border-radius: 13px;
  background: #fffdf7;
}

.hg-push-topic-options > p {
  margin: 0 0 9px;
  color: #4d4025;
  font-size: 13px;
  font-weight: 800;
}

.hg-push-topic-options > small {
  display: block;
  margin-top: 10px;
  color: #71674f;
  font-size: 12px;
  line-height: 1.5;
}

.hg-push-periods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hg-push-periods label {
  margin: 0;
  cursor: pointer;
}

.hg-push-periods input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.hg-push-periods span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #ddcfaa;
  border-radius: 999px;
  background: #fff;
  color: #554a30;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
}

.hg-push-periods input:checked + span {
  border-color: #b98210;
  background: #f8e6ad;
  color: #493400;
  box-shadow: inset 0 0 0 1px #b98210;
}

.hg-push-periods input:focus-visible + span {
  outline: 3px solid rgba(24, 102, 180, .28);
  outline-offset: 3px;
}

.hg-push-islands {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.hg-push-islands label {
  margin: 0;
  cursor: pointer;
}

.hg-push-islands span {
  display: block;
  padding: 11px 8px;
  border: 1px solid var(--push-line);
  border-radius: 12px;
  background: #fff;
  color: #34453c;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}

.hg-push-islands input:checked + span {
  border-color: var(--push-green);
  background: var(--push-green-soft);
  color: var(--push-green-dark);
  box-shadow: inset 0 0 0 1px var(--push-green);
}

.hg-push-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
}

.hg-push-autosave {
  margin-left: auto;
  color: var(--push-muted);
  font-size: 12px;
  font-weight: 750;
}

.hg-push-autosave[data-tone="success"] {
  color: var(--push-green-dark);
}

.hg-push-autosave[data-tone="error"] {
  color: #843a28;
}

.hg-push-btn {
  min-height: 43px;
  padding: 10px 17px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

.hg-push-btn:focus-visible {
  outline: 3px solid rgba(24, 102, 180, .3);
  outline-offset: 3px;
}

.hg-push-btn:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.hg-push-btn-primary {
  background: var(--push-green);
  color: #fff;
  box-shadow: 0 7px 16px rgba(8, 116, 67, .18);
}

.hg-push-btn-primary:hover:not(:disabled) {
  background: var(--push-green-dark);
}

.hg-push-btn-secondary {
  border: 1px solid #bad5c5;
  background: #edf8f1;
  color: var(--push-green-dark);
}

.hg-push-btn-text {
  background: transparent;
  color: #7c4437;
}

.hg-push-privacy,
.hg-push-noscript {
  margin: 22px 0 0;
  padding-top: 17px;
  border-top: 1px solid var(--push-line);
  color: var(--push-muted);
  font-size: 12px;
  line-height: 1.55;
}

.hg-push-privacy a {
  color: #17659f;
  font-weight: 700;
}

.hg-push-rules {
  margin: 21px 0 0;
  padding: 0;
  list-style: none;
}

.hg-push-rules li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 11px;
  margin: 0;
  padding: 0 0 18px;
}

.hg-push-rules li > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--push-green-soft);
  color: var(--push-green-dark);
  font-size: 12px;
  font-weight: 850;
}

.hg-push-rules strong {
  display: block;
  color: #20382d;
  font-size: 14px;
}

.hg-push-rules p,
.hg-push-badge-note p,
.hg-push-safety {
  margin: 3px 0 0;
  color: var(--push-muted);
  font-size: 14px;
  line-height: 1.55;
}

.hg-push-badge-note {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 2px;
  padding: 16px;
  border: 1px solid #cfd9e8;
  border-radius: 16px;
  background: #f5f8fc;
}

.hg-push-badge-note strong {
  font-size: 14px;
}

.hg-push-demo-icon {
  position: relative;
  display: block;
  width: 52px;
  height: 52px;
}

.hg-push-demo-icon img {
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 13px;
}

.hg-push-demo-icon b {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #d72d35;
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

.hg-push-safety {
  margin-top: 15px;
  padding: 13px 14px;
  border-radius: 13px;
  background: #fff7eb;
  color: #72551f;
}

.hg-push-safety i {
  margin-right: 5px;
}

.hg-push-related {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.hg-push-related a {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  padding: 15px;
  border: 1px solid var(--push-line);
  border-radius: 16px;
  background: #fff;
  color: var(--push-ink);
  text-decoration: none;
  box-shadow: 0 5px 16px rgba(19, 58, 40, .05);
}

.hg-push-related > a > i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--push-green-soft);
  color: var(--push-green);
  font-size: 18px;
}

.hg-push-related strong,
.hg-push-related small {
  display: block;
}

.hg-push-related strong {
  font-size: 13px;
}

.hg-push-related small {
  margin-top: 2px;
  color: var(--push-muted);
  font-size: 11px;
  line-height: 1.3;
}

.hg-push [hidden] {
  display: none !important;
}

@media (max-width: 780px) {
  .hg-push {
    padding: 16px 14px 52px;
  }

  .hg-push-hero {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 15px;
    padding: 27px 22px 54px;
    border-radius: 22px;
  }

  .hg-push-hero-icon {
    width: 58px;
    height: 58px;
    border-radius: 17px;
    font-size: 27px;
  }

  .hg-push-hero h1 {
    font-size: clamp(29px, 9vw, 40px);
  }

  .hg-push-hero-copy > p:not(.hg-push-kicker) {
    grid-column: 1 / -1;
    font-size: 16px;
  }

  .hg-push-trust {
    grid-column: 1 / -1;
  }

  .hg-push-layout {
    grid-template-columns: 1fr;
  }

  .hg-push-settings,
  .hg-push-policy {
    padding: 21px;
  }

  .hg-push-related {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hg-push-hero {
    display: block;
    /* Reserve the first row for the injected OS chip. Without this safe
       area, the kicker can run underneath the chip at 390px and 320px. */
    padding: 74px 20px 44px;
  }

  .hg-push-hero-icon {
    display: none;
  }

  .hg-push-kicker {
    margin-bottom: 6px;
    font-size: 11px;
  }

  .hg-push-hero h1 {
    font-size: 28px;
  }

  .hg-push-hero-copy > p:not(.hg-push-kicker) {
    margin-top: 11px;
    font-size: 14px;
    line-height: 1.45;
  }

  .hg-push-trust {
    gap: 7px;
    margin-top: 16px;
  }

  .hg-push-trust li {
    padding: 6px 10px;
    background: rgba(3, 51, 31, .62);
    font-size: 12px;
  }

  .hg-push-card-head {
    display: block;
  }

  .hg-push-state {
    margin-top: 12px;
  }

  .hg-push-islands {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hg-push-actions {
    display: grid;
  }

  .hg-push-topic-options {
    margin-left: 0;
  }

  .hg-push-autosave {
    margin-left: 0;
    text-align: center;
  }

  .hg-push-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hg-push-choice,
  .hg-push-islands span {
    transition: none;
  }
}
