/* Life → Property. Kit tokens only (tokens.css + life overlay). Charts follow
   CHARTS.md: money-flow, diverging-bars, equity-wedge, columns, area-line. */

#property-dashboard { display: block; }
#property-dashboard .prop-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
#property-dashboard [hidden] { display: none !important; }
.prop-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--hub-tile-gap, var(--space-3)); }
.prop-s8 { grid-column: span 8; }
.prop-s4 { grid-column: span 4; }
.prop-tile { min-width: 0; padding: var(--space-5); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--glass); box-shadow: var(--elev-1); }
.prop-kicker { display: flex; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-2); font-size: var(--text-2xs); font-weight: var(--weight-bold); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--muted); }
.prop-h { margin: 0; font-size: var(--text-lg); line-height: var(--leading-snug); letter-spacing: var(--tracking-tight); color: var(--depth); text-wrap: balance; }
.prop-sub { margin: var(--space-1) 0 0; font-size: var(--text-sm); color: var(--muted); max-width: 62ch; }
.prop-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-4); margin: var(--space-10) 0 var(--space-3); }
.prop-section-head h2 { margin: 0; font-size: var(--text-lg); color: var(--depth); letter-spacing: var(--tracking-tight); }
.prop-section-head p { margin: 0; font-size: var(--text-sm); color: var(--muted); }
.prop-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prop-scroll > svg, .prop-flow > svg { display: block; width: 100%; height: auto; overflow: visible; }
#property-dashboard svg text { font-family: var(--font-ui); font-variant-numeric: tabular-nums; }
#property-dashboard dd, #property-dashboard output, .prop-amt, .prop-recent__amt { font-variant-numeric: tabular-nums; }
.is-good { color: var(--success); }
.is-bad { color: var(--danger); }

/* Pills */
.prop-pill { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: var(--radius-full); font-size: var(--text-2xs); font-weight: var(--weight-semibold); text-transform: none; letter-spacing: 0; white-space: nowrap; }
.prop-pill--est { background: var(--pastel-gold); color: var(--pastel-gold-ink); }
.prop-pill--stale { background: var(--pastel-peach); color: var(--pastel-peach-ink); }
.prop-pill--ok { background: var(--pastel-sage); color: var(--pastel-sage-ink); }

/* Lens bar */
.prop-lens { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin: 0 0 var(--space-4); padding: var(--space-2) 0; background: linear-gradient(180deg, var(--warm-white) 70%, transparent); }
.prop-seg { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: var(--radius-full); background: var(--glass); box-shadow: var(--elev-1); }
.prop-seg button { min-height: 2.25rem; padding: 0 var(--space-4); border: 0; border-radius: var(--radius-full); background: transparent; font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--muted); cursor: pointer; }
.prop-seg button[aria-pressed="true"] { background: var(--navy); color: var(--on-dark); }
.prop-lens__meta { margin: 0; font-size: var(--text-xs); color: var(--muted); min-width: 0; }
.prop-lens__actions { display: flex; gap: var(--space-2); margin-left: auto; }
.prop-lens__actions .btn { min-height: 2.75rem; }
.prop-status { margin: 0 0 var(--space-4); padding: var(--space-3) var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--glass); font-size: var(--text-sm); color: var(--orca); display: flex; gap: var(--space-3); align-items: center; flex-wrap: wrap; }
#property-dashboard[data-state="loading"] .prop-grid, #property-dashboard[data-state="loading"] .prop-tm { opacity: 0.55; }

/* Hero */
.prop-hero { display: grid; gap: var(--space-4); padding: var(--space-6); }
.prop-hero__line { margin: 0; font-size: var(--text-xl); line-height: var(--leading-tight); letter-spacing: -0.025em; font-weight: var(--weight-bold); color: var(--depth); text-wrap: balance; max-width: 22ch; }
.prop-hero__line em { font-style: normal; color: var(--wave); }
.prop-hero__why { margin: 0; color: var(--orca); max-width: 60ch; }
.prop-hero__why b { color: var(--ink); font-weight: var(--weight-semibold); }
.prop-flow svg.is-focus .prop-ribbon:not(.is-on) { opacity: 0.18; }
.prop-ribbon, .prop-node { cursor: pointer; transition: opacity 0.2s; }
.prop-svg-label { fill: var(--ink); font-weight: var(--weight-semibold); font-size: 13px; }
.prop-svg-value { fill: var(--muted); font-weight: var(--weight-medium); font-size: 13px; }
.prop-svg-value.is-good { fill: var(--success); font-weight: var(--weight-semibold); }
.prop-svg-value.is-strong { fill: var(--ink); font-weight: var(--weight-bold); }
.prop-svg-value.is-inverse { fill: var(--on-dark); font-weight: var(--weight-bold); }
.prop-svg-value.is-wave { fill: var(--wave); font-weight: var(--weight-bold); }
.prop-truth { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); padding-top: var(--space-4); }
.prop-truth > div { padding: 0 var(--space-4); border-left: 1px solid var(--line); min-width: 0; }
.prop-truth > div:first-child { padding-left: 0; border-left: 0; }
.prop-truth dt { font-size: var(--text-xs); color: var(--muted); }
.prop-truth dd { margin: var(--space-1) 0 0; font-size: var(--text-lg); font-weight: var(--weight-bold); color: var(--depth); letter-spacing: var(--tracking-tight); }
.prop-truth dd small { font-size: var(--text-xs); font-weight: var(--weight-medium); color: var(--muted); margin-left: 2px; }
.prop-truth .is-good dd { color: var(--success); }

/* Countdown */
.prop-countdown { display: flex; flex-direction: column; gap: var(--space-4); background: linear-gradient(170deg, var(--depth) 0%, var(--marine) 100%); color: var(--on-dark); border-color: transparent; }
.prop-countdown .prop-kicker, .prop-tm .prop-kicker { color: var(--on-dark-muted); }
.prop-countdown h2 { margin: 0; font-size: var(--text-lg); color: var(--on-dark); }
.prop-countdown__row { display: flex; align-items: center; gap: var(--space-4); }
.prop-ring { width: 96px; height: 96px; flex-shrink: 0; }
.prop-ring__track { stroke: var(--on-dark-line); }
.prop-ring__fill { stroke: var(--high-sea); transition: stroke-dashoffset 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.prop-ring__big { fill: var(--on-dark); font-size: 20px; font-weight: var(--weight-bold); }
.prop-ring__small { fill: var(--on-dark-muted); font-size: 10px; }
.prop-countdown__days { font-size: var(--text-2xl); font-weight: var(--weight-bold); line-height: 1; letter-spacing: -0.03em; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.prop-countdown__days small { font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--on-dark-muted); letter-spacing: 0; margin-left: 4px; }
.prop-countdown__meta { margin: var(--space-1) 0 0; font-size: var(--text-xs); color: var(--on-dark-muted); }
.prop-stake { padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); background: var(--on-dark-hover); border: 1px solid var(--on-dark-line); }
.prop-stake p { margin: 0; font-size: var(--text-xs); color: var(--on-dark-muted); }
.prop-stake strong { display: block; font-size: var(--text-lg); color: var(--on-dark); letter-spacing: var(--tracking-tight); font-variant-numeric: tabular-nums; }
.prop-flagline { display: grid; gap: var(--space-2); margin: 0; padding: 0; list-style: none; font-size: var(--text-xs); color: var(--on-dark-muted); }
.prop-flagline li { display: flex; gap: var(--space-2); align-items: baseline; }
.prop-flagline li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--high-sea); flex-shrink: 0; transform: translateY(-1px); }
.prop-countdown__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: auto; }
.prop-countdown .btn { min-height: 2.75rem; }
.prop-btn--on-dark { color: var(--on-dark); background: transparent; border: 1px solid var(--on-dark-line); }
.prop-btn--on-dark:hover { background: var(--on-dark-hover); }

/* Time machine */
.prop-tm { margin-top: var(--hub-tile-gap, var(--space-3)); padding: var(--space-6); background: radial-gradient(120% 140% at 100% 0%, var(--navy) 0%, var(--marine) 38%, var(--depth) 100%); color: var(--on-dark); border-color: transparent; box-shadow: var(--elev-4); overflow: hidden; }
.prop-tm__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-6); align-items: end; }
.prop-tm__title { margin: 0; font-size: var(--text-lg); font-weight: var(--weight-semibold); color: var(--on-dark-muted); letter-spacing: var(--tracking-tight); text-align: right; }
.prop-tm__year { margin: 0; font-size: clamp(4rem, 11vw, 7.5rem); line-height: 0.9; font-weight: var(--weight-bold); letter-spacing: -0.05em; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.prop-tm__year small { display: block; margin-top: var(--space-2); font-size: var(--text-sm); font-weight: var(--weight-medium); letter-spacing: 0; color: var(--on-dark-muted); }
.prop-tm__story { margin: var(--space-3) 0 0; max-width: 46ch; font-size: var(--text-md); color: var(--on-dark-muted); }
.prop-tm__story b { color: var(--on-dark); font-weight: var(--weight-semibold); }
.prop-tm__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); margin: var(--space-5) 0 0; }
.prop-tm__stat { padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); background: var(--on-dark-hover); border: 1px solid var(--on-dark-line); min-width: 0; }
.prop-tm__stat dt { display: flex; align-items: center; gap: 6px; font-size: var(--text-xs); color: var(--on-dark-muted); }
.prop-tm__stat dd { margin: var(--space-1) 0 0; font-size: var(--text-lg); font-weight: var(--weight-bold); color: var(--on-dark); letter-spacing: var(--tracking-tight); }
.prop-tm__stat dd.is-pos { color: var(--pastel-sage); }
.prop-tm__stat--hero { background: color-mix(in srgb, var(--wave) 35%, transparent); border-color: color-mix(in srgb, var(--wave) 60%, transparent); }
.prop-key { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }
.prop-tm .prop-key { height: 3px; }
.prop-key--worth { background: var(--on-dark); }
.prop-key--loan { background: var(--sand); }
.prop-key--equity { background: var(--wave); }
.prop-tm__chart { margin-top: var(--space-5); }
.prop-tm__chart svg { display: block; width: 100%; height: auto; overflow: visible; touch-action: none; cursor: ew-resize; }
.prop-tm-grid { stroke: var(--on-dark-line); stroke-opacity: 0.5; }
.prop-tm-axis { fill: var(--on-dark-muted); font-size: 12px; }
.prop-tm-wedge { fill: var(--wave); fill-opacity: 0.16; }
.prop-tm-wedge.is-lit { fill-opacity: 0.55; }
.prop-tm-loan { fill: none; stroke: var(--sand); stroke-width: 2.25; }
.prop-tm-worth { fill: none; stroke: var(--on-dark); stroke-width: 2.5; }
.prop-tm-pin { stroke: var(--on-dark-line); stroke-dasharray: 2 4; }
.prop-tm-pin.is-passed { stroke: var(--high-sea); }
.prop-tm-pin-dot { fill: var(--depth); stroke: var(--on-dark-muted); stroke-width: 1.5; }
.prop-tm-pin-dot.is-passed { fill: var(--high-sea); stroke: var(--high-sea); }
.prop-tm-million { fill: var(--high-sea); font-size: 12px; font-weight: var(--weight-bold); }
.prop-tm-cursor { stroke: var(--on-dark); stroke-width: 1.25; }
.prop-tm-gap { stroke: var(--wave); stroke-width: 6; stroke-linecap: round; opacity: 0.9; }
.prop-tm-dot { fill: var(--on-dark); }
.prop-tm-dot.is-loan { fill: var(--sand); }
.prop-tm-yours { fill: var(--on-dark); font-size: 13px; font-weight: var(--weight-bold); }
.prop-tm__scrub input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 2.75rem; background: transparent; margin: var(--space-2) 0 0; cursor: grab; }
.prop-tm__scrub input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: var(--radius-full); background: linear-gradient(90deg, var(--high-sea) var(--prop-fill, 0%), var(--on-dark-line) var(--prop-fill, 0%)); }
.prop-tm__scrub input[type="range"]::-moz-range-track { height: 6px; border-radius: var(--radius-full); background: linear-gradient(90deg, var(--high-sea) var(--prop-fill, 0%), var(--on-dark-line) var(--prop-fill, 0%)); }
.prop-tm__scrub input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: var(--high-sea); border: 4px solid var(--depth); box-shadow: 0 0 0 2px var(--high-sea); }
.prop-tm__scrub input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--high-sea); border: 4px solid var(--depth); box-shadow: 0 0 0 2px var(--high-sea); }
.prop-tm__moments { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); margin-top: var(--space-4); }
.prop-moment { display: grid; gap: 2px; min-height: 44px; padding: var(--space-3); border: 1px solid var(--on-dark-line); border-radius: var(--radius-sm); background: transparent; color: var(--on-dark-muted); text-align: left; cursor: pointer; font: inherit; }
.prop-moment:hover { background: var(--on-dark-hover); }
.prop-moment:disabled { cursor: default; opacity: 0.7; }
.prop-moment.is-passed { border-color: color-mix(in srgb, var(--high-sea) 70%, transparent); background: color-mix(in srgb, var(--high-sea) 12%, transparent); }
.prop-moment b { font-size: var(--text-lg); color: var(--on-dark); letter-spacing: var(--tracking-tight); font-variant-numeric: tabular-nums; }
.prop-moment span { font-size: var(--text-xs); }
.prop-moment em { font-style: normal; font-size: var(--text-2xs); opacity: 0.8; }
.prop-tm__dials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--on-dark-line); }
.prop-tm__dial { display: grid; gap: var(--space-1); min-width: 0; }
.prop-tm__dial label { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--on-dark-muted); }
.prop-tm__dial output { color: var(--on-dark); }
.prop-tm__dial input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 2.75rem; background: transparent; margin: 0; }
.prop-tm__dial input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: var(--radius-full); background: var(--on-dark-line); }
.prop-tm__dial input[type="range"]::-moz-range-track { height: 4px; border-radius: var(--radius-full); background: var(--on-dark-line); }
.prop-tm__dial input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7px; border-radius: 50%; background: var(--on-dark); border: 0; }
.prop-tm__dial input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--on-dark); border: 0; }
.prop-tm__value { display: flex; gap: var(--space-2); }
.prop-tm__value input { flex: 1; min-width: 0; min-height: 2.75rem; padding: 0 var(--space-3); border: 1px solid var(--on-dark-line); border-radius: var(--radius-xs); background: var(--on-dark-hover); color: var(--on-dark); font: inherit; font-weight: var(--weight-semibold); font-variant-numeric: tabular-nums; }
.prop-tm__value .btn { min-height: 2.75rem; }
.prop-tm__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-3); }
.prop-tm__fine { margin: 0; flex: 1 1 24rem; font-size: var(--text-2xs); color: var(--on-dark-muted); }
.prop-tm .btn--ghost { color: var(--on-dark); background: transparent; border-color: var(--on-dark-line); }

/* KPIs */
.prop-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--hub-tile-gap, var(--space-3)); margin: var(--hub-tile-gap, var(--space-3)) 0 0; }
.prop-kpi { padding: var(--space-4); }
.prop-kpi dt { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); font-size: var(--text-xs); color: var(--muted); }
.prop-kpi dd { margin: var(--space-2) 0 0; font-size: var(--text-lg); font-weight: var(--weight-bold); color: var(--depth); letter-spacing: var(--tracking-tight); }
.prop-kpi p { margin: var(--space-1) 0 0; font-size: var(--text-xs); color: var(--muted); }
.prop-kpi .is-good, .prop-kpi .is-bad { font-weight: var(--weight-semibold); }

/* Tax */
.prop-tax { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--space-6); }
.prop-tax > * { min-width: 0; }
.prop-tax__side { display: grid; gap: var(--space-4); align-content: start; }
.prop-axis { fill: var(--muted); font-size: 11px; }
.prop-axis--tiny { font-size: 10px; }
.prop-axis.is-strong { fill: var(--ink); font-weight: var(--weight-semibold); }
.prop-axis.is-wave { fill: var(--wave); font-weight: var(--weight-semibold); }
.prop-axis.is-sea { fill: var(--high-sea-ink); font-weight: var(--weight-bold); }
.prop-grid-line { stroke: var(--line); }
.prop-zero { stroke: var(--depth); stroke-width: 1.5; }
.prop-bar--recorded { fill: var(--high-sea-ink); }
.prop-bar--corrected { fill: var(--wave); }
.prop-bar--ghost { fill: none; stroke: var(--wave); stroke-width: 1.5; stroke-dasharray: 5 4; }
.prop-legend { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); margin-top: var(--space-3); font-size: var(--text-xs); color: var(--muted); }
.prop-legend span { display: inline-flex; align-items: center; gap: 6px; }
.prop-key--recorded, .prop-key--fees { background: var(--high-sea-ink); }
.prop-key--corrected, .prop-key--net { background: var(--wave); }
.prop-key--ghost { border: 1.5px dashed var(--wave); }
.prop-key--expected { border: 1.5px dashed var(--shallow); }
.prop-checklist { margin: 0; padding: 0; list-style: none; }
.prop-checklist li { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr) auto; gap: var(--space-2); align-items: start; padding: var(--space-3) 0; border-top: 1px solid var(--line); }
.prop-checklist li:first-child { border-top: 0; }
.prop-checklist b { display: block; font-size: var(--text-sm); color: var(--ink); }
.prop-checklist span:not(.prop-ck):not(.prop-amt) { display: block; font-size: var(--text-xs); color: var(--muted); }
.prop-ck { width: 1.25rem; height: 1.25rem; border-radius: 50%; display: grid; place-items: center; font-size: 0.7rem; font-weight: var(--weight-bold); margin-top: 1px; }
.prop-ck--done { background: var(--success-surface); color: var(--success); }
.prop-ck--partial { background: var(--warning-surface); color: var(--high-sea-ink); }
.prop-ck--missing { background: var(--danger-surface); color: var(--danger); }
.prop-ck--info { background: var(--pastel-blue); color: var(--pastel-blue-ink); }
.prop-amt { font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--ink); white-space: nowrap; }
.prop-amt.is-ghost { color: var(--muted); font-weight: var(--weight-medium); }
.prop-cc-foot { display: flex; justify-content: flex-end; gap: var(--space-2); padding-top: var(--space-2); border-top: 1px solid var(--line); }
.prop-cc-foot .btn { min-height: 2.75rem; }

/* Ledger */
.prop-bar { cursor: pointer; outline: none; }
.prop-bar__sel { fill: var(--wave); fill-opacity: 0.08; opacity: 0; }
.prop-bar.is-on .prop-bar__sel, .prop-bar:focus-visible .prop-bar__sel { opacity: 1; }
.prop-bar__net { fill: var(--wave); }
.prop-bar:hover .prop-bar__net, .prop-bar.is-on .prop-bar__net { fill: var(--navy); }
.prop-bar__fees { fill: var(--high-sea-ink); }
.prop-bar__expected { fill: var(--glass); stroke: var(--shallow); stroke-dasharray: 4 3; }
.prop-fy-line { stroke: var(--depth); stroke-dasharray: 2 3; }
.prop-stmt { display: grid; gap: var(--space-3); align-content: start; }
.prop-stmt__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-2); }
.prop-stmt__no { font-size: var(--text-xl); font-weight: var(--weight-bold); letter-spacing: -0.02em; color: var(--depth); line-height: 1; font-variant-numeric: tabular-nums; }
.prop-stmt dl { margin: 0; }
.prop-stmt dl > div { display: flex; justify-content: space-between; gap: var(--space-3); padding: var(--space-2) 0; border-top: 1px solid var(--line); font-size: var(--text-sm); }
.prop-stmt dt { color: var(--muted); }
.prop-stmt dd { margin: 0; font-weight: var(--weight-semibold); color: var(--ink); }
.prop-stmt__note { margin: 0; padding: var(--space-3); border-radius: var(--radius-sm); background: var(--cotton); font-size: var(--text-xs); color: var(--orca); }
.prop-stmt .btn { justify-self: start; min-height: 2.75rem; }

/* Loan */
.prop-area { fill: var(--wave); fill-opacity: 0.14; }
.prop-line { fill: none; stroke: var(--wave); stroke-width: 2.25; stroke-linejoin: round; }
.prop-line--projected { stroke-dasharray: 5 4; stroke-width: 2; }
.prop-line--future { stroke: var(--shallow); stroke-dasharray: 2 4; stroke-width: 2; }
.prop-line--future.is-extra { stroke: var(--success); }
.prop-dot { fill: var(--wave); stroke: var(--warm-white); stroke-width: 2; }
.prop-dot--today { fill: var(--warm-white); stroke: var(--high-sea-ink); }
.prop-today-line { stroke: var(--high-sea-ink); stroke-dasharray: 2 3; }
.prop-rate { fill: var(--marine); }
.prop-rate__label { fill: var(--marine); font-size: 11px; font-weight: var(--weight-semibold); }
.prop-rate__label.is-light { fill: var(--on-dark); }
.prop-whatif { display: grid; gap: var(--space-5); align-content: start; }
.prop-slider { display: grid; gap: var(--space-2); }
.prop-slider__top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-2); }
.prop-slider label { font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--ink); }
.prop-slider output { font-size: var(--text-md); font-weight: var(--weight-bold); color: var(--depth); }
.prop-slider input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 2.75rem; background: transparent; cursor: pointer; margin: 0; }
.prop-slider input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: var(--radius-full); background: linear-gradient(90deg, var(--wave) var(--prop-fill, 0%), var(--shore) var(--prop-fill, 0%)); }
.prop-slider input[type="range"]::-moz-range-track { height: 8px; border-radius: var(--radius-full); background: linear-gradient(90deg, var(--wave) var(--prop-fill, 0%), var(--shore) var(--prop-fill, 0%)); }
.prop-slider input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -7px; border-radius: 50%; background: var(--warm-white); border: 2px solid var(--wave); box-shadow: var(--elev-2); }
.prop-slider input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--warm-white); border: 2px solid var(--wave); box-shadow: var(--elev-2); }
.prop-slider input[type="range"]:disabled { opacity: 0.4; cursor: not-allowed; }
.prop-slider__scale { display: flex; justify-content: space-between; gap: var(--space-2); font-size: var(--text-2xs); color: var(--muted); }
.prop-result { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.prop-result > div { padding: var(--space-3); border-radius: var(--radius-sm); background: var(--cotton); min-width: 0; }
.prop-result p { margin: 0; font-size: var(--text-xs); color: var(--muted); }
.prop-result strong { display: block; margin-top: 2px; font-size: var(--text-md); color: var(--depth); font-variant-numeric: tabular-nums; }
.prop-result strong.is-good { color: var(--success); }
.prop-result strong.is-bad { color: var(--danger); }
.prop-divider { height: 1px; background: var(--line); }

/* Agenda, people, recent */
.prop-agenda, .prop-recent { margin: var(--space-3) 0 0; padding: 0; list-style: none; }
.prop-agenda li { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: var(--space-3); padding: var(--space-3) 0; border-top: 1px solid var(--line); }
.prop-agenda li:first-child, .prop-recent li:first-child { border-top: 0; }
.prop-agenda__date { text-align: center; padding: var(--space-1) 0; border-radius: var(--radius-xs); background: var(--cotton); }
.prop-agenda__date b { display: block; font-size: var(--text-md); line-height: 1.1; color: var(--depth); }
.prop-agenda__date span { font-size: var(--text-2xs); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--muted); }
.prop-agenda li.is-hot .prop-agenda__date { background: var(--warning-surface); }
.prop-agenda li.is-hot .prop-agenda__date b { color: var(--high-sea-ink); }
.prop-agenda__t { margin: 0; font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--ink); }
.prop-agenda__s { margin: 2px 0 0; font-size: var(--text-xs); color: var(--muted); }
.prop-people { display: grid; gap: var(--space-2); margin-top: var(--space-3); }
.prop-person { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: var(--space-3); align-items: center; padding: var(--space-3); border-radius: var(--radius-sm); background: var(--glass); border: 1px solid var(--line); }
.prop-person b { display: block; font-size: var(--text-sm); color: var(--ink); }
.prop-person div span { display: block; font-size: var(--text-xs); color: var(--muted); }
.prop-avatar { width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; font-size: var(--text-sm); font-weight: var(--weight-bold); }
.prop-avatar--blue { background: var(--pastel-blue); color: var(--pastel-blue-ink); }
.prop-avatar--gold { background: var(--pastel-gold); color: var(--pastel-gold-ink); }
.prop-avatar--peach { background: var(--pastel-peach); color: var(--pastel-peach-ink); }
.prop-recent li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: var(--space-2); align-items: center; padding: var(--space-2) 0; border-top: 1px solid var(--line); }
.prop-recent b { display: block; font-size: var(--text-sm); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prop-recent span { display: block; font-size: var(--text-xs); color: var(--muted); }
.prop-recent__amt { font-size: var(--text-sm) !important; font-weight: var(--weight-semibold); color: var(--ink) !important; white-space: nowrap; }
.prop-recent__empty { display: block !important; font-size: var(--text-sm); color: var(--muted); }
.prop-remove { min-width: 2.75rem; min-height: 2.75rem; border: 0; border-radius: var(--radius-xs); background: transparent; color: var(--shallow); font: inherit; font-size: var(--text-md); cursor: pointer; }
.prop-remove:hover { color: var(--danger); background: var(--danger-surface); }
.prop-remove.is-confirm { font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--danger); background: var(--danger-surface); padding: 0 var(--space-2); }

/* Sheets (R4: docked footer, 44px actions, clear of the home indicator) */
.prop-sheet { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; color: var(--ink); }
.prop-sheet::backdrop { background: rgba(10, 21, 54, 0.35); backdrop-filter: blur(6px); }
.prop-sheet__panel { position: fixed; inset: auto 0 0; margin: 0 auto; width: min(40rem, 100%); max-height: min(90dvh, 52rem); display: flex; flex-direction: column; border-radius: var(--radius-xl) var(--radius-xl) 0 0; background: var(--warm-white); box-shadow: var(--elev-4); }
.prop-sheet__head { padding: var(--space-5) var(--space-5) var(--space-3); border-bottom: 1px solid var(--line); }
.prop-sheet__head h2 { margin: 0; font-size: var(--text-lg); color: var(--depth); }
.prop-sheet__head p { margin: var(--space-1) 0 0; font-size: var(--text-sm); color: var(--muted); }
.prop-sheet__body { flex: 1; overflow-y: auto; padding: var(--space-4) var(--space-5); display: grid; gap: var(--space-4); align-content: start; }
.prop-sheet__foot { display: flex; justify-content: flex-end; gap: var(--space-2); padding: var(--space-3) var(--space-5) calc(var(--space-3) + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--warm-white); }
.prop-sheet__foot .btn { min-height: 2.75rem; min-width: 6rem; }
.prop-sheet__error { margin: 0 var(--space-5); padding: var(--space-2) var(--space-3); border-radius: var(--radius-xs); background: var(--danger-surface); color: var(--danger); font-size: var(--text-sm); }
.prop-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.prop-chip { min-height: 2.75rem; padding: 0 var(--space-3); border: 1px solid var(--line); border-radius: var(--radius-full); background: var(--glass); font: inherit; font-size: var(--text-sm); color: var(--orca); cursor: pointer; }
.prop-chip[aria-pressed="true"] { background: var(--pastel-blue); border-color: transparent; color: var(--pastel-blue-ink); font-weight: var(--weight-semibold); }
.prop-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.prop-field { display: grid; gap: var(--space-1); min-width: 0; }
.prop-field label { font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--muted); }
.prop-field input, .prop-field select { width: 100%; min-width: 0; box-sizing: border-box; min-height: 2.75rem; padding: 0 var(--space-3); border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--glass); font: inherit; color: var(--ink); }
.prop-field--cost { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: var(--space-3); }
.prop-field--cost > label:first-child { grid-column: 1 / -1; }
.prop-check { display: flex; align-items: center; gap: var(--space-2); min-height: 2.75rem; font-size: var(--text-sm); color: var(--ink); cursor: pointer; }
.prop-check input { width: 1.125rem; height: 1.125rem; accent-color: var(--wave); }
.prop-drop { display: flex; align-items: center; gap: var(--space-3); width: 100%; min-height: 3.5rem; padding: var(--space-3) var(--space-4); border: 1px dashed var(--wave); border-radius: var(--radius-md); background: var(--pastel-blue); color: var(--pastel-blue-ink); font: inherit; font-size: var(--text-xs); text-align: left; cursor: pointer; }
.prop-drop svg { flex-shrink: 0; }
.prop-drop--quiet { min-height: 2.75rem; border-color: var(--line); background: transparent; color: var(--orca); }
.prop-drop b { display: block; font-size: var(--text-sm); }
#property-dashboard.is-dropping { outline: 2px dashed var(--wave); outline-offset: var(--space-2); border-radius: var(--radius-md); }
.prop-stmt__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.prop-review__status { display: grid; gap: var(--space-1); margin: 0; font-size: var(--text-sm); color: var(--orca); }
.prop-review__status:empty { display: none; }
.prop-review__status b { color: var(--ink); margin-right: var(--space-1); overflow-wrap: anywhere; }
.prop-review__reading { color: var(--muted); }
.prop-review { display: grid; gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.prop-review__item { display: grid; gap: var(--space-2); padding: var(--space-3) var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--glass); }
.prop-review__item > * { min-width: 0; }
.prop-review__item.is-off .prop-fields { display: none; }
.prop-review__item.is-off { opacity: 0.7; }
.prop-review__keep { flex-wrap: wrap; }
.prop-review__keep b { margin-right: var(--space-1); }
.prop-fieldset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); margin: 0; padding: 0; border: 0; }
.prop-fieldset legend { padding: 0 0 var(--space-2); font-size: var(--text-2xs); font-weight: var(--weight-bold); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--muted); }

@media (max-width: 1100px) {
  .prop-s8, .prop-s4 { grid-column: span 12; }
  .prop-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .prop-tax { grid-template-columns: minmax(0, 1fr); }
  .prop-tm__stats, .prop-tm__moments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .prop-lens__meta { flex-basis: 100%; order: 3; }
  .prop-lens__actions .btn { padding: 0 var(--space-3); }
  .prop-hero { padding: var(--space-5); }
  .prop-hero__line { font-size: 1.625rem; }
  .prop-truth { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
  .prop-truth > div { padding: 0; border-left: 0; }
  .prop-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prop-tm { padding: var(--space-5); }
  .prop-tm__top { grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
  .prop-tm__title { display: none; }
  .prop-tm__dials { grid-template-columns: minmax(0, 1fr); }
  .prop-section-head { flex-direction: column; align-items: flex-start; gap: var(--space-1); }
  .prop-scroll > svg { min-width: 540px; }
  .prop-result, .prop-fields, .prop-fieldset { grid-template-columns: minmax(0, 1fr); }
  .prop-sheet__panel { max-height: 92dvh; }
}
@media (prefers-reduced-motion: reduce) {
  .prop-ring__fill, .prop-ribbon, .prop-node { transition: none; }
}
