* { box-sizing: border-box; }
:root {
    --navy: #163451;
    --navy-deep: #10263d;
    --blue: #2e6594;
    --blue-soft: #eaf2f9;
    --green: #2d7258;
    --ink: #203040;
    --muted: #687887;
    --line: #dce4eb;
    --surface: #ffffff;
    --page: #f3f6f9;
}
body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}
.topbar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px max(22px, calc((100vw - 1180px) / 2));
    background: var(--navy-deep);
    color: white;
}
.brand-mark {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border: 0;
    border-radius: 0;
    display: block;
    background-image: url("../images/shcf-logo.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    font-size: 0;
    color: transparent;
    letter-spacing: 0;
}
.eyebrow {
    margin: 0 0 4px;
    text-transform: uppercase;
    letter-spacing: .11em;
    font-size: .72rem;
    font-weight: 700;
    opacity: .78;
}
.topbar h1 { margin: 0; font-size: clamp(1.35rem, 3vw, 1.9rem); letter-spacing: .03em; }
.layout { width: min(1180px, calc(100% - 36px)); margin: 30px auto 48px; }
.welcome {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 25px 28px;
    margin-bottom: 22px;
    box-shadow: 0 4px 18px rgba(22, 52, 81, .04);
}
.welcome .eyebrow { color: var(--blue); opacity: 1; }
.welcome h2 { margin: 0 0 5px; font-size: 1.55rem; }
.welcome p:last-child { margin: 0; color: var(--muted); }
.welcome-badge {
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--navy);
    padding: 8px 13px;
    font-size: .82rem;
    font-weight: 700;
}
.menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.menu-card {
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(22, 52, 81, .035);
}
.menu-card.priority { border-top: 4px solid var(--green); }
.menu-heading {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 13px;
    border: 0;
    background: transparent;
    padding: 19px;
    text-align: left;
    color: var(--ink);
    cursor: pointer;
}
.menu-heading:hover, .menu-heading[aria-expanded="true"] { background: #f8fafc; }
.menu-heading:focus-visible, .submenu a:focus-visible { outline: 3px solid #77aee0; outline-offset: -3px; }
.menu-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--blue-soft);
    color: var(--navy);
    font-size: 1.15rem;
    font-weight: 800;
}
.priority .menu-icon { background: #e7f4ed; color: var(--green); }
.menu-heading-text { display: grid; gap: 2px; flex: 1; }
.menu-heading-text strong { font-size: 1rem; letter-spacing: .025em; }
.menu-heading-text small { color: var(--muted); font-size: .78rem; }
.chevron { color: var(--muted); font-size: 1.3rem; transition: transform .15s ease; }
.menu-heading[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.submenu { padding: 0 16px 15px 76px; }
.submenu a {
    display: block;
    padding: 9px 10px;
    margin-top: 3px;
    border-radius: 8px;
    text-decoration: none;
    color: #244c70;
    font-size: .94rem;
}
.submenu a:hover { background: var(--blue-soft); color: var(--navy-deep); }
.note { margin: 20px 2px 0; color: var(--muted); font-size: .88rem; }
.footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px max(22px, calc((100vw - 1180px) / 2));
    background: #e8edf2;
    color: #586979;
    font-size: .8rem;
}
@media (max-width: 720px) {
    .topbar { padding: 18px; }
    .layout { width: min(100% - 24px, 560px); margin-top: 18px; }
    .welcome { align-items: flex-start; flex-direction: column; padding: 20px; }
    .menu-grid { grid-template-columns: 1fr; gap: 12px; }
    .menu-heading { padding: 16px; }
    .submenu { padding-left: 66px; }
    .footer { padding: 16px 18px; }
}
