.tc-page{--tc-primary:#183f79;--tc-accent:#2e78dd;--tc-success:#16a477;color:#1f2937;background:#f5f7fb;padding:40px 0 56px;font-size:16px;line-height:1.7}
.tc-page *{box-sizing:border-box}
.tc-page a:focus-visible,.tc-page button:focus-visible,.tc-page input:focus-visible,.tc-page select:focus-visible{outline:3px solid #2e78dd;outline-offset:3px}
.tc-page .page-title,.tc-page h2,.tc-page h3{color:#183f79;font-weight:700}
.tc-kicker{color:#2e78dd;font-size:14px;font-weight:700;letter-spacing:.08em}
.tc-lead{color:#526176;margin:8px 0 24px}
.tc-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:24px;box-shadow:0 4px 18px rgba(24,63,121,.04);min-width:0;overflow-wrap:anywhere}
.tc-enrollment{margin:18px 0;padding:14px;border:1px solid #dce6f5;border-radius:10px;background:#f8faff}.tc-enrollment>strong{display:inline-block;margin-right:8px;color:#183f79}.tc-enrollment .tc-note{margin-bottom:0}
.tc-page .tc-button:disabled,.tc-page .tc-button:disabled:hover{background:#e2e8f0;color:#526176;cursor:not-allowed}
.tc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:24px}
.tc-teacher{display:flex;flex-direction:column;gap:16px}
.tc-portrait{width:120px;height:160px;flex-shrink:0;object-fit:cover;border-radius:14px;background:#edf2fa}
.tc-teacher h2{font-size:21px;margin:0}
.tc-description{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;color:#526176;min-height:80px}
.tc-meta{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.tc-badge{display:inline-block;border-radius:8px;padding:4px 10px;font-size:14px;background:#edf3fc;color:#183f79}
.tc-badge-live{background:#e6f6ef;color:#087450}
.tc-button,.tc-page .tc-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 20px;border:1px solid transparent;border-radius:10px;background:#183f79;color:#fff;font-size:16px;font-weight:600;text-decoration:none;white-space:normal;line-height:1.4;cursor:pointer}
.tc-button:hover,.tc-page .tc-button:hover{background:#2e78dd;color:#fff;text-decoration:none}
.tc-teacher .tc-button{margin-top:auto;width:100%}
.tc-page .nav-pills>li>a{border-radius:10px;min-height:44px;padding:10px 16px}
.tc-page .nav-pills>li.active>a{background:#183f79;color:white!important}
.tc-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:28px;align-items:start}
.tc-card.tc-courses-panel{padding:18px}
.tc-courses-panel>.page-title{margin:0 0 12px;font-size:22px;line-height:1.3}
.tc-profile-head{display:flex;align-items:center;gap:20px;margin-bottom:20px}
.tc-profile-head>div{min-width:0}
.tc-profile-head h1{margin:0;font-size:28px;color:#183f79;font-weight:700}
.tc-profile-section{padding-top:20px;margin-top:20px;border-top:1px solid #e2e8f0}
.tc-profile-section h2{font-size:18px;margin:0 0 12px}
.tc-profile-section p{white-space:pre-line}
.tc-course-stack{display:grid;gap:10px}
.tc-card.tc-course{padding:18px;line-height:1.45}
.tc-course>p{margin:0 0 8px}
.tc-course .tc-facts{gap:4px 12px;margin:10px 0}
.tc-course .tc-enrollment{margin:10px 0;padding:10px}
.tc-course .tc-note{margin-top:8px}
.tc-course-head{display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:space-between;margin-bottom:6px}
.tc-course-head h3{margin:0;font-size:20px}
.tc-price{font-size:23px;font-weight:700;color:#183f79}
.tc-facts{display:grid;grid-template-columns:90px minmax(0,1fr);gap:8px 16px;margin:18px 0}
.tc-facts dt{color:#64748b;font-weight:400}.tc-facts dd{margin:0;overflow-wrap:anywhere}
.tc-course .tc-button{width:100%}.tc-note{color:#64748b;font-size:14px;line-height:1.7;margin:12px 0 0}
.tc-notice{margin-top:20px;background:#edf3fc;border-radius:12px;padding:20px}.tc-notice h2{font-size:18px;margin:0 0 10px}
@media(max-width:1100px){.tc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:991px){.tc-detail-grid{grid-template-columns:1fr}}
@media(max-width:600px){.tc-portrait{width:104px;height:140px}}
@media(max-width:600px){.tc-grid{grid-template-columns:1fr}.tc-page{padding:24px 0 32px}.tc-card{padding:20px}.tc-page .container{width:100%;padding-left:16px;padding-right:16px}.tc-profile-head{gap:14px}.tc-profile-head h1{font-size:24px}.tc-facts{grid-template-columns:76px minmax(0,1fr);gap:8px}.tc-page .nav-pills{display:flex;flex-wrap:wrap}.tc-page .nav-pills>li{margin:0}}
