@font-face {
  font-family: "Fixedsys Excelsior";
  src: url("fixedsys-excelsior.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: "Fixedsys Excelsior", Fixedsys, Consolas, "Liberation Mono", monospace;
  font-variant-ligatures: none;
  color: #d5f7e3;
  background: #050a07;
  --green: #80e6ac;
  --muted: #a3c8b1;
  --border: #315b44;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: repeating-linear-gradient(0deg, #0002 0 1px, transparent 1px 4px),
    radial-gradient(ellipse at 50% 12%, #0d271a 0, #050a07 72%);
  line-height: 1.55;
}

main { width: min(100% - 2rem, 42rem); margin: 0 auto; padding: clamp(1.5rem, 5vw, 3.5rem) 0 3rem; }
.brand { display: flex; justify-content: center; margin-bottom: 1rem; }
.brand img { display: block; width: min(12rem, 55vw); height: auto; }
.panel {
  padding: clamp(1rem, 3.5vw, 1.65rem);
  border: 1px solid var(--border);
  border-radius: .55rem;
  background: #0b1911e8;
  box-shadow: 0 0 2rem #38bd7610;
}

h1 { margin: 0 0 .85rem; font-size: clamp(1.35rem, 5vw, 1.65rem); line-height: 1.3; }
.intro { color: var(--muted); }
a, summary { color: var(--green); overflow-wrap: anywhere; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.turmas, .downloads { padding-left: 1.5rem; }
.turmas li, .downloads li { margin: .35rem 0; }
details { margin: .65rem 0; border: 1px solid var(--border); border-radius: .35rem; background: #070f0a; }
summary { padding: .75rem; cursor: pointer; font-weight: 700; }
summary:hover { background: #10241a; }
details > p, details > form { margin: 0; padding: .35rem .75rem .9rem; }
form, label { display: grid; gap: .75rem; min-width: 0; }
label { gap: .25rem; }
input, select, button { min-width: 0; padding: .55rem; border: 1px solid var(--border); border-radius: .3rem; font: inherit; }
input, select { width: 100%; background: #050a07; }
button { justify-self: start; background: #163822; color: var(--green); cursor: pointer; }
.acoes { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; margin-top: 1rem; }
.link-acesso { text-decoration: none; }
.link-acesso:hover { color: #d5f7e3; }
.campo-senha { display: grid; gap: .25rem; }
.controle-senha { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; }
.erro { color: #ffaba4; }
.sucesso { color: var(--green); }
