/* 강사진·재능: 크몽식 카드. 강사 화면·관리자 화면 공통 보조 스타일 포함 */
.tl{--tl-line:#e4e5ed;--tl-soft:#f8f9fb;--tl-muted:#555969;--tl-head:#212224;word-break:keep-all;padding-bottom:88px}
html[data-theme=dark] .tl{--tl-line:#2a2f37;--tl-soft:#15181d;--tl-muted:#a1a7b0;--tl-head:#f2f3f5}
.tl-hero{padding:40px 0 28px}.tl-hero h1{font-size:36px;line-height:1.3;letter-spacing:-.02em}.tl-hero p{margin-top:12px;color:var(--tl-muted);line-height:1.7}
.tl-sec{margin-top:40px}.tl-sec>h2{font-size:24px;letter-spacing:-.02em}
.tl-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 20px}
.tl-tabs button{height:40px;padding:0 18px;border-radius:999px;border:1px solid var(--tl-line);background:transparent;font:inherit;font-size:15px;color:inherit;cursor:pointer}
.tl-tabs button[aria-pressed=true]{background:#212224;border-color:#212224;color:#fff}
html[data-theme=dark] .tl-tabs button[aria-pressed=true]{background:#f2f3f5;color:#212224}
.tl-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.tl-card{display:flex;text-decoration:none;flex-direction:column;gap:5px;text-align:left;background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer}
.tl-card:hover strong{text-decoration:underline}.tl-card:focus-visible{outline:3px solid #649dda;outline-offset:4px;border-radius:6px}
.tl-cover{display:flex;flex-direction:column;justify-content:space-between;aspect-ratio:4/3;border-radius:6px;padding:16px;color:#fff;margin-bottom:6px}
.tl-cover em{font-style:normal;font-size:12px;font-weight:700;opacity:.85}.tl-cover b{font-size:18px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.tl-cover.course{background:linear-gradient(140deg,#00315d,#1c5a93)}.tl-cover.ebook{background:linear-gradient(140deg,#2b4a3a,#4f7a5f)}.tl-cover.consulting{background:linear-gradient(140deg,#3b2f55,#6a5596)}
.tl-card strong{font-size:16px;line-height:1.45}.tl-meta{font-size:14px;color:var(--tl-muted)}.tl-price{font-size:17px;font-weight:700}.tl-seller{font-size:14px;font-weight:600;color:var(--tl-muted)}
.tl-people{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:18px}
.tl-person{border:1px solid var(--tl-line);border-radius:6px;padding:22px;display:flex;flex-direction:column;gap:8px}
.tl-person strong{font-size:19px}.tl-headline{color:var(--tl-muted);font-size:15px}.tl-tags{display:flex;gap:6px;flex-wrap:wrap}.tl-tags span{font-size:12px;font-weight:600;padding:3px 8px;border-radius:4px;background:var(--tl-soft);border:1px solid var(--tl-line)}
.tl-career,.tl-bio{font-size:14px;line-height:1.75;color:var(--tl-muted);white-space:pre-line}
.tl-empty{grid-column:1/-1;padding:40px 0;color:var(--tl-muted)}
.tl-dialog{max-width:640px;width:calc(100% - 32px);border:0;border-radius:10px;padding:0;background:var(--paper,#fff);color:inherit}
.tl-dialog::backdrop{background:#0008}.tl-dialog .detail-close{position:absolute;right:14px;top:10px;font-size:26px;background:none;border:0;color:inherit;cursor:pointer}
.detail-body{padding:30px 28px 26px;display:flex;flex-direction:column;gap:10px}.detail-body h2{font-size:24px;line-height:1.4}
.tl-type{align-self:flex-start;font-size:12px;font-weight:700;padding:3px 8px;border-radius:4px;color:#fff}.tl-type.course{background:#00315d}.tl-type.ebook{background:#2b4a3a}.tl-type.consulting{background:#3b2f55}
.tl-desc{white-space:pre-line;line-height:1.8;font-size:15px;border-top:1px solid var(--tl-line);padding-top:14px;max-height:45vh;overflow:auto}
.tl-ask{align-self:flex-start;margin-top:8px;display:inline-flex;align-items:center;height:48px;padding:0 22px;border-radius:4px;background:#92fa72;color:#212224;font-weight:700}
.tl-note{font-size:13px;color:var(--tl-muted)}
/* 강사·관리자 화면 */
.talent-rows,.tl-admin ul{list-style:none;padding:0;display:grid;gap:12px}
.talent-rows li,.tl-admin li,.review-card{border:1px solid var(--line,#ddd);border-radius:6px;padding:14px 16px;line-height:1.6}
.row-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.row-actions button,.tl-admin li button{min-height:36px;padding:0 12px;border:1px solid var(--line,#bbb);border-radius:4px;background:transparent;font:inherit;color:inherit;cursor:pointer}
.status-approved{color:#237a14;font-weight:600}.status-review{color:#b36b00;font-weight:600}.status-rejected{color:#c0392b;font-weight:600}
.note{color:#c0392b;font-size:14px}.review-card .desc{white-space:pre-line;color:var(--muted,#666);font-size:14px;max-height:160px;overflow:auto}
.dash-section{margin-top:48px;padding-top:28px;border-top:1px solid var(--line,#ddd)}.dash-section textarea{min-height:120px;font:inherit;padding:10px;border:1px solid var(--line,#aaa);border-radius:4px;background:var(--paper,#fff);color:inherit;margin:8px 0 20px;max-width:640px}
@media(max-width:1000px){.tl-grid{grid-template-columns:repeat(3,1fr)}.tl-people{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.tl-grid{grid-template-columns:1fr 1fr;gap:14px}.tl-people{grid-template-columns:1fr}.tl-hero h1{font-size:27px}.tl-cover b{font-size:15px}}

/* 강사 카드 (2026-10-02)
   3등분 고정이라 강사가 한 명이면 카드가 200px로 쪼그라들어 글이 갇혔다.
   칸 수를 내용에 맞추고 카드 크기를 똑같이 잡는다. */
.tl-people{grid-template-columns:repeat(auto-fit,minmax(300px,420px));justify-content:start;gap:20px}
.tl-person{gap:0}
.tl-person-head{display:flex;align-items:center;gap:18px}
.tl-person-head .tl-names{display:flex;flex-direction:column;gap:4px;min-width:0}
.tl-photo{flex:0 0 auto;width:120px;height:120px;object-fit:cover;object-position:center 22%;
  border-radius:50%;background:#e8e4dc}
.tl-person .tl-tags{margin-top:12px}
.tl-person .tl-career,.tl-person .tl-bio{margin-top:14px;white-space:pre-wrap;word-break:keep-all}
@media(max-width:620px){.tl-people{grid-template-columns:1fr}}

.p-photo-now{display:block;width:132px;height:132px;object-fit:cover;object-position:center 22%;border-radius:50%;margin:0 0 10px;background:#e8e4dc}
.p-hint{display:block;margin:-12px 0 24px;font-size:13px;color:var(--tl-muted)}
