/*
Theme Name: SafetySignal Theme
Theme URI: https://digitalleadsoftware.com/safetysignal
Author: Digital Lead Software
Description: Lightweight SaaS-style WordPress theme for the SafetySignal readiness product.
Version: 1.2.0
Requires at least: 6.7
Requires PHP: 7.4
Text Domain: safetysignal-theme
*/

:root {
  --ss-ink: var(--ss-brand-primary, #12343b);
  --ss-muted: #47646b;
  --ss-surface: #ffffff;
  --ss-bg: var(--ss-brand-bg, #f7faf8);
  --ss-line: #d8e1df;
  --ss-green: var(--ss-brand-secondary, #0f6b4f);
  --ss-green-soft: #e8f4ef;
  --ss-gold: var(--ss-brand-accent, #d6a93a);
  --ss-gold-soft: #fff7e0;
  --ss-brown: #635b3f;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--ss-bg);
  color: var(--ss-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.6;
  margin: 0;
}

a {
  color: var(--ss-green);
}

img {
  height: auto;
  max-width: 100%;
}

.site-shell {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 24px;
}

.ss-skip-link {
  background: var(--ss-ink);
  color: #fff;
  left: 16px;
  padding: 8px 12px;
  position: absolute;
  top: -100px;
  z-index: 100;
}

.ss-skip-link:focus {
  top: 16px;
}

.site-header {
  background: rgba(247, 250, 248, .96);
  border-bottom: 1px solid var(--ss-line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header-inner {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr auto;
  min-height: 72px;
}

.site-brand {
  align-items: center;
  color: var(--ss-ink);
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
  text-decoration: none;
}

.site-brand-mark {
  background: var(--ss-ink);
  border-radius: 8px;
  display: inline-block;
  height: 28px;
  position: relative;
  width: 28px;
}

.site-brand-mark::after {
  border: solid #fff;
  border-width: 0 3px 3px 0;
  content: "";
  height: 11px;
  left: 10px;
  position: absolute;
  top: 5px;
  transform: rotate(45deg);
  width: 6px;
}

.site-brand-logo {
  border-radius: 4px;
  display: inline-block;
  height: 32px;
  object-fit: contain;
  width: 32px;
}

.site-nav .menu,
.site-footer .menu {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a,
.site-footer a {
  color: var(--ss-ink);
  font-weight: 700;
  text-decoration: none;
}

.site-header-cta,
.button-primary,
.button-secondary {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  text-decoration: none;
}

.site-header-cta,
.button-primary {
  background: var(--ss-ink);
  color: #fff;
}

.button-secondary {
  background: var(--ss-gold-soft);
  border: 1px solid #ead89b;
  color: var(--ss-ink);
}

.hero {
  background: linear-gradient(180deg, #f7faf8 0%, #eef5f0 100%);
  border-bottom: 1px solid var(--ss-line);
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  min-height: calc(100vh - 72px);
  padding-bottom: 48px;
  padding-top: 48px;
}

.hero-copy h1 {
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: .95;
  margin: 0 0 24px;
}

.hero-copy p {
  color: var(--ss-muted);
  font-size: 1.18rem;
  max-width: 660px;
}

.eyebrow {
  color: var(--ss-green);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.product-preview {
  background: #fff;
  border: 1px solid var(--ss-line);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(18, 52, 59, .14);
  display: grid;
  gap: 0;
  margin: 0;
  min-height: 420px;
  overflow: hidden;
  padding: 0;
}

.product-preview img {
  display: block;
  width: 100%;
}

.product-preview figcaption {
  color: var(--ss-muted);
  font-size: .9rem;
  padding: 12px 16px 16px;
}

.preview-top {
  align-items: center;
  border-bottom: 1px solid var(--ss-line);
  display: flex;
  gap: 8px;
  min-height: 36px;
  padding-bottom: 14px;
}

.preview-top span {
  background: #d5dfdc;
  border-radius: 99px;
  display: block;
  height: 10px;
  width: 10px;
}

.preview-score {
  align-items: center;
  background: var(--ss-green-soft);
  border: 1px solid #b8d8cc;
  border-radius: 8px;
  display: grid;
  min-height: 154px;
  place-items: center;
  text-align: center;
}

.preview-score strong {
  color: var(--ss-green);
  font-size: 4rem;
  line-height: 1;
}

.preview-list {
  display: grid;
  gap: 12px;
}

.preview-list div {
  align-items: center;
  background: #f9fbfa;
  border: 1px solid var(--ss-line);
  border-radius: 8px;
  display: flex;
  gap: 10px;
  min-height: 58px;
  padding: 12px;
}

.preview-list span {
  background: var(--ss-gold);
  border-radius: 99px;
  height: 12px;
  width: 12px;
}

.section,
.section-band {
  padding: 72px 0;
}

.section-band {
  background: #fff;
  border-bottom: 1px solid var(--ss-line);
  border-top: 1px solid var(--ss-line);
}

.feature-grid {
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
}

.feature-grid h2,
.section-heading h2,
.page-header h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  margin: 0;
}

.feature-list,
.pricing-grid {
  display: grid;
  gap: 16px;
}

.feature-list article,
.pricing-grid article {
  background: #fff;
  border: 1px solid var(--ss-line);
  border-radius: 8px;
  padding: 20px;
}

.feature-list article {
  background: var(--ss-bg);
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.pricing-grid .is-featured {
  border-color: var(--ss-green);
  box-shadow: inset 0 4px 0 var(--ss-green);
}

.price {
  color: var(--ss-green);
  font-size: 2rem;
  font-weight: 900;
  margin: 8px 0;
}

.page-layout {
  padding-bottom: 72px;
  padding-top: 56px;
}

.page-content {
  background: #fff;
  border: 1px solid var(--ss-line);
  border-radius: 8px;
  margin-top: 24px;
  padding: 28px;
}

.site-footer {
  background: #102b31;
  color: #dce8e5;
  padding: 40px 0;
}

.site-footer .site-brand,
.site-footer a {
  color: #fff;
}

.site-footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, auto);
}

@media (max-width: 860px) {
  .site-header-inner,
  .hero-grid,
  .feature-grid,
  .pricing-grid,
  .site-footer-grid {
    grid-template-columns: 1fr;
  }

  .site-nav .menu {
    justify-content: flex-start;
  }

  .hero-grid {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .site-shell {
    padding: 0 16px;
  }

  .site-header-inner {
    gap: 12px;
    padding-bottom: 14px;
    padding-top: 14px;
  }

  .product-preview {
    min-height: 0;
  }
}

.mockup-board {
  background: #eef2f6;
  padding: 72px 0 96px;
}

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

.mock-card {
  background: #fff;
  border: 1px solid #d5dee7;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(20, 38, 55, .16);
  overflow: hidden;
}

.mini-nav {
  align-items: center;
  border-bottom: 1px solid #d5dee7;
  display: flex;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 22px;
}

.mini-brand {
  font-size: .92rem;
}

.mini-nav-logo-only {
  justify-content: flex-start;
}

.mini-nav nav {
  align-items: center;
  display: flex;
  gap: 18px;
}

.mini-nav nav a {
  color: #223248;
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
}

.landing-card {
  background: linear-gradient(180deg, #fff 0%, #edf8fa 100%);
}

.landing-hero {
  padding: 42px 44px 28px;
  text-align: center;
}

.landing-hero h1 {
  color: #254763;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.1;
  margin: 0 0 16px;
}

.landing-hero p {
  color: #26384d;
  font-size: 1.03rem;
  margin: 0 auto;
  max-width: 620px;
}

.hero-actions.compact {
  justify-content: center;
  margin-top: 28px;
}

.landing-feature-cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 10px 28px 32px;
}

.feature-mini {
  background: #fff;
  border: 1px solid #ccd7e0;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(20, 38, 55, .14);
  align-content: start;
  min-height: 210px;
  padding: 16px;
}

.feature-action-card {
  align-content: start;
  display: grid;
  gap: 10px;
}

.score-widget {
  background: #edf8fa;
  border: 1px solid #c8d8df;
  border-radius: 8px;
  display: grid;
  gap: 6px;
  min-height: 0;
  padding: 12px;
  text-align: center;
}

.score-widget strong {
  color: #0d6f7a;
  font-size: 2rem;
  line-height: 1;
}

.score-widget span {
  background: #fff;
  border: 1px solid #c7dfe5;
  border-radius: 999px;
  color: #20304a;
  font-size: .82rem;
  font-weight: 800;
  padding: 3px 8px;
}

.score-widget::after {
  background: linear-gradient(90deg, #0a9a9c 0 72%, #dbe6ea 72% 100%);
  border-radius: 999px;
  content: "";
  display: block;
  height: 8px;
  margin-top: 2px;
}

.feature-mini h3 {
  color: #20304a;
  font-size: 1rem;
  margin: 0 0 8px;
}

.feature-mini p {
  border-bottom: 1px solid #dbe4ec;
  color: #293a4f;
  font-size: .82rem;
  margin: 0 0 14px;
  padding-bottom: 10px;
}

.mini-field {
  color: #20304a;
  display: grid;
  font-size: .82rem;
  font-weight: 800;
  gap: 4px;
}

.mini-field input,
.feature-action-card select {
  align-self: start;
  border: 1px solid #b9c7d4;
  border-radius: 4px;
  font: inherit;
  font-size: .8rem;
  height: 34px;
  min-height: 34px;
  min-width: 0;
  padding: 6px 8px;
  text-overflow: ellipsis;
  width: 100%;
}

.feature-action-card meter {
  accent-color: #0d8997;
  height: 12px;
  width: 100%;
}

.mini-link {
  color: #0d6f7a;
  font-size: .86rem;
  font-weight: 800;
}

.official-mini-links {
  display: grid;
  gap: 6px;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}

.official-mini-links a {
  background: #edf8fa;
  border: 1px solid #c7dfe5;
  border-radius: 4px;
  color: #0d6f7a;
  display: block;
  font-size: .82rem;
  font-weight: 800;
  padding: 6px 8px;
  text-decoration: none;
}

.gauge {
  background: conic-gradient(#0a9a9c 0 55%, #fcb13b 55% 72%, #df3f4b 72% 100%);
  border-radius: 999px 999px 0 0;
  height: 62px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  width: 124px;
}

.gauge::after {
  background: #fff;
  border-radius: 999px 999px 0 0;
  bottom: 0;
  content: "";
  height: 38px;
  left: 24px;
  position: absolute;
  width: 76px;
}

.gauge span {
  background: #254763;
  border-radius: 99px;
  bottom: 10px;
  display: block;
  height: 8px;
  left: 60px;
  position: absolute;
  transform: rotate(-42deg);
  transform-origin: left center;
  width: 48px;
  z-index: 2;
}

.mini-illustration {
  align-items: end;
  background: #e8f4f7;
  border-radius: 0 0 50% 50%;
  display: flex;
  height: 58px;
  justify-content: center;
  margin: 0 auto;
  max-width: 140px;
  padding: 8px 12px;
}

.mini-illustration.buildings span {
  background: #9bc4d2;
  border: 1px solid #6fa0af;
  display: block;
  margin: 0 3px;
  width: 28px;
}

.mini-illustration.buildings span:nth-child(1) {
  height: 32px;
}

.mini-illustration.buildings span:nth-child(2) {
  height: 46px;
}

.mini-illustration.buildings span:nth-child(3) {
  height: 24px;
}

.mini-illustration.message span {
  background: #49b8bd;
  border: 2px solid #1e8f98;
  border-radius: 5px;
  height: 40px;
  position: relative;
  width: 86px;
}

.mini-illustration.message span::before,
.mini-illustration.message span::after {
  background: #dff4f6;
  content: "";
  height: 4px;
  left: 14px;
  position: absolute;
  right: 14px;
  top: 12px;
}

.mini-illustration.message span::after {
  top: 24px;
}

.panel-header {
  border-bottom: 1px solid #d5dee7;
  padding: 18px 26px;
}

.panel-header h2 {
  color: #20304a;
  font-size: 1.45rem;
  margin: 0;
}

.panel-header.split {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.account-form {
  display: grid;
  gap: 14px;
  padding: 22px 26px 26px;
}

.account-form label {
  color: #26384d;
  display: grid;
  font-weight: 700;
  gap: 6px;
}

.account-form input,
.account-form select,
.message-controls select {
  border: 1px solid #b9c7d4;
  border-radius: 4px;
  font: inherit;
  min-height: 36px;
  padding: 7px 9px;
}

.zip-field input {
  max-width: 230px;
}

.checkbox-line {
  align-items: center;
  display: flex !important;
  font-weight: 500 !important;
  gap: 8px;
}

.checkbox-line input {
  accent-color: #0e9299;
  min-height: auto;
}

.wide {
  width: 100%;
}

.account-form p {
  color: #26384d;
  font-size: .88rem;
  margin: 4px 0 0;
}

.portal-preview {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 318px;
}

.portal-sidebar {
  background: linear-gradient(180deg, #119ca5, #12677f);
  color: #fff;
  padding: 18px;
}

.sidebar-brand {
  color: #fff;
  margin-bottom: 18px;
}

.portal-sidebar ul {
  display: grid;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.portal-sidebar li {
  border-radius: 5px;
  font-size: .9rem;
  font-weight: 700;
}

.portal-sidebar li.is-active {
  background: rgba(18, 52, 59, .28);
}

.portal-sidebar a {
  color: #fff;
  display: block;
  padding: 8px 10px;
  text-decoration: none;
}

.skeleton-panel {
  background: #f4f8fb;
  padding: 20px;
}

.wizard-steps {
  align-items: center;
  color: #6f7f8e;
  display: flex;
  flex-wrap: wrap;
  font-size: .83rem;
  font-weight: 800;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}

.wizard-steps span {
  background: #cbd7e2;
  border-radius: 99px;
  height: 16px;
  width: 16px;
}

.wizard-steps span.active {
  background: #0e9299;
}

.skeleton-line {
  background: #e0edf2;
  border-radius: 5px;
  height: 28px;
  margin-bottom: 14px;
  width: 92%;
}

.skeleton-line.wide {
  height: 48px;
  width: 100%;
}

.skeleton-line.short {
  width: 70%;
}

.skeleton-line.tiny {
  height: 14px;
  margin-top: 16px;
  width: 70%;
}

.wizard-header {
  align-items: center;
  background: linear-gradient(90deg, #057ca0, #127b96);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  min-height: 54px;
  padding: 0 20px;
}

.wizard-header strong {
  font-size: 1.05rem;
  margin-right: auto;
}

.wizard-header span {
  font-size: .78rem;
  font-weight: 800;
}

.location-grid {
  background: #edf4f8;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 16px;
}

.field-card {
  background: #fff;
  border: 1px solid #ccd7e0;
  border-radius: 6px;
  min-height: 96px;
  padding: 16px;
}

.field-card span,
.field-card h3 {
  color: #20304a;
  font-size: 1rem;
  margin: 0;
}

.field-card > strong {
  float: right;
}

.upload-drop {
  align-items: center;
  border: 2px dashed #c5d4df;
  display: flex;
  justify-content: center;
  margin-top: 18px;
  min-height: 58px;
}

.logo-box {
  align-items: center;
  background: #edf2f6;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  margin-top: 14px;
  min-height: 58px;
}

.small {
  font-size: .8rem;
  min-height: 30px;
  padding: 5px 12px;
}

.swatches {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.swatches span {
  border-radius: 3px;
  height: 32px;
  width: 34px;
}

.swatches span:nth-child(1) { background: #f7b733; }
.swatches span:nth-child(2) { background: #ec6b2f; }
.swatches span:nth-child(3) { background: #df302f; }
.swatches span:nth-child(4) { background: #0b6e95; }
.swatches span:nth-child(5) { background: #10999c; }
.swatches span:nth-child(6) { background: #f8fafc; border: 1px solid #ccd7e0; }

.toggle {
  border: 1px solid #89aabe;
  border-radius: 4px;
  display: flex;
  overflow: hidden;
}

.toggle a {
  background: #fff;
  color: #31506b;
  font-weight: 800;
  min-width: 92px;
  padding: 8px 13px;
  text-align: center;
  text-decoration: none;
}

.toggle a.active {
  background: #0d8997;
  color: #fff;
}

.snapshot-body {
  display: grid;
  grid-template-columns: 40% 60%;
}

.actions-list {
  border-right: 1px solid #d5dee7;
  padding: 20px 22px;
}

.status-pill {
  background: #d93645;
  border-radius: 4px;
  color: #fff;
  display: block;
  font-size: 1rem;
  margin-bottom: 24px;
  padding: 10px 12px;
  text-align: center;
}

.actions-list h3 {
  color: #20304a;
  font-size: 1rem;
  margin: 0 0 18px;
}

.actions-list p {
  align-items: center;
  border-bottom: 1px solid #dce5ec;
  display: flex;
  gap: 10px;
  margin: 0;
  min-height: 42px;
}

.actions-list span {
  align-items: center;
  background: #2da5ae;
  border-radius: 99px;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.actions-list a {
  color: #20304a;
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
}

.map-panel {
  padding: 20px;
}

.map-toolbar {
  display: flex;
  gap: 12px;
  left: 20px;
  position: relative;
  top: 52px;
  z-index: 2;
}

.map-toolbar button,
.map-toolbar select {
  background: #fff;
  border: 1px solid #9eb4c2;
  border-radius: 4px;
  font: inherit;
  min-height: 34px;
  padding: 5px 10px;
}

.us-map {
  background: #cbe5f1;
  border: 1px solid #aac2d0;
  height: 250px;
  overflow: hidden;
  position: relative;
}

.us-map::before {
  background: radial-gradient(circle at 10% 20%, #eff8fb 0 2px, transparent 3px);
  background-size: 18px 18px;
  bottom: 0;
  content: "";
  left: 0;
  opacity: .55;
  position: absolute;
  right: 0;
  top: 0;
}

.us-map span {
  clip-path: polygon(8% 26%, 95% 12%, 86% 76%, 20% 88%);
  display: block;
  position: absolute;
}

.us-map .west {
  background: linear-gradient(135deg, #e2402e, #f48c3a);
  height: 172px;
  left: 26px;
  top: 54px;
  width: 150px;
}

.us-map .south {
  background: linear-gradient(135deg, #f2b44b, #ffdb72);
  height: 150px;
  left: 168px;
  top: 82px;
  width: 176px;
}

.us-map .mid {
  background: linear-gradient(135deg, #ffdd73, #a9c954);
  height: 142px;
  left: 300px;
  top: 62px;
  width: 150px;
}

.us-map .east {
  background: linear-gradient(135deg, #98c85b, #5bae58);
  height: 150px;
  left: 430px;
  top: 70px;
  width: 96px;
}

.map-legend {
  align-items: center;
  background: rgba(255, 255, 255, .9);
  border: 1px solid #d5dee7;
  bottom: 126px;
  display: inline-flex;
  font-size: .8rem;
  gap: 5px;
  left: 18px;
  padding: 8px;
  position: relative;
}

.map-legend span {
  display: inline-block;
  height: 11px;
  width: 12px;
}

.map-legend .high { background: #df3f32; }
.map-legend .moderate { background: #f5b23b; }
.map-legend .low { background: #8fc65b; }

.map-panel p {
  border-top: 1px solid #d5dee7;
  color: #293a4f;
  font-size: .9rem;
  margin: 0;
  padding: 9px 0;
}

.message-controls {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 18px 26px;
}

.message-controls label {
  align-items: start;
  color: #20304a;
  display: grid;
  font-weight: 700;
  gap: 6px;
  min-width: 0;
}

.message-controls select {
  width: 100%;
}

.message-controls button {
  grid-column: 1 / -1;
  justify-self: end;
  min-width: 180px;
}

.theme-portal-fallback {
  display: grid;
  gap: 18px;
}

.fallback-head {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.fallback-head h2,
.theme-portal-fallback h2 {
  color: var(--ss-ink);
  margin: 0;
}

.fallback-score {
  align-items: center;
  background: var(--ss-green-soft);
  border: 1px solid #b8d8cc;
  border-radius: 8px;
  display: grid;
  min-width: 118px;
  padding: 12px;
  text-align: center;
}

.fallback-score strong {
  color: var(--ss-green);
  font-size: 1.8rem;
  line-height: 1;
}

.fallback-score span {
  color: var(--ss-ink);
  font-size: .82rem;
  font-weight: 800;
}

.fallback-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fallback-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fallback-panel {
  background: #fff;
  border: 1px solid var(--ss-line);
  border-radius: 8px;
  padding: 16px;
}

.fallback-panel h3,
.fallback-panel p {
  margin-top: 0;
}

.fallback-panel span {
  color: var(--ss-muted);
  display: block;
  font-size: .9rem;
}

.fallback-actions {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
}

.fallback-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.fallback-form label {
  display: grid;
  font-weight: 700;
  gap: 6px;
}

.fallback-form input,
.fallback-form select,
.fallback-form textarea {
  border: 1px solid #b9c7d4;
  border-radius: 4px;
  font: inherit;
  min-height: 38px;
  padding: 7px 9px;
  width: 100%;
}

.message-preview {
  background: #f2f6f8;
  border-bottom: 1px solid #d5dee7;
  border-top: 1px solid #d5dee7;
  padding: 22px 26px;
}

.message-preview h3 {
  color: #20304a;
  font-size: 1rem;
  margin: 0 0 12px;
}

.message-box {
  background: #fff;
  border: 1px solid #cbd7e0;
  border-radius: 5px;
  color: #293a4f;
  padding: 18px;
}

.approval-actions {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
  padding: 20px 26px 16px;
}

.safe-note {
  background: #f2f6f8;
  color: #2d6681;
  font-size: .92rem;
  margin: 0;
  padding: 14px;
  text-align: center;
}

.info-section {
  padding: 26px;
}

.info-section h2 {
  color: #20304a;
  margin: 0 0 8px;
}

.info-section p {
  color: #293a4f;
  margin: 0;
}

@media (max-width: 1120px) {
  .mockup-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .mockup-board {
    padding: 28px 0;
  }

  .mini-nav,
  .panel-header.split,
  .wizard-header {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 14px;
    padding-top: 14px;
  }

  .mini-nav nav,
  .message-controls,
  .landing-feature-cards,
  .location-grid,
  .snapshot-body,
  .portal-preview,
  .approval-actions,
  .fallback-grid,
  .fallback-grid.two,
  .fallback-form {
    grid-template-columns: 1fr;
  }

  .fallback-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .mini-nav nav {
    flex-wrap: wrap;
  }

  .landing-hero {
    padding: 28px 20px;
  }

  .snapshot-body {
    display: grid;
  }

  .actions-list {
    border-right: 0;
    border-bottom: 1px solid #d5dee7;
  }
}
