.ha-sample-report-page,
.ha-live-report-page {
    margin: 0;
    background: #eef3f8;
    color: #071434;
}

.ha-sample-report-page .site-header,
.ha-live-report-page .site-header {
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 1px 0 rgba(15, 23, 42, .08);
}

.ha-sample-report {
    padding: 30px 0 48px;
}

.ha-sample-page {
    box-sizing: border-box;
    width: min(100% - 36px, 1180px);
    margin: 0 auto;
    border: 1px solid #dbe5f3;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .12);
    padding: 28px;
}

.ha-sample-page *,
.ha-sample-page *::before,
.ha-sample-page *::after {
    box-sizing: border-box;
}

.ha-report-topbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.ha-report-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 800;
    line-height: 1;
    padding: 11px 15px;
    text-decoration: none;
}

.ha-report-btn svg {
    flex: 0 0 auto;
}

.ha-report-btn--primary {
    border: 1px solid #1d4ed8;
    background: #2563eb;
    color: #fff;
    box-shadow: 0 10px 20px rgba(37, 99, 235, .18);
}

.ha-report-btn--checklist {
    border: 1px solid #99d7d0;
    background: #eefdfa;
    color: #0f7378;
}

.ha-report-btn--checklist:hover,
.ha-report-btn--checklist:focus-visible {
    border-color: #5fc8c0;
    background: #dff8f5;
    color: #0b5f66;
}

.ha-report-btn--print-icon {
    width: 42px;
    min-width: 42px;
    padding: 0;
    border: 1px solid #cbd8ea;
    background: #fff;
    color: #17315f;
    box-shadow: none;
}

.ha-report-btn--print-icon:hover,
.ha-report-btn--print-icon:focus-visible {
    border-color: #9fb4d2;
    background: #f8fbff;
    color: #0b1b3f;
}

.ha-report-btn--ghost {
    border: 1px solid #cbd8ea;
    background: #fff;
    color: #17315f;
}

.ha-business-branding {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 18px;
    border: 1px solid #bfd1ec;
    border-radius: 8px;
    background: #f8fbff;
    padding: 14px 16px;
}

.ha-business-branding span {
    display: block;
    color: #64748b;
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .04em;
    line-height: 1.1;
    margin-bottom: 3px;
    text-transform: uppercase;
}

.ha-business-branding strong {
    color: #0f2b63;
    display: block;
    font-size: 1.05rem;
    line-height: 1.2;
}

.ha-business-branding p {
    color: #334155;
    font-size: .9rem;
    font-weight: 750;
    line-height: 1.35;
    margin: 0;
    text-align: right;
}

.ha-business-branding small {
    color: #64748b;
    display: block;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.3;
    margin-top: 4px;
    text-align: right;
}

.ha-report-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr);
    gap: 26px;
    align-items: start;
    margin-bottom: 18px;
}

.ha-report-logo {
    display: block;
    width: 162px;
    height: auto;
    margin-bottom: 22px;
}

.ha-report-header h1 {
    margin: 0;
    color: #071434;
    font-size: clamp(2.05rem, 4vw, 3.25rem);
    line-height: 1;
    white-space: nowrap;
}

.ha-report-header h2 {
    margin: 12px 0 6px;
    color: #0c1f4a;
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.08;
}

.ha-report-header p {
    margin: 0;
    color: #4a5f82;
    font-weight: 750;
}

.ha-report-badge {
    display: inline-flex;
    width: fit-content;
    margin-top: 16px;
    border-radius: 8px;
    background: #eef4ff;
    color: #0b1b3f;
    font-size: .78rem;
    font-weight: 900;
    line-height: 1;
    padding: 9px 12px;
    text-transform: uppercase;
}

.ha-report-header__aside {
    display: grid;
    gap: 6px;
    text-align: right;
}

.ha-report-header__aside p {
    color: #0b1b3f;
    font-size: .92rem;
}

.ha-report-header figure {
    position: relative;
    margin: 8px 0 0;
    overflow: hidden;
    border: 1px solid #d6e0ee;
    border-radius: 8px;
    aspect-ratio: 16 / 6;
    background: #edf4fb;
}

.ha-report-header figure img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.ha-report-header figcaption {
    position: absolute;
    right: 10px;
    bottom: 10px;
    border-radius: 6px;
    background: rgba(7, 20, 52, .78);
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    padding: 6px 8px;
}

.ha-report-summary {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(340px, .96fr);
    gap: 18px;
    margin: 16px 0;
}

.ha-verdict-card,
.ha-facts-card,
.ha-decision-card,
.ha-value-comps,
.ha-panel,
.ha-checklist-section,
.ha-response-summary,
.ha-inspection-section,
.ha-trust-footer,
.ha-metric {
    border: 1px solid #d6e0ee;
    border-radius: 8px;
    background: #fff;
    break-inside: avoid;
}

.ha-inspection-section {
    margin: 18px 0;
    padding: 18px;
    border: 1px solid #d6e0ee;
    border-radius: 8px;
    background: #fff;
    break-inside: avoid;
}

.ha-inspection-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.ha-inspection-card {
    display: grid;
    gap: 9px;
    padding: 14px;
    border: 1px solid #dbe6f4;
    border-radius: 8px;
    background: #f8fbff;
    break-inside: avoid;
}

.ha-inspection-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ha-inspection-priority {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 9px;
    background: #e8f0ff;
    color: #1d4ed8;
    font-size: .72rem;
    font-weight: 800;
}

.ha-inspection-priority--priority {
    background: #fff1e6;
    color: #b45309;
}

.ha-inspection-priority--verify {
    background: #eef6ff;
    color: #1d4ed8;
}

.ha-inspection-priority--routine {
    background: #ecfdf5;
    color: #047857;
}

.ha-inspection-priority--informational {
    background: #f1f5f9;
    color: #475569;
}

.ha-inspection-card em,
.ha-inspection-source span,
.ha-inspection-meta span {
    color: #53698b;
    font-size: .78rem;
    font-style: normal;
    font-weight: 700;
}

.ha-inspection-card h3 {
    margin: 0;
    color: #091735;
    font-size: 1.02rem;
    line-height: 1.22;
}

.ha-inspection-card > strong {
    color: #53698b;
    font-size: .78rem;
    text-transform: uppercase;
}

.ha-inspection-card p,
.ha-inspection-card li,
.ha-inspection-source p {
    margin: 0;
    color: #405678;
    font-size: .88rem;
    line-height: 1.45;
}

.ha-inspection-card h4 {
    margin: 2px 0 0;
    color: #091735;
    font-size: .85rem;
}

.ha-inspection-card ul {
    display: grid;
    gap: 5px;
    margin: 0;
    padding-left: 18px;
}

.ha-inspection-meta,
.ha-inspection-source {
    display: grid;
    gap: 3px;
    padding-top: 8px;
    border-top: 1px solid #dbe6f4;
}

.ha-inspection-meta b {
    color: #091735;
    font-size: .9rem;
}

.ha-verdict-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 138px;
    gap: 20px;
    align-items: center;
    border-color: #b7ead0;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf7 100%);
    padding: 22px;
}

.ha-verdict-card--strong,
.ha-verdict-card--good {
    border-color: #b7ead0;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf7 100%);
}

.ha-verdict-card--warning {
    border-color: #fed7aa;
    background: linear-gradient(135deg, #ffffff 0%, #fff8ed 100%);
}

.ha-verdict-card--risk {
    border-color: #fecaca;
    background: linear-gradient(135deg, #ffffff 0%, #fff4f2 100%);
}

.ha-section-kicker {
    display: block;
    color: #0f5132;
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.ha-verdict-card h2 {
    margin: 10px 0 12px;
    color: #129458;
    font-size: clamp(1.75rem, 4vw, 2.4rem);
    line-height: 1.08;
}

.ha-verdict-card--warning h2 {
    color: #b45309;
}

.ha-verdict-card--risk h2 {
    color: #b43b22;
}

.ha-verdict-card p {
    margin: 0;
    color: #0c1f4a;
    line-height: 1.55;
}

.ha-confidence {
    margin-top: 14px !important;
    color: #3b4f72 !important;
    font-size: .9rem;
}

.ha-score-ring {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 126px;
    height: 126px;
    border-radius: 999px;
    background:
        radial-gradient(circle at center, #fff 64%, transparent 65%),
        conic-gradient(#20a45a 0 76%, #e2e8f0 76% 100%);
    color: #139252;
    gap: 3px;
    text-align: center;
}

.ha-score-ring--strong,
.ha-score-ring--good {
    background:
        radial-gradient(circle at center, #fff 64%, transparent 65%),
        conic-gradient(#20a45a 0 76%, #e2e8f0 76% 100%);
    color: #139252;
}

.ha-score-ring--warning {
    background:
        radial-gradient(circle at center, #fff 64%, transparent 65%),
        conic-gradient(#f59e0b 0 60%, #e2e8f0 60% 100%);
    color: #b45309;
}

.ha-score-ring--risk {
    background:
        radial-gradient(circle at center, #fff 64%, transparent 65%),
        conic-gradient(#ef6a45 0 42%, #e2e8f0 42% 100%);
    color: #b43b22;
}

.ha-score-ring strong {
    font-size: 2rem;
    line-height: .9;
}

.ha-score-ring span,
.ha-score-ring small {
    color: #4a5f82;
    font-weight: 850;
}

.ha-score-ring span {
    font-size: .9rem;
    line-height: 1;
}

.ha-score-ring small {
    max-width: 70px;
    font-size: .62rem;
    line-height: 1.05;
    text-align: center;
}

.ha-score-context {
    display: grid;
    gap: 12px;
    margin: 0 0 18px;
}

.ha-status-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ha-status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    padding: 6px 12px;
    font-size: .82rem;
    font-weight: 700;
}

.ha-status-badge--warning {
    border-color: #fed7aa;
    background: #fff7ed;
    color: #b45309;
}

.ha-status-badge--risk {
    border-color: #fecaca;
    background: #fff4f2;
    color: #b43b22;
}

.ha-score-breakdown {
    display: grid;
    grid-template-columns: minmax(220px, .6fr) minmax(0, 1fr);
    gap: 16px;
    border: 1px solid #d6e0ee;
    border-radius: 8px;
    background: #fff;
    padding: 16px;
}

.ha-score-breakdown h3 {
    margin: 0 0 6px;
    color: #08183a;
    font-size: 1rem;
}

.ha-score-breakdown p {
    margin: 0;
    color: #526891;
    font-size: .9rem;
    line-height: 1.45;
}

.ha-score-breakdown__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.ha-score-breakdown__meta span {
    border-radius: 999px;
    background: #eef4ff;
    padding: 4px 8px;
    color: #526891;
    font-size: .68rem;
    font-weight: 650;
}

.ha-score-breakdown__rows {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.ha-score-breakdown__rows div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    border: 1px solid #e0e7f0;
    border-radius: 8px;
    background: #f8fbff;
    padding: 10px;
}

.ha-score-breakdown__rows div.is-unavailable {
    border-style: dashed;
    background: #fbfdff;
}

.ha-score-breakdown__rows span {
    display: block;
    color: #526891;
    font-size: .76rem;
    font-weight: 600;
}

.ha-score-breakdown__rows em,
.ha-score-breakdown__rows small {
    display: block;
    margin-top: 4px;
    color: #6b7f9f;
    font-size: .68rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.25;
}

.ha-score-breakdown__rows strong {
    display: block;
    color: #08183a;
    font-size: 1rem;
    text-align: right;
    white-space: nowrap;
}

.ha-score-breakdown__rows strong small {
    color: #526891;
    font-size: .64rem;
    font-weight: 600;
    text-transform: capitalize;
}

.ha-value-comps {
    margin: 0 0 18px;
    padding: 18px;
}

.ha-value-comps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.ha-value-comps-grid article {
    min-height: 86px;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    background: #f8fbff;
    padding: 12px;
}

.ha-value-comps-grid span {
    display: block;
    color: #53698b;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.2;
}

.ha-value-comps-grid strong {
    display: block;
    margin-top: 7px;
    color: #08183a;
    font-size: 1.08rem;
    line-height: 1.15;
}

.ha-value-notes {
    display: grid;
    gap: 6px;
    margin: 14px 0 0;
    padding-left: 18px;
    color: #53698b;
    font-size: .88rem;
    line-height: 1.35;
}

.ha-value-comps-note {
    margin: 12px 0 0;
    color: #53698b;
    font-size: .82rem;
    line-height: 1.4;
}

.ha-comps-table-wrap {
    max-width: 100%;
    margin-top: 14px;
    overflow-x: auto;
}

.ha-comps-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
    font-size: .76rem;
}

.ha-comps-table th,
.ha-comps-table td {
    border-top: 1px solid #e4ecf7;
    padding: 8px 7px;
    text-align: left;
    vertical-align: top;
}

.ha-comps-table th {
    color: #53698b;
    font-weight: 700;
}

.ha-comps-table td {
    color: #0b1b3f;
}

.ha-comps-table td strong {
    display: block;
    font-size: .78rem;
    line-height: 1.25;
}

.ha-comps-table td em {
    display: inline-flex;
    margin-top: 4px;
    border-radius: 999px;
    background: #eef6ff;
    color: #2563eb;
    padding: 2px 7px;
    font-size: .68rem;
    font-style: normal;
    font-weight: 700;
}

.ha-facts-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
}

.ha-facts-card div {
    min-height: 94px;
    border-bottom: 1px solid #e3ebf5;
    padding: 18px;
}

.ha-facts-card div:nth-child(odd) {
    border-right: 1px solid #e3ebf5;
}

.ha-facts-card div:nth-last-child(-n+2) {
    border-bottom: 0;
}

.ha-facts-card span,
.ha-metric h3,
.ha-cost-list span,
.ha-mini-cards span,
.ha-income-numbers span,
.ha-risk-card span {
    display: block;
    color: #53698b;
    font-size: .76rem;
    font-weight: 900;
    line-height: 1.25;
}

.ha-facts-card strong {
    display: block;
    margin-top: 6px;
    color: #0b1b3f;
    font-size: 1.18rem;
    line-height: 1.15;
}

.ha-facts-card strong.good {
    color: #129458;
}

.ha-facts-card strong.caution {
    color: #b45309;
}

.ha-key-strip {
    margin: 18px 0;
    border: 1px solid #d6e0ee;
    border-radius: 8px;
    padding: 18px;
}

.ha-key-strip > h2 {
    margin: 0 0 14px;
    color: #0b1b3f;
    font-size: 1rem;
    line-height: 1.2;
    text-transform: uppercase;
}

.ha-key-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.ha-metric {
    min-height: 178px;
    padding: 16px;
    text-align: center;
}

button.ha-metric {
    width: 100%;
    font: inherit;
    cursor: pointer;
}

.ha-metric--editable {
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ha-metric--editable:hover,
.ha-metric--editable:focus-visible {
    border-color: var(--metric-color, #2563eb);
    box-shadow: 0 12px 26px rgba(37, 99, 235, .13);
    outline: none;
    transform: translateY(-1px);
}

.ha-metric-icon {
    display: inline-flex;
    width: 34px;
    height: 34px;
    margin-bottom: 10px;
    border-radius: 999px;
    background: var(--metric-color, #2563eb);
}

.ha-metric--blue { --metric-color: #2563eb; }
.ha-metric--indigo { --metric-color: #4f46e5; }
.ha-metric--green { --metric-color: #22a05d; }
.ha-metric--purple { --metric-color: #8b5cf6; }
.ha-metric--orange { --metric-color: #f59e0b; }
.ha-metric--teal { --metric-color: #14b8a6; }
.ha-metric--violet { --metric-color: #a855f7; }

.ha-metric h3 {
    min-height: 32px;
    margin: 0;
    color: #0b1b3f;
    text-transform: none;
}

.ha-metric strong {
    display: block;
    margin-top: 8px;
    color: #071434;
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    line-height: 1.08;
}

.ha-metric p {
    margin: 8px 0 0;
    color: #53698b;
    font-size: .83rem;
    line-height: 1.38;
}

.ha-decision-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 16px 0;
}

.ha-decision-card {
    padding: 18px;
}

.ha-decision-card--good {
    border-color: #b7ead0;
    background: #f4fff8;
}

.ha-decision-card--caution {
    border-color: #fed7aa;
    background: #fffaf3;
}

.ha-decision-card--verify {
    border-color: #bfdbfe;
    background: #f7fbff;
}

.ha-decision-card h2,
.ha-panel-head h2,
.ha-checklist-section h2 {
    margin: 0;
    color: #0b1b3f;
    font-size: 1.05rem;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
}

.ha-decision-card ul,
.ha-checklist-grid ul {
    display: grid;
    gap: 9px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.ha-decision-card li,
.ha-checklist-grid li {
    position: relative;
    min-height: 22px;
    padding-left: 26px;
    color: #0b1b3f;
    line-height: 1.35;
}

.ha-decision-card li {
    font-weight: 400;
}

.ha-checklist-grid li {
    font-weight: 600;
}

.ha-decision-card li::before,
.ha-checklist-grid li::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 0;
    width: 16px;
    height: 16px;
    border: 1.5px solid #129458;
    border-radius: 999px;
}

.ha-decision-card li::after,
.ha-checklist-grid li::after {
    content: "";
    position: absolute;
    top: 7px;
    left: 5px;
    width: 6px;
    height: 3px;
    border-left: 2px solid #129458;
    border-bottom: 2px solid #129458;
    transform: rotate(-45deg);
}

.ha-decision-card--caution li::before {
    border-color: #f97316;
}

.ha-decision-card--caution li::after {
    content: "!";
    top: 1px;
    left: 5px;
    width: auto;
    height: auto;
    border: 0;
    color: #f97316;
    font-size: .78rem;
    font-weight: 900;
    transform: none;
}

.ha-analysis-grid,
.ha-risk-grid {
    display: grid;
    gap: 14px;
    margin: 16px 0;
}

.ha-analysis-grid {
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
}

.ha-panel {
    padding: 18px;
}

.ha-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.ha-panel-head p,
.ha-panel p,
.ha-note {
    margin: 4px 0 0;
    color: #53698b;
    font-size: .9rem;
    line-height: 1.48;
}

.ha-cost-layout {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
}

.ha-donut {
    display: grid;
    place-items: center;
    width: 190px;
    height: 190px;
    border-radius: 999px;
    background:
        radial-gradient(circle at center, #fff 0 45%, transparent 46%),
        var(--donut-chart, conic-gradient(#0ea5e9 0 8.4%, #2563eb 8.4% 66%, #4f46e5 66% 78.8%, #14b8a6 78.8% 84%, #d9a30d 84% 87.5%, #f97316 87.5% 93.6%, #8b5cf6 93.6% 100%));
}

.ha-donut div {
    display: grid;
    place-items: center;
    width: 108px;
    height: 108px;
    border-radius: 999px;
    background: #fff;
    text-align: center;
}

.ha-donut strong {
    color: #0b1b3f;
    font-size: 1.35rem;
    line-height: 1;
}

.ha-donut span {
    max-width: 82px;
    color: #53698b;
    font-size: .72rem;
    font-weight: 850;
    line-height: 1.15;
}

.ha-cost-list {
    display: grid;
    gap: 9px;
}

.ha-cost-list div {
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr) auto 48px;
    gap: 10px;
    align-items: center;
}

.ha-cost-list i {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--dot-color);
}

.ha-cost-list strong,
.ha-cost-list em {
    color: #0b1b3f;
    font-style: normal;
    font-weight: 850;
}

.ha-cost-list em {
    color: #53698b;
    font-size: .82rem;
    text-align: right;
}

.ha-mini-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.ha-mini-cards article,
.ha-invest-cards article,
.ha-income-numbers div,
.ha-difference {
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    background: #f8fbff;
    padding: 12px;
}

.ha-mini-cards strong,
.ha-invest-cards strong,
.ha-income-numbers strong {
    display: block;
    margin-top: 4px;
    color: #0b4bc2;
    font-size: 1.18rem;
    line-height: 1.1;
}

.ha-invest-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.ha-invest-cards article {
    padding: 10px;
}

.ha-invest-cards span {
    display: block;
    color: #53698b;
    font-size: .72rem;
    font-weight: 900;
    line-height: 1.2;
}

.ha-invest-cards p {
    margin-top: 6px;
    font-size: .72rem;
    line-height: 1.3;
}

.ha-invest-table {
    display: grid;
    margin-top: 12px;
    overflow: hidden;
    border: 1px solid #dbe5f3;
    border-radius: 8px;
}

.ha-invest-table > div {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(96px, .8fr) minmax(112px, .9fr);
    gap: 8px;
    align-items: center;
    border-top: 1px solid #e3ebf5;
    padding: 8px 10px;
}

.ha-invest-table > div:first-child {
    border-top: 0;
}

.ha-invest-table__head {
    background: #eefdfa;
    color: #0f7378;
    font-size: .72rem;
    text-transform: uppercase;
}

.ha-invest-table span {
    color: #53698b;
    font-size: .78rem;
    font-weight: 850;
    line-height: 1.25;
}

.ha-invest-table b {
    color: #0b1b3f;
    font-size: .8rem;
    line-height: 1.25;
}

.ha-invest-panel {
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
}

.ha-invest-context-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.ha-invest-chip,
.ha-invest-path,
.ha-invest-gap {
    border: 1px solid #dbe5f3;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .045);
}

.ha-invest-chip {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 76px;
    padding: 10px;
}

.ha-invest-chip small {
    display: block;
    color: #0b1b3f;
    font-size: .7rem;
    font-weight: 500;
    line-height: 1.2;
}

.ha-invest-chip strong {
    display: block;
    margin-top: 3px;
    color: #0b4bc2;
    font-size: .98rem;
    font-weight: 850;
    line-height: 1.05;
}

.ha-invest-chip em {
    display: block;
    margin-top: 3px;
    color: #53698b;
    font-size: .64rem;
    font-style: normal;
    line-height: 1.15;
}

.ha-invest-icon,
.ha-rent-summary-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 999px;
}

.ha-invest-icon {
    width: 36px;
    height: 36px;
    color: #2563eb;
    background: #eff6ff;
}

.ha-invest-icon svg,
.ha-rent-summary-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ha-invest-chip--green .ha-invest-icon,
.ha-invest-path--buy .ha-invest-icon {
    color: #16a34a;
    background: #dcfce7;
}

.ha-invest-chip--blue .ha-invest-icon,
.ha-invest-path--rent .ha-invest-icon {
    color: #2563eb;
    background: #dbeafe;
}

.ha-invest-chip--violet .ha-invest-icon {
    color: #7c3aed;
    background: #ede9fe;
}

.ha-invest-path-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ha-invest-path {
    padding: 14px;
}

.ha-invest-path--buy {
    background: linear-gradient(180deg, #f7fffb 0%, #fff 100%);
}

.ha-invest-path--rent {
    background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}

.ha-invest-path__head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.ha-invest-path__head h3 {
    margin: 0;
    color: #0b1b3f;
    font-size: .86rem;
    font-weight: 850;
    line-height: 1.15;
}

.ha-invest-path__head strong {
    display: block;
    margin-top: 4px;
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1;
}

.ha-invest-path--buy .ha-invest-path__head strong {
    color: #139447;
}

.ha-invest-path--rent .ha-invest-path__head strong {
    color: #0b4bc2;
}

.ha-invest-path__head p {
    margin-top: 5px;
    font-size: .74rem;
    line-height: 1.25;
}

.ha-invest-subtle {
    margin: 8px 0 0;
    color: #536789;
    font-size: .7rem;
    line-height: 1.35;
}

.ha-invest-subtle b {
    color: #0b1b3f;
    font-weight: 700;
}

.ha-invest-flow {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    border-top: 1px solid #e3ebf5;
    padding-top: 12px;
}

.ha-invest-flow div {
    position: relative;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.ha-invest-flow div:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 18px;
    top: 36px;
    bottom: -10px;
    border-left: 1px dashed #93c5fd;
}

.ha-invest-flow p {
    margin: 0;
    color: #17315f;
    font-size: .74rem;
    line-height: 1.25;
}

.ha-invest-flow b {
    color: #0b1b3f;
    font-weight: 800;
}

.ha-invest-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    border: 1px solid #dbe5f3;
    border-radius: 8px;
    padding: 10px;
    color: #0f5132;
    font-size: .74rem;
    font-weight: 600;
    line-height: 1.3;
}

.ha-invest-note .ha-invest-icon {
    width: 28px;
    height: 28px;
}

.ha-invest-note .ha-invest-icon svg {
    width: 16px;
    height: 16px;
}

.ha-invest-note--green {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.ha-invest-note--blue {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #174ea6;
}

.ha-invest-gap {
    display: grid;
    grid-template-columns: minmax(160px, .65fr) minmax(0, 1.35fr);
    gap: 14px;
    align-items: center;
    margin-top: 14px;
    padding: 14px;
    background: #f8fbff;
}

.ha-invest-gap__value {
    border-right: 1px solid #dbe5f3;
    padding-right: 14px;
}

.ha-invest-gap__value span {
    display: block;
    color: #17315f;
    font-size: .76rem;
    font-weight: 750;
    line-height: 1.25;
}

.ha-invest-gap__value strong {
    display: block;
    margin-top: 6px;
    color: #0b4bc2;
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1;
}

.ha-invest-gap__bars {
    display: grid;
    gap: 8px;
}

.ha-invest-gap__bars div {
    display: grid;
    grid-template-columns: 110px minmax(80px, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.ha-invest-gap__bars span {
    color: #17315f;
    font-size: .72rem;
    font-weight: 750;
    line-height: 1.1;
}

.ha-invest-gap__bars i {
    display: block;
    min-width: 6px;
    height: 8px;
    border-radius: 999px;
}

.ha-invest-gap__bars i.is-buy {
    background: linear-gradient(90deg, #16a34a, #22c55e);
}

.ha-invest-gap__bars i.is-rent {
    background: linear-gradient(90deg, #2563eb, #60a5fa);
}

.ha-invest-gap__bars b {
    color: #0b1b3f;
    font-size: .72rem;
    font-weight: 800;
    white-space: nowrap;
}

.ha-invest-gap p {
    grid-column: 2;
    margin: 0;
    color: #17315f;
    font-size: .74rem;
    line-height: 1.35;
}

.ha-invest-drivers {
    margin-top: 12px;
    border: 1px solid #dbe5f3;
    border-radius: 8px;
    background: #fff;
    padding: 12px 14px;
}

.ha-invest-drivers h3 {
    margin: 0 0 8px;
    color: #0b1b3f;
    font-size: .9rem;
    font-weight: 850;
}

.ha-invest-driver-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.ha-invest-driver-grid div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    padding: 8px 10px;
}

.ha-invest-driver-grid span {
    color: #53698b;
    font-size: .72rem;
    font-weight: 700;
}

.ha-invest-driver-grid strong {
    color: #0b1b3f;
    font-size: .78rem;
    font-weight: 850;
    white-space: nowrap;
}

.ha-invest-driver-grid .is-positive strong {
    color: #15803d;
}

.ha-invest-driver-grid .is-negative strong {
    color: #b45309;
}

.ha-invest-disclaimer {
    position: relative;
    margin: 12px 0 0;
    padding-left: 30px;
    color: #53698b;
    font-size: .7rem;
    line-height: 1.45;
}

.ha-invest-disclaimer::before {
    content: "i";
    position: absolute;
    left: 0;
    top: 1px;
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    font-size: .74rem;
    font-weight: 900;
}

.ha-income-numbers {
    display: grid;
    gap: 10px;
}

.ha-burden-track {
    position: relative;
    height: 18px;
    margin: 16px 0 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8eef7;
}

.ha-burden-fill {
    display: block;
    width: 33%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #22a05d, #2563eb);
}

.ha-burden-warning {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40%;
    width: 2px;
    background: #f97316;
}

.ha-burden-labels {
    display: flex;
    justify-content: space-between;
    color: #53698b;
    font-size: .8rem;
    font-weight: 800;
}

.ha-bar-chart {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: end;
    min-height: 220px;
    border-bottom: 1px solid #cbd8ea;
    padding: 14px 14px 0;
}

.ha-bar-chart div {
    display: grid;
    justify-items: center;
    align-items: end;
    height: 200px;
}

.ha-bar-chart strong {
    color: #0b1b3f;
    font-size: .92rem;
}

.ha-bar {
    display: block;
    width: min(86px, 70%);
    border-radius: 8px 8px 0 0;
}

.ha-bar--rent {
    height: 132px;
    background: linear-gradient(180deg, #60a5fa, #2563eb);
}

.ha-bar--own {
    height: 154px;
    background: linear-gradient(180deg, #5ee08b, #16a34a);
}

.ha-bar-chart small {
    min-height: 34px;
    color: #53698b;
    font-weight: 800;
    text-align: center;
}

.ha-rent-combo-chart {
    --rent-line: 70%;
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: end;
    min-height: 270px;
    border-bottom: 1px solid #cbd8ea;
    padding: 26px 12px 0;
}

.ha-rent-line {
    position: absolute;
    right: 8px;
    left: 8px;
    bottom: var(--rent-line);
    z-index: 2;
    border-top: 2px dashed #0f766e;
    pointer-events: none;
}

.ha-rent-line span {
    position: absolute;
    right: 0;
    top: 8px;
    border: 1px solid #99f6e4;
    border-radius: 8px;
    background: #f0fdfa;
    color: #0f5132;
    font-size: .72rem;
    font-weight: 850;
    line-height: 1;
    padding: 6px 8px;
}

.ha-rent-bar-col {
    display: grid;
    grid-template-rows: auto minmax(90px, 1fr) auto auto;
    justify-items: center;
    align-items: end;
    min-height: 244px;
    gap: 7px;
    text-align: center;
}

.ha-rent-bar-col strong {
    color: #0b1b3f;
    font-size: .88rem;
    line-height: 1.1;
}

.ha-rent-bar {
    display: block;
    width: min(74px, 72%);
    min-height: 18px;
    border-radius: 8px 8px 0 0;
}

.ha-rent-bar--payment {
    background: linear-gradient(180deg, #60a5fa, #2563eb);
}

.ha-rent-bar--true-cost {
    background: linear-gradient(180deg, #5ee08b, #16a34a);
}

.ha-rent-bar--post-mortgage {
    background: linear-gradient(180deg, #fbbf24, #f59e0b);
}

.ha-rent-bar-col small {
    min-height: 36px;
    color: #53698b;
    font-size: .75rem;
    font-weight: 800;
    line-height: 1.18;
}

.ha-rent-bar-col em {
    color: #0f5132;
    font-size: .7rem;
    font-style: normal;
    font-weight: 850;
    line-height: 1.15;
}

.ha-rent-bar-col em.is-above {
    color: #b45309;
}

.ha-difference {
    margin: 16px 0 8px;
    color: #0b1b3f;
    font-weight: 850;
    text-align: center;
}

.ha-difference strong {
    color: #2563eb;
}

.ha-rent-summary-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin-top: 14px;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .045);
    padding: 14px;
}

.ha-rent-summary-icon {
    width: 38px;
    height: 38px;
    color: #fff;
    background: linear-gradient(180deg, #60a5fa, #2563eb);
}

.ha-rent-summary-card strong {
    display: block;
    color: #0b1b3f;
    font-size: .92rem;
    font-weight: 850;
    line-height: 1.2;
}

.ha-rent-summary-card strong b {
    color: #2563eb;
    font-weight: 900;
}

.ha-rent-summary-card p {
    margin-top: 8px;
    font-size: .8rem;
    line-height: 1.45;
}

.ha-unavailable-card {
    border: 1px solid #dbe5f3;
    border-radius: 8px;
    background: #f8fbff;
    padding: 16px;
}

.ha-unavailable-card strong {
    display: block;
    color: #0b1b3f;
    font-size: 1rem;
}

.ha-unavailable-card p {
    margin: 8px 0 0;
}

.ha-unavailable-card .ha-report-btn {
    margin-top: 14px;
}

.ha-equity-panel {
    grid-column: 1 / -1;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
}

.ha-equity-layout {
    display: grid;
    grid-template-columns: minmax(270px, 32%) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.ha-equity-chart {
    border: 1px solid #dbe5f3;
    border-radius: 8px;
    background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
    box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
    padding: 16px;
    min-width: 0;
}

.ha-equity-chart-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.ha-equity-chart-head h3 {
    margin: 0;
    color: #0b1b3f;
    font-size: .95rem;
    font-weight: 850;
    line-height: 1.25;
}

.ha-equity-chart-head p {
    margin: 5px 0 0;
    color: #53698b;
    font-size: .78rem;
    line-height: 1.35;
}

.ha-equity-timeline {
    display: grid;
    justify-items: end;
    gap: 5px;
    flex: 0 0 auto;
}

.ha-equity-timeline label {
    color: #53698b;
    font-size: .66rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.ha-equity-timeline select,
.ha-equity-custom {
    min-height: 34px;
    border: 1px solid #dbe5f3;
    border-radius: 999px;
    background: #fff;
    color: #17315f;
}

.ha-equity-custom input {
    border: 0;
    background: transparent;
    color: #17315f;
    font: inherit;
    font-size: .78rem;
    font-weight: 650;
    padding: 7px 6px;
}

.ha-equity-timeline select:focus,
.ha-equity-custom:focus-within {
    border-color: #8bb7ff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
    outline: none;
}

.ha-equity-custom {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 10px;
}

.ha-equity-custom input {
    width: 44px;
    text-align: center;
}

.ha-equity-custom input:focus {
    outline: none;
}

.ha-equity-custom span {
    color: #53698b;
    font-size: .72rem;
    font-weight: 650;
}

.ha-equity-timeline small {
    min-height: 14px;
    color: #dc2626;
    font-size: .66rem;
    font-weight: 650;
}

.ha-equity-chart svg {
    display: block;
    width: 100%;
    height: 310px;
}

.ha-equity-chart .ha-grid-line {
    stroke: #e7eef8;
    stroke-width: 1;
    stroke-dasharray: 4 4;
}

.ha-equity-chart .ha-axis-line {
    stroke: #cbd8ea;
    stroke-width: 1.4;
}

.ha-equity-chart .ha-axis-label {
    fill: #53698b;
    font-size: 10px;
    font-weight: 500;
    text-anchor: middle;
}

.ha-equity-chart .ha-axis-label--y {
    text-anchor: start;
}

.ha-equity-chart .ha-year-marker {
    opacity: 0;
    stroke: #64748b;
    stroke-dasharray: 4 4;
    stroke-width: 1.5;
}

.ha-equity-chart .ha-chart-hit {
    fill: #fff;
    opacity: .001;
    pointer-events: all;
}

.ha-chart-year-point:hover .ha-year-marker,
.ha-chart-year-point:focus .ha-year-marker {
    opacity: 1;
}

.ha-point-callout {
    opacity: 0;
    pointer-events: none;
    transition: opacity .14s ease;
}

.ha-chart-year-point:hover .ha-point-callout,
.ha-chart-year-point:focus .ha-point-callout {
    opacity: 1;
}

.ha-point-callout rect {
    fill: #fff;
    stroke: #cbd8ea;
    stroke-width: 1;
    filter: drop-shadow(0 8px 18px rgba(15, 23, 42, .16));
}

.ha-point-callout text {
    fill: #0b1b3f;
    font-size: 9px;
    font-weight: 800;
}

.ha-equity-chart polyline {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ha-equity-chart .value {
    stroke: #16a34a;
    fill: #16a34a;
}

.ha-equity-chart .loan {
    stroke: #2563eb;
    fill: #2563eb;
}

.ha-equity-chart .real-value {
    stroke: #14b8a6;
    fill: #14b8a6;
}

.ha-equity-chart .equity {
    stroke: #f59e0b;
    fill: #f59e0b;
}

.ha-chart-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 8px 0 12px;
    color: #53698b;
    font-size: .85rem;
    font-weight: 400;
}

.ha-chart-legend i {
    display: inline-flex;
    width: 22px;
    height: 3px;
    margin-right: 6px;
    vertical-align: middle;
}

.ha-chart-legend .value { background: #16a34a; }
.ha-chart-legend .real-value { background: #14b8a6; }
.ha-chart-legend .loan { background: #2563eb; }
.ha-chart-legend .equity { background: #f59e0b; }

.ha-outlook-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin: 0;
}

.ha-outlook-list div {
    border: 1px solid #dbe5f3;
    border-radius: 8px;
    background: linear-gradient(180deg, #fff 0%, #fcfdff 100%);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
    padding: 12px;
}

.ha-outlook-list dt {
    color: #0b1b3f;
    font-size: .76rem;
    font-weight: 800;
    line-height: 1.25;
}

.ha-outlook-list dd {
    margin: 5px 0 0;
    color: #0b1b3f;
    font-size: 1.1rem;
    font-weight: 900;
}

.ha-outlook-list span {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 6px;
    color: #53698b;
    font-size: .72rem;
    font-weight: 500;
    line-height: 1.25;
}

.ha-outlook-list span b {
    color: #53698b;
    font-weight: 500;
}

.ha-outlook-list span em {
    color: #0b1b3f;
    font-style: normal;
    font-weight: 700;
    text-align: right;
}

.ha-outlook-list span em.is-positive {
    color: #139447;
}

.ha-outlook-list span em.is-negative {
    color: #dc2626;
}

.ha-outlook-list span em.is-neutral {
    color: #53698b;
}

.ha-outlook-card--today { border-left: 4px solid #86efac; }
.ha-outlook-card--nominal { border-left: 4px solid #16a34a; }
.ha-outlook-card--real { border-left: 4px solid #14b8a6; }
.ha-outlook-card--loan { border-left: 4px solid #2563eb; }
.ha-outlook-card--equity { border-left: 4px solid #f59e0b; }

.ha-equity-summary-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid #dbe5f3;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
    overflow: hidden;
}

.ha-equity-summary-strip article {
    min-width: 0;
    border-left: 1px solid #e3ebf5;
    padding: 12px;
}

.ha-equity-summary-strip article:first-child {
    border-left: 0;
}

.ha-equity-summary-strip span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #17315f;
    font-size: .76rem;
    font-weight: 500;
    line-height: 1.2;
}

.ha-equity-summary-strip i {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    flex: 0 0 auto;
}

.ha-equity-summary-strip i.value { background: #16a34a; }
.ha-equity-summary-strip i.real-value { background: #14b8a6; }
.ha-equity-summary-strip i.loan { background: #2563eb; }
.ha-equity-summary-strip i.equity { background: #f59e0b; }

.ha-equity-summary-strip strong {
    display: block;
    margin-top: 8px;
    color: #0b1b3f;
    font-size: 1rem;
    font-weight: 850;
    line-height: 1;
}

.ha-equity-summary-strip small {
    display: block;
    margin-top: 5px;
    color: #53698b;
    font-size: .72rem;
    line-height: 1.2;
}

.ha-card-grid {
    display: grid;
    gap: 10px;
}

.ha-card-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ha-risk-card,
.ha-change-card {
    min-height: 150px;
    border: 1px solid #dbe5f3;
    border-radius: 8px;
    background: #fff;
    padding: 14px;
}

.ha-risk-card--tax { background: #fff8f0; border-color: #fed7aa; }
.ha-risk-card--insurance { background: #f8fbff; border-color: #bfdbfe; }
.ha-risk-card--inspection { background: #fffaf3; border-color: #fde68a; }
.ha-risk-card--hazard { background: #f0fdfa; border-color: #99f6e4; }

.ha-risk-card h3,
.ha-change-card h3,
.ha-checklist-grid h3 {
    margin: 8px 0 8px;
    color: #0b1b3f;
    font-size: .98rem;
    line-height: 1.2;
}

.ha-risk-card p,
.ha-change-card p {
    margin: 0;
    color: #53698b;
    font-size: .88rem;
    line-height: 1.42;
}

.ha-condo-panel {
    margin-top: 12px;
    border: 1px solid #c7d9f2;
    border-radius: 8px;
    background: #f8fbff;
    padding: 14px;
}

.ha-condo-panel h3 {
    margin: 0 0 10px;
    color: #0b1b3f;
    font-size: .98rem;
    line-height: 1.2;
}

.ha-condo-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.ha-condo-stats span {
    border: 1px solid #dbe5f3;
    border-radius: 8px;
    background: #fff;
    padding: 8px;
    color: #53698b;
    font-size: .74rem;
}

.ha-condo-stats b {
    display: block;
    margin-top: 3px;
    color: #0b1b3f;
    font-size: .88rem;
}

.ha-condo-panel ul {
    margin: 0;
    padding-left: 18px;
    color: #53698b;
    font-size: .84rem;
    line-height: 1.45;
}

.ha-checklist-section {
    margin-top: 14px;
    padding: 18px;
}

.ha-response-summary {
    margin-top: 14px;
    padding: 18px;
}

.ha-response-summary .ha-panel-head {
    align-items: center;
}

.ha-response-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ha-response-card {
    border: 1px solid #dbe5f3;
    border-radius: 8px;
    background: #fbfdff;
    padding: 12px;
}

.ha-response-card h3 {
    margin: 0 0 8px;
    color: #0b1b3f;
    font-size: .86rem;
    line-height: 1.2;
    text-transform: uppercase;
}

.ha-response-rows {
    display: grid;
    gap: 7px;
}

.ha-response-row {
    display: grid;
    grid-template-columns: minmax(110px, .85fr) minmax(0, 1.1fr) auto;
    gap: 8px;
    align-items: center;
    min-height: 28px;
    border-top: 1px solid #e8eef7;
    padding-top: 7px;
}

.ha-response-row:first-child {
    border-top: 0;
    padding-top: 0;
}

.ha-response-row span {
    color: #53698b;
    font-size: .78rem;
    line-height: 1.25;
}

.ha-response-row strong {
    color: #0b1b3f;
    font-size: .84rem;
    font-weight: 500;
    line-height: 1.3;
}

.ha-response-row em {
    border-radius: 999px;
    background: #eef4ff;
    color: #53698b;
    font-size: .68rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    padding: 5px 7px;
    white-space: nowrap;
}

.ha-response-edit {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: #fff;
    color: #2563eb;
    cursor: pointer;
    font: inherit;
    text-decoration: none;
}

.ha-response-edit:hover,
.ha-response-edit:focus-visible {
    background: #eff6ff;
    border-color: #2563eb;
    outline: none;
}

.ha-inline-edit-status {
    margin: 0 0 14px;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    background: #f0fdf4;
    color: #0f5132;
    font-size: .9rem;
    font-weight: 700;
    padding: 12px 14px;
}

.ha-inline-edit-status--error {
    border-color: #fecaca;
    background: #fff7f7;
    color: #991b1b;
}

.ha-inline-edit-modal[hidden] {
    display: none !important;
}

.ha-inline-edit-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: 20px;
}

.ha-inline-edit-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(7, 20, 52, .46);
    cursor: pointer;
}

.ha-inline-edit-dialog {
    position: relative;
    z-index: 1;
    width: min(440px, 100%);
    border: 1px solid #d6e0ee;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(7, 20, 52, .22);
    padding: 20px;
}

.ha-inline-edit-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.ha-inline-edit-heading span {
    color: #0b1b3f;
    font-size: 1.05rem;
    font-weight: 900;
}

.ha-inline-edit-heading button {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid #dbe5f3;
    border-radius: 999px;
    background: #fff;
    color: #53698b;
    cursor: pointer;
}

.ha-inline-edit-dialog label {
    display: grid;
    gap: 8px;
}

.ha-inline-edit-dialog label > strong {
    color: #253b60;
    font-size: .85rem;
}

.ha-inline-edit-input-wrap {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    background: #fff;
}

.ha-inline-edit-input-wrap > span {
    display: inline-flex;
    align-items: center;
    background: #f4f8ff;
    color: #53698b;
    font-weight: 800;
    padding: 0 12px;
}

.ha-inline-edit-input {
    min-width: 0;
    width: 100%;
    border: 0;
    background: #fff;
    color: #0b1b3f;
    font: inherit;
    font-weight: 700;
    outline: none;
    padding: 12px;
}

textarea.ha-inline-edit-input {
    min-height: 112px;
    resize: vertical;
}

select.ha-inline-edit-input {
    cursor: pointer;
}

.ha-inline-edit-hint {
    margin: 10px 0 0;
    color: #53698b;
    font-size: .84rem;
    line-height: 1.45;
}

.ha-inline-edit-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

.ha-checklist-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.ha-checklist-grid article {
    border-right: 1px solid #dbe5f3;
    padding-right: 16px;
}

.ha-checklist-grid article:last-child {
    border-right: 0;
    padding-right: 0;
}

.ha-trust-footer {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
    gap: 16px;
    margin-top: 14px;
    padding: 16px;
}

.ha-trust-items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.ha-trust-items article {
    border: 1px solid #edf2f8;
    border-radius: 8px;
    background: #f8fbff;
    padding: 12px;
}

.ha-trust-items strong,
.ha-more-tools strong {
    display: block;
    color: #0b1b3f;
}

.ha-trust-items span {
    display: block;
    margin-top: 4px;
    color: #53698b;
    font-size: .84rem;
    line-height: 1.35;
}

.ha-more-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-content: start;
}

.ha-more-tools strong {
    flex: 0 0 100%;
}

.ha-more-tools a {
    border: 1px solid #dbe5f3;
    border-radius: 8px;
    color: #174ea6;
    font-size: .82rem;
    font-weight: 850;
    padding: 8px 10px;
    text-decoration: none;
}

.ha-trust-footer > p {
    grid-column: 1 / -1;
    margin: 0;
    color: #53698b;
    font-size: .78rem;
    line-height: 1.4;
}

.ha-print-break {
    display: none;
}

.ha-live-feedback {
    width: min(100% - 36px, 1180px);
    margin: 0 auto 42px;
}

/* Navy-and-gold report system shared by the live Home Analysis and its sample. */
.ha-sample-report-page,
.ha-live-report-page {
    background: #e7ebf1;
    color: #0f2438;
}

.ha-sample-page {
    --ha-report-primary: #1a3a5c;
    --ha-report-secondary: #0f2438;
    --ha-report-accent: #c6a15b;
    overflow: hidden;
    border-color: rgba(15, 36, 56, .06);
    border-radius: 24px;
    box-shadow: 0 40px 80px -42px rgba(15, 30, 60, .45);
    padding: 0 28px 36px;
}

.ha-report-brandbar {
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 -28px;
    background: var(--ha-report-secondary);
    padding: 16px 28px;
}

.ha-report-brandbar__identity {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.ha-report-brandbar__identity img {
    display: block;
    width: auto;
    max-width: 184px;
    height: 42px;
    object-fit: contain;
}

.ha-report-brandbar__identity > span {
    display: grid;
    min-width: 0;
    color: #fff;
    line-height: 1.2;
}

.ha-report-brandbar__identity strong,
.ha-report-brandbar__identity small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ha-report-brandbar__identity strong {
    font-size: .96rem;
}

.ha-report-brandbar__identity small {
    margin-top: 3px;
    color: #b7c4d6;
    font-size: .7rem;
}

.ha-report-topbar {
    margin: 0;
}

.ha-report-btn--primary {
    border-color: var(--ha-report-accent);
    background: var(--ha-report-accent);
    color: var(--ha-report-secondary);
    box-shadow: 0 12px 24px rgba(198, 161, 91, .2);
}

.ha-report-btn--checklist,
.ha-report-btn--print-icon,
.ha-report-btn--ghost {
    border-color: rgba(198, 161, 91, .55);
    background: transparent;
    color: #e5cf9c;
}

.ha-report-btn--checklist:hover,
.ha-report-btn--checklist:focus-visible,
.ha-report-btn--print-icon:hover,
.ha-report-btn--print-icon:focus-visible {
    border-color: #d9bd76;
    background: rgba(198, 161, 91, .12);
    color: #fff;
}

.ha-report-header {
    min-height: 244px;
    align-items: center;
    margin: 0 -28px;
    background: radial-gradient(120% 150% at 88% 0%, var(--ha-report-primary), var(--ha-report-secondary) 72%);
    color: #fff;
    padding: 38px 40px;
}

.ha-report-header h2 {
    margin: 16px 0 8px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.35rem, 5vw, 3.6rem);
    font-weight: 500;
    letter-spacing: -.025em;
}

.ha-report-header p,
.ha-report-header__aside p {
    color: #b7c4d6;
}

.ha-report-badge {
    margin-top: 0;
    border: 1px solid rgba(198, 161, 91, .4);
    border-radius: 999px;
    background: rgba(198, 161, 91, .1);
    color: #e5cf9c;
    letter-spacing: .13em;
    padding: 7px 13px;
}

.ha-report-header__aside {
    align-self: center;
    justify-items: end;
}

.ha-report-header__aside > span {
    color: var(--ha-report-accent);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.ha-report-header__aside > strong {
    max-width: 320px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.25rem, 2.5vw, 1.85rem);
    font-weight: 500;
    line-height: 1.16;
}

.ha-report-tabs {
    display: flex;
    gap: 5px;
    margin: 0 -28px 24px;
    overflow-x: auto;
    border-bottom: 1px solid #e6ebf1;
    background: #fff;
    padding: 10px 22px;
    scrollbar-width: thin;
}

.ha-report-tabs button {
    flex: 0 0 auto;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    font: inherit;
    font-size: .78rem;
    font-weight: 800;
    padding: 9px 13px;
    white-space: nowrap;
}

.ha-report-tabs button:hover,
.ha-report-tabs button:focus-visible {
    background: #f7f4ec;
    color: #8a6d33;
    outline: none;
}

.ha-report-tabs button.is-active {
    background: var(--ha-report-secondary);
    color: #e5cf9c;
}

[data-ha-report-panel][hidden],
[data-ha-report-panel-container][hidden] {
    display: none !important;
}

.ha-report-summary {
    grid-template-columns: 1fr;
}

.ha-verdict-card,
.ha-verdict-card--strong,
.ha-verdict-card--good,
.ha-verdict-card--warning,
.ha-verdict-card--risk {
    border-color: rgba(198, 161, 91, .22);
    border-radius: 16px;
    background: radial-gradient(120% 140% at 90% 0%, var(--ha-report-primary), var(--ha-report-secondary));
    color: #fff;
    padding: 26px;
}

.ha-verdict-card h2,
.ha-verdict-card--warning h2,
.ha-verdict-card--risk h2,
.ha-verdict-card p,
.ha-verdict-card .ha-confidence {
    color: #fff !important;
}

.ha-verdict-card p,
.ha-verdict-card .ha-confidence {
    color: #c2cddb !important;
}

.ha-section-kicker {
    color: var(--ha-report-accent);
    letter-spacing: .14em;
}

.ha-score-ring,
.ha-score-ring--strong,
.ha-score-ring--good,
.ha-score-ring--warning,
.ha-score-ring--risk {
    background:
        radial-gradient(circle at center, var(--ha-report-secondary) 62%, transparent 63%),
        conic-gradient(var(--ha-report-accent) 0 76%, rgba(255, 255, 255, .14) 76% 100%);
    color: #fff;
}

.ha-score-ring span,
.ha-score-ring small {
    color: #b7c4d6;
}

.ha-property-snapshot {
    margin: 18px 0;
    border: 1px solid #e3e8ef;
    border-radius: 16px;
    background: #fff;
    padding: 22px;
}

.ha-property-snapshot .ha-panel-head h2 {
    margin-top: 5px;
    color: #0f2438;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    text-transform: none;
}

.ha-property-snapshot__grid {
    display: grid;
    grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr);
    gap: 18px;
}

.ha-property-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.ha-property-gallery figure {
    position: relative;
    min-height: 88px;
    margin: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #f1f5f9;
}

.ha-property-gallery figure.is-primary {
    grid-column: 1 / -1;
    min-height: 248px;
}

.ha-property-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ha-property-gallery figcaption {
    position: absolute;
    right: 9px;
    bottom: 9px;
    left: 9px;
    border-radius: 7px;
    background: rgba(15, 36, 56, .8);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    padding: 6px 8px;
}

.ha-property-gallery .is-placeholder {
    border: 1px dashed #cbd5e1;
}

.ha-facts-card,
.ha-decision-card,
.ha-panel,
.ha-checklist-section,
.ha-response-summary,
.ha-trust-footer,
.ha-metric,
.ha-score-breakdown {
    border-color: #e3e8ef;
    border-radius: 14px;
}

.ha-panel-head h2,
.ha-decision-card h2,
.ha-checklist-section h2 {
    color: #0f2438;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.ha-key-strip {
    border-color: #e3e8ef;
    border-radius: 14px;
}

.ha-key-strip > h2 {
    color: #0f2438;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: none;
}

.ha-metric--blue,
.ha-metric--indigo,
.ha-metric--green,
.ha-metric--purple,
.ha-metric--orange,
.ha-metric--teal,
.ha-metric--violet {
    --metric-color: #c6a15b;
}

.ha-analysis-grid[data-ha-report-panel-container] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ha-analysis-grid[data-ha-report-panel-container] > .ha-equity-panel,
.ha-analysis-grid[data-ha-report-panel-container] > .ha-invest-panel {
    grid-column: 1 / -1;
}

.ha-agent-note {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 15px;
    margin: 18px 0;
    border: 1px dashed #d8c9a3;
    border-radius: 14px;
    background: #fbf8f0;
    padding: 18px 20px;
}

.ha-agent-note > span {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(140deg, #d9bd76, #b4924d);
    color: #0f2438;
    font-weight: 900;
}

.ha-agent-note blockquote {
    margin: 6px 0;
    color: #4a5568;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    font-style: italic;
    line-height: 1.55;
    white-space: pre-line;
}

.ha-agent-note small {
    color: #8a6d33;
    font-size: .72rem;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .ha-key-grid,
    .ha-value-comps-grid,
    .ha-card-grid--four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ha-analysis-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .ha-sample-page {
        width: min(100% - 22px, 1180px);
        padding: 0 16px 24px;
    }

    .ha-report-brandbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        margin: 0 -16px;
        padding: 14px 16px;
    }

    .ha-report-brandbar__identity img {
        max-width: 150px;
        height: 36px;
    }

    .ha-report-header {
        min-height: 210px;
        margin: 0 -16px;
        padding: 28px 22px;
    }

    .ha-report-tabs {
        margin-right: -16px;
        margin-left: -16px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .ha-property-snapshot__grid,
    .ha-analysis-grid[data-ha-report-panel-container] {
        grid-template-columns: 1fr;
    }

    .ha-report-topbar,
    .ha-report-header,
    .ha-business-branding,
    .ha-report-summary,
    .ha-verdict-card,
    .ha-score-breakdown,
    .ha-decision-grid,
    .ha-cost-layout,
    .ha-mini-cards,
    .ha-invest-cards,
    .ha-invest-context-grid,
    .ha-invest-path-grid,
    .ha-invest-gap,
    .ha-checklist-grid,
    .ha-trust-footer,
    .ha-trust-items {
        grid-template-columns: 1fr;
    }

    .ha-business-branding {
        align-items: flex-start;
        flex-direction: column;
    }

    .ha-business-branding p {
        text-align: left;
        overflow-wrap: anywhere;
    }

    .ha-report-topbar {
        flex-direction: column;
        justify-content: stretch;
    }

    .ha-report-btn {
        width: 100%;
    }

    .ha-report-btn--print-icon {
        align-self: flex-end;
        width: 42px;
    }

    .ha-score-breakdown__rows {
        grid-template-columns: 1fr;
    }

    .ha-report-header__aside {
        text-align: left;
    }

    .ha-report-header h1,
    .ha-panel-head h2 {
        white-space: normal;
    }

    .ha-panel-head {
        display: block;
    }

    .ha-key-grid,
    .ha-value-comps-grid,
    .ha-card-grid--four,
    .ha-response-grid {
        grid-template-columns: 1fr;
    }

    .ha-equity-layout {
        grid-template-columns: 1fr;
    }

    .ha-equity-chart-head {
        display: grid;
    }

    .ha-equity-timeline {
        justify-items: start;
    }

    .ha-equity-chart svg {
        height: 260px;
    }

    .ha-equity-summary-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ha-equity-summary-strip article:nth-child(odd) {
        border-left: 0;
    }

    .ha-cost-layout {
        justify-items: center;
    }

    .ha-rent-combo-chart {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .ha-rent-line {
        display: none;
    }

    .ha-rent-bar-col {
        grid-template-columns: minmax(120px, .8fr) minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        align-items: center;
        min-height: 92px;
        text-align: left;
    }

    .ha-rent-bar-col strong,
    .ha-rent-bar-col em,
    .ha-rent-bar-col small {
        justify-self: start;
    }

    .ha-rent-bar-col small {
        min-height: 0;
    }

    .ha-rent-bar {
        grid-column: 2;
        grid-row: 1 / span 3;
        justify-self: stretch;
        width: auto;
        height: 24px !important;
        border-radius: 8px;
    }

    .ha-rent-summary-card {
        grid-template-columns: 36px minmax(0, 1fr);
        padding: 12px;
    }

    .ha-rent-summary-icon {
        width: 34px;
        height: 34px;
    }

    .ha-invest-chip {
        min-height: 66px;
    }

    .ha-invest-gap__value {
        border-right: 0;
        border-bottom: 1px solid #dbe5f3;
        padding-right: 0;
        padding-bottom: 12px;
    }

    .ha-invest-gap p {
        grid-column: auto;
    }

    .ha-invest-gap__bars div {
        grid-template-columns: 96px minmax(70px, 1fr) auto;
    }

    .ha-invest-table > div {
        grid-template-columns: 1fr;
    }

    .ha-checklist-grid article {
        border-right: 0;
        border-bottom: 1px solid #dbe5f3;
        padding: 0 0 14px;
    }

    .ha-checklist-grid article:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }
}

@page {
    size: Letter;
    margin: .45in;
}

@media print {
    html,
    body {
        background: #fff !important;
        color: #071434 !important;
        font-size: 9pt;
    }

    [data-ha-report-panel][hidden] {
        display: block !important;
    }

    [data-ha-report-panel-container][hidden] {
        display: grid !important;
    }

    .site-header,
    .site-footer,
    .navbar,
    .nav-links,
    .topbar-nav,
    .sidebar,
    .sidebar-nav,
    .sticky-header,
    .sticky,
    .launch-promo-banner,
    .hdl-ai-chat,
    .hdl-ai-chat__launcher,
    .hdl-ai-chat__panel,
    .floating-ai-widget,
    .ai-chat-widget,
    .hdl-consent-banner,
    .hdl-consent,
    .consent-banner,
    .cookie-banner,
    .kebab-menu,
    .overflow-menu,
    .dropdown-menu,
    .screen-only,
    .ha-report-topbar,
    .ha-live-feedback,
    .hdl-newsletter,
    [data-newsletter-signup],
    [data-sample-print],
    [data-sample-run-numbers],
    [data-sample-checklist-cta],
    [data-home-report-print],
    [data-home-report-checklist-cta],
    [data-home-report-modify],
    [data-equity-timeline] {
        display: none !important;
    }

    .ha-sample-report {
        padding: 0;
    }

    .ha-sample-page {
        width: 100%;
        margin: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
    }

    .ha-report-header,
    .ha-business-branding,
    .ha-report-summary,
    .ha-key-strip,
    .ha-score-context,
    .ha-value-comps,
    .ha-score-breakdown,
    .ha-decision-grid,
    .ha-panel,
    .ha-metric,
    .ha-facts-card div,
    .ha-risk-card,
    .ha-change-card,
    .ha-outlook-list div,
    .ha-mini-cards article,
    .ha-income-numbers div,
    .ha-rent-summary-card,
    .ha-invest-chip,
    .ha-invest-path,
    .ha-invest-gap,
    .ha-response-summary,
    .ha-response-card,
    .ha-checklist-section,
    .ha-trust-footer {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .ha-print-break {
        display: block;
        break-before: page;
        page-break-before: always;
        height: 0;
    }

    .ha-report-header {
        grid-template-columns: minmax(0, 1fr) 250px;
        gap: 14px;
        margin-bottom: 10px;
    }

    .ha-report-logo {
        width: 126px;
        margin-bottom: 12px;
    }

    .ha-report-header h1 {
        font-size: 30pt;
        line-height: .95;
    }

    .ha-report-header h2 {
        margin-top: 6px;
        font-size: 16pt;
    }

    .ha-report-header p,
    .ha-report-header__aside p {
        font-size: 8.5pt;
    }

    .ha-report-badge {
        margin-top: 8px;
        font-size: 7pt;
        padding: 6px 8px;
    }

    .ha-report-header figure {
        aspect-ratio: 16 / 7;
        margin-top: 6px;
    }

    .ha-report-header figcaption {
        display: none;
    }

    .ha-report-summary {
        grid-template-columns: 1.05fr .95fr;
        gap: 8px;
        margin: 8px 0;
    }

    .ha-verdict-card,
    .ha-facts-card,
    .ha-decision-card,
    .ha-panel,
    .ha-response-summary,
    .ha-checklist-section,
    .ha-trust-footer,
    .ha-metric {
        box-shadow: none;
        border-color: #b7c7dd;
    }

    .ha-verdict-card {
        grid-template-columns: minmax(0, 1fr) 88px;
        gap: 8px;
        padding: 10px;
    }

    .ha-verdict-card h2 {
        margin: 5px 0;
        font-size: 14pt;
    }

    .ha-verdict-card p,
    .ha-confidence,
    .ha-panel p,
    .ha-note {
        font-size: 7.6pt;
        line-height: 1.28;
    }

    .ha-score-ring {
        width: 82px;
        height: 82px;
    }

    .ha-score-ring strong {
        font-size: 18pt;
    }

    .ha-score-ring small {
        font-size: 5.8pt;
    }

    .ha-facts-card div {
        min-height: 49px;
        padding: 7px;
    }

    .ha-facts-card span,
    .ha-metric h3,
    .ha-cost-list span,
    .ha-mini-cards span,
    .ha-income-numbers span,
    .ha-risk-card span {
        font-size: 6.3pt;
    }

    .ha-facts-card strong {
        margin-top: 3px;
        font-size: 8.5pt;
    }

    .ha-key-strip {
        margin: 8px 0;
        padding: 8px;
    }

    .ha-key-strip > h2,
    .ha-decision-card h2,
    .ha-panel-head h2,
    .ha-response-summary h2,
    .ha-checklist-section h2 {
        font-size: 8.6pt;
    }

    .ha-key-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 5px;
    }

    .ha-metric {
        min-height: 86px;
        padding: 6px;
    }

    .ha-metric-icon {
        width: 18px;
        height: 18px;
        margin-bottom: 4px;
    }

    .ha-metric h3 {
        min-height: 20px;
    }

    .ha-metric strong {
        margin-top: 3px;
        font-size: 8.5pt;
    }

    .ha-metric p {
        margin-top: 3px;
        font-size: 6.3pt;
        line-height: 1.18;
    }

    .ha-decision-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        margin: 8px 0;
    }

    .ha-decision-card {
        padding: 8px;
    }

    .ha-decision-card ul,
    .ha-checklist-grid ul {
        gap: 4px;
        margin-top: 6px;
    }

    .ha-decision-card li,
    .ha-checklist-grid li {
        min-height: 14px;
        padding-left: 16px;
        font-size: 7pt;
        line-height: 1.18;
    }

    .ha-decision-card li::before,
    .ha-checklist-grid li::before {
        width: 10px;
        height: 10px;
    }

    .ha-decision-card li::after,
    .ha-checklist-grid li::after {
        top: 5px;
        left: 3px;
        width: 4px;
        height: 2px;
        border-width: 1.5px;
    }

    .ha-checklist-grid li::before {
        top: 1px;
        border-radius: 2px;
        border-color: #129458;
        background: #fff;
    }

    .ha-checklist-grid li::after {
        display: none;
    }

    .ha-analysis-grid {
        grid-template-columns: .9fr 1.1fr;
        gap: 7px;
        margin: 0;
    }

    .ha-panel {
        padding: 8px;
    }

    .ha-panel-head {
        margin-bottom: 6px;
    }

    .ha-cost-layout {
        grid-template-columns: 116px minmax(0, 1fr);
        gap: 8px;
    }

    .ha-donut {
        width: 110px;
        height: 110px;
    }

    .ha-donut div {
        width: 66px;
        height: 66px;
    }

    .ha-donut strong {
        font-size: 9pt;
    }

    .ha-donut span {
        max-width: 50px;
        font-size: 5.8pt;
    }

    .ha-cost-list {
        gap: 4px;
    }

    .ha-cost-list div {
        grid-template-columns: 8px minmax(0, 1fr) auto 28px;
        gap: 5px;
    }

    .ha-cost-list i {
        width: 7px;
        height: 7px;
    }

    .ha-cost-list strong,
    .ha-cost-list em {
        font-size: 6.7pt;
    }

    .ha-mini-cards,
    .ha-income-numbers {
        gap: 5px;
        margin-top: 7px;
    }

    .ha-mini-cards article,
    .ha-invest-cards article,
    .ha-income-numbers div,
    .ha-difference {
        padding: 6px;
    }

    .ha-mini-cards strong,
    .ha-invest-cards strong,
    .ha-income-numbers strong {
        font-size: 8.5pt;
    }

    .ha-invest-cards {
        gap: 5px;
    }

    .ha-invest-cards span,
    .ha-invest-cards p,
    .ha-invest-table span,
    .ha-invest-table b {
        font-size: 6.2pt;
    }

    .ha-invest-table {
        margin-top: 6px;
    }

    .ha-invest-table > div {
        grid-template-columns: minmax(0, 1.2fr) minmax(55px, .8fr) minmax(65px, .9fr);
        gap: 4px;
        padding: 4px 5px;
    }

    .ha-burden-track {
        height: 10px;
        margin: 8px 0 4px;
    }

    .ha-burden-labels {
        font-size: 6.4pt;
    }

    .ha-bar-chart {
        min-height: 125px;
        gap: 10px;
        padding: 6px 6px 0;
    }

    .ha-bar-chart div {
        height: 112px;
    }

    .ha-bar--rent {
        height: 72px;
    }

    .ha-bar--own {
        height: 86px;
    }

    .ha-bar-chart strong,
    .ha-bar-chart small,
    .ha-difference {
        font-size: 7pt;
    }

    .ha-rent-combo-chart {
        min-height: 135px;
        gap: 8px;
        padding: 10px 6px 0;
    }

    .ha-rent-line span {
        font-size: 5.8pt;
        padding: 4px 5px;
    }

    .ha-rent-bar-col {
        min-height: 118px;
        gap: 4px;
    }

    .ha-rent-bar {
        width: min(42px, 68%);
    }

    .ha-rent-bar-col strong,
    .ha-rent-bar-col small,
    .ha-rent-bar-col em {
        font-size: 6.5pt;
    }

    .ha-rent-summary-card {
        grid-template-columns: 24px minmax(0, 1fr);
        gap: 6px;
        margin-top: 6px;
        padding: 6px;
    }

    .ha-rent-summary-icon,
    .ha-invest-icon {
        width: 22px;
        height: 22px;
    }

    .ha-rent-summary-icon svg,
    .ha-invest-icon svg {
        width: 13px;
        height: 13px;
    }

    .ha-rent-summary-card strong,
    .ha-rent-summary-card p,
    .ha-invest-chip small,
    .ha-invest-chip em,
    .ha-invest-path__head p,
    .ha-invest-flow p,
    .ha-invest-note,
    .ha-invest-gap p,
    .ha-invest-disclaimer {
        font-size: 5.8pt;
        line-height: 1.16;
    }

    .ha-rent-summary-card p {
        margin-top: 3px;
    }

    .ha-invest-context-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 5px;
        margin-bottom: 6px;
    }

    .ha-invest-chip {
        grid-template-columns: 22px minmax(0, 1fr);
        gap: 5px;
        min-height: 44px;
        padding: 5px;
    }

    .ha-invest-chip strong {
        font-size: 7.2pt;
    }

    .ha-invest-path-grid {
        gap: 6px;
    }

    .ha-invest-path {
        padding: 6px;
    }

    .ha-invest-path__head {
        gap: 6px;
    }

    .ha-invest-path__head h3 {
        font-size: 6.7pt;
    }

    .ha-invest-path__head strong {
        margin-top: 2px;
        font-size: 10pt;
    }

    .ha-invest-flow {
        gap: 4px;
        margin-top: 6px;
        padding-top: 5px;
    }

    .ha-invest-flow div {
        grid-template-columns: 22px minmax(0, 1fr);
        gap: 5px;
    }

    .ha-invest-flow div:not(:last-child)::after {
        left: 11px;
        top: 22px;
        bottom: -4px;
    }

    .ha-invest-note {
        gap: 5px;
        margin-top: 6px;
        padding: 5px;
    }

    .ha-invest-note .ha-invest-icon {
        width: 18px;
        height: 18px;
    }

    .ha-invest-note .ha-invest-icon svg {
        width: 11px;
        height: 11px;
    }

    .ha-invest-gap {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 7px;
        margin-top: 6px;
        padding: 6px;
    }

    .ha-invest-gap__value {
        padding-right: 7px;
    }

    .ha-invest-gap__value span,
    .ha-invest-gap__bars span,
    .ha-invest-gap__bars b {
        font-size: 5.7pt;
    }

    .ha-invest-gap__value strong {
        margin-top: 3px;
        font-size: 11pt;
    }

    .ha-invest-gap__bars {
        gap: 4px;
    }

    .ha-invest-gap__bars div {
        grid-template-columns: 64px minmax(40px, 1fr) auto;
        gap: 4px;
    }

    .ha-invest-gap__bars i {
        height: 5px;
    }

    .ha-invest-disclaimer {
        margin-top: 5px;
        padding-left: 18px;
    }

    .ha-invest-disclaimer::before {
        width: 13px;
        height: 13px;
        font-size: 5.8pt;
    }

    .ha-equity-panel {
        grid-column: 1 / -1;
    }

    .ha-equity-layout {
        grid-template-columns: 210px minmax(0, 1fr);
        gap: 6px;
    }

    .ha-equity-chart {
        padding: 6px;
    }

    .ha-equity-chart-head {
        margin-bottom: 4px;
    }

    .ha-equity-chart-head h3 {
        font-size: 7.6pt;
    }

    .ha-equity-chart-head p {
        font-size: 6pt;
    }

    .ha-equity-chart svg {
        height: 105px;
    }

    .ha-chart-legend {
        gap: 8px;
        font-size: 6.5pt;
    }

    .ha-equity-summary-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        margin-top: 4px;
    }

    .ha-equity-summary-strip article {
        padding: 5px;
    }

    .ha-equity-summary-strip span,
    .ha-equity-summary-strip small {
        font-size: 5.6pt;
    }

    .ha-equity-summary-strip strong {
        margin-top: 3px;
        font-size: 6.8pt;
    }

    .ha-outlook-list {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .ha-outlook-list div {
        padding: 5px;
    }

    .ha-outlook-list dt {
        font-size: 5.8pt;
    }

    .ha-outlook-list dd {
        font-size: 7.4pt;
    }

    .ha-outlook-list span {
        font-size: 5.6pt;
        gap: 4px;
        margin-top: 3px;
    }

    .ha-risk-grid {
        gap: 7px;
        margin: 0;
    }

    .ha-card-grid--four {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 5px;
    }

    .ha-risk-card,
    .ha-change-card {
        min-height: 84px;
        padding: 6px;
    }

    .ha-risk-card h3,
    .ha-change-card h3,
    .ha-checklist-grid h3 {
        margin: 3px 0;
        font-size: 7.6pt;
    }

    .ha-risk-card p,
    .ha-change-card p {
        font-size: 6.6pt;
        line-height: 1.18;
    }

    .ha-response-summary {
        margin-top: 7px;
        padding: 8px;
    }

    .ha-response-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .ha-response-card {
        padding: 6px;
    }

    .ha-response-card h3 {
        margin-bottom: 4px;
        font-size: 6.8pt;
    }

    .ha-response-rows {
        gap: 4px;
    }

    .ha-response-row {
        grid-template-columns: minmax(72px, .85fr) minmax(0, 1fr) auto;
        gap: 4px;
        min-height: 18px;
        padding-top: 4px;
    }

    .ha-response-row span,
    .ha-response-row strong,
    .ha-response-row em {
        font-size: 5.8pt;
        line-height: 1.12;
    }

    .ha-response-row em {
        padding: 3px 4px;
    }

    .ha-checklist-section {
        margin-top: 7px;
        padding: 8px;
    }

    .ha-checklist-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .ha-checklist-grid article {
        padding-right: 8px;
    }

    .ha-trust-footer {
        grid-template-columns: 1fr;
        gap: 6px;
        margin-top: 7px;
        padding: 8px;
    }

    .ha-trust-items {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 5px;
    }

    .ha-trust-items article {
        padding: 6px;
    }

    .ha-trust-items strong,
    .ha-more-tools strong,
    .ha-more-tools a,
    .ha-trust-items span,
    .ha-trust-footer > p {
        font-size: 6.5pt;
        line-height: 1.18;
    }

    .ha-more-tools {
        display: none;
    }

    .ha-sample-page * {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
}
