/* 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: #f6f9fe;
    --hdl-report-surface: #ffffff;
    --hdl-report-soft: #f8fbff;
    --hdl-report-border: #dce6f4;
    --hdl-report-border-strong: #c8d7eb;
    --hdl-report-ink: #071434;
    --hdl-report-muted: #64748b;
    --hdl-report-blue: #2563eb;
    --hdl-report-blue-soft: #eff6ff;
    --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 50px rgba(15, 23, 42, .07);
}

.hdl-report-page {
    min-height: calc(100vh - 80px);
    background:
        linear-gradient(180deg, #ffffff 0%, var(--hdl-report-bg) 220px, var(--hdl-report-bg) 100%);
    color: var(--hdl-report-ink);
    padding: 28px 0 96px;
}

.hdl-report-shell {
    width: min(100% - 40px, 1200px);
    margin: 0 auto;
}

.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 {
    display: none;
}

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

.hdl-report-print-mode .site-header,
.hdl-report-print-mode .site-footer,
.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-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 {
    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-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;
    }
}

@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,
    .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,
    .hdl-newsletter,
    .newsletter,
    .consent-banner,
    .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;
    }

    .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 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-card,
    .hdl-report-metric {
        box-shadow: none;
        border-color: #b7c7dd;
        background: #fff;
        break-inside: avoid;
        page-break-inside: avoid;
    }

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

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

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