</style> body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
    padding: 0;
    background: #0b1120;
    color: #e5e7eb;
}

/* ✅ Header responsivo (quebra no mobile) */ header {
    position: sticky;
    top: 0;
    z-index: 20;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 12px;

    padding: 10px 16px;
    background: linear-gradient(180deg,#020617,#020617);
    border-bottom: 1px solid rgba(30,41,59,.9);
    box-shadow: 0 10px 30px rgba(0,0,0,.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* lado esquerdo */ header .left {
    display:flex;
    align-items:center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

/* logo/imagem */ header .brand {
    display:flex;
    align-items:center;
    gap: 10px;
    min-width: 0;
}

header .brand img {
    height: 40px;
    width: auto;
    display:block;
}

/* badge “editando aluno” */ .impersonation-badge {
    font-size: 12px;
    color: rgba(250,204,21,.95);
    white-space: nowrap;
}

/* form do select */ header .row-inline {
    display:flex;
    align-items:center;
    gap: 10px;
    margin: 0;
}

/* lado direito */ header .user {
    display:flex;
    align-items:center;
    gap: 10px;
    font-size: 13px;
    min-width: 0;
}

header .user img {
    width: 34px;
    height: 34px;
    border-radius: 0;
    border: 1px solid rgba(56,189,248,.8);
    object-fit: cover;
    background: #020617;
}

header .user .who {
    display:flex;
    flex-direction:column;
    gap: 2px;
    min-width: 0;
}

header .user .who strong {
    max-width: 70vw;
}

header a.logout {
    color: rgba(248,113,113,.95);
    text-decoration:none;
    font-size: 12px;
}

header a.logout:hover {
    text-decoration: underline;
}

/* ✅ Mobile: empilha tudo (um abaixo do outro) */ @media (max-width: 820px) {
    header{
    flex-direction: column;
    align-items: stretch;
}

header .left {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
}

header .row-inline {
    width: 100%;
}

header .row-inline select {
    width: 100%;
}

.impersonation-badge {
    white-space: normal;
}

header .user {
    width: 100%;
    justify-content: space-between;
}

} .site-menu {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.site-menu a {
    color: #e5e7eb;
    text-decoration: none;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.4);
    font-size: 0.9rem;
}

.site-menu a:hover {
    background: rgba(56,189,248,0.12);
    border-color: #38bdf8;
}

main {
    padding: 20px;
    background-color: #fff;
    margin: 20px;
    border-radius: 8px;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
    position: fixed;
    width: 100%;
    bottom: 0;
}

h1 {
    color: blue;
}

<style> /* CSS existente */ body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

nav {
    display: flex;
    justify-content: center;
    background-color: #444;
    padding: 10px 0;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}

/* Novo estilo para o h1 */ h1 {
    color: blue;
}