/* The report's few rules, on the tools site's own tokens. No @import, no URL of any kind. */
#result h2 { margin-top: 2.25rem; }
#result > h2:first-child { margin-top: 0; }
#result .tally { font-weight: 700; }
#result .all-clear { background: var(--paper); border: 2px solid var(--ink); padding: 1.1rem 1.25rem; font-weight: 700; }
#result .finding { background: var(--paper); border: 1px solid var(--line); padding: 1.25rem 1.4rem; margin: 0 0 1rem; }
#result .finding h3 { font-size: 1.15rem; margin: 0 0 .5rem; }
#result .finding p { margin: 0 0 .5rem; }
#result .finding p:last-child { margin-bottom: 0; }
#result .cannot { background: var(--mint); padding: 1.25rem 1.4rem; margin-top: 2.25rem; }
#result .cannot h2 { margin-top: 0; }
#result .button { margin: 0 .5rem .5rem 0; }

/* The result section stays out of the layout until a lookup fills it (design audit 2026-11-10, finding 6). */
#result:empty { display: none; }

/* SITE-209: the lead's state name never breaks across lines, and the lead wraps to even lines rather than leaving a
   one-line orphan. The product-name eyebrow rule moved to rent/styles.css (SITE-210), which this page links first. */
.hero .lead { text-wrap: balance; }
.hero .lead .nowrap { white-space: nowrap; }

/* The valuation offer: page.mjs un-hides it only once a report is on the page ("This report names no value" needs one),
   never under a status line, an error or a list of choices; the rule keeps hidden hidden whatever else styles a section.
   The disclosure reads as text, not a whisper; the outlined button never competes with "Show the records". */
section[aria-labelledby="signed"][hidden] { display: none; }
/* "What it is worth" links to #signed, the heading: land it below the sticky header, as section[id] does. */
#signed { scroll-margin-top: 5rem; }
section[aria-labelledby="signed"] .disclose { color: var(--ink-soft); }
section[aria-labelledby="signed"] a.button { max-width: 100%; text-align: center; }

/* Design review (tools #163): on phones the long button label wraps at a chosen point, not mid-phrase. */
section[aria-labelledby="signed"] .newtab { font-weight: 400; font-size: .875em; }
@media (max-width: 480px) {
  section[aria-labelledby="signed"] a.button { display: block; border-radius: 1rem; }
  section[aria-labelledby="signed"] .newtab { display: block; }
}

/* The 35-second example (tools #166): closed under the form, the same green summary as the area page's details.
   page.mjs hides it once a report renders; the rule keeps hidden hidden. The video takes the column, at most 360px
   wide, its height from its own 4:5 width and height attributes. */
#demo[hidden] { display: none; }
#demo { margin: .5rem 0 0; }
#demo summary { cursor: pointer; font-weight: 600; color: var(--green); }
#demo summary:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
#demo video { display: block; width: 100%; max-width: 360px; height: auto; margin: .9rem 0 .75rem; background: var(--ink); }
#demo .transcript { max-width: 62ch; margin: 0; padding-left: 1.4rem; }
#demo .transcript li { margin: 0 0 .35rem; }
