/* California Landlord Tools: member area and account styles (loaded on page-app pages and the UI kit). Tokens come from style.css. */

/* Account state banners (expired, cancelled in period) */
.clt-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; max-width: var(--wrap); margin: 16px auto 0; padding: 14px 20px; border: 1px solid #E8CF9C; border-left: 4px solid var(--warn); border-radius: var(--r-sm); background: var(--warn-soft); }
.clt-main--app > .clt-banner { margin-inline: var(--gutter); }
@media (min-width: 1280px) { .clt-main--app > .clt-banner { margin-inline: auto; } }
.clt-banner__text { margin: 0; font-weight: 600; color: var(--warn-ink); }
.clt-banner__action { margin: 0; }
.clt-banner--cancelled { background: var(--info-soft); border-color: #C9D3E0; border-left-color: var(--navy); }
.clt-banner--cancelled .clt-banner__text { color: var(--navy); }

/* Dashboard */
.clt-dash { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.clt-dash > .clt-empty { grid-column: 1 / -1; }
.clt-dash__panel { padding: clamp(18px, 2.4vw, 26px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-1); }
.clt-dash__deadlines { grid-column: 1; }
.clt-dash__props { grid-column: 2; grid-row: 1 / span 2; }
.clt-dash__alerts { grid-column: 1; }
.clt-dash__more { grid-column: 1 / -1; }
.clt-dash__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 0 0 14px; }
.clt-dash__h { margin: 0; font-size: 1.375rem; }
.clt-dash__panel .clt-empty { border-style: dashed; background: var(--paper); padding: 26px 18px; }

/* Deadline list */
.clt-deadlines { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.clt-deadline { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 14px; margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); }
.clt-deadline__date { display: grid; place-items: center; align-content: center; gap: 3px; height: 58px; border-radius: 10px; background: var(--tint); line-height: 1; text-align: center; }
.clt-deadline__mon { font: 600 var(--fs-xs)/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.clt-deadline__day { font: 600 1.5rem/1 var(--serif); color: var(--navy); }
.clt-deadline__body { min-width: 0; }
.clt-deadline__title { margin: 0; font-weight: 600; line-height: 1.3; }
.clt-deadline__title a { color: var(--navy); text-decoration: none; }
.clt-deadline__title a:hover { text-decoration: underline; text-decoration-color: var(--clay); }
.clt-deadline__title a::after { content: ""; position: absolute; inset: 0; }
.clt-deadline { position: relative; }
.clt-deadline:hover { border-color: var(--navy); }
.clt-deadline:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.clt-deadline__title a:focus-visible { outline: none; }
.clt-deadline__meta { margin: 2px 0 0; font-size: var(--fs-sm); color: var(--ink-muted); line-height: 1.4; }
.clt-deadline__when { margin: 0; font: 600 var(--fs-xs)/1.2 var(--sans); color: var(--ink-muted); white-space: nowrap; }
.clt-deadline--soon .clt-deadline__date { background: var(--clay-soft); }
.clt-deadline--soon .clt-deadline__when { color: var(--clay-ink); }
.clt-deadline--overdue { border-color: #EBC2BC; background: var(--err-soft); }
.clt-deadline--overdue .clt-deadline__date { background: var(--white); }
.clt-deadline--overdue .clt-deadline__when { color: var(--err); }
.clt-deadline--done .clt-deadline__date { background: var(--sage-soft); }
.clt-deadline--done .clt-deadline__title { color: var(--ink-muted); text-decoration: line-through; text-decoration-color: var(--line-strong); }
.clt-deadline--done .clt-deadline__when { color: var(--sage-ink); }

/* Property cards */
.clt-prop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.clt-dash__props .clt-prop-grid, .clt-prop-grid--one { grid-template-columns: minmax(0, 1fr); }
.clt-prop { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .18s var(--ease), box-shadow .18s var(--ease); }
.clt-prop:hover { border-color: var(--navy); box-shadow: var(--shadow-1); }
.clt-prop:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.clt-prop__head { display: grid; gap: 2px; }
.clt-prop__name { margin: 0; font-size: 1.25rem; }
.clt-prop__name a { color: var(--navy); text-decoration: none; }
.clt-prop__name a::after { content: ""; position: absolute; inset: 0; }
.clt-prop__name a:focus-visible { outline: none; }
.clt-prop__place { margin: 0; font-size: var(--fs-sm); color: var(--ink-muted); }
.clt-prop__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.clt-prop__tags li { margin: 0; }
.clt-prop__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--line); }
.clt-prop__stats dt { font: 600 var(--fs-xs)/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.clt-prop__stats dd { margin: 2px 0 0; font-weight: 600; }
.clt-prop__next { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 12px; border-radius: var(--r-sm); background: var(--paper); font-size: var(--fs-sm); font-weight: 600; }
.clt-prop__next span { padding: 2px 8px; border-radius: var(--pill); background: var(--navy); color: var(--on-navy); font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase; }

/* "Part of Pro" / "Part of membership" dashed cards */
.clt-upgrade-card { display: grid; gap: 6px; padding: 18px 20px; border: 1.5px dashed var(--line-strong); border-radius: var(--r); background: var(--paper); color: var(--ink); text-decoration: none; transition: border-color .18s var(--ease), background-color .18s var(--ease); }
.clt-upgrade-card:hover { border-color: var(--navy); background: var(--white); color: var(--ink); }
.clt-upgrade-card__badge { justify-self: start; padding: 3px 10px; border-radius: var(--pill); background: var(--clay-soft); color: var(--clay-ink); font: 600 var(--fs-xs)/1.3 var(--sans); }
.clt-upgrade-card__title { font: 600 1.125rem/1.3 var(--serif); color: var(--navy); }
.clt-upgrade-card__text { font-size: var(--fs-sm); color: var(--ink-muted); }
.clt-upgrade-card__go { font-weight: 600; font-size: var(--fs-sm); color: var(--navy); text-decoration: underline; text-decoration-color: var(--clay); text-underline-offset: .2em; }

/* Account panels */
.clt-account { display: grid; gap: 20px; max-width: 52rem; }
.clt-panel { padding: clamp(20px, 3vw, 28px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-1); }
.clt-panel__h { margin: 0 0 12px; font-size: 1.375rem; }
.clt-panel .clt-kv { margin-bottom: 16px; }
.clt-panel__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }
.clt-form--auth { max-width: 30rem; padding: clamp(22px, 3vw, 32px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-1); }
.clt-auth { display: grid; grid-template-columns: minmax(0, 30rem) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.clt-auth__side { padding-top: 8px; }
.clt-auth__side h2 { font-size: 1.375rem; }

/* Member page furniture (clt-core): nav, lede, back and more links */
.clt-member-nav { margin: 0 0 var(--sp-4); }
.clt-member-nav__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.clt-member-nav__list > li { margin: 0; }
.clt-member-nav__link { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: var(--pill); background: var(--white); color: var(--navy); font: 600 var(--fs-sm)/1.2 var(--sans); text-decoration: none; white-space: nowrap; }
.clt-member-nav__link:hover { border-color: var(--navy); color: var(--navy); }
.clt-member-nav__link[aria-current], .clt-member-nav__link.is-on { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.clt-lede.clt-member-lede, .clt-member-lede { margin: 0 0 var(--sp-5); }
.clt-member-back { margin: 0 0 8px; }
.clt-member-back > a:only-child { display: inline-flex; align-items: center; min-height: 44px; }
.clt-member-more { margin: var(--sp-5) 0 0; }
.clt-body--app > .clt-dash__panel + .clt-dash__panel, .clt-body--app > .clt-panel + .clt-panel { margin-top: 16px; }

/* Tier badge and progress (account page and dashboard) */
.clt-tier--bungalow { --em: url("../img/tier-bungalow.svg"); }
.clt-tier--craftsman { --em: url("../img/tier-craftsman.svg"); }
.clt-tier--mission { --em: url("../img/tier-mission.svg"); }
.clt-tier--hacienda { --em: url("../img/tier-hacienda.svg"); }
.clt-tier--estate { --em: url("../img/tier-estate.svg"); }
.clt-tier { position: relative; display: grid; gap: 4px 0; margin: 0 0 16px; padding: 18px 20px 18px 92px; min-height: 100px; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(135deg, var(--white) 55%, var(--clay-soft) 140%); }
.clt-tier::before { content: ""; position: absolute; left: 20px; top: 18px; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); }
.clt-tier::after { content: ""; position: absolute; left: 28px; top: 26px; width: 40px; height: 40px; background: var(--on-navy); -webkit-mask: var(--em) center / contain no-repeat; mask: var(--em) center / contain no-repeat; }
.clt-tier p { margin: 0; }
.clt-tier__badge { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.clt-tier__name { font: 600 1.5rem/1.15 var(--serif); color: var(--navy); }
.clt-tier__who { font-size: var(--fs-sm); color: var(--ink-muted); }
.clt-tier__founding { justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 2px !important; padding: 4px 12px 4px 8px; border-radius: var(--pill); background: var(--navy); color: var(--on-navy); font: 600 var(--fs-xs)/1.4 var(--sans); letter-spacing: .04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.clt-tier__founding::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 2px var(--navy), 0 0 0 3px var(--mark); }
.clt-tier__count { margin-top: 6px !important; font-size: var(--fs-sm); font-weight: 600; color: var(--navy); }
.clt-tier__progress { -webkit-appearance: none; appearance: none; display: block; width: 100%; max-width: 420px; height: 10px; border: 0; border-radius: var(--pill); background: var(--tint); overflow: hidden; color: var(--navy); }
.clt-tier__progress::-webkit-progress-bar { background: var(--tint); border-radius: var(--pill); }
.clt-tier__progress::-webkit-progress-value { background: linear-gradient(90deg, var(--navy), var(--clay)); border-radius: var(--pill); }
.clt-tier__progress::-moz-progress-bar { background: linear-gradient(90deg, var(--navy), var(--clay)); border-radius: var(--pill); }
.clt-tier__next { font-size: var(--fs-sm); color: var(--ink-muted); }

/* Compliance score, compliance list, coverage list */
.clt-score { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 14px 0; }
.clt-score__label { color: var(--ink-muted); }
.clt-score__value { font: 600 1.625rem/1.1 var(--serif); color: var(--navy); font-variant-numeric: lining-nums tabular-nums; }
.clt-compliance, .clt-coverage, .clt-saved { margin: 0; padding: 0; list-style: none; }
.clt-compliance__h { margin: 22px 0 6px; font: 600 var(--fs-xs)/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.clt-compliance__item, .clt-coverage__item { margin: 0; padding: 12px 0; border-top: 1px solid var(--line); }
.clt-compliance__item:first-child, .clt-coverage__item:first-child { border-top: 0; }
.clt-compliance__item > strong { color: var(--navy); }
.clt-compliance__item .clt-tag, .clt-coverage__item .clt-tag { margin-right: 8px; }
.clt-compliance__item p, .clt-coverage__item p { margin: 6px 0 0; color: var(--ink); line-height: 1.5; }
.clt-compliance__item--todo { position: relative; padding-left: 14px; }
.clt-compliance__item--todo::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--warn); }

/* Achievements: earned ones are solid medals, the rest dashed */
.clt-achievements { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 18px; padding: 0; list-style: none; }
.clt-achievement { margin: 0; }
.clt-achievement .clt-tag { min-height: 34px; padding: 5px 14px 5px 10px; font-size: var(--fs-xs); }
.clt-achievement.is-earned .clt-tag { background: var(--sage-soft); border-color: #B9CDBC; color: var(--sage-ink); }
.clt-achievement.is-earned .clt-tag::before { width: 14px; height: 14px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 2px var(--sage-soft), 0 0 0 3px var(--sage); }
.clt-achievement:not(.is-earned) .clt-tag { background: transparent; border: 1.5px dashed var(--line-strong); color: var(--ink-muted); }

/* Calendar rows: Open and Mark done under the text (the title is plain text there) */
.clt-deadline__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 0; }
.clt-deadline__actions .clt-inline-form { display: inline-flex; margin: 0; }
.clt-deadline__actions .clt-btn { min-height: 44px; padding: 6px 16px; font-size: var(--fs-sm); }
/* clt-core 55f18b2 prints the Mark done <form> inside the actions <p>; the HTML parser moves it out, and the form's class is
   clt-form (its second class attribute is dropped). Keep both on one row until the plugin prints a <div> there. */
.clt-deadline__body > .clt-deadline__actions:has(+ form) { display: inline-flex; vertical-align: top; margin-right: 8px; }
.clt-deadline__body > .clt-deadline__actions:empty { display: none; }
.clt-deadline__body > form { display: inline-flex; width: auto; margin: 10px 0 0; vertical-align: top; }
.clt-deadline__body > form .clt-btn { min-height: 44px; padding: 6px 16px; font-size: var(--fs-sm); }
.clt-deadline:has(.clt-deadline__actions) { align-items: start; }
.clt-deadline:has(.clt-deadline__actions) .clt-deadline__when { padding-top: 4px; }

/* Pickers, photos, countdown, dated lists, file buttons */
.clt-unit-picker { margin: 0 0 var(--sp-5); }
.clt-unit-picker .clt-form__row { align-items: end; }
.clt-photos { margin-top: 18px; }
.clt-photos__h { margin: 18px 0 6px; font-size: 1.125rem; }
.clt-photos__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; padding: 0; list-style: none; }
.clt-photos__list > li { margin: 0; }
.clt-photos__list img { display: block; width: 96px; height: 96px; object-fit: cover; border: 1px solid var(--line); border-radius: var(--r-sm); }
.clt-countdown { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 12px; color: var(--ink-muted); }
.clt-countdown__n { font: 600 2rem/1.1 var(--serif); color: var(--navy); font-variant-numeric: lining-nums tabular-nums; }
.clt-saved > li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin: 0; padding: 12px 0; border-top: 1px solid var(--line); }
.clt-saved > li:first-child { border-top: 0; }
.clt-file-btn { position: relative; cursor: pointer; }
.clt-file-btn:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }

@media (max-width: 899.98px) {
	.clt-dash { grid-template-columns: minmax(0, 1fr); }
	.clt-dash__deadlines, .clt-dash__props, .clt-dash__alerts, .clt-dash__more { grid-column: 1; grid-row: auto; }
	.clt-auth { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 479.98px) {
	.clt-tier { padding: 16px 16px 16px 76px; }
	.clt-tier::before { left: 16px; top: 16px; width: 46px; height: 46px; }
	.clt-tier::after { left: 22px; top: 22px; width: 34px; height: 34px; }
	.clt-tier__founding { letter-spacing: 0; }
	.clt-deadline { grid-template-columns: 50px minmax(0, 1fr); }
	.clt-deadline__when { grid-column: 2; }
	.clt-deadline__date { height: 54px; }
	.clt-panel__actions .clt-btn { flex: 1 1 100%; }
}

/* Round 1: disclosures and similar checklists (clt-core marks items done or not applicable and folds them away) */
.clt-compliance__item--done, .clt-compliance__item--na { color: var(--ink-muted); }
.clt-compliance__item--done > strong, .clt-compliance__item--na > strong { color: var(--ink-muted); font-weight: 600; }
.clt-compliance__closed { margin: 14px 0 0; }
.clt-compliance__closed .clt-compliance { padding: 0 0 4px; }
.clt-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.clt-jump li { margin: 0; }
.clt-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: var(--pill); background: var(--white); color: var(--navy); font-weight: 600; font-size: var(--fs-sm); text-decoration: none; }
.clt-member-nav { overflow-x: auto; scrollbar-width: none; }
.clt-member-nav::-webkit-scrollbar { display: none; }

/* ==========================================================================
   Round 1 member components (clt-core markup; add_theme_support 'clt-round1-components')
   ========================================================================== */
/* Row pattern: Edit and Delete beside a row; Delete opens the review dialog */
.clt-row-actions { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 6px 8px 0 0; vertical-align: middle; }
.clt-row-actions > a, .clt-row-actions > button { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: var(--fs-sm); }
.clt-row-actions > a:not(.clt-btn) { color: var(--navy); text-decoration: underline; text-decoration-color: var(--clay); text-underline-offset: .2em; }
/* Delete and Undo open a review dialog: they look and act like buttons (role="button" and Space from site.js). */
.clt-row-actions > a[data-clt-dialog]:not(.clt-btn) { justify-content: center; min-width: 44px; padding: 6px 16px; border: 1.5px solid var(--err); border-radius: var(--pill); background: var(--white); color: var(--err); text-decoration: none; }
.clt-row-actions > a[data-clt-dialog]:not(.clt-btn):hover { background: var(--err-soft); }
.clt-table td .clt-row-actions { margin: 0; }
/* The same review step as a page section (no script) */
.clt-confirm { max-width: 40rem; margin-bottom: 20px; border-left: 4px solid var(--err); }
.clt-confirm .clt-form__actions { margin-top: 16px; }

/* Past lease end: what happened? */
.clt-resolver { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 10px; margin: 10px 0 0; padding: 12px 14px; border-radius: var(--r-sm); background: var(--paper); }
.clt-resolver .clt-label { flex-basis: 100%; margin: 0; font-size: var(--fs-sm); }
.clt-resolver .clt-inline-form { margin: 0; }
.clt-resolver .clt-btn { min-height: 44px; padding: 6px 14px; font-size: var(--fs-sm); }

/* Property card with its unit actions under it */
.clt-prop-wrap { display: flex; flex-direction: column; gap: 8px; }
.clt-prop__units { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0 2px; list-style: none; }
.clt-prop__units > li { margin: 0; }

/* Dashboard: the score is the first thing, as a band across the top */
.clt-dash__score { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4px 28px; padding: clamp(20px, 3vw, 30px); border-color: var(--navy); background: radial-gradient(120% 160% at 100% 0%, #2A4468 0%, var(--navy) 60%); color: var(--on-navy); box-shadow: var(--shadow-2); }
.clt-dash__score .clt-dash__head { grid-column: 2; margin: 0; }
.clt-dash__score .clt-dash__h { color: var(--on-navy-muted); font: 600 var(--fs-xs)/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.clt-dash__score .clt-link { color: var(--on-navy); text-decoration-color: rgba(250, 246, 239, .5); }
.clt-dash__score .clt-score { grid-column: 2; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; margin: 0; }
.clt-dash__score .clt-score__label { order: 2; color: var(--on-navy-muted); }
.clt-dash__score .clt-score__value { order: 1; font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem); line-height: 1; color: var(--on-navy); }
.clt-dash__score .clt-score__how { grid-column: 2; margin: 2px 0 0; color: var(--on-navy-muted); font-size: var(--fs-sm); }
.clt-dash__score .clt-panel__actions { grid-column: 2; align-items: center; gap: 8px 14px; margin: 12px 0 0; }
.clt-dash__score .clt-btn { background: var(--paper); border-color: var(--paper); color: var(--navy); }
.clt-dash__score .clt-btn:hover { background: var(--white); border-color: var(--white); }
.clt-dash__score .clt-muted { color: var(--on-navy-muted); font-size: var(--fs-sm); }
/* The ring is drawn when site.js has read the score (--score: 0 to 100); without it the number stands alone. */
.clt-dash__score::before { content: ""; grid-column: 1; grid-row: 1 / span 4; width: clamp(84px, 12vw, 132px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--navy) 76%, transparent 77% 100%), conic-gradient(var(--mark) calc(var(--score, 0) * 1%), rgba(250, 246, 239, .16) 0); }
.clt-dash__score:not([style*="--score"])::before { display: none; }
.clt-dash__score:not([style*="--score"]) > * { grid-column: 1 / -1; }
.clt-score__how { margin: 4px 0 12px; font-size: var(--fs-sm); color: var(--ink-muted); }

/* Dashboard columns: attention, coming up, saved results and law changes on the left; properties on the right */
.clt-dash__attention, .clt-dash__kept { grid-column: 1; }
.clt-dash:has(.clt-dash__score) .clt-dash__props { grid-row: 2 / span 3; }
.clt-dash:has(.clt-dash__score):has(.clt-dash__kept) .clt-dash__props { grid-row: 2 / span 4; }
.clt-dash__attention { border-left: 4px solid var(--line-strong); }
.clt-dash__attention:has(.clt-deadline) { border-left-color: var(--err); }
.clt-dash__attention > .clt-muted { margin: 0; }
.clt-deadline--check { border-color: #E8CF9C; background: var(--warn-soft); }
.clt-deadline--check .clt-deadline__date { background: var(--white); }
.clt-deadline--check .clt-deadline__when { color: var(--warn-ink); }
.clt-achievement-new { display: flex; align-items: center; gap: 12px; }
.clt-achievement-new::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft), 0 0 0 4px var(--ok); }
.clt-achievement-new .clt-notice__title { margin: 0; }
.clt-dash__kept .clt-saved > li { align-items: center; }

/* Read-only example members area */
.clt-notice.clt-demo-banner { max-width: var(--wrap); margin: 0 0 20px; border: 1.5px dashed var(--clay); border-left: 4px solid var(--clay); background: var(--clay-soft); }
.clt-demo-banner .clt-notice__title { color: var(--clay-ink); font-size: 1.0625rem; }
.clt-demo-banner > p { margin: 0 0 4px; }
.clt-demo-banner .clt-panel__actions { margin-top: 12px; }

/* The itemized statement as a page */
.clt-statement { max-width: 48rem; padding: clamp(22px, 4vw, 44px); background: var(--white); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow-1); }
.clt-statement h2 { font-size: 1.5rem; }
.clt-statement h3 { margin-top: 24px; font-size: 1.125rem; }
.clt-statement table { width: 100%; }

/* Small pieces */
.clt-tier__define { font-size: var(--fs-sm); color: var(--ink-muted); }
.clt-alert__you { margin: 0 0 8px; padding: 10px 14px; border-left: 3px solid var(--navy); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--info-soft); }
.clt-ledger__coming { margin: 0 0 16px; }

@media (max-width: 899.98px) {
	.clt-dash:has(.clt-dash__score) .clt-dash__props { grid-row: auto; }
}
@media (max-width: 479.98px) {
	.clt-dash__score { grid-template-columns: minmax(0, 1fr); }
	.clt-dash__score > * { grid-column: 1 !important; }
	.clt-dash__score::before { grid-row: auto; width: 76px; margin-bottom: 6px; }
	.clt-resolver .clt-inline-form, .clt-resolver .clt-inline-form .clt-btn { width: 100%; }
}
@media print {
	.clt-dash__score { background: #fff; color: #000; border-color: #999; box-shadow: none; }
	.clt-dash__score * { color: #000 !important; }
	.clt-dash__score::before { display: none; }
	.clt-statement { border: 0; box-shadow: none; padding: 0; }
}

/* Dashboard alert rows: tag on its own line, then the title, then the date */
.clt-dash__alerts .clt-saved > li { display: grid; justify-content: start; justify-items: start; gap: 4px; }

/* ==========================================================================
   Round 2 member layout (FIXES-2 section C)
   ========================================================================== */
/* C5: past lease end. The question, then "Please confirm", then the choices across the whole row. */
.clt-deadline:has(> .clt-deadline__body > .clt-resolver) { grid-template-columns: 56px minmax(0, 1fr); align-items: start; row-gap: 4px; }
.clt-deadline:has(> .clt-deadline__body > .clt-resolver) > .clt-deadline__body { display: contents; }
.clt-deadline:has(> .clt-deadline__body > .clt-resolver) > .clt-deadline__date { grid-column: 1; grid-row: 1 / span 3; }
.clt-deadline:has(> .clt-deadline__body > .clt-resolver) .clt-deadline__title { grid-column: 2; grid-row: 1; }
.clt-deadline:has(> .clt-deadline__body > .clt-resolver) .clt-deadline__meta { grid-column: 2; grid-row: 2; }
.clt-deadline:has(> .clt-deadline__body > .clt-resolver) > .clt-deadline__when { grid-column: 2; grid-row: 3; white-space: normal; }
.clt-deadline:has(> .clt-deadline__body > .clt-resolver) .clt-resolver { grid-column: 1 / -1; grid-row: 4; margin-top: 8px; }
.clt-deadline:has(> .clt-deadline__body > .clt-resolver) .clt-deadline__actions { grid-column: 1 / -1; grid-row: 5; margin-top: 4px; }
.clt-resolver { align-items: flex-end; gap: 12px 16px; }
.clt-resolver .clt-inline-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 8px; }
.clt-resolver .clt-inline-form .clt-label { flex-basis: 100%; }
.clt-resolver .clt-inline-form .clt-input { width: auto; min-width: 0; flex: 1 1 150px; }

/* C4: "Fix this" is the main action on the score page: a small button on its own line */
.clt-compliance__item a[aria-label^="Fix this"] { display: flex; align-items: center; justify-content: center; width: max-content; min-height: 44px; margin: 10px 0 0; padding: 6px 18px; border: 1.5px solid var(--navy); border-radius: var(--pill); background: var(--white); color: var(--navy); font-weight: 600; font-size: var(--fs-sm); text-decoration: none; }
.clt-compliance__item a[aria-label^="Fix this"]:hover { background: var(--navy); color: var(--on-navy); }

/* C9: a tool outside the chips marks "All tools" as the current section */
.clt-member-nav__link.is-section { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }

/* C7: the read-only demo opens on the deadlines and properties; the score band and questions follow in the left column */
.clt-dash--demo > * { grid-column: 1; grid-row: auto; }
.clt-dash.clt-dash--demo > .clt-dash__props { grid-column: 2; grid-row: 1 / span 8; }
.clt-dash--demo > .clt-dash__score { grid-column: 1; grid-template-columns: auto minmax(0, 1fr); }
@media (max-width: 899.98px) {
	.clt-dash.clt-dash--demo > .clt-dash__props { grid-column: 1; grid-row: auto; }
}
@media (max-width: 479.98px) {
	.clt-resolver .clt-inline-form, .clt-resolver .clt-inline-form .clt-btn { width: 100%; }
	.clt-resolver .clt-inline-form .clt-input { flex-basis: 100%; }
	.clt-deadline:has(> .clt-deadline__body > .clt-resolver) { padding: 12px; }
	.clt-deadline:has(> .clt-deadline__body > .clt-resolver) .clt-resolver { margin-inline: -4px; }
}

/* ==========================================================================
   Self-management suite (clt-core theme requests t2 to t8; add_theme_support 'clt-suite-components' turns off
   core's interim suite.css)
   ========================================================================== */
/* One-line answer above a tool's detail */
.clt-result-line { margin: 0 0 20px; padding: 16px 18px; border-left: 4px solid var(--clay); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--tint); font-size: 1.125rem; line-height: 1.45; }
.clt-result-line strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--navy); }

/* Private link panels (repair request, welcome sheet, listing, checklist to sign): QR beside the address */
.clt-linkpanel__row { display: grid; gap: 16px; align-items: start; }
.clt-linkpanel__qr { max-width: 148px; }
.clt-linkpanel__qr svg, .clt-qr { display: block; width: 100%; height: auto; padding: 6px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.clt-linkpanel__body .clt-input[readonly] { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 16px; background: var(--paper); }

/* Receipt rows (label, value), also the welcome sheet */
.clt-receipt { margin: 0 0 16px; }
.clt-receipt > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.clt-receipt > div:first-child { border-top: 1px solid var(--line); }
.clt-receipt dt { font-size: var(--fs-sm); color: var(--ink-muted); }
.clt-receipt dd { margin: 0; font-weight: 600; color: var(--navy); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.clt-receipt dd a[href^="tel:"], .clt-welcome a[href^="tel:"] { display: inline-flex; align-items: center; min-height: 44px; }

/* Messages and small inputs */
.clt-msg { margin-top: 6px; font-weight: 400; }
.clt-msg > summary { display: inline-flex; align-items: center; min-height: 44px; color: var(--clay-ink); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.clt-msg p { margin: 6px 0; overflow-wrap: anywhere; }
.clt-input--sm { max-width: 7rem; }
.clt-table .clt-input--sm { min-height: 44px; }
.clt-taxnote { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--ink-muted); }
.clt-table--stack td .clt-btn--sm { white-space: normal; }
.clt-table--stack td, .clt-table--stack th[scope="row"] { overflow-wrap: anywhere; }
.clt-table--stack td > span { min-width: 0; }

/* Wide schedules (Schedule E, performance): scroll sideways inside their own box */
.clt-grid-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.clt-sched { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.clt-sched th, .clt-sched td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.clt-sched thead th { background: var(--tint); font: 600 var(--fs-xs)/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.clt-sched th[scope="row"], .clt-sched thead th:first-child { min-width: 11rem; text-align: left; white-space: normal; background: var(--white); }
.clt-sched thead th:first-child { background: var(--tint); }
.clt-sched tfoot td, .clt-sched tfoot th, .clt-sched .clt-sched__total { border-top: 2px solid var(--navy); font-weight: 700; color: var(--navy); }
.clt-sched .clt-sched__ytd { background: var(--tint); font-weight: 600; }
/* The row labels stay put while the numbers scroll, on wide screens only (no pinned columns on phones). */
@media (min-width: 1024px) {
	.clt-sched th[scope="row"], .clt-sched thead th:first-child { position: sticky; left: 0; z-index: 1; }
}

/* Figures in a row */
.clt-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 12px; margin: 0 0 20px; padding: 0; list-style: none; }
.clt-kpis li { margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); box-shadow: var(--shadow-1); }
.clt-kpis .clt-kpis__label { display: block; font-size: var(--fs-sm); color: var(--ink-muted); }
.clt-kpis .clt-kpis__value { display: block; margin-top: 2px; font: 600 1.375rem/1.2 var(--serif); color: var(--navy); overflow-wrap: anywhere; }

/* t2: numbered steps (move-out, turnover, playbooks) */
.clt-steps { margin: 0 0 16px; padding: 0; list-style: none; counter-reset: clt-step; }
.clt-steps__item { position: relative; counter-increment: clt-step; margin: 0; padding: 14px 0 14px 48px; border-bottom: 1px solid var(--line); }
.clt-steps__item:first-child { border-top: 1px solid var(--line); }
.clt-steps__item::before { content: counter(clt-step); position: absolute; left: 0; top: 13px; display: grid; place-items: center; width: 32px; height: 32px; border: 2px solid var(--navy); border-radius: 50%; background: var(--white); color: var(--navy); font: 600 var(--fs-sm)/1 var(--sans); }
.clt-steps__item::after { content: ""; position: absolute; left: 15px; top: 47px; bottom: -1px; width: 2px; background: var(--line); }
.clt-steps__item:last-child::after { display: none; }
.clt-steps__item > p { margin: 2px 0; }
.clt-steps__item > p:first-child { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.clt-steps__item > p:first-child strong { color: var(--navy); }
.clt-steps__item > p > a, .clt-steps__item > p > strong > a { display: inline-flex; align-items: center; min-height: 44px; }
.clt-sched th a { display: inline-flex; align-items: center; min-height: 44px; }
.clt-steps__item > p + p { font-size: var(--fs-sm); color: var(--ink-muted); line-height: 1.5; }
.clt-steps__item--done::before { content: ""; border-color: var(--sage); background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.clt-steps__item--done > p:first-child strong { color: var(--ink-muted); }
.clt-steps__item--todo::before { border-color: var(--clay); color: var(--clay-ink); }
.clt-steps__item--na::before { border-color: var(--line-strong); color: var(--ink-muted); background: var(--paper); }
.clt-steps__item--na > p:first-child strong { color: var(--ink-muted); font-weight: 600; }
.clt-steps__item--info::before { border-color: var(--line-strong); background: var(--tint); }

/* t3: tenant-facing phone pages (welcome sheet, listing, checklist to sign) */
.clt-public { max-width: 44rem; }
.clt-public .clt-panel { margin-top: 16px; }
.clt-welcome { margin: 0; } /* its sections are panels already; no box around the boxes */
.clt-welcome > .clt-panel:first-of-type { margin-top: 8px; }
.clt-welcome h2 { margin-top: 24px; font-size: 1.25rem; }
.clt-welcome h2:first-child { margin-top: 0; }
.clt-welcome__addr { margin: 0 0 12px; font: 600 1.125rem/1.35 var(--serif); color: var(--navy); }

/* t4: move-in and move-out checklists */
.clt-move__room { margin-top: 16px; }
fieldset.clt-move__room { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
fieldset.clt-move__room > legend { padding: 0 6px; font: 600 1.125rem/1.3 var(--serif); color: var(--navy); }
section.clt-move__room .clt-table { border: 0; border-radius: 0; box-shadow: none; background: transparent; }
section.clt-move__room .clt-table--stack tr { padding-inline: 0; border-inline: 0; border-radius: 0; }
section.clt-move__room .clt-table--stack tr:last-child { border-bottom: 0; }
.clt-move__item { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
.clt-move__item:last-child { border-bottom: 0; }
.clt-move__trail { font-size: .9375rem; }
.clt-move__trail time { font-weight: 600; color: var(--navy); }

/* t5: Today panel on the dashboard */
.clt-dash__today .clt-saved > li { padding-block: 8px; }

@media (min-width: 640px) {
	.clt-linkpanel__row { grid-template-columns: 148px minmax(0, 1fr); }
	.clt-receipt > div { grid-template-columns: 14rem minmax(0, 1fr); gap: 16px; }
}
@media print {
	.clt-linkpanel .clt-row-actions, .clt-public form { display: none; }
	.clt-steps__item::after { display: none; }
	.clt-grid-wrap { overflow: visible; border: 0; }
}

/* ==========================================================================
   Round 2 member pieces (core theme requests u4, u5, u9)
   ========================================================================== */
/* u4: the note after keeping a result (focused on load like a flash notice) */
.clt-dash__kept .clt-kept-note { margin: 0 0 14px; }
.clt-dash__kept .clt-kept-note .clt-notice__title { margin: 0; }
/* u5: an achievement on its way: the tag, then a thin bar ("n of m" is in the tag) */
.clt-achievement.is-progress { display: grid; gap: 5px; }
.clt-achievement.is-progress .clt-tag { background: var(--white); border: 1.5px solid var(--line-strong); color: var(--navy); }
.clt-achievement__progress { display: block; width: 100%; height: 6px; margin: 0; border: 0; border-radius: var(--pill); background: var(--line); color: var(--sage); overflow: hidden; -webkit-appearance: none; appearance: none; }
.clt-achievement__progress::-webkit-progress-bar { background: var(--line); border-radius: var(--pill); }
.clt-achievement__progress::-webkit-progress-value { background: var(--sage); border-radius: var(--pill); }
.clt-achievement__progress::-moz-progress-bar { background: var(--sage); border-radius: var(--pill); }
.clt-progress-line { margin: 4px 0 0; font-size: var(--fs-sm); color: var(--ink-muted); }
/* u9: the unit picker opens the chosen unit (help line under the select); Show stays for no-script, level with the select */
.clt-unit-picker .clt-form__row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px 16px; }
.clt-unit-picker .clt-field { flex: 1 1 260px; max-width: 34rem; }
.clt-unit-picker #clt-pick-u-help { margin-top: 6px; }
.clt-unit-picker .clt-form__actions { padding-top: 29px; }
/* u9: Section 8 and payment import: a control in a table row is level with its text; a second form under a form */
.clt-table tr:has(> td select, > td .clt-input) > * { vertical-align: middle; }
.clt-panel > .clt-help + .clt-table-wrap, .clt-panel > p + form > .clt-table-wrap:first-of-type { margin-top: 14px; }
.clt-panel > form + .clt-inline-form { margin-top: 12px; }
.clt-panel > form.clt-form + .clt-help { margin-top: 16px; }
.clt-help a { display: inline; min-height: 0; padding: 0; }
.clt-input[type="file"] { padding: 8px; font-size: var(--fs-sm); }
.clt-input[type="file"]::file-selector-button { min-height: 36px; margin-right: 12px; padding: 6px 16px; border: 1.5px solid var(--navy); border-radius: var(--pill); background: var(--white); color: var(--navy); font: 600 var(--fs-sm)/1.2 var(--sans); cursor: pointer; }
.clt-input[type="file"]::file-selector-button:hover { background: var(--paper); }

@media (max-width: 719.98px) {
	.clt-unit-picker .clt-form__actions { padding-top: 0; }
	/* A select or field in a stacked row gets the row's full width under its label */
	.clt-table--stack td:has(> select, > .clt-input) { grid-template-columns: minmax(0, 1fr); gap: 6px; }
	.clt-table--stack td > select, .clt-table--stack td > .clt-input { width: 100%; max-width: none; }
}

/* ==========================================================================
   Suite pieces of the sixth core builder (core theme requests v1 to v4)
   ========================================================================== */
/* v1: a request's dated steps as a small timeline (rule, dot per step, the latest filled; dates in bold, no numbers) */
.clt-acc__trail { margin: 10px 0 14px; padding: 0 0 0 18px; list-style: none; border-left: 2px solid var(--line); font-size: var(--fs-sm); line-height: 1.45; }
.clt-acc__trail > li { position: relative; margin: 0; padding: 5px 0; }
.clt-acc__trail > li::before { content: ""; position: absolute; left: -25px; top: 10px; width: 10px; height: 10px; border: 2px solid var(--sage); border-radius: 50%; background: var(--white); }
.clt-acc__trail > li:last-child::before { background: var(--sage); }
.clt-acc__trail strong { display: inline-block; min-width: 10.5em; margin-right: 8px; color: var(--navy); font-variant-numeric: tabular-nums; }
/* A request with its trail and step form reads top to bottom (the saved-list row is a wrapping flex line otherwise) */
.clt-saved > li:has(> .clt-acc__trail) { display: block; padding-block: 18px; }
.clt-saved > li:has(> .clt-acc__trail) > strong:first-child { font-size: 1.0625rem; }
.clt-saved > li:has(> .clt-acc__trail) > .clt-tag { margin-left: 8px; vertical-align: 1px; }
.clt-saved > li:has(> .clt-acc__trail) > .clt-form { max-width: 44rem; margin-top: 4px; }
.clt-saved > li:has(> .clt-acc__trail) > .clt-row-actions { margin-top: 10px; }
/* v2: checklist steps with their own forms: label, date and button on one line (Does not apply and Undo beside it) */
.clt-steps__item > .clt-inline-form { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 10px 14px 0 0; vertical-align: top; }
.clt-steps__item > .clt-inline-form .clt-label { margin: 0; font-size: var(--fs-sm); }
.clt-steps__item > .clt-inline-form .clt-input { flex: 0 1 11.5em; width: 11.5em; min-height: 44px; }
.clt-steps__item > .clt-inline-form .clt-btn { min-height: 44px; }
.clt-steps__item > p.clt-muted { font-size: var(--fs-sm); color: var(--ink-muted); }
.clt-steps__item--na > p + p { color: var(--ink-muted); }
.clt-steps__item--na { background: linear-gradient(90deg, transparent 0, transparent 48px, rgba(242, 236, 225, .45) 48px); }
/* v3: the two problem chips sit above the page's content */
.clt-member-chips { margin: 0 0 20px; }
.clt-member-chips .clt-chip { text-decoration: none; }
.clt-member-chips .clt-chip[aria-current] { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }

@media (max-width: 719.98px) {
	.clt-acc__trail strong { display: block; min-width: 0; margin: 0; }
	.clt-steps__item > .clt-inline-form { display: flex; width: 100%; margin-right: 0; }
	.clt-steps__item > .clt-inline-form .clt-label { flex-basis: 100%; }
	.clt-steps__item > .clt-inline-form .clt-input { flex: 1 1 9.5em; width: auto; }
	.clt-steps__item > .clt-inline-form:not(:has(.clt-input)) .clt-btn { flex: 1 1 auto; }
}

/* ==========================================================================
   Round 3 (reviews/round-3/FIXES-3.md, theme rows)
   ========================================================================== */
/* C1: tenant view (templates/page-tenant.html): the owner's name on top, no site menu, a short footer */
.clt-tenant-head { border-bottom: 1px solid var(--line); background: var(--white); }
.clt-tenant-head__inner { max-width: 44rem; margin-inline: auto; padding: 14px var(--gutter); }
.clt-tenant-view .clt-masthead__inner, .clt-tenant-view .clt-body--tenant, .clt-tenant-foot__inner { max-width: calc(44rem + 2 * var(--gutter)); }
.clt-tenant-from { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; }
.clt-tenant-from__k { font: 600 var(--fs-xs)/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--clay-ink); }
.clt-tenant-from__name { font: 600 1.1875rem/1.3 var(--serif); color: var(--navy); overflow-wrap: anywhere; }
.clt-masthead--tenant { padding: 22px 0 10px; }
.clt-masthead--tenant .clt-masthead__title { max-width: none; font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.25rem); }
.clt-body--tenant { padding-bottom: 32px; }
.clt-tenant-foot { border-top: 1px solid var(--line); background: var(--tint); }
.clt-tenant-foot__inner { margin-inline: auto; padding: 18px var(--gutter) 24px; }
.clt-tenant-foot__line { margin: 0 0 4px; max-width: 60ch; font-size: var(--fs-sm); color: var(--ink-muted); }
.clt-tenant-foot__links { display: flex; flex-wrap: wrap; gap: 0 20px; margin: 0; font-size: var(--fs-sm); }
.clt-tenant-foot__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--navy); }
/* Welcome sheet sections: no empty band under the last line of a panel */
.clt-welcome .clt-panel > :last-child, .clt-welcome .clt-panel > dl > :last-child, .clt-welcome .clt-panel > dl > div:last-child > :last-child { margin-bottom: 0; }
.clt-welcome .clt-panel > dl > div:last-child { border-bottom: 0; padding-bottom: 0; }

@media print {
	.clt-tenant-view .clt-skip, .clt-tenant-foot__links { display: none !important; }
	.clt-tenant-head { border-bottom: 1px solid #999; }
	.clt-tenant-head__inner, .clt-tenant-foot__inner { padding: 0 0 6pt; }
	.clt-tenant-foot { border-top: 1px solid #999; background: #fff; }
	.clt-tenant-foot__line { margin-top: 6pt; color: #000; font-size: 9pt; }
	.clt-masthead--tenant { padding: 8pt 0 4pt; }
	.clt-tenant-view .clt-body--tenant { padding-bottom: 0; }
	/* The welcome sheet is one Letter page: panels flow in two columns without their boxes */
	.clt-tenant-view .clt-welcome { columns: 2; column-gap: 24pt; }
	.clt-tenant-view .clt-welcome .clt-panel { break-inside: avoid; margin: 0 0 10pt; padding: 0; border: 0; box-shadow: none; background: none; }
	.clt-tenant-view .clt-welcome h2 { margin: 0 0 4pt; font-size: 12pt; }
	.clt-tenant-view .clt-welcome__addr { column-span: all; }
	.clt-tenant-view .clt-public { font-size: 10pt; }
	.clt-tenant-view .clt-welcome .clt-receipt > div { display: block; padding: 3pt 0; }
	.clt-tenant-view .clt-welcome .clt-receipt dt { font-size: 9pt; }
	.clt-tenant-view .clt-welcome .clt-receipt dd { margin: 0; font-weight: 600; }
	.clt-tenant-view .clt-welcome a[href^="tel:"] { min-height: 0; }
	.clt-tenant-view .clt-welcome .clt-panel:not(:has(dl, ul, ol, table, > p:not(.clt-panel__actions))) { display: none; }
	.clt-tenant-view .clt-masthead__inner, .clt-tenant-view .clt-body--tenant { padding-inline: 0; }
	.clt-tenant-view .clt-welcome .clt-form__fine { column-span: all; margin-top: 6pt; font-size: 9pt; }
}
.clt-welcome > .clt-form__fine { margin-top: 16px; }
/* C1: the tenant footer sits at the bottom of short pages */
.clt-tenant-view .wp-site-blocks { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.clt-tenant-view .wp-site-blocks > main { flex: 1 0 auto; }
/* D4: file inputs read as a button and a plain line ("Choose photos", "2 photos: a.jpg, b.jpg"); the real input lies over
   the box, so a tap, a click, Space and Enter all open the picker and screen readers hear the input itself */
.clt-file { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-height: 52px; padding: 7px 12px 7px 7px; border: 1.5px dashed var(--line-strong); border-radius: var(--r-sm); background: var(--white); }
.clt-file:focus-within { outline: 3px solid var(--clay); outline-offset: 2px; }
.clt-file:hover .clt-file__btn { background: var(--paper); }
.clt-file > input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; font-size: 16px; }
.clt-file__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 16px; border: 1.5px solid var(--navy); border-radius: var(--pill); background: var(--white); color: var(--navy); font: 600 var(--fs-sm)/1.2 var(--sans); }
.clt-file__btn::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 5.5h2.5L6 3.5h4l1.5 2H14v7.5H2z' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%3E%3Ccircle cx='8' cy='9' r='2.2' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 5.5h2.5L6 3.5h4l1.5 2H14v7.5H2z' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%3E%3Ccircle cx='8' cy='9' r='2.2' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; }
.clt-file--doc .clt-file__btn::before { display: none; }
.clt-file__name { min-width: 0; font-size: var(--fs-sm); color: var(--ink-muted); overflow-wrap: anywhere; }
.clt-file.has-files { border-style: solid; border-color: var(--sage); }
.clt-file.has-files .clt-file__name { color: var(--navy); font-weight: 600; }
@media print { .clt-file { display: none !important; } }
/* C5: welcome sheet source lines under each company and phone pair: a 44 px link with room below the pair */
.clt-form__row + .clt-help:has(> .clt-src:only-child) { margin: -6px 0 18px; }
.clt-help > .clt-src:only-child { display: inline-flex; align-items: center; min-height: 44px; margin-left: 0; padding-block: 0; }
/* C6: a checklist still being filled in prints its rooms as a plain list: item, condition, note (form controls drawn
   as text; the save button and the date field's picker are not printed) */
@media print {
	/* clt-core 1f83ef7 prints its own read-only copy (.clt-print-only after the form); then the form stays hidden */
	.clt-main--app form:has(.clt-move__item):not(:has(~ .clt-print-only)) { display: block !important; }
	.clt-main--app form:has(.clt-move__item) > .clt-field:has(input[type="date"]) { display: flex; gap: 8pt; align-items: baseline; margin: 0 0 6pt; }
	fieldset.clt-move__room { margin: 8pt 0 0; padding: 4pt 0 0; border: 0; border-top: 1px solid #999; border-radius: 0; break-inside: auto; }
	fieldset.clt-move__room > legend { padding: 0; font-size: 12pt; }
	.clt-move__item { display: grid !important; grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) minmax(0, 2fr); gap: 6pt; padding: 2pt 0; border-bottom: 1px solid #ddd; break-inside: avoid; }
	.clt-move__item > .clt-field { display: contents; }
	.clt-move__item .clt-label { margin: 0; font-weight: 400; font-size: 10pt; }
	.clt-move__item .clt-field + .clt-field .clt-label { display: none; }
	.clt-move__item .clt-input, form:has(.clt-move__item) > .clt-field .clt-input { min-height: 0; height: auto; padding: 0; border: 0; background: none; box-shadow: none; font-size: 10pt; -webkit-appearance: none; appearance: none; }
	.clt-move__item select.clt-input { font-weight: 600; background-image: none; }
	.clt-move__item input.clt-input:placeholder-shown { visibility: hidden; }
}
/* R2: checklist rows that are not Good stand out for the tenant and the owner; Not checked rows are quieter */
.clt-move__room tr.is-flag > * { background: var(--warn-soft); }
.clt-move__room tr.is-flag td[data-label="Condition"] { color: var(--warn-ink); font-weight: 600; }
.clt-move__room tr.is-unchecked td[data-label="Condition"] { color: var(--ink-muted); }
.clt-move__room .clt-fold__summary { margin: 4px 0 8px; font-size: var(--fs-sm); color: var(--ink-muted); }
@media print {
	form:has(.clt-move__item) > .clt-field .clt-label { white-space: nowrap; }
	section.clt-move__room { margin-top: 8pt; padding: 0; border: 0; box-shadow: none; }
	section.clt-move__room .clt-table th, section.clt-move__room .clt-table td { padding: 2pt 6pt; font-size: 10pt; }
	.clt-move__room tr.is-flag > * { background: none; }
	.clt-move__room .clt-fold__summary { display: none; }
}
@media print {
	.clt-public { max-width: none; }
	.clt-move__room .clt-table-wrap, .clt-move__room .clt-table { width: 100%; }
	/* A panel that holds only a form (its heading and fields) prints nothing, not an empty box */
	.clt-main--app .clt-panel:has(> form):not(:has(> :not(form, h2, h3, .clt-panel__h, .clt-help, .clt-form__fine))) { display: none !important; }
	.clt-main--app .clt-panel:has(> form.clt-keep-print), .clt-main--app .clt-panel:has(> form .clt-move__item) { display: block !important; }
}
/* V11: the demo banner in full on the dashboard only; on every other demo page it is one short strip */
body:not(.clt-page-members) .clt-notice.clt-demo-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 8px 14px; margin-bottom: 16px; }
body:not(.clt-page-members) .clt-demo-banner > p:not(.clt-notice__title):not(.clt-panel__actions) { display: none; }
body:not(.clt-page-members) .clt-demo-banner .clt-notice__title { flex: 1 1 18rem; margin: 0; font-size: var(--fs-sm); }
body:not(.clt-page-members) .clt-demo-banner .clt-panel__actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
body:not(.clt-page-members) .clt-demo-banner .clt-panel__actions .clt-btn { flex: 1 1 auto; width: auto; min-height: 44px; padding-inline: 12px; white-space: nowrap; }
@media (max-width: 719.98px) { body:not(.clt-page-members) .clt-demo-banner .clt-panel__actions { flex: 1 1 100%; } }

/* ==========================================================================
   clt-core theme requests w1 to w9 (seventh core builder, clt-core 1f83ef7; round4.css off)
   ========================================================================== */
/* w3: checklist by room: jump links as chips, one fold per room with its count, two actions at the end of a room */
.clt-move__jumps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 16px; font-size: var(--fs-sm); color: var(--ink-muted); }
.clt-move__jumps a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--pill); background: var(--white); color: var(--navy); font-weight: 600; text-decoration: none; }
.clt-move__jumps a:hover { border-color: var(--navy); }
details.clt-move__fold { margin: 0; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
details.clt-move__fold:last-of-type { border-bottom: 1px solid var(--line); }
.clt-move__sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 2px; font: 600 1.0625rem/1.3 var(--serif); color: var(--navy); cursor: pointer; list-style: none; }
.clt-move__sum::-webkit-details-marker { display: none; }
.clt-move__sum::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 6px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s var(--ease); }
details[open] > .clt-move__sum::after { transform: rotate(-135deg) translate(-2px, -2px); }
details.clt-move__fold > fieldset.clt-move__room { margin: 0 0 8px; }
.clt-move__room-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 16px; }
.clt-move__item--flag { margin-inline: -10px; padding-inline: 10px; border-radius: var(--r-sm); background: var(--warn-soft); }
.clt-move__room tr.clt-move__row--flag > * { background: var(--warn-soft); }
.clt-move__room tr.clt-move__row--flag td[data-label="Condition"] { color: var(--warn-ink); font-weight: 600; }
.clt-public .clt-photos__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.clt-public .clt-photos__list img { display: block; width: 100%; height: 96px; object-fit: cover; border-radius: var(--r-sm); }
/* The one-link page repeats the address above the welcome sheet; the sheet's own address line is left out there */
.clt-public--home .clt-welcome__addr { display: none; }
/* w8: the drawn file button reads at 16 px like the rest of the form */
.clt-file__btn { font-size: 1rem; }
/* w9: the demo's tenant forms, shown and switched off (no opacity on controls: muted fields instead) */
fieldset.clt-demo-off { display: grid; gap: 22px; min-width: 0; margin: 0; padding: 0; border: 0; } /* the form's own field gap */
fieldset.clt-demo-off .clt-input, fieldset.clt-demo-off .clt-select, fieldset.clt-demo-off textarea { background: var(--tint); border-color: var(--line); color: var(--ink-muted); cursor: not-allowed; }
fieldset.clt-demo-off .clt-btn { background: var(--tint); border-color: var(--line-strong); color: var(--ink-muted); cursor: not-allowed; }
fieldset.clt-demo-off .clt-file { background: var(--tint); cursor: not-allowed; }
@media print {
	details.clt-move__fold { border: 0; }
	.clt-move__sum::after, .clt-move__jumps, .clt-move__room-actions { display: none !important; }
	.clt-move__item--flag { background: none; }
}
