.student-page { min-height: 100vh; }
.student-top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 68px; padding: 12px max(24px, calc((100% - 1120px) / 2));
  background: var(--ink); color: var(--on-dark);
}
.student-top .brand { margin: 0; }
.student-top > .btn { background: var(--ink-3); color: var(--on-dark); border-color: var(--on-dark-muted); }
.student-main { max-width: 1168px; margin: 0 auto; padding: 32px 24px 48px; }
.student-page :where(h1, h2, h3) { font-family: var(--font-display); line-height: 1.15; }
.student-page :where(h1) { font-size: clamp(2.25rem, 6vw, 4.4rem); letter-spacing: -.055em; overflow-wrap: anywhere; }
.student-page h2 { font-size: clamp(1.35rem, 3.3vw, 1.8rem); letter-spacing: -.029em; }
.student-page h3 { font-size: 1.1rem; letter-spacing: -.014em; overflow-wrap: anywhere; }
.student-page p { line-height: 1.5; }
.student-page small { line-height: 1.45; }
.student-muted, .student-empty { color: var(--muted); }
.student-empty { padding: 8px 0; }
.student-hero {
  min-height: 235px; display: grid; align-content: end; gap: 12px; padding: clamp(24px, 6vw, 54px);
  background: linear-gradient(90deg, rgb(10 18 14 / .95), rgb(10 18 14 / .54) 62%, rgb(10 18 14 / .32)),
    var(--ink-3) url('/login-arena.webp') center 57% / cover no-repeat;
  color: var(--on-dark); border-radius: 20px;
}
.student-hero p { max-width: 42ch; }
.student-section { display: grid; gap: 14px; }
.student-hero + .student-section, .student-section + .student-section { margin-top: 26px; }
.student-arena-grid, .student-plan-grid, .student-court-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 238px), 1fr)); gap: 12px;
}
.student-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: clamp(16px, 3.5vw, 26px); box-shadow: var(--shadow-card); }
.student-arena-card { display: grid; gap: 12px; justify-items: start; }
.student-arena-mark {
  display: grid; place-items: center; width: 44px; height: 44px;
  color: var(--ink); background: var(--lime-tint); border-radius: 12px;
  font-weight: 700; letter-spacing: .04em;
}
.student-arena-head { display: grid; gap: 12px; margin-block: 4px 24px; }
.student-page .student-arena-head button { justify-self: start; padding-inline: 0; }
.student-nav {
  display: flex; width: fit-content; max-width: 100%; flex-wrap: wrap; gap: 4px;
  padding: 4px; margin-bottom: 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--sand);
}
.student-nav button {
  min-height: 40px; padding: 7px 13px; border: 0; border-radius: 8px;
  background: transparent; color: var(--muted); font-weight: 600;
}
.student-nav button:hover { background: var(--surface); color: var(--ink); }
.student-nav button[aria-current] { background: var(--ink-3); color: var(--on-dark); }
.student-view > .student-card + .student-card { margin-top: 12px; }
.student-card > .btn { justify-self: start; }
.student-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--muted); }
.student-badge {
  display: inline-flex; align-items: center; padding: 4px 9px; border-radius: var(--r-pill);
  background: var(--block-bg); color: var(--block); white-space: nowrap; font-size: .77rem; font-weight: 700;
}
.student-badge[data-status="ok"], .student-badge[data-status="paid"] { background: var(--paid-bg); color: var(--paid-ink); }
.student-badge[data-status="pending"], .student-badge[data-status="awaiting_card"] { background: var(--pend-bg); color: var(--pend-ink); }
.student-badge[data-status="blocked"], .student-badge[data-status="declined"], .student-badge[data-status="late"] { background: var(--danger-bg); color: var(--danger); }
.student-rows { margin: 0; padding: 0; list-style: none; }
.student-rows li {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 9px 14px; padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
}
.student-rows li:last-child { border-bottom: 0; }
.student-rows li small { display: block; margin-top: 3px; color: var(--muted); }
.student-row-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.student-date { max-width: 216px; }
.student-court { background: var(--canvas); border: 1px solid var(--border); padding: 16px; border-radius: 12px; }
.student-court h3 + p { margin-top: 4px; }
.student-slots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.student-plan { display: grid; gap: 7px; align-content: start; }
.student-plan .btn { justify-self: start; margin-top: 6px; }
.student-profile { display: grid; gap: 14px; max-width: 560px; }
.student-profile .btn { justify-self: start; }
.student-page .field input, .student-page .field select { max-width: 100%; min-width: 0; }

.student-notice { padding: 12px 14px; margin-bottom: 14px; border-radius: 10px; background: var(--paid-bg); color: var(--paid-ink); }
.student-notice.is-error { background: var(--danger-bg); color: var(--danger); }
.student-dialog {
  width: min(calc(100% - 32px), 540px); max-height: min(calc(100dvh - 32px), 760px); margin: auto;
  border: 1px solid var(--border); border-radius: 18px; padding: clamp(16px, 5vw, 26px);
  background: var(--surface); color: var(--text); box-shadow: var(--shadow-pop);
}
.student-dialog::backdrop { background: rgb(10 18 14 / .66); }
.student-dialog form { display: grid; gap: 14px; }
.student-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.student-dialog-head .btn { flex-shrink: 0; }
.student-dialog h2 { overflow-wrap: anywhere; padding-top: 5px; }
.student-dialog .student-notice { margin: 0; }
.student-dialog fieldset { min-width: 0; margin: 0; padding: 10px; border: 1px solid var(--border); border-radius: 10px; }
.student-weekly { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.student-checkbox { display: flex; align-items: center; gap: 7px; min-height: 38px; }

@media (max-width: 640px) {
  .student-top { min-height: 62px; padding-inline: 16px; }
  .student-main { padding: 16px 16px 32px; }
  .student-nav { width: 100%; }
  .student-nav button { flex: 1 1 auto; }
}
@media (max-width: 420px) {
  .student-weekly { grid-template-columns: 1fr; }
}

/* Portal do aluno */
.student-page {
  --student-green: #166348;
  --student-mist: #e6f2eb;
  --student-line: #dce5de;
  background: #f3f6f2;
}
.student-page .btn:not(.login-submit) { border-color: #cedbd2; border-radius: 10px; }
.student-page .btn.primary { background: var(--student-green); border-color: var(--student-green); color: white; }
.student-page .btn.primary:hover { background: #104e39; border-color: #104e39; }
.student-page .btn.link { border-color: transparent; color: var(--student-green); }
.student-page .student-top > .btn { border-color: rgb(255 255 255 / .26); }
.student-page .student-top .student-mobile-signout { background: var(--ink-3); color: var(--on-dark); border-color: rgb(255 255 255 / .26); }
.student-page .btn svg, .student-shortcut svg, .student-nav svg { width: 20px; height: 20px; }
.student-top { background: #11261e; }

/* Shared login layout and palette from the staff sign-in. */
@media (min-width: 741px) {
  html:has(body[data-student-view="auth"]) { scrollbar-gutter: stable; }
}
.student-page[data-student-view="auth"] { background: var(--canvas); }
.student-top:has(#student-signout[hidden]), .student-page[data-student-view="auth"] .student-main > .student-notice { display: none; }
.student-page[data-student-view="auth"] .student-main { max-width: none; padding: 0; }
.student-auth .login-photo { height: calc(100dvh - 36px); align-self: start; }
.student-auth .login-form small { margin-top: -9px; color: var(--muted); }
.student-auth .login-form [aria-invalid="true"] { border-color: var(--danger); }
.student-auth-mode { margin-top: 18px; color: var(--muted); font-size: .91rem; }
.student-auth-mode button {
  min-height: 36px; padding: 0 4px; border: 0; background: transparent;
  color: var(--paid-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px;
}
.student-auth-staff {
  display: inline-block; margin-top: 12px; color: var(--muted); font-size: .82rem;
  text-decoration: underline; text-underline-offset: 3px;
}

@media (min-width: 741px) and (max-height: 820px) {
  .student-auth .login-content { grid-template-rows: auto 1fr; padding-block: 18px; }
  .student-auth .login-panel { align-self: center; padding-block: 16px; }
  .student-auth .login-form { margin-top: 22px; gap: 12px; }
}

.student-hero {
  min-height: 252px; align-content: center;
  background: linear-gradient(90deg, #10281f 0%, rgb(16 40 31 / .94) 28%, rgb(16 40 31 / .57) 70%),
    #10281f url('/login-arena.webp') center 54% / cover no-repeat;
}
.student-page .student-hero h1 { color: #fff; font-size: clamp(2.2rem, 5.35vw, 4.2rem); }
.student-hero p { color: #f0f7ee; font-size: 1.05rem; }
.student-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.student-arena-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 255px), 1fr)); }
.student-card { border-color: var(--student-line); }
.student-arena-card { grid-template-columns: auto 1fr; align-items: center; align-content: center; gap: 12px 14px; }
.student-arena-card .btn { grid-column: 1 / -1; justify-self: stretch; justify-content: space-between; color: var(--student-green); }
.student-arena-mark { color: #164b35; background: var(--student-mist); }

.student-arena-head { margin: 0 0 20px; gap: 8px; }
.student-arena-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.student-arena-identity h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.student-arena-identity .student-arena-mark { flex-shrink: 0; width: 50px; height: 50px; }
.student-layout { display: grid; grid-template-columns: 172px minmax(0, 1fr); gap: 18px; align-items: start; }
.student-nav {
  display: grid; width: 100%; gap: 4px; margin: 0; padding: 6px;
  background: var(--surface); border-color: var(--student-line);
}
.student-nav button { display: flex; align-items: center; gap: 10px; min-height: 44px; border-radius: 9px; text-align: left; }
.student-nav button:hover { background: #f3f7f3; }
.student-nav button[aria-current] { background: var(--student-mist); color: #104a34; }
.student-view { min-width: 0; }

.student-welcome {
  border-radius: 18px; padding: clamp(20px, 4vw, 36px);
  background: linear-gradient(95deg, #10392e 15%, rgb(16 57 46 / .95) 54%, rgb(16 57 46 / .28)),
    #10392e url('/login-arena.webp') center 58% / cover no-repeat;
  color: #f7fbf7;
}
.student-welcome > div { display: grid; gap: 8px; justify-items: start; }
.student-page .student-welcome :is(h2, h3) { color: white; }
.student-welcome h2 { font-size: clamp(1.8rem, 4vw, 2.65rem); }
.student-welcome p { color: #d2f5dd; margin-top: 8px; }
.student-welcome h3 { font-size: clamp(1.15rem, 3vw, 1.5rem); }
.student-welcome .btn.primary { margin-top: 10px; background: #d5f75a; border-color: #d5f75a; color: #142b20; }
.student-welcome .btn.primary:hover { background: #e6fd8d; border-color: #e6fd8d; }
.student-shortcuts { display: grid; gap: 12px; margin-top: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.student-shortcut {
  display: grid; grid-template-columns: 1fr auto; align-content: start; gap: 7px 8px;
  text-align: left; color: #10281f; min-height: 130px;
}
.student-shortcut:hover { border-color: #79ab90; background: #f9fcf9; }
.student-shortcut strong { grid-column: 1 / -1; font-size: 1.02rem; }
.student-shortcut small { grid-column: 1 / -1; color: var(--muted); }
.student-shortcut > svg { grid-row: 1; grid-column: 2; align-self: center; color: var(--student-green); }
.student-shortcut-icon { display: grid; place-items: center; width: 36px; height: 36px; color: var(--student-green); background: var(--student-mist); border-radius: 9px; }

.student-date-strip { display: flex; gap: 8px; overflow-x: auto; min-width: 0; padding: 4px; margin: -4px; }
.student-date-strip button {
  flex: 0 0 auto; min-width: 56px; min-height: 56px; display: grid; place-content: center; gap: 2px; text-align: center;
  border: 1px solid var(--student-line); border-radius: 10px; background: #f4f7f4; color: #2b4e3b;
}
.student-date-strip button[aria-pressed="true"] { background: var(--student-green); border-color: var(--student-green); color: white; }
.student-date-strip small, .student-day-card small { text-transform: capitalize; }
.student-lesson-rows li {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 8px 12px;
  margin: 0 0 8px; padding: 9px 10px; border: 1px solid var(--student-line); border-radius: 12px;
  background: #fafcf9;
}
.student-lesson-rows li:last-child { border-bottom: 1px solid var(--student-line); }
.student-day-card {
  display: grid; align-content: center; justify-items: center; min-height: 49px;
  border-radius: 9px; background: var(--student-mist); color: #164b35;
}
.student-day-card small { margin: 0; color: inherit; }
.student-lesson-detail { overflow-wrap: anywhere; }
.student-lesson-detail > strong { font-weight: 650; }
.student-view .student-court, .student-view .student-plan { background: #f5f8f3; border-color: var(--student-line); }

@media (max-width: 740px) {
  .student-layout { display: block; }
  .student-shortcuts { grid-template-columns: 1fr; }
  .student-shortcut { min-height: 0; grid-template-columns: 36px 1fr auto; align-items: center; gap: 3px 12px; }
  .student-shortcut strong { grid-column: 2; }
  .student-shortcut small { grid-column: 2; }
  .student-shortcut-icon { grid-row: 1 / 3; }
  .student-shortcut > svg { grid-row: 1 / 3; grid-column: 3; }
}
@media (max-width: 440px) {
  .student-hero { min-height: 200px; padding: 24px; }
  .student-hero p { font-size: .95rem; }
  .student-lesson-rows li { grid-template-columns: 45px minmax(0, 1fr); }
  .student-lesson-rows li > .btn { grid-column: 2; justify-self: start; }
}

/* Mobile-first arena directory */
.student-page[data-student-view="directory"] { background: #f3f6f2; }
.student-page[data-student-view="directory"] .student-top {
  display: none !important;
}
.student-directory-brand { display: flex; justify-content: center; margin-bottom: 20px; }
[data-student-directory-page="account"] .student-directory-brand { justify-content: flex-start; }
.student-page[data-student-view="directory"] .student-top > .btn { min-height: 40px; padding-inline: 16px; }
.student-page[data-student-view="directory"][data-student-directory-page="account"] .student-top > .btn { display: none; }
.student-page[data-student-view="directory"] .student-main { max-width: 1200px; padding: 32px 28px 72px; }
.student-directory { width: min(100%, 760px); margin-inline: auto; }
.student-directory-shell { width: min(100%, 1120px); margin-inline: auto; }
.student-directory-empty { min-height: calc(100dvh - 72px); padding-top: clamp(38px, 8vh, 84px); }
.student-directory-empty .student-discover { margin: 0; padding: 0; border: 0; }
.student-discover-empty .student-discover-head {
  display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 10px; text-align: center;
}
.student-discover-empty .student-discover-head .student-section-title { display: block; width: 100%; text-align: center; }
.student-page .student-discover-empty h1 { color: #17281e; font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -.052em; }
.student-discover-empty .student-discover-head > p { max-width: 40ch; color: #637168; font-size: .98rem; }
.student-directory-filters { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: end; gap: 12px; }
.student-directory-filter { display: grid; gap: 7px; color: #415348; font-size: .82rem; font-weight: 700; }
.student-directory-filter select {
  width: 100%; min-width: 0; min-height: 50px; padding-block: 0; padding-inline-start: 13px;
  border: 1px solid var(--student-line); border-radius: 13px;
  background-color: #fff; color: #25372c; font: inherit; font-size: .94rem;
}
.student-directory-filter select:focus-visible { outline: 2px solid var(--student-green); outline-offset: 2px; }
.student-directory-filters .student-search { width: 100%; }
.student-discover-empty .student-directory-filters { padding: 16px; border: 1px solid #dce5de; border-radius: 17px; background: #fff;
  box-shadow: 0 8px 24px -22px rgb(18 40 28 / .32); }
.student-discover-empty .student-directory-filters .student-search { width: 100%; max-width: none; }
.student-discover-empty #student-available-arenas { margin-top: 14px; }
.student-directory-welcome {
  position: relative; isolation: isolate; display: grid; justify-items: center; gap: 9px; overflow: hidden;
  padding: 34px 16px 27px; border-radius: 24px; text-align: center;
}
.student-directory-welcome::before {
  position: absolute; z-index: -1; inset: 0; border-radius: inherit; content: "";
  background: radial-gradient(circle at 92% 8%, rgb(22 99 72 / .09) 0 1px, transparent 1.6px) 0 0 / 15px 15px,
    radial-gradient(ellipse at 50% 0%, #e8f1e6, transparent 72%);
  mask-image: linear-gradient(180deg, #000, transparent 94%);
}
.student-directory-avatar {
  display: grid; place-items: center; width: 82px; height: 82px; margin-bottom: 15px;
  border: 4px solid #f7faf5; border-radius: 50%; background: var(--lime); color: #173426;
  box-shadow: 0 0 0 2px rgb(22 99 72 / .18), 0 10px 28px rgb(18 40 28 / .12);
  font-family: var(--font-display); font-size: 1.45rem; font-weight: 750;
}
.student-directory-welcome .student-section-kicker { margin: 0; color: var(--student-green); }
.student-page .student-directory-welcome h1 { color: #17281e; font-size: clamp(2rem, 4.5vw, 3.15rem); letter-spacing: -.052em; }
.student-directory-welcome p { max-width: 34ch; color: #637168; font-size: clamp(.96rem, 1.8vw, 1.1rem); }
.student-directory-hero {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center;
  justify-content: space-between; min-height: 318px; padding: clamp(30px, 6vw, 64px);
  border-radius: 24px; background-color: #0f241b;
  background-image: linear-gradient(90deg, rgb(10 24 18 / .97) 0%, rgb(10 24 18 / .88) 44%, rgb(10 24 18 / .40) 100%),
    url('/login-arena.webp'); background-position: center, 50% 55%; background-size: cover;
  box-shadow: 0 20px 42px -32px rgb(10 18 14 / .54);
}
.student-directory-copy { max-width: 610px; }
.student-eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--lime); font-size: .72rem; font-weight: 750; letter-spacing: .16em; }
.student-eyebrow > span { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgb(213 247 90 / .14); }
.student-page .student-directory-hero h1 { margin-top: 19px; color: #f8fbf5; font-size: clamp(2.55rem, 6vw, 4.5rem); line-height: .94; letter-spacing: -.065em; }
.student-directory-hero p { max-width: 44ch; margin-top: 17px; color: #d3ddd5; font-size: clamp(.96rem, 1.5vw, 1.08rem); }
.student-directory-section { margin-top: 38px; gap: 17px; }
.student-section-title { display: flex; align-items: end; justify-content: space-between; gap: 14px; }
.student-section-kicker { display: block; margin-bottom: 5px; color: #718079; font-size: .66rem; font-weight: 750; letter-spacing: .15em; }
.student-page .student-section-title h2 { color: #13221a; font-size: clamp(1.42rem, 3vw, 1.8rem); letter-spacing: -.04em; }
.student-count { flex: 0 0 auto; margin-bottom: 2px; padding: 6px 11px; border: 1px solid var(--student-line); border-radius: 999px; background: #fff; color: #47584d; font-size: .78rem; font-weight: 650; }
.student-arena-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.student-directory .student-arena-grid { grid-template-columns: minmax(0, 1fr); }
.student-page .student-arena-card {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 48px; grid-template-rows: minmax(76px, auto);
  align-items: center; gap: 12px; padding: 14px;
  border: 1px solid #dce5de; border-radius: 17px; background: #fff;
  box-shadow: 0 2px 5px rgb(18 40 28 / .035), 0 14px 28px -24px rgb(18 40 28 / .2);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.student-arena-card:hover { transform: translateY(-2px); border-color: #b5cbbc; box-shadow: 0 12px 26px -18px rgb(18 40 28 / .28); }
.student-arena-card-head { grid-column: 1; grid-row: 1; display: flex; align-items: center; gap: 13px; min-width: 0; }
.student-arena-card .student-arena-mark { width: 58px; height: 58px; flex: 0 0 auto; border: 1px solid #e0ead5; border-radius: 50%; background: #edf5de; color: #153d2d; font-family: var(--font-display); font-size: 1rem; }
.student-arena-card .student-arena-mark { position: relative; overflow: hidden; }
.student-arena-avatar { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #edf5de; }
.student-arena-card-copy { min-width: 0; }
.student-arena-status { display: block; margin-bottom: 3px; color: #68786e; font-size: .64rem; font-weight: 750; letter-spacing: .08em; }
.student-page .student-arena-card h3 { color: #15241b; font-size: 1.06rem; line-height: 1.2; overflow-wrap: anywhere; }
.student-arena-card-copy small { display: block; margin-top: 4px; overflow: hidden; color: #718079; font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.student-page .student-arena-card .btn { display: flex; justify-content: center; width: 100%; min-height: 48px; padding-inline: 0; font-size: .9rem; }
.student-page .student-arena-card .btn.primary { color: #fff; }
.student-page .student-arena-card .student-arena-open { grid-column: 2; grid-row: 1; justify-self: end; display: grid; place-items: center; width: 48px; min-height: 48px; padding: 0; border-color: transparent; border-radius: 15px; background: #eff6e7; color: var(--student-green); }
.student-page .student-arena-card .student-arena-open svg { width: 21px; height: 21px; }
.student-page .student-arena-card .student-arena-open:hover { border-color: #d4e3ca; background: #e7f1d9; }
.student-directory-section .student-empty-panel {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 19px; border: 1px dashed #c8d7cc; border-radius: 18px; background: rgb(255 255 255 / .72);
}
.student-empty-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: #e8f1e9; color: #226247; }
.student-empty-mark svg { width: 22px; height: 22px; }
.student-empty-panel strong { color: #17281e; font-size: .96rem; }
.student-empty-panel p { margin-top: 4px; color: #627067; font-size: .86rem; }
.student-page .student-empty-mine .btn { min-height: 46px; }
.student-new-place { display: flex; align-items: center; justify-content: center; width: fit-content; gap: 8px; margin: 18px auto 8px; padding: 10px 14px;
  border: 0; background: transparent; color: var(--student-green); font-weight: 700; }
.student-new-place svg { width: 18px; height: 18px; }
.student-discover { padding-top: 31px; border-top: 1px solid #dce5de; scroll-margin-top: 88px; }
.student-discover[hidden] { display: none; }
.student-discover-head > p { margin-top: 8px; color: #68766d; font-size: .91rem; }
.student-section-head.student-discover-head { display: grid; gap: 9px; }
.student-discover-head .student-section-title {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 310px); align-items: end; gap: 14px;
}
.student-discover-head .student-section-title > div { min-width: 0; }
.student-discover-head > p { margin-top: 0; }
.student-page .student-search { width: min(100%, 310px); min-height: 50px; border-radius: 13px; font-size: .94rem; }
.student-empty-panel[role="status"] { grid-template-columns: 48px minmax(0, 1fr); }
.student-directory-nav { display: none; }
.student-account-page { display: grid; gap: 20px; width: min(100%, 850px); margin-inline: auto; }
.student-account-hero {
  display: grid; align-content: center; min-height: 218px; padding: clamp(24px, 5vw, 42px);
  border-radius: 23px; background: linear-gradient(120deg, #11291f, #1b5d43); color: #f8fbf5;
  box-shadow: 0 16px 36px -28px rgb(10 18 14 / .55);
}
.student-account-hero .student-eyebrow { color: var(--lime); }
.student-page .student-account-hero h1 { margin-top: 14px; color: #f8fbf5; font-size: clamp(2.3rem, 6vw, 3.5rem); }
.student-account-hero p { max-width: 42ch; margin-top: 9px; color: #d6e3da; }
.student-account-panel { display: grid; gap: 16px; padding: clamp(17px, 4vw, 25px); border: 1px solid #dce5de; border-radius: 19px; background: #fff; box-shadow: 0 8px 24px -22px rgb(18 40 28 / .32); }
.student-account-panel-head { display: flex; align-items: center; gap: 12px; }
.student-account-panel-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #e8f1e9; color: var(--student-green); }
.student-account-panel-icon svg { width: 21px; height: 21px; }
.student-page .student-account-panel h2 { color: #15241b; font-size: 1.2rem; letter-spacing: -.03em; }
.student-account-email-card { display: flex; align-items: center; gap: 13px; min-width: 0; padding: 14px; border: 1px solid #e3ebe4; border-radius: 15px; background: #f7f9f6; }
.student-account-avatar { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 auto; border-radius: 16px; background: var(--lime); color: #173426; font-family: var(--font-display); font-size: 1.2rem; font-weight: 750; }
.student-account-email-card > div { display: grid; gap: 3px; min-width: 0; }
.student-account-email-card small, .student-account-arena-copy small { color: #718079; font-size: .76rem; }
.student-account-email-card strong { color: #1c2d23; font-size: .94rem; overflow-wrap: anywhere; }
.student-account-hint { color: #68766d; font-size: .83rem; }
.student-account-tool-panel > .btn { justify-self: start; }
.student-notification-settings { display: grid; justify-items: start; gap: 10px; }
.student-notification-status { color: #56625b; font-size: .9rem; font-weight: 600; }
.student-notification-status.is-enabled { color: #176442; }
.student-notification-controls { display: flex; flex-wrap: wrap; gap: 8px; }
.student-notification-disable { color: #536259; }
.student-install-button { min-height: 44px; }
.student-install-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.student-install-actions .btn, .student-install-back { min-height: 44px; }
.student-page .student-install-button[hidden], .student-install-invite[hidden] { display: none; }
.student-install-invite {
  display: flex; align-items: flex-start; gap: 14px; margin: 14px 0; padding: 16px;
  border-color: #d8e6d7; background: #f6faf3;
}
.student-install-invite img, .student-install-guide-head img { flex: 0 0 auto; border-radius: 25%; }
.student-install-invite h2 { font-size: 1rem; }
.student-install-invite p, .student-install-guide-head p { margin: 4px 0 10px; color: var(--muted); }
.student-install-guide { display: grid; gap: 14px; width: min(100%, 680px); margin-inline: auto; }
.student-install-guide > .btn { justify-self: start; }
.student-install-guide-head { display: flex; align-items: flex-start; gap: 16px; margin-block: 8px; }
.student-install-guide-head h1 { font-size: clamp(1.7rem, 5vw, 2.3rem); line-height: 1.1; }
.student-install-guide-head p { margin: 8px 0 0; }
.student-install-steps { padding: 0; }
.student-install-steps summary { position: relative; cursor: pointer; padding: 14px 42px 14px 16px; list-style: none; }
.student-install-steps summary::-webkit-details-marker { display: none; }
.student-install-steps summary::after {
  position: absolute; top: 50%; right: 19px; width: 8px; height: 8px;
  border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); content: "";
}
.student-install-steps[open] summary::after { transform: translateY(-20%) rotate(225deg); }
.student-install-steps summary span { display: block; color: var(--muted); font-size: .85rem; }
.student-install-steps ol { display: grid; gap: 10px; margin: 0; padding: 0 18px 18px 38px; }
.student-install-diagram {
  width: min(100%, 352px); margin: 10px 0 4px; padding: 8px;
  border: 1px solid #dce5dd; border-radius: 12px; background: #f5f8f5; color: #53665a;
}
.student-install-diagram svg { width: 18px; height: 18px; flex: 0 0 auto; }
.student-install-toolbar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.student-install-toolbar > span, .student-install-address-bar > .student-install-target {
  display: grid; place-items: center; min-height: 36px; border-radius: 8px; font-size: 1.4rem; line-height: 1;
}
.student-install-target { background: #e3f3d5; box-shadow: inset 0 0 0 1px #4a8054; color: #193e2b; font-weight: 700; }
.student-install-address-bar { display: grid; grid-template-columns: minmax(0, 1fr) 38px; gap: 8px; }
.student-install-address, .student-install-menu-row, .student-install-next {
  display: flex; align-items: center; gap: 8px; min-width: 0;
}
.student-install-address, .student-install-menu-row { padding: 8px; border-radius: 8px; font-size: .82rem; }
.student-install-address { background: #fff; }
.student-install-address > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.student-install-menu { display: grid; gap: 4px; }
.student-install-expand { justify-self: start; margin: 1px 8px 3px; color: #245538; font-size: .78rem; font-weight: 700; }
.student-install-next { justify-content: flex-end; margin-top: 3px; }
.student-install-next > span { padding: 4px 10px; border-radius: 6px; font-size: .8rem; }
.student-account-section-title { align-items: center; }
.student-account-arena-list { display: grid; gap: 10px; }
.student-account-arena { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 13px; padding: 12px; border: 1px solid #e1e9e2; border-radius: 15px; background: #fbfcfa; }
.student-account-arena > .student-arena-mark { width: 48px; height: 48px; border-radius: 14px; }
.student-account-arena-copy { display: grid; gap: 4px; min-width: 0; }
.student-account-arena-copy strong { color: #17281e; overflow-wrap: anywhere; }
.student-page .student-account-arena > .btn { min-height: 42px; font-size: .84rem; }
.student-account-empty { margin: 0; }
.student-account-exit-panel { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; border: 1px solid #e3e8e3; border-radius: 18px; background: rgb(255 255 255 / .62); }
.student-account-exit-panel strong { color: #1c2d23; }
.student-account-exit-panel p { margin-top: 4px; color: #68766d; font-size: .84rem; }
.student-page .student-account-signout { width: auto; min-height: 46px; flex: 0 0 auto; border-color: #d8e0da; color: #33443a; }
.student-account-open::backdrop { background: rgb(10 18 14 / .46); }
.student-arena-picker { display: grid; gap: 14px; }
.student-arena-picker > p { color: var(--muted); font-size: .91rem; }
.student-arena-picker-list { display: grid; gap: 9px; }
.student-arena-choice { display: grid; grid-template-columns: 44px minmax(0, 1fr) 20px; align-items: center; gap: 11px; width: 100%; min-height: 62px; padding: 8px 12px; border: 1px solid var(--student-line); border-radius: 13px; background: #fff; text-align: left; }
.student-arena-choice:hover { border-color: #a9c7b2; background: #f6faf5; }
.student-arena-choice .student-arena-mark { width: 44px; height: 44px; }
.student-arena-choice > svg { color: var(--student-green); }
.student-page-stack, .student-profile-tools { display: grid; gap: 14px; }
.student-finance-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.student-finance-summary article { display: grid; gap: 5px; padding: 18px; border: 1px solid #dce5de; border-radius: 17px; background: #fff; box-shadow: 0 5px 18px -17px rgb(18 40 28 / .3); }
.student-finance-summary span { color: #637168; font-size: .83rem; font-weight: 650; }
.student-finance-summary strong { color: #16271e; font-family: var(--font-display); font-size: 1.5rem; }
.student-finance-summary small { color: #718079; font-size: .77rem; }
.student-announcements { display: grid; gap: 10px; }
.student-announcement { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; padding: 14px; border: 1px solid #e0e9e2; border-radius: 15px; background: #fbfcfa; }
.student-announcement-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: #e8f1e9; color: var(--student-green); }
.student-announcement-icon svg { width: 19px; height: 19px; }
.student-announcement time { color: #718079; font-size: .74rem; }
.student-page .student-announcement h3 { margin-top: 3px; color: #17281e; font-size: .98rem; }
.student-announcement p { margin-top: 5px; color: #56665c; font-size: .88rem; white-space: normal; }
.student-profile-tools > .student-account-exit-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; }
.student-profile-account-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.student-profile-account-actions .btn { min-height: 42px; }

@media (max-width: 740px) {
  .student-page[data-student-view="directory"] .student-shell { display: block; }
  .student-page[data-student-view="directory"] .student-sidebar { display: none; }
  .student-page[data-student-view="directory"] .student-main { padding-bottom: 32px; }
  .student-page[data-student-view="directory"] .student-arena-card { grid-template-columns: minmax(0, 1fr) auto; }
  .student-page[data-student-view="directory"] .student-top {
    min-height: calc(60px + env(safe-area-inset-top, 0px)); padding: max(8px, env(safe-area-inset-top, 0px)) 18px 8px;
  }
  .student-page[data-student-view="directory"] .student-top > .btn { min-height: 38px; padding-inline: 13px; font-size: .82rem; }
  .student-page[data-student-view="directory"] .student-main { padding: 18px 17px 32px; }
  .student-directory-empty { min-height: calc(100dvh - env(safe-area-inset-top, 0px)); padding-top: clamp(30px, 7vh, 64px); }
  .student-directory-filters { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .student-discover-empty .student-directory-filters { padding: 14px; border-radius: 16px; }
  .student-directory-shell { width: 100%; }
  .student-page[data-student-view="directory"] .student-top > .btn { display: inline-flex; }
  .student-page[data-student-view="directory"] .student-top-avatar { display: grid; place-items: center; width: 36px; height: 36px;
    border: 1px solid rgb(255 255 255 / .26); border-radius: 50%; background: var(--ink); color: var(--lime); font-size: .72rem; font-weight: 750; }
  .student-directory-hero { min-height: 282px; align-items: end; padding: 25px 23px; border-radius: 21px; background-position: center, 59% center; }
  .student-directory-hero::before { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(0deg, rgb(10 24 18 / .97) 0%, rgb(10 24 18 / .83) 49%, rgb(10 24 18 / .15) 100%); }
  .student-directory-copy { position: relative; z-index: 1; max-width: 100%; }
  .student-eyebrow { font-size: .64rem; }
  .student-page .student-directory-hero h1 { margin-top: 13px; font-size: clamp(2.45rem, 11vw, 3.45rem); line-height: .92; }
  .student-directory-hero p { max-width: 34ch; margin-top: 12px; font-size: .91rem; line-height: 1.48; }
  .student-directory-section { margin-top: 28px; gap: 14px; }
  .student-section-kicker { font-size: .6rem; }
  .student-count { padding: 5px 9px; font-size: .72rem; }
  .student-arena-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .student-page .student-arena-card { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 14px; border-radius: 16px; }
  .student-arena-card .student-arena-mark { width: 48px; height: 48px; }
  .student-directory-section .student-empty-panel { grid-template-columns: 44px minmax(0, 1fr); gap: 11px; padding: 15px; border-radius: 16px; }
  .student-empty-mark { width: 42px; height: 42px; border-radius: 13px; }
  .student-empty-panel strong { font-size: .9rem; }
  .student-empty-panel p { font-size: .81rem; }
  .student-page .student-empty-mine .btn { grid-column: 1 / -1; width: 100%; justify-content: space-between; min-height: 48px; }
  .student-discover { padding-top: 24px; margin-top: 31px; scroll-margin-top: 75px; }
  .student-section-head.student-discover-head { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 0; }
  .student-discover-head .student-section-title { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 13px; }
  .student-discover-head > p { margin-top: 8px; font-size: .84rem; }
  .student-page .student-search { width: 100%; }
  .student-account-page { gap: 14px; }
  .student-account-hero { min-height: 194px; padding: 23px; border-radius: 20px; }
  .student-page .student-account-hero h1 { margin-top: 12px; font-size: clamp(2.3rem, 10vw, 3rem); }
  .student-account-hero p { max-width: 34ch; font-size: .9rem; }
  .student-account-panel { gap: 13px; padding: 16px; border-radius: 17px; }
  .student-account-tool-panel > .btn { width: 100%; min-height: 46px; }
  .student-notification-controls { display: grid; width: 100%; }
  .student-notification-controls .btn { width: 100%; min-height: 46px; }
  .student-account-email-card { align-items: flex-start; padding: 12px; }
  .student-account-email-card strong { font-size: .88rem; }
  .student-account-arena { grid-template-columns: 44px minmax(0, 1fr); gap: 10px; padding: 11px; }
  .student-account-arena > .student-arena-mark { width: 44px; height: 44px; }
  .student-page .student-account-arena > .btn { grid-column: 1 / -1; justify-content: space-between; width: 100%; min-height: 46px; }
  .student-account-empty { grid-template-columns: 42px minmax(0, 1fr); }
  .student-account-empty .btn { grid-column: 1 / -1; width: 100%; justify-content: space-between; }
  .student-account-exit-panel { align-items: stretch; flex-direction: column; gap: 12px; padding: 16px; border-radius: 16px; }
  .student-page .student-account-signout { width: 100%; min-height: 48px; }
  .student-profile-tools > .student-account-exit-panel { grid-template-columns: minmax(0, 1fr); }
  .student-profile-account-actions { display: grid; }
  .student-profile-account-actions .btn { width: 100%; }
  .student-directory-nav {
    position: fixed; z-index: 12; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0;
    width: min(460px, calc(100% - 24px)); padding: 14px 8px 6px; transform: translateX(-50%);
    border: 1px solid rgb(255 255 255 / .09); border-radius: 28px; background: #111c16;
    box-shadow: 0 12px 34px rgb(8 20 13 / .32); backdrop-filter: blur(18px);
  }
  .student-directory-nav button {
    display: grid; justify-items: center; align-content: center; gap: 4px; min-width: 0; min-height: 57px;
    padding: 4px 1px; border: 0; border-radius: 12px; background: transparent; color: #aab8ae;
  }
  .student-directory-nav button[aria-current="page"] { color: var(--lime); }
  .student-directory-nav button svg, .student-nav button svg { width: 20px; height: 20px; }
  .student-directory-nav button span, .student-nav button span { font-size: .66rem; font-weight: 650; line-height: 1.1; white-space: nowrap; }
  .student-directory-nav button.student-nav-primary, .student-nav button.student-nav-primary {
    position: absolute; top: -24px; left: 50%; display: grid; place-items: center; width: 64px; height: 64px;
    min-height: 64px; padding: 0; transform: translateX(-50%); border: 5px solid #f3f6f2; border-radius: 50%;
    background: var(--lime); color: #13251b; box-shadow: 0 0 0 2px rgb(213 247 90 / .55), 0 7px 18px rgb(8 20 13 / .28);
  }
  .student-directory-nav button.student-nav-primary svg, .student-nav button.student-nav-primary svg { width: 24px; height: 24px; }
  .student-directory-nav button.student-nav-primary span, .student-nav button.student-nav-primary span {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
  }
  .student-directory-nav button:focus-visible, .student-nav button:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
  dialog.student-dialog.student-account-open {
    position: fixed; inset: auto 0 0; width: 100%; max-width: none; max-height: min(55dvh, 420px); margin: 0;
    padding: 24px 20px calc(20px + env(safe-area-inset-bottom, 0px)); border-radius: 22px 22px 0 0;
    animation: student-sheet-in .2s ease-out;
  }
  @keyframes student-sheet-in { from { opacity: 0; transform: translateY(24px); } }
}
@media (min-width: 520px) and (max-width: 740px) {
  .student-arena-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .student-page[data-student-view="arena"] .student-main { padding-bottom: calc(144px + env(safe-area-inset-bottom, 0px)); }
  .student-nav {
    position: fixed; z-index: 12; left: 50%; right: auto; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    width: min(460px, calc(100% - 24px)); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0;
    padding: 14px 8px 6px; transform: translateX(-50%); border: 1px solid rgb(255 255 255 / .09); border-radius: 28px;
    background: #111c16; box-shadow: 0 12px 34px rgb(8 20 13 / .32); backdrop-filter: blur(18px);
  }
  .student-nav button { display: grid; justify-items: center; align-content: center; gap: 4px; min-width: 0; min-height: 57px; padding: 4px 1px; border-radius: 12px; color: #aab8ae; text-align: center; }
  .student-nav button:hover { background: rgb(255 255 255 / .06); color: white; }
  .student-nav button[aria-current="page"] { background: transparent; color: var(--lime); }
  .student-nav-inicio { grid-column: 1; }
  .student-nav-financeiro { grid-column: 2; }
  .student-nav-contratos { grid-column: 4; }
  .student-nav-perfil { grid-column: 5; }
}
@media (prefers-reduced-motion: reduce) {
  .student-arena-card { transition: none; }
}

/* Desktop portal frame follows the arena management panel; mobile keeps its own header and bottom navigation. */
.student-shell { min-height: 100dvh; }
.student-sidebar { display: none; }
.student-top-end { display: flex; align-items: center; gap: 14px; }
.student-desktop-breadcrumb, .student-today-date, .student-top-avatar, .student-desktop-page-title { display: none; }

@media (min-width: 741px) {
  .student-shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100dvh; }
  .student-sidebar {
    position: sticky; top: 0; z-index: 5; display: flex; flex-direction: column; gap: 0;
    width: 248px; height: 100dvh; padding: 22px 14px 16px;
    background: var(--ink); background-image: radial-gradient(120% 40% at 0% 100%, rgb(213 247 90 / .07), transparent 70%);
    color: var(--on-dark);
  }
  .student-sidebar-context {
    display: flex; align-items: center; gap: 10px; width: 100%; min-width: 0; margin-bottom: 22px; padding: 9px 10px;
    border: 1px solid var(--ink-line); border-radius: 14px; background: var(--ink-3);
    color: var(--on-dark); text-align: left;
  }
  .student-sidebar-mark, .student-sidebar-user-mark {
    display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px;
    background: var(--lime); color: var(--ink); font-size: .75rem; font-weight: 750; letter-spacing: .02em;
  }
  .student-sidebar-mark svg { width: 19px; height: 19px; }
  .student-sidebar-context-copy, .student-sidebar-foot > span:last-child { display: grid; gap: 2px; min-width: 0; }
  .student-sidebar-context-copy strong, .student-sidebar-foot strong {
    overflow: hidden; color: var(--on-dark); font-size: .875rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap;
  }
  .student-sidebar-context-copy small, .student-sidebar-foot small { color: var(--on-dark-muted); font-size: .73rem; }
  .student-sidebar-chevron { margin-left: auto; color: var(--on-dark-muted); }
  .student-sidebar-nav { display: grid; gap: 2px; }
  .student-sidebar-nav button {
    position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 41px;
    padding: 9px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--on-dark-muted);
    font-size: .9rem; font-weight: 500; text-align: left; transition: background .15s, color .15s;
  }
  .student-sidebar-nav button svg { width: 18px; height: 18px; opacity: .88; }
  .student-sidebar-nav button:hover { background: rgb(255 255 255 / .05); color: var(--on-dark); }
  .student-sidebar-nav button[aria-current="page"] { background: rgb(255 255 255 / .08); color: var(--on-dark); font-weight: 650; }
  .student-sidebar-nav button[aria-current="page"] svg { color: var(--lime); opacity: 1; }
  .student-sidebar-nav button[aria-current="page"]::before {
    position: absolute; top: 9px; bottom: 9px; left: -14px; width: 3px; border-radius: 0 3px 3px 0;
    background: var(--lime); content: "";
  }
  .student-sidebar-foot {
    display: flex; align-items: center; gap: 9px; min-width: 0; margin-top: auto; padding: 14px 8px 4px;
    border-top: 1px solid var(--ink-line);
  }
  .student-sidebar-user-mark { width: 32px; height: 32px; border: 1px solid rgb(255 255 255 / .2); border-radius: 50%; background: transparent; color: var(--lime); }
  .student-sidebar-foot small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .student-workspace { min-width: 0; }
  .student-page .student-top {
    position: sticky; top: 0; z-index: 4; display: flex; height: 64px; min-height: 64px; justify-content: space-between;
    padding: 0 clamp(24px, 3vw, 36px); border-bottom: 1px solid var(--border);
    background: rgb(247 243 235 / .9); color: var(--text); box-shadow: none; backdrop-filter: saturate(160%) blur(12px);
  }
  .student-top .brand, .student-top .student-mobile-signout { display: none !important; }
  .student-desktop-breadcrumb { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--muted); font-size: .875rem; }
  .student-desktop-breadcrumb > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .student-desktop-breadcrumb strong { color: var(--text); font-weight: 650; white-space: nowrap; }
  .student-crumb-divider { color: var(--subtle); font-size: 1.2rem; }
  .student-top-end { gap: 14px; }
  .student-today-date {
    display: inline-flex; align-items: center; min-height: 32px; padding: 5px 12px; border: 1px solid var(--border);
    border-radius: var(--r-pill); background: var(--surface); color: var(--muted); font-size: .8rem; font-weight: 500;
  }
  .student-top-avatar {
    display: grid; place-items: center; width: 36px; height: 36px; border: 2px solid var(--surface); border-radius: 50%;
    background: var(--ink); color: var(--lime); font-size: .72rem; font-weight: 750; box-shadow: 0 0 0 1px var(--border);
  }
  .student-top-avatar:hover { box-shadow: 0 0 0 2px var(--lime-deep); }
  .student-page .student-main { width: 100%; max-width: 1570px; margin: 0 auto; padding: 30px clamp(24px, 4vw, 56px) 48px; }
  .student-page[data-student-view="auth"] .student-shell { display: block; }
  .student-page[data-student-view="auth"] .student-sidebar { display: none; }
  .student-desktop-page-title { align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
  .student-desktop-page-title { display: flex; }
  .student-page .student-desktop-page-title h1 { color: var(--text); font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.035em; }
  .student-desktop-page-title p { margin-top: 6px; color: var(--muted); font-size: .92rem; }
  .student-directory-shell { width: min(100%, 1120px); max-width: none; }
  .student-directory { width: min(100%, 760px); max-width: none; }
  .student-page[data-student-view="directory"] .student-shell { display: block; }
  .student-page[data-student-view="directory"] .student-sidebar { display: none; }
  .student-page[data-student-view="directory"] .student-top .brand { display: flex !important; }
  .student-top .brand-logo-on-dark { display: none; }
  .student-top .brand-logo-on-light { display: block; }
  .student-directory-hero { display: none; }
  .student-directory-section { margin-top: 27px; }
  .student-discover { scroll-margin-top: 84px; }
  .student-account-page { width: min(100%, 1040px); margin: 0; gap: 18px; }
  .student-account-hero {
    min-height: 0; padding: 0 0 4px; border-radius: 0; background: transparent; color: var(--text); box-shadow: none;
  }
  .student-account-hero .student-eyebrow { color: var(--student-green); }
  .student-page .student-account-hero h1 { margin-top: 8px; color: var(--text); font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.035em; }
  .student-account-hero p { margin-top: 6px; color: var(--muted); font-size: .92rem; }
  .student-account-panel { border-color: var(--border); border-radius: 14px; box-shadow: var(--shadow-card); }
  .student-account-arena { border-color: var(--border-soft); background: #fff; }
  .student-arena-head { display: none; }
  .student-layout { display: block; }
  .student-layout > .student-nav, .student-directory-nav { display: none !important; }
  .student-view { width: 100%; }
  .student-welcome { min-height: 225px; }
}
