/* archive-board.css — shared by dashboard.html + teacher-dashboard.html.
   Reuses existing tokens only: --ease var, glass panel look, status-pill
   colors already defined per-page. No new palette. */

.archive-board-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(8,10,16,.72);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.archive-board-panel {
  width: min(720px, 100%); max-height: 86vh; overflow: auto;
  background: linear-gradient(180deg, #12151d, #0e1119);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 18px;
}
.archive-board-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.archive-board-title { font-size: 1.15rem; font-weight: 600; color: var(--text-body, #fff); }
.archive-board-close {
  background: none; border: none; color: var(--text-body, #fff);
  font-size: 1.4rem; line-height: 1; cursor: pointer; opacity: .7;
}
.archive-board-close:hover { opacity: 1; }

.archive-board-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
}
.ab-slot {
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  border: 1px solid var(--ab-teacher, rgba(255,255,255,.15));
  background: color-mix(in srgb, var(--ab-teacher, #333) 22%, #12151d);
  cursor: pointer;
  display: flex; align-items: flex-start; justify-content: flex-end;
  padding: 3px;
  transition: transform .15s var(--ease, ease), box-shadow .15s var(--ease, ease);
}
.ab-slot:hover { transform: scale(1.08); box-shadow: 0 0 0 2px var(--ab-teacher, #fff) inset; }
.ab-slot-dot { width: 7px; height: 7px; border-radius: 50%; display: block; }
.ab-slot-empty {
  border: 1px dashed rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  cursor: default;
}
.archive-board-empty {
  text-align: center; opacity: .6; padding: 24px 0; color: var(--text-body, #fff);
}

.archive-board-dropdown {
  position: absolute; z-index: 9100;
  width: min(320px, 90vw);
}
.ab-dd-row {
  display: flex; justify-content: space-between; gap: 10px;
  font-size: .85rem; padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ab-dd-label { opacity: .6; }
.ab-restore-btn {
  margin-top: 10px; width: 100%;
  background: #3ecf6a; color: #0e1119; border: none;
  border-radius: 8px; padding: 8px 12px; font-weight: 600; cursor: pointer;
}
.ab-restore-btn:hover { filter: brightness(1.08); }

.section-heading-row {
  display: flex; align-items: center; justify-content: flex-start; gap: 20px;
}
.section-heading-row .section-heading { margin: 0; }

.archive-open-btn {
  background: none; border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px; color: var(--text-body, #fff);
  padding: 6px 12px; font-size: .85rem; cursor: pointer; opacity: .85;
  display: inline-flex; align-items: center; gap: 8px;
}
.archive-open-btn:hover { opacity: 1; }

/* Chest icon — same 2.2s ease-in-out infinite cadence as .se-lock-on's
   float, swapped from a bob to a wobble, glow swapped from green to gold
   (the site's existing "treasure"-adjacent token, #f2c94c). */
@keyframes chest-wobble {
  0%, 100% { transform: rotate(-6deg); }
  50%      { transform: rotate(6deg); }
}
.chest-icon {
  display: inline-block;
  font-size: 1rem;
  line-height: 1;
  animation: chest-wobble 2.2s ease-in-out infinite;
  filter: drop-shadow(0 0 4.8px rgba(242, 201, 76, .6));
}
.chest-send-btn {
  background: none; border: none; cursor: pointer;
  padding: 0; margin-left: 20px;
  display: inline-flex; align-items: center;
}
.chest-send-btn .chest-icon { font-size: .95rem; }
.chest-send-btn.is-armed .chest-icon { filter: drop-shadow(0 0 7.2px rgba(242, 201, 76, .8)); }

@media (prefers-reduced-motion: reduce) {
  .chest-icon { animation: none; }
}

/* TEACHER-ARCHIVED NOTICE (2026-09-05). Student-side read-only banner on a
   session row whose teacher has archived the lesson. Reuses the existing
   gold "treasure" token (#f2c94c) from .chest-icon above -- no new colors. */
.teacher-archived-note {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: .35rem 0 .1rem;
  padding: .32rem .6rem;
  border: 1px solid rgba(242, 201, 76, .38);
  border-radius: 8px;
  background: rgba(242, 201, 76, .10);
}
.teacher-archived-note .tan-text {
  font-size: .78rem;
  letter-spacing: .01em;
  color: #f2c94c;
}
.teacher-archived-note .chest-icon { font-size: .85rem; }
