/* ============================================================
   Move Planner — styles.css
   Palette: warm slate neutrals, soft off-white backgrounds
   ============================================================ */

/* --- Page-scoped theme ------------------------------------ */
.moving-planner-page {
  --mp-bg: var(--bg);
  --mp-surface: var(--surface);
  --mp-surface-alt: var(--surface-alt);
  --mp-field-bg: var(--field-bg);
  --mp-border: var(--line);
  --mp-border-light: color-mix(in srgb, var(--line) 62%, transparent);
  --mp-ink: var(--ink);
  --mp-text: #39413d;
  --mp-muted: var(--muted);
  --mp-faint: #89928c;
  --mp-accent: var(--accent);
  --mp-accent-strong: var(--accent-dark);
  --mp-accent-soft: var(--accent-soft);
  --mp-warm: var(--secondary);
  --mp-warm-soft: var(--secondary-soft);
  --mp-success: #2d6a4f;
  --mp-warn: var(--warn);
  --mp-warn-bg: var(--secondary-soft);
  --mp-danger: #b42318;
  --mp-danger-bg: #fff7f6;
  --badge-light-bg: #dcf0e8;
  --badge-light-fg: #1a5c3a;
  --badge-moderate-bg: #dceaf7;
  --badge-moderate-fg: #1a4a6c;
  --badge-heavy-bg: #fde8c8;
  --badge-heavy-fg: #7c4f1a;
  --badge-vheavy-bg: #fcd5d5;
  --badge-vheavy-fg: #7c1a1a;
  --mp-shadow: var(--shadow);
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 8px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  .moving-planner-page {
    --mp-bg: var(--bg);
    --mp-surface: var(--surface);
    --mp-surface-alt: var(--surface-alt);
    --mp-field-bg: var(--field-bg);
    --mp-border: var(--line);
    --mp-border-light: color-mix(in srgb, var(--line) 62%, transparent);
    --mp-ink: var(--ink);
    --mp-text: #d7ddd8;
    --mp-muted: var(--muted);
    --mp-faint: #8f9992;
    --mp-accent: var(--accent);
    --mp-accent-strong: var(--accent-dark);
    --mp-accent-soft: var(--accent-soft);
    --mp-warm: var(--secondary);
    --mp-warm-soft: var(--secondary-soft);
    --mp-success: #95d6bd;
    --mp-warn: var(--warn);
    --mp-warn-bg: var(--secondary-soft);
    --mp-danger: #ffb0a6;
    --mp-danger-bg: #4a211d;
    --badge-light-bg: #17372f;
    --badge-light-fg: #95e6d2;
    --badge-moderate-bg: #1d3345;
    --badge-moderate-fg: #b9dcff;
    --badge-heavy-bg: #3b2b18;
    --badge-heavy-fg: #f0b45d;
    --badge-vheavy-bg: #4a211d;
    --badge-vheavy-fg: #ffb0a6;
    --mp-shadow: var(--shadow);
  }
}

html[data-theme="light"] .moving-planner-page {
  --mp-bg: var(--bg);
  --mp-surface: var(--surface);
  --mp-surface-alt: var(--surface-alt);
  --mp-field-bg: var(--field-bg);
  --mp-border: var(--line);
  --mp-border-light: color-mix(in srgb, var(--line) 62%, transparent);
  --mp-ink: var(--ink);
  --mp-text: #39413d;
  --mp-muted: var(--muted);
  --mp-faint: #89928c;
  --mp-accent: var(--accent);
  --mp-accent-strong: var(--accent-dark);
  --mp-accent-soft: var(--accent-soft);
  --mp-warm: var(--secondary);
  --mp-warm-soft: var(--secondary-soft);
  --mp-success: #2d6a4f;
  --mp-warn: var(--warn);
  --mp-warn-bg: var(--secondary-soft);
  --mp-danger: #b42318;
  --mp-danger-bg: #fff7f6;
  --badge-light-bg: #dcf0e8;
  --badge-light-fg: #1a5c3a;
  --badge-moderate-bg: #dceaf7;
  --badge-moderate-fg: #1a4a6c;
  --badge-heavy-bg: #fde8c8;
  --badge-heavy-fg: #7c4f1a;
  --badge-vheavy-bg: #fcd5d5;
  --badge-vheavy-fg: #7c1a1a;
  --mp-shadow: var(--shadow);
}

html[data-theme="dark"] .moving-planner-page {
  --mp-bg: var(--bg);
  --mp-surface: var(--surface);
  --mp-surface-alt: var(--surface-alt);
  --mp-field-bg: var(--field-bg);
  --mp-border: var(--line);
  --mp-border-light: color-mix(in srgb, var(--line) 62%, transparent);
  --mp-ink: var(--ink);
  --mp-text: #d7ddd8;
  --mp-muted: var(--muted);
  --mp-faint: #8f9992;
  --mp-accent: var(--accent);
  --mp-accent-strong: var(--accent-dark);
  --mp-accent-soft: var(--accent-soft);
  --mp-warm: var(--secondary);
  --mp-warm-soft: var(--secondary-soft);
  --mp-success: #95d6bd;
  --mp-warn: var(--warn);
  --mp-warn-bg: var(--secondary-soft);
  --mp-danger: #ffb0a6;
  --mp-danger-bg: #4a211d;
  --badge-light-bg: #17372f;
  --badge-light-fg: #95e6d2;
  --badge-moderate-bg: #1d3345;
  --badge-moderate-fg: #b9dcff;
  --badge-heavy-bg: #3b2b18;
  --badge-heavy-fg: #f0b45d;
  --badge-vheavy-bg: #4a211d;
  --badge-vheavy-fg: #ffb0a6;
  --mp-shadow: var(--shadow);
}

/* --- Page shell ------------------------------------------- */
.moving-local-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--mp-border);
  background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}

.moving-local-brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--mp-ink);
  font-weight: 800;
  text-decoration: none;
}

.moving-local-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 7px;
  background: var(--mp-accent);
  color: #fff;
  font-size: .78rem;
  letter-spacing: 0;
}

.moving-local-header nav {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.moving-local-header nav a {
  color: var(--mp-text);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  padding: .45rem .65rem;
  border-radius: var(--radius-sm);
}

.moving-local-header nav a:hover {
  background: var(--mp-accent-soft);
  color: var(--mp-accent-strong);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  margin-bottom: 1rem;
  color: var(--mp-muted);
  font-size: .84rem;
}

.breadcrumb a {
  color: var(--mp-accent-strong);
  font-weight: 800;
  text-decoration-thickness: 1px;
}

.moving-planner-page .page-header {
  padding: clamp(1.5rem, 4vw, 3rem) 0 1rem;
  min-width: 0;
}

.hero-copy {
  display: grid;
  gap: .45rem;
}

.eyebrow {
  color: var(--mp-accent-strong);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.page-header h1 {
  font-size: clamp(2rem, 6vw, 3.35rem);
  line-height: 1;
  font-weight: 700;
  color: var(--mp-ink);
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.page-header p {
  font-size: 1rem;
  color: var(--mp-muted);
  max-width: 48rem;
  overflow-wrap: anywhere;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  list-style: none;
  margin-top: .35rem;
}

.trust-list li {
  border: 1px solid var(--mp-border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--mp-surface) 74%, transparent);
  color: var(--mp-text);
  font-size: .82rem;
  font-weight: 700;
  padding: .35rem .65rem;
}

.moving-planner-page {
  width: min(1180px, calc(100% - 2rem));
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

.moving-planner-tool {
  padding-top: 1rem;
}

/* --- Form card -------------------------------------------- */
.planner-form {
  width: 100%;
  max-width: 100%;
  background: var(--mp-surface);
  border: 1px solid var(--mp-border);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 4vw, 1.5rem);
  box-shadow: var(--mp-shadow);
}

.form-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--mp-ink);
  margin-bottom: 0.35rem;
  padding-bottom: 0;
  border-bottom: 0;
}

.form-note {
  margin: 0 0 1rem;
  padding-bottom: 0;
  border-bottom: 0;
  color: var(--mp-muted);
  font-size: .85rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

/* --- Field groups ----------------------------------------- */
.field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 14px 24px;
  min-width: 0;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field-group.full-width {
  grid-column: 1 / -1;
}

.planner-form label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--mp-text);
  min-width: 0;
  overflow-wrap: anywhere;
}

.planner-form label .hint {
  font-weight: 400;
  color: var(--mp-muted);
  font-size: .8125rem;
  overflow-wrap: anywhere;
}

.planner-form select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--mp-field-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2366706a' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid var(--mp-border);
  border-radius: var(--radius-sm);
  padding: 9px 36px 9px 12px;
  font-family: var(--font);
  font-size: .9375rem;
  color: var(--mp-text);
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
  min-width: 0;
}

.planner-form select:focus {
  outline: none;
  border-color: var(--mp-accent);
  box-shadow: 0 0 0 3px rgba(31, 122, 90, .2);
}

.planner-form select[aria-invalid="true"] {
  border-color: var(--mp-danger);
  background-color: var(--mp-danger-bg);
}

input[aria-invalid="true"] {
  outline: 2px solid color-mix(in srgb, var(--mp-danger) 24%, transparent);
  outline-offset: 2px;
}

.field-error {
  min-height: 1.1em;
  font-size: .8125rem;
  color: var(--mp-danger);
  line-height: 1.35;
}

/* --- Checkbox / radio groups ------------------------------ */
.check-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}

.specialty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
}

.check-row,
.radio-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  cursor: pointer;
  font-size: .9rem;
  color: var(--mp-text);
  line-height: 1.4;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.check-row span,
.radio-row span {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.check-row input[type="checkbox"],
.radio-row input[type="radio"] {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--mp-accent);
  cursor: pointer;
}

/* --- Submit button ---------------------------------------- */
.btn-calculate {
  display: block;
  width: 100%;
  margin-top: 28px;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--mp-accent), var(--mp-accent-strong));
  color: #fff;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  letter-spacing: 0;
  transition: background .15s, transform .1s;
}

.btn-calculate:hover {
  background: linear-gradient(135deg, var(--mp-accent-strong), var(--mp-accent));
}

.btn-calculate:active {
  transform: scale(.99);
}

.guide-section {
  margin-top: 34px;
  padding: 24px;
  background: var(--mp-surface);
  border: 1px solid var(--mp-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--mp-shadow);
}

.guide-section h2 {
  color: var(--mp-ink);
  font-size: 1.4rem;
  line-height: 1.2;
  margin-top: 4px;
}

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

.guide-grid article {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--mp-border-light);
  border-radius: 8px;
  background: var(--mp-surface-alt);
}

.guide-grid h3 {
  color: var(--mp-ink);
  font-size: .98rem;
  line-height: 1.25;
  margin-bottom: 6px;
}

.guide-grid p {
  color: var(--mp-muted);
  font-size: .88rem;
  line-height: 1.5;
}

.related-section {
  margin-top: 22px;
  padding: 22px 24px;
  background: var(--mp-surface);
  border: 1px solid var(--mp-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--mp-shadow);
}

.related-section h2 {
  color: var(--mp-ink);
  font-size: 1.25rem;
  line-height: 1.2;
  margin-top: 4px;
}

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

.related-card {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--mp-border-light);
  border-radius: 8px;
  background: var(--mp-surface-alt);
  color: var(--mp-text);
  text-decoration: none;
  transition: border-color .15s, transform .15s, background .15s;
}

.related-card:hover,
.related-card:focus-visible {
  border-color: var(--mp-accent);
  background: var(--mp-accent-soft);
  transform: translateY(-1px);
  outline: none;
}

.related-card span {
  color: var(--mp-accent-strong);
  font-size: .86rem;
  font-weight: 800;
  line-height: 1.25;
}

.related-card strong {
  color: var(--mp-text);
  font-size: .86rem;
  font-weight: 600;
  line-height: 1.4;
}

/* --- Results section -------------------------------------- */
#results {
  margin-top: 36px;
}

.results-header {
  font-size: .875rem;
  font-weight: 600;
  color: var(--mp-muted);
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 10px;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.secondary-action {
  border: 1px solid var(--mp-border);
  background: var(--mp-surface);
  color: var(--mp-accent-strong);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-family: var(--font);
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
}

.secondary-action:hover {
  border-color: var(--mp-accent);
  background: var(--mp-accent-soft);
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* --- Result card ------------------------------------------ */
.result-card {
  background: var(--mp-surface);
  border: 1px solid var(--mp-border);
  border-top: 3px solid color-mix(in srgb, var(--mp-accent) 72%, var(--mp-border));
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--mp-shadow);
}

.result-card.full-width {
  grid-column: 1 / -1;
}

.result-card.warn-card {
  background: var(--mp-warn-bg);
  border-color: color-mix(in srgb, var(--mp-warn) 36%, var(--mp-border));
}

.card-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--mp-faint);
  margin-bottom: 6px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--mp-ink);
  margin-bottom: 4px;
}

.card-body {
  font-size: .9rem;
  color: var(--mp-muted);
  line-height: 1.5;
}

/* effort badges */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 6px;
}

.badge-light    { background: var(--badge-light-bg); color: var(--badge-light-fg); }
.badge-moderate { background: var(--badge-moderate-bg); color: var(--badge-moderate-fg); }
.badge-heavy    { background: var(--badge-heavy-bg); color: var(--badge-heavy-fg); }
.badge-vheavy   { background: var(--badge-vheavy-bg); color: var(--badge-vheavy-fg); }

/* supplies grid */
.supplies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
  margin-top: 8px;
}

.supply-item {
  display: flex;
  justify-content: space-between;
  font-size: .875rem;
  padding: 5px 0;
  border-bottom: 1px solid var(--mp-border-light);
}

.supply-name { color: var(--mp-text); }
.supply-qty  { font-weight: 700; color: var(--mp-ink); font-variant-numeric: tabular-nums; }

.cost-card {
  background: var(--mp-accent-soft);
  border-color: color-mix(in srgb, var(--mp-accent) 34%, var(--mp-border));
}

.cost-factors,
.soft-note {
  font-size: .8125rem;
  color: var(--mp-muted);
  line-height: 1.45;
  margin-top: 10px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.comparison-option {
  border: 1px solid var(--mp-border-light);
  border-radius: 8px;
  padding: 12px;
  background: var(--mp-surface-alt);
}

.comparison-option.selected {
  border-color: var(--mp-accent);
  background: var(--mp-accent-soft);
}

.comparison-eyebrow {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--mp-faint);
  margin-bottom: 4px;
}

.comparison-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--mp-ink);
  line-height: 1.3;
}

.comparison-cost {
  margin-top: 6px;
  font-size: .95rem;
  font-weight: 700;
  color: var(--mp-accent-strong);
  font-variant-numeric: tabular-nums;
}

.comparison-detail {
  margin: 6px 0 0;
  font-size: .8125rem;
  line-height: 1.45;
  color: var(--mp-muted);
}

/* timeline checklists */
.timeline-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  margin-top: 8px;
}

.timeline-section h4 {
  font-size: .8125rem;
  font-weight: 700;
  color: var(--mp-accent);
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .875rem;
  color: var(--mp-text);
  line-height: 1.4;
  cursor: pointer;
}

.checklist li input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--mp-success);
  cursor: pointer;
}

.checklist li.done span {
  text-decoration: line-through;
  color: var(--mp-faint);
}

/* questions + red flags lists */
.plain-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 8px;
}

.plain-list li {
  font-size: .9rem;
  color: var(--mp-text);
  padding-left: 18px;
  position: relative;
  line-height: 1.45;
}

.plain-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--mp-faint);
}

.warn-card .plain-list li::before {
  color: var(--mp-warn);
}

/* disclaimer */
.disclaimer-card {
  background: var(--mp-surface-alt);
  border: 1px solid var(--mp-border-light);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-top: 16px;
  font-size: .8125rem;
  color: var(--mp-muted);
  line-height: 1.55;
}

.disclaimer-card strong {
  color: var(--mp-text);
}

/* --- TV field row ----------------------------------------- */
.tv-fields {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 12px 16px;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 8px;
}

.tv-sub-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 160px;
}

.tv-sub-field label {
  font-size: .8125rem;
  font-weight: 500;
  color: var(--mp-muted);
}

/* --- Field note (overseas info text) ---------------------- */
.field-note {
  font-size: .8125rem;
  color: var(--mp-muted);
  line-height: 1.5;
  margin-top: 4px;
  font-style: italic;
  overflow-wrap: anywhere;
}

/* --- Info card (overseas notes) --------------------------- */
.info-card {
  background: var(--mp-accent-soft);
  border-color: color-mix(in srgb, var(--mp-accent) 34%, var(--mp-border));
}

/* --- Utility ---------------------------------------------- */
.hidden { display: none !important; }

/* --- Responsive: mobile first ----------------------------- */
@media (max-width: 640px) {
  .moving-local-header {
    align-items: flex-start;
    flex-direction: column;
    padding: .8rem 1rem;
  }

  .moving-local-header nav {
    justify-content: flex-start;
  }

  .planner-form {
    padding: 16px 14px 20px;
    border-radius: var(--radius);
  }

  .field-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .timeline-sections {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .supplies-grid {
    grid-template-columns: 1fr;
  }

  .page-header {
    padding: 1.25rem 0 0.75rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .page-header p {
    font-size: .95rem;
    line-height: 1.45;
  }

  .guide-section,
  .related-section {
    padding: 18px 14px;
  }

  .guide-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .moving-planner-page {
    width: min(1180px, calc(100% - 2rem));
    padding: 0;
  }

  .form-title {
    margin-bottom: 14px;
  }

  .tv-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .access-grid {
    grid-template-columns: 1fr;
  }

  .tv-sub-field {
    min-width: 0;
  }

  .result-actions {
    justify-content: stretch;
  }

  .secondary-action {
    flex: 1 1 130px;
  }
}

@media print {
  body {
    background: #fff;
    color: #111;
  }

  .moving-local-header,
  .breadcrumb,
  .page-header,
  .planner-form,
  .guide-section,
  .related-section,
  .result-actions {
    display: none !important;
  }

  .moving-planner-page {
    max-width: none;
    padding: 0;
  }

  #results {
    margin-top: 0;
  }

  .cards-grid,
  .timeline-sections,
  .comparison-grid,
  .supplies-grid {
    grid-template-columns: 1fr;
  }

  .result-card,
  .disclaimer-card {
    box-shadow: none;
    break-inside: avoid;
  }
}

@media (min-width: 641px) and (max-width: 860px) {
  .field-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  }
}

@media (min-width: 1080px) {
  .moving-planner-tool {
    grid-template-columns: minmax(0, 1fr) 180px;
  }

  .moving-planner-tool .planner-form,
  .moving-planner-tool #results {
    grid-column: 1;
  }

  .moving-planner-tool .ad-slot-sidebar {
    align-self: start;
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}
/* Codex polish: harden narrow mobile layout after screenshot review. */
@media (max-width: 640px) {
  .page-header {
    overflow-x: hidden;
  }

  .page-header p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .moving-planner-page {
    width: min(1180px, calc(100% - 2rem));
    max-width: none;
    overflow-x: hidden;
  }

  .planner-form,
  #results,
  .result-card,
  .disclaimer-card {
    min-width: 0;
    max-width: 100%;
  }

  .planner-form *,
  #results * {
    min-width: 0;
  }
}
