@import url("./entrada.css?v=20260920-login-api");

body[data-student-interface="glass"] {
  background: var(--student-page-background);
  background-attachment: fixed;
}

body[data-student-interface="glass"]::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(var(--page-grid-color-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--page-grid-color-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .7), transparent 82%);
}

body[data-student-interface="glass"] .student-glass-shell {
  min-height: 100dvh;
  padding-left: 112px;
  transition: padding-left .3s ease;
}

body[data-student-interface="glass"].glass-menu-open .student-glass-shell {
  padding-left: 292px;
}

body[data-student-interface="glass"] .student-glass-sidebar {
  position: fixed;
  z-index: 30;
  top: 18px;
  bottom: 18px;
  left: 18px;
  width: 76px;
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 14px;
  padding: 14px 11px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  background: var(--glass-background);
  box-shadow: 0 28px 80px var(--shadow-color), inset 0 1px var(--glass-border);
  backdrop-filter: blur(22px) saturate(125%);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
  transition: width .3s ease, border-radius .3s ease;
}

body[data-student-interface="glass"].glass-menu-open .student-glass-sidebar {
  width: 256px;
  border-radius: 28px;
}

body[data-student-interface="glass"] .student-glass-brand {
  height: 54px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

body[data-student-interface="glass"] .student-glass-brand .brand {
  flex: none;
  gap: 13px;
  white-space: nowrap;
}

body[data-student-interface="glass"] .student-glass-brand .mark {
  width: 52px;
  height: 46px;
}

body[data-student-interface="glass"] .student-glass-brand .brand > div {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .2s ease, transform .3s ease;
}

body[data-student-interface="glass"].glass-menu-open .student-glass-brand .brand > div {
  opacity: 1;
  transform: translateX(0);
}

body[data-student-interface="glass"] .glass-menu-toggle,
body[data-student-interface="glass"] .student-glass-nav button,
body[data-student-interface="glass"] .student-glass-logout {
  border: 0;
  color: var(--student-nav-color);
  background: transparent;
}

body[data-student-interface="glass"] .glass-menu-toggle {
  width: 52px;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 15px;
  border-radius: 14px;
  overflow: hidden;
  transition: width .3s ease, background .2s ease;
}

body[data-student-interface="glass"].glass-menu-open .glass-menu-toggle {
  width: 232px;
  background: var(--glass-hover);
}

body[data-student-interface="glass"] .glass-menu-toggle-icon {
  width: 22px;
  flex: 0 0 22px;
  display: grid;
  gap: 4px;
}

body[data-student-interface="glass"] .glass-menu-toggle-icon i {
  height: 2px;
  display: block;
  border-radius: 3px;
  background: currentColor;
}

body[data-student-interface="glass"] .glass-menu-toggle strong {
  opacity: 0;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: opacity .2s ease;
}

body[data-student-interface="glass"].glass-menu-open .glass-menu-toggle strong { opacity: 1; }

body[data-student-interface="glass"] .student-glass-theme {
  width: 52px;
  min-width: 52px;
  min-height: 44px;
  justify-content: flex-start;
  gap: 15px;
  overflow: hidden;
  border-color: transparent;
  background: transparent;
  padding: 0 15px;
  transition: width .3s ease, color .2s ease, background .2s ease, border-color .2s ease;
}

body[data-student-interface="glass"].glass-menu-open .student-glass-theme {
  width: 232px;
  border-color: var(--glass-border);
  background: var(--glass-hover);
}

body[data-student-interface="glass"] .student-glass-theme .theme-toggle-label {
  min-width: 120px;
  opacity: 0;
  transition: opacity .2s ease;
}

body[data-student-interface="glass"].glass-menu-open .student-glass-theme .theme-toggle-label { opacity: 1; }

body[data-student-interface="glass"] .student-glass-nav {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 4px;
}

body[data-student-interface="glass"] .student-glass-nav button {
  position: relative;
  width: 52px;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 15px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 15px;
  text-align: left;
  transition: width .3s ease, color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

body[data-student-interface="glass"].glass-menu-open .student-glass-nav button { width: 232px; }

body[data-student-interface="glass"] .student-glass-nav button:hover,
body[data-student-interface="glass"] .student-glass-nav button:focus-visible {
  color: var(--text);
  background: var(--glass-hover);
  transform: translateY(-1px);
}

body[data-student-interface="glass"] .student-glass-nav button.active {
  color: var(--text);
  border-color: rgba(255, 88, 108, .34);
  background: linear-gradient(135deg, rgba(255, 45, 68, .34), rgba(255, 255, 255, .09));
  box-shadow: 0 11px 25px rgba(255, 45, 68, .18), inset 0 1px rgba(255, 255, 255, .1);
}

body[data-student-interface="glass"] .student-glass-nav-icon {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
}

body[data-student-interface="glass"] .student-glass-nav-icon svg,
body[data-student-interface="glass"] .student-glass-logout svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body[data-student-interface="glass"] .student-glass-nav-label {
  min-width: 130px;
  opacity: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: translateX(-7px);
  transition: opacity .2s ease, transform .3s ease;
}

body[data-student-interface="glass"].glass-menu-open .student-glass-nav-label {
  opacity: 1;
  transform: translateX(0);
}

body[data-student-interface="glass"] .student-glass-nav-short { display: none; }

body[data-student-interface="glass"] .student-glass-account {
  width: 52px;
  min-height: 54px;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 7px;
  overflow: hidden;
  border-top: 1px solid var(--glass-border);
  transition: width .3s ease;
}

body[data-student-interface="glass"].glass-menu-open .student-glass-account { width: 232px; }

body[data-student-interface="glass"] .student-glass-account .avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  font-size: 13px;
}

body[data-student-interface="glass"] .student-glass-account-copy {
  min-width: 112px;
  opacity: 0;
  transform: translateX(-7px);
  transition: opacity .2s ease, transform .3s ease;
}

body[data-student-interface="glass"].glass-menu-open .student-glass-account-copy {
  opacity: 1;
  transform: translateX(0);
}

body[data-student-interface="glass"] .student-glass-account-copy strong,
body[data-student-interface="glass"] .student-glass-account-copy small { display: block; }
body[data-student-interface="glass"] .student-glass-account-copy strong { font-size: 13px; }
body[data-student-interface="glass"] .student-glass-account-copy small { margin-top: 2px; color: var(--muted); font-size: 10px; }

body[data-student-interface="glass"] .student-glass-logout {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 7px;
  border-radius: 10px;
  opacity: 0;
}

body[data-student-interface="glass"].glass-menu-open .student-glass-logout { opacity: 1; }
body[data-student-interface="glass"] .student-glass-logout span { display: none; }

body[data-student-interface="glass"] .student-glass-main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 110px;
}

body[data-student-interface="glass"] .student-glass-main .card,
body[data-student-interface="glass"] .student-glass-main .panel,
body[data-student-interface="glass"] .student-glass-main .metric,
body[data-student-interface="glass"] .student-glass-main .tool {
  border-color: var(--glass-border);
  background: var(--glass-card-background);
  box-shadow: 0 20px 52px var(--shadow-color), inset 0 1px var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body[data-student-interface="glass"] .student-glass-main .page-title {
  font-size: clamp(48px, 6vw, 78px);
}

body[data-student-interface="glass"] .student-glass-main .page-head {
  padding: 10px 6px 0;
}

body[data-student-interface="glass"] .student-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-areas:
    "today today today today today today today today today today today today"
    "shortcuts shortcuts shortcuts shortcuts shortcuts shortcuts shortcuts shortcuts shortcuts shortcuts shortcuts shortcuts"
    "habits habits habits habits habits habits habits messages messages messages messages messages"
    "habits habits habits habits habits habits habits appointment appointment appointment appointment appointment";
  gap: 16px;
  align-items: stretch;
}

body[data-student-interface="glass"] .student-bento-grid.has-anamnesis {
  grid-template-areas:
    "today today today today today today today today anamnesis anamnesis anamnesis anamnesis"
    "shortcuts shortcuts shortcuts shortcuts shortcuts shortcuts shortcuts shortcuts shortcuts shortcuts shortcuts shortcuts"
    "habits habits habits habits habits habits habits messages messages messages messages messages"
    "habits habits habits habits habits habits habits appointment appointment appointment appointment appointment";
}

body[data-student-interface="glass"] .bento-today { grid-area: today; }
body[data-student-interface="glass"] .bento-anamnesis { grid-area: anamnesis; }
body[data-student-interface="glass"] .bento-shortcuts { grid-area: shortcuts; }
body[data-student-interface="glass"] .bento-habits { grid-area: habits; }
body[data-student-interface="glass"] .bento-messages { grid-area: messages; }
body[data-student-interface="glass"] .bento-appointment { grid-area: appointment; }

body[data-student-interface="glass"] .student-bento-cell {
  min-width: 0;
  position: relative;
}

body[data-student-interface="glass"] .student-bento-cell > .card,
body[data-student-interface="glass"] .student-bento-cell > .student-summary {
  height: 100%;
  margin: 0;
}

body[data-student-interface="glass"] .student-bento-cell > .card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

body[data-student-interface="glass"] .student-bento-cell > .card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, .035), transparent 38%);
}

body[data-student-interface="glass"] .bento-today .today-agenda {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-color: rgba(255, 75, 96, .24);
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 45, 68, .19), transparent 16rem),
    linear-gradient(145deg, rgba(40, 19, 27, .91), rgba(16, 14, 17, .88));
}

body[data-student-interface="glass"] .bento-today .today-agenda h2 {
  font-size: clamp(30px, 3.4vw, 48px);
}

body[data-student-interface="glass"] .bento-today .empty-state {
  max-width: 560px;
  font-size: 16px;
  line-height: 1.55;
}

body[data-student-interface="glass"] .bento-anamnesis .anamnesis-callout {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 18px;
  border-color: rgba(174, 102, 255, .25);
  background:
    radial-gradient(circle at 82% 12%, rgba(153, 74, 255, .18), transparent 13rem),
    linear-gradient(145deg, rgba(32, 21, 39, .92), rgba(16, 14, 18, .88));
}

body[data-student-interface="glass"] .bento-anamnesis .anamnesis-callout h2 {
  max-width: 360px;
  font-size: clamp(23px, 2vw, 31px);
  line-height: 1.05;
}

body[data-student-interface="glass"] .bento-anamnesis .anamnesis-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

body[data-student-interface="glass"] .bento-anamnesis .anamnesis-actions .btn {
  width: 100%;
  min-width: 0;
}

body[data-student-interface="glass"] .bento-shortcuts .student-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body[data-student-interface="glass"] .bento-shortcuts .summary-card {
  min-height: 145px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 24px;
  text-align: left;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

body[data-student-interface="glass"] .bento-shortcuts .summary-card::after {
  content: "↗";
  position: absolute;
  top: 18px;
  right: 20px;
  color: var(--muted);
  font-size: 20px;
}

body[data-student-interface="glass"] .bento-shortcuts .summary-card:nth-child(1) {
  border-color: rgba(46, 198, 255, .24);
  background: linear-gradient(145deg, rgba(19, 41, 52, .88), rgba(15, 16, 19, .9));
}

body[data-student-interface="glass"] .bento-shortcuts .summary-card:nth-child(2) {
  border-color: rgba(38, 211, 133, .24);
  background: linear-gradient(145deg, rgba(17, 45, 34, .86), rgba(14, 17, 17, .9));
}

body[data-student-interface="glass"] .bento-shortcuts .summary-card:nth-child(3) {
  border-color: rgba(255, 177, 61, .24);
  background: linear-gradient(145deg, rgba(49, 35, 17, .86), rgba(17, 15, 14, .9));
}

body[data-student-interface="glass"] .bento-shortcuts .summary-card:hover,
body[data-student-interface="glass"] .bento-shortcuts .summary-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, .24);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .3);
}

body[data-student-interface="glass"] .bento-shortcuts .summary-card strong {
  margin-top: auto;
  font-size: clamp(22px, 2.3vw, 32px);
}

body[data-student-interface="glass"] .bento-habits .habit-panel {
  min-height: 430px;
  border-color: rgba(61, 216, 145, .2);
  background:
    radial-gradient(circle at 8% 92%, rgba(22, 155, 96, .12), transparent 18rem),
    linear-gradient(145deg, rgba(18, 31, 26, .88), rgba(14, 15, 16, .9));
}

body[data-student-interface="glass"] .bento-habits .habit-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-student-interface="glass"] .bento-messages .messages-panel,
body[data-student-interface="glass"] .bento-appointment .appointment-panel {
  min-height: 205px;
}

:root[data-theme="light"] body[data-student-interface="glass"] .bento-shortcuts .summary-card:nth-child(1) {
  background: linear-gradient(145deg, #edf8fc, #ffffff);
}

:root[data-theme="light"] body[data-student-interface="glass"] .bento-shortcuts .summary-card:nth-child(2),
:root[data-theme="light"] body[data-student-interface="glass"] .bento-habits .habit-panel {
  background: linear-gradient(145deg, #edf9f3, #ffffff);
}

:root[data-theme="light"] body[data-student-interface="glass"] .bento-shortcuts .summary-card:nth-child(3) {
  background: linear-gradient(145deg, #fff6e7, #ffffff);
}

:root[data-theme="light"] body[data-student-interface="glass"] .bento-messages .messages-panel {
  background: linear-gradient(145deg, #f2efff, #ffffff);
}

:root[data-theme="light"] body[data-student-interface="glass"] .bento-appointment .appointment-panel {
  background: linear-gradient(145deg, #edf5ff, #ffffff);
}

body[data-student-interface="glass"] .bento-messages .messages-panel {
  border-color: rgba(125, 116, 255, .22);
  background: linear-gradient(145deg, rgba(28, 25, 49, .9), rgba(15, 14, 18, .9));
}

body[data-student-interface="glass"] .bento-appointment .appointment-panel {
  border-color: rgba(69, 163, 255, .22);
  background: linear-gradient(145deg, rgba(20, 34, 48, .9), rgba(14, 15, 18, .9));
}

@media (max-width: 1120px) and (min-width: 821px) {
  body[data-student-interface="glass"] .student-bento-grid,
  body[data-student-interface="glass"] .student-bento-grid.has-anamnesis {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-areas:
      "today today today today today today"
      "anamnesis anamnesis anamnesis anamnesis anamnesis anamnesis"
      "shortcuts shortcuts shortcuts shortcuts shortcuts shortcuts"
      "habits habits habits habits habits habits"
      "messages messages messages appointment appointment appointment";
  }

  body[data-student-interface="glass"] .student-bento-grid:not(.has-anamnesis) .bento-anamnesis { display: none; }
  body[data-student-interface="glass"] .bento-anamnesis .anamnesis-callout { min-height: auto; }
}

@media (max-width: 820px) {
  body[data-student-interface="glass"]::before { background-size: 48px 48px; }

  body[data-student-interface="glass"] .student-glass-shell,
  body[data-student-interface="glass"].glass-menu-open .student-glass-shell {
    padding: 68px 0 0;
  }

  body[data-student-interface="glass"] .student-glass-sidebar,
  body[data-student-interface="glass"].glass-menu-open .student-glass-sidebar {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    width: auto;
    height: 68px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    overflow: visible;
    border-width: 0 0 1px;
    border-radius: 0;
    background: var(--student-nav-background);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body[data-student-interface="glass"] .student-glass-brand { height: 50px; }
  body[data-student-interface="glass"] .student-glass-brand .mark { width: 48px; height: 42px; }
  body[data-student-interface="glass"] .student-glass-brand .brand > div,
  body[data-student-interface="glass"] .glass-menu-toggle { display: none; }

  body[data-student-interface="glass"] .student-glass-account,
  body[data-student-interface="glass"].glass-menu-open .student-glass-account {
    width: auto;
    min-height: 46px;
    display: flex;
    margin-left: auto;
    padding: 4px;
    border: 0;
    overflow: visible;
  }

  body[data-student-interface="glass"] .student-glass-account-copy { display: none; }
  body[data-student-interface="glass"] .student-glass-account .avatar { width: 36px; height: 36px; }
  body[data-student-interface="glass"] .student-glass-logout,
  body[data-student-interface="glass"].glass-menu-open .student-glass-logout {
    width: 38px;
    height: 38px;
    opacity: 1;
    color: var(--student-nav-color);
  }

  body[data-student-interface="glass"] .student-glass-nav {
    position: fixed;
    z-index: 35;
    right: 0;
    bottom: 0;
    left: 0;
    height: calc(72px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 2px;
    padding: 6px 5px calc(6px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--glass-border);
    background: var(--student-nav-background);
    box-shadow: 0 -12px 34px var(--shadow-color);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  body[data-student-interface="glass"] .student-glass-nav button,
  body[data-student-interface="glass"].glass-menu-open .student-glass-nav button {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    display: grid;
    grid-template-rows: 24px auto;
    place-items: center;
    gap: 3px;
    padding: 5px 1px;
    border-radius: 12px;
    transform: none;
  }

  body[data-student-interface="glass"] .student-glass-nav button.active {
    border-color: rgba(255, 45, 68, .26);
    background: rgba(255, 45, 68, .14);
    box-shadow: inset 0 2px rgba(255, 45, 68, .72);
  }

  body[data-student-interface="glass"] .student-glass-nav-icon { width: 21px; height: 21px; }
  body[data-student-interface="glass"] .student-glass-nav-label { display: none; }
  body[data-student-interface="glass"] .student-glass-nav-short {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: var(--student-nav-color);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
  }

  body[data-student-interface="glass"] .student-glass-main {
    width: min(620px, calc(100% - 20px));
    padding: 24px 0 calc(100px + env(safe-area-inset-bottom));
  }

  body[data-student-interface="glass"] .student-glass-theme,
  body[data-student-interface="glass"].glass-menu-open .student-glass-theme {
    width: 42px;
    min-width: 42px;
    min-height: 42px;
    justify-content: center;
    border-color: var(--glass-border);
    background: var(--button-secondary-background);
    padding: 0;
  }

  body[data-student-interface="glass"] .student-glass-theme .theme-toggle-label { display: none; }

  body[data-student-interface="glass"] .student-glass-main .page-head { padding-inline: 2px; }
  body[data-student-interface="glass"] .student-glass-main .page-title { font-size: clamp(40px, 13vw, 58px); }
  body[data-student-interface="glass"] .student-glass-main .card,
  body[data-student-interface="glass"] .student-glass-main .panel { backdrop-filter: none; }

  body[data-student-interface="glass"] .student-bento-grid,
  body[data-student-interface="glass"] .student-bento-grid.has-anamnesis {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: none;
    gap: 12px;
  }

  body[data-student-interface="glass"] .student-bento-cell {
    grid-area: auto;
  }

  body[data-student-interface="glass"] .student-bento-cell > .card {
    border-radius: 16px;
  }

  body[data-student-interface="glass"] .bento-today .today-agenda,
  body[data-student-interface="glass"] .bento-anamnesis .anamnesis-callout,
  body[data-student-interface="glass"] .bento-habits .habit-panel,
  body[data-student-interface="glass"] .bento-messages .messages-panel,
  body[data-student-interface="glass"] .bento-appointment .appointment-panel {
    min-height: auto;
  }

  body[data-student-interface="glass"] .bento-shortcuts .student-summary,
  body[data-student-interface="glass"] .bento-habits .habit-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  body[data-student-interface="glass"] .bento-shortcuts .summary-card {
    min-height: 112px;
    padding: 18px;
    border-radius: 16px;
  }

  body[data-student-interface="glass"] .bento-shortcuts .summary-card strong {
    font-size: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-student-interface="glass"] .student-glass-shell,
  body[data-student-interface="glass"] .student-glass-sidebar,
  body[data-student-interface="glass"] .student-glass-nav button,
  body[data-student-interface="glass"] .student-glass-nav-label { transition: none; }
}

/* Tema claro com superfícies neutras e contraste consistente. */
:root[data-theme="light"] body[data-student-interface="glass"] .student-bento-cell > .card::after {
  opacity: .18;
}

:root[data-theme="light"] body[data-student-interface="glass"] .bento-today .today-agenda {
  border-color: rgba(189, 31, 55, .2);
  background: linear-gradient(145deg, #fff7f8, #ffffff 58%);
}

:root[data-theme="light"] body[data-student-interface="glass"] .bento-anamnesis .anamnesis-callout {
  border-color: rgba(113, 69, 184, .2);
  background: linear-gradient(145deg, #f8f4ff, #ffffff 62%);
}

:root[data-theme="light"] body[data-student-interface="glass"] .bento-shortcuts .summary-card:nth-child(1) {
  background: linear-gradient(145deg, #f2f9fc, #ffffff 68%);
}

:root[data-theme="light"] body[data-student-interface="glass"] .bento-shortcuts .summary-card:nth-child(2),
:root[data-theme="light"] body[data-student-interface="glass"] .bento-habits .habit-panel {
  background: linear-gradient(145deg, #f1faf5, #ffffff 68%);
}

:root[data-theme="light"] body[data-student-interface="glass"] .bento-shortcuts .summary-card:nth-child(3) {
  background: linear-gradient(145deg, #fff8ec, #ffffff 68%);
}

:root[data-theme="light"] body[data-student-interface="glass"] .bento-messages .messages-panel {
  background: linear-gradient(145deg, #f6f3ff, #ffffff 68%);
}

:root[data-theme="light"] body[data-student-interface="glass"] .bento-appointment .appointment-panel {
  background: linear-gradient(145deg, #f2f7fd, #ffffff 68%);
}

:root[data-theme="light"] body[data-student-interface="glass"] .student-glass-nav button.active {
  color: var(--red);
  background: rgba(189, 31, 55, .08);
  box-shadow: inset 0 2px rgba(189, 31, 55, .58);
}

@media (max-width: 420px) {
  body[data-student-interface="glass"] .student-glass-sidebar,
  body[data-student-interface="glass"].glass-menu-open .student-glass-sidebar {
    gap: 6px;
    padding-inline: 8px;
  }

  body[data-student-interface="glass"] .student-glass-main {
    width: calc(100% - 16px);
  }

  body[data-student-interface="glass"] .student-glass-main .card,
  body[data-student-interface="glass"] .student-glass-main .panel,
  body[data-student-interface="glass"] .student-glass-main .metric,
  body[data-student-interface="glass"] .student-glass-main .tool {
    padding: 14px;
    border-radius: 14px;
  }
}
