:root {
    --ink: #17202a;
    --muted: #657180;
    --navy: #263d56;
    --navy-light: #36536f;
    --coral: #ef766f;
    --canvas: #edf1f4;
    --surface: #ffffff;
    --line: #d6dde3;
    color: var(--ink);
    font-family: "Avenir Next", "Gill Sans", sans-serif;
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

body {
    min-width: 320px;
    margin: 0;
    background-color: var(--canvas);
    background-image: linear-gradient(rgba(38, 61, 86, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(38, 61, 86, 0.035) 1px, transparent 1px);
    background-size: 32px 32px;
}

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.skip-link {
    position: fixed;
    z-index: 20;
    top: 8px;
    left: 8px;
    padding: 10px 14px;
    color: #fff;
    background: var(--navy);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.portal-header {
    color: #fff;
    background: var(--navy);
    border-bottom: 4px solid var(--coral);
}

.portal-header__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
    width: min(100%, 1800px);
    min-height: 88px;
    margin: 0 auto;
    padding: 16px clamp(20px, 4vw, 64px);
}

.portal-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.portal-brand__mark {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: var(--navy);
    background: var(--coral);
    font-family: "DIN Alternate", "Avenir Next", sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
}

.portal-brand__name {
    display: grid;
    gap: 2px;
}

.portal-brand__name small {
    color: #cdd9e1;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.portal-brand__name strong {
    font-family: "DIN Alternate", "Avenir Next", sans-serif;
    font-size: 1.05rem;
}

.portal-navigation {
    display: flex;
    align-items: stretch;
    gap: 4px;
    min-width: 0;
    overflow-x: auto;
}

.portal-navigation a {
    padding: 11px 13px;
    color: #dfe7ed;
    border-bottom: 2px solid transparent;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.portal-navigation a:hover,
.portal-navigation a:focus-visible,
.portal-navigation a[aria-current="page"] {
    color: #fff;
    border-bottom-color: var(--coral);
}

.portal-account {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 12px;
}

.portal-account form {
    margin: 0;
}

.portal-account__name {
    max-width: 220px;
    overflow: hidden;
    color: #dfe7ed;
    font-size: 0.78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portal-button {
    display: inline-grid;
    min-height: 40px;
    padding: 0 16px;
    place-items: center;
    color: #fff;
    background: var(--navy-light);
    border: 1px solid #8ea0af;
    border-radius: 4px;
    cursor: pointer;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 750;
    text-decoration: none;
}

.portal-button:hover,
.portal-button:focus-visible {
    background: #416782;
}

.portal-button--quiet {
    background: transparent;
}

.portal-main {
    width: min(100%, 1240px);
    margin: 0 auto;
    padding: 48px clamp(20px, 4vw, 64px) 72px;
}

.portal-eyebrow {
    margin: 0 0 7px;
    color: #c9504e;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.welcome {
    max-width: 880px;
    padding: clamp(36px, 7vw, 80px) 0;
    border-bottom: 1px solid var(--line);
}

.welcome h1 {
    max-width: 760px;
    margin: 0 0 18px;
    font-family: "DIN Alternate", "Avenir Next", sans-serif;
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    line-height: 0.98;
}

.welcome > p:last-child {
    max-width: 650px;
    margin: 0;
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

.report-directory {
    padding-top: 36px;
}

.section-heading h2 {
    margin: 0 0 22px;
    font-family: "DIN Alternate", "Avenir Next", sans-serif;
    font-size: 1.7rem;
}

.report-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.report-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    padding: 16px 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 4px solid var(--coral);
    border-radius: 4px;
    font-weight: 750;
    text-decoration: none;
}

.report-list a:hover,
.report-list a:focus-visible {
    border-color: var(--navy-light);
}

.portal-notice {
    color: var(--muted);
}

.sign-in-prompt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 0;
}

.sign-in-prompt p {
    margin: 0;
    color: var(--muted);
}

@media (max-width: 900px) {
    .portal-header__inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px 20px;
    }

    .portal-navigation {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media (max-width: 560px) {
    .portal-header__inner {
        padding: 14px 16px;
    }

    .portal-brand__name small,
    .portal-account__name {
        display: none;
    }

    .portal-brand__mark {
        width: 42px;
        height: 42px;
    }

    .portal-main {
        padding: 30px 16px 52px;
    }

    .welcome {
        padding: 36px 0 46px;
    }

    .welcome h1 {
        font-size: 2.5rem;
    }

    .sign-in-prompt {
        align-items: start;
        flex-direction: column;
    }
}