:root {
  --bg: #f5f7fa;
  --panel: #ffffff;
  --ink: #202124;
  --muted: #596270;
  --line: #d7dde5;
  --soft: #eef1f5;
  --red: #c91f32;
  --red-dark: #941825;
  --green: #177245;
  --amber: #a35f00;
  --blue: #235ea8;
  --shadow: 0 18px 45px rgba(21, 31, 44, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

.side-menu {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  width: 286px;
  overflow-y: auto;
  border-right: 1px solid var(--line);
  background: #fff;
  padding: 22px 18px;
}

.side-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 860;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid var(--red);
  color: var(--red);
  font-size: 27px;
  font-weight: 900;
  line-height: 1;
}

.current-panel {
  margin: 28px 0 16px;
  border: 1px solid rgba(201, 31, 50, 0.3);
  border-radius: 8px;
  background: #fff6f6;
  padding: 14px;
}

.current-panel span,
.side-actions span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 860;
  letter-spacing: 0;
  text-transform: none;
}

.current-panel strong {
  display: block;
  color: var(--red-dark);
  font-size: 21px;
  line-height: 1.12;
}

.side-links,
.side-actions {
  display: grid;
  gap: 8px;
}

.side-link,
.side-actions a {
  display: flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  padding: 0 12px;
  font-size: 14px;
  font-weight: 820;
  text-decoration: none;
}

.side-link:hover,
.side-link:focus-visible,
.side-actions a:hover,
.side-actions a:focus-visible {
  border-color: var(--line);
  color: var(--ink);
  outline: 0;
}

.side-actions {
  margin-top: 22px;
  border-top: 1px solid var(--soft);
  padding-top: 16px;
}

.side-actions a {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.side-actions a.active {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

button,
input,
select,
textarea {
  font: inherit;
}

.intake-page,
.alert-page {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 44px;
}

.standalone-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.standalone-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0 13px;
  font-size: 14px;
  font-weight: 820;
  text-decoration: none;
}

.standalone-nav .home-button {
  border-color: rgba(201, 31, 50, 0.3);
  background: #fff6f6;
  color: var(--red-dark);
}

.form-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}

.back-link {
  color: var(--red-dark);
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
}

.form-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.form-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--red);
  color: var(--red);
  font-size: 32px;
  font-weight: 850;
  line-height: 1;
}

.form-mark.pulse {
  border-radius: 50%;
  font-size: 28px;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 20px;
  letter-spacing: 0;
}

.language-control {
  display: grid;
  gap: 7px;
  width: 260px;
}

.language-control label,
.application-form label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

select,
input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 11px 12px;
  outline: 0;
}

textarea {
  resize: vertical;
}

.notice,
.form-section,
.source-pane,
.translated-pane,
.review-pane {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.notice strong {
  color: var(--red-dark);
}

.notice p {
  margin: 0;
  color: var(--muted);
}

.application-form {
  display: grid;
  gap: 16px;
}

.form-section {
  padding: 20px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.application-form label {
  display: grid;
  gap: 7px;
}

.compact p {
  color: var(--muted);
  line-height: 1.45;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.support-grid div,
.metadata-grid div {
  border: 1px solid var(--soft);
  border-radius: 8px;
  padding: 12px;
}

.support-grid strong,
.metadata-grid strong {
  display: block;
  margin-bottom: 4px;
}

.support-grid span,
.metadata-grid span {
  color: var(--muted);
}

.submit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.check-row input {
  width: 18px;
  height: 18px;
}

.submit-row button,
.button-stack button {
  border: 1px solid var(--red);
  border-radius: 8px;
  background: var(--red);
  color: white;
  padding: 12px 16px;
  font-weight: 820;
  cursor: pointer;
}

.alert-workbench {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) 320px;
  gap: 16px;
}

.source-pane,
.translated-pane,
.review-pane {
  padding: 20px;
}

.source-pane p,
.translated-pane p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.translated-pane {
  border-top: 5px solid var(--red);
}

.pane-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

#confidenceBadge {
  border-radius: 999px;
  background: #edf7f1;
  color: var(--green);
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 820;
}

#alertHeadline {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
}

#alertSteps {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.45;
}

.metadata-grid {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.review-pane h2 {
  margin-bottom: 16px;
}

.review-item {
  border-left: 4px solid var(--line);
  padding: 10px 0 10px 12px;
  margin-bottom: 12px;
}

.review-item.green {
  border-color: var(--green);
}

.review-item.amber {
  border-color: var(--amber);
}

.review-item.blue {
  border-color: var(--blue);
}

.review-item strong,
.review-item span {
  display: block;
}

.review-item span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.button-stack {
  display: grid;
  gap: 9px;
  margin-top: 20px;
}

.button-stack button {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.button-stack .approve {
  border-color: var(--green);
  color: var(--green);
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  transform: translateY(18px);
  opacity: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 12px 14px;
  transition: 180ms ease;
}

.toast.visible {
  transform: translateY(0);
  opacity: 1;
}

[dir="rtl"] .translated-pane,
[dir="rtl"] .application-form {
  text-align: right;
}

[dir="rtl"] #alertSteps {
  padding-left: 0;
  padding-right: 22px;
}

@media (max-width: 960px) {
  .form-header,
  .alert-workbench {
    grid-template-columns: 1fr;
  }

  .language-control {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .intake-page,
  .alert-page {
    width: min(100vw - 28px, 1180px);
    padding-top: 18px;
  }

  .standalone-nav a {
    flex: 1 1 190px;
  }

  .field-grid,
  .support-grid,
  .submit-row {
    grid-template-columns: 1fr;
  }

  .submit-row {
    display: grid;
  }

  .submit-row button {
    width: 100%;
  }
}

.emergency-demo {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(390px, 430px);
  gap: 34px;
  align-items: start;
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 44px;
}

.demo-copy {
  padding-top: 24px;
  direction: ltr;
  text-align: left;
}

.demo-copy h1 {
  max-width: 720px;
  margin: 22px 0 16px;
}

.demo-lede {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.demo-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 16px;
}

.demo-controls label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.demo-note {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.demo-note span {
  color: var(--muted);
  line-height: 1.4;
}

.phone-wrap {
  position: sticky;
  top: 18px;
}

.phone-shell {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  overflow: hidden;
  border: 10px solid #141414;
  border-radius: 42px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 54px;
  padding: 0 26px;
  background: #fff;
  color: #111;
  font-size: 17px;
  font-weight: 800;
  direction: ltr;
}

.status-icons {
  font-size: 13px;
  color: #111;
}

.phone-screen {
  position: relative;
  height: 790px;
  min-height: 790px;
  overflow: auto;
  background: #f4f4f4;
}

.language-gate {
  min-height: 790px;
  padding: 82px 18px 28px;
  background: #fff;
  direction: ltr;
}

.mini-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 64px;
  color: #666;
  font-size: 20px;
  font-weight: 900;
  line-height: 0.9;
}

.brand-cross {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px #d7d7d7, 0 2px 7px rgba(0, 0, 0, 0.18);
  color: var(--red);
  font-size: 32px;
}

.language-gate h2 {
  margin: 0 0 48px;
  color: #000;
  font-size: 44px;
  line-height: 1;
  text-align: center;
}

.language-gate h3 {
  margin: 22px 0 10px;
  color: #333;
  font-size: 18px;
}

.language-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 74px;
  margin-bottom: 16px;
  border: 1px solid #f1f1f1;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  padding: 0 18px;
}

.language-card strong {
  color: var(--red);
  font-size: 22px;
}

.language-card span {
  font-size: 19px;
}

.language-card b {
  color: var(--red);
  font-size: 36px;
  line-height: 1;
}

.language-card.proposed {
  min-height: 58px;
  opacity: 0.92;
}

.language-card.proposed span {
  font-size: 16px;
}

.language-baseline {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.app-red-header {
  position: sticky;
  top: 0;
  z-index: 4;
  background: #dc281f;
  color: #fff;
  padding: 28px 20px 16px;
}

.app-language {
  margin-bottom: 22px;
  text-align: right;
  font-size: 22px;
  font-weight: 900;
}

.app-red-header h2 {
  margin: 0;
  color: #fff;
  font-size: 42px;
  line-height: 1;
}

.app-search {
  margin-top: 18px;
  border-radius: 12px;
  background: #f5f5f7;
  color: #777;
  padding: 12px 14px;
  font-size: 20px;
  font-weight: 760;
}

.app-content {
  padding: 22px 20px 110px;
}

.rating-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin: -22px -20px 28px;
  background: #cfe7fb;
  color: #1e527d;
  padding: 18px 20px;
}

.rating-banner button {
  justify-self: end;
  border: 0;
  background: transparent;
  color: #1e527d;
  font-size: 30px;
  font-weight: 800;
}

.rating-banner strong,
.rating-banner span {
  grid-column: 1 / -1;
  font-size: 24px;
  font-weight: 900;
}

.rating-banner span {
  font-size: 20px;
  line-height: 1.35;
}

.app-content h3 {
  margin-bottom: 16px;
  font-size: 27px;
}

.location-card,
.learn-card,
.prepare-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  padding: 20px 16px;
  color: #000;
  font-size: 25px;
  font-weight: 900;
}

.location-card b,
.learn-card b,
.warning-row b {
  color: var(--red);
  font-size: 32px;
}

.sticky-add {
  position: sticky;
  bottom: 86px;
  margin-top: 22px;
  border-radius: 8px;
  background: #dc281f;
  color: #fff;
  padding: 14px;
  text-align: center;
  font-size: 19px;
  font-weight: 900;
  text-transform: uppercase;
}

.app-bottom-nav {
  position: absolute;
  z-index: 8;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid #ddd;
  background: #fff;
}

.app-bottom-nav button {
  display: grid;
  gap: 3px;
  place-items: center;
  min-height: 72px;
  border: 0;
  background: #fff;
  color: #707070;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.app-bottom-nav button span {
  font-size: 24px;
}

.app-bottom-nav button.active {
  color: #dc281f;
  box-shadow: inset 0 4px 0 #dc281f;
}

.centered-empty {
  display: grid;
  justify-items: center;
  text-align: center;
  padding-top: 100px;
}

.phone-illo {
  display: grid;
  place-items: center;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #dff0ff;
  color: #dc281f;
  font-size: 70px;
  transform: rotate(-10deg);
}

.centered-empty h3 {
  margin-top: 34px;
  font-size: 30px;
}

.centered-empty p {
  color: #3e3e3e;
  font-size: 21px;
  line-height: 1.42;
}

.centered-empty a {
  color: #245c8a;
  font-size: 24px;
  font-weight: 850;
  text-decoration: underline;
}

.learn-card {
  width: 100%;
  margin-top: 50px;
  text-align: left;
}

.learn-card span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: #dc281f;
  color: #fff;
}

.learn-card strong {
  display: block;
  font-size: 22px;
}

.learn-card p {
  margin: 4px 0 0;
  color: #777;
  font-size: 19px;
}

.prepare-screen {
  min-height: 790px;
  padding: 34px 20px 100px;
  text-align: center;
  background: #f4f4f4;
}

.prepare-illo {
  display: grid;
  place-items: center;
  width: 250px;
  height: 250px;
  margin: 0 auto 34px;
  border-radius: 50%;
  background: #d6ecfb;
  font-size: 98px;
}

.prepare-screen h2 {
  font-size: 46px;
  line-height: 1.2;
}

.prepare-card {
  display: block;
  text-align: center;
}

.prepare-card strong {
  font-size: 28px;
}

.prepare-card p {
  margin: 10px 0 0;
  color: #707070;
  font-size: 21px;
  font-weight: 760;
}

.prepare-screen button {
  margin-top: 22px;
  border: 0;
  border-radius: 14px;
  background: #dc281f;
  color: #fff;
  padding: 16px 36px;
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
}

.alert-definitions {
  min-height: 790px;
  overflow: hidden;
  background: #f4f4f4;
}

.sheet-title {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px;
  min-height: 74px;
  border-bottom: 1px solid #ddd;
  background: #fff;
  padding: 10px 16px;
}

.sheet-title button,
.definition-sheet button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  color: var(--red);
  font-size: 34px;
  font-weight: 800;
}

.sheet-title strong {
  font-size: 28px;
  text-align: center;
}

.hazard-row,
.warning-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 86px;
  border-bottom: 1px solid #ddd;
  background: #fff;
  padding: 0 16px;
  font-size: 24px;
  font-weight: 900;
}

.hazard-row span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #d72c22;
  color: #fff;
  font-size: 24px;
}

.hazard-row b {
  color: var(--red);
}

.warning-row {
  grid-template-columns: 1fr auto;
  background: #f7f7f7;
}

.definition-sheet {
  margin-top: 32px;
  border-radius: 24px 24px 0 0;
  background: #fff;
  padding: 18px 16px 40px;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.12);
}

.definition-sheet h2 {
  margin-top: 26px;
  font-size: 38px;
  line-height: 1.1;
}

.definition-sheet p {
  color: #777;
  font-size: 23px;
  line-height: 1.32;
}

body[data-screen="locations"] .phone-status,
body[data-screen="alerts"] .phone-status,
body[data-screen="maps"] .phone-status,
body[data-screen="info"] .phone-status,
body[data-screen="sponsors"] .phone-status {
  background: #dc281f;
  color: #fff;
}

body[data-screen="prepare"] .phone-status {
  background: #182838;
  color: #fff;
}

body[data-screen="locations"] .status-icons,
body[data-screen="alerts"] .status-icons,
body[data-screen="maps"] .status-icons,
body[data-screen="info"] .status-icons,
body[data-screen="sponsors"] .status-icons,
body[data-screen="prepare"] .status-icons {
  color: inherit;
}

.language-expansion {
  margin-top: 96px;
}

.location-card {
  width: 100%;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.location-card-stacked {
  display: grid;
  gap: 0;
  overflow: hidden;
  padding: 0;
}

.location-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 20px 16px;
}

.nav-arrow {
  color: #1f5278;
}

.location-service {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #eee;
  padding: 13px 16px;
  color: #3f3f3f;
  font-size: 17px;
  font-weight: 600;
}

.location-service span,
.info-dot {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #333;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.location-detail {
  min-height: 790px;
  padding: 52px 20px 80px;
  background: #f4f4f4;
}

.floating-back {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 9px rgba(0, 0, 0, 0.12);
  color: #dc281f;
  font-size: 44px;
  line-height: 1;
}

.location-title-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  margin: 58px 0 32px;
}

.location-title-row span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #dc281f;
  color: #fff;
  font-size: 24px;
}

.location-title-row h2 {
  margin: 0;
  color: #000;
  font-size: 30px;
  line-height: 1.08;
}

.no-alert-panel {
  border-radius: 10px;
  background: #cfe7fb;
  color: #1e527d;
  padding: 26px 20px;
  text-align: center;
}

.no-alert-panel strong {
  display: block;
  font-size: 28px;
}

.no-alert-panel p {
  margin: 10px 0 0;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
}

.location-detail h3 {
  margin: 34px 0 14px;
  color: #000;
  font-size: 27px;
}

.settings-card {
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.settings-card button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 78px;
  border: 0;
  border-bottom: 1px solid #eee;
  background: #fff;
  padding: 0 18px;
  color: #000;
  font-size: 24px;
  font-weight: 900;
  text-align: left;
}

.settings-card button:last-child {
  border-bottom: 0;
}

.settings-card b {
  color: #dc281f;
  font-size: 32px;
}

.contact-card {
  margin-top: 6px;
}

.delete-location {
  display: block;
  margin-top: 42px;
  color: #b12722;
  font-size: 24px;
  font-weight: 850;
  text-align: center;
  text-decoration: underline;
}

.prepare-app {
  min-height: 790px;
  background: #fff;
}

.prepare-header {
  position: sticky;
  top: 0;
  z-index: 3;
  overflow: hidden;
  background: #182838;
  color: #fff;
  padding: 28px 20px 22px;
}

.prepare-header::before {
  content: "";
  position: absolute;
  inset: -90px -80px auto auto;
  width: 320px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
}

.prepare-header h2 {
  position: relative;
  margin: 0 0 24px;
  color: #fff;
  font-size: 44px;
}

.prepare-tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.34);
  padding: 5px;
  font-size: 24px;
  font-weight: 900;
  text-align: center;
}

.prepare-tabs span {
  border-radius: 8px;
  padding: 12px 8px;
}

.prepare-tabs span:first-child {
  background: #fff;
  color: #444;
}

.prepare-tabs b {
  display: inline-block;
  margin-left: 4px;
  border-radius: 8px;
  background: #f41d31;
  padding: 6px 10px;
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
}

.hazard-list {
  display: grid;
  gap: 14px;
  padding: 22px 20px 112px;
}

.hazard-list h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 4px;
  color: #000;
  font-size: 26px;
}

.hazard-list h3 span {
  border-radius: 8px;
  background: #cfe7fb;
  color: #1f5278;
  padding: 6px 10px;
  font-size: 16px;
  white-space: nowrap;
}

.hazard-card {
  position: relative;
  overflow: hidden;
  min-height: 96px;
  border: 0;
  border-radius: 16px;
  background: var(--hazard);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  color: #fff;
  padding: 22px;
  text-align: left;
}

.hazard-card strong {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 72%;
  font-size: 30px;
  line-height: 1.1;
}

.hazard-card span {
  position: absolute;
  right: 22px;
  top: 16px;
  width: 78px;
  height: 78px;
}

.hazard-card span::before,
.hazard-card span::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 58px;
}

.hazard-card .bag::before { content: "▣"; color: #ffcb2f; }
.hazard-card .thermo::before { content: "♨"; color: #ff9a18; }
.hazard-card .bolt::before { content: "⚡"; color: #ffcf22; }
.hazard-card .house::before { content: "⌂"; color: #fff; }
.hazard-card .storm::before { content: "◉"; color: #a7c8ff; }
.hazard-card .waves::before { content: "≋"; color: #a7c8ff; }
.hazard-card .quake::before { content: "▲"; color: #f4a261; }
.hazard-card .twister::before { content: "◌"; color: #cfcfcf; }

.map-screen {
  min-height: 724px;
  background: #e5f4df;
}

.map-tabs {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 10px 16px -48px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  font-size: 22px;
  font-weight: 900;
  text-align: center;
}

.map-tabs span {
  padding: 10px;
}

.map-tabs span:first-child {
  background: #ef3028;
  color: #fff;
}

.fake-map {
  position: relative;
  height: 540px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 26%, #6cc7f1 0 18%, transparent 19%),
    radial-gradient(circle at 18% 76%, #6cc7f1 0 24%, transparent 25%),
    linear-gradient(135deg, transparent 0 35%, rgba(255,255,255,.55) 36% 37%, transparent 38%),
    linear-gradient(25deg, transparent 0 46%, rgba(255,255,255,.5) 47% 48%, transparent 49%),
    #a9da86;
}

.fake-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(90, 110, 80, .18) 1px, transparent 1px) 0 0 / 58px 58px,
    linear-gradient(rgba(90, 110, 80, .16) 1px, transparent 1px) 0 0 / 58px 58px;
}

.map-label {
  position: absolute;
  z-index: 1;
  color: rgba(70, 54, 92, 0.46);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 4px;
  text-align: center;
  text-shadow: 0 1px #fff;
}

.map-label.north {
  top: 140px;
  left: 92px;
}

.map-label.mexico {
  bottom: 92px;
  left: 170px;
  color: #333;
  font-size: 22px;
  letter-spacing: 0;
}

.map-label.tampa {
  right: 12px;
  bottom: 180px;
  color: #111;
  font-size: 28px;
  letter-spacing: 0;
}

.map-marker,
.map-pin {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 5px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: #d72c22;
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  transform: rotate(-45deg);
}

.map-marker {
  transform: rotate(-45deg);
}

.map-marker::first-letter {
  transform: rotate(45deg);
}

.map-marker.m1 { left: 146px; bottom: 190px; }
.map-marker.m2 { left: 210px; bottom: 126px; }
.map-marker.m3 { right: 100px; bottom: 142px; }

.map-pin {
  width: 34px;
  height: 34px;
  background: #4e7a37;
}

.map-pin.p1 { right: 40px; top: 245px; }
.map-pin.p2 { right: 78px; top: 275px; }

.map-controls {
  position: absolute;
  right: 20px;
  top: 94px;
  z-index: 3;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.map-controls button {
  display: block;
  width: 52px;
  height: 52px;
  border: 0;
  border-bottom: 1px solid #eee;
  background: #fff;
  color: #dc281f;
  font-size: 28px;
  font-weight: 900;
}

.map-info {
  position: absolute;
  right: 20px;
  bottom: 24px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #fff;
  color: #dc281f;
  font-size: 30px;
  font-weight: 900;
}

.overlay-pill {
  position: absolute;
  left: 20px;
  bottom: 24px;
  z-index: 3;
  max-width: 330px;
  border-radius: 10px;
  background: #dc281f;
  color: #fff;
  padding: 12px 16px;
  font-size: 22px;
}

.map-warning {
  background: #dc281f;
  color: #fff;
  padding: 18px 20px 92px;
  font-size: 20px;
  line-height: 1.25;
}

.info-screen h3 {
  margin-top: 6px;
}

.sponsor-card {
  display: grid;
  justify-items: center;
  gap: 18px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  padding: 46px 18px 0;
  text-align: center;
}

.state-farm-logo {
  color: #ef3028;
  font-size: 38px;
  font-style: italic;
  font-weight: 900;
}

.sponsor-card strong {
  color: #000;
  font-size: 28px;
}

.sponsor-card p {
  margin: 0;
  color: #777;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
}

.sponsor-card button {
  width: calc(100% + 36px);
  border: 0;
  background: #dc281f;
  color: #fff;
  padding: 18px;
  font-size: 21px;
  font-weight: 900;
  text-transform: uppercase;
}

.pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 34px;
}

.pager span,
.pager i {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #777;
}

.pager span {
  width: 42px;
  background: #dc281f;
}

.partner-card button {
  justify-content: flex-start;
  gap: 14px;
}

.partner-card b {
  margin-left: auto;
}

.detail-article {
  min-height: 790px;
  background: #fff;
}

.article-bar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  background: #dc281f;
  color: #fff;
  padding: 0 16px;
}

.article-bar button {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 24px;
}

.article-bar strong {
  font-size: 26px;
  text-align: center;
}

.detail-article article {
  padding: 34px 18px 80px;
}

.detail-article h2 {
  margin: 0 0 34px;
  font-size: 36px;
}

.detail-article h3 {
  color: #3e3e3e;
  font-size: 30px;
  line-height: 1.25;
}

.detail-article p {
  color: #3e3e3e;
  font-size: 25px;
  line-height: 1.45;
}

.duke-logo {
  margin: 38px auto 42px;
  color: #00678b;
  font-size: 54px;
  font-weight: 900;
  line-height: .82;
  text-align: center;
}

.duke-logo span {
  display: block;
}

.duke-logo small {
  display: block;
  margin-top: 10px;
  color: #26bdd4;
  font-size: 26px;
  letter-spacing: 3px;
}

.detail-logo {
  margin-top: 24px;
  text-align: center;
}

@media (max-width: 900px) {
  .emergency-demo {
    grid-template-columns: 1fr;
  }

  .phone-wrap {
    position: relative;
    top: 0;
  }
}

@media (max-width: 480px) {
  .emergency-demo {
    width: 100vw;
    padding: 0;
  }

  .demo-copy {
    padding: 18px 16px;
  }

  .demo-copy h1 {
    font-size: 30px;
  }

  .demo-controls {
    grid-template-columns: 1fr;
  }

  .phone-shell {
    max-width: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .phone-screen {
    height: calc(100vh - 54px);
    min-height: 790px;
  }
}

.phone-embed {
  background: #fff;
}

.phone-embed .side-menu {
  display: none;
}

.phone-embed .emergency-demo {
  display: block;
  width: 100vw;
  margin: 0;
  padding: 0;
}

.phone-embed .demo-copy {
  display: none;
}

.phone-embed .phone-wrap {
  position: relative;
  top: 0;
}

.phone-embed .phone-shell {
  max-width: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.phone-embed .phone-screen {
  height: calc(100vh - 54px);
  min-height: 706px;
}

.intake-embed,
.intake-embed-root {
  background: #f5f7fa;
}

.intake-embed-root .side-menu,
.intake-embed-root .standalone-nav,
.intake-embed .side-menu,
.intake-embed .standalone-nav {
  display: none;
}

.intake-embed-root .intake-page,
.intake-embed .intake-page {
  width: 100%;
  padding: 18px 16px 28px;
}

.intake-embed-root .form-header,
.intake-embed .form-header {
  grid-template-columns: 1fr;
  gap: 14px;
}

.intake-embed-root .form-mark,
.intake-embed .form-mark {
  width: 46px;
  height: 46px;
  font-size: 31px;
}

.intake-embed-root .form-header h1,
.intake-embed .form-header h1 {
  font-size: clamp(26px, 9vw, 34px);
  line-height: 1.06;
}

.intake-embed-root .language-control,
.intake-embed .language-control {
  width: 100%;
}

.intake-embed-root .notice,
.intake-embed-root .form-section,
.intake-embed-root .submit-row,
.intake-embed .notice,
.intake-embed .form-section,
.intake-embed .submit-row {
  border-radius: 8px;
  box-shadow: none;
}

@media (min-width: 951px) {
  body.prototype-shell {
    padding-left: 286px;
  }

  body.prototype-shell .intake-page,
  body.prototype-shell .emergency-demo {
    width: min(1180px, calc(100% - 40px));
  }

  body.prototype-shell .standalone-nav {
    display: none;
  }
}

@media (max-width: 950px) {
  .side-menu {
    display: none;
  }
}
