/* Fang.ie V1.97.5 — compact report layout, single-line CTAs, entity-link affordance. */
.page-hero-actions{flex:0 0 auto;flex-wrap:nowrap}
.page-hero-actions .ghost-btn,.page-hero-actions .primary-btn{white-space:nowrap;width:max-content;max-width:100%}
.decision-kpis.metric-row-five{grid-template-columns:repeat(5,minmax(0,1fr))}
.market-dual-pillar strong{font-size:clamp(.98rem,1.08vw,1.14rem);letter-spacing:-.035em;white-space:nowrap;overflow:visible;text-overflow:clip;display:flex;align-items:baseline;gap:.13em}.market-dual-pillar .market-price-value,.market-dual-pillar .market-rent-value{white-space:nowrap;min-width:0}.market-rent-sep{flex:0 0 auto;color:var(--muted);font-weight:700;margin:0}.market-dual-pillar .market-rent-value{font-size:.94em}
.market-rent-sep{color:var(--muted);font-weight:700;margin:0 .08em}
.entity-card-link{color:inherit;text-decoration:none;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.entity-card-link:hover{color:inherit;text-decoration:none;transform:translateY(-2px);border-color:#a9c7e8;box-shadow:0 9px 24px rgba(20,57,95,.08)}
.safety-score-compact{align-items:center}
.safety-card-title{margin:0;font-size:1rem;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.safety-score-compact>span{flex:0 0 auto}
@media(min-width:1100px){.safety-context-note{white-space:nowrap!important;max-width:none!important;font-size:.78rem!important}.decision-kpis.metric-row-five{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media(max-width:760px){.decision-kpis.metric-row-five{display:flex!important;grid-template-columns:none!important;overflow-x:auto;flex-wrap:nowrap;gap:10px;padding-bottom:6px;scroll-snap-type:x proximity}.decision-kpis.metric-row-five>.decision-kpi{flex:0 0 min(78vw,270px);scroll-snap-align:start}.page-hero-actions{overflow-x:auto;max-width:100%;padding-bottom:2px}.page-hero-actions .ghost-btn,.page-hero-actions .primary-btn{flex:0 0 auto}.safety-card-title{white-space:normal}}

/* V1.97.5 Hotfix 1 — keep every report track inside the shared 1180px page container. */
body[data-page="check"] #checkApp,body[data-page="check"] .decision-report{width:100%;max-width:100%;min-width:0}
body[data-page="check"] .decision-report{grid-template-columns:minmax(0,1fr)}
body[data-page="check"] .decision-report>*{width:auto;max-width:100%;min-width:0}
body[data-page="check"] .decision-report .card,body[data-page="check"] .decision-summary-grid,body[data-page="check"] .decision-tabs,body[data-page="check"] .decision-panel,body[data-page="check"] .decision-report-head,body[data-page="check"] .report-evidence-strip{min-width:0;max-width:100%;box-sizing:border-box}

/* V1.97.5 Hotfix 1 final containment: Overview + Healthcare must never widen the report. */
@media(min-width:768px){
  body[data-page="check"] .decision-kpis.metric-row-five{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;overflow:visible!important;width:100%;max-width:100%;min-width:0}
  body[data-page="check"] .decision-kpis.metric-row-five>.decision-kpi{min-width:0;max-width:100%;width:auto;overflow-wrap:anywhere}
}
body[data-page="check"] #decisionPanel,
body[data-page="check"] #decisionPanel>*{min-width:0;max-width:100%;box-sizing:border-box}
body[data-page="check"] .healthcare-grid,
body[data-page="check"] .healthcare-item,
body[data-page="check"] .healthcare-item>div{min-width:0;max-width:100%}
body[data-page="check"] .healthcare-item small{white-space:normal;overflow-wrap:anywhere;word-break:normal}

/* Safety category tables stay fully visible inside each card; no horizontal swipe bar. */
body[data-page="check"] .safety-card{min-width:0;overflow:hidden}
body[data-page="check"] .safety-card .layer-table-wrap{width:100%;max-width:100%;min-width:0;overflow:visible}
body[data-page="check"] .safety-card .data-table{width:100%;max-width:100%;table-layout:fixed}
body[data-page="check"] .safety-card .data-table th,
body[data-page="check"] .safety-card .data-table td{min-width:0;padding-left:6px;padding-right:6px;white-space:normal;overflow-wrap:anywhere;word-break:normal}
body[data-page="check"] .safety-card .data-table th:first-child,
body[data-page="check"] .safety-card .data-table td:first-child{width:52%}
body[data-page="check"] .safety-card .data-table th:not(:first-child),
body[data-page="check"] .safety-card .data-table td:not(:first-child){width:16%;text-align:right;font-variant-numeric:tabular-nums}
@media(max-width:767px){
  body[data-page="check"] .safety-card .data-table th:first-child,
  body[data-page="check"] .safety-card .data-table td:first-child{width:46%}
  body[data-page="check"] .safety-card .data-table th:not(:first-child),
  body[data-page="check"] .safety-card .data-table td:not(:first-child){width:18%}
}
/* V1.97.5 Hotfix 1: safety tables must never inherit the global 720px table minimum. */
body[data-page="check"] .safety-card .data-table{min-width:0!important}

/* V1.98 final refinement: the market headline must show both values in full. */
@media(max-width:1099px) and (min-width:768px){body[data-page="check"] .market-dual-pillar strong{font-size:.94rem;letter-spacing:-.045em;gap:.08em}}
@media(max-width:767px){body[data-page="check"] .market-dual-pillar strong{white-space:normal;display:flex;flex-wrap:wrap;row-gap:1px;overflow:visible;text-overflow:clip;font-size:1.12rem}body[data-page="check"] .market-dual-pillar .market-rent-sep{display:none}body[data-page="check"] .market-dual-pillar .market-rent-value{flex-basis:100%;font-size:.9em}}

/* V1.99.4 Round5 — Property Profile 2.0 */
body[data-page="check"] .property-profile-v2-summary .mini-list,
body[data-page="check"] #decision-overview .mini-list{display:grid;gap:8px}
body[data-page="check"] .property-profile-v2-summary .mini-list>div,
body[data-page="check"] #decision-overview .mini-list>div{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:8px 0;border-top:1px solid var(--line,#e6e8ec)}
body[data-page="check"] .property-profile-v2-summary .mini-list>div:first-child,
body[data-page="check"] #decision-overview .mini-list>div:first-child{border-top:0;padding-top:0}
body[data-page="check"] .property-profile-v2-summary .mini-list b,
body[data-page="check"] #decision-overview .mini-list b{font-size:.78rem;color:var(--text,#172033)}
body[data-page="check"] .property-profile-v2-summary .mini-list span,
body[data-page="check"] #decision-overview .mini-list span{font-size:.78rem;color:var(--muted,#667085);text-align:right;overflow-wrap:anywhere}
@media(max-width:760px){body[data-page="check"] .property-profile-v2-summary .two-col{grid-template-columns:1fr!important}}
