/* ============================================================
   PROXIMA SENIOR ADVISING: customer-dashboard.css
   Family dashboard (customer-dashboard.html). Loads AFTER
   styles-v4.css and dashboard.css and reuses them: the shell, cards,
   chips, forms, dialogs and toasts are the facility dashboard's .fd-*
   pieces. This file only adds what the family dashboard needs on top
   (.cd-*), the 200% text layout, and the print stylesheet.
   Sizes are in rem wherever text sits in them, so they grow with
   the reader's text size (brief: tested at 200%).
   ============================================================ */

/* ---------- local tokens + resets ---------- */
.cd-body { --fd-side-w: 17.75rem; }
.cd-body [hidden] { display: none !important; }
.cd-probe { position: absolute; left: -9999px; top: 0; width: 1rem; height: 1px; visibility: hidden; pointer-events: none; }
.cd-body .cb-input, .cd-body .cb-textarea, .cd-body select, .cd-body button { font-family: inherit; }
/* styles-v4 hides the skip link at a fixed -64px; at 200% text it is taller than that and peeks in */
.cd-body .skip-link { top: -20rem; }
.cd-body .skip-link:focus-visible { top: 16px; }
.cd-body .btn, .cd-body .fd-seg button, .cd-body .fd-filter { white-space: normal; text-align: center; max-width: 100%; }
.cd-body .fd-seg { max-width: 100%; box-sizing: border-box; }
.cd-body .fd-seg button { flex: 1 1 auto; min-width: 0; }
.cd-body .cb-seg-btn { white-space: normal; text-align: center; }
.cd-body .fd-pick span { white-space: normal; }
.cd-body .fd-chip { white-space: normal; }

/* ---------- shell additions ---------- */
.cd-topbar__r { display: flex; align-items: center; gap: 10px; }
.cd-callbtn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px;
  border: 1.5px solid var(--ink); border-radius: 999px;
  background: var(--paper-3); color: var(--ink);
  font-size: .9375rem; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.cd-callbtn:hover { background: var(--ink); color: var(--paper); }
.cd-callbtn .ico { width: 18px; height: 18px; }
@media (max-width: 479px) { .cd-callbtn span { display: none; } .cd-callbtn { padding: 0; width: 44px; justify-content: center; } }

/* dashboard.css makes .fd-head__actions flex:none, so a row of buttons could never wrap on a phone */
.cd-body .fd-head__actions { flex: 0 1 auto; min-width: 0; max-width: 100%; }
/* A grid's implicit column is auto, which grows to the longest unbreakable word inside it
   (an email address at 200% text made the account page 584px wide). minmax(0,1fr) lets it shrink. */
.cd-stages, .cd-pw, .cd-item, .cd-quick, .cd-q, .cd-checkins, .cd-tours, .cd-msgs, .cd-thread__log, .cd-moveform__f, .cd-ckform, .cd-ckform__more,
.cd-compose, .cd-intro, .cd-comm__facts, .cd-comm__meta, .cd-tour__main, .cd-pair, .cd-other, .cd-sub, .cd-ready, .cd-docs, .cd-cost__list,
.cd-timeline, .cd-sends ul, .cd-bring, .cd-item__help dl, .cd-confirm__act, .cd-find { grid-template-columns: minmax(0, 1fr); }
.cd-body .fd-kv dd, .cd-body .fd-kv dt { overflow-wrap: anywhere; min-width: 0; }
.cd-head-act { display: flex; flex-wrap: wrap; gap: 10px; }
.cd-tabs { margin-top: 2px; }
.cd-in { margin-inline: clamp(18px, 2.2vw, 28px); padding-bottom: 24px; }
.fd-callout.cd-in { margin-bottom: 18px; }
.cd-more > summary { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-weight: 750; list-style: none; }
.cd-more > summary::-webkit-details-marker { display: none; }
.cd-more > summary .ico { width: 20px; height: 20px; transition: transform .2s var(--ease); }
.cd-more[open] > summary .ico { transform: rotate(180deg); }
.cd-more > .cd-tracker, .cd-more > .fd-block { margin-top: 18px; }

/* the three kinds of list that appear everywhere */
.cd-plain { list-style: disc; padding-left: 1.2rem; display: grid; gap: 4px; font-size: .9375rem; color: var(--ink-2); line-height: 1.5; }
.cd-plain li::marker { color: var(--green-2); }
.cd-quick { list-style: none; display: grid; margin-top: 10px; }
.cd-quick li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.cd-quick li:first-child { border-top: 0; }
.cd-quick li b { display: block; }
.cd-quick li span { display: block; font-size: .875rem; color: var(--ink-2); }
.cd-line { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; color: var(--ink-2); line-height: 1.45; }
.cd-line .ico { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--fd-green-ink); }
.cd-note-preview { font-size: .875rem; color: var(--ink-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.cd-saved { font-size: .8125rem; font-weight: 650; color: var(--fd-green-ink); min-height: 1em; }
.cd-hint { margin-top: 6px; }
.cd-narrow { max-width: 14rem; }
.cd-devnote { font-size: .8125rem; padding: 8px 12px; border-radius: 6px; background: color-mix(in srgb, var(--yellow) 25%, var(--paper-3)); color: var(--ink); }

/* ---------- toast with Undo ---------- */
.cd-toast__btn {
  margin-left: auto; align-self: center; flex: none;
  min-height: 44px; padding: 0 16px;
  border: 1.5px solid var(--paper); border-radius: 8px;
  background: transparent; color: var(--paper);
  font: inherit; font-weight: 700; cursor: pointer;
}
.cd-toast__btn:hover { background: var(--paper); color: var(--ink); }

/* ============================================================
   HOME
   ============================================================ */
.cd-nextwrap { display: block !important; }
.cd-next__title { margin: 8px 0 6px; font-size: 1.5rem; font-weight: 850; letter-spacing: -0.02em; line-height: 1.15; }
.cd-next .btn { margin-top: 4px; }
.cd-next .fd-fresh__note { margin-top: 12px; }

.cd-prep { display: grid; gap: 4px; }
.cd-prep .fd-lede { margin-top: 10px; }
.cd-prep .fd-callout__act { margin-top: 18px; }

.cd-urgent {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 18px; align-items: center;
  padding: clamp(16px, 2.4vw, 24px);
  border: 2px solid var(--ink); border-radius: var(--fd-r);
  background: color-mix(in srgb, var(--yellow) 24%, var(--paper-3));
}
.cd-urgent > .ico { width: 2rem; height: 2rem; color: var(--ink); }
.cd-urgent h2 { font-size: 1.375rem; font-weight: 850; letter-spacing: -0.02em; line-height: 1.15; }
.cd-urgent p { margin-top: 4px; color: var(--ink-2); }
.cd-urgent__act { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) {
  .cd-urgent { grid-template-columns: auto minmax(0, 1fr) auto; }
  .cd-urgent__act { grid-column: auto; }
}

.cd-sit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; }
.cd-sit__now { margin-top: 6px; color: var(--ink-2); }
.cd-found { display: grid; gap: 16px; }

.cd-timeline { list-style: none; display: grid; margin-top: 4px; }
.cd-timeline li { position: relative; display: grid; grid-template-columns: .875rem minmax(0, 1fr); gap: 14px; padding: 12px 0; }
.cd-timeline li::before { content: ""; position: absolute; left: .4rem; top: 2.1rem; bottom: -.2rem; width: 2px; background: var(--line); }
.cd-timeline li:last-child::before { display: none; }
.cd-timeline__dot { width: .875rem; height: .875rem; margin-top: .3rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--paper-3); position: relative; z-index: 1; }
.cd-timeline p { font-size: .9375rem; color: var(--ink); line-height: 1.4; overflow-wrap: anywhere; }
.cd-timeline time { font-size: .8125rem; color: var(--ink-3); }

/* ---------- the stage tracker: a stack on phones, a stepper on wide cards ---------- */
.cd-tracker { container: cdtrk / inline-size; --dot: min(2.25rem, 46px); }
.cd-tracker.is-frozen .cd-stages { opacity: .62; }
.cd-stages { list-style: none; display: grid; margin-top: 6px; }
.cd-stage { position: relative; }
/* the rail down the side joins each dot to the next */
.cd-stage::before { content: ""; position: absolute; left: calc(var(--dot) / 2 - 1px); top: calc(var(--dot) + 10px); bottom: -.4rem; width: 2px; background: var(--line-2); }
.cd-stage:last-child::before { display: none; }
.cd-stage.is-done::before, .cd-stage.is-skipped::before { background: var(--fd-grad); }
.cd-stage__node {
  display: grid; grid-template-columns: var(--dot) minmax(0, 1fr); grid-template-areas: "dot title" "dot state"; column-gap: 14px; align-items: center;
  width: 100%; min-height: 3.25rem; padding: 6px 0;
  background: none; border: 0; font: inherit; color: inherit; text-align: left; cursor: pointer;
}
.cd-stage__node:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.cd-stage__dot {
  grid-area: dot; position: relative; z-index: 1;
  width: var(--dot); height: var(--dot); display: grid; place-items: center; border-radius: 50%;
  border: 2px solid var(--line-2); background: var(--paper-3); color: var(--ink-2);
  font-size: .9375rem; font-weight: 800; font-feature-settings: "tnum" 1;
}
.cd-stage__dot .ico { width: 1.1rem; height: 1.1rem; stroke-width: 3; }
.cd-stage__title { grid-area: title; font-size: 1rem; font-weight: 750; line-height: 1.2; overflow-wrap: anywhere; }
.cd-stage__state { grid-area: state; font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.cd-stage.is-done .cd-stage__dot { background: var(--green); border-color: var(--green); color: var(--ink); }
.cd-stage.is-done .cd-stage__state { color: var(--fd-green-ink); }
.cd-stage.is-skipped .cd-stage__dot { background: var(--paper-2); }
.cd-stage.is-current .cd-stage__dot { background: var(--ink); border-color: var(--ink); color: var(--paper); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 45%, transparent); }
.cd-stage.is-current .cd-stage__state { color: var(--blue); }
.cd-stage.is-upcoming .cd-stage__title { color: var(--ink-2); }
.cd-stage__detail { margin: 0 0 16px calc(var(--dot) + 14px); padding: 14px 16px; border-left: 3px solid var(--green); border-radius: 0 8px 8px 0; background: var(--paper); display: grid; gap: 8px; }
.cd-stage__mean { font-size: .9375rem; color: var(--ink); }
.cd-stage__who { font-size: .875rem; color: var(--ink-2); }
.cd-stage__who b { color: var(--ink); }
.cd-stage__act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

/* wide card: one row of eleven. A container query, so it keys off the card, not the window. */
@container cdtrk (min-width: 880px) {
  html:not(.cd-bigtext) .cd-stages { grid-template-columns: repeat(11, minmax(0, 1fr)); align-items: start; }
  html:not(.cd-bigtext) .cd-stage { display: contents; }
  html:not(.cd-bigtext) .cd-stage::before { display: none; }
  html:not(.cd-bigtext) .cd-stage__node {
    position: relative; grid-row: 1; grid-template-columns: minmax(0, 1fr); grid-template-areas: "dot" "title" "state";
    justify-items: center; row-gap: 8px; text-align: center; padding: 0 4px 8px; min-height: 0;
  }
  html:not(.cd-bigtext) .cd-stage__node::before { content: ""; position: absolute; top: 1.0625rem; left: 50%; width: 100%; height: 2px; background: var(--line-2); }
  html:not(.cd-bigtext) .cd-stage:last-child .cd-stage__node::before { display: none; }
  html:not(.cd-bigtext) .cd-stage.is-done .cd-stage__node::before, html:not(.cd-bigtext) .cd-stage.is-skipped .cd-stage__node::before { background: var(--fd-grad-x); }
  html:not(.cd-bigtext) .cd-stage__title { font-size: .8125rem; }
  html:not(.cd-bigtext) .cd-stage__detail { grid-row: 2; grid-column: 1 / -1; margin: 14px 0 0; }
}

/* ============================================================
   PROFILE
   ============================================================ */
.cd-confirm { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.cd-confirm .fd-lede { margin-top: 8px; font-size: 1rem; }
.cd-confirm__act { display: grid; gap: 8px; justify-items: start; }
.cd-row .fd-row__label label, .cd-row .fd-row__lbl { cursor: default; }
.cd-row .fd-row__label label { cursor: pointer; }
.cd-private { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .75rem; font-weight: 700; letter-spacing: .04em; color: var(--ink-2); }
.cd-private .ico { width: 13px; height: 13px; }
.cd-hidden { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 14px; border: 1px dashed var(--line-2); border-radius: 8px; background: var(--paper); }
.cd-hidden > .ico { width: 20px; height: 20px; color: var(--ink-3); flex: none; }
.cd-hidden p { margin-right: auto; font-size: .9375rem; color: var(--ink-2); }
.cd-sub { display: grid; gap: 4px; min-width: 0; }
.cd-sub__l { display: block; font-size: .8125rem; font-weight: 650; color: var(--ink-2); }
.cd-pair { display: grid; gap: 10px; }
.cd-other { margin-top: 10px; display: grid; gap: 4px; }
.cd-soft { display: flex; gap: 8px; margin-top: 6px; font-size: .8125rem; color: var(--ink-2); }
.cd-soft .ico { width: 15px; height: 15px; flex: none; margin-top: 2px; }
.cd-verify { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.cd-verify__v { font-weight: 650; overflow-wrap: anywhere; }
.cd-unsaved { font-weight: 700; color: var(--blue); }
.cd-rank__n { display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; margin-right: 8px; border-radius: 50%; background: var(--green); color: var(--ink); font-size: .75rem; font-weight: 800; }
.fd-pick.is-blocked span { opacity: .55; }
.cd-hist { font-size: .8125rem; }
.cd-hist summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; font-weight: 650; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 3px; }
.cd-hist ul { margin: 0 0 8px 1.1rem; display: grid; gap: 4px; color: var(--ink-2); }
.fd-row__meta .fd-linkbtn { padding: 0; min-height: 44px; }

.cd-avail { display: grid; grid-template-columns: minmax(6.5rem, auto) repeat(2, minmax(0, 1fr)); gap: 8px 10px; align-items: center; max-width: 34rem; }
.cd-avail__h { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.cd-avail__d { font-size: .9375rem; font-weight: 650; }
.cd-avail .fd-pick span { width: 100%; justify-content: center; padding-inline: 8px; }

.cd-sec__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 6px clamp(18px, 2.2vw, 28px) 0; padding: 18px 0 clamp(18px, 2.2vw, 28px); border-top: 1px solid var(--line); }
.cd-sec__foot .btn[disabled] { opacity: .45; cursor: not-allowed; }
.cd-sec__status { font-size: .875rem; font-weight: 650; color: var(--blue); }
.cd-savebar:not([hidden]) { display: flex; }

/* contact grid (B7) */
.cd-prefs-wrap { overflow-x: auto; }
.cd-prefs { width: 100%; border-collapse: collapse; }
.cd-prefs th, .cd-prefs td { padding: 8px; text-align: center; }
.cd-prefs thead th { padding-bottom: 12px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); border-bottom: 2px solid var(--ink); }
.cd-prefs tbody th { text-align: left; font-weight: 650; padding-left: 0; }
.cd-prefs tbody tr + tr > * { border-top: 1px solid var(--line); }
.cd-check { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 44px; min-height: 44px; cursor: pointer; }
.cd-check input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cd-check__box { flex: none; width: 1.625rem; height: 1.625rem; display: grid; place-items: center; border: 2px solid var(--ink-2); border-radius: 6px; background: #fff; color: transparent; transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease); }
.cd-check__box .ico { width: 1rem; height: 1rem; stroke-width: 3; }
.cd-check input:checked + .cd-check__box { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.cd-check input:focus-visible + .cd-check__box { outline: 3px solid var(--blue); outline-offset: 3px; }
.cd-check input:disabled + .cd-check__box { opacity: .45; }
.cd-check:hover .cd-check__box { border-color: var(--ink); }
.cd-check__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cd-check--row { justify-content: flex-start; min-height: 44px; }
.cd-check--row > span:last-child { font-size: .9375rem; }
.cd-check--row small { color: var(--ink-3); font-size: .8125rem; }
.cd-prefs-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 10px; }
.cd-quiet { border: 0; margin-top: 22px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
@media (max-width: 699px) {
  .cd-prefs thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .cd-prefs, .cd-prefs tbody, .cd-prefs tr { display: block; }
  .cd-prefs tr { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; padding: 12px 0; border-top: 1px solid var(--line); }
  .cd-prefs tbody tr + tr > *, .cd-prefs tbody th, .cd-prefs td { border: 0; padding: 0; }
  .cd-prefs tbody th { flex: 1 1 100%; }
  .cd-prefs td { text-align: left; }
  .cd-check { justify-content: flex-start; }
  .cd-check__t { position: static; width: auto; height: auto; overflow: visible; clip: auto; font-size: .9375rem; text-transform: capitalize; }
  .cd-check__t .vh { position: absolute; }
}

/* ============================================================
   OPTIONS
   ============================================================ */
.cd-compare-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.cd-comms { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 25rem), 1fr)); align-items: start; }
.cd-comm { display: flex; flex-direction: column; gap: 16px; }
.cd-comm.is-chosen { border-color: var(--green); box-shadow: 0 0 0 2px color-mix(in srgb, var(--green) 40%, transparent); }
.cd-comm.is-aside { background: transparent; padding-block: 14px; gap: 8px; }
.cd-comm__aside { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.cd-comm__aside > div { margin-right: auto; }
.cd-comm__top { display: flex; gap: 16px; align-items: flex-start; }
.cd-comm__photo { flex: none; width: 6rem; height: 4.5rem; display: grid; place-items: center; overflow: hidden; border-radius: 8px; color: var(--ink-3);
  background: linear-gradient(135deg, color-mix(in srgb, var(--green) 18%, var(--paper-2)), color-mix(in srgb, var(--blue-2) 16%, var(--paper-2))); }
.cd-comm__photo img { width: 100%; height: 100%; object-fit: cover; }
.cd-comm__photo .ico { width: 2rem; height: 2rem; }
.cd-comm__id { min-width: 0; }
.cd-comm__name { font-size: 1.375rem; font-weight: 850; letter-spacing: -0.02em; line-height: 1.15; overflow-wrap: anywhere; }
.cd-comm__where { margin-top: 4px; font-size: .9375rem; color: var(--ink-2); }
.cd-comm__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cd-comm__facts { display: grid; gap: 4px; }
.cd-comm__price { font-size: 1.0625rem; }
.cd-comm__contact { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 6px; }
.cd-comm__why .fd-eyebrow-h { margin-bottom: 8px; }
.cd-comm__meta { display: grid; gap: 6px; }
.cd-comm__status { border: 0; padding: 0; min-width: 0; }
.cd-comm__status legend { padding: 0; margin-bottom: 8px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.cd-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.cd-seg__b { min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--paper-3); font: inherit; font-size: .9375rem; font-weight: 650; color: var(--ink-2); cursor: pointer; transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease); }
.cd-seg__b:hover { border-color: var(--ink); color: var(--ink); }
.cd-seg__b[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.cd-comm__notes .cb-textarea { min-height: 4.5rem; }
.cd-comm__act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cd-cmp { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: .9375rem; font-weight: 650; cursor: pointer; }
.cd-cmp input { width: 1.25rem; height: 1.25rem; accent-color: var(--ink); cursor: pointer; }

/* introductions (C4) */
.cd-intro { display: grid; gap: 12px; padding: 14px 16px; border: 1.5px dashed var(--line-2); border-radius: 10px; background: var(--paper); }
.cd-intro.is-on { border-style: solid; border-color: color-mix(in srgb, var(--green) 55%, var(--line)); background: color-mix(in srgb, var(--green) 10%, var(--paper-3)); }
.cd-intro__row { display: flex; align-items: center; gap: 14px; }
.cd-intro__t { font-weight: 750; }
.cd-intro__s { font-size: .875rem; color: var(--ink-2); }
.cd-intro__lists { display: grid; gap: 12px 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.cd-intro__h { margin-bottom: 4px; font-size: .8125rem; font-weight: 700; color: var(--ink-2); }

/* compare */
.cd-tablewrap { overflow-x: auto; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper-3); }
.cd-tablewrap:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.cd-compare { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: .9375rem; }
.cd-compare th, .cd-compare td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); white-space: pre-wrap; overflow-wrap: anywhere; }
.cd-compare thead th { font-size: 1.0625rem; font-weight: 800; border-bottom: 2px solid var(--ink); }
.cd-compare tbody th { width: 11rem; font-weight: 700; color: var(--ink-2); background: var(--paper-2); }
.cd-compare tbody tr:last-child th, .cd-compare tbody tr:last-child td { border-bottom: 0; }
.cd-compare small { display: block; color: var(--ink-3); font-weight: 450; }
.cd-compare__n { display: block; }

/* cost planner (J1) */
.cd-cost__b { margin-top: 10px; font-size: 1.0625rem; }
.cd-cost__list { list-style: none; display: grid; gap: 20px; margin-top: 18px; }
.cd-cost__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; }
.cd-cost__track { position: relative; height: .875rem; margin-top: 8px; border-radius: 7px; background: var(--paper-2); overflow: hidden; }
.cd-cost__budget { position: absolute; top: 0; bottom: 0; left: var(--l); width: var(--w); background: color-mix(in srgb, var(--blue) 22%, transparent); border-inline: 2px solid var(--blue); }
.cd-cost__range { position: absolute; top: 3px; bottom: 3px; left: var(--l); width: var(--w); border-radius: 4px; background: var(--fd-grad-x); }

/* tour questions drawer (C5) */
.cd-q__count { margin-top: 10px; font-weight: 700; }
.cd-qgroup { border-top: 1px solid var(--line); }
.cd-qgroup summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 3rem; cursor: pointer; font-weight: 750; list-style: none; }
.cd-qgroup summary::-webkit-details-marker { display: none; }
.cd-qgroup summary small { color: var(--ink-3); font-weight: 600; font-size: .8125rem; }
.cd-q { list-style: none; display: grid; gap: 4px; padding-bottom: 12px; }
.cd-q li { padding: 10px 0; border-top: 1px dashed var(--line); }
.cd-q li:first-child { border-top: 0; }
.cd-q__ask { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; font-size: .9375rem; line-height: 1.4; cursor: pointer; }
.cd-q__ask input { flex: none; width: 1.375rem; height: 1.375rem; margin-top: 1px; accent-color: var(--ink); cursor: pointer; }
.cd-q__ans { margin: 8px 0 0 2.2rem; }
.cd-q__add { display: grid; gap: 14px; margin-top: 24px; padding-top: 20px; border-top: 2px solid var(--ink); }
.cd-q__rate { display: grid; gap: 14px; border: 0; margin-top: 24px; padding: 20px 0 0; border-top: 1px solid var(--line); }

/* ============================================================
   TOURS
   ============================================================ */
.cd-tours { display: grid; gap: 16px; margin-top: 14px; }
.cd-tour { display: flex; align-items: flex-start; gap: 18px; }
.cd-tour.is-past { background: transparent; }
.cd-tour__main { display: grid; gap: 10px; min-width: 0; justify-items: start; }
.cd-tour__when { font-weight: 700; }
.cd-tour__act { display: flex; flex-wrap: wrap; gap: 10px; }
.cd-date { flex: none; width: 4.5rem; overflow: hidden; border: 1.5px solid var(--ink); border-radius: 10px; background: var(--paper-3); text-align: center; line-height: 1.1; }
.cd-date span { display: block; padding: 4px 0; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.cd-date span:first-child { background: var(--ink); color: var(--paper); }
.cd-date b { display: block; padding: 4px 0; font-size: 2rem; font-weight: 850; }
.cd-date--ask { display: grid; place-items: center; height: 4.5rem; border-style: dashed; border-color: var(--line-2); color: var(--ink-3); }
.cd-date--ask .ico { width: 1.75rem; height: 1.75rem; }
.cd-bring { list-style: none; display: grid; gap: 10px; margin-top: 14px; }
.cd-bring li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.cd-bring .ico { flex: none; width: 20px; height: 20px; color: var(--ink-3); }
.cd-bring .ico.is-ok { color: var(--fd-green-ink); }

/* ============================================================
   PAPERWORK
   ============================================================ */
.cd-pwprog { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.cd-pwprog > div:first-child { flex: 1 1 18rem; min-width: 0; }
.cd-pwprog .fd-bar { margin-top: 14px; height: 10px; }
.cd-ready { display: grid; gap: 8px; justify-items: start; max-width: 28rem; font-size: .9375rem; color: var(--ink-2); }
.cd-pw { list-style: none; display: grid; }
.cd-item { display: grid; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); }
.cd-item:first-child { border-top: 0; padding-top: 4px; }
.cd-item__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 20px; }
.cd-item__t { flex: 1 1 16rem; min-width: 0; }
.cd-item__name { font-size: 1.0625rem; font-weight: 750; line-height: 1.3; overflow-wrap: anywhere; }
.cd-item.is-have_it .cd-item__name { color: var(--ink-2); }
.cd-item.is-not_needed .cd-item__name { color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 1px; }
.cd-item__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cd-item__status { flex: 0 0 auto; width: min(100%, 12rem); }
.cd-item__status .fd-select { width: 100%; }
.cd-item.is-have_it .cd-item__status .fd-select { border-color: var(--green-2); }
.cd-where { display: grid; gap: 8px; padding: 10px 14px; border-left: 3px solid var(--fd-green-ink); background: var(--paper); border-radius: 0 8px 8px 0; font-size: .9375rem; }
.cd-where p { margin: 0; }
.cd-where__row { display: grid; gap: 4px; }
.cd-where__who small { color: var(--ink-2); font-weight: 400; }
.cd-where a { font-weight: 650; }
.cd-item__help { border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.cd-item__help summary { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; cursor: pointer; font-size: .9375rem; font-weight: 650; list-style: none; }
.cd-item__help summary::-webkit-details-marker { display: none; }
.cd-item__help summary .ico { flex: none; width: 18px; height: 18px; color: var(--fd-green-ink); }
.cd-item__help dl { display: grid; gap: 10px; padding: 4px 14px 6px; }
.cd-item__help dt { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.cd-item__help dd { font-size: .9375rem; color: var(--ink); }
.cd-item__disc { padding: 4px 14px 14px; font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.cd-item__fields { display: grid; gap: 12px 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.cd-sends { border: 0; padding: 0; min-width: 0; }
.cd-sends legend { padding: 0; margin-bottom: 4px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.cd-sends ul { list-style: none; display: grid; }
.cd-sends .cd-check__box { margin-right: 2px; }

/* ============================================================
   MOVING IN + CHECK-INS
   ============================================================ */
.cd-move { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.cd-move .fd-lede { margin-top: 10px; }
.cd-moveform .fd-lede { margin-top: 10px; }
.cd-moveform__f { display: grid; gap: 16px; max-width: 34rem; margin: 20px 0; }
.cd-checkins { display: grid; gap: 16px; margin-top: 16px; }
.cd-ck h3 { display: flex; align-items: center; gap: 10px; }
.cd-ck h3 .ico { width: 22px; height: 22px; color: var(--fd-green-ink); flex: none; }
.cd-ck.is-upcoming { background: transparent; border-style: dashed; }
.cd-ckform { display: grid; gap: 22px; margin-top: 18px; max-width: 42rem; }
.cd-ckform__more { display: grid; gap: 22px; }
.cd-scale { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 6.5rem), 1fr)); gap: 8px; }
.cd-scale__o { position: relative; display: grid; align-content: center; gap: 2px; min-height: 44px; padding: 10px 6px; border: 1.5px solid var(--line-2); border-radius: 10px; background: var(--paper-3); text-align: center; cursor: pointer; }
.cd-scale__o input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cd-scale__n { font-size: 1.5rem; font-weight: 850; line-height: 1; }
.cd-scale__t { font-size: .8125rem; line-height: 1.2; color: var(--ink-2); }
.cd-scale__o:hover { border-color: var(--ink); }
.cd-scale__o:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.cd-scale__o:has(input:checked) .cd-scale__t { color: var(--paper); }
.cd-scale__o:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.cd-ack .fd-lede { margin-top: 10px; }
.cd-ack .fd-callout__act { margin-top: 18px; }

/* ============================================================
   MESSAGES
   ============================================================ */
.cd-msgs { display: grid; gap: 16px; }
.cd-thread { padding: 0; overflow: hidden; }
.cd-thread__log { display: grid; gap: 14px; max-height: min(60vh, 34rem); overflow-y: auto; padding: 20px; background: var(--paper); }
.cd-thread__log:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.cd-thread__empty { display: grid; justify-items: center; gap: 10px; padding: 36px 20px; text-align: center; color: var(--ink-2); }
.cd-thread__empty .ico { width: 38px; height: 38px; color: var(--line-2); }
.cd-msg { display: grid; gap: 4px; max-width: min(100%, 34rem); padding: 12px 16px; border-radius: 14px; }
.cd-msg.is-in { justify-self: start; background: var(--paper-3); border: 1.5px solid var(--line); border-top-left-radius: 4px; }
.cd-msg.is-out { justify-self: end; background: var(--ink); color: var(--paper); border-top-right-radius: 4px; }
.cd-msg__who { display: flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.cd-msg.is-out .cd-msg__who, .cd-msg.is-out .cd-msg__time { color: var(--fd-dim); }
.cd-msg__body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; }
.cd-msg__time { font-size: .75rem; color: var(--ink-3); }
.cd-compose { display: grid; gap: 12px; padding: 18px 20px 20px; border-top: 1px solid var(--line); background: var(--paper-3); }
.cd-compose__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.cd-count { font-size: .8125rem; color: var(--ink-3); font-feature-settings: "tnum" 1; }

/* ============================================================
   DOCUMENTS, HELP, ACCOUNT
   ============================================================ */
.cd-docs { list-style: none; display: grid; margin-top: 12px; }
.cd-docs li { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.cd-docs li:first-child { border-top: 0; }
.cd-docs li > .ico { flex: none; width: 24px; height: 24px; color: var(--fd-green-ink); }
.cd-docs li > div:nth-child(2) { flex: 1 1 14rem; min-width: 0; }
.cd-docs b { display: block; }
.cd-docs li span { display: block; font-size: .9375rem; color: var(--ink-2); }
.cd-docs__act { display: flex; flex-wrap: wrap; gap: 8px; }
.cd-faq details { border-top: 1px solid var(--line); }
.cd-faq details:first-child { border-top: 0; }
.cd-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 3.5rem; padding: 8px 0; cursor: pointer; font-size: 1.0625rem; font-weight: 750; list-style: none; }
.cd-faq summary::-webkit-details-marker { display: none; }
.cd-faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .2s var(--ease); }
.cd-faq details[open] summary::after { transform: rotate(-135deg); }
.cd-faq details p { max-width: 62ch; padding: 0 0 14px; color: var(--ink-2); }
.cd-pwform { display: grid; gap: 16px; max-width: 34rem; margin-top: 16px; }
.cd-pwform .fd-h3 { margin-bottom: 0; }
.cd-pwform + .fd-setting { margin-top: 26px; border-top: 1px solid var(--line); }
.fd-card > .fd-h2 + .fd-kv, .fd-card > .fd-h2 + .fd-lede + .fd-h3 { margin-top: 16px; }
.fd-card > .fd-h2 + .cd-pwform { margin-top: 18px; }

/* ============================================================
   PREVIEW BAR + REVIEW MARKS (only exist on localhost with ?mock=1)
   ============================================================ */
.cd-devbar { margin-top: auto; border: 1px solid var(--line-dark); border-radius: 10px; background: rgba(255, 255, 255, .05); color: var(--paper); font-size: .8125rem; }
.cd-devbar + .fd-side__foot { margin-top: 0; }
.cd-devbar summary { display: flex; align-items: center; min-height: 44px; padding: 0 16px; cursor: pointer; font-weight: 700; letter-spacing: .06em; list-style: none; }
.cd-devbar summary::-webkit-details-marker { display: none; }
.cd-devbar[open] summary { border-bottom: 1px solid var(--line-dark); }
.cd-devbar :focus-visible { outline-color: var(--paper); }
.cd-devbar__row { display: grid; gap: 4px; padding: 10px 10px 4px; }
.cd-devbar__b { display: flex; align-items: center; min-height: 40px; padding: 0 10px; border-radius: 8px; color: var(--fd-on-dark); text-decoration: none; font-weight: 600; }
.cd-devbar__b:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.cd-devbar__b[aria-current="true"] { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 3px 0 0 var(--green); }
.cd-devbar__sw { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; cursor: pointer; }
.cd-devbar__sw input { width: 1.125rem; height: 1.125rem; accent-color: var(--green); }
.cd-devbar > :last-child { padding-bottom: 6px; }

.cd-review [data-review] { position: relative; outline: 2px dashed #B8860B; outline-offset: 4px; }
.cd-review [data-review]::before { position: absolute; top: -1.15em; left: 0; z-index: 3; padding: 2px 6px; border-radius: 3px; background: var(--yellow); color: var(--ink); font: 700 .625rem/1.2 var(--font); letter-spacing: .08em; pointer-events: none; white-space: nowrap; }
.cd-review [data-review="legal"]::before { content: "LEGAL PLACEHOLDER"; }
.cd-review [data-review="confirm"]::before { content: "CONFIRM BEFORE PUBLISH"; }

/* ============================================================
   BIG TEXT (root font size 140% and up) AND PHONES: one column, menu in a drawer.
   The wide rules in dashboard.css key off window width, which text size does not change.
   ============================================================ */
.cd-bigtext .fd-app { display: block; }
.cd-bigtext .fd-topbar { display: flex; }
.cd-bigtext .fd-side { position: fixed; inset: 0 auto 0 0; z-index: var(--z-modal); width: min(88vw, 26rem); height: auto; transform: translateX(-104%); visibility: hidden; transition: transform .32s var(--ease-out); }
.cd-bigtext .fd-side.is-open { transform: none; visibility: visible; }
.cd-bigtext .fd-side .fd-side__close { display: inline-grid; }
.cd-bigtext .fd-scrim:not([hidden]) { display: block !important; }
.cd-bigtext .fd-welcome { grid-template-columns: minmax(0, 1fr); }
.cd-bigtext .fd-two { grid-template-columns: minmax(0, 1fr); }
.cd-bigtext .fd-actions { grid-template-columns: minmax(0, 1fr); }
.cd-bigtext .fd-prof { grid-template-columns: minmax(0, 1fr); }
.cd-bigtext .fd-prof__nav { position: static; margin: 0; padding: 0; }
.cd-bigtext .fd-prof__nav ul { flex-wrap: wrap; overflow: visible; flex-direction: row; }
.cd-bigtext .fd-prof__nav a { width: auto; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper-3); white-space: normal; padding-block: 6px; }
.cd-bigtext .fd-row { grid-template-columns: minmax(0, 1fr); }
.cd-bigtext .fd-sec__head { grid-template-columns: minmax(0, 1fr); }
.cd-bigtext .fd-formrow { grid-template-columns: minmax(0, 1fr); }
.cd-bigtext .cd-comm__top, .cd-bigtext .cd-tour { flex-direction: column; }
.cd-bigtext .cd-urgent { grid-template-columns: auto minmax(0, 1fr); }
.cd-bigtext .cd-urgent__act { grid-column: 1 / -1; }
.cd-bigtext .cd-avail { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cd-bigtext .cd-avail__h:first-child { display: none; }
.cd-bigtext .cd-avail__d { grid-column: 1 / -1; padding-top: 6px; }
.cd-bigtext .cd-prefs-wrap { overflow: visible; }
.cd-bigtext .fd-kv > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
/* a 3.6rem heading at 200% text is wider than a phone for words like "Communities" */
.cd-bigtext .fd-title, .cd-bigtext .fd-title--xl { font-size: min(2.2rem, 11vw); overflow-wrap: anywhere; max-width: none; }
.cd-bigtext .cd-next__title, .cd-bigtext .fd-h2, .cd-bigtext .cd-urgent h2 { overflow-wrap: anywhere; }
.cd-bigtext .cd-stage__detail { margin-left: 0; }

/* ============================================================
   MOTION: gated, transform and opacity only
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .cd-check__box, .cd-seg__b, .cd-more > summary .ico, .cd-faq summary::after, .cd-bigtext .fd-side { transition: none !important; }
}

/* ============================================================
   PRINT: shortlist, comparison, paperwork checklist, stage view.
   Sensitive details are not on the page when it prints (the script
   hides them first) and [data-sensitive] is hidden here as well.
   ============================================================ */
.cd-printhead, .cd-print-only, .cd-print-box { display: none; }
@media print {
  @page { size: Letter; margin: .6in; }
  html, body, .fd-body { background: #fff !important; color: #000; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .fd-side, .fd-topbar, .fd-scrim, .cd-devbar, .fd-toasts, .cd-noprint, .fd-notice, .fd-boot, .skip-link, .fd-savebar, dialog, #cd-live,
  .fd-contact, canvas, .fd-rule, .fd-welcome__bg, .fd-callout__act, .cd-tabs, .fd-toolbar { display: none !important; }
  [data-sensitive] { display: none !important; }
  .fd-app { display: block !important; }
  .fd-main { max-width: none; padding: 0 !important; }
  .cd-printhead { display: flex !important; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid #000; font-size: 10pt; }
  .cd-printhead .wm-word { font-size: 20px; }
  .cd-print-only { display: inline !important; }
  .cd-print-box { display: inline !important; font-family: ui-monospace, Consolas, monospace; }
  .fd-view { animation: none !important; }
  .fd-card, .cd-item, .cd-comm, .cd-tour, .cd-ck { break-inside: avoid; box-shadow: none !important; border: 1px solid #888 !important; background: #fff !important; }
  .fd-card--edge::before, .fd-action::before { display: none; }
  .fd-title { font-size: 24pt; margin-top: 4px; }
  .fd-welcome { background: #fff !important; border: 0; padding: 0; display: block; }
  .fd-welcome__fresh { display: none !important; }
  .fd-actions { display: none; }
  .cd-stage__detail[hidden], .cd-body .cd-stage__detail[hidden] { display: grid !important; }
  .cd-stages { display: block !important; }
  .cd-stage { display: block !important; }
  .cd-stage__node { display: grid !important; grid-template-columns: 2.25rem 1fr; text-align: left; justify-items: start; }
  .cd-stage__node::before { display: none !important; }
  .cd-stage__detail { margin-left: 3.1rem !important; }
  .cd-tablewrap { overflow: visible; border: 0; }
  .cd-compare { min-width: 0; }
  .cd-comm__photo { display: none; }
  .cd-comms { display: block; }
  .cd-comm { margin-bottom: 12px; }
  .cd-comm__status, .cd-comm__notes, .cd-intro { display: none !important; }
  .fd-chip { border: 1px solid #555; background: #fff !important; color: #000 !important; }
  a { color: #000; text-decoration: none; }
  .cd-item__chips .fd-chip { margin-right: 4px; }
}
