/* Landlord compliance: the property record document (doc-let.php) and the red, amber and green portfolio
   timeline (set-let.php). Status colours are used only here, always with words beside them. */
:root { --lt-green: #2F7A4B; --lt-green-bg: #E8F3EB; --lt-green-ink: #1F5A35; --lt-amber: #D99206; --lt-amber-bg: #FCF2D8; --lt-amber-ink: #6E4500; --lt-red: #C0262D; --lt-red-bg: #FBE5E5; --lt-red-ink: #8F1A20; --lt-grey: #6B6064; }

/* ---------- Opener document ---------- */
.doc--let { border-left-color: var(--lt-green); }
.doc--let .doc__head { margin-bottom: 12px; }
.doc--let .doc__head b { display: inline-flex; align-items: center; gap: 6px; font-family: var(--sans); font-weight: 700; font-size: .82rem; padding: 3px 8px; background: var(--lt-green-bg); color: var(--lt-green-ink); align-self: center; }
.doc--let .doc__head b i { width: 9px; height: 9px; border-radius: 50%; background: var(--lt-green); }
.doc--let .doc__checks li span { flex: 1; min-width: 0; }
.doc--let .doc__checks li em { font-style: normal; font-weight: 700; font-size: .82rem; color: var(--ink-soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
.doc--let .doc__stamp { width: 134px; border-color: var(--lt-green); outline-color: var(--lt-green); color: var(--lt-green-ink); }
.doc--let .doc__stamp span { font-size: 1.18rem; }
.doc--let .doc__stamp small { font-size: .56rem; letter-spacing: .08em; }
@media (max-width: 560px) { .doc--let .doc__stamp { width: 112px; } .doc--let .doc__stamp span { font-size: 1rem; } }

/* ---------- Set piece: the portfolio timeline ---------- */
.lt { overflow: clip; padding-bottom: clamp(48px, 6vw, 96px); }
.lt__ruling { display: none; }
.lt__head, .lt__stage { position: relative; }
.lt__head h2 { margin-bottom: 16px; }
.lt__head .lede { margin: 0; max-width: 120ch; text-wrap: pretty; }
.lt__stage { padding-top: clamp(32px, 4vw, 56px); }
.lt__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 72px); align-items: center; }

/* Today and the timeline */
.lt__today { display: flex; align-items: baseline; gap: 14px; margin: 0 0 14px; }
.lt__today span { font-weight: 700; font-size: .95rem; color: var(--ink-soft); }
.lt__today b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.7rem); line-height: 1.1; color: var(--claret); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lt__track { position: relative; height: 66px; margin: 0 6px 0 0; }
.lt__line { position: absolute; left: 0; right: 0; top: 30px; height: 4px; background: var(--rule); }
.lt__fill { position: absolute; inset: 0; background: var(--claret); transform-origin: 0 50%; }
.lt__month { position: absolute; top: 42px; transform: translateX(-50%); font-size: .82rem; font-weight: 700; color: var(--ink-soft); }
.lt__month::before { content: ''; position: absolute; left: 50%; top: -12px; width: 1px; height: 8px; background: var(--ink-soft); }
.lt__pin { position: absolute; top: 26px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; border: 2px solid #fff; background: #D5C7CB; transition: background-color .3s, transform .3s var(--ease); }
.lt__pin.is-past { transform: scale(1.15); }
.lt__pin--amber.is-past { background: var(--lt-amber); }
.lt__pin--red.is-past { background: var(--lt-red); }
.lt__pin--green.is-past { background: var(--lt-green); }
.lt__pin--reg.is-past { background: var(--ink-blue); }
.lt__open { position: absolute; top: 0; transform: translateX(-50%); padding: 1px 6px; background: var(--ink-blue); color: #fff; font-size: .72rem; font-weight: 700; white-space: nowrap; }

/* Key */
.lt__key { display: grid; gap: 8px; margin: 22px 0 0; padding: 18px 0 0; list-style: none; border-top: 2px solid var(--ink); }
.lt__key li { display: flex; align-items: center; gap: 10px; font-size: .98rem; color: var(--ink-soft); }
.lt__key b { color: var(--ink); min-width: 4.2em; }
.lt__key i { flex: none; width: 14px; height: 14px; border-radius: 50%; }
.lt__key .is-green i { background: var(--lt-green); }
.lt__key .is-amber i { background: var(--lt-amber); }
.lt__key .is-red i { background: var(--lt-red); }

/* Reminder log */
.lt__log { margin-top: 22px; }
.lt__logh { margin: 0 0 8px; font-weight: 700; font-size: 1rem; }
.lt__logh small { display: block; font-weight: 400; font-size: .9rem; color: var(--ink-soft); }
.lt__list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; min-height: 168px; align-content: start; }
.lt__list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 8px 10px; background: #fff; border-left: 3px solid var(--lt-grey); box-shadow: 0 6px 18px rgba(34,9,15,.07); font-size: .92rem; line-height: 1.35; }
.lt__list li.is-amber { border-left-color: var(--lt-amber); }
.lt__list li.is-red { border-left-color: var(--lt-red); }
.lt__list li.is-green { border-left-color: var(--lt-green); }
.lt__list li.is-reg { border-left-color: var(--ink-blue); }
.lt__list time { font-weight: 700; color: var(--claret); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* The board of property cards */
.lt__boardwrap { position: relative; perspective: 1600px; }
.lt__board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); transform-style: preserve-3d; }
.lt__card { position: relative; display: flex; flex-direction: column; background: #fff; border-top: 5px solid var(--lt-green); box-shadow: 0 26px 56px rgba(34,9,15,.16), 0 2px 0 rgba(34,9,15,.04); transition: border-color .4s; }
.lt__card.is-amber { border-top-color: var(--lt-amber); }
.lt__card.is-red { border-top-color: var(--lt-red); }
.lt__chead { display: grid; gap: 12px; padding: 20px 20px 14px; border-bottom: 1px dashed var(--rule); }
.lt__addr { margin: 0; font-family: var(--serif); font-size: clamp(1.08rem, 1.45vw, 1.45rem); line-height: 1.18; min-height: 2.36em; text-wrap: balance; }
.lt__addr small { display: block; margin-top: 3px; font-family: var(--sans); font-weight: 600; font-size: .85rem; color: var(--ink-soft); }
.lt__pill { justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 4px 10px 4px 8px; font-weight: 700; font-size: .9rem; background: var(--lt-green-bg); color: var(--lt-green-ink); transition: background-color .4s, color .4s; }
.lt__pill i { position: relative; width: 11px; height: 11px; border-radius: 50%; background: var(--lt-green); }
.is-amber > .lt__chead .lt__pill { background: var(--lt-amber-bg); color: var(--lt-amber-ink); }
.is-amber > .lt__chead .lt__pill i { background: var(--lt-amber); }
.is-red > .lt__chead .lt__pill { background: var(--lt-red-bg); color: var(--lt-red-ink); }
.is-red > .lt__chead .lt__pill i { background: var(--lt-red); }
.motion .is-amber > .lt__chead .lt__pill i, .motion .is-red > .lt__chead .lt__pill i { animation: lt-beat 1.6s ease-out infinite; }
@keyframes lt-beat { 0% { box-shadow: 0 0 0 0 currentColor; } 70%, 100% { box-shadow: 0 0 0 8px transparent; } }

.lt__rows { display: grid; margin: 0; padding: 6px 20px 18px; list-style: none; }
.lt__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; row-gap: 7px; padding: 12px 0 11px; border-bottom: 1px solid #F1E7E9; font-size: clamp(.9rem, .95vw, 1rem); }
.lt__row:last-child { border-bottom: 0; }
.lt__rn { font-weight: 700; }
.lt__rd { justify-self: end; text-align: right; color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lt__row.is-amber .lt__rd { color: var(--lt-amber-ink); font-weight: 700; }
.lt__row.is-red .lt__rd { color: var(--lt-red-ink); font-weight: 700; }
.lt__row.is-grey .lt__rd { color: var(--lt-grey); }
.lt__row.is-green.lt__row--reg .lt__rd { color: var(--lt-green-ink); font-weight: 700; }
.lt__bar { grid-column: 1 / -1; height: 6px; background: #F1E7E9; overflow: hidden; }
.lt__bar i { display: block; height: 100%; background: var(--lt-green); transform-origin: 0 50%; transition: background-color .4s; }
.lt__row.is-amber .lt__bar i { background: var(--lt-amber); }
.lt__row.is-red .lt__bar i { background: var(--lt-red); }
.lt__row--reg { grid-template-columns: minmax(0, 1fr); }
.lt__row--reg .lt__rd { justify-self: start; text-align: left; }
.lt__row--reg .lt__rn::after { content: ''; display: inline-block; width: 8px; height: 8px; margin-left: 8px; border-radius: 50%; vertical-align: 1px; background: var(--lt-grey); }
.lt__row--reg.is-amber .lt__rn::after { background: var(--lt-amber); }
.lt__row--reg.is-green .lt__rn::after { background: var(--lt-green); }
.lt__note { margin: 18px 0 0; display: inline-block; padding: 4px 10px; border-left: 3px solid var(--highlight); background: var(--blush); font-weight: 600; font-size: .92rem; }

/* Pinned mode (JS): the stage fills one screen under the header */
.lt-pin .lt__stage { min-height: 100vh; display: grid; align-items: center; padding: calc(var(--head-h) + 20px) 0 28px; }

@media (max-width: 1180px) {
  .lt__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lt__side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 40px; align-items: start; }
  .lt__key { margin-top: 0; }
  .lt__log { display: none; }
  .lt-pin .lt__key { display: none; }
  .lt-pin .lt__side { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .lt__side { grid-template-columns: minmax(0, 1fr); }
  .lt__key { margin-top: 20px; }
  .lt__board { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .lt__addr { min-height: 0; }
  .lt__chead { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .lt__card:not(:first-child) .lt__chead { padding: 10px 14px 8px; }
  .lt__rows { padding: 2px 14px 8px; }
  .lt-pin .lt__stage { padding-top: calc(var(--head-h) + 10px); padding-bottom: 12px; }
  .lt-pin .lt__today { margin-bottom: 6px; }
  .lt-pin .lt__today b { font-size: 1.5rem; }
  .lt-pin .lt__track { height: 58px; }
  .lt-pin .lt__chead { padding: 9px 12px 7px; }
  .lt-pin .lt__addr { font-size: 1rem; }
  .lt-pin .lt__addr small { display: inline; margin-left: 6px; font-size: .8rem; }
  .lt-pin .lt__pill { font-size: .8rem; padding: 3px 8px 3px 6px; }
  .lt-pin .lt__rows { padding: 0 12px 6px; }
  .lt-pin .lt__row { padding: 3px 0; font-size: .82rem; row-gap: 0; }
  .lt-pin .lt__bar { display: none; }
  .lt-pin .lt__note { display: none; }
}
@media (max-width: 400px) {
  .lt-pin .lt__addr small { display: none; }
}

/* The opener's third fact is a date, longer than the other pages' figures */
.page-let .so__facts > div:last-child dd { font-size: clamp(1.45rem, 1.9vw, 2.05rem); }
@media (max-width: 1180px) and (min-width: 901px) { .page-let .so__facts > div:last-child dd { font-size: 1.3rem; } }
/* Phones: the three figures share one size and one column width, so the labels line up beside them (Mark,
   13 Nov 2026: the gap after "3" was too wide) */
@media (max-width: 900px) { .page-let .so__facts dd, .page-let .so__facts > div:last-child dd { flex: none; width: 8rem; min-width: 0; font-size: 1.4rem; } }

/* Every section on this page carries the site's ledger ruling as a texture (site-audit plain-bg), drifting slowly.
   Scoped to this page; the other service pages are unchanged. */
.page-let .si, .page-let .lt, .page-let .sb, .page-let .sfq { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='36'%3E%3Cpath d='M0 35.5h40' stroke='%23751523' stroke-opacity='.07'/%3E%3C/svg%3E"); animation: so-drift-36 24s linear infinite; }
.page-let .si { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='36'%3E%3Cpath d='M0 35.5h40' stroke='%23fff' stroke-opacity='.07'/%3E%3C/svg%3E"); }
.page-let .sx { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='36'%3E%3Cpath d='M0 35.5h40' stroke='%23fff' stroke-opacity='.08'/%3E%3C/svg%3E"); animation: so-drift-36 24s linear infinite; }
.page-let .sfq__ruling { display: none; }
.rm .page-let .si, .rm .page-let .lt, .rm .page-let .sb, .rm .page-let .sfq, .rm .page-let .sx { animation: none; }
/* The template's oval rings sit centred on their photos */
.page-let .si__ring, .page-let .sb__ring, .page-let .sfq__ring { max-width: none; }
/* The register heading on the dark band: a highlighter-yellow underline */
.page-let .lt-ul { text-decoration: underline; text-decoration-color: var(--highlight); text-decoration-thickness: .1em; text-underline-offset: .14em; text-decoration-skip-ink: none; }
