/* The landlord.org design layer: what every product page shares.
 *
 * Values come from /brand/tokens.css (design/property-page/tokens.css, served
 * as-is) and the rules from design/brand-book.md. Load order on a page:
 * tokens.css, this file, then the page's own stylesheet.
 *
 * Sora is served from this origin (public/fonts, SIL Open Font License 1.1,
 * public/fonts/SORA-OFL.txt) rather than from Google Fonts, so no page sends
 * its visitors to a third party and every page's CSP keeps `font-src 'self'`.
 * Two subsets per weight; the browser fetches latin-ext only for a name or an
 * address that needs it.
 */

/* docs/motion.md MO14: what text is set in for the moment before Sora arrives
 * (a first visit; after that the font is kept a year). Arial, given Sora's
 * measurements, so a line set in it is as wide and sits as high as the same
 * line in Sora, and nothing moves when the font lands. Measured Nov 21, 2026
 * in Chrome from the files in /fonts: Sora's ascent is 0.97 and its descent
 * 0.29 of its size, and it runs 12% wider than Arial at 400 and 7--8% wider
 * than Arial Bold at 600 and 700. Where a device has no Arial (Android) the
 * face is skipped and the system's own comes next, as before. */
@font-face {
  font-family: "Sora Fallback";
  font-weight: 400;
  src: local("Arial"), local("ArialMT");
  size-adjust: 112.37%;
  ascent-override: 86.32%;
  descent-override: 25.81%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Sora Fallback";
  font-weight: 600;
  src: local("Arial Bold"), local("Arial-BoldMT");
  size-adjust: 107.26%;
  ascent-override: 90.43%;
  descent-override: 27.04%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Sora Fallback";
  font-weight: 700 800;
  src: local("Arial Bold"), local("Arial-BoldMT");
  size-adjust: 107.99%;
  ascent-override: 89.83%;
  descent-override: 26.86%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/sora-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/sora-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/sora-latin-ext-600-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/sora-latin-600-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/sora-latin-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/sora-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* --- Base ---------------------------------------------------------------- */

:root { color-scheme: light; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--surface-100);
  color: var(--ink);
  font: 400 16px/24px var(--font-sans);
  -webkit-text-size-adjust: 100%;
}
a { color: var(--ink); }
@media (hover: hover) { a:hover { color: #1f1f1f; } }
:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 2px; }

/* --- Top bar: the wordmark on every page (brand book, Wordmark) ---------- */

/* Full width and white. On a laptop the wordmark lines up with the page's
   content edge: each page stylesheet sets --column to its .page max-width. */
:root { --column: 40rem; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 52px;
  padding: 14px max(var(--space-4), calc((100% - var(--column)) / 2 + var(--space-4)));
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.topbar-actions { display: flex; align-items: center; gap: var(--space-4); }
.topbar a { font: 400 14px/20px var(--font-sans); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
@media (hover: hover) { .topbar a:hover { text-decoration: underline; } }
/* The mark is placed, never typed (Oct 30 ruling). 20px tall, as drawn. */
.wordmark { display: block; line-height: 0; }
.wordmark img { display: block; height: 20px; width: auto; }
.count {
  background: var(--charcoal);
  color: var(--on-charcoal);
  border-radius: var(--radius-pill);
  font: 600 12px/16px var(--font-sans);
  padding: 1px 7px;
}

/* --- Buttons: primary mint, secondary outline, quiet text ---------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: 10px 16px;
  font: 600 16px/24px var(--font-sans);
  color: var(--charcoal);
  background: var(--mint);
  border: 1px solid var(--mint);
  border-radius: var(--radius-md);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
.button.secondary { background: var(--surface); border-color: var(--line-strong); }
.button.quiet { background: transparent; border-color: transparent; padding-inline: var(--space-2); }
/* The insurance track (Nick, Oct 30, 2026): the purple pair, charcoal text. */
.button.insurance { background: var(--purple-soft); border-color: var(--purple); }
.button.small { font-size: 14px; line-height: 20px; }
@media (hover: hover) { .button:hover { color: var(--charcoal); filter: brightness(0.97); } }
.button[disabled] { opacity: 0.5; cursor: default; }

/* --- Cards and chips ------------------------------------------------------ */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}
/* A state mark. Mint is what is verified and what is landlord.org's. */
.chip {
  display: inline-block;
  font: 400 12px/16px var(--font-sans);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: var(--surface-100);
  border: 1px solid var(--line);
  color: var(--ink);
  white-space: nowrap;
}
.chip.ok { background: var(--mint); border-color: var(--mint); }
.chip.warn { color: var(--warn); }

/* Codes, links and numbers that are read aloud or copied. */
.mono { font: 500 16px/24px var(--font-mono); letter-spacing: 0.04em; }
.code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  background: var(--surface-100);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-2) var(--space-2) var(--space-4);
  min-width: 0;
}
.code-box .mono { overflow-wrap: anywhere; }

/* --- The install line (docs/app.md §2): one quiet sentence under a home's heading. */

.app-install-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin: 0 0 var(--space-4);
  font: 400 14px/20px var(--font-sans);
  color: var(--ink-muted);
}
.app-install-line .link-ish { font-weight: 600; }
.app-install-line .app-install-later { margin-left: auto; font-weight: 400; color: var(--ink-muted); }
.app-install-steps { margin: 0; padding-left: 1.25rem; display: flex; flex-direction: column; gap: 16px; }
.app-install-steps p { margin: 0 0 8px; }
.app-install-steps img { display: block; max-width: 100%; height: auto; }
.app-install-sheet .muted { margin: 0; font: 400 14px/20px var(--font-sans); color: var(--ink-muted); }

/* --- Sheets (brand book, Layout): slide over the page ------------------- */

dialog.sheet {
  width: 100%;
  max-width: 40rem;
  max-height: 92vh;
  margin: auto auto 0;
  padding: 12px var(--space-4) var(--space-8);
  border: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sheet);
}
dialog.sheet::backdrop { background: rgb(59 59 59 / 0.45); }
.sheet-body { display: flex; flex-direction: column; gap: 20px; }
.sheet-grip { width: 40px; height: 4px; border-radius: var(--radius-pill); background: var(--line); align-self: center; }
.sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-3); }
.sheet-head h2 { margin: 0; font: 600 20px/26px var(--font-sans); }
.sheet-head p { margin: var(--space-1) 0 0; font: 400 14px/20px var(--font-sans); color: var(--ink-muted); }
@media (min-width: 48rem) {
  dialog.sheet { margin: auto; border-radius: var(--radius-lg); }
}
/* MO16: "are you sure" (askFirst, public/property-view.js). The question is
   the heading, the consequence under it, the two verbs at the foot: side by
   side, the yes last; on a narrow phone each takes the full width, the yes
   on top where the thumb is. A question is shorter than a sheet of tools. */
dialog.sheet.ask-first { max-width: 28rem; padding-bottom: var(--space-6, 24px); }
.ask-first-consequence { margin: 0; font: 400 16px/24px var(--font-sans); color: var(--ink); white-space: pre-line; }
.sheet-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: var(--space-2); }
@media (max-width: 30rem) {
  .sheet-actions { flex-direction: column-reverse; }
  .sheet-actions .button { width: 100%; }
}

/* An area a button opens in place -- the badge's QR code, for one. */
.reveal {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}

/* Text for screen readers only. */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --- Motion (docs/motion.md) ----------------------------------------------
 *
 * One vocabulary for every page: the --motion-* and --ease-* tokens. The
 * fallbacks after each var() are the same values, for a page that loads this
 * file without tokens.css. Only position, size and opacity ever move; gold
 * and red-pen keep the jobs the brand book gives them, and nothing here uses
 * either.
 */

/* MO1: page to page. A link to another of our pages no longer cuts to white:
 * the old page leaves quickly, the new one arrives with a short rise, and the
 * header stays where it is. Where a browser has no view transitions
 * (Firefox, today), the page changes as it always has. */
@view-transition { navigation: auto; }

.topbar { view-transition-name: topbar; }

::view-transition-old(root),
::view-transition-new(root) { mix-blend-mode: normal; }
::view-transition-old(root) { animation: motion-fade-out var(--motion-quick, 120ms) var(--ease-in, cubic-bezier(0.4, 0, 1, 1)) both; }
::view-transition-new(root) { animation: motion-rise-in var(--motion-base, 240ms) var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)) both; }

/* MO3: a thing that becomes another thing travels: a property's card into its
 * page, the upload into the report card. The box grows or shrinks to its new
 * place; what is inside is not stretched, only revealed and crossfaded. */
::view-transition-group(property-hero),
::view-transition-group(dec-page) {
  animation-duration: var(--motion-slow, 360ms);
  animation-timing-function: var(--ease-move, cubic-bezier(0.2, 0.8, 0.2, 1));
  overflow: clip;
  border-radius: var(--radius-lg, 16px);
}
::view-transition-old(property-hero),
::view-transition-new(property-hero),
::view-transition-old(dec-page),
::view-transition-new(dec-page) {
  width: 100%;
  height: 100%;
  object-fit: none;
  object-position: left top;
}
::view-transition-old(property-hero),
::view-transition-old(dec-page) { animation-duration: var(--motion-quick, 120ms); }

@keyframes motion-fade-out { to { opacity: 0; } }
@keyframes motion-fade-in { from { opacity: 0; } }
@keyframes motion-rise-in { from { opacity: 0; translate: 0 8px; } }
@keyframes motion-pulse { from { opacity: 1; } to { opacity: 0.45; } }

/* MO4: a press answers at once. The button gives a little under the finger
 * instead of the grey flash a phone paints by default. */
.button {
  -webkit-tap-highlight-color: transparent;
  transition: scale var(--motion-quick, 120ms) var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)), filter var(--motion-quick, 120ms) linear;
}
.button:active:not([disabled]) { scale: 0.97; filter: brightness(0.94); }
.property-card { transition: scale var(--motion-quick, 120ms) var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)); }
.property-card:has(a.street:active) { scale: 0.985; }

/* MO5: a block that appears does not pop. Cards rise into place as a page
 * draws them -- including the ones a page fills in after it has loaded. A
 * backwards fill only: once the rise is over the card carries nothing of it,
 * so nothing inside it changes how it is laid out. */
main .card:not(.skeleton):not(.card .card),
.property-card {
  animation: motion-rise-in var(--motion-base, 240ms) var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)) backwards;
}
/* MO15: ...and only then. A block or a card a page draws again in its place
 * (patchList and the refreshes in public/exchange.js) carries is-redrawn, and
 * holds still; a new one, beside it, still rises. */
.is-redrawn .property-card,
main .card.is-redrawn { animation: none; }

/* MO26: a block a press opens slides open and folds shut (unfold() in
 * public/property-view.js moves it). While it moves it is clipped to its
 * room, so nothing in it is seen outside the card it opens in. */
.is-sliding { overflow: hidden; overflow: clip; }
/* The control that opened it stays where it was pressed, as the way to shut
 * it, and looks pressed in while what it opened is open. */
.button.secondary[aria-expanded="true"] { background: var(--surface-100); }

/* MO6: sheets slide up from the bottom of a phone, and rise a little and fade
 * in on a laptop, where they sit in the middle. The backdrop fades. */
dialog.sheet {
  transition:
    translate var(--motion-base, 240ms) var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)),
    opacity var(--motion-base, 240ms) var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)),
    overlay var(--motion-base, 240ms) allow-discrete,
    display var(--motion-base, 240ms) allow-discrete;
  translate: 0 100%;
}
dialog.sheet[open] { translate: 0 0; }
@starting-style { dialog.sheet[open] { translate: 0 100%; } }
dialog.sheet::backdrop {
  opacity: 0;
  transition:
    opacity var(--motion-base, 240ms) linear,
    overlay var(--motion-base, 240ms) allow-discrete,
    display var(--motion-base, 240ms) allow-discrete;
}
dialog.sheet[open]::backdrop { opacity: 1; }
@starting-style { dialog.sheet[open]::backdrop { opacity: 0; } }
@media (min-width: 48rem) {
  dialog.sheet { translate: 0 12px; opacity: 0; }
  dialog.sheet[open] { translate: 0 0; opacity: 1; }
  @starting-style { dialog.sheet[open] { translate: 0 12px; opacity: 0; } }
}

/* MO7: while a page is still asking for its contents, it shows their shape --
 * a card with quiet bars -- instead of a word on an empty page. */
.skeleton { display: flex; flex-direction: column; gap: var(--space-3, 12px); }
.skeleton-line {
  display: block;
  height: 14px;
  width: 100%;
  border-radius: var(--radius-sm, 6px);
  background: var(--surface-100, #f6f7f5);
  animation: motion-pulse 900ms ease-in-out infinite alternate;
}
.skeleton-line.is-title { height: 28px; width: 62%; }
.skeleton-line.is-short { width: 40%; }

/* AK92 (docs/ask.md): the property's drawing at the top of the pages renters
 * read about a property -- the short-code page, /p/ and /v/ -- drawn as the
 * owner's own card draws it (exchange.css, .identity-figure). The box has its
 * size from the first paint, so nothing under it moves when
 * public/property-drawing.js draws into it; the paper and the model arrive
 * together, fading in as a block that appears does (MO5), without the rise. */
.property-drawing {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  height: 174px;
  margin: 0 0 var(--space-4, 16px);
  padding: 16px 16px 8px;
  border-radius: var(--radius-md, 10px);
}
.property-drawing.is-drawn {
  background: var(--tint, #fde6dc);
  animation: motion-fade-in var(--motion-base, 240ms) var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)) backwards;
}
.property-drawing svg { width: 150px; height: 150px; overflow: visible; }
.property-drawing .m-wire { fill: none; stroke: var(--charcoal, #3b3b3b); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.property-drawing .m-ring, .property-drawing .m-win { opacity: 0; }
.property-drawing .m-ring { fill: none; }
.property-drawing .m-trace { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
/* A browser running no script at all gets no box, rather than an empty one. */
@media (scripting: none) { .property-drawing { display: none; } }

/* --- The page's foot (docs/property-page.md §10) --------------------------

   What a member page ends on: a rule the width of the page's own blocks, a
   small street standing on it, and under it one row -- the wordmark, the
   ways on from here, and the way back to the top. The disclaimer's line
   (CLAUDE.md §5) is drawn under the row only while the page shows insurance.

   The street is a line drawing on the rule, which is its ground: six
   buildings and a lamp in the rule's own grey, the member's house the mint
   one in the wordmark's ink -- the house of the plate in the top bar, at home.
   It stands drawn. Where the script may move it (public/property-view.js
   watchStreet), it is put away while off the screen and drawn when the
   member reaches it: each building in turn from the left, then the windows
   lit in a wave, then the member's house hops, once. Every time is a motion
   token (docs/motion.md §4); the script writes each piece's place in the
   order (--b, --p). Under a pointer a building hops as it is passed. Under
   reduced motion nothing here moves (MO8). */
.page-foot {
  position: relative;
  margin: var(--space-8) max(var(--space-4), calc((100% - var(--column)) / 2 + var(--space-4))) 0;
  padding: var(--space-2) 0 var(--space-8);
  border-top: 1px solid var(--line-strong);
}
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--space-6); }
.foot-mark { display: block; padding: 14px 0; line-height: 0; }
.foot-mark img { display: block; width: auto; height: 16px; }
.foot-links { order: 3; flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 0 var(--space-4); }
.foot-links a, .foot-top { padding: 12px 0; font: 400 14px/20px var(--font-sans); color: var(--ink-muted); text-decoration: none; }
.foot-top { margin-left: auto; font-weight: 600; color: var(--ink); }
@media (hover: hover) {
  .foot-links a:hover, .foot-top:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
}
.foot-disclaimer .disclaimer-line { margin: var(--space-2) 0 0; font: 400 12px/16px var(--font-sans); color: var(--ink-muted); }
@media (min-width: 62rem) {
  body.wide .foot-links { order: 0; flex: 0 1 auto; gap: 0 var(--space-6); margin-left: var(--space-4); }
}

.foot-street { position: absolute; right: 0; bottom: 100%; display: block; overflow: visible; }
.foot-hit { fill: none; pointer-events: all; }
.foot-ink { fill: none; stroke: var(--line-strong); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 2; stroke-dashoffset: 0; }
.foot-pane { fill: var(--mint); stroke: var(--line-strong); stroke-width: 1; }
.foot-home .foot-ink, .foot-home .foot-pane { stroke: var(--charcoal); }
.foot-home .foot-pane { fill: var(--surface); }
.foot-home-fill { fill: var(--mint); }

.foot-street.is-away .foot-ink { stroke-dashoffset: 1.02; }
.foot-street.is-away :is(.foot-pane, .foot-home-fill) { opacity: 0; }
.foot-street.is-arriving .foot-ink {
  transition: stroke-dashoffset var(--motion-slow, 360ms) var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1));
  transition-delay: calc(var(--b, 0) * var(--motion-quick, 120ms) / 2);
}
.foot-street.is-arriving :is(.foot-pane, .foot-home-fill) { transition: opacity var(--motion-base, 240ms) var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)); }
.foot-street.is-arriving .foot-home-fill { transition-delay: calc(var(--motion-base, 240ms) + var(--b, 0) * var(--motion-quick, 120ms) / 2); }
.foot-street.is-arriving .foot-pane { transition-delay: calc(var(--buildings, 0) * var(--motion-quick, 120ms) / 2 + var(--motion-base, 240ms) + var(--p, 0) * var(--motion-quick, 120ms) / 4); }
.foot-street.is-arriving .foot-home {
  animation: foot-hop var(--motion-slow, 360ms) both;
  animation-delay: calc(var(--motion-base, 240ms) * 2 + var(--buildings, 0) * var(--motion-quick, 120ms) / 2 + var(--panes, 0) * var(--motion-quick, 120ms) / 4);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .foot-b:hover { animation: foot-hop-again var(--motion-slow, 360ms); }
}
@keyframes foot-hop {
  from { translate: 0 0; animation-timing-function: var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)); }
  40% { translate: 0 -5px; animation-timing-function: var(--ease-in, cubic-bezier(0.4, 0, 1, 1)); }
  to { translate: 0 0; }
}
@keyframes foot-hop-again {
  from { translate: 0 0; animation-timing-function: var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)); }
  40% { translate: 0 -5px; animation-timing-function: var(--ease-in, cubic-bezier(0.4, 0, 1, 1)); }
  to { translate: 0 0; }
}

/* MO25, rule 1: the page never cuts to a new place; it glides. Pages that run
 * our scripts glide on the site's own curve (public/property-view.js glideTo,
 * which turns this off while it steps); a page that runs no script (the terms,
 * the privacy notice) glides on the browser's own, from its table of contents. */
@media (prefers-reduced-motion: no-preference) {
  :root { scroll-behavior: smooth; }
}
:root.is-gliding { scroll-behavior: auto; }

/* MO8: reduced motion. Nothing travels, rises or slides; a page and a sheet
 * crossfade at most, and the bars of a loading card hold still. */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*) { animation: none; }
  ::view-transition-old(*) { animation: motion-fade-out var(--motion-quick, 120ms) linear both; }
  ::view-transition-new(*) { animation: motion-fade-in var(--motion-quick, 120ms) linear both; }
  .button:active:not([disabled]) { scale: none; }
  .property-card:has(a.street:active) { scale: none; }
  main .card, .property-card { animation: none; }
  .checks-fill { transition: none; }
  dialog.sheet, dialog.sheet[open] { translate: none; }
  @starting-style { dialog.sheet[open] { translate: none; } }
  .skeleton-line { animation: none; }
}
