.th-main { padding-block:28px 54px; }
.th-heading { display:flex; align-items:center; gap:18px; justify-content:space-between; margin-bottom:20px; }
.th-heading p { color:#177288; font-weight:750; font-size:.87rem; }
.th-heading h1 { font-size:clamp(1.6rem,3vw,2.25rem); line-height:1.45; overflow-wrap:anywhere; }
.th-header-actions,.th-actions { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.th-data { display:grid; gap:17px; min-width:0; }
.th-feature { position:relative; isolation:isolate; overflow:hidden; border-radius:22px; background:#0a3870; color:white; min-height:210px; display:flex; align-items:center; }
.th-feature img { position:absolute; z-index:-2; left:0; top:0; width:53%; height:100%; object-fit:cover; object-position:45% 53%; }
.th-feature::after { content:''; position:absolute; z-index:-1; inset:0; background:linear-gradient(90deg,transparent 19%,#0a387047 33%,#0a3870 55%,#123664); }
.th-feature-content { width:64%; padding:24px 32px; display:flex; flex-direction:column; align-items:flex-start; gap:6px; }
.th-feature-content h2 { font-size:clamp(1.35rem,2.8vw,2rem); line-height:1.4; overflow-wrap:anywhere; text-align:start; }
.th-feature-content p { display:flex; gap:6px; align-items:center; color:#e0f2fe; font-size:.9rem; }
.th-feature-content .cl-btn { margin-top:6px; }
.th-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.th-stats>div { display:flex; align-items:center; gap:12px; padding:13px 19px; border:1px solid #dce7f0; background:#fff; border-radius:15px; box-shadow:0 3px 12px #21466407; }
.th-stat-icon,.th-library-icon { display:inline-grid; place-items:center; width:43px; height:43px; flex:none; border-radius:13px; background:#e8f4fc; color:#1176a9; }
.th-stat-icon.th-violet,.th-library-icon[data-kind="match"],.th-library-icon[data-kind="order"] { color:#6446a6; background:#f2ebfc; }
.th-stat-icon.th-amber,.th-library-icon[data-kind="fill"] { color:#ac6b03; background:#fff2d8; }
.th-library-icon[data-kind="speak"],.th-library-icon[data-kind="listen"] { color:#0c7871; background:#e3f8f3; }
.th-stats b,.th-stats small { display:block; line-height:1.45; }
.th-stats b { font-size:1.4rem; }
.th-stats small,.th-library small,.th-material small { color:var(--cl-muted); }
.th-columns { display:grid; grid-template-columns:1.2fr 1fr; gap:17px; align-items:start; }
.th-card-heading,.th-material { display:flex; gap:10px; align-items:center; }
.th-card-heading { margin-bottom:12px; justify-content:space-between; }
.th-card-heading>span { font-weight:700; color:#205881; border-radius:10px; padding:1px 10px; background:#eef5fa; }
.th-library ul { list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.th-library li { display:flex; align-items:center; gap:10px; padding:8px; border:1px solid #e3edf4; border-radius:11px; min-width:0; }
.th-library li strong,.th-library li small { display:block; line-height:1.5; }
.th-library li strong { font-size:.9rem; }
.th-library li small { font-size:.75rem; }
.th-library-icon { width:36px; height:36px; border-radius:10px; }
.th-roster ul { max-height:300px; overflow:auto; }
.th-roster li { display:flex; align-items:center; gap:10px; padding:7px 0; border-top:1px solid #e4edf3; }
.th-roster li small { color:#4f6a80; margin-inline-start:auto; }
.th-actions { margin-top:13px; }
.th-actions .cl-btn { font-size:.8rem; min-height:36px; padding:5px 10px; }
.th-material>div { flex:1; }
.th-material h2 { font-size:1rem; }
.th-material small { font-size:.79rem; }
.th-schedule { margin-top:16px; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.th-schedule form { display:flex; align-items:end; gap:8px; flex-wrap:wrap; }
@media(max-width:760px) {
  .th-main { padding-top:16px; }
  .th-heading { align-items:start; flex-wrap:wrap; gap:8px; margin-bottom:14px; }
  .th-header-actions { gap:5px; }
  .th-header-actions .cl-btn { font-size:.78rem; min-height:35px; padding:6px 9px; }
  .th-header-actions .cl-iconbtn { width:35px; height:35px; }
  .th-feature { min-height:177px; border-radius:16px; }
  .th-feature img { width:58%; object-position:40% center; }
  .th-feature-content { width:66%; padding:15px; gap:5px; }
  .th-feature-content h2 { font-size:1.23rem; }
  .th-feature-content p { font-size:.78rem; }
  .th-stats { gap:6px; }
  .th-stats>div { padding:9px 6px; gap:5px; flex-direction:column; text-align:center; border-radius:12px; }
  .th-stats b { font-size:1.15rem; }
  .th-stats small { font-size:.72rem; }
  .th-stat-icon { width:32px; height:32px; border-radius:9px; }
  .th-columns { grid-template-columns:minmax(0,1fr); gap:12px; }
  .th-library li { gap:6px; padding:5px; }
  .th-library-icon { width:29px; height:31px; }
  .th-material { flex-wrap:wrap; }
  .th-schedule form,.th-schedule .cl-field { width:100%; }
  .th-data { gap:12px; }
}
