:root {
  --bg: #f7f8fa;
  --sidebar: #111827;
  --sidebar-hover: #1f2937;
  --sidebar-text: #e5e7eb;
  --sidebar-muted: #9ca3af;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --ink: #111827;
  --muted: #64748b;
  --card: #ffffff;
  --line: #e2e8f0;
  --success: #16a34a;
  --warning: #f59e0b;
  --danger: #dc2626;
  --info: #0ea5e9;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
  --sidebar-w: 256px;
  --sidebar-w-collapsed: 76px;
  --topbar-h: 64px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.45;
}

body.login-body { background: #f7f8fa; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.app {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-w);
  background: var(--sidebar);
  color: var(--sidebar-text);
  display: flex;
  flex-direction: column;
  z-index: 40;
  transition: width 0.18s ease, transform 0.18s ease;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 18px 16px;
  color: #fff;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.sidebar-brand:hover { text-decoration: none; color: #fff; }

.sidebar-brand .brand-word {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.sidebar-brand .brand-badge {
  background: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 12px;
  flex: 1;
  overflow: auto;
}

.nav-sep {
  margin: 16px 8px 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--sidebar-muted);
  font-weight: 650;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--sidebar-text);
  text-decoration: none;
}

.nav-item:hover {
  background: var(--sidebar-hover);
  text-decoration: none;
  color: #fff;
}

.nav-item.active {
  background: #1d4ed8;
  color: #fff;
}

.nav-item i,
.nav-item svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.sidebar-foot {
  padding: 14px 12px 16px;
  border-top: 1px solid #1f2937;
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #1d4ed8;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  flex: 0 0 36px;
}

.avatar.sm { width: 32px; height: 32px; flex-basis: 32px; }

.sidebar-user {
  min-width: 0;
}

.sidebar-user strong,
.user-meta strong {
  display: block;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user span,
.user-meta span {
  display: block;
  font-size: 12px;
  color: var(--sidebar-muted);
}

.app-main {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  transition: margin-left 0.18s ease;
}

.topbar {
  height: var(--topbar-h);
  background: var(--card);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  border: 0;
  background: transparent;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--muted);
}

.icon-btn:hover { background: #f1f5f9; color: var(--ink); }

.crumb {
  color: var(--muted);
  font-size: 13px;
}

.crumb strong { color: var(--ink); font-weight: 650; }

.user-menu { position: relative; }

.user-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 10px;
}

.user-trigger:hover { background: #f8fafc; }

.user-meta { text-align: left; color: var(--ink); }
.user-meta span { color: var(--muted); }

.menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 200px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 6px;
  display: none;
  z-index: 30;
}

.menu.open { display: block; }

.menu a,
.menu button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
}

.menu a:hover,
.menu button:hover { background: #f8fafc; text-decoration: none; }

.menu .danger { color: var(--danger); }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }

.content {
  padding: 28px 32px 56px;
  width: 100%;
  max-width: none;
}

body.sidebar-collapsed .sidebar { width: var(--sidebar-w-collapsed); }
body.sidebar-collapsed .sidebar-brand .brand-badge,
body.sidebar-collapsed .nav-item span,
body.sidebar-collapsed .nav-sep,
body.sidebar-collapsed .sidebar-user { display: none; }
body.sidebar-collapsed .sidebar-brand .brand-word {
  font-size: 13px;
}
body.sidebar-collapsed .sidebar-brand,
body.sidebar-collapsed .nav-item,
body.sidebar-collapsed .sidebar-foot { justify-content: center; }
body.sidebar-collapsed .app-main { margin-left: var(--sidebar-w-collapsed); }

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 22px;
}

.page-header h1 {
  margin: 0 0 4px;
  font-size: 28px;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.lede, .muted { margin: 0; color: var(--muted); }
.bloco { margin-top: 22px; }

.actions { display: flex; flex-wrap: wrap; gap: 8px; }

.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  padding: 9px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.btn:hover { background: var(--primary-hover); text-decoration: none; color: #fff; }
.btn:disabled,
.btn.is-loading {
  opacity: 0.72;
  cursor: not-allowed;
  pointer-events: none;
}

.btn.secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn.secondary:hover { background: #f8fafc; color: var(--ink); }

.btn.danger {
  background: #fff;
  border-color: #fecaca;
  color: var(--danger);
}

.btn.ghost { background: transparent; border-color: transparent; color: var(--primary); }

.card,
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px;
}

.grid { display: grid; gap: 16px; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.stat {
  min-height: 108px;
}

.stat strong {
  display: block;
  font-size: 28px;
  letter-spacing: -0.03em;
  margin: 10px 0 4px;
}

.stat span { color: var(--muted); font-size: 13px; }
.stat .stat-label { font-size: 13px; font-weight: 650; color: var(--ink); }
.stat.alert { border-color: #fde68a; background: #fffbeb; }
.stat.alert strong { color: #b45309; }
.stat-sub { margin-top: 10px; font-size: 12px; color: var(--muted); display: grid; gap: 3px; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  align-items: end;
}

.filters .field { margin: 0; min-width: 160px; }
.filters .grow { flex: 1; min-width: 220px; }

label {
  display: block;
  font-size: 12px;
  margin: 0 0 6px;
  color: var(--muted);
  font-weight: 600;
}

input, select, textarea {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
}

textarea { min-height: 90px; resize: vertical; }
select[multiple] { min-height: 140px; }
.field { margin-bottom: 12px; }

.table-wrap { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 11px 12px;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}

th {
  background: #f8fafc;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

tbody tr:hover { background: #fafbfc; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  background: #f1f5f9;
  color: var(--muted);
}

.badge.Planejado { background: #f1f5f9; color: #475569; }
.badge.Confirmado { background: #dcfce7; color: #166534; }
.badge.Realizado { background: #e0f2fe; color: #075985; }
.badge.Cancelado { background: #fee2e2; color: #991b1b; }
.badge.SemProfessor { background: #fef3c7; color: #92400e; }
.badge.andamento { background: #dbeafe; color: #1d4ed8; }
.badge.programada { background: #f1f5f9; color: #475569; }
.badge.encerrada { background: #f1f5f9; color: #64748b; }
.badge.warn { background: #fef3c7; color: #92400e; }
.badge.danger { background: #fee2e2; color: #991b1b; }

button.badge {
  border: 0;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
}

.badge.is-action {
  cursor: pointer;
}

.badge.is-action:hover {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
}

.list { display: grid; gap: 10px; }

.meeting {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.meeting time { color: var(--muted); font-size: 13px; font-weight: 650; }
.meeting h3 { margin: 0 0 2px; font-size: 15px; }
.meeting p { margin: 0; color: var(--muted); font-size: 13px; }

.cal-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  align-items: center;
}

.cal-nav { display: flex; align-items: center; gap: 8px; }
.cal-nav strong { min-width: 160px; text-align: center; }

.seg { display: flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.seg a {
  padding: 7px 12px;
  color: var(--muted);
  background: #fff;
  text-decoration: none;
}
.seg a.active { background: #eff6ff; color: var(--primary); font-weight: 650; }

.cal {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.cal-head, .cal-cell {
  background: #fff;
  min-height: 118px;
  padding: 8px;
}

.cal-head {
  min-height: auto;
  background: #f8fafc;
  font-size: 12px;
  font-weight: 650;
  color: var(--muted);
}

.cal-cell.empty { background: #f8fafc; }
.cal-day { font-weight: 700; font-size: 12px; margin-bottom: 6px; }
.cal-cell.today .cal-day { color: var(--primary); }

.cal-event {
  display: block;
  font-size: 11px;
  line-height: 1.35;
  margin-bottom: 6px;
  padding: 5px 6px 5px 8px;
  border-radius: 8px;
  background: #eff6ff;
  color: var(--ink);
  border-left: 3px solid var(--primary);
  text-decoration: none;
}

.cal-event:hover { text-decoration: none; background: #dbeafe; }
.cal-event.SemProfessor { background: #fffbeb; border-left-color: var(--warning); }
.cal-event.Realizado { background: #f0fdf4; border-left-color: var(--success); }
.cal-event.Cancelado { background: #fef2f2; border-left-color: var(--danger); opacity: 0.7; }
.cal-event.Confirmado { border-left-color: var(--success); }

.week, .day-list { display: grid; gap: 8px; }

.drawer-back, .modal-back {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  display: none;
  z-index: 50;
}

.drawer-back.open, .modal-back.open { display: block; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100%);
  background: #fff;
  z-index: 60;
  transform: translateX(100%);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.drawer.open { transform: translateX(0); }

.drawer-head, .modal-head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-body, .modal-body { padding: 20px; overflow: auto; flex: 1; }
.drawer-foot, .modal-foot {
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(440px, calc(100% - 32px));
  background: #fff;
  border-radius: 12px;
  z-index: 70;
  display: none;
}

.modal.open { display: block; }

.swal-eduops {
  font-family: var(--font);
  border-radius: 16px !important;
  padding: 28px 28px 24px !important;
  box-sizing: border-box;
}

.swal2-popup.swal2-toast.swal-eduops {
  padding: 12px 16px !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12) !important;
}

.swal-eduops .swal2-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  padding: 0;
  margin: 0 0 8px;
}

.swal-eduops .swal2-html-container {
  margin: 0 0 18px;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.swal-eduops .swal2-input,
.swal-eduops .swal2-select,
.swal-eduops .swal2-file,
.swal-eduops .swal2-textarea {
  width: 100%;
  max-width: none;
  margin: 0 0 22px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: none;
  font-size: 14px;
}

.swal-eduops .swal2-select:focus,
.swal-eduops .swal2-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.swal-status {
  width: min(420px, calc(100% - 32px)) !important;
}

.swal2-actions {
  gap: 8px;
  margin: 0;
  width: 100%;
}

.swal2-styled.btn,
.swal2-actions .btn {
  margin: 0;
  min-width: 112px;
}

.empty {
  text-align: center;
  padding: 36px 16px;
  color: var(--muted);
}

.empty strong { display: block; color: var(--ink); margin-bottom: 6px; }

.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tab {
  border: 0;
  background: transparent;
  padding: 10px 12px;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  font-weight: 650;
}
.tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.course-card h3 { margin: 0 0 6px; font-size: 18px; }
.meta { color: var(--muted); font-size: 13px; display: flex; flex-wrap: wrap; gap: 10px; }

.bar {
  height: 8px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  margin: 10px 0 6px;
}

.bar > span { display: block; height: 100%; background: var(--primary); }

.chart-row { display: grid; grid-template-columns: 160px 1fr 48px; gap: 10px; align-items: center; margin-bottom: 10px; }
.chart-row b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chart-track { height: 8px; background: #e2e8f0; border-radius: 999px; overflow: hidden; }
.chart-track > span { display: block; height: 100%; background: var(--primary); }
.chart-row em { font-style: normal; color: var(--muted); font-size: 12px; }

.donut-wrap { display: flex; gap: 20px; align-items: center; }
.donut {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  flex: 0 0 132px;
}
.legend { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 99px; margin-right: 6px; }

.guest-main { min-height: 100vh; }

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-word {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--ink);
  line-height: 1;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #eff6ff;
  color: var(--primary);
  border: 1px solid #dbeafe;
}

.brand-mark.inverted .brand-word,
.auth-brand .brand-word { color: #fff; }

.brand-mark.inverted .brand-badge,
.auth-brand .brand-badge {
  background: rgba(37, 99, 235, 0.22);
  color: #bfdbfe;
  border-color: rgba(191, 219, 254, 0.24);
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(420px, 0.9fr);
  background: #f7f8fa;
}

.auth-brand {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 56px;
  color: #e2e8f0;
  background: linear-gradient(165deg, #0f172a 0%, #172554 100%);
}

.auth-brand-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 20% 20%, #000 20%, transparent 70%);
  pointer-events: none;
}

.auth-brand-bg::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  bottom: -140px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 48px rgba(255, 255, 255, 0.03);
}

.auth-brand-inner,
.auth-brand-foot { position: relative; z-index: 1; }

.auth-headline {
  margin: 48px 0 16px;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: #fff;
}

.auth-support {
  margin: 0 0 32px;
  max-width: 440px;
  color: #94a3b8;
  font-size: 16px;
}

.auth-caps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.auth-caps li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
}

.auth-caps i,
.auth-caps svg {
  width: 15px;
  height: 15px;
  color: #93c5fd;
}

.auth-brand-foot {
  margin: 40px 0 0;
  color: #64748b;
  font-size: 13px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 32px;
  background: #f7f8fa;
}

.auth-mobile-brand { display: none; margin-bottom: 24px; }

.auth-card {
  width: min(460px, 100%);
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px 40px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.auth-kicker {
  margin: 0 0 10px;
  color: #64748b;
  font-size: 13px;
  font-weight: 650;
}

.auth-card h1 {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: #111827;
}

.auth-card .lede { margin-bottom: 24px; }

.auth-fields { margin-top: 8px; }

.auth-card .field { margin-bottom: 16px; }

.auth-card label {
  margin-bottom: 8px;
  color: #111827;
  font-size: 13px;
}

.auth-card input[type="email"],
.auth-card input[type="password"],
.auth-card input[type="text"] {
  height: 50px;
  padding: 0 14px;
  border-radius: 12px;
  border-color: #e2e8f0;
  background: #fff;
}

.auth-card input::placeholder { color: #94a3b8; }

.auth-card input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.password-wrap { position: relative; }

.password-wrap input { padding-right: 48px; }

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #64748b;
  border-radius: 8px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.password-toggle:hover { color: #111827; background: #f8fafc; }

.password-toggle svg { width: 18px; height: 18px; }
.password-toggle .icon-hide { display: none; }
.password-toggle.is-visible .icon-show { display: none; }
.password-toggle.is-visible .icon-hide { display: block; }

.auth-submit {
  width: 100%;
  height: 48px;
  margin-top: 8px;
  border-radius: 10px;
}

.auth-legal {
  margin: 20px 0 0;
  color: #94a3b8;
  font-size: 12px;
}

.form-message {
  margin: 0 0 20px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.45;
}

.form-message.erro {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
}

.form-message.info {
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #1d4ed8;
}

.checks { display: grid; gap: 6px; }
.checks label { display: flex; gap: 8px; align-items: flex-start; color: var(--ink); font-weight: 400; }
.checks input { width: auto; margin-top: 4px; }

.kbd { color: var(--muted); font-size: 13px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.mobile-only { display: none; }

@media (max-width: 1100px) {
  .grid.cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.cols-3 { grid-template-columns: 1fr 1fr; }
  .auth-brand { padding: 36px 32px; }
  .auth-headline { margin-top: 36px; }
  .auth-card { padding: 32px; }
}

@media (max-width: 860px) {
  .mobile-only { display: grid; }
  .sidebar { transform: translateX(-100%); }
  body.sidebar-open .sidebar { transform: translateX(0); }
  .app-main, body.sidebar-collapsed .app-main { margin-left: 0; }
  .grid.cols-2, .grid.cols-3, .grid.cols-5, .page-header, .meeting { grid-template-columns: 1fr; display: grid; }
  .cal { display: block; }
  .cal-head { display: none; }
  .user-meta { display: none; }
  .content { padding: 20px 16px 40px; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .auth-mobile-brand { display: flex; }
  .auth-form { padding: 32px 20px 40px; align-items: stretch; }
  .auth-card {
    width: 100%;
    padding: 28px 22px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  }
  .auth-legal { text-align: center; }
}

.alert-banner {
  border-left: 4px solid #f59e0b;
}

.pendencia-lista {
  margin: 8px 0 0;
  padding-left: 18px;
}

.pendencia-lista li { margin-bottom: 6px; }

.feedback-aluno {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.feedback-aluno:first-of-type { border-top: 0; padding-top: 0; }

.feedback-aluno h2 {
  margin: 0 0 10px;
  font-size: 16px;
}

.report-body {
  margin: 0;
  background: #f8fafc;
  font-family: Inter, sans-serif;
  color: #0f172a;
}

.report-toolbar {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  padding: 16px 24px;
}

.report-doc {
  max-width: 800px;
  margin: 0 auto 40px;
  background: #fff;
  padding: 40px 48px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.report-doc h1 { margin: 8px 0 8px; font-size: 26px; }
.report-prof { margin-top: 28px; }
.report-prof h2 { font-size: 18px; margin: 0 0 12px; }
.report-aluno {
  padding: 14px 0;
  border-top: 1px solid #e2e8f0;
}

.report-aluno h3 { margin: 0 0 8px; font-size: 16px; }
.report-aluno p { margin: 0 0 6px; line-height: 1.5; }

@media print {
  .no-print { display: none !important; }
  .report-body { background: #fff; }
  .report-doc {
    box-shadow: none;
    max-width: none;
    padding: 0;
  }
}
