/* 강사 오버뷰(/teacher-overview — SSOT 24절 "강사 오버뷰", 2026-11-30 사용자 지시) — widget/teacher-overview/*.
   OkayTeacher 의 기존 카드와 같은 말씨 — 가는 선 · 위쪽 3px 사이트 색 선 · 둥근 판 · 옅은 그림자. 색은 토큰만, 놓임은 본문 폭(컨테이너 쿼리 tov) */

.teacher-overview { display: grid; gap: var(--wa-space-xl); container: tov / inline-size; }
.teacher-overview :is(h2, h3, p, dl, dd, ul) { margin: 0; }
.teacher-overview h2 { display: flex; align-items: center; gap: 0.5em; font-size: calc(1.35rem * var(--wa-font-size-scale, 1)); line-height: 1.3; }
.teacher-overview h3 { display: flex; align-items: center; gap: 0.45em; font-size: calc(1.08rem * var(--wa-font-size-scale, 1)); line-height: 1.35; }
.teacher-overview h2 i,
.teacher-overview h3 i { color: var(--sonub-accent); }
:lang(ko) .teacher-overview { word-break: keep-all; }

/* ── 맨 위 안내: 강사 모집 · 정해진 교재(2026-12-01 사용자 지시 — 제목 카드 대신, 접힌 채 단 두 줄 · 누르면 그 줄만 펼친다) ── */
.tov-notice {
	display: grid;
	overflow: hidden;
	border: 1px solid var(--sonub-border);
	border-block-start: 3px solid var(--sonub-accent);
	border-radius: var(--sonub-radius-panel);
	background: var(--sonub-surface);
	box-shadow: var(--sonub-shadow-card);
}
/* Web Awesome 기본 details 모양(테두리 · 여백 · 둥근 판 · 열림 화살표)을 지우고 한 판의 두 줄로 — learn-more.css 와 같은 방법 */
.tov-fold, .tov-fold[open] { min-inline-size: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
.tov-fold + .tov-fold { border-block-start: 1px solid var(--sonub-border); }
.tov-fold > summary, .tov-fold[open] > summary, :where(.content, .site-content) .tov-fold:not([open]) > summary { margin: 0; border-radius: 0; }
.tov-fold > summary::after { display: none; }
.tov-fold > summary {
	display: flex;
	align-items: center;
	gap: var(--wa-space-s);
	min-block-size: 3.25rem;
	padding: var(--wa-space-xs) var(--wa-space-m);
	cursor: pointer;
	list-style: none;
}
.tov-fold > summary::-webkit-details-marker { display: none; }
.tov-fold > summary:hover { background: var(--wa-color-surface-lowered); }
.tov-fold > summary:focus-visible { outline: 2px solid var(--sonub-accent); outline-offset: -2px; }
.tov-fold > summary .sonub-icon-tile { flex: none; }
/* 한 줄 — 길면 말줄임(접힌 안내는 언제나 두 줄) */
.teacher-overview .tov-fold > summary :is(h1, h2) {
	display: block;
	flex: 1 1 auto;
	min-inline-size: 0;
	margin: 0;
	overflow: hidden;
	font-size: calc(1.05rem * var(--wa-font-size-scale, 1));
	font-weight: 800;
	line-height: 1.4;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.tov-fold-more { flex: none; color: var(--sonub-accent-ink); font-size: calc(0.85rem * var(--wa-font-size-scale, 1)); font-weight: 700; }
.tov-fold-chevron { flex: none; color: var(--sonub-muted); transition: rotate 0.2s ease; }
.tov-fold[open] .tov-fold-chevron { rotate: 180deg; }
.tov-fold[open] .tov-fold-more { display: none; }
@container tov (max-width: 30rem) {
	.tov-fold-more { display: none; }
}
.tov-fold-body {
	display: grid;
	gap: var(--wa-space-s);
	padding: 0 var(--wa-space-m) var(--wa-space-m);
	padding-inline-start: calc(var(--wa-space-m) + 2.5rem + var(--wa-space-s));
	line-height: 1.7;
}
.tov-fold-body > .sonub-button { justify-self: start; }
@container tov (max-width: 30rem) {
	.tov-fold-body { padding-inline-start: var(--wa-space-m); }
}
/* 정해진 교재 줄 — 호박색 바탕과 왼쪽 굵은 선으로 규칙임을 보인다 */
.tov-fold--rule, .tov-fold--rule[open] { border-inline-start: 5px solid var(--wa-color-warning-fill-loud); background: var(--wa-color-warning-fill-quiet); }
.tov-fold--rule > summary:hover { background: color-mix(in oklab, var(--wa-color-warning-fill-quiet), var(--wa-color-warning-fill-normal) 40%); }
.tov-book-rule { display: flex; align-items: flex-start; gap: 0.5em; font-size: calc(1.05rem * var(--wa-font-size-scale, 1)); line-height: 1.6; }
.tov-book-rule i { margin-block-start: 0.3em; color: var(--wa-color-danger-fill-loud); }
.tov-book-why { display: grid; gap: var(--wa-space-xs); padding: 0; list-style: none; }
.tov-book-why li {
	display: flex;
	align-items: center;
	gap: var(--wa-space-s);
	min-inline-size: 0;
	padding: var(--wa-space-s);
	border-radius: var(--wa-border-radius-m);
	background: var(--sonub-surface);
	line-height: 1.6;
}
.tov-book-why .sonub-icon-tile { flex: none; }

/* ── 무제한 수업 안내 — 페이지에는 짧게, 자세한 것은 읽기 서랍(.tov-drawer) ── */
.tov-unli {
	display: grid;
	gap: var(--wa-space-l);
	padding: var(--wa-space-l);
	border: 1px solid var(--sonub-border);
	border-block-start: 3px solid var(--sonub-accent);
	border-radius: var(--sonub-radius-panel);
	background: var(--sonub-surface);
	box-shadow: var(--sonub-shadow-card);
}
.tov-unli-text { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--wa-space-s); min-inline-size: 0; }
.tov-unli-lead { font-size: calc(1.02rem * var(--wa-font-size-scale, 1)); line-height: 1.75; }
.tov-more { display: inline-flex; align-items: center; gap: 0.4em; justify-self: start; font-weight: 700; color: var(--sonub-accent-ink); }
.tov-more:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.tov-unli-picture { margin: 0; overflow: hidden; border-radius: var(--wa-border-radius-l); }
.tov-unli-picture img { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.tov-unli-open { justify-self: start; }
/* 서랍 안 — 서랍 본문을 tov 컨테이너로 삼아 이득 두 칸 같은 놓임이 서랍 폭을 따른다 */
.tov-drawer .read-drawer-body { container-name: read-drawer tov; }
.tov-drawer .tov-unli-picture { max-inline-size: 36rem; }

.tov-worth { display: grid; gap: var(--wa-space-s); padding-block-start: var(--wa-space-m); border-block-start: 1px solid var(--sonub-border); }
.tov-worth-answer {
	display: flex;
	align-items: flex-start;
	gap: 0.5em;
	font-size: calc(1.02rem * var(--wa-font-size-scale, 1));
	font-weight: 700;
	line-height: 1.6;
}
.tov-worth-answer i { margin-block-start: 0.3em; color: var(--wa-color-success-fill-loud); }
.tov-benefits { display: grid; gap: var(--wa-space-s); padding: 0; list-style: none; }
@container tov (min-width: 40rem) {
	.tov-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.tov-benefits li {
	display: flex;
	align-items: flex-start;
	gap: var(--wa-space-s);
	min-inline-size: 0;
	padding: var(--wa-space-s);
	border-radius: var(--wa-border-radius-m);
	background: var(--wa-color-surface-lowered);
	line-height: 1.6;
}
.tov-benefits .sonub-icon-tile { flex: none; }
.tov-worth-note {
	display: flex;
	align-items: flex-start;
	gap: 0.5em;
	color: var(--sonub-muted);
	font-size: calc(0.9rem * var(--wa-font-size-scale, 1));
	line-height: 1.7;
}
.tov-worth-note i { margin-block-start: 0.3em; color: var(--wa-color-warning-fill-loud); }

/* 내 무제한 수업 상태 — 켰고 목록에 나오면 초록 선, 켰지만 아직이면 호박색, 꺼졌으면 회색 */
.tov-status {
	--tov-state: var(--wa-color-neutral-border-loud);
	display: grid;
	gap: var(--wa-space-s);
	padding: var(--wa-space-m);
	border: 1px solid var(--sonub-border);
	border-inline-start: 4px solid var(--tov-state);
	border-radius: var(--wa-border-radius-l);
	background: var(--wa-color-surface-default);
}
.tov-status[data-state='listed'] { --tov-state: var(--wa-color-success-fill-loud); }
.tov-status[data-state='waiting'] { --tov-state: var(--wa-color-warning-fill-loud); }
.tov-status-text { display: flex; flex-wrap: wrap; align-items: center; gap: var(--wa-space-xs) var(--wa-space-s); line-height: 1.6; }
.tov-status-text span { flex: 1 1 16rem; min-inline-size: 0; }
.tov-status-numbers { display: flex; flex-wrap: wrap; gap: var(--wa-space-s) var(--wa-space-xl); }
.tov-status-numbers dt { color: var(--sonub-muted); font-size: calc(0.85rem * var(--wa-font-size-scale, 1)); }
.tov-status-numbers dd { font-size: calc(1.4rem * var(--wa-font-size-scale, 1)); font-weight: 800; font-variant-numeric: tabular-nums; }
.tov-actions { display: flex; flex-wrap: wrap; gap: var(--wa-space-s); }

/* ── 내 수업 숫자(맨 위 .tov-top) · 내 수업 활동(.tov-stats) ── */
.tov-top,
.tov-stats { display: grid; gap: var(--wa-space-m); }
.tov-zone,
.tov-note,
.tov-empty { color: var(--sonub-muted); font-size: calc(0.88rem * var(--wa-font-size-scale, 1)); line-height: 1.7; }
.tov-numbers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--wa-space-s); }
@container tov (min-width: 40rem) { .tov-numbers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container tov (min-width: 64rem) { .tov-numbers { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.tov-number {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-areas: 'tile value' 'name name';
	align-items: center;
	gap: var(--wa-space-2xs) var(--wa-space-s);
	padding: var(--wa-space-m);
	border: 1px solid var(--sonub-border);
	border-radius: var(--sonub-radius-panel);
	background: var(--sonub-surface);
	box-shadow: var(--sonub-shadow-card);
}
.tov-number .sonub-icon-tile { grid-area: tile; }
.tov-number dt { grid-area: name; color: var(--sonub-muted); font-size: calc(0.86rem * var(--wa-font-size-scale, 1)); line-height: 1.4; }
.tov-number dd {
	grid-area: value;
	justify-self: end;
	font-size: calc(1.7rem * var(--wa-font-size-scale, 1));
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	line-height: 1.1;
}
.tov-number dd a { color: inherit; text-decoration: none; }
.tov-number dd a:hover { color: var(--sonub-accent-ink); text-decoration: underline; text-underline-offset: 0.15em; }
.tov-number dd a:focus-visible { outline: 2px solid var(--sonub-accent); outline-offset: 2px; border-radius: var(--wa-border-radius-s); }

.tov-grid,
.tov-lists { display: grid; gap: var(--wa-space-m); }
@container tov (min-width: 56rem) {
	.tov-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); align-items: start; }
	.tov-lists { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
}
.tov-panel { min-inline-size: 0; }
.tov-panel { display: grid; gap: var(--wa-space-m); }
.tov-daily .dg-days + .dg-days { padding-block-start: var(--wa-space-m); border-block-start: 1px solid var(--sonub-border); }

.tov-list { display: grid; padding: 0; list-style: none; }
.tov-list li {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.1em var(--wa-space-s);
	padding-block: var(--wa-space-xs);
	border-block-end: 1px solid var(--sonub-border);
	line-height: 1.5;
}
.tov-list li:last-child { border-block-end: 0; }
.tov-list time { grid-column: 1 / -1; color: var(--sonub-muted); font-size: calc(0.86rem * var(--wa-font-size-scale, 1)); font-variant-numeric: tabular-nums; }
.tov-who { min-inline-size: 0; font-weight: 600; overflow-wrap: anywhere; }
.tov-counts { justify-self: end; color: var(--sonub-muted); font-size: calc(0.84rem * var(--wa-font-size-scale, 1)); }
.tov-verdict { flex: none; }
.tov-all { justify-self: start; }

/* ── 손님 · 강사가 아닌 회원 ── */
.tov-signin-body { display: flex; align-items: flex-start; gap: var(--wa-space-m); }
.tov-signin-body > div { display: grid; gap: var(--wa-space-2xs); }
.tov-signin .sonub-button { justify-self: start; }
