/* The approved centred result-reading panel; assessment reports remain untouched. */
html[data-palette] .result-reading {
    display: block;
    margin: 1rem 0;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--site-color-border);
    border-radius: 16px;
    background: var(--site-color-surface);
    color: var(--site-color-text);
    text-align: center;
}
html[data-palette] .result-reading .result-reading__eyebrow {
    margin: 0 0 .75rem;
    color: var(--site-color-accent-text) !important;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}
html[data-palette] .result-reading h2 {
    margin: 0;
    color: var(--site-color-heading);
    font-family: var(--font-heading, Georgia, serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.2;
    text-align: center;
}
html[data-palette] .result-reading .result-reading__copy,
html[data-palette] .result-reading .result-reading__note {
    max-width: 760px;
    margin: 0 auto;
    color: var(--site-color-muted) !important;
    font-size: 1rem;
    line-height: 1.58;
    text-align: center;
}
html[data-palette] .result-reading .result-reading__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
    margin-top: 1rem;
}
html[data-palette] body .site-main .result-reading a.result-reading__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    max-width: 100%;
    padding: .7rem 1.15rem;
    border: 1px solid var(--site-color-border);
    border-radius: 10px;
    background: var(--site-color-surface);
    color: var(--site-color-text) !important;
    font: inherit;
    font-weight: 800;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
}
html[data-palette] body .site-main .result-reading a.result-reading__link:is(:hover, :focus-visible) {
    border-color: var(--site-color-accent-primary);
}
html[data-palette] body .site-main .result-reading a.result-reading__link:focus-visible {
    outline: 2px solid var(--site-color-focus);
    outline-offset: 3px;
}
html[data-palette] body .site-main .result-reading a.result-reading__link.is-primary {
    border-color: var(--site-color-accent-primary);
    background: var(--site-color-accent-primary);
    color: var(--site-color-on-accent) !important;
}
html[data-palette] body .site-main .result-reading a.result-reading__link.is-primary:is(:hover, :focus-visible) {
    border-color: var(--site-color-accent-hover);
    background: var(--site-color-accent-hover);
}
html[data-palette] .result-reading .result-reading__note {
    margin-top: .85rem;
    font-size: .85rem;
}
@media (max-width: 480px) {
    html[data-palette] .result-reading .result-reading__actions { flex-direction: column; }
}
@media print {
    .result-reading { display: none !important; }
}
