/* Approved teacher desk content; shared shell lives in manager-workspace.css. */
.teacher-desk .studio-desk-title { font-size: 20px; line-height: 1.3; margin: 0 0 12px; }
.teacher-desk .studio-heading { position: relative; display: block; min-height: 210px; margin-bottom: 16px; padding: 20px 24px; border-radius: 12px; background: #fffaf0 url('assets/teacher-desk-banner.webp') center / cover no-repeat; overflow: hidden; }
.teacher-desk .studio-banner-copy { position: relative; z-index: 1; width: 48%; }
.teacher-desk .studio-heading h2 { max-width: 330px; font-size: clamp(25px, 2.25vw, 32px); line-height: 1.3; letter-spacing: -.5px; margin: 0 0 10px; font-weight: 900; }
.teacher-desk .studio-heading p { margin: 0 0 16px; color: var(--studio-ink); font-size: 14px; }
.teacher-desk .studio-heading .studio-actions { gap: 8px; }
.teacher-desk .studio-heading .btn { font-size: 14px; padding: 10px 13px; }
.teacher-desk .studio-banner-art { display: none; }
.teacher-desk .studio-continue > h2 { font-size: 22px; line-height: 1.35; margin: 0 0 10px; }
.teacher-desk .studio-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.teacher-desk .studio-feature {
  display: grid;
  grid-template-columns: minmax(0, .36fr) minmax(0, .64fr);
  align-items: center;
  gap: 22px;
  padding: 10px;
  border: 1px solid var(--studio-line);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 16px;
}
.teacher-desk .studio-feature-copy, .teacher-desk .studio-feature-stage { min-width: 0; }
.teacher-desk .studio-feature h2 { font-size: 15px; font-weight: 700; margin: 0 0 16px; color: var(--studio-muted); }
.teacher-desk .studio-feature h3 { font-size: 23px; line-height: 1.3; letter-spacing: -.3px; margin: 0 0 8px; overflow-wrap: anywhere; }
.teacher-desk .studio-feature-copy > p:not(.eyebrow) { color: var(--studio-muted); font-size: 14px; overflow-wrap: anywhere; }
.teacher-desk .studio-feature-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 14px; align-items: center; margin-bottom: 12px; color: var(--studio-muted); }
.teacher-desk .badge { background: #edf4ef; color: #33584b; border: 0; font-size: 14px; white-space: normal; }
.teacher-desk .studio-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  container-type: inline-size;
  overflow: hidden;
  border-radius: 12px;
  background: #eaf3ee;
  border: 1px solid #d7e3da;
  isolation: isolate;
}
.teacher-desk .studio-feature .studio-preview { aspect-ratio: 16 / 9; }
.teacher-desk .studio-slide { position: absolute; inset: 0; padding: 8% 8%; display: flex; align-items: center; background: #eaf3ee; color: #243c35; }
.teacher-desk .studio-theme-sky { background: #eaf2f8; color: #244252; }
.teacher-desk .studio-theme-sun { background: #fbf0d7; color: #503e24; }
.teacher-desk .studio-preview .cover-copy { max-width: 100%; width: 100%; min-width: 0; }
.teacher-desk .studio-preview .cover-copy small { display: block; font-size: 2.1cqw; letter-spacing: .07em; line-height: 1.5; overflow-wrap: anywhere; }
.teacher-desk .studio-preview .cover-copy strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-size: 5.5cqw; line-height: 1.15; margin: 4% 0; overflow-wrap: anywhere; }
.teacher-desk .studio-preview .cover-copy p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; white-space: pre-line; font-size: 2.6cqw; line-height: 1.5; margin: 0; overflow-wrap: anywhere; }
.teacher-desk .studio-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; background: #fff; }
.teacher-desk .studio-slide-rule { position: absolute; width: 12%; height: 3px; left: 8%; bottom: 8%; background: currentColor; opacity: .3; }
.teacher-desk .studio-canva-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; z-index: 2; }
.teacher-desk .studio-preview-caption { position: absolute; bottom: 6px; left: 6px; z-index: 3; max-width: calc(100% - 12px); font-size: 11px; line-height: 1.3; color: var(--studio-ink); background: #fffaf0; border-radius: 4px; padding: 3px 6px; }
.teacher-desk .studio-library-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; }
.teacher-desk .studio-library-heading h2 { font-size: 22px; line-height: 1.35; margin: 0; }
.teacher-desk .studio-library-heading .search { margin: 0; width: 280px; max-width: 100%; }
.teacher-desk .search input { min-width: 0; width: 100%; min-height: 44px; background: #fff; border: 1px solid var(--studio-line); border-radius: 10px; padding: 11px 14px; }
.teacher-desk .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.teacher-desk .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.teacher-desk .lesson-card { border-color: var(--studio-line); border-radius: 16px; padding: 8px; transition: border-color .15s; }
.teacher-desk .lesson-card:hover { transform: none; border-color: #95b8a7; box-shadow: none; }
.teacher-desk .lesson-card .studio-preview { border: 0; border-radius: 10px; aspect-ratio: 2.2 / 1; }
.teacher-desk .card-info { padding: 10px 4px 4px; min-width: 0; }
.teacher-desk .card-info h3 { font-size: 17px; line-height: 1.4; margin-bottom: 6px; overflow-wrap: anywhere; }
.teacher-desk .card-info > p { color: var(--studio-muted); font-size: 14px; overflow-wrap: anywhere; }
.teacher-desk .card-foot { display: flex; flex-wrap: wrap; gap: 8px; color: var(--studio-muted); font-size: 14px; }
.teacher-desk .studio-card-action { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; border-top: 1px solid var(--studio-line); padding-top: 12px; font-size: 14px; font-weight: 800; color: var(--studio-teal); }
.teacher-desk .card-open { border-radius: 16px; }
.teacher-desk .studio-storage { display: flex; align-items: flex-start; gap: 9px; color: var(--studio-muted); font-size: 13px; margin: 26px 0 0; }
.teacher-desk .studio-storage .icon { flex-shrink: 0; }
.teacher-desk .manager-empty { background: #fffdf8; border: 1px dashed #abc2b7; padding: 44px 24px; }
.teacher-desk .manager-empty .studio-actions { justify-content: center; }
.teacher-desk .manager-empty p { color: var(--studio-muted); }
.teacher-desk .studio-empty-mark { display: inline-grid; place-items: center; width: 64px; height: 64px; border: 1px solid var(--studio-line); border-radius: 14px; background: #edf4ef; color: var(--studio-teal); font-size: 32px; }
.large-text .teacher-desk .card-info > p, .large-text .teacher-desk .studio-storage,
.large-text .teacher-desk .studio-feature-meta, .large-text .teacher-desk .studio-preview-caption,
.large-text .teacher-desk .badge, .large-text .teacher-desk .card-foot,
.large-text .teacher-desk .studio-card-action, .large-text .teacher-desk .studio-feature-copy > p:not(.eyebrow) { font-size: 17px; }
.large-text .teacher-desk .search input { font-size: 20px; }
/* Aa enlarges workspace headings as well as metadata; thumbnail content keeps slide proportions. */
.large-text .teacher-desk .studio-desk-title { font-size: 25px; }
.large-text .teacher-desk .studio-heading h2 { font-size: clamp(31px, 2.8vw, 40px); overflow-wrap: anywhere; }
.large-text .teacher-desk .studio-continue > h2 { font-size: 27px; }
.large-text .teacher-desk .studio-heading p { font-size: 18px; }
.large-text .teacher-desk .studio-feature h3 { font-size: clamp(28px, 2.7vw, 36px); }
.large-text .teacher-desk .studio-library-heading h2 { font-size: 27px; }
.large-text .teacher-desk .card-info h3 { font-size: 21px; }
.large-text .teacher-desk .manager-empty h2 { font-size: 28px; }

@media (max-width: 1000px) {
  .teacher-desk .studio-heading { flex-wrap: wrap; }
  .teacher-desk .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teacher-desk .studio-heading { background-position: left center; }
  .teacher-desk .studio-banner-copy { width: 52%; }
}
@media (max-width: 700px) {
  .teacher-desk .studio-heading { margin: 10px 0 20px; padding: 20px 18px 0; background: #fffaf0; min-height: 0; }
  .teacher-desk .studio-banner-copy { width: 100%; }
  .teacher-desk .studio-heading h2 { font-size: 28px; }
  .teacher-desk .studio-banner-art { display: block; height: 155px; margin: 12px -18px 0; background: url('assets/teacher-desk-banner.webp') right center / auto 100% no-repeat; }
  .teacher-desk .studio-actions { width: 100%; }
  .teacher-desk .studio-actions .btn { flex: 1 1 auto; }
  .teacher-desk .studio-feature { grid-template-columns: 1fr; padding: 10px; border-radius: 12px; margin-bottom: 20px; gap: 14px; }
  .teacher-desk .studio-feature .studio-preview { aspect-ratio: 16 / 9; }
  .teacher-desk .studio-feature h3 { font-size: 23px; }
  .teacher-desk .studio-library-heading .search { width: 100%; }
  .teacher-desk .cards { grid-template-columns: 1fr; }
  .teacher-desk .lesson-card .studio-preview { aspect-ratio: 16 / 9; }
  .teacher-desk .manager-empty { padding: 28px 16px; }
}
@media (prefers-reduced-motion: reduce) { .teacher-desk .lesson-card { transition: none; } }
