/* Premium analysis report system. New report pages should use hdl-report-* classes.
   Existing result pages are not affected until they opt in to this stylesheet. */

:root {
    --hdl-report-bg: #e7ebf1;
    --hdl-report-surface: #ffffff;
    --hdl-report-soft: #f7f9fc;
    --hdl-report-border: #e3e8ef;
    --hdl-report-border-strong: #cbd5e1;
    --hdl-report-ink: #0f2438;
    --hdl-report-muted: #64748b;
    --hdl-report-navy: #0f2438;
    --hdl-report-navy-light: #1a3a5c;
    --hdl-report-gold: #c6a15b;
    --hdl-report-gold-dark: #8a6d33;
    --hdl-report-gold-soft: #fbf8f0;
    --hdl-report-blue: #b4924d;
    --hdl-report-blue-soft: #fbf8f0;
    --hdl-report-green: #11965a;
    --hdl-report-green-soft: #ecfdf5;
    --hdl-report-amber: #f59e0b;
    --hdl-report-amber-soft: #fff7ed;
    --hdl-report-red: #dc2626;
    --hdl-report-red-soft: #fef2f2;
    --hdl-report-shadow: 0 18px 46px -30px rgba(15, 36, 56, .4);
}

.hdl-report-page {
    min-height: calc(100vh - 80px);
    background: var(--hdl-report-bg);
    color: var(--hdl-report-ink);
    font-family: "DM Sans", system-ui, sans-serif;
    padding: 34px 0 96px;
}

.hdl-report-shell {
    width: min(100% - 40px, 1200px);
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(15, 36, 56, .06);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 40px 80px -42px rgba(15, 30, 60, .45);
    padding: 0 32px 40px;
}

.hdl-report-backbar {
    display: flex;
    margin: 0 0 14px;
}

.hdl-report-backbar a {
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--hdl-report-border-strong);
    border-radius: 9px;
    color: var(--hdl-report-ink);
    display: inline-flex;
    font-size: .88rem;
    font-weight: 800;
    gap: 7px;
    padding: 9px 13px;
}

.hdl-report-backbar a:hover {
    border-color: #c6a15b;
    color: #7a5a1f;
}

.hdl-report-business-banner {
    align-items: center;
    background: #f8fbff;
    border: 1px solid var(--hdl-report-border-strong);
    border-radius: 8px;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin: 0 0 18px;
    padding: 14px 16px;
    /* Brand color adoption: transparent fallback keeps the unbranded look identical. */
    box-shadow: inset 0 3px 0 var(--hdl-brand-primary, transparent);
}

.hdl-report-business-banner span {
    color: var(--hdl-report-muted);
    display: block;
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .04em;
    line-height: 1.1;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.hdl-report-business-banner strong {
    color: var(--hdl-brand-primary, var(--hdl-report-ink));
    display: block;
    font-size: 1.05rem;
    line-height: 1.2;
}

.hdl-report-business-banner p,
.hdl-report-business-banner small {
    color: #334155;
    font-size: .9rem;
    font-weight: 750;
    line-height: 1.35;
    margin: 4px 0 0;
}

.hdl-report-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.hdl-report-header h1 {
    margin: 0;
    color: var(--hdl-report-ink);
    font-size: clamp(1.85rem, 3.5vw, 2.65rem);
    line-height: 1.05;
    letter-spacing: 0;
}

.hdl-report-header p,
.hdl-report-section__head p,
.hdl-report-card p {
    color: var(--hdl-report-muted);
    line-height: 1.55;
}

.hdl-report-header p {
    max-width: 680px;
    margin: 10px 0 0;
}

.hdl-report-eyebrow,
.hdl-report-metric__label,
.hdl-report-card dt {
    color: var(--hdl-report-muted);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.25;
    text-transform: uppercase;
}

.hdl-report-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--hdl-report-green-soft);
    color: var(--hdl-report-green);
    font-weight: 800;
    font-size: .86rem;
    white-space: nowrap;
}

.hdl-report-status span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
}

.hdl-report-card {
    min-width: 0;
    border: 1px solid var(--hdl-report-border);
    border-radius: 18px;
    background: linear-gradient(180deg, #fff 0%, var(--hdl-report-soft) 100%);
    box-shadow: var(--hdl-report-shadow);
    padding: clamp(18px, 2.5vw, 26px);
}

.hdl-report-top-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
    gap: 18px;
    align-items: stretch;
    margin-bottom: 20px;
}

.hdl-report-context {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 18px;
    align-items: flex-start;
}

.hdl-report-context__media {
    position: relative;
    width: 132px;
    aspect-ratio: 1;
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid var(--hdl-report-border-strong);
    background: linear-gradient(135deg, #dbeafe, #f8fafc);
}

.hdl-report-context__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hdl-report-context__image-notice {
    position: absolute;
    right: 7px;
    bottom: 7px;
    left: 7px;
    padding: 5px 6px;
    border-radius: 7px;
    background: rgba(7, 20, 52, .78);
    color: #fff;
    font-size: .56rem;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
    text-wrap: balance;
}

.hdl-report-context__body h2,
.hdl-report-verdict h2,
.hdl-report-section__head h2,
.hdl-report-action-step h3,
.hdl-report-scenario-card h3 {
    margin: 0;
    color: var(--hdl-report-ink);
    line-height: 1.2;
    letter-spacing: 0;
}

.hdl-report-context__body h2 {
    font-size: 1.2rem;
}

.hdl-report-context__body p {
    margin: 7px 0 0;
}

.hdl-report-context__facts {
    display: grid;
    gap: 8px;
    margin: 14px 0 0;
}

.hdl-report-context__facts div {
    display: grid;
    grid-template-columns: minmax(120px, .55fr) minmax(0, 1fr);
    gap: 12px;
}

.hdl-report-card dd,
.hdl-report-card dl {
    margin: 0;
}

.hdl-report-context__facts dd {
    color: var(--hdl-report-ink);
    font-weight: 800;
}

.hdl-report-context__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    color: var(--hdl-report-muted);
    font-size: .84rem;
}

.hdl-report-context__meta span + span::before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 3px;
    margin: 0 8px 2px 0;
    border-radius: 999px;
    background: #94a3b8;
}

.hdl-report-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    border: 0;
    background: transparent;
    color: var(--hdl-report-blue);
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.hdl-report-verdict {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(220px, .9fr);
    gap: 22px;
    align-items: center;
    box-shadow: none;
}

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

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

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

.hdl-report-verdict__summary {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    align-items: flex-start;
}

.hdl-report-verdict__title-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hdl-report-verdict h2 {
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.hdl-report-verdict p {
    margin: 10px 0 14px;
    max-width: 500px;
}

.hdl-report-confidence {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 11px;
    border: 1px solid var(--hdl-report-border);
    border-radius: 999px;
    background: #fff;
    color: #334155;
    font-size: .84rem;
    font-weight: 800;
}

.hdl-report-verdict__reasons {
    border-left: 1px solid var(--hdl-report-border-strong);
    padding-left: 22px;
}

.hdl-report-verdict__reasons ul,
.hdl-report-reason ul {
    display: grid;
    gap: 12px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.hdl-report-badge-icon {
    position: relative;
    display: inline-flex;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #fff;
    background: var(--hdl-report-blue);
}

.hdl-report-badge-icon::before {
    content: "";
    width: 14px;
    height: 8px;
    border-left: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
    transform: rotate(-45deg) translate(1px, -1px);
}

.hdl-report-badge-icon--good { background: var(--hdl-report-green); }
.hdl-report-badge-icon--warning { background: var(--hdl-report-amber); }
.hdl-report-badge-icon--risk { background: var(--hdl-report-red); }
.hdl-report-badge-icon--info,
.hdl-report-badge-icon--neutral { background: var(--hdl-report-blue); }

.hdl-report-badge-icon--warning::before,
.hdl-report-badge-icon--risk::before,
.hdl-report-badge-icon--info::before,
.hdl-report-badge-icon--neutral::before {
    content: "!";
    width: auto;
    height: auto;
    border: 0;
    transform: none;
    font-weight: 900;
}

.hdl-report-score-ring {
    display: inline-grid;
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    place-items: center;
    border: 5px solid currentColor;
    border-radius: 999px;
    color: var(--hdl-report-blue);
    background: #fff;
    line-height: 1;
}

.hdl-report-score-ring strong {
    font-size: 1.35rem;
}

.hdl-report-score-ring small {
    margin-top: -13px;
    color: var(--hdl-report-muted);
    font-size: .66rem;
    font-weight: 800;
}

.hdl-report-score-ring--good { color: var(--hdl-report-green); }
.hdl-report-score-ring--warning { color: var(--hdl-report-amber); }
.hdl-report-score-ring--risk { color: var(--hdl-report-red); }

.hdl-report-check {
    position: relative;
    min-height: 24px;
    padding-left: 30px;
    color: var(--hdl-report-ink);
    font-size: .92rem;
    line-height: 1.45;
}

.hdl-report-check::before {
    content: "";
    position: absolute;
    top: 1px;
    left: 0;
    width: 18px;
    height: 18px;
    border: 1.5px solid currentColor;
    border-radius: 999px;
}

.hdl-report-check::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 5px;
    width: 7px;
    height: 4px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
}

.hdl-report-check--good { color: var(--hdl-report-green); }
.hdl-report-check--warning { color: #d97706; }
.hdl-report-check--risk { color: var(--hdl-report-red); }
.hdl-report-check--info,
.hdl-report-check--neutral { color: var(--hdl-report-blue); }

.hdl-report-check--warning::after,
.hdl-report-check--risk::after {
    content: "!";
    top: 1px;
    left: 6px;
    width: auto;
    height: auto;
    border: 0;
    transform: none;
    font-size: .78rem;
    font-weight: 900;
}

.hdl-report-metric-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin: 20px 0 28px;
}

.hdl-report-metric {
    min-width: 0;
    border: 1px solid var(--hdl-report-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .045);
    padding: 16px 15px;
}

.hdl-report-metric__label {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    min-height: 28px;
}

.hdl-report-metric__label span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hdl-report-metric strong {
    display: block;
    margin-top: 8px;
    color: var(--hdl-report-ink);
    font-size: clamp(1.12rem, 1.55vw, 1.42rem);
    font-weight: 900;
    line-height: 1.05;
    overflow-wrap: normal;
    word-break: normal;
}

.hdl-report-metric--compact strong,
.hdl-report-metric--long strong {
    font-size: clamp(1.02rem, 1.25vw, 1.24rem);
}

.hdl-report-metric--nowrap-value strong {
    white-space: nowrap;
}

.hdl-report-metric small {
    display: block;
    margin-top: 6px;
    color: var(--hdl-report-muted);
    font-size: .8rem;
    line-height: 1.25;
}

.hdl-report-metric--good strong { color: var(--hdl-report-green); }
.hdl-report-metric--warning strong { color: #d97706; }
.hdl-report-metric--risk strong { color: var(--hdl-report-red); }
.hdl-report-metric--info strong,
.hdl-report-metric--neutral strong { color: var(--hdl-report-blue); }

.hdl-report-tip {
    display: inline-flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    border: 1px solid #9fb1cb;
    border-radius: 999px;
    background: #fff;
    color: #64748b;
    font-size: .68rem;
    font-weight: 900;
}

.hdl-report-section {
    margin: 28px 0;
}

.hdl-report-section__head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.hdl-report-section__head h2 {
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
}

.hdl-report-section__head p {
    margin: 5px 0 0;
}

.hdl-report-reason-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.hdl-report-reason {
    box-shadow: none;
}

.hdl-report-reason--good {
    border-color: #b7ead0;
    background: linear-gradient(135deg, #fff 0%, #f0fdf7 100%);
}

.hdl-report-reason--warning {
    border-color: #fed7aa;
    background: linear-gradient(135deg, #fff 0%, #fff8eb 100%);
}

.hdl-report-reason--risk {
    border-color: #fecaca;
    background: linear-gradient(135deg, #fff 0%, #fff5f5 100%);
}

.hdl-report-reason--info,
.hdl-report-reason--neutral {
    border-color: #bfdbfe;
    background: linear-gradient(135deg, #fff 0%, #f5f9ff 100%);
}

.hdl-report-reason__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.hdl-report-reason__head .hdl-report-badge-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
}

.hdl-report-comparison__grid {
    display: grid;
    grid-template-columns: minmax(220px, .8fr) minmax(300px, 1fr) minmax(220px, .8fr);
    gap: 18px;
    align-items: stretch;
}

.hdl-report-scenario-card {
    display: flex;
    flex-direction: column;
    box-shadow: none;
}

.hdl-report-scenario-card--good { border-color: #b7ead0; }
.hdl-report-scenario-card--warning { border-color: #fed7aa; }
.hdl-report-scenario-card--risk { border-color: #fecaca; }
.hdl-report-scenario-card--info,
.hdl-report-scenario-card--neutral { border-color: #bfdbfe; }

.hdl-report-scenario-card h3 {
    font-size: 1.25rem;
}

.hdl-report-scenario-card p {
    margin: 5px 0 18px;
}

.hdl-report-scenario-card dl {
    display: grid;
    gap: 13px;
    margin-top: 8px;
}

.hdl-report-scenario-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.hdl-report-scenario-card dd {
    color: var(--hdl-report-ink);
    font-weight: 850;
    text-align: right;
    white-space: nowrap;
}

.hdl-report-scenario-card__total {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--hdl-report-border-strong);
}

.hdl-report-scenario-card__total span {
    color: var(--hdl-report-ink);
    font-weight: 800;
}

.hdl-report-scenario-card__total strong {
    color: var(--hdl-report-blue);
    font-size: clamp(1.2rem, 1.8vw, 1.42rem);
    line-height: 1;
    white-space: nowrap;
}

.hdl-report-chart-card {
    box-shadow: none;
}

.hdl-report-bar-chart {
    height: 100%;
    min-height: 300px;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 12px;
}

.hdl-report-bar-chart h3 {
    margin: 0;
    text-align: center;
    color: var(--hdl-report-ink);
    font-size: 1rem;
}

.hdl-report-bar-chart__plot {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 18px;
    align-items: end;
    min-height: 220px;
    border-bottom: 1px solid var(--hdl-report-border-strong);
    background:
        linear-gradient(to top, rgba(203, 213, 225, .5) 1px, transparent 1px) 0 0 / 100% 25%;
    padding: 14px 18px 0;
}

.hdl-report-bar-chart__item {
    display: grid;
    grid-template-rows: auto 1fr auto;
    justify-items: center;
    gap: 8px;
    height: 100%;
}

.hdl-report-bar-chart__value {
    color: var(--hdl-report-ink);
    font-weight: 850;
    font-size: .86rem;
    white-space: nowrap;
}

.hdl-report-bar {
    align-self: end;
    width: min(58px, 80%);
    min-height: 8px;
    border-radius: 8px 8px 0 0;
    background: var(--hdl-report-blue);
    box-shadow: 0 12px 24px rgba(37, 99, 235, .2);
}

.hdl-report-bar--good { background: linear-gradient(180deg, #22c55e, #16a34a); }
.hdl-report-bar--warning { background: linear-gradient(180deg, #fbbf24, #f59e0b); }
.hdl-report-bar--risk { background: linear-gradient(180deg, #ef4444, #dc2626); }
.hdl-report-bar--info,
.hdl-report-bar--neutral { background: linear-gradient(180deg, #3b82f6, #2563eb); }

.hdl-report-bar-chart__label {
    min-height: 34px;
    color: var(--hdl-report-muted);
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
}

.hdl-report-bar-chart p,
.hdl-report-comparison__note {
    margin: 0;
    color: var(--hdl-report-muted);
    font-size: .88rem;
    text-align: center;
}

.hdl-report-comparison__note {
    width: fit-content;
    max-width: 100%;
    margin: 14px auto 0;
    border: 1px solid var(--hdl-report-border);
    border-radius: 10px;
    background: #fff;
    padding: 8px 12px;
}

.hdl-report-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 20px;
    align-items: start;
    margin: 28px 0;
}

.hdl-report-detail-grid > .hdl-report-card {
    box-shadow: none;
}

.hdl-report-breakdown__rows {
    display: grid;
    gap: 12px;
}

.hdl-report-breakdown__row {
    display: grid;
    grid-template-columns: minmax(130px, .9fr) minmax(80px, 1fr) minmax(70px, auto);
    gap: 14px;
    align-items: center;
}

.hdl-report-breakdown__row span {
    color: #334155;
    font-size: .92rem;
}

.hdl-report-breakdown__row strong {
    color: var(--hdl-report-ink);
    text-align: right;
    white-space: nowrap;
}

.hdl-report-mini-track {
    height: 8px;
    border-radius: 999px;
    background: #e9eef7;
    overflow: hidden;
}

.hdl-report-mini-track__fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--hdl-report-blue);
}

.hdl-report-mini-track__fill--good { background: var(--hdl-report-green); }
.hdl-report-mini-track__fill--warning { background: var(--hdl-report-amber); }
.hdl-report-mini-track__fill--risk { background: var(--hdl-report-red); }

.hdl-report-breakdown__summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.hdl-report-summary-pill {
    border: 1px solid var(--hdl-report-border);
    border-radius: 14px;
    background: #fff;
    padding: 14px;
}

.hdl-report-summary-pill span {
    display: block;
    color: var(--hdl-report-muted);
    font-size: .78rem;
    font-weight: 800;
}

.hdl-report-summary-pill strong {
    display: block;
    margin-top: 5px;
    color: var(--hdl-report-blue);
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
    line-height: 1.05;
    white-space: nowrap;
}

.hdl-report-summary-pill--good strong { color: var(--hdl-report-green); }
.hdl-report-summary-pill--warning strong { color: #d97706; }
.hdl-report-summary-pill--risk strong { color: var(--hdl-report-red); }

.hdl-report-sensitivity__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.hdl-report-sensitivity-card {
    border: 1px solid var(--hdl-report-border);
    border-radius: 16px;
    background: #fff;
    padding: 16px;
}

.hdl-report-sensitivity-card--good { border-color: #b7ead0; }
.hdl-report-sensitivity-card--warning { border-color: #fed7aa; }
.hdl-report-sensitivity-card--risk { border-color: #fecaca; }
.hdl-report-sensitivity-card--info,
.hdl-report-sensitivity-card--neutral { border-color: #bfdbfe; }

.hdl-report-sensitivity-card__head {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.hdl-report-sensitivity-card__head span {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--hdl-report-blue);
    color: #fff;
    font-weight: 900;
}

.hdl-report-sensitivity-card__head strong {
    color: var(--hdl-report-ink);
    line-height: 1.25;
}

.hdl-report-sensitivity-card__range {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    margin: 16px 0 12px;
}

.hdl-report-sensitivity-card__range div {
    display: grid;
    gap: 2px;
}

.hdl-report-sensitivity-card__range div:last-child {
    text-align: right;
}

.hdl-report-sensitivity-card__range strong {
    color: var(--hdl-report-ink);
    font-size: 1.15rem;
}

.hdl-report-sensitivity-card__range span,
.hdl-report-sensitivity-card p {
    color: var(--hdl-report-muted);
    font-size: .82rem;
}

.hdl-report-sensitivity-card p {
    margin: 0;
}

.hdl-report-action-plan__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.hdl-report-action-step {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 12px;
    box-shadow: none;
}

.hdl-report-action-step__number {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--hdl-report-blue);
    color: #fff;
    font-weight: 900;
}

.hdl-report-action-step h3 {
    font-size: 1rem;
}

.hdl-report-action-step p {
    margin: 6px 0 0;
    font-size: .9rem;
}

.hdl-report-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid var(--hdl-report-border-strong);
    border-radius: 8px;
    background: #fff;
    color: var(--hdl-report-blue);
    font: inherit;
    font-size: .92rem;
    font-weight: 850;
    line-height: 1.1;
    padding: 10px 16px;
    text-decoration: none;
    cursor: pointer;
}

.hdl-report-btn--primary {
    border-color: var(--hdl-report-blue);
    background: var(--hdl-report-blue);
    color: #fff;
    box-shadow: 0 10px 20px rgba(37, 99, 235, .18);
}

.hdl-report-btn--outline {
    border-color: #9bbcff;
    background: #fff;
    color: var(--hdl-report-blue);
}

.hdl-report-btn--ghost {
    border-color: var(--hdl-report-border);
    background: #fff;
    color: var(--hdl-report-blue);
}

.hdl-report-btn--full {
    width: 100%;
}

.hdl-report-btn:disabled,
.hdl-report-btn[aria-disabled="true"] {
    border-color: #dbe3ef;
    background: #f8fafc;
    color: #94a3b8;
    box-shadow: none;
    cursor: not-allowed;
}

.hdl-report-footer-actions {
    position: sticky;
    z-index: 20;
    bottom: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    width: min(100% - 40px, 1200px);
    margin: 28px auto 0;
    border: 1px solid var(--hdl-report-border);
    border-radius: 18px 18px 0 0;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 -10px 36px rgba(15, 23, 42, .08);
    padding: 14px 16px;
    backdrop-filter: blur(16px);
}

.hdl-report-footer-actions__disclaimer {
    margin: 0;
    color: var(--hdl-report-muted);
    font-size: .78rem;
    line-height: 1.45;
}

.hdl-report-footer-actions__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.hdl-report-footer-actions__status {
    grid-column: 1 / -1;
    color: var(--hdl-report-blue);
    font-size: .84rem;
    font-weight: 800;
}

.hdl-report-print-header,
.hdl-report-print-disclaimer,
.hdl-report-print-masthead,
.hdl-report-brand-footer {
    display: none;
}

/* Shared navy-and-gold report chrome. Data can optionally supply a custom
   brand, agent note, and property gallery without changing this shell. */
.hdl-report-brandbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 78px;
    margin: 0 -32px;
    padding: 16px 32px;
    background: var(--hdl-report-navy);
    color: #fff;
}

.hdl-report-brandbar__identity {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 13px;
    color: #fff;
    text-decoration: none;
}

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

.hdl-report-brandbar__identity span,
.hdl-report-brandbar__identity small {
    display: block;
}

.hdl-report-brandbar__identity strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.15rem;
    font-weight: 500;
}

.hdl-report-brandbar__identity small {
    margin-top: 2px;
    color: #d9bd76;
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hdl-report-brandbar__tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.hdl-report-brandbar__type {
    color: #d9bd76;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.hdl-report-btn--brand {
    min-height: 38px;
    border-color: rgba(198, 161, 91, .58);
    background: transparent;
    color: #e5cf9c;
}

.hdl-report-header.hdl-report-hero {
    align-items: center;
    min-height: 220px;
    margin: 0 -32px 28px;
    padding: 38px 40px;
    background: radial-gradient(120% 150% at 88% 0%, var(--hdl-report-navy-light), var(--hdl-report-navy) 72%);
    color: #fff;
}

.hdl-report-hero__copy {
    min-width: 0;
}

.hdl-report-header.hdl-report-hero h1 {
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.3rem, 5vw, 3.5rem);
    font-weight: 500;
    letter-spacing: -.025em;
}

.hdl-report-header.hdl-report-hero p {
    color: #b7c4d6;
    font-size: .95rem;
}

.hdl-report-header.hdl-report-hero .hdl-report-eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    border: 1px solid rgba(198, 161, 91, .4);
    border-radius: 999px;
    background: rgba(198, 161, 91, .1);
    color: #e5cf9c;
    letter-spacing: .13em;
    padding: 6px 13px;
}

.hdl-report-header.hdl-report-hero .hdl-report-status {
    border: 1px solid rgba(198, 161, 91, .42);
    background: rgba(198, 161, 91, .12);
    color: #e5cf9c;
}

.hdl-report-card {
    border-radius: 14px;
    background: #fff;
    box-shadow: none;
}

.hdl-report-context {
    background: #fff;
}

.hdl-report-property-gallery {
    min-width: 0;
}

.hdl-report-property-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin-top: 6px;
}

.hdl-report-property-gallery__thumbs img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 7px;
    object-fit: cover;
}

.hdl-report-verdict,
.hdl-report-verdict--good,
.hdl-report-verdict--warning,
.hdl-report-verdict--risk,
.hdl-report-verdict--info,
.hdl-report-verdict--neutral {
    border-color: rgba(198, 161, 91, .22);
    background: radial-gradient(120% 140% at 90% 0%, var(--hdl-report-navy-light), var(--hdl-report-navy));
    color: #fff;
}

.hdl-report-verdict h2,
.hdl-report-verdict .hdl-report-check {
    color: #fff;
}

.hdl-report-verdict p,
.hdl-report-verdict .hdl-report-eyebrow {
    color: #c2cddb;
}

.hdl-report-verdict .hdl-report-eyebrow {
    letter-spacing: .14em;
}

.hdl-report-verdict__reasons {
    border-left-color: rgba(255, 255, 255, .14);
}

.hdl-report-verdict .hdl-report-confidence {
    border-color: rgba(198, 161, 91, .34);
    background: rgba(198, 161, 91, .1);
    color: #e5cf9c;
}

.hdl-report-verdict .hdl-report-score-ring {
    border-color: var(--hdl-report-gold);
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.hdl-report-verdict .hdl-report-score-ring small {
    color: #b7c4d6;
}

.hdl-report-section__head h2,
.hdl-report-context__body h2,
.hdl-report-scenario-card h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
}

.hdl-report-section__head > div:first-child {
    position: relative;
    padding-left: 14px;
}

.hdl-report-section__head > div:first-child::before {
    content: "";
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 0;
    width: 4px;
    border-radius: 999px;
    background: var(--hdl-report-gold);
}

.hdl-report-metric {
    border-radius: 14px;
    box-shadow: none;
}

.hdl-report-mini-track__fill,
.hdl-report-bar,
.hdl-report-action-step__number,
.hdl-report-sensitivity-card__head span {
    background: linear-gradient(135deg, #d9bd76, #b4924d);
    color: var(--hdl-report-navy);
}

.hdl-report-btn--primary {
    border-color: var(--hdl-report-gold);
    background: var(--hdl-report-gold);
    color: var(--hdl-report-navy);
    box-shadow: 0 12px 24px rgba(198, 161, 91, .22);
}

.hdl-report-btn--outline,
.hdl-report-btn--ghost,
.hdl-report-link-btn {
    color: var(--hdl-report-gold-dark);
}

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

.hdl-report-agent-note__avatar {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(140deg, #d9bd76, #b4924d);
    color: var(--hdl-report-navy);
    font-size: .8rem;
    font-weight: 900;
}

.hdl-report-agent-note__head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hdl-report-agent-note__head span,
.hdl-report-agent-note small {
    color: #8a6d33;
    font-size: .72rem;
    font-weight: 700;
}

.hdl-report-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;
}

.hdl-report-print-mode {
    background: #fff;
}

.hdl-report-print-mode .site-header,
.hdl-report-print-mode .site-footer,
.hdl-report-print-mode .hdl-report-brandbar,
.hdl-report-print-mode .navbar,
.hdl-report-print-mode .nav-links,
.hdl-report-print-mode nav,
.hdl-report-print-mode .hdl-report-header,
.hdl-report-print-mode .hdl-report-status,
.hdl-report-print-mode .hdl-report-business-banner,
.hdl-report-print-mode .hdl-report-context__media,
.hdl-report-print-mode .hdl-report-context__image,
.hdl-report-print-mode .hdl-report-context__placeholder,
.hdl-report-print-mode .hdl-report-context__image-notice,
.hdl-report-print-mode .hdl-report-footer-actions,
.hdl-report-print-mode .hdl-report-btn,
.hdl-report-print-mode .hdl-report-link-btn,
.hdl-report-print-mode .hdl-report-tip,
.hdl-report-print-mode .hdl-feedback-form,
.hdl-report-print-mode .hdl-feedback-box,
.hdl-report-print-mode .hdl-newsletter,
.hdl-report-print-mode .newsletter,
.hdl-report-print-mode .feedback-widget,
.hdl-report-print-mode .hdl-feedback-widget,
.hdl-report-print-mode .consent-banner,
.hdl-report-print-mode .cookie-banner,
.hdl-report-print-mode .kebab-menu,
.hdl-report-print-mode .overflow-menu,
.hdl-report-print-mode .dropdown-menu,
.hdl-report-print-mode [data-hdl-report-print],
.hdl-report-print-mode [data-hdl-report-coming-soon],
.hdl-report-print-mode [data-newsletter-signup],
.hdl-report-print-mode form,
.hdl-report-print-mode input,
.hdl-report-print-mode textarea,
.hdl-report-print-mode select,
.hdl-report-print-mode button {
    display: none !important;
}

.hdl-report-print-mode .hdl-report-print-header {
    display: grid;
}

.hdl-report-print-mode .hdl-report-print-disclaimer,
.hdl-report-print-mode .hdl-report-print-masthead,
.hdl-report-print-mode .hdl-report-brand-footer {
    display: block;
}

@media (max-width: 1080px) {
    .hdl-report-top-grid,
    .hdl-report-comparison__grid,
    .hdl-report-detail-grid {
        grid-template-columns: 1fr;
    }

    .hdl-report-action-plan__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .hdl-report-page {
        padding-top: 18px;
    }

    .hdl-report-shell,
    .hdl-report-footer-actions {
        width: min(100% - 24px, 1200px);
    }

    .hdl-report-shell {
        padding: 0 16px 28px;
    }

    .hdl-report-brandbar {
        align-items: flex-start;
        margin: 0 -16px;
        padding: 14px 16px;
    }

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

    .hdl-report-brandbar__type {
        display: none;
    }

    .hdl-report-header.hdl-report-hero {
        min-height: 190px;
        margin: 0 -16px 22px;
        padding: 30px 22px;
    }

    .hdl-report-header.hdl-report-hero h1 {
        font-size: clamp(2rem, 12vw, 2.8rem);
    }

    .hdl-report-header,
    .hdl-report-verdict,
    .hdl-report-context,
    .hdl-report-footer-actions {
        grid-template-columns: 1fr;
    }

    .hdl-report-header {
        display: grid;
    }

    .hdl-report-context__media {
        width: 100%;
        max-height: 220px;
        aspect-ratio: 16 / 9;
    }

    .hdl-report-context__image-notice {
        right: 10px;
        bottom: 10px;
        left: auto;
        max-width: min(260px, calc(100% - 20px));
        padding: 6px 8px;
        font-size: .64rem;
    }

    .hdl-report-verdict__reasons {
        border-left: 0;
        border-top: 1px solid var(--hdl-report-border-strong);
        padding: 18px 0 0;
    }

    .hdl-report-verdict__title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .hdl-report-metric-strip,
    .hdl-report-reason-grid,
    .hdl-report-action-plan__grid,
    .hdl-report-sensitivity__grid,
    .hdl-report-breakdown__summary {
        grid-template-columns: 1fr;
    }

    .hdl-report-breakdown__row {
        grid-template-columns: 1fr auto;
    }

    .hdl-report-breakdown__row .hdl-report-mini-track {
        grid-column: 1 / -1;
        order: 3;
    }

    .hdl-report-footer-actions {
        position: static;
        border-radius: 18px;
    }

    .hdl-report-footer-actions__buttons {
        justify-content: stretch;
    }

    .hdl-report-footer-actions__buttons .hdl-report-btn {
        flex: 1 1 180px;
    }
}

/* =========================================================================
   ReportView v2 design system (additive).
   Hero + score gauge + KPI strip + driving factors + SVG chart cards +
   verify-next strip. Mirrors the Property Intelligence "Summary" look
   (gradient / radius / soft shadow) but themed with the shell's
   --hdl-report-* variables. Classic classes above are untouched.
   ========================================================================= */

.hdl-report-header--minimal {
    margin-bottom: 12px;
    justify-content: flex-end;
    min-height: 34px;
}

/* --- Hero shell --------------------------------------------------------- */
.hdl-report-hero2 {
    position: relative;
    overflow: hidden;
    margin: 0 0 20px;
    border: 1px solid var(--hdl-report-border);
    border-radius: 22px;
    background:
        radial-gradient(120% 140% at 12% -10%, rgba(37, 99, 235, .10) 0%, rgba(37, 99, 235, 0) 46%),
        radial-gradient(120% 150% at 100% 0%, rgba(17, 150, 90, .10) 0%, rgba(17, 150, 90, 0) 50%),
        linear-gradient(180deg, #ffffff 0%, var(--hdl-report-soft) 100%);
    box-shadow: var(--hdl-report-shadow);
    padding: clamp(20px, 3vw, 30px);
}

.hdl-report-hero2--good { border-color: #b7ead0; }
.hdl-report-hero2--warning { border-color: #fed7aa; }
.hdl-report-hero2--risk { border-color: #fecaca; }
.hdl-report-hero2--info,
.hdl-report-hero2--neutral { border-color: #bfdbfe; }

.hdl-report-hero2__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: clamp(18px, 3vw, 34px);
    align-items: center;
}

.hdl-report-hero2__eyebrow {
    display: block;
    color: var(--hdl-report-blue);
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.hdl-report-hero2__title {
    margin: 6px 0 0;
    color: var(--hdl-report-ink);
    font-size: clamp(1.75rem, 3.3vw, 2.5rem);
    line-height: 1.06;
    letter-spacing: 0;
}

.hdl-report-hero2__address {
    margin: 10px 0 0;
    max-width: 620px;
    color: #12255b;
    font-size: 1.06rem;
    font-weight: 700;
    line-height: 1.4;
}

.hdl-report-hero2__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0 0;
    padding: 8px 15px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: .95rem;
    font-weight: 850;
    line-height: 1.2;
}

.hdl-report-hero2__pill::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: currentColor;
}

.hdl-report-hero2__pill--good { background: var(--hdl-report-green-soft); border-color: #b7ead0; color: #08733d; }
.hdl-report-hero2__pill--warning { background: var(--hdl-report-amber-soft); border-color: #fed7aa; color: #b45309; }
.hdl-report-hero2__pill--risk { background: var(--hdl-report-red-soft); border-color: #fecaca; color: #b91c1c; }
.hdl-report-hero2__pill--info,
.hdl-report-hero2__pill--neutral { background: var(--hdl-report-blue-soft); border-color: #bfdbfe; color: #1d4ed8; }

.hdl-report-hero2__verdict-caption {
    margin: 12px 0 0;
    max-width: 560px;
    color: var(--hdl-report-muted);
    font-size: .95rem;
    line-height: 1.55;
}

.hdl-report-hero2__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin: 14px 0 0;
    color: var(--hdl-report-muted);
    font-size: .84rem;
    font-weight: 700;
}

.hdl-report-hero2__meta span + span::before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 3px;
    margin: 0 8px 2px -8px;
    border-radius: 999px;
    background: #94a3b8;
}

.hdl-report-hero2__score {
    display: grid;
    justify-items: center;
}

/* --- Score gauge (semicircle) ------------------------------------------ */
.hdl-report-gauge {
    position: relative;
    display: grid;
    justify-items: center;
    width: min(100%, 340px);
}

.hdl-report-gauge__svg {
    display: block;
    width: 100%;
    aspect-ratio: 360 / 208;
    overflow: visible;
}

.hdl-report-gauge__track,
.hdl-report-gauge__fill {
    fill: none;
    stroke-linecap: butt;
    stroke-width: 22;
}

.hdl-report-gauge__track {
    stroke: #e2e9f2;
}

/* Gradient stops are theme-driven via signal modifier on .hdl-report-gauge. */
.hdl-report-gauge__grad-a { stop-color: var(--hdl-report-blue); }
.hdl-report-gauge__grad-b { stop-color: #0891b2; }
.hdl-report-gauge__grad-c { stop-color: #22c55e; }

.hdl-report-gauge--good .hdl-report-gauge__grad-a { stop-color: #0891b2; }
.hdl-report-gauge--good .hdl-report-gauge__grad-b { stop-color: #22c55e; }
.hdl-report-gauge--good .hdl-report-gauge__grad-c { stop-color: #16a34a; }

.hdl-report-gauge--warning .hdl-report-gauge__grad-a { stop-color: var(--hdl-report-blue); }
.hdl-report-gauge--warning .hdl-report-gauge__grad-b { stop-color: #f59e0b; }
.hdl-report-gauge--warning .hdl-report-gauge__grad-c { stop-color: #f97316; }

.hdl-report-gauge--risk .hdl-report-gauge__grad-a { stop-color: #f59e0b; }
.hdl-report-gauge--risk .hdl-report-gauge__grad-b { stop-color: #f97316; }
.hdl-report-gauge--risk .hdl-report-gauge__grad-c { stop-color: var(--hdl-report-red); }

.hdl-report-gauge__rim {
    fill: none;
    stroke: rgba(203, 213, 225, .82);
    stroke-width: 4;
}

.hdl-report-gauge__ticks line {
    stroke: rgba(255, 255, 255, .78);
    stroke-linecap: round;
    stroke-width: 2;
}

.hdl-report-gauge__center {
    position: absolute;
    top: 60%;
    left: 50%;
    display: grid;
    justify-items: center;
    transform: translate(-50%, -50%);
    text-align: center;
}

.hdl-report-gauge__center span {
    color: #12255b;
    font-size: .64rem;
    font-weight: 850;
    line-height: 1.1;
    text-transform: uppercase;
}

.hdl-report-gauge__center strong {
    color: var(--hdl-report-ink);
    font-size: clamp(2.4rem, 3.2vw, 3.2rem);
    font-weight: 900;
    line-height: .86;
}

.hdl-report-gauge__center em {
    color: var(--hdl-report-blue);
    font-size: .98rem;
    font-style: normal;
    font-weight: 850;
}

.hdl-report-gauge__badge {
    min-width: 96px;
    margin-top: 6px;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 850;
    line-height: 1.25;
}

.hdl-report-gauge__badge--good { background: #d8f8cc; color: #08733d; }
.hdl-report-gauge__badge--warning { background: #fef0d6; color: #b45309; }
.hdl-report-gauge__badge--risk { background: #fde0e0; color: #b91c1c; }
.hdl-report-gauge__badge--info,
.hdl-report-gauge__badge--neutral { background: var(--hdl-report-blue-soft); color: #1d4ed8; }

.hdl-report-gauge__caption {
    margin: 8px 0 0;
    max-width: 320px;
    color: var(--hdl-report-muted);
    font-size: .84rem;
    font-weight: 700;
    text-align: center;
}

/* --- KPI strip --------------------------------------------------------- */
.hdl-report-hero2__kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
    gap: 12px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--hdl-report-border);
}

.hdl-report-kpi {
    min-width: 0;
    border: 1px solid var(--hdl-report-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
    padding: 13px 14px;
}

.hdl-report-kpi__label {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--hdl-report-muted);
    font-size: .74rem;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
}

.hdl-report-kpi__value {
    display: block;
    margin-top: 7px;
    color: var(--hdl-report-ink);
    font-size: clamp(1.1rem, 1.5vw, 1.4rem);
    font-weight: 900;
    line-height: 1.05;
}

.hdl-report-kpi__value--nowrap { white-space: nowrap; }

.hdl-report-kpi--good .hdl-report-kpi__value { color: var(--hdl-report-green); }
.hdl-report-kpi--warning .hdl-report-kpi__value { color: #d97706; }
.hdl-report-kpi--risk .hdl-report-kpi__value { color: var(--hdl-report-red); }
.hdl-report-kpi--info .hdl-report-kpi__value,
.hdl-report-kpi--neutral .hdl-report-kpi__value { color: var(--hdl-report-ink); }

.hdl-report-kpi__trend {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
    min-height: 20px;
}

.hdl-report-kpi__delta {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 850;
    line-height: 1.3;
    white-space: nowrap;
}

.hdl-report-kpi__delta--good { background: var(--hdl-report-green-soft); color: #08733d; }
.hdl-report-kpi__delta--warning { background: var(--hdl-report-amber-soft); color: #b45309; }
.hdl-report-kpi__delta--risk { background: var(--hdl-report-red-soft); color: #b91c1c; }
.hdl-report-kpi__delta--info,
.hdl-report-kpi__delta--neutral { background: var(--hdl-report-blue-soft); color: #1d4ed8; }

.hdl-report-kpi__spark {
    display: inline-flex;
    width: 88px;
    height: 26px;
    margin-left: auto;
}

.hdl-report-kpi__spark .hdl-sparkline {
    width: 100%;
    height: 100%;
}

.hdl-report-kpi__caption {
    display: block;
    margin-top: 6px;
    color: var(--hdl-report-muted);
    font-size: .78rem;
    line-height: 1.3;
}

/* --- Driving factors chip row ------------------------------------------ */
.hdl-report-factors {
    margin-top: 20px;
}

.hdl-report-factors__title {
    display: block;
    margin-bottom: 10px;
    color: var(--hdl-report-muted);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.hdl-report-factors__row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hdl-report-factor {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    max-width: 100%;
    padding: 8px 13px;
    border: 1px solid var(--hdl-report-border);
    border-radius: 12px;
    background: #fff;
    font-size: .86rem;
    line-height: 1.3;
}

.hdl-report-factor__dot {
    position: relative;
    top: 1px;
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--hdl-report-muted);
}

.hdl-report-factor__label {
    color: var(--hdl-report-ink);
    font-weight: 800;
}

.hdl-report-factor__detail {
    color: var(--hdl-report-muted);
    font-weight: 600;
}

.hdl-report-factor--positive { border-color: #b7ead0; background: linear-gradient(180deg, #fff 0%, #f0fdf7 100%); }
.hdl-report-factor--positive .hdl-report-factor__dot { background: var(--hdl-report-green); }
.hdl-report-factor--attention { border-color: #fed7aa; background: linear-gradient(180deg, #fff 0%, #fff8eb 100%); }
.hdl-report-factor--attention .hdl-report-factor__dot { background: var(--hdl-report-amber); }
.hdl-report-factor--neutral { border-color: #bfdbfe; background: linear-gradient(180deg, #fff 0%, #f5f9ff 100%); }
.hdl-report-factor--neutral .hdl-report-factor__dot { background: var(--hdl-report-blue); }

/* --- SVG chart engine (shell copy; classes shared with the redesign) ---- */
.hdl-chart-figure { margin: 0; width: 100%; }

.hdl-chart {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.hdl-chart-grid { stroke: #e6edf5; stroke-width: 1; }

.hdl-chart-axis-y,
.hdl-chart-axis-x {
    fill: #64748b;
    font-size: 11px;
    font-weight: 600;
}

.hdl-chart-line {
    fill: none;
    stroke-width: 2.4;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.hdl-chart-line--dashed { stroke-dasharray: 6 5; }

.hdl-chart-line--green { stroke: #16a34a; }
.hdl-chart-line--blue { stroke: #2563eb; }
.hdl-chart-line--amber { stroke: #d97706; }
.hdl-chart-line--purple { stroke: #8b5cf6; }
.hdl-chart-line--red { stroke: #dc2626; }
.hdl-chart-line--slate { stroke: #64748b; }

.hdl-chart-dot--green { fill: #16a34a; }
.hdl-chart-dot--blue { fill: #2563eb; }
.hdl-chart-dot--amber { fill: #d97706; }
.hdl-chart-dot--purple { fill: #8b5cf6; }
.hdl-chart-dot--red { fill: #dc2626; }
.hdl-chart-dot--slate { fill: #64748b; }

.hdl-chart-area { stroke: none; }
.hdl-chart-area--green { fill: rgba(22, 163, 74, .10); }
.hdl-chart-area--blue { fill: rgba(37, 99, 235, .10); }
.hdl-chart-area--amber { fill: rgba(217, 119, 6, .10); }
.hdl-chart-area--purple { fill: rgba(139, 92, 246, .10); }
.hdl-chart-area--red { fill: rgba(220, 38, 38, .09); }

.hdl-chart-band { stroke: none; }
.hdl-chart-band--green { fill: rgba(22, 163, 74, .14); }
.hdl-chart-band--blue { fill: rgba(37, 99, 235, .14); }
.hdl-chart-band--amber { fill: rgba(217, 119, 6, .14); }
.hdl-chart-band--purple { fill: rgba(139, 92, 246, .14); }

.hdl-chart-annotation {
    stroke-width: 1.4;
    stroke-dasharray: 4 4;
}

.hdl-chart-annotation--amber { stroke: #d97706; }
.hdl-chart-annotation--blue { stroke: #2563eb; }
.hdl-chart-annotation--green { stroke: #16a34a; }
.hdl-chart-annotation--slate { stroke: #94a3b8; }

.hdl-chart-annotation-label {
    fill: #9a3412;
    font-size: 11px;
    font-weight: 800;
}

.hdl-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 10px;
}

.hdl-chart-legend__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #40576e;
    font-size: .82rem;
    font-weight: 700;
}

.hdl-chart-legend__swatch {
    display: inline-block;
    width: 14px;
    height: 4px;
    border-radius: 2px;
}

.hdl-chart-legend__swatch--green { background: #16a34a; }
.hdl-chart-legend__swatch--blue { background: #2563eb; }
.hdl-chart-legend__swatch--amber { background: #d97706; }
.hdl-chart-legend__swatch--purple { background: #8b5cf6; }
.hdl-chart-legend__swatch--red { background: #dc2626; }
.hdl-chart-legend__swatch--slate { background: #64748b; }

.hdl-sparkline {
    display: inline-block;
    width: 120px;
    height: 32px;
    vertical-align: middle;
}

.hdl-sparkline .hdl-chart-line { stroke-width: 2; }

/* --- Chart cards ------------------------------------------------------- */
.hdl-report-charts2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 18px;
    margin: 24px 0;
}

.hdl-report-chart2 {
    min-width: 0;
    border: 1px solid var(--hdl-report-border);
    border-radius: 18px;
    background: linear-gradient(180deg, #fff 0%, var(--hdl-report-soft) 100%);
    box-shadow: var(--hdl-report-shadow);
    padding: clamp(16px, 2vw, 22px);
}

.hdl-report-chart2--good { border-color: #cdeadd; }
.hdl-report-chart2--warning { border-color: #fce4c6; }
.hdl-report-chart2--risk { border-color: #fbd6d6; }

.hdl-report-chart2__head h3 {
    margin: 0 0 12px;
    color: var(--hdl-report-ink);
    font-size: 1.08rem;
    line-height: 1.2;
}

.hdl-report-chart2__plot { width: 100%; }

.hdl-report-chart2__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    margin: 0;
    border: 1px dashed var(--hdl-report-border-strong);
    border-radius: 10px;
    background: #f7faff;
    color: #53697d;
    font-size: .9rem;
    font-weight: 600;
    padding: 18px;
    text-align: center;
}

.hdl-report-chart2__caption {
    margin: 12px 0 0;
    color: #334155;
    font-size: .9rem;
    line-height: 1.5;
}

.hdl-report-chart2__method {
    margin: 8px 0 0;
    color: var(--hdl-report-muted);
    font-size: .8rem;
    line-height: 1.45;
}

.hdl-report-chart2__method span {
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .02em;
    font-size: .72rem;
}

/* --- Verify next strip ------------------------------------------------- */
.hdl-report-verify {
    margin: 28px 0;
    border: 1px solid var(--hdl-report-border);
    border-radius: 18px;
    background: var(--hdl-report-surface);
    box-shadow: var(--hdl-report-shadow);
    padding: clamp(18px, 2.5vw, 26px);
}

.hdl-report-verify__head h2 {
    margin: 0;
    color: var(--hdl-report-ink);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    line-height: 1.2;
}

.hdl-report-verify__head p {
    margin: 6px 0 0;
    color: var(--hdl-report-muted);
    line-height: 1.55;
}

.hdl-report-verify__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.hdl-report-verify__item {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    border: 1px solid var(--hdl-report-border);
    border-radius: 14px;
    background: #fff;
    padding: 14px;
}

.hdl-report-verify__item strong {
    display: block;
    color: var(--hdl-report-ink);
    font-size: .96rem;
    line-height: 1.3;
}

.hdl-report-verify__item p {
    margin: 5px 0 0;
    color: var(--hdl-report-muted);
    font-size: .86rem;
    line-height: 1.45;
}

.hdl-report-verify__mark {
    position: relative;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1.5px solid currentColor;
    color: var(--hdl-report-blue);
}

.hdl-report-verify__mark::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 7px;
    width: 9px;
    height: 5px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
}

.hdl-report-verify__item--positive .hdl-report-verify__mark { color: var(--hdl-report-green); }
.hdl-report-verify__item--attention .hdl-report-verify__mark { color: var(--hdl-report-amber); }
.hdl-report-verify__item--neutral .hdl-report-verify__mark { color: var(--hdl-report-blue); }

/* --- v2 responsive ----------------------------------------------------- */
@media (max-width: 1080px) {
    .hdl-report-hero2__main {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .hdl-report-hero2__copy {
        order: 2;
        text-align: left;
        width: 100%;
    }

    .hdl-report-hero2__score {
        order: 1;
    }

    .hdl-report-charts2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .hdl-report-hero2__kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hdl-report-hero2__pill {
        font-size: .88rem;
    }

    .hdl-report-verify__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .hdl-report-hero2__kpis {
        grid-template-columns: 1fr;
    }
}

@page {
    margin: .55in .5in .6in;
}

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

    .hdl-report-page {
        background: #fff;
        padding: 0;
    }

    .site-header,
    .site-footer,
    .hdl-report-brandbar,
    .navbar,
    .nav-links,
    nav,
    .nav-toggle,
    .hdl-report-header,
    .hdl-report-status,
    .hdl-report-context__media,
    .hdl-report-context__image,
    .hdl-report-context__placeholder,
    .hdl-report-context__image-notice,
    .hdl-report-footer-actions,
    .hdl-report-btn,
    .hdl-report-tip,
    .hdl-feedback-box,
    .hdl-feedback-form,
    .hdl-feedback-widget,
    .feedback-widget,
    .launch-promo-banner,
    .hdl-newsletter,
    .newsletter,
    .consent-banner,
    .hdl-consent,
    .hdl-consent-banner,
    .hdl-consent-modal,
    .cookie-banner,
    .kebab-menu,
    .overflow-menu,
    .dropdown-menu,
    [data-hdl-report-print],
    [data-hdl-report-coming-soon],
    [data-newsletter-signup],
    form,
    input,
    textarea,
    select,
    button {
        display: none !important;
    }

    /* Branded masthead: brand-color top band + accent rule. Only rendered when
       the account has branding colors, so unbranded prints are unchanged. */
    .hdl-report-print-masthead {
        display: block;
        height: 8px;
        margin: 0 0 12px;
        background: var(--hdl-brand-primary, #2563eb);
        border-bottom: 3px solid var(--hdl-brand-accent, #14b8a6);
        border-radius: 2px;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .hdl-report-print-header {
        display: grid;
        grid-template-columns: minmax(120px, 1fr) minmax(180px, 1.4fr) minmax(150px, 1fr);
        gap: 14px;
        align-items: center;
        margin: 0 0 16px;
        border-bottom: 1px solid #b7c7dd;
        padding-bottom: 10px;
        color: #111827;
        break-inside: avoid;
    }

    .hdl-report-print-header__brand img {
        display: block;
        width: 138px;
        max-width: 100%;
        height: auto;
    }

    .hdl-report-print-header__business {
        display: grid;
        gap: 2px;
    }

    /* Headshot avatar variant of the business block (conditional markup). */
    .hdl-report-print-header__business--with-headshot {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 8px;
        align-items: center;
    }

    .hdl-report-print-header__headshot {
        display: block;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid var(--hdl-brand-primary, #2563eb);
    }

    .hdl-report-print-header__business-text {
        display: grid;
        gap: 2px;
    }

    .hdl-report-print-header__business span {
        color: #64748b;
        font-size: 7.5pt;
        font-weight: 900;
        letter-spacing: .04em;
        line-height: 1.1;
        text-transform: uppercase;
        text-align: left;
    }

    .hdl-report-print-header__business strong {
        color: #0f172a;
        font-size: 11pt;
        line-height: 1.15;
        text-align: left;
    }

    .hdl-report-print-header__business small {
        color: #475569;
        font-size: 7.8pt;
        font-weight: 700;
        line-height: 1.25;
    }

    .hdl-report-print-header strong {
        text-align: center;
        font-size: 12.5pt;
        line-height: 1.15;
    }

    .hdl-report-print-header span {
        color: #475569;
        font-size: 8.5pt;
        font-weight: 700;
        line-height: 1.25;
        text-align: right;
    }

    .hdl-report-shell,
    .hdl-report-footer-actions {
        width: 100%;
        margin: 0;
    }

    .hdl-report-shell {
        overflow: visible;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
    }

    .hdl-report-card,
    .hdl-report-metric {
        box-shadow: none;
        border-color: #b7c7dd;
        background: #fff;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .hdl-report-verdict h2,
    .hdl-report-verdict .hdl-report-check,
    .hdl-report-verdict p,
    .hdl-report-verdict .hdl-report-eyebrow {
        color: #111827;
    }

    .hdl-report-card {
        border-radius: 9px;
        padding: 12px;
    }

    .hdl-report-top-grid {
        grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
        gap: 10px;
        margin-bottom: 12px;
    }

    .hdl-report-context {
        display: block;
    }

    .hdl-report-context__body h2,
    .hdl-report-verdict h2,
    .hdl-report-section__head h2,
    .hdl-report-scenario-card h3,
    .hdl-report-action-step h3 {
        font-size: 11.5pt;
        line-height: 1.18;
    }

    .hdl-report-context__facts {
        gap: 5px;
        margin-top: 8px;
    }

    .hdl-report-context__facts div {
        grid-template-columns: minmax(92px, .48fr) minmax(0, 1fr);
        gap: 8px;
    }

    .hdl-report-eyebrow,
    .hdl-report-metric__label,
    .hdl-report-card dt {
        font-size: 7pt;
    }

    .hdl-report-context__meta {
        margin-top: 8px;
        font-size: 7.5pt;
    }

    .hdl-report-verdict {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .hdl-report-verdict p,
    .hdl-report-card p {
        margin: 5px 0 8px;
        font-size: 8.5pt;
        line-height: 1.35;
    }

    .hdl-report-verdict__summary {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 8px;
    }

    .hdl-report-badge-icon {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

    .hdl-report-verdict__reasons {
        border-left: 0;
        padding-left: 0;
    }

    .hdl-report-verdict__reasons ul,
    .hdl-report-reason ul {
        gap: 5px;
        margin-top: 6px;
    }

    .hdl-report-check {
        min-height: 18px;
        padding-left: 22px;
        font-size: 8pt;
        line-height: 1.28;
    }

    .hdl-report-check::before {
        width: 14px;
        height: 14px;
    }

    .hdl-report-check::after {
        top: 5px;
        left: 4px;
        width: 5px;
        height: 3px;
    }

    .hdl-report-metric-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin: 12px 0 14px;
        break-inside: avoid;
    }

    .hdl-report-metric {
        border-radius: 8px;
        padding: 9px 10px;
    }

    .hdl-report-metric__label {
        min-height: 18px;
    }

    .hdl-report-metric strong,
    .hdl-report-metric--compact strong,
    .hdl-report-metric--long strong {
        margin-top: 5px;
        font-size: 12pt;
        line-height: 1;
    }

    .hdl-report-metric small {
        margin-top: 4px;
        font-size: 7.5pt;
    }

    .hdl-report-section {
        margin: 14px 0;
        break-inside: avoid;
    }

    .hdl-report-section__head {
        margin-bottom: 8px;
    }

    .hdl-report-reason-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 9px;
    }

    .hdl-report-reason__head {
        gap: 8px;
        margin-bottom: 7px;
    }

    .hdl-report-reason__head .hdl-report-badge-icon {
        width: 24px;
        height: 24px;
    }

    .hdl-report-comparison__grid,
    .hdl-report-detail-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 10px;
    }

    .hdl-report-chart-card {
        grid-column: 1 / -1;
    }

    .hdl-report-scenario-card dl,
    .hdl-report-breakdown__rows {
        gap: 6px;
    }

    .hdl-report-scenario-card dl div {
        gap: 8px;
    }

    .hdl-report-scenario-card__total {
        margin-top: 10px;
        padding-top: 8px;
    }

    .hdl-report-scenario-card__total strong {
        font-size: 12pt;
    }

    .hdl-report-bar-chart {
        min-height: 210px;
        gap: 7px;
    }

    .hdl-report-bar-chart__plot {
        min-height: 145px;
        gap: 10px;
        padding: 8px 8px 0;
    }

    .hdl-report-bar-chart__value,
    .hdl-report-bar-chart__label,
    .hdl-report-bar-chart p,
    .hdl-report-comparison__note {
        font-size: 7.5pt;
    }

    .hdl-report-detail-grid {
        align-items: start;
        margin: 14px 0;
    }

    .hdl-report-breakdown__row {
        grid-template-columns: minmax(115px, .85fr) minmax(60px, 1fr) minmax(58px, auto);
        gap: 8px;
    }

    .hdl-report-breakdown__row span {
        font-size: 8pt;
    }

    .hdl-report-breakdown__row strong {
        font-size: 8pt;
    }

    .hdl-report-breakdown__summary,
    .hdl-report-sensitivity__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 10px;
    }

    .hdl-report-summary-pill,
    .hdl-report-sensitivity-card {
        border-color: #b7c7dd;
        border-radius: 8px;
        padding: 9px;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .hdl-report-summary-pill span,
    .hdl-report-sensitivity-card__range span,
    .hdl-report-sensitivity-card p {
        font-size: 7.5pt;
    }

    .hdl-report-summary-pill strong,
    .hdl-report-sensitivity-card__range strong {
        font-size: 10pt;
    }

    .hdl-report-sensitivity-card__head {
        grid-template-columns: 24px minmax(0, 1fr);
        gap: 7px;
    }

    .hdl-report-sensitivity-card__head span {
        width: 24px;
        height: 24px;
    }

    .hdl-report-sensitivity-card__range {
        margin: 9px 0 7px;
    }

    .hdl-report-action-plan__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .hdl-report-action-step {
        gap: 7px;
    }

    .hdl-report-action-step__number {
        width: 24px;
        height: 24px;
        font-size: 8pt;
    }

    .hdl-report-action-step p {
        font-size: 8pt;
        line-height: 1.32;
    }

    /* Branded footer block: CTA (printed as text) + footer text + disclaimer.
       Only rendered when the account has any of these fields. */
    .hdl-report-brand-footer {
        display: block;
        margin: 18px 0 0;
        border-top: 3px solid var(--hdl-brand-primary, #2563eb);
        padding-top: 10px;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .hdl-report-brand-footer p {
        margin: 0 0 4px;
        color: #0f172a;
        font-size: 8.5pt;
        line-height: 1.35;
    }

    .hdl-report-brand-footer__cta strong {
        color: var(--hdl-brand-primary, #2563eb);
    }

    .hdl-report-brand-footer small {
        display: block;
        color: #64748b;
        font-size: 7.5pt;
        line-height: 1.35;
    }

    .hdl-report-print-disclaimer {
        display: block;
        margin: 16px 0 0;
        border-top: 1px solid #b7c7dd;
        padding-top: 8px;
        color: #475569;
        font-size: 7.5pt;
        line-height: 1.35;
    }

    /* --- v2 components in print --- */
    .hdl-report-hero2,
    .hdl-report-chart2,
    .hdl-report-verify {
        box-shadow: none;
        border-color: #b7c7dd;
        background: #fff;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .hdl-report-hero2 {
        border-radius: 10px;
        padding: 14px;
        margin-bottom: 12px;
    }

    .hdl-report-hero2__main {
        grid-template-columns: minmax(0, 1fr) 200px;
        gap: 14px;
        align-items: center;
    }

    .hdl-report-hero2__title {
        font-size: 15pt;
        line-height: 1.1;
    }

    .hdl-report-hero2__address {
        font-size: 9.5pt;
        margin-top: 6px;
    }

    .hdl-report-hero2__pill {
        margin-top: 8px;
        padding: 5px 11px;
        font-size: 9pt;
    }

    .hdl-report-hero2__verdict-caption,
    .hdl-report-hero2__meta {
        font-size: 8pt;
        margin-top: 7px;
    }

    .hdl-report-gauge {
        width: 190px;
    }

    .hdl-report-gauge__center strong {
        font-size: 24pt;
    }

    .hdl-report-hero2__kpis {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin-top: 12px;
        padding-top: 10px;
    }

    .hdl-report-kpi {
        border-color: #b7c7dd;
        border-radius: 8px;
        padding: 8px 9px;
        break-inside: avoid;
    }

    .hdl-report-kpi__value {
        font-size: 11pt;
        margin-top: 5px;
    }

    .hdl-report-kpi__caption { font-size: 7pt; }
    .hdl-report-kpi__delta { font-size: 7pt; }
    .hdl-report-kpi__spark { display: none; }

    .hdl-report-factors { margin-top: 12px; }

    .hdl-report-factor {
        border-color: #b7c7dd;
        border-radius: 8px;
        padding: 5px 9px;
        font-size: 8pt;
    }

    .hdl-report-charts2 {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 10px;
        margin: 12px 0;
    }

    .hdl-report-chart2 {
        border-radius: 9px;
        padding: 11px;
    }

    .hdl-report-chart2__head h3 {
        font-size: 10.5pt;
        margin-bottom: 8px;
    }

    /* Cap chart height so a single chart never dominates a printed page. */
    .hdl-report-chart2__plot .hdl-chart {
        max-height: 2.4in;
    }

    .hdl-report-chart2__caption { font-size: 8pt; margin-top: 8px; }
    .hdl-report-chart2__method { font-size: 7pt; }

    .hdl-chart-axis-y,
    .hdl-chart-axis-x,
    .hdl-chart-annotation-label { font-size: 9px; }

    .hdl-report-verify {
        border-radius: 9px;
        padding: 12px;
        margin: 14px 0;
    }

    .hdl-report-verify__head h2 { font-size: 11pt; }

    .hdl-report-verify__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 10px;
    }

    .hdl-report-verify__item {
        border-color: #b7c7dd;
        border-radius: 8px;
        padding: 9px;
        break-inside: avoid;
    }

    .hdl-report-verify__item strong { font-size: 8.5pt; }
    .hdl-report-verify__item p { font-size: 7.5pt; }

    .hdl-report-verify__mark {
        width: 20px;
        height: 20px;
    }

    .hdl-report-verify__item {
        grid-template-columns: 20px minmax(0, 1fr);
    }

    .hdl-report-verify__mark::after {
        top: 6px;
        left: 5px;
        width: 7px;
        height: 4px;
    }

    /* --- Refined shell pagination ------------------------------------- */
    /* Major report sections start on a fresh page so the printed artifact
       reads like a designed document; cards and charts never split. */
    .hdl-report-charts2,
    .hdl-report-detail-grid {
        break-before: page;
        page-break-before: always;
    }

    .hdl-report-chart2,
    .hdl-report-chart-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .hdl-report-page * {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
}

/* =========================================================================
   Home Decision Lab brand skin

   Signal colors remain semantic; report chrome follows the approved navy and
   gold concepts. Agent-supplied brand variables still take precedence.
   ========================================================================= */

:root {
    --hdl-report-navy: var(--hdl-brand-primary, #0f2438);
    --hdl-report-navy-2: var(--hdl-brand-secondary, #1a3a5c);
    --hdl-report-gold: var(--hdl-brand-accent, #c6a15b);
    --hdl-report-gold-dark: #9b7838;
    --hdl-report-gold-soft: #f7f4ec;
    --hdl-report-bg: #f4f6f8;
    --hdl-report-soft: #f7f9fb;
    --hdl-report-border: #dce3ea;
    --hdl-report-border-strong: #c9d3de;
    --hdl-report-ink: #0f2438;
    --hdl-report-blue: var(--hdl-report-gold);
    --hdl-report-blue-soft: var(--hdl-report-gold-soft);
    --hdl-report-shadow: 0 18px 48px rgba(15, 36, 56, .09);
}

.hdl-report-page {
    background: linear-gradient(180deg, #ffffff 0%, var(--hdl-report-bg) 240px, var(--hdl-report-bg) 100%);
}

.hdl-report-business-banner {
    border-color: color-mix(in srgb, var(--hdl-report-gold) 38%, #ffffff);
    background: linear-gradient(135deg, var(--hdl-report-navy) 0%, var(--hdl-report-navy-2) 100%);
    box-shadow: 0 12px 28px rgba(15, 36, 56, .14);
}

.hdl-report-business-banner span,
.hdl-report-business-banner p,
.hdl-report-business-banner small {
    color: #dbe5ee;
}

.hdl-report-business-banner strong {
    color: var(--hdl-report-gold);
}

.hdl-report-hero2 {
    border-color: color-mix(in srgb, var(--hdl-report-gold) 45%, var(--hdl-report-navy));
    background:
        radial-gradient(110% 150% at 100% 0%, color-mix(in srgb, var(--hdl-report-gold) 19%, transparent) 0%, transparent 52%),
        linear-gradient(135deg, var(--hdl-report-navy) 0%, var(--hdl-report-navy-2) 100%);
    box-shadow: 0 22px 54px rgba(15, 36, 56, .18);
}

.hdl-report-hero2--good,
.hdl-report-hero2--warning,
.hdl-report-hero2--risk,
.hdl-report-hero2--info,
.hdl-report-hero2--neutral {
    border-color: color-mix(in srgb, var(--hdl-report-gold) 50%, var(--hdl-report-navy));
}

.hdl-report-hero2__eyebrow,
.hdl-report-gauge__center em {
    color: var(--hdl-report-gold);
}

.hdl-report-hero2__title,
.hdl-report-hero2__address,
.hdl-report-gauge__center strong {
    color: #ffffff;
}

.hdl-report-hero2__verdict-caption,
.hdl-report-hero2__meta,
.hdl-report-gauge__caption,
.hdl-report-gauge__center span {
    color: #dbe5ee;
}

.hdl-report-hero2__meta span + span::before {
    background: var(--hdl-report-gold);
}

.hdl-report-hero2__kpis {
    border-color: rgba(255, 255, 255, .18);
}

.hdl-report-kpi {
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 10px 24px rgba(5, 18, 31, .14);
}

.hdl-report-gauge__track {
    stroke: rgba(255, 255, 255, .22);
}

.hdl-report-gauge__rim {
    stroke: rgba(255, 255, 255, .4);
}

.hdl-report-gauge__grad-a,
.hdl-report-gauge--warning .hdl-report-gauge__grad-a {
    stop-color: var(--hdl-report-gold);
}

.hdl-report-btn--primary {
    border-color: var(--hdl-report-gold);
    background: var(--hdl-report-gold);
    color: var(--hdl-report-navy);
    box-shadow: 0 10px 22px rgba(155, 120, 56, .24);
}

.hdl-report-btn--primary:hover {
    border-color: var(--hdl-report-gold-dark);
    background: var(--hdl-report-gold-dark);
    color: #ffffff;
}

.hdl-report-btn--outline,
.hdl-report-btn--ghost {
    border-color: color-mix(in srgb, var(--hdl-report-gold) 55%, #ffffff);
    color: var(--hdl-report-navy);
}

.hdl-chart-line--blue,
.hdl-chart-annotation--blue {
    stroke: var(--hdl-report-gold);
}

.hdl-chart-dot--blue {
    fill: var(--hdl-report-gold);
}

.hdl-chart-legend__swatch--blue {
    background: var(--hdl-report-gold);
}

.hdl-report-factor--neutral .hdl-report-factor__dot {
    background: var(--hdl-report-gold);
}

.hdl-report-verify__item--neutral .hdl-report-verify__mark {
    color: var(--hdl-report-gold);
}

@media print {
    .hdl-report-business-banner,
    .hdl-report-hero2 {
        border-color: #b7c7dd;
        background: #ffffff;
        box-shadow: none;
    }

    .hdl-report-business-banner strong,
    .hdl-report-hero2__title,
    .hdl-report-hero2__address,
    .hdl-report-gauge__center strong {
        color: #0f2438;
    }

    .hdl-report-business-banner span,
    .hdl-report-business-banner p,
    .hdl-report-business-banner small,
    .hdl-report-hero2__verdict-caption,
    .hdl-report-hero2__meta,
    .hdl-report-gauge__caption,
    .hdl-report-gauge__center span {
        color: #475569;
    }
}
