.gml-portal {
    --night:#102832; --green:#145541; --muted:#4c635c; --light:#f0f5ef;
    --line:#d4e2d8; --gold:#f8c94b;
    box-sizing:border-box; max-width:1200px; margin:24px auto; color:var(--night);
    font:16px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif;
}
.gml-portal *, .gml-portal *::before, .gml-portal *::after {box-sizing:border-box}
.gml-portal :is(h2,h3,p) {margin:0 0 .75rem}
.gml-portal h2 {font-size:clamp(1.65rem,4vw,2.8rem);letter-spacing:-.049em;line-height:1.09;color:inherit}
.gml-portal h3 {font-size:1.3rem;color:inherit}
.gml-portal a:focus-visible,.gml-portal button:focus-visible,.gml-portal input:focus-visible {outline:3px solid #a56c00;outline-offset:4px}
.gml-header {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px clamp(15px,3vw,36px);background:#fff;border:1px solid var(--line);border-radius:14px 14px 0 0}
.gml-header img {display:block;width:clamp(160px,42vw,280px);height:auto}
.gml-header a,.gml-back {font-weight:750;color:var(--green)}
.gml-hero {position:relative;display:grid;align-items:end;isolation:isolate;min-height:clamp(270px,42vw,480px);background:var(--night);color:#fff;overflow:hidden;border-radius:0 0 14px 14px}
.gml-hero img,.gml-hero::after {position:absolute;inset:0;width:100%;height:100%;z-index:-1}
.gml-hero img {object-fit:cover;object-position:64% center}
.gml-hero::after {content:"";background:linear-gradient(0deg,#071d25ea 0%,#0b25335c 53%,transparent 77%)}
.gml-hero > div {padding:clamp(20px,5vw,52px)}
.gml-kicker {font-weight:800;letter-spacing:.11em;text-transform:uppercase;font-size:.73rem;color:var(--green)}
.gml-hero .gml-kicker {color:var(--gold)}
.gml-card {background:#fff;border:1px solid var(--line);border-radius:14px;margin:18px 0;padding:clamp(18px,4vw,40px)}
.gml-content {max-width:840px;margin-inline:auto}
.gml-content .gml-kicker {margin-top:1.05rem}
.gml-course-header {display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.gml-notice {padding:12px 16px;background:#fff6d9;border-left:4px solid #996600;margin:14px 0!important}
.gml-button,.gml-portal button.gml-button {appearance:none;display:inline-flex;min-height:46px;align-items:center;padding:11px 17px;border:1px solid transparent;border-radius:7px;background:var(--gold);color:var(--night);font:inherit;font-weight:800;text-decoration:none;cursor:pointer}
.gml-portal .gml-button:hover {background:#ffdc7d}
.gml-form {margin:0}
.gml-form label[for=gml-pin] {display:block;font-weight:700;margin-bottom:7px}
.gml-portal .gml-pin {display:block;width:9rem;border:1px solid #668077;border-radius:6px;background:#fff;color:var(--night);padding:9px 11px;margin-bottom:15px}
.gml-portal progress {width:100%;height:13px;accent-color:var(--green)}
.gml-timeline {padding:0;margin:15px 0 22px;list-style:none;counter-reset:gml-module}
.gml-timeline li {display:grid;grid-template-columns:2.15rem minmax(0,1fr) auto;align-items:center;gap:11px;padding:13px 0;border-top:1px solid var(--line);counter-increment:gml-module}
.gml-timeline li::before {content:counter(gml-module,decimal-leading-zero);color:var(--green);font-weight:800}
.gml-timeline small {display:block;color:var(--muted)}
.gml-tag,.gml-lessons a,.gml-lessons span {padding:5px 10px;border-radius:6px;background:var(--light);color:var(--green);font-size:.83rem;font-weight:750}
.gml-locked,.gml-lessons span {color:#4f5754;background:#f1f1f1}
.gml-lessons {display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 22px}
.gml-lessons a[aria-current=page] {background:var(--green);color:#fff}
.gml-apostila p,.gml-content > p {max-width:75ch}
.gml-question {border:1px solid var(--line);border-radius:9px;margin:1.25rem 0;padding:10px 14px;min-inline-size:0}
.gml-question legend {font-weight:780;padding:0 5px}
.gml-question label {display:flex;align-items:flex-start;gap:8px;padding:6px 0;cursor:pointer}
.gml-question input {margin-top:.35rem;accent-color:var(--green);flex:none}
.gml-splash:not([open]) {display:none}
.gml-splash {width:min(960px,95vw);max-height:90vh;padding:0;border:0;border-radius:15px;color:#fff;background:var(--night);overflow:auto}
.gml-splash::backdrop {background:#051316bf}
.gml-splash img {display:block;width:100%;height:auto}
.gml-splash > div {padding:clamp(16px,3vw,28px);background:var(--night)}
.gml-splash > div > p {color:var(--gold);text-transform:uppercase;font-size:.8rem;font-weight:800;letter-spacing:.13em}
@media(max-width:510px) {
    .gml-timeline li {grid-template-columns:1.6rem minmax(0,1fr)}
    .gml-timeline .gml-tag {grid-column:2;width:fit-content}
}


.gml-account {display:flex;align-items:center;justify-content:flex-end;gap:8px 18px;flex-wrap:wrap}
.gml-registration {display:grid;gap:8px;max-width:34rem;margin-top:1.2rem}
.gml-registration label {font-weight:750}
.gml-portal .gml-registration input {width:100%;min-height:44px;border:1px solid #668077;border-radius:6px;background:#fff;color:var(--night);padding:9px 11px;margin-bottom:8px}
.gml-registration .gml-button {justify-self:start}
.gml-access {padding:14px 16px;margin:14px 0;border:1px solid var(--line);border-radius:8px;background:var(--light)}
.gml-access p:last-child,.gml-notice p:last-child {margin-bottom:0}
