/* The small pages in the unified design (Aldo's picks of 12 Nov 2026; this lane, 15 Nov 2026): the legal documents, text
   message consent, the sitemap, the Landlord Toolkit and the landlord calendar (src/pages2.mjs). Only those pages load this
   file, after their own stylesheets and before the lift's (src/layout.mjs page puts /home/lift.css last), so every rule
   here is scoped to its page and carries the weight to hold against both. Nothing here changes a word. */

/* ------------------------------------------------------------ the legal head ---- */
/* No small capital labels (pick 2): "In short" and "On this page" read in sentence case, as a card's label does on the
   finished pages, and the contents' label loses its gold dash, which was an eyebrow's. */
.u .lg-sum .lg-sum__h { margin-bottom: 16px; font: 700 1.12rem/1.2 var(--font-display); letter-spacing: -0.01em; text-transform: none; color: var(--heading); }
/* The contents' label keeps the height it had (20px with its margin): the list is as tall as a 900px screen allows, and a
   taller label would set it scrolling there. */
.u .lg-toc .lg-toc__h { margin-bottom: 3px; font: 700 0.95rem/1.15 var(--font-display); letter-spacing: -0.005em; text-transform: none; color: var(--heading); }
.u .lg-toc .lg-toc__h::before { content: none; }
/* A title that stands beside a card starts at the card's top, as on the finished pages (lift.css: .est-get__text). It was
   centred against the summary, which left the breadcrumbs floating half-way down the band. */
@media (min-width: 960px) { .u.page-legal .lg-head__text, .u .lg-head--line .lg-head__text { align-self: start; } }

/* ------------------------------------------- the gold line starts at the H1's stop ---- */
/* /sms-consent/ and /sitemap/: the line began at the top of the first section, above any stop (the eyebrow that carried
   the sitemap's first stop is gone; the consent page never had one). It now starts at a stop on the page's H1, as the
   landlord calendar's does, runs down the head and carries on through the sections below (src/pages2.mjs lineFromH1).
   Its start: the head's padding, the breadcrumbs' line and margin, the column's gap, then the stop's own drop. */
.u .lg-head--line { --st-ring: var(--paper-2); }
.u .lg-head--line > .st-line { top: calc(clamp(28px, 5vw, 64px) + 0.85rem * 1.5 + var(--s2) + var(--s3) + var(--st-eb) - 1px); }
/* The start counts one line of breadcrumbs. They stay on one line: at the largest text setting on the narrowest phones the
   page's own name, the last crumb, ends in an ellipsis instead of wrapping (the H1 under it says it in full). */
.u .lg-head--line .crumbs ol { flex-wrap: nowrap; }
.u .lg-head--line .crumbs li { flex: none; white-space: nowrap; }
.u .lg-head--line .crumbs li[aria-current] { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* The consent form's heading is the line's last stop: the line ends on the stop's centre (it stopped 4 to 9px short). */
@media (min-width: 1024px) { .u.page-sms .lg-sms > .st-line { height: calc(var(--s8) + var(--st-eb) + 1px); } }
@media (max-width: 1023px) { .u.page-sms .lg-sms > .st-line { bottom: calc((var(--s6) + var(--st-eb) + 1px) * -1); } }

/* ------------------------------------------------------- the landlord calendar ---- */
/* The page's title is one of the three H1 sizes (the open one, as on every page that opens on paper); it was the old
   default, larger than the homepage's. */
.u.page-calendar .year h1 { font-size: var(--u-h1-open); line-height: 1.05; letter-spacing: -0.025em; }
/* On a phone the twelve months stand in two rows of six, all in view; they were one row that scrolled sideways, with
   January to July out of sight in November. */
@media (max-width: 719px) {
  .u.page-calendar .year__months { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; overflow: visible; padding: 2px 0 10px; scroll-snap-type: none; }
  .u.page-calendar .year__m { min-width: 0; padding: 0 2px; }
}
/* At the two largest text settings on a phone a month's name is wider than a sixth of the row ("May" reached 2px past its
   pill at 360px, the site test's find): three rows of four. */
@media (max-width: 479px) { html:is(.a11y-text-2, .a11y-text-3) .u.page-calendar .year__months { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
