@font-face {
    font-family: Manrope;
    src: url("assets/manrope-latin.woff2") format("woff2");
    font-weight: 400 800;
    font-display: swap;
}

:root {
    color-scheme: light;
    font: 400 1rem/1.55 Manrope, system-ui, sans-serif;
    color: #103149;
    background: #f4f9fb;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }

.staff-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1.5rem;
    flex-wrap: wrap;
    padding: .8rem max(1.25rem, calc((100% - 68rem) / 2));
    background: #fff;
    border-bottom: 1px solid #d8e6ed;
}

.staff-brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    color: inherit;
    font-weight: 800;
    text-decoration: none;
}

.staff-brand img { display: block; }
.staff-home { color: #164b65; font-size: .875rem; font-weight: 700; }

.staff-main { margin: 0 auto; max-width: 56rem; padding: clamp(2rem, 6vw, 5rem) 1.25rem; }
.staff-main h1, .staff-main h2 { margin: 0; line-height: 1.14; }
.staff-main h1 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -.035em; }
.staff-main h2 { font-size: 1.24rem; }
.staff-main p { margin: .75rem 0 1.25rem; color: #365269; }
.staff-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

.staff-login, .staff-document {
    padding: clamp(1.2rem, 4vw, 2rem);
    border: 1px solid #d8e6ed;
    border-radius: 1rem;
    background: #fff;
}

.staff-login { margin: 0 auto; max-width: 30rem; }
.staff-login label { display: block; font-weight: 800; }
.staff-login input { display: block; width: 100%; margin: .35rem 0 1.25rem; border: 1px solid #829eb0; border-radius: .5rem; padding: .65rem .75rem; font: inherit; }
.staff-main .staff-error { color: #8a193e; font-weight: 800; }

.staff-documents { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1rem; }
.staff-document { display: flex; flex-direction: column; }
.staff-document form { margin-top: auto; }

.staff-button, .staff-secondary {
    display: inline-block;
    border: 1px solid #103149;
    border-radius: .55rem;
    padding: .6rem .95rem;
    background: #103149;
    color: #fff;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.staff-button:hover { background: #701238; border-color: #701238; }
.staff-secondary { color: #103149; background: transparent; }
:focus-visible { outline: 3px solid #a72152; outline-offset: 3px; }
