:root {
    --pnr-red: #b5222b;
    --pnr-dark-red: #800e18;
    --pnr-border: #bf2631;
    --pnr-page: #eee;
    --pnr-text: #202020;
    --pnr-quote: #faf9f6;
    --pnr-technical: #ededed;
    --pnr-section-band: #555;
    --pnr-radius: 12px;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--pnr-page);
    color: var(--pnr-text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 1.05rem;
    line-height: 1.55;
}
.pnr-site {
    width: calc(100% - 2rem);
    margin: 1.5rem auto;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}
/* Tablet: wider reading area. Desktop: centre half of the viewport. */
@media (min-width: 768px) { .pnr-site { width: 80%; } }
@media (min-width: 1200px) { .pnr-site { width: 50%; } }

.pnr-header, .pnr-navigation, .pnr-footer, .pnr-disclaimer {
    background: var(--pnr-red);
    color: #fff;
    border-radius: var(--pnr-radius);
}
.pnr-header { text-align: center; padding: 1rem 1.25rem; }
.pnr-brand {
    display: inline-block;
    color: #fff;
    font-size: clamp(1.85rem, 3vw, 3rem);
    font-weight: bold;
    line-height: 1.2;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.pnr-brand:hover { color: #fff; }
.pnr-logo { display: block; max-width: 100%; max-height: 100px; height: auto; }

.pnr-navigation {
    padding: .75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem 1rem;
}
.pnr-menu, .pnr-footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem 1rem;
}
.pnr-menu a, .pnr-footer a {
    display: inline-block;
    padding: .3rem .1rem;
    color: #fff;
    text-decoration: none;
}
.pnr-menu a:hover, .pnr-menu a[aria-current='page'], .pnr-footer a:hover {
    text-decoration: underline;
    text-underline-offset: .2em;
}
.pnr-search {
    margin-left: auto;
    display: flex;
    gap: .5rem;
    flex: 0 1 18rem;
    min-width: 0;
}
.pnr-search input {
    width: 100%;
    min-width: 0;
    flex: 1 1 auto;
    font-family: inherit;
    font-size: .85rem;
}
.pnr-search button { flex: 0 0 auto; font-weight: bold; }
@media (max-width: 575.98px) {
    .pnr-search { flex-basis: 100%; margin-left: 0; }
    .pnr-menu { justify-content: space-between; width: 100%; }
}

.pnr-content {
    background: #fff;
    border: 2px solid var(--pnr-border);
    border-radius: var(--pnr-radius);
    min-width: 0;
}
.pnr-title-band {
    padding: 1rem 1.5rem;
    background: var(--pnr-dark-red);
    color: #fff;
    border-radius: calc(var(--pnr-radius) - 2px) calc(var(--pnr-radius) - 2px) 0 0;
}
.pnr-title-band h1 {
    margin: 0;
    font-family: inherit;
    font-size: clamp(1.45rem, 2vw, 2.15rem);
    font-weight: bold;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.pnr-content-body { padding: 1.25rem 1.5rem 1.5rem; overflow-wrap: anywhere; }
.pnr-content-body > :last-child { margin-bottom: 0; }
.pnr-content-body a { color: var(--pnr-dark-red); text-underline-offset: .15em; }
.pnr-content-body h2, .pnr-content-body h3 { font-family: inherit; font-weight: bold; }
.pnr-report-category { color: var(--pnr-dark-red); font-size: 1.2rem; font-weight: bold; margin-bottom: .2rem; }
.pnr-report-source { font-size: .95rem; margin-bottom: 1rem; }

.pnr-section {
    margin: 1.2rem 0;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    min-width: 0;
}
.pnr-section-band {
    color: #fff;
    background: var(--pnr-section-band);
    padding: .6rem 1rem;
    border-radius: 7px 7px 0 0;
}
.pnr-section-band h2, .pnr-section-band h3,
.pnr-section-band h4, .pnr-section-band h5, .pnr-section-band h6 {
    margin: 0;
    font-family: inherit;
    font-size: 1.15rem;
    line-height: 1.3;
    font-weight: bold;
}
.pnr-section-body { padding: 1rem; border-radius: 0 0 7px 7px; }
.pnr-section-body > :last-child { margin-bottom: 0; }
.pnr-section--quote .pnr-section-body { background: var(--pnr-quote); }
.pnr-section--technical .pnr-section-body { background: var(--pnr-technical); }
.pnr-quote-text, .pnr-technical-text {
    margin: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    tab-size: 4;
}
.pnr-technical-text {
    font-family: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', monospace;
    font-size: .85rem;
    line-height: 1.5;
}
.pnr-content-body img { max-width: 100%; height: auto; }
.pnr-content-body ul, .pnr-content-body ol { padding-left: 1.5rem; }

.pnr-at-a-glance {
    display: grid;
    grid-template-columns: minmax(9rem, 30%) minmax(0, 1fr);
    gap: .6rem 1rem;
    margin: 0;
}
.pnr-at-a-glance dt { font-weight: 600; }
.pnr-at-a-glance dd { margin: 0; min-width: 0; }
.pnr-content-body .pnr-summary-values { list-style: none; padding: 0; margin: 0; }
.pnr-summary-values li + li { margin-top: .4rem; }
.pnr-related-count { color: #606060; font-size: .88rem; }
.pnr-related-count a { white-space: nowrap; }
.pnr-report-quote { margin: 0; }
.pnr-preserved-text, .pnr-literal { white-space: pre-wrap; tab-size: 4; overflow-wrap: anywhere; }
.pnr-technical-body {
    font-family: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', monospace;
    font-size: .85rem;
    line-height: 1.5;
}
.pnr-align-left { text-align: left; }
.pnr-align-right { text-align: right; }
.pnr-align-center { text-align: center; }
.pnr-report-image { display: inline-block; margin: .5rem 0; }
.pnr-report-body > h2 { margin-top: 1.5rem; font-size: 1.4rem; }
.pnr-report-body > h3 { margin-top: 1.2rem; font-size: 1.2rem; }
.pnr-number-report + .pnr-number-report {
    border-top: 1px solid #ddd;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
}
.pnr-number-report h3 {
    color: var(--pnr-dark-red);
    font-size: 1.15rem;
    line-height: 1.4;
    margin: 0 0 .4rem;
}
.pnr-number-report-meta { color: #606060; font-size: .88rem; margin-bottom: .75rem; }
.pnr-number-report-link { margin-bottom: 0; font-weight: 600; }
@media (max-width: 575.98px) {
    .pnr-at-a-glance { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
    .pnr-at-a-glance dd { margin-bottom: .65rem; }
}

.pnr-footer {
    padding: .65rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem 1rem;
    font-size: .9rem;
}
.pnr-footer small { font-size: .85rem; }
.pnr-disclaimer { padding: .65rem 1rem; font-size: .85rem; line-height: 1.5; }
.pnr-disclaimer p { margin: 0; }
.pnr-skip-link { position: absolute; top: -10rem; left: 1rem; padding: .5rem 1rem; background: #fff; color: #800e18; z-index: 10; }
.pnr-skip-link:focus { top: .5rem; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #e5a100; outline-offset: 3px; }
@media (max-width: 575.98px) {
    .pnr-site { margin-top: 1rem; gap: .85rem; }
    .pnr-title-band, .pnr-content-body { padding: 1rem; }
    .pnr-footer { justify-content: center; text-align: center; }
}
