/* =============================================================================
   Holistic Mind Academy — student-facing theme
   Port of the Teachable "fedora" student theme as served for this school:
     brand_primary   #2b3636   brand_secondary #FF2626
     brand_heading   #2b3636   brand_text      #2b3636
   Values below are lifted from the live theme stylesheet
   (teachable-themeable.learning.teachable.com/themecss/production/base.css).
   ========================================================================== */

/* ---------------------------------------------------------------- fonts
   Teachable declares `body{font-family:"Metropolis"}` with NO fallback, so
   Cyrillic (which Metropolis does not cover) drops to the browser's default
   serif — Times. That is exactly how the original renders, so we declare the
   same stack explicitly to reproduce it byte for byte.
   To render Russian in a sans instead, swap --tc-serif-fallback below.        */
@font-face{font-family:'Metropolis';font-weight:normal;font-style:normal;
  src:url('/assets/fonts/Metropolis-Regular.woff2') format('woff2');font-display:swap}
@font-face{font-family:'Metropolis';font-weight:normal;font-style:italic;
  src:url('/assets/fonts/Metropolis-RegularItalic.woff2') format('woff2');font-display:swap}
@font-face{font-family:'Metropolis';font-weight:600;font-style:normal;
  src:url('/assets/fonts/Metropolis-SemiBold.woff2') format('woff2');font-display:swap}
@font-face{font-family:'Metropolis';font-weight:bold;font-style:normal;
  src:url('/assets/fonts/Metropolis-Bold.woff2') format('woff2');font-display:swap}

:root{
  --tc-primary:#2b3636;
  --tc-secondary:#FF2626;
  --tc-secondary-hover:#ff0d0d;
  --tc-secondary-soft:#f9d8d8;
  --tc-secondary-line:rgba(255,38,38,.1);
  --tc-page:#fafafa;
  --tc-panel:#f7f7f7;
  --tc-item:#f0f0f0;
  --tc-border:#d7dadb;
  --tc-text:#2b3636;
  --tc-muted:#425252;
  --tc-done:#b8b8b8;
  --tc-footer-text:#bac1c7;
  --tc-serif-fallback:Times,'Times New Roman',serif;
  --tc-font:'Metropolis',var(--tc-serif-fallback);
  --tc-sidebar-w:350px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{background:var(--tc-page);color:var(--tc-text);font-family:var(--tc-font);
  font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{max-width:100%}
button{font-family:inherit}

/* ---------------------------------------------------------------- navbar */
.tc-nav{background:var(--tc-primary);min-height:60px;display:flex;align-items:center;
  justify-content:space-between;padding:0 15px;position:relative;z-index:60}
.tc-nav .tc-brand{display:flex;align-items:center;height:60px;max-width:250px;padding:0}
.tc-nav .tc-brand img{height:auto;max-height:60px;max-width:100%;display:block}
.tc-nav .tc-brand .txt{color:#fff;font-size:18px;font-weight:600}
.tc-nav-links{display:flex;align-items:center;gap:6px}
.tc-nav-links a{font-size:15px;color:#fff;padding:8px 15px;border-radius:4px;white-space:nowrap}
.tc-nav-links a:hover,.tc-nav-links a.active{background:#202828;color:#fff}
.tc-nav-links a.tc-login{background:#fff;color:var(--tc-primary);border-radius:6px;
  padding:10px 22px;font-weight:600;margin-left:8px}
.tc-nav-links a.tc-login:hover{background:#f0f0f0}
.tc-avatar{width:36px;height:36px;border-radius:50%;background:#c8cdcd;margin-left:14px;
  display:flex;align-items:center;justify-content:center;color:#7d8686;overflow:hidden;flex:0 0 auto}
.tc-avatar svg{width:22px;height:22px}
.tc-avatar img{width:100%;height:100%;object-fit:cover}

/* user dropdown */
.tc-usermenu{position:relative}
.tc-usermenu .tc-drop{position:absolute;right:0;top:calc(100% + 10px);background:#fff;
  border:1px solid var(--tc-border);border-radius:8px;min-width:210px;padding:6px;
  box-shadow:0 10px 34px rgba(0,0,0,.16);display:none;z-index:80}
.tc-usermenu.open .tc-drop{display:block}
.tc-usermenu .tc-drop a{display:block;padding:10px 13px;font-size:15px;color:var(--tc-text);border-radius:6px}
.tc-usermenu .tc-drop a:hover{background:var(--tc-item)}
.tc-usermenu .tc-drop .sep{height:1px;background:#eceeee;margin:5px 0}
.tc-usermenu .tc-drop .who{padding:9px 13px 4px;font-size:13px;color:#8a9292;word-break:break-all}

/* admin strip above the student view (mirrors Teachable's "Back to Admin") */
.tc-adminbar{background:#1a1a1a;color:#fff;height:52px;display:flex;align-items:center;
  gap:18px;padding:0 20px;font-size:15px}
.tc-adminbar a.back{display:inline-flex;align-items:center;gap:8px;font-weight:600;color:#fff}
.tc-adminbar a.back svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2.2;
  stroke-linecap:round;stroke-linejoin:round}
.tc-adminbar .note{color:#b9bcbc;font-size:14px}

/* ---------------------------------------------------------------- footer */
.tc-footer{background:var(--tc-primary);color:var(--tc-footer-text);
  padding:39px 0 42px;margin-top:auto;font-size:16px}
.tc-footer .in{max-width:1240px;margin:0 auto;padding:0 40px;display:flex;
  align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.tc-footer a{color:var(--tc-footer-text)}
.tc-footer a:hover{color:#fff}
.tc-footer .links{display:flex;gap:22px;font-size:15px}

.tc-shell{min-height:100vh;display:flex;flex-direction:column}
.tc-main{flex:1 0 auto}

/* ---------------------------------------------------------------- buttons */
.tc-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;
  background:var(--tc-secondary);border:1px solid var(--tc-secondary);color:#fff;
  border-radius:20px;padding:7px 18px;font-size:15px;font-weight:600;cursor:pointer;
  line-height:1.5;white-space:nowrap;text-align:center}
.tc-btn:hover{background:var(--tc-secondary-hover);border-color:var(--tc-secondary-hover);color:#fff}
.tc-btn svg{width:1em;height:1em;stroke:currentColor;fill:none;stroke-width:2.4;
  stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.tc-btn.sec{background:#666;border-color:#666}
.tc-btn.sec:hover{background:#595959;border-color:#595959}
.tc-btn.ghost{background:transparent;border-color:var(--tc-secondary);color:var(--tc-secondary)}
.tc-btn.ghost:hover{background:var(--tc-secondary);color:#fff}
.tc-btn.block{width:100%}
.tc-btn.lg{font-size:19px;padding:9px 26px;border-radius:40px}
.tc-btn[disabled]{opacity:.55;cursor:not-allowed}

/* ------------------------------------------------------- auth (devise) pages */
.tc-auth{max-width:432px;margin:0 auto;padding:64px 20px 96px}
.tc-auth h1{font-size:40px;font-weight:bold;color:#212338;text-align:center;
  line-height:1.2;margin-bottom:34px}
.tc-auth .lead{text-align:center;font-size:16px;color:#5a6363;margin:-22px 0 30px;line-height:1.55}
.tc-auth label{display:block;font-size:16px;color:#212338;margin-bottom:8px}
.tc-auth .fld{margin-bottom:18px}
.tc-input{width:100%;height:48px;background:#fff;border:1px solid #c9cfcf;border-radius:4px;
  padding:0 14px;font-family:inherit;font-size:16px;color:#212338;transition:border-color .2s}
.tc-input::placeholder{color:#9aa2a2}
.tc-input:focus{outline:none;border-color:#ff8c8c}
.tc-input.error{border-color:var(--tc-secondary)}
textarea.tc-input{height:auto;min-height:110px;padding:12px 14px;resize:vertical;line-height:1.55}
.tc-check{display:flex;align-items:center;gap:11px;font-size:16px;color:#212338;
  cursor:pointer;margin:16px 0 26px}
.tc-check input{appearance:none;-webkit-appearance:none;width:20px;height:20px;border-radius:3px;
  border:1px solid #c9cfcf;background:#fff;cursor:pointer;flex:0 0 auto;position:relative;margin:0}
.tc-check input:checked{background:var(--tc-secondary);border-color:var(--tc-secondary)}
.tc-check input:checked::after{content:"";position:absolute;left:6px;top:2px;width:5px;height:10px;
  border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.tc-auth .tc-btn{width:100%;border-radius:4px;padding:15px;font-size:16px;font-weight:bold}
.tc-note{display:flex;gap:14px;background:#f2f2f2;border-radius:4px;padding:19px 20px;
  font-size:16px;line-height:1.55;color:#212338;margin-top:26px}
.tc-note svg{width:22px;height:22px;flex:0 0 auto;margin-top:1px}
.tc-note a{text-decoration:underline;text-underline-offset:2px}
.tc-auth .alt{text-align:center;font-size:16px;color:#212338;margin-top:26px}
.tc-auth .alt a{color:var(--tc-secondary)}
.tc-auth .alt a:hover{text-decoration:underline}
.tc-flash{border-radius:4px;padding:13px 16px;font-size:15px;margin-bottom:22px;line-height:1.5}
.tc-flash.err{background:#fdecec;border:1px solid #f5c2c7;color:#8f1d1d}
.tc-flash.ok{background:#e7f6ee;border:1px solid #b8dcc8;color:#0f5132}

/* --------------------------------------------------------- generic page head */
.tc-wrap{max-width:1240px;margin:0 auto;padding:0 40px}
.tc-page{padding-top:38px;padding-bottom:70px}   /* must not reset .tc-wrap's side padding */
h1.tc-h1{font-size:32px;font-weight:bold;color:var(--tc-text);line-height:1.25}
h2.tc-h2{font-size:22px;font-weight:600;color:var(--tc-text);line-height:1.3}
.tc-welcome{font-size:34px;font-weight:bold;text-align:center;color:var(--tc-text);
  padding:44px 0 34px;line-height:1.3}

/* ------------------------------------------------------------ course cards */
.tc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:34px;margin-top:26px}
.tc-listing{background:var(--tc-panel);border:1px solid #fff;box-shadow:0 1px #fff;
  border-radius:9px;overflow:hidden;cursor:pointer;display:flex;flex-direction:column;
  transition:all linear .1s}
.tc-listing:hover{box-shadow:0 0 0 1px #f4b1b1;border-color:#f4b1b1}
.tc-listing:hover .tc-listing-title{color:var(--tc-secondary)}
.tc-listing .thumb{aspect-ratio:16/9;background:#e4e6e6 center/cover no-repeat;display:block;
  width:100%;object-fit:cover}
.tc-listing-title{color:var(--tc-text);line-height:25px;padding:16px 16px 4px;font-weight:bold;
  font-size:18px;max-height:65px;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;
  -webkit-line-clamp:2;word-wrap:break-word;transition:all linear .1s}
.tc-listing .desc{padding:4px 16px 0;font-size:15px;font-weight:200;color:var(--tc-muted);
  line-height:1.5;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}
.tc-listing .meta{margin-top:auto;padding:14px 16px 16px;font-size:15px;font-weight:200;
  color:var(--tc-muted);display:flex;align-items:center;justify-content:space-between;gap:12px}
.tc-listing .pct{color:var(--tc-secondary);font-size:11px;text-align:right;line-height:1.2;flex:0 0 auto}
.tc-listing .pct b{display:block;font-size:18px;line-height:19px;font-weight:bold}

/* wide row card (dashboard "My library") */
.tc-row-card{display:flex;background:#fff;border:1px solid #e6e8e8;border-radius:9px;
  overflow:hidden;margin-bottom:22px;transition:all linear .1s}
.tc-row-card:hover{box-shadow:0 0 0 1px #f4b1b1;border-color:#f4b1b1}
.tc-row-card:hover .rc-title{color:var(--tc-secondary)}
.tc-row-card .rc-thumb{width:290px;flex:0 0 290px;background:#e4e6e6 center/cover no-repeat;
  aspect-ratio:16/9;object-fit:cover;display:block}
.tc-row-card .rc-body{padding:22px 26px;flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}
.tc-row-card .rc-title{font-size:19px;font-weight:bold;color:var(--tc-text);line-height:1.35;
  transition:all linear .1s}
.tc-row-card .rc-desc{font-size:15px;font-weight:200;color:var(--tc-muted);line-height:1.5;
  overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.tc-row-card .rc-meta{margin-top:auto;font-size:15px;font-weight:200;color:var(--tc-muted);
  display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.tc-bar{height:6px;border-radius:999px;background:#e2e5e5;overflow:hidden;flex:1;min-width:120px}
.tc-bar>span{display:block;height:100%;background:var(--tc-secondary);border-radius:999px}

/* section head with right-aligned action */
.tc-sec-head{display:flex;align-items:center;justify-content:space-between;gap:20px;
  margin:34px 0 18px}
.tc-sec-head h2{font-size:22px;font-weight:600}

/* filter chips */
.tc-filters{display:flex;flex-wrap:wrap;gap:16px;align-items:center;margin-top:22px}
.tc-search{position:relative;flex:1;min-width:260px;max-width:480px}
.tc-search svg{position:absolute;left:16px;top:50%;transform:translateY(-50%);width:20px;height:20px;
  stroke:#6d7676;fill:none;stroke-width:2}
.tc-search input{width:100%;height:52px;border:1px solid var(--tc-border);border-radius:8px;
  background:#fff;padding:0 16px 0 48px;font-family:inherit;font-size:17px;color:var(--tc-text)}
.tc-search input:focus{outline:none;border-color:#ff8c8c}
.tc-select{height:52px;border:1px solid var(--tc-border);border-radius:8px;background:#fff;
  padding:0 42px 0 18px;font-family:inherit;font-size:16px;color:var(--tc-text);cursor:pointer;
  appearance:none;-webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232b3636' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 16px center}
.tc-select:focus{outline:none;border-color:#ff8c8c}
.tc-chip{display:inline-flex;align-items:center;gap:10px;height:52px;padding:0 22px;
  border:1px solid var(--tc-border);border-radius:8px;background:#fff;font-size:16px;
  color:var(--tc-text);cursor:pointer}
.tc-chip:hover{border-color:#f4b1b1}
.tc-chip.on{background:var(--tc-secondary-soft);border-color:var(--tc-secondary-soft);color:#8f1d1d}
.tc-chip svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:2.4;
  stroke-linecap:round;stroke-linejoin:round}
.tc-sortby{display:flex;align-items:center;gap:12px;margin-left:auto;font-size:16px;color:var(--tc-muted)}

/* ------------------------------------------------- course sidebar + mainbar */
.tc-course{display:flex;align-items:stretch;min-height:calc(100vh - 60px)}
.tc-course.player{min-height:calc(100vh - 74px)}
.tc-course-sidebar{width:var(--tc-sidebar-w);min-width:var(--tc-sidebar-w);background:var(--tc-panel);
  border-right:1px solid var(--tc-border);align-self:stretch;padding-bottom:30px;
  position:sticky;top:0;max-height:100vh;overflow-y:auto}
.tc-course-sidebar .course-image{display:block;width:100%;margin:0;aspect-ratio:16/9;
  object-fit:cover;background:#e4e6e6}
.tc-course-sidebar h2{font-size:20px;padding:0 25px;font-weight:bold;margin-top:25px;line-height:29px}
.tc-course-progress{padding:0 25px;text-align:center;margin:14px 0 25px;font-size:13px;
  color:var(--tc-secondary)}
.tc-course-progress .track{height:6px;border-radius:999px;background:#e2e5e5;overflow:hidden;
  margin-bottom:14px}
.tc-course-progress .track>span{display:block;height:100%;background:var(--tc-secondary);border-radius:999px}
.tc-course-progress .pct{font-size:22px;font-weight:bold;color:var(--tc-text)}
.tc-course-progress .cap{text-transform:uppercase;letter-spacing:.04em;font-size:13px;
  color:var(--tc-muted);margin-left:6px}
.tc-side-nav{border-top:1px solid var(--tc-border);margin-top:6px}
.tc-side-nav a{display:flex;align-items:center;gap:14px;padding:15px 25px;font-size:17px;
  color:var(--tc-text);border-left:4px solid transparent}
.tc-side-nav a svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.tc-side-nav a:hover{background:var(--tc-item)}
.tc-side-nav a.active{border-left-color:var(--tc-primary);font-weight:600}

.tc-course-main{flex:1;min-width:0;background:#fff;padding:16px 40px 70px;align-self:stretch}
.tc-course-main h2.section-title{font-size:22px;font-weight:bold;margin-bottom:30px;margin-top:10px}
.tc-course-main h1.curriculum-h{font-size:32px;font-weight:bold;margin:22px 0 26px}

/* next-lecture CTA */
.tc-next{display:flex;align-items:center;background:var(--tc-secondary-soft);border-radius:40px;
  margin-bottom:26px;overflow:hidden}
.tc-next .tc-btn{margin-right:12px;font-size:19px;line-height:35px;border-radius:40px;padding:2px 26px}
.tc-next .nm{font-size:16px;color:#8f4a4a;padding-right:22px;overflow:hidden;
  text-overflow:ellipsis;white-space:nowrap}

/* lecture list */
.tc-section{margin-bottom:20px}
.tc-section .sec-title{font-size:22px;font-weight:600;margin-bottom:14px;padding-bottom:10px;
  border-bottom:1px solid var(--tc-secondary-line)}
.tc-section ul{list-style:none}
.tc-section li{border-bottom:1px solid var(--tc-secondary-line)}
.tc-section li:last-child{border-bottom:none}
.tc-item{display:flex;align-items:center;gap:14px;padding:11px 16px;background:var(--tc-item);
  font-size:15px;color:var(--tc-muted);font-weight:200;line-height:1.45}
.tc-item:hover{color:#f20000;background:var(--tc-secondary-soft)}
.tc-item .status{width:19px;height:19px;border-radius:50%;border:2px solid var(--tc-secondary);
  flex:0 0 auto;position:relative;background:transparent}
.tc-item .status.half::after{content:"";position:absolute;inset:2px 50% 2px 2px;
  background:var(--tc-secondary);border-radius:9px 0 0 9px}
.tc-item .kind{width:20px;height:20px;flex:0 0 auto;stroke:currentColor;fill:none;stroke-width:1.7;
  stroke-linecap:round;stroke-linejoin:round;color:var(--tc-text)}
.tc-item .nm{flex:1;min-width:0}
.tc-item .go{flex:0 0 auto}
.tc-item .draft{font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;
  background:#e2e5e5;color:#6b7575;padding:3px 9px;border-radius:5px;flex:0 0 auto}
li.done .tc-item{color:var(--tc-done)}
li.done .tc-item:hover{color:#ababab;background:#e6e6e6}
li.done .tc-item .status{background:var(--tc-done);border-color:var(--tc-done)}
li.done .tc-item .status::after{content:"";position:absolute;left:4px;top:0;width:5px;height:10px;
  border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
li.done .tc-item .kind{color:var(--tc-done)}
li.done .tc-item .go{display:none}
li.current .tc-item{background:#fdeeee}

/* ---------------------------------------------------------------- player */
.tc-player-top{background:var(--tc-primary);height:74px;display:flex;align-items:center;
  justify-content:space-between;gap:20px;padding:0 22px;position:sticky;top:0;z-index:50}
.tc-player-top .lft{display:flex;align-items:center;gap:20px;min-width:0}
.tc-player-top .ico{color:#fff;display:flex;align-items:center}
.tc-player-top .ico svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.9;
  stroke-linecap:round;stroke-linejoin:round}
.tc-player-top .ico:hover{opacity:.75}
.tc-complete{display:inline-flex;align-items:center;justify-content:center;gap:9px;color:#fff;
  border:1px solid #fff;border-radius:6px;padding:11px 18px;font-size:16px;font-weight:600;
  background:none;cursor:pointer;white-space:nowrap}
.tc-complete:hover{background:none;border-color:#fff;color:#fff;opacity:.85}
.tc-complete.complete{background:var(--tc-secondary);border-color:var(--tc-secondary);color:#fff}
.tc-complete.complete:hover{background:var(--tc-secondary-hover);border-color:var(--tc-secondary-hover);opacity:1}
.tc-complete svg{height:1.3em;width:1.3em;stroke:currentColor;fill:none;stroke-width:2.4;
  stroke-linecap:round;stroke-linejoin:round}

.tc-lecture-sidebar{width:var(--tc-sidebar-w);min-width:var(--tc-sidebar-w);background:var(--tc-panel);
  border-right:1px solid var(--tc-border);align-self:stretch;padding-bottom:80px;
  position:sticky;top:74px;max-height:calc(100vh - 74px);overflow-y:auto}
.tc-lecture-sidebar .sec-title{font-size:19px;font-weight:bold;padding:20px 16px 12px;
  line-height:1.3;border-bottom:1px solid var(--tc-secondary-line)}
.tc-lecture-sidebar ul{list-style:none}
.tc-lecture-sidebar li{border-bottom:1px solid var(--tc-secondary-line)}

.tc-lecture-main{flex:1;min-width:0;background:#fff;padding:16px 40px 90px;align-self:stretch}
.tc-lecture-main h2.lecture-title{display:flex;align-items:center;gap:16px;font-size:28px;
  font-weight:bold;line-height:41px;margin:10px 0 18px}
.tc-lecture-main h2.lecture-title svg{width:28px;height:28px;stroke:currentColor;fill:none;
  stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.tc-video{background:#000;border-radius:6px;overflow:hidden;margin-bottom:26px}
.tc-video video{width:100%;display:block;max-height:72vh}
.tc-audio{padding:26px;background:var(--tc-panel);border-radius:6px;margin-bottom:26px}
.tc-audio audio{width:100%;display:block}
.tc-text{font-size:17px;line-height:1.7;color:var(--tc-text)}
.tc-text p{margin-bottom:1em}
.tc-text a{color:var(--tc-secondary);text-decoration:underline;text-underline-offset:2px}
.tc-text ul,.tc-text ol{padding-left:26px;margin:12px 0}
.tc-text img{border-radius:6px}
.tc-attachments{margin-top:36px}
.tc-attachments h3{font-size:19px;font-weight:bold;margin-bottom:12px}
.tc-att{display:flex;align-items:center;gap:13px;padding:13px 16px;border:1px solid #e6e8e8;
  border-radius:6px;background:#fff;margin-top:9px;font-size:16px}
.tc-att svg{width:19px;height:19px;stroke:#6b7575;fill:none;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.tc-att a{color:var(--tc-text);text-decoration:underline;text-underline-offset:2px}
.tc-att a:hover{color:var(--tc-secondary)}
.tc-att .sz{margin-left:auto;color:#8a9292;font-size:14px;flex:0 0 auto}
.tc-lecture-foot{display:flex;justify-content:center;margin-top:46px}
.tc-lecture-foot .tc-complete{border-color:var(--tc-secondary);background:var(--tc-secondary);
  padding:13px 30px;font-size:17px}
.tc-empty-lecture{padding:64px 30px;text-align:center;color:#8a9292;background:var(--tc-panel);
  border-radius:6px;font-size:16px}
.tc-draft-note{margin-top:16px;font-size:15px;color:#7a6320;background:#fdf3d3;border-radius:6px;
  padding:12px 16px}

/* ---------------------------------------------------------------- misc */
.tc-empty{text-align:center;padding:78px 20px}
.tc-empty h2{font-size:26px;font-weight:bold;margin-bottom:12px}
.tc-empty p{font-size:17px;color:var(--tc-muted);max-width:460px;margin:0 auto}
.tc-404{text-align:center;padding:78px 20px 300px}
.tc-404 h1{font-size:40px;font-weight:bold;color:#212338}

/* account page */
.tc-form-card{max-width:640px;background:#fff;border:1px solid #e6e8e8;border-radius:9px;
  padding:30px 32px;margin-top:26px}
.tc-form-card h2{font-size:20px;font-weight:bold;margin-bottom:6px}
.tc-form-card .sub{font-size:15px;color:var(--tc-muted);margin-bottom:22px;line-height:1.5}
.tc-form-card .acts{margin-top:26px}

/* ---------------------------------------------------------------- responsive */
@media (max-width:1000px){
  .tc-course-sidebar,.tc-lecture-sidebar{display:none}
  .tc-course-main,.tc-lecture-main{padding:16px 22px 70px}
  .tc-row-card .rc-thumb{width:190px;flex:0 0 190px}
}
@media (max-width:640px){
  .tc-wrap{padding:0 18px}
  .tc-footer .in{padding:0 18px;flex-direction:column;align-items:flex-start;gap:12px}
  .tc-welcome{font-size:26px;padding:30px 0 24px}
  h1.tc-h1{font-size:26px}
  .tc-row-card{flex-direction:column}
  .tc-row-card .rc-thumb{width:100%;flex:none}
  .tc-nav-links a{padding:8px 10px;font-size:14px}
  .tc-auth h1{font-size:32px}
  .tc-sortby{margin-left:0}
}
