
.smart-day-banner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  margin-bottom: 14px;
  border: 1px solid var(--border, #dbe4f2);
  border-radius: 16px;
  background: var(--surface, #fff);
}
.smart-day-banner span { color: var(--muted, #667085); }
.smart-day-banner strong { font-size: .95rem; }

.smart-lesson-list,
.smart-week-grid {
  display: grid;
  gap: 14px;
}
.smart-lesson-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--border, #dbe4f2);
  border-radius: 18px;
  background: var(--surface, #fff);
  box-shadow: 0 8px 24px rgba(24, 48, 84, .06);
}
.smart-lesson-card.compact {
  grid-template-columns: 90px 1fr;
  padding: 14px;
  box-shadow: none;
}
.smart-lesson-card.cancelled { opacity: .9; }
.smart-lesson-card.override { border-style: dashed; }
.smart-lesson-time {
  font-weight: 800;
  font-size: 1rem;
  color: var(--primary, #1f4b99);
}
.smart-lesson-kicker {
  display: inline-block;
  margin-bottom: 4px;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted, #667085);
}
.smart-lesson-card h3 {
  margin: 0;
}
.smart-lesson-card section {
  margin-top: 12px;
}
.smart-lesson-card section strong,
.smart-outcomes > strong {
  display: block;
  margin-bottom: 4px;
  font-size: .85rem;
}
.smart-lesson-card section p {
  margin: 0;
}
.smart-lesson-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.smart-theme-chip {
  flex: none;
  padding: 6px 9px;
  border-radius: 999px;
  background: #eef4ff;
  color: #315aa6;
  font-size: .78rem;
  font-weight: 700;
}
.smart-outcomes {
  margin-top: 12px;
}
.smart-outcomes div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.smart-outcomes span {
  padding: 4px 7px;
  border-radius: 8px;
  background: #f3f6fb;
  font-size: .75rem;
  font-weight: 700;
}

.smart-week-day {
  padding: 14px;
  border: 1px solid var(--border, #dbe4f2);
  border-radius: 18px;
  background: var(--surface, #fff);
}
.smart-week-day.today {
  outline: 2px solid rgba(31, 75, 153, .16);
}
.smart-week-day-head {
  margin-bottom: 10px;
}
.smart-week-day-head > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.smart-week-day-head span { font-weight: 800; }
.smart-week-day-head b {
  padding: 3px 7px;
  border-radius: 999px;
  background: #eef4ff;
  color: #315aa6;
  font-size: .72rem;
}
.smart-no-lesson { margin: 6px 0 0; }

.smart-teacher-post {
  margin-top: 28px;
}
.smart-home-card {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  align-items: center;
  margin-bottom: 16px;
  padding: 16px 18px;
  border: 0;
  border-radius: 18px;
  background: #eef4ff;
  cursor: pointer;
}
.smart-home-card span {
  display: grid;
  gap: 3px;
}
.smart-home-card small {
  color: #315aa6;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.smart-home-card strong { font-size: 1.05rem; }
.smart-home-card em {
  font-style: normal;
  color: var(--muted, #667085);
}
.smart-home-card b {
  color: #315aa6;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .smart-lesson-card,
  .smart-lesson-card.compact {
    grid-template-columns: 1fr;
  }
  .smart-lesson-time {
    font-size: .9rem;
  }
  .smart-lesson-head {
    display: block;
  }
  .smart-theme-chip {
    display: inline-block;
    margin-top: 8px;
  }
  .smart-home-card {
    align-items: flex-start;
    flex-direction: column;
  }
}
