/* Today's "From your teacher" card (study/notes-card.js; José, 2026-10-19).
   Gold, like the Notes tab's own icon: the teacher's words. Built on
   study.css (.panel, .paneltitle, .btn). */

.fromteacher {
  border-color: color-mix(in srgb, var(--ui-gold) 55%, var(--ui-line));
  background: color-mix(in srgb, var(--ui-gold) 7%, var(--ui-panel));
}
.fromteacher[hidden] { display: none; }
.fthead { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem 0.75rem; margin-bottom: 0.875rem; }
.fthead h2 { flex: 1 1 auto; margin: 0; }
.ptnotes { color: var(--ui-gold); }

.ftlist { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); gap: 0.75rem; }
.ftnote {
  display: flex; flex-direction: column; gap: 0.125rem; min-width: 0;
  padding: 0.875rem 1rem;
  font: inherit; text-align: left; color: var(--ui-text);
  background: var(--ui-panel);
  border: 1px solid color-mix(in srgb, var(--ui-gold) 40%, var(--ui-line));
  border-radius: 1rem;
  cursor: pointer;
}
@media (hover: hover) { .ftnote:hover { border-color: var(--ui-gold); box-shadow: 0 0.1875rem 0 color-mix(in srgb, var(--ui-gold) 45%, transparent); } }
.ftnote:focus-visible { outline: 2px solid var(--ui-accent); outline-offset: 2px; }
.fttop { display: flex; align-items: flex-start; gap: 0.5rem; }
.fttitle { flex: 1; min-width: 0; font-weight: 800; font-size: 1.0625rem; line-height: 1.3; overflow-wrap: anywhere; }
.ftnew {
  flex: none; padding: 0.0625rem 0.5rem; border-radius: 999px;
  background: var(--ui-accent-fill, var(--ui-accent)); color: var(--ui-accent-text, #fff);
  font-size: 0.75rem; font-weight: 800; line-height: 1.4;
}
.ftdate { color: var(--ui-dim); font-size: 0.875rem; font-weight: 600; }
.ftpeek { color: var(--ui-dim); font-size: 0.9375rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
