/* /p answer first (GW_ANSWER_HEADER, pro/p_answer_header.py) and one line per fact (GW_P_FACT_ONE_LINE,
   pro/p_fact_one_line.py). Linked from the /p body only while a flag is on; tokens only (docs/DESIGN.md). */

/* the answer strip: four FactRows under the identity line, one value line and one source line each */
.p-ans { margin-top: var(--s4); }
.p-ans__l { margin: 0; padding: 0; list-style: none; }
.p-ans .p-ans__r { grid-template-columns: var(--gw-fact-label) minmax(0, 1fr); min-height: 0; padding: var(--s2) 0; }
@media (max-width: 759px) {
  /* a phone: the label over its answer, the answer one line at the full width (UI review D3: <= 1 line at 390) */
  .p-ans .p-ans__r { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .p-ans .p-ans__r .ui-fact__k { font-size: var(--t-floor); line-height: var(--lh-sm); }
  .p-ans .p-ans__v { font-size: var(--t-sm); line-height: var(--lh-sm); font-weight: var(--w-medium); }
}
.p-ans__r .ui-fact__k { color: var(--muted); }
.p-ans__v { display: block; }
.p-ans__part { white-space: nowrap; }
@media (max-width: 759px) {
  .p-ans__part { display: block; white-space: normal; }
  .p-ans__sep { display: none; }
  .p-ans__sep + .p-ans__part::first-letter { text-transform: capitalize; }
}
.p-ans__lock { list-style: none; }
.p-ans__lock .ui-lrow__t { display: block; }
.p-ans__ask { display: block; color: var(--paper); font-size: var(--t-sm); line-height: var(--lh-sm); }
.p-ans__hide { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.p-ans-on .gw-decoy { display: inline-block; filter: blur(var(--s1)); user-select: none; -webkit-user-select: none; pointer-events: none;
  color: var(--paper); font-weight: var(--w-semi); }
.p-ans-on .gw-decoy::before { content: "$480k–$760k"; }
.p-ans-on .gw-decoy[data-u="x"]::before { content: "$9,400"; }
.p-ans-on .gw-decoy[data-u="k"]::before { content: "$480k"; }
.p-ans-on .gw-decoy[data-u="M"]::before { content: "$1.25M"; }
.p-ans-on .gw-decoy[data-u="x-k"]::before { content: "$9,400–$760k"; }
.p-ans-on .gw-decoy[data-u="k-k"]::before { content: "$480k–$760k"; }
.p-ans-on .gw-decoy[data-u="k-M"]::before { content: "$480k–$2.40M"; }
.p-ans-on .gw-decoy[data-u="M-M"]::before { content: "$1.25M–$2.40M"; }
@media print { .p-ans-on .gw-decoy { filter: none; } .p-ans-on .gw-decoy::before { content: ""; } }

/* the action slots beside the one primary (WP5 Follow, WP10 free Pro parcel fill them) */
.p-ans__slots:not(:has(> :not([hidden]))) { display: none; }
.pv4__go { margin-top: var(--s4); }
.pv4__go .ui-btn { width: 100%; }

/* collapsed groups: the section's own h2 is the summary's title, in the group header's type on every state's page */
.p-ans-on .p-grp { margin: 0; }
.p-ans-on .p-grp > summary h2.p-grp__h { margin: 0; color: var(--paper); font: var(--w-semi) var(--t-h3) / var(--lh-h3) var(--sans);
  letter-spacing: var(--ls-0); }
.p-grp > .ui-grp__b > section { margin-top: 0; }
.p-grp > .ui-grp__b > section > .ui-sh:empty { display: none; }

/* the page's end: "Sources and dates for each fact", then Share and Printable report, once */
.p-ans__end { margin-top: var(--section-gap); }
.p-ans__end > .p3-facts:empty, .p-ans__end > .pv4__facts:empty { display: none; }

/* a phone reads the price once: the strip's Worth row (the rail keeps the pair at 1100 px and up) */
@media (max-width: 1099px) {
  .p-ans-on .p3-aside .p3-panel__t, .p-ans-on .p3-aside .ui-vp { display: none; }
}
@media (min-width: 1100px) {
  .p-ans-on .p-ans__lock, .p-ans-on .p-ans__r[data-answer-k="pro"] { display: none; }
}


/* outside Florida, lead with what we know (GW_P_ABSENCE_RULE, pro/p_absence.py): the rows that only say what is missing
   sit at the end of About these numbers under their own heading, one muted line each ("Zoning: We have not ...") */
.ui-about .p-abs h2.p-abs__h { margin: 0 0 var(--s1); color: var(--paper2); font: var(--w-medium) var(--t-sm) / var(--lh-sm) var(--sans);
  letter-spacing: var(--ls-0); }
.ui-about .p-abs .p-abs__sum { color: var(--muted); }
.ui-about .p-abs .p-abs__l { margin: 0; padding: 0; list-style: none; }
.ui-about .p-abs .p-abs__l > li { display: block; min-height: 0; padding: 0; border: 0; background: none; color: var(--muted);
  font-size: var(--t-sm); line-height: var(--lh-sm); }
.ui-about .p-abs .p-abs__l > li > span, .ui-about .p-abs .p-abs__l .ui-fact__v, .ui-about .p-abs .p-abs__l .ui-fact__sub,
.ui-about .p-abs .p-abs__l .p-ans__v { display: inline; color: inherit; font: inherit; }
.ui-about .p-abs .p-abs__l .ui-fact__k::after, .ui-about .p-abs .p-abs__l .ui-glance__k::after { content: ": "; }
.ui-about .p-abs .p-abs__l .ui-fact__sub:not(:empty)::before, .ui-about .p-abs .p-abs__l .p-ans__src:not(:empty)::before { content: " · "; }
.ui-about .p-abs .p-abs__l .ui-glance__dot { display: none; }
