:root {
  --bg: #f5f7f8;
  --card: #ffffff;
  --line: #e2e8e4;
  --text: #1a241f;
  --muted: #6f7d75;
  --primary: #1e6b47;
  --primary-2: #24583f;
  --primary-soft: #eef4f0;
  --danger: #a33636;
  --danger-soft: #fff1f1;
  --sidebar: #173c2b;
  --shadow: 0 10px 28px rgba(22, 44, 33, 0.06);
  --radius: 18px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}
body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
.hidden { display: none !important; }

/* AUTH */
.auth-body {
  background: linear-gradient(135deg, #eef4ef, #f8faf9);
}
.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.auth-card {
  width: min(100%, 430px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(20, 40, 30, 0.08);
}
.brand, .sidebar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand { margin-bottom: 30px; }
.brand h1 { margin: 0; font-size: 24px; }
.brand p { margin: 4px 0 0; color: var(--muted); }
.brand-mark {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--primary);
  color: white; font-weight: 800; letter-spacing: .5px;
}
.form-stack { display: grid; gap: 18px; }
.form-stack label, .field label {
  display: block; margin-bottom: 7px;
  font-weight: 600; font-size: 14px;
}
.form-stack input,
.field input,
.field select,
.field textarea,
.search-input {
  width: 100%;
  border: 1px solid #cfd8d3;
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  background: white;
}
.form-stack input:focus,
.field input:focus,
.field select:focus,
.field textarea:focus,
.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 107, 71, 0.10);
}
.field textarea { resize: vertical; }
.auth-note {
  text-align: center;
  color: #7c8781;
  font-size: 12px;
  margin: 24px 0 0;
}

/* BASE UI */
.btn {
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .65; cursor: wait; transform: none; }
.btn-primary { background: var(--primary); color: white; }
.btn-secondary { background: var(--primary-soft); color: var(--primary-2); }
.btn-ghost { background: transparent; color: #d7e3dc; border: 1px solid rgba(255,255,255,.14); }
.btn-danger { background: var(--danger); color: white; }
.btn-danger-outline { background: white; color: var(--danger); border: 1px solid #e8bcbc; }
.btn-link { display: inline-block; text-decoration: none; }
.icon-button {
  border: 0; background: transparent; cursor: pointer;
  font-size: 28px; line-height: 1; color: #69766f;
}
.alert {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
}
.alert-error {
  background: var(--danger-soft);
  color: #992727;
  border: 1px solid #ffd0d0;
}
.toast {
  position: fixed;
  right: 20px; bottom: 20px;
  background: #1f2c25;
  color: white;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,.15);
  z-index: 9999;
}
.toast-error { background: #8f2c2c; }
.muted { color: var(--muted); }
.eyebrow {
  margin: 0;
  color: #718079;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
}

/* LAYOUT */
.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px 1fr;
}
.sidebar {
  background: var(--sidebar);
  color: white;
  padding: 22px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: sticky;
  top: 0;
}
.sidebar-brand {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.sidebar-brand strong, .sidebar-brand small { display: block; }
.sidebar-brand small { color: #a8c0b3; margin-top: 3px; }
.menu {
  display: grid;
  gap: 6px;
  margin-top: 24px;
}
.menu a {
  color: #d7e3dc;
  text-decoration: none;
  padding: 11px 13px;
  border-radius: 10px;
}
.menu a:hover, .menu a.active {
  background: rgba(255,255,255,.09);
  color: white;
}
.logout-btn { margin-top: auto; }
.content {
  padding: 32px;
  min-width: 0;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.topbar h1 { margin: 2px 0 0; font-size: 30px; }
.user-badge {
  background: #e8f1eb;
  border: 1px solid #d7e5dc;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--primary-2);
  font-weight: 700;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.card-header h2 { margin: 3px 0 0; font-size: 20px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}
.stat-card span { display: block; color: var(--muted); font-size: 13px; }
.stat-card strong { display: block; margin-top: 8px; font-size: 28px; }
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr);
  gap: 18px;
}
.empty-state {
  padding: 24px 0;
  color: #7a8580;
}
.task-list { margin: 0; padding-left: 18px; color: #53615a; }
.task-list li + li { margin-top: 10px; }
.agenda-item, .audit-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0; border-bottom: 1px solid #edf0ee;
}
.agenda-item:last-child, .audit-item:last-child { border-bottom: 0; }
.agenda-item > strong { width: 56px; }
.agenda-item span, .agenda-item small,
.audit-item span, .audit-item small { display: block; }
.agenda-item small, .audit-item small { color: #7c8781; margin-top: 3px; }
.audit-item { align-items: flex-start; flex-direction: column; gap: 2px; }
.simple-panel {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.simple-panel .card { width: min(100%, 600px); }

/* Students */
.filters-card { margin-bottom: 18px; }
.search-row {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.search-input { max-width: 460px; }
.students-list { display: grid; }
.student-row {
  display: grid;
  grid-template-columns: auto minmax(180px, 1.2fr) minmax(180px, 1fr) auto;
  gap: 16px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid #edf0ee;
}
.student-row:last-child { border-bottom: 0; }
.student-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #e8f1eb; color: var(--primary-2); font-weight: 800;
}
.student-main strong, .student-main span, .student-main small,
.student-goal small, .student-goal span { display: block; }
.student-main span, .student-main small, .student-goal small { color: #7a8580; }
.student-main span { margin-top: 3px; }
.student-main small { margin-top: 2px; }
.student-goal span { margin-top: 4px; }
.student-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

/* Modals */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 18px;
}
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(12, 24, 18, .48);
  backdrop-filter: blur(2px);
}
.modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-height: calc(100vh - 36px);
  overflow: auto;
  background: white;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 24px 70px rgba(0,0,0,.2);
}
.modal-card-small { width: min(100%, 520px); }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field-check { align-self: end; }
.checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 10px;
  font-weight: 600 !important;
  padding: 12px 0;
}
.checkbox-label input { width: 18px; height: 18px; }
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
}
.modal-actions-between { justify-content: space-between; }
.modal-actions-right { display: flex; gap: 10px; }

/* CALENDAR */
.calendar-topbar { margin-bottom: 18px; }
.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 16px 18px;
}
.calendar-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.calendar-title {
  margin-left: 8px;
  font-size: 20px;
}
.calendar-view-switch {
  display: inline-flex;
  background: #eef2ef;
  padding: 4px;
  border-radius: 12px;
  gap: 4px;
}
.view-button {
  border: 0;
  background: transparent;
  padding: 9px 14px;
  border-radius: 9px;
  font-weight: 700;
  color: #64716a;
  cursor: pointer;
}
.view-button.active {
  background: white;
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.calendar-card {
  padding: 0;
  overflow: hidden;
}
.calendar-root {
  min-height: 560px;
  background: white;
}
.calendar-legend {
  display: flex; gap: 18px; flex-wrap: wrap;
  padding: 14px 4px; color: #69766f; font-size: 13px;
}
.calendar-legend span { display: flex; align-items: center; gap: 7px; }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.legend-aula { background: #2f7b55; }
.legend-treino { background: #3977b8; }
.legend-avaliacao { background: #9b6c2d; }
.legend-bloqueio { background: #6d7075; }
.legend-pessoal { background: #8a5c9e; }

/* Month */
.month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.month-weekday {
  padding: 14px 10px;
  border-bottom: 1px solid #e8ece9;
  border-right: 1px solid #eef1ef;
  font-size: 12px;
  font-weight: 800;
  color: #6f7a74;
  text-transform: uppercase;
  letter-spacing: .05em;
  text-align: center;
  background: #fafcfb;
}
.month-weekday:nth-child(7n) { border-right: 0; }
.month-cell {
  min-height: 140px;
  padding: 8px;
  border-right: 1px solid #edf0ee;
  border-bottom: 1px solid #edf0ee;
  background: #fff;
  overflow: hidden;
}
.month-cell:nth-child(7n) { border-right: 0; }
.month-cell.other-month { background: #fafbfa; color: #a0aaa5; }
.month-cell.today-cell { box-shadow: inset 0 0 0 2px #d9e9df; }
.month-day-number {
  width: 32px; height: 32px;
  border-radius: 50%; border: 0;
  background: transparent;
  font-weight: 800; cursor: pointer;
  color: inherit;
}
.today-cell .month-day-number { background: var(--primary); color: white; }
.month-events { display: grid; gap: 4px; margin-top: 6px; }
.month-event {
  width: 100%; border: 0; border-radius: 7px;
  padding: 5px 6px; text-align: left;
  display: flex; gap: 6px; min-width: 0; cursor: pointer;
  font-size: 11px;
}
.month-event span { opacity: .85; flex: 0 0 auto; }
.month-event strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.month-more {
  border: 0; background: transparent;
  color: #53615a; font-size: 11px;
  text-align: left; cursor: pointer; padding: 3px 5px;
}

/* Week */
.week-scroll { overflow: auto; }
.week-grid {
  display: grid;
  grid-template-columns: 70px repeat(7, minmax(140px, 1fr));
  min-width: 1050px;
}
.week-corner,
.week-day-head {
  position: sticky;
  top: 0;
  z-index: 3;
  background: white;
  border-bottom: 1px solid #e7ebe8;
}
.week-corner { left: 0; z-index: 4; }
.week-day-head {
  padding: 12px 10px;
  text-align: center;
  border-left: 1px solid #edf0ee;
}
.week-day-head span, .week-day-head strong { display: block; }
.week-day-head span { font-size: 11px; text-transform: uppercase; color: #748078; }
.week-day-head strong { font-size: 20px; margin-top: 3px; }
.week-day-head.today-head strong { color: var(--primary); }
.week-time {
  padding: 10px 8px;
  border-bottom: 1px solid #edf0ee;
  color: #7b8680;
  font-size: 12px;
  text-align: right;
  background: #fbfcfb;
}
.week-slot {
  min-height: 72px;
  border-left: 1px solid #edf0ee;
  border-bottom: 1px solid #edf0ee;
  padding: 4px;
  cursor: pointer;
  background: white;
}
.week-slot:hover,
.day-slot:hover { background: #fafcfb; }
.week-event {
  width: 100%; border: 0; border-radius: 8px;
  padding: 7px; text-align: left; display: grid; gap: 2px;
  cursor: pointer; margin-bottom: 4px;
}
.week-event strong { font-size: 11px; }
.week-event span {
  font-size: 12px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Day */
.day-view-head {
  padding: 16px 18px;
  border-bottom: 1px solid #e7ebe8;
  background: #fbfcfb;
}
.day-view { display: grid; }
.day-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  min-height: 72px;
}
.day-time {
  padding: 12px;
  border-bottom: 1px solid #edf0ee;
  color: #77827c;
  text-align: right;
  font-size: 12px;
  background: #fbfcfb;
}
.day-slot {
  border-left: 1px solid #edf0ee;
  border-bottom: 1px solid #edf0ee;
  padding: 6px;
  cursor: pointer;
  background: white;
}
.day-event {
  width: 100%; border: 0; border-radius: 10px;
  padding: 10px 12px; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  cursor: pointer; margin-bottom: 5px;
}
.day-event strong, .day-event span { display: block; }
.day-event span { margin-top: 3px; }
.day-event small { white-space: nowrap; opacity: .75; }

/* Event colors */
.event-aula { background: #e5f2ea; color: #205b3d; }
.event-treino { background: #e5eef8; color: #255b8d; }
.event-avaliacao { background: #f5ecdf; color: #78501f; }
.event-bloqueio { background: #eceeef; color: #55595d; }
.event-pessoal { background: #efe7f3; color: #684478; }
.event-outro { background: #f0f0f0; color: #555; }
.calendar-root .alert { margin: 20px; }

/* Responsive */
@media (max-width: 1000px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .student-row { grid-template-columns: auto 1fr; }
  .student-goal, .student-actions { grid-column: 2; }
  .student-actions { justify-content: flex-start; }
  .calendar-toolbar { flex-direction: column; align-items: stretch; }
  .calendar-view-switch { align-self: flex-start; }
  .month-cell { min-height: 110px; padding: 5px; }
  .month-event { font-size: 10px; }
  .month-event span { display: none; }
}
@media (max-width: 760px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; min-height: auto; }
  .menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logout-btn { margin-top: 18px; }
  .content { padding: 22px; }
  .topbar { align-items: flex-start; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 650px) {
  .calendar-card { overflow: auto; }
  .month-grid { min-width: 760px; }
  .calendar-legend { padding-left: 0; }
  .modal-actions-between { flex-direction: column; }
  .modal-actions-right { width: 100%; flex-direction: column-reverse; }
  .modal-actions-right .btn, .modal-actions-between > .btn { width: 100%; }
  .calendar-title { width: 100%; margin-left: 0; margin-top: 8px; }
}
@media (max-width: 600px) {
  .search-row { align-items: stretch; flex-direction: column; }
  .search-input { width: 100%; max-width: none; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .student-row { grid-template-columns: 1fr; }
  .student-avatar { display: none; }
  .student-goal, .student-actions { grid-column: auto; }
  .modal-card { padding: 20px; }
  .modal-actions { flex-direction: column-reverse; }
  .modal-actions .btn { width: 100%; }
}
@media (max-width: 460px) {
  .auth-card { padding: 24px; }
  .stats-grid { grid-template-columns: 1fr; }
  .menu { grid-template-columns: 1fr; }
  .content { padding: 18px; }
  .topbar { flex-direction: column; }
  .card-header { align-items: flex-start; flex-direction: column; }
}


/* ============================================================
   CALENDAR VISUAL REFINEMENT V3.1
   ============================================================ */

.calendar-topbar{
  align-items:center;
}
.calendar-topbar h1{
  font-size:32px;
}
.calendar-toolbar{
  min-height:76px;
  padding:14px 18px;
  border-radius:16px;
  background:#fff;
  box-shadow:none;
}
.calendar-nav-group{
  display:flex;
  align-items:center;
  gap:18px;
  min-width:0;
}
.calendar-nav{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:nowrap;
}
.calendar-arrow{
  width:38px;
  height:38px;
  border:1px solid #dbe3de;
  background:#fff;
  color:#29493a;
  border-radius:10px;
  display:grid;
  place-items:center;
  font-size:25px;
  line-height:1;
  cursor:pointer;
}
.calendar-arrow:hover{
  background:#f3f7f4;
}
.calendar-title{
  margin:0;
  font-size:22px;
  font-weight:800;
  color:#17221d;
  white-space:nowrap;
}
.calendar-view-switch{
  border:1px solid #dde5e0;
  background:#f6f8f7;
  border-radius:11px;
  padding:3px;
}
.view-button{
  min-width:78px;
  padding:9px 13px;
  font-size:13px;
  border-radius:8px;
}
.view-button.active{
  background:#1e6b47;
  color:#fff;
  box-shadow:none;
}
.calendar-card{
  border-radius:16px;
  border:1px solid #dde4e0;
  box-shadow:none;
  background:#fff;
}
.calendar-root{
  min-height:680px;
}
.month-grid{
  display:grid !important;
  grid-template-columns:repeat(7,minmax(0,1fr)) !important;
  width:100%;
  background:#fff;
}
.month-weekday{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  min-height:46px;
  padding:0 12px;
  font-size:11px;
  letter-spacing:.08em;
  color:#718078;
  background:#fafbfa;
  border-bottom:1px solid #dfe6e2;
  border-right:1px solid #edf1ee;
}
.month-cell{
  position:relative;
  min-height:132px;
  padding:6px 7px;
  background:#fff;
  border-right:1px solid #edf1ee;
  border-bottom:1px solid #edf1ee;
  transition:background .12s ease;
}
.month-cell:hover{
  background:#fbfdfc;
}
.month-cell.other-month{
  background:#fafbfa;
}
.month-cell.other-month .month-day-number{
  color:#a8b2ad;
}
.month-cell.today-cell{
  box-shadow:none;
  background:#fbfdfb;
}
.month-day-number{
  display:grid;
  place-items:center;
  margin-left:auto;
  width:29px;
  height:29px;
  font-size:12px;
  font-weight:700;
  border-radius:50%;
}
.today-cell .month-day-number{
  background:#1e6b47;
  color:#fff;
}
.month-events{
  margin-top:4px;
  gap:3px;
}
.month-event{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:5px;
  min-height:24px;
  padding:4px 6px;
  border-left:3px solid currentColor;
  border-radius:4px;
  font-size:10.5px;
}
.month-event strong{
  font-weight:700;
}
.month-more{
  font-weight:700;
  color:#52655b;
}
.calendar-legend{
  margin-top:2px;
  padding:12px 2px 0;
}

/* Week view closer to Outlook/Google Calendar */
.week-grid{
  grid-template-columns:64px repeat(7,minmax(135px,1fr));
}
.week-corner,
.week-day-head{
  min-height:64px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.week-day-head{
  border-left:1px solid #edf0ee;
}
.week-day-head span{
  font-size:10px;
  font-weight:800;
  color:#79867f;
}
.week-day-head strong{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  font-size:16px;
}
.week-day-head.today-head strong{
  background:#1e6b47;
  color:#fff;
}
.week-time{
  min-height:68px;
  padding-top:9px;
  font-size:10px;
  color:#8a958f;
  background:#fff;
}
.week-slot{
  min-height:68px;
  padding:3px;
  background:#fff;
}
.week-event{
  border-left:3px solid currentColor;
  border-radius:5px;
  min-height:38px;
}

/* Day view */
.day-view-head{
  padding:15px 20px;
  background:#fbfcfb;
}
.day-row{
  min-height:74px;
  grid-template-columns:72px 1fr;
}
.day-time{
  font-size:10px;
  color:#8a958f;
}
.day-event{
  border-left:4px solid currentColor;
  border-radius:6px;
}

/* Mobile/tablet calendar keeps real grid with horizontal scroll */
@media(max-width:900px){
  .calendar-nav-group{
    flex-wrap:wrap;
  }
  .calendar-toolbar{
    gap:12px;
  }
  .calendar-title{
    font-size:18px;
  }
}
@media(max-width:720px){
  .calendar-root{
    min-height:580px;
  }
  .month-grid{
    min-width:820px !important;
  }
  .month-cell{
    min-height:118px;
  }
  .month-event span{
    display:inline;
  }
  .calendar-view-switch{
    width:100%;
  }
  .view-button{
    flex:1;
  }
}

.auth-links{margin-top:18px;text-align:center}.auth-links a{color:#1e6b47;text-decoration:none;font-size:13px;font-weight:700}.info-box{padding:12px 14px;margin-bottom:18px;border-radius:11px;background:#eef5f0;color:#355944;font-size:13px}.field-help{display:block;margin-top:5px;color:#7a8580}.alert-success{background:#edf8f0;color:#286341;border:1px solid #cce7d5}.alert-success a{color:inherit}.access-badge{display:inline-flex!important;width:max-content;margin-top:7px;padding:4px 8px;border-radius:999px;font-size:10px!important;font-weight:800}.access-active{background:#e5f2ea;color:#205b3d!important}.access-pending{background:#f3eee3;color:#7b5b21!important}.student-shell{min-height:100vh;background:#f5f7f8}.student-header{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 max(20px,calc((100% - 1180px)/2));background:#fff;border-bottom:1px solid #e2e8e4}.student-brand{display:flex;align-items:center;gap:12px}.student-brand strong,.student-brand small{display:block}.student-brand small{margin-top:2px;color:#78847d}.student-content{width:min(100% - 32px,1180px);margin:0 auto;padding:30px 0 50px}.student-welcome{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.student-welcome h1{margin:4px 0 0}.student-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:18px}.student-summary-card span,.student-summary-card strong,.student-summary-card small{display:block}.student-summary-card span{font-size:12px;color:#738078}.student-summary-card strong{font-size:24px;margin-top:8px}.student-summary-card small{color:#7d8882;margin-top:4px}.student-calendar-panel{padding:0;overflow:hidden}.student-calendar-toolbar{min-height:64px;display:flex;align-items:center;justify-content:center;gap:18px;padding:10px;border-bottom:1px solid #e4e9e6}.student-calendar-toolbar strong{min-width:190px;text-align:center;font-size:18px}.student-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.student-weekday{min-height:42px;display:flex;align-items:center;justify-content:center;border-right:1px solid #edf1ee;border-bottom:1px solid #e2e8e4;background:#fafbfa;color:#758179;font-size:11px;font-weight:800;text-transform:uppercase}.student-day{position:relative;min-height:116px;border:0;border-right:1px solid #edf1ee;border-bottom:1px solid #edf1ee;background:#fff;padding:8px;text-align:left;cursor:pointer;color:#1f2924}.student-day:hover{background:#fbfdfb}.student-day.other-month{background:#fafbfa;color:#a6afa9}.student-day.today .student-day-number{background:#1e6b47;color:#fff}.student-day-number{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;margin-left:auto;font-size:12px;font-weight:800}.student-day-markers{display:grid;gap:3px;margin-top:5px}.student-marker{display:block;padding:4px 5px;border-radius:4px;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.marker-aula{background:#e5f2ea;color:#205b3d}.marker-treino,.marker-workout{background:#e5eef8;color:#255b8d}.marker-avaliacao{background:#f5ecdf;color:#78501f}.marker-bloqueio,.marker-pessoal,.marker-outro{background:#eceeef;color:#55595d}.selected-day-panel{margin-top:18px}.student-day-item{display:grid;grid-template-columns:80px 1fr;gap:14px;padding:13px 0;border-bottom:1px solid #edf0ee}.student-day-item:last-child{border-bottom:0}.student-day-item strong,.student-day-item span{display:block}.student-day-item span{margin-top:3px;color:#748078;font-size:12px}.student-item-time{font-weight:800;color:#1e6b47}@media(max-width:720px){.student-summary-grid{grid-template-columns:1fr}.student-calendar-panel{overflow:auto}.student-calendar-grid{min-width:760px}.student-day{min-height:105px}.student-content{width:min(100% - 24px,1180px);padding-top:22px}.student-header{padding:0 14px}}

.btn-invite{background:#e5f2ea;color:#205b3d;border:1px solid #c9e2d3}.btn-invite:hover{background:#dceee3}.access-invited{background:#e5eef8;color:#255b8d!important}
