/* ─────────────────────────────────────────────────────────────
   Property Journey Planner (Milestone 5) — additive layer.
   Loaded after styles.css and glenice-design-v1.css.
   ───────────────────────────────────────────────────────────── */

/* ── Persistent plan summary banner ──────────────────────────── */
.plan-banner {
  background: var(--teal, #062f33);
  color: #fff;
}
.plan-banner-inner {
  max-width: var(--reading-max, 1080px);
  margin: 0 auto;
  padding: 10px var(--container-gutter, clamp(18px, 4vw, 56px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.plan-banner-summary {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.plan-banner-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.plan-banner-view {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.plan-banner-dismiss {
  background: none;
  border: none;
  color: #fff;
  opacity: 0.7;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 4px;
}
.plan-banner-dismiss:hover,
.plan-banner-dismiss:focus-visible {
  opacity: 1;
}

/* ── Quick-start question chips ──────────────────────────────── */
.plan-quickstart-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: var(--reading-max, 720px);
}
.plan-question {
  border: none;
  padding: 0;
  margin: 0;
}
.plan-question legend {
  font-family: inherit;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 14px;
  padding: 0;
}
.plan-choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.plan-choice-chip {
  position: relative;
  cursor: pointer;
}
.plan-choice-chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.plan-choice-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line, #d8d2c4);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted, #5b6a6d);
  transition: border-color 150ms ease, color 150ms ease, background 150ms ease;
}
.plan-choice-chip:hover span {
  border-color: rgba(6, 47, 51, 0.35);
}
.plan-choice-chip input:checked + span {
  border-color: var(--teal, #062f33);
  background: var(--teal, #062f33);
  color: #fff;
}
.plan-choice-chip input:checked:hover + span {
  border-color: var(--teal, #062f33);
}
.plan-choice-chip input:focus-visible + span {
  outline: 2px solid var(--clay, #c9a15a);
  outline-offset: 2px;
}
.plan-quickstart-actions {
  margin-top: 4px;
}
.plan-quickstart-note {
  font-size: 12.5px;
  color: var(--muted, #5b6a6d);
  margin: 8px 0 0;
}

/* ── /my-plan summary sections ───────────────────────────────── */
.plan-section {
  margin-top: 40px;
}
.plan-section:first-child {
  margin-top: 0;
}
.plan-fact-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin: 16px 0 0;
}
.plan-fact-list > div,
dl.plan-fact-list > div {
  border: 1px solid var(--line, #d8d2c4);
  border-radius: 8px;
  padding: 14px 16px;
  background: var(--paper, #fbf9f4);
}
.plan-fact-label,
.plan-fact-list dt {
  display: block;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted, #5b6a6d);
  margin: 0 0 4px;
}
.plan-fact-value,
.plan-fact-list dd {
  display: block;
  font-weight: 700;
  font-size: 15px;
  margin: 0;
}
.plan-import-preview {
  border: 1px solid var(--clay, #c9a15a);
  border-radius: 8px;
  padding: 24px;
  background: var(--paper, #fbf9f4);
  margin-top: 24px;
}
.plan-privacy-note {
  font-size: 12.5px;
  color: var(--muted, #5b6a6d);
  margin-top: 32px;
}

@media (max-width: 640px) {
  .plan-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
