@import url('https://fonts.googleapis.com/css2?family=Mrgvlovani&family=Noto+Sans+Georgian:wght@400;500;600;700;800;900&display=swap');
.st-root *{margin:0;padding:0;box-sizing:border-box}
html,body{margin:0;padding:0;background:#f8f9ff}
.st-root{
  --bg:#f4f5fb;--card:#fff;--line:#e4e5f2;
  --ind:#4f46e5;--ind-d:#3d34c7;--ind-s:#eef0ff;
  --gn:#13b877;--gn-d:#0e9a63;
  --sky:#0284c7;--sky-s:#e0f2fe;--sky-l:#bae6fd;
  --ink:#141430;--muted:#5c5f7a;--dim:#9aa0b5;--lecbtn-stroke:#4f46e5;--lecbtn-fill:rgba(79,70,229,.7);--lecbtn-text:#fff;
  font-family:'Noto Sans Georgian',sans-serif;color:var(--ink);
  background:var(--bg);position:relative;min-height:100vh;
}
.st-app{position:relative;min-height:100vh}

/* ══ BANNER ══ */
.bn-sec{position:relative;padding:72px 28px 80px;
  background:linear-gradient(135deg,#cbc4fc 0%,#312080 55%,#090739 100%);
  background-size:cover;background-position:center;background-repeat:no-repeat;overflow:hidden}
.bn-sec::before{content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(10,8,30,.82) 0%,rgba(10,8,30,.5) 55%,rgba(10,8,30,.1) 100%);pointer-events:none}
.bn-wrap{max-width:1100px;margin:0 auto;position:relative;z-index:1}
.bn-text{max-width:440px}
.bn-title{font-family:'Mrgvlovani','Noto Sans Georgian',sans-serif;font-weight:900;
  font-size:clamp(26px,4.5vw,50px);color:#fff;line-height:1.1;letter-spacing:-.02em}
.bn-sub{color:rgba(255,255,255,.72);font-size:15px;line-height:1.7;margin-top:12px}
.bn-btn{display:inline-flex;align-items:center;gap:9px;margin-top:24px;
  background:linear-gradient(135deg,#7c3aed,#9f67ff);color:#fff;font-weight:700;
  font-size:13.5px;font-family:'Noto Sans Georgian',sans-serif;
  padding:12px 22px;border-radius:12px;text-decoration:none;border:none;cursor:pointer;
  transition:transform .2s,filter .2s}
.bn-btn:hover{transform:scale(1.04);filter:brightness(1.1)}
.bn-btn span{font-size:17px;line-height:1}

/* ══ MAIN SECTION ══ */
.st-sec{position:relative;padding:48px 28px 72px;overflow:hidden;
  background:radial-gradient(ellipse 80% 50% at 20% 0%,#eaf3ff,transparent 60%),
    radial-gradient(ellipse 60% 40% at 85% 10%,#f0eeff,transparent 55%),
    var(--bg)}
.st-sec.lec{padding-top:32px}
.st-inner{max-width:1100px;margin:0 auto;position:relative;z-index:1}
.st-head{display:flex;flex-direction:column;align-items:center;text-align:center}
.st-badge{display:inline-flex;align-items:center;gap:10px;padding:7px 12px;
  border-radius:999px;background:rgba(255,255,255,.8);backdrop-filter:blur(8px);
  border:1px solid var(--line);box-shadow:0 6px 20px -10px rgba(20,20,48,.2)}
.st-badge .num{font-family:'Mrgvlovani','Noto Sans Georgian',sans-serif;font-weight:900;
  font-size:13px;color:#fff;background:linear-gradient(135deg,#2a2350,var(--ind));
  padding:5px 13px;border-radius:999px}
.st-badge .sub{font-weight:700;font-size:12.5px;color:var(--ind-d)}
.st-title{margin-top:16px;font-family:'Mrgvlovani','Noto Sans Georgian',sans-serif;
  font-weight:900;font-size:clamp(26px,4vw,42px);line-height:1.12;letter-spacing:-.02em;color:var(--ink)}
.st-title b{color:var(--ind-d)}
.st-desc{margin:12px auto 0;max-width:560px;font-size:15px;line-height:1.7;color:var(--muted)}
.st-back{display:inline-flex;align-items:center;gap:6px;margin-bottom:14px;
  border:1px solid var(--line);background:rgba(255,255,255,.9);color:var(--ink);
  font-family:'Noto Sans Georgian',sans-serif;font-weight:700;font-size:13.5px;
  padding:8px 16px;border-radius:999px;cursor:pointer;transition:background .2s,transform .15s}
.st-back:hover{background:#fff;transform:translateX(-3px);box-shadow:0 6px 18px -10px rgba(20,20,48,.3)}

/* ══ STAGE TABS ══ */
.st-stage-tabs{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:28px;padding-bottom:10px}
.st-stab{padding:9px 16px 8px;border-radius:12px;border:1.5px solid var(--line);
  background:var(--card);color:var(--muted);
  font-family:'Noto Sans Georgian',sans-serif;font-weight:700;font-size:13px;
  cursor:pointer;transition:all .2s;white-space:nowrap;
  display:inline-flex;flex-direction:column;align-items:center;gap:2px}
.st-stab-lbl{font-size:10px;font-weight:700;opacity:.85;letter-spacing:.01em;line-height:1}
.st-stab:hover{border-color:var(--ind-d);color:var(--ind-d);background:var(--ind-s)}
.st-stab.act{background:linear-gradient(135deg,#2a2350,var(--ind));
  color:#fff;border-color:transparent;
  box-shadow:0 8px 20px -10px rgba(79,70,229,.6)}

/* ══ MODULE CARDS GRID ══ */
.st-mods-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:28px}
@media(max-width:860px){.st-mods-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.st-mods-grid{grid-template-columns:1fr}}

/* Taskello-style vertical card */
.mod-v{background:var(--card);border:1px solid var(--line);border-radius:20px;
  overflow:hidden;display:flex;flex-direction:column;
  box-shadow:0 8px 28px -16px rgba(20,20,48,.18);
  transition:transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s,border-color .3s}
.mod-v:hover{transform:translateY(-6px);
  box-shadow:0 22px 44px -20px rgba(79,70,229,.35);border-color:#d0d2f4}
.mod-top{position:relative;aspect-ratio:4/3;overflow:hidden;
  background:linear-gradient(135deg,#1c1740,#3a2f7a 55%,#4f46e5)}
.mod-top img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.mod-top-ph{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  font-family:'Mrgvlovani','Noto Sans Georgian',sans-serif;font-weight:900;
  font-size:42px;color:rgba(255,255,255,.2)}
.mod-bot{padding:16px 18px 20px;background:var(--card);flex:1;
  margin-top:-14px;border-radius:16px 16px 0 0;position:relative;z-index:1}
.mod-name{font-family:'Mrgvlovani','Noto Sans Georgian',sans-serif;font-weight:900;
  font-size:17px;color:var(--ink);margin-bottom:6px;display:block;line-height:1.2}
.mod-desc{font-size:12.5px;color:var(--muted);line-height:1.55;margin-bottom:9px}
.mod-cnt{font-size:11.5px;font-weight:700;color:var(--ind-d);background:var(--ind-s);
  padding:3px 9px;border-radius:999px;display:inline-block;margin-bottom:10px}
.st-lessons{display:flex;flex-wrap:wrap;gap:6px}
.lp{flex:0 0 auto;min-width:42px;display:inline-flex;align-items:center;justify-content:center;
  font-weight:700;font-size:13.5px;padding:9px 12px;border-radius:10px;
  border:none;cursor:default;font-family:'Noto Sans Georgian',sans-serif;transition:transform .15s,filter .15s}
.lp.on{color:#fff;background:linear-gradient(135deg,var(--gn),var(--gn-d));
  box-shadow:0 6px 14px -7px rgba(19,184,119,.7);cursor:pointer}
.lp.on:hover{transform:translateY(-2px) scale(1.07);filter:brightness(1.08)}
.lp.on.nolink{cursor:default}
.lp.off{color:var(--dim);background:#eff0f7}

/* status badge (on mod-top image) */
.st-status{position:absolute;top:10px;left:10px;
  font-size:11.5px;font-weight:700;font-family:'Noto Sans Georgian',sans-serif;
  padding:4px 12px;border-radius:999px;white-space:nowrap;backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,.2)}
.st-status-done{background:rgba(16,185,129,.85);color:#fff}
.st-status-active{background:rgba(245,158,11,.9);color:#fff}
.st-status-next{background:rgba(100,116,139,.8);color:#fff}

/* ══ LECTURE ══ */
.st-sec.lec{
  padding-top:36px;
}

.lec-bar{
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  min-height:42px;
  max-width:1080px;
  width:100%;
  margin:0 auto 34px;
}

.lec-bar .st-back{
  position:absolute;
  left:0;
  top:50%;
  transform:translateY(-50%);
  margin:0;
}

.lec-bar .st-back,
.lec-bigtitle,
.lec-pn{
  border:2px solid var(--lecbtn-stroke);
  background:var(--lecbtn-fill);
  color:var(--lecbtn-text);
  font-family:'Noto Sans Georgian',sans-serif;
  font-weight:800;
  font-size:14px;
  line-height:1;
  padding:10px 20px;
  border-radius:6px;
  cursor:pointer;
}

.lec-bar .st-back:hover{
  transform:translateY(-50%);
  filter:brightness(1.08);
  box-shadow:none;
}

.lec-bigtitle{
  font-family:'Mrgvlovani','Noto Sans Georgian',sans-serif;
}

.lec-stage{
  display:flex;
  justify-content:center;
  margin-top:0;
}

.lec-frame{
  position:relative;
  width:100%;
  max-width:1080px;
  aspect-ratio:16/9;
  overflow:hidden;
  border:0;
  outline:4px solid #071833;
  outline-offset:0;
  border-radius:18px;
  background:#071833;
  box-shadow:0 30px 60px -30px rgba(20,20,48,.5);
  font-size:0;
  line-height:0;
}

.lec-frame::before{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:42px;
  height:42px;
  margin:-21px 0 0 -21px;
  border:4px solid rgba(255,255,255,.18);
  border-top-color:#fff;
  border-radius:50%;
  animation:lecspin .8s linear infinite;
  z-index:0;
}

.lec-frame::after{
  display:none!important;
}

@keyframes lecspin{
  to{transform:rotate(360deg)}
}

.lec-frame iframe,
.lec-frame > div{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  border:0!important;
  display:block!important;
  padding:0!important;
  margin:0!important;
  z-index:1;
}

.lec-frame > a{
  display:none!important;
}

.lp-empty{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#0f1d3d;
  color:#8087a8;
  font-size:15px;
  text-align:center;
  padding:20px;
  z-index:2;
}

.lec-bottom{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:end;
  gap:32px;
  min-height:100px;
  width:100%;
  max-width:1080px;
  margin:22px auto 0;
}

.lec-thumbs{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  gap:14px;
  margin:0;
}

.lec-thumbs.tight{
  gap:12px;
}

.lec-thumb,
.lec-thumbs.tight .lec-thumb{
  flex:0 0 210px;
  width:210px;
  height:90px;
  aspect-ratio:auto;
  overflow:hidden;
  position:relative;
  padding:0;
  border:3px solid var(--line);
  border-radius:12px;
  background:#071833;
  cursor:pointer;
  font-size:0;
  transition:border-color .2s,box-shadow .2s,transform .2s;
}

.lec-thumb:hover{
  transform:translateY(-2px);
}

.lec-thumb.act{
  border-color:var(--lecbtn-stroke);
  box-shadow:0 10px 24px -10px rgba(79,70,229,.6);
}

.lec-thumb-in{
  position:absolute;
  inset:0;
  overflow:hidden;
  pointer-events:none;
  background:#071833;
}

/*
  16:9 embed preview is mathematically cropped into a 21:9 thumbnail.
  Adjust --thumb-y only when you need to move the preview up/down:
  -15.625% = centered crop
  -20% = slightly higher
  -10% = slightly lower
*/
.lec-thumb-in iframe,
.lec-thumb-in > div{
  position:absolute!important;
  top:var(--thumb-y,-15.625%)!important;
  left:0!important;
  width:100%!important;
  height:131.25%!important;
  min-width:100%!important;
  min-height:131.25%!important;
  border:0!important;
  padding:0!important;
  margin:0!important;
  transform:none!important;
}

.lec-thumb-in > a{
  display:none!important;
}

.lec-navgrp{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:26px;
  align-self:end;
  padding-bottom:8px;
}

.lec-count2{
  display:flex;
  align-items:baseline;
  justify-content:center;
  gap:6px;
  min-width:96px;
  font-family:'Mrgvlovani','Noto Sans Georgian',sans-serif;
  font-weight:900;
  line-height:1;
  color:var(--dim);
}

.lec-count2 b,
.lec-count2 i{
  font-size:34px;
  line-height:1;
  font-weight:900;
  font-style:normal;
}

.lec-count2 b{
  color:var(--lecbtn-stroke);
}

.lec-count2 i{
  color:var(--dim);
}

.lec-pn{
  white-space:nowrap;
}

.lec-pn:hover{
  filter:brightness(1.08);
}

.lec-pn.dis{
  opacity:.4;
  cursor:not-allowed;
  pointer-events:none;
}

.lec-count{
  font-weight:700;
  font-size:13px;
  color:var(--dim);
  min-width:60px;
  text-align:center;
}

@media(max-width:760px){
  .lec-bar{
    justify-content:flex-end;
    gap:12px;
  }

  .lec-bar .st-back{
    position:static;
    transform:none;
  }

  .lec-bar .st-back:hover{
    transform:none;
  }

  .lec-bottom{
    grid-template-columns:1fr;
    gap:18px;
  }

  .lec-thumbs{
    justify-content:center;
  }

  .lec-thumb,
  .lec-thumbs.tight .lec-thumb{
    flex:0 0 46%;
    width:46%;
    height:76px;
  }

  .lec-navgrp{
    justify-content:center;
    padding-bottom:0;
  }
}

/* tab status colors — pastel */
.st-stab.stab-done{background:#fde8ea!important;color:#b91c1c!important;border-color:#fca5a5!important}
.st-stab.stab-active{background:#dcfce7!important;color:#15803d!important;border-color:#86efac!important}
.st-stab.stab-next{background:#ffedd5!important;color:#c2410c!important;border-color:#fdba74!important}
/* active/selected tab — clear visual indicator */
.st-stab.act{
  position:relative;
  transform:translateY(-2px);
  box-shadow:0 8px 24px -8px rgba(79,70,229,.4)!important;
}
.st-stab.act::after{
  content:"";position:absolute;bottom:-7px;left:50%;transform:translateX(-50%);
  width:28px;height:3px;border-radius:999px;background:currentColor;opacity:.6;
}
/* when selected AND has status — combine pastel bg with active indicator */
.st-stab.act.stab-done{background:#fde8ea!important;color:#b91c1c!important;border-color:#fca5a5!important;box-shadow:0 8px 24px -8px rgba(185,28,28,.35)!important}
.st-stab.act.stab-active{background:#dcfce7!important;color:#15803d!important;border-color:#86efac!important;box-shadow:0 8px 24px -8px rgba(21,128,61,.35)!important}
.st-stab.act.stab-next{background:#ffedd5!important;color:#c2410c!important;border-color:#fdba74!important;box-shadow:0 8px 24px -8px rgba(194,65,12,.35)!important}
/* module card status */
.mod-badge{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:700;
  font-family:'Noto Sans Georgian',sans-serif;padding:3px 9px;border-radius:999px;margin-bottom:8px}
.mod-badge-done{background:#dcfce7;color:#15803d;border:1px solid #86efac}
.mod-badge-current{background:#bbf7d0;color:#166534;border:1px solid #4ade80;font-size:12px}
.mod-badge-next{background:#ffedd5;color:#c2410c;border:1px solid #fdba74}
.mod-v.mod-done{border-color:#86efac}
.mod-v.mod-current{border-color:#4ade80!important;border-width:2px;box-shadow:0 0 0 3px rgba(74,222,128,.15)}
.mod-v.mod-next{border-color:#fdba74}
/* ==ADMIN-CSS-START== */
.st-lock{position:fixed;right:18px;bottom:18px;z-index:9998;width:50px;height:50px;
  border-radius:50%;border:none;cursor:pointer;
  background:linear-gradient(135deg,#2a2350,#4f46e5);color:#fff;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 12px 26px -10px rgba(79,70,229,.8);transition:transform .2s}
.st-lock:hover{transform:scale(1.08)}
.st-lock svg{width:22px;height:22px}
.st-overlay{position:fixed;inset:0;z-index:9999;display:none;align-items:flex-start;
  justify-content:center;background:rgba(6,6,18,.6);backdrop-filter:blur(6px);
  overflow-y:auto;padding:30px 16px}
.st-overlay.show{display:flex}
.st-login{width:100%;max-width:380px;margin-top:8vh;background:#15162b;
  border:1px solid #2c2e52;border-radius:22px;padding:30px 26px;color:#fff;
  box-shadow:0 40px 80px -30px rgba(0,0,0,.6)}
.st-login h3{font-family:'Mrgvlovani','Noto Sans Georgian',sans-serif;font-size:22px;margin-bottom:4px}
.st-login p{color:#9fa3c7;font-size:13.5px;margin-bottom:20px}
.st-field{margin-bottom:14px}
.st-field label{display:block;font-size:13px;color:#b8bce0;margin-bottom:6px;font-weight:600}
.st-input{width:100%;padding:12px 14px;border-radius:12px;border:1px solid #2c2e52;
  background:#1d1f3a;color:#fff;font-size:15px;font-family:inherit;outline:none;transition:border .2s}
.st-input:focus{border-color:#4f46e5}
.st-err{color:#ff738f;font-size:13px;min-height:18px;margin:4px 2px}
.st-btn{width:100%;padding:13px;border:none;border-radius:12px;cursor:pointer;font-family:inherit;
  font-weight:700;font-size:15px;color:#fff;background:linear-gradient(135deg,#4f46e5,#3d34c7);transition:filter .2s,transform .15s}
.st-btn:hover{filter:brightness(1.08)}
.st-admin{width:100%;max-width:900px;margin-top:2vh;background:#15162b;
  border:1px solid #2c2e52;border-radius:22px;color:#fff;
  box-shadow:0 40px 80px -30px rgba(0,0,0,.6);overflow:hidden;display:none}
.st-admin.show{display:block}
.st-abar{display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:16px 20px;border-bottom:1px solid #2c2e52;
  background:linear-gradient(135deg,#1b1c38,#23254a);position:sticky;top:0;z-index:2}
.st-abar h3{font-family:'Mrgvlovani','Noto Sans Georgian',sans-serif;font-size:18px;display:flex;align-items:center;gap:9px}
.st-abar .tools{display:flex;gap:8px;flex-wrap:wrap}
.st-tool{border:1px solid #2c2e52;background:#1d1f3a;color:#dfe1ff;font-family:inherit;
  font-size:12.5px;font-weight:600;padding:8px 12px;border-radius:10px;cursor:pointer;transition:.15s}
.st-tool:hover{background:#2a2c52}
.st-tool.green{background:linear-gradient(135deg,#13b877,#0e9a63);border:none;color:#fff}
.st-tool.ghost{background:transparent}
.st-tool.danger{color:#ffb3c2}
.st-abody{padding:0;max-height:66vh;overflow-y:auto}
.st-tabs{display:flex;gap:6px;flex-wrap:wrap;padding:12px 14px 8px;
  border-bottom:1px solid #2c2e52;background:#16182f;position:sticky;top:0;z-index:1}
.st-tab{border:1px solid #2c2e52;background:#1d1f3a;color:#b8bce0;font-family:'Noto Sans Georgian',sans-serif;
  font-weight:700;font-size:12.5px;padding:7px 13px;border-radius:9px;cursor:pointer;transition:.15s;white-space:nowrap}
.st-tab:hover{background:#2a2c52}
.st-tab.act{background:linear-gradient(135deg,#2a2350,#4f46e5);border-color:transparent;color:#fff}
.st-tab.spl{background:rgba(56,189,248,.1);border-color:rgba(56,189,248,.2);color:#7dd3fc}
.st-tab.spl.act{background:linear-gradient(135deg,#0c4a6e,#0284c7);color:#fff}
.st-subtabs{display:flex;gap:6px;flex-wrap:wrap;padding:10px 14px 4px}
.st-subtab{border:1px solid #2c2e52;background:#101127;color:#cfd2ff;font-family:inherit;
  font-weight:700;font-size:12px;padding:6px 11px;border-radius:8px;
  cursor:pointer;display:inline-flex;gap:6px;align-items:center;transition:.15s}
.st-subtab:hover{background:#1c1e3c}
.st-subtab.act{background:linear-gradient(135deg,#13b877,#0e9a63);border-color:transparent;color:#fff}
.st-subtab .cnt{font-size:11px;background:rgba(255,255,255,.18);padding:1px 6px;border-radius:999px}
.st-pane{padding:14px 16px 18px}
.st-group{border:1px solid #2c2e52;border-radius:14px;margin-bottom:14px;overflow:hidden}
.st-gbody{padding:6px 14px 14px}
.st-erow{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:7px 0}
.st-mini{font-size:11.5px;color:#9aa0c7;font-weight:600;min-width:130px;flex-shrink:0}
.st-in{flex:1;min-width:160px;padding:9px 12px;border-radius:10px;border:1px solid #2c2e52;background:#101127;color:#fff;font-size:13px;font-family:inherit;outline:none}
.st-in:focus{border-color:#4f46e5}
select.st-in{cursor:pointer}
.st-mod{border:1px dashed #2c2e52;border-radius:13px;margin:10px 0;padding:10px 12px 14px;background:rgba(255,255,255,.02)}
.st-modhead{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin-bottom:8px}
.st-modhead .name{font-family:'Mrgvlovani','Noto Sans Georgian',sans-serif;font-weight:800;font-size:13px;color:#fff;background:#2a2c52;padding:5px 10px;border-radius:8px}
.st-lrow{display:flex;align-items:flex-start;gap:8px;padding:8px 0;border-bottom:1px dashed #2c2e52}
.st-lrow:last-child{border-bottom:none}
.st-lnum{width:46px;flex:0 0 46px;text-align:center;padding:8px 4px;border-radius:8px;background:#2a2c52;color:#fff;outline:none;border:1px solid #2c2e52;font-family:inherit;font-size:13px;font-weight:700}
.st-lnum.act{background:linear-gradient(135deg,#13b877,#0e9a63);border:none}
.st-emb{flex:1;min-width:0;min-height:40px;padding:8px 11px;border-radius:9px;border:1px solid #2c2e52;background:#101127;color:#cfe3ff;font-size:12px;font-family:ui-monospace,Menlo,Consolas,monospace;outline:none;resize:vertical}
.st-emb:focus{border-color:#4f46e5}
.st-lctrl{display:flex;flex-direction:column;gap:5px;flex:0 0 auto}
.st-toggle{border:none;cursor:pointer;font-family:inherit;font-weight:700;font-size:12px;padding:8px 11px;border-radius:9px;color:#fff;transition:.15s;min-width:96px}
.st-toggle.on{background:linear-gradient(135deg,#13b877,#0e9a63)}
.st-toggle.off{background:#3a3c66;color:#b9bce0}
.st-x{border:1px solid #2c2e52;background:transparent;color:#ffb3c2;cursor:pointer;font-family:inherit;font-weight:700;font-size:12px;padding:8px 11px;border-radius:9px;min-width:96px}
.st-x:hover{background:rgba(255,90,120,.12)}
.st-add{margin-top:10px;border:1px dashed #4f46e5;background:rgba(79,70,229,.12);color:#c9c8ff;cursor:pointer;font-family:inherit;font-weight:700;font-size:12.5px;padding:9px 14px;border-radius:9px}
.st-add:hover{background:rgba(79,70,229,.22)}
.st-savebar{padding:13px 20px;border-top:1px solid #2c2e52;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#13142a}
.st-savebar .msg{font-size:13px;color:#8be3b8;min-height:18px}
.st-export{display:none;width:100%;max-width:900px;margin-top:4vh;background:#15162b;border:1px solid #2c2e52;border-radius:22px;color:#fff;padding:22px;box-shadow:0 40px 80px -30px rgba(0,0,0,.6)}
.st-export.show{display:block}
.st-export h3{font-family:'Mrgvlovani','Noto Sans Georgian',sans-serif;font-size:19px;margin-bottom:6px}
.st-export p{color:#9fa3c7;font-size:13.5px;margin-bottom:12px}
.st-code{width:100%;height:240px;background:#0c0d20;border:1px solid #2c2e52;border-radius:12px;color:#cfe3ff;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:12px;padding:14px;resize:vertical;outline:none}
.st-export .row{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}
@media(max-width:560px){.st-lrow{flex-wrap:wrap}.st-emb{order:3;flex-basis:100%}.st-lctrl{flex-direction:row;flex-wrap:wrap}}

/* ==MULTI-COURSE-CSS== */
.st-course-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:30px}
@media(max-width:980px){.st-course-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.st-course-grid{grid-template-columns:1fr}}
.st-course-card{background:var(--card);border:1px solid var(--line);border-radius:20px;overflow:hidden;cursor:pointer;text-align:left;box-shadow:0 8px 28px -16px rgba(20,20,48,.18);transition:transform .25s,box-shadow .25s,border-color .25s;font-family:'Noto Sans Georgian',sans-serif}
.st-course-card:hover{transform:translateY(-5px);box-shadow:0 20px 40px -22px rgba(79,70,229,.35);border-color:#d0d2f4}
.st-course-img{aspect-ratio:16/10;background:linear-gradient(135deg,#1c1740,#4f46e5);position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.28);font-family:'Mrgvlovani','Noto Sans Georgian',sans-serif;font-size:42px;font-weight:900}
.st-course-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.st-course-body{padding:16px 18px 18px}
.st-course-title{font-family:'Mrgvlovani','Noto Sans Georgian',sans-serif;font-size:18px;font-weight:900;color:var(--ink);line-height:1.25}
.st-course-desc{font-size:12.5px;color:var(--muted);line-height:1.55;margin-top:7px}
.st-course-meta{display:inline-flex;margin-top:10px;font-size:11.5px;font-weight:800;color:var(--ind-d);background:var(--ind-s);padding:4px 10px;border-radius:999px}
.st-course-mini{font-size:12px;color:#9aa0c7;line-height:1.5;margin:6px 0 10px}

/* === ADMIN LESSON METADATA === */
.st-lesson-info{
  flex:1;
  min-width:220px;
  display:flex;
  flex-direction:column;
  gap:3px;
  color:#cfd2ff;
  font-size:12px;
  line-height:1.45;
}
.st-bank-label b{
  color:#fff;
  font-weight:800;
}
.st-status-note{
  color:#8f96c4;
  font-size:11.5px;
}

/* === THEME MODE — LIGHT / DARK === */
.st-root{color-scheme:light}
.st-root.dark{
  color-scheme:dark;
  --bg:#090b16;--card:#111527;--line:#262b43;
  --ind:#7c6cff;--ind-d:#a79cff;--ind-s:rgba(124,108,255,.16);
  --gn:#18c987;--gn-d:#0ea86d;
  --sky:#38bdf8;--sky-s:rgba(56,189,248,.14);--sky-l:rgba(56,189,248,.28);
  --ink:#f4f6ff;--muted:#b9bfd6;--dim:#7f879e;
  --lecbtn-stroke:#8b7cff;--lecbtn-fill:rgba(124,108,255,.72);--lecbtn-text:#fff;
  background:var(--bg);color:var(--ink);
}
.st-root.dark{scrollbar-color:#343a58 #090b16}
.st-root.dark .st-sec{background:radial-gradient(ellipse 80% 50% at 20% 0%,rgba(56,189,248,.12),transparent 60%),radial-gradient(ellipse 60% 40% at 85% 10%,rgba(124,108,255,.16),transparent 55%),var(--bg)}
.st-root.dark .bn-sec::before{background:linear-gradient(90deg,rgba(5,6,16,.88) 0%,rgba(8,9,22,.62) 55%,rgba(8,9,22,.25) 100%)}
.st-root.dark .st-badge,.st-root.dark .st-back,.st-root.dark .st-course-card,.st-root.dark .mod-v,.st-root.dark .mod-bot,.st-root.dark .st-stab{background:rgba(17,21,39,.92);border-color:var(--line);color:var(--ink)}
.st-root.dark .st-course-card:hover,.st-root.dark .mod-v:hover{border-color:#454c73;box-shadow:0 20px 44px -22px rgba(124,108,255,.45)}
.st-root.dark .st-title,.st-root.dark .mod-name,.st-root.dark .st-course-title,.st-root.dark .lec-crumb{color:var(--ink)}
.st-root.dark .st-desc,.st-root.dark .mod-desc,.st-root.dark .st-course-desc{color:var(--muted)}
.st-root.dark .mod-cnt,.st-root.dark .st-course-meta{background:var(--ind-s);color:var(--ind-d)}
.st-root.dark .lp.off{background:#1b2136;color:#69718a}
.st-root.dark .lec-frame,.st-root.dark .lec-thumb,.st-root.dark .lec-thumb-in{background:#050814}
.st-root.dark .lec-pn,.st-root.dark .lec-bar .st-back,.st-root.dark .lec-bigtitle{border-color:var(--lecbtn-stroke);background:var(--lecbtn-fill);color:var(--lecbtn-text)}
.st-root.dark .st-login,.st-root.dark .st-admin,.st-root.dark .st-export{background:#111527;border-color:#2b314b;color:#f4f6ff}
.st-root.dark .st-abar{background:linear-gradient(135deg,#111527,#1b2140);border-color:#2b314b}
.st-root.dark .st-abody,.st-root.dark .st-tabs,.st-root.dark .st-savebar{background:#0d1120;border-color:#2b314b}
.st-root.dark .st-group,.st-root.dark .st-in,.st-root.dark .st-input,.st-root.dark .st-tool,.st-root.dark .st-mod,.st-root.dark .st-lnum,.st-root.dark .st-emb{background:#151a2e;border-color:#2b314b;color:#f4f6ff}
.st-root.dark .st-mini,.st-root.dark .st-login p,.st-root.dark .st-export p{color:#aeb5ce}
.st-theme-toggle{position:fixed;top:18px;right:18px;z-index:9997;display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:9px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.76);color:#141430;font-family:'Noto Sans Georgian',sans-serif;font-weight:800;font-size:12.5px;line-height:1;cursor:pointer;box-shadow:0 12px 28px -16px rgba(20,20,48,.55);backdrop-filter:blur(12px);transition:transform .18s,background .18s,box-shadow .18s,border-color .18s}
.st-theme-toggle:hover{transform:translateY(-1px);box-shadow:0 16px 34px -18px rgba(20,20,48,.7)}
.st-theme-toggle .ico{width:22px;height:22px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;font-size:13px}
.st-root.dark .st-theme-toggle{background:rgba(17,21,39,.78);color:#f4f6ff;border-color:rgba(124,108,255,.42);box-shadow:0 14px 34px -16px rgba(0,0,0,.8)}
.st-root.dark .st-theme-toggle .ico{background:linear-gradient(135deg,#fbbf24,#f97316);color:#111827}
@media(max-width:640px){.st-theme-toggle{top:12px;right:12px;min-height:38px;padding:8px 11px;font-size:0}.st-theme-toggle .ico{width:22px;height:22px;font-size:13px}}


/* === RESOURCE CARD SYSTEM — CONSOLIDATED === */
.st-lrow-stack{
  display:block;
  padding:12px 0;
}
.st-lesson-top{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}
.st-resource-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.st-resource-row{
  border:1px solid #2c2e52;
  border-radius:12px;
  padding:10px 12px;
  background:rgba(255,255,255,.025);
}
.st-resource-row .st-erow{
  align-items:flex-start;
}
.st-resource-row .st-mini{
  color:#dfe1ff;
  font-weight:800;
}
.st-resource-adds{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px;
}
.st-lesson-info{
  flex:1;
  min-width:220px;
  display:flex;
  flex-direction:column;
  gap:3px;
  color:#cfd2ff;
  font-size:12px;
  line-height:1.45;
}
.st-bank-label b{
  color:#fff;
  font-weight:800;
}
.st-status-note{
  color:#8f96c4;
  font-size:11.5px;
}
.st-root.dark .st-resource-row{
  border-color:#2b314b;
  background:rgba(255,255,255,.03);
}
.st-root.dark .st-resource-row .st-mini{
  color:#f4f6ff;
}

/* === LECTURE RESOURCE THUMBNAILS — SINGLE SOURCE OF TRUTH === */
.lec-bottom{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:end;
  gap:32px;
  min-height:100px;
  width:100%;
  max-width:1080px;
  margin:22px auto 0;
}
.lec-thumbs{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  gap:14px;
  margin:0;
}
.lec-thumbs.tight{
  gap:12px;
}
.lec-thumb,
.lec-thumbs.tight .lec-thumb{
  height:90px;
  aspect-ratio:auto;
  overflow:hidden;
  position:relative;
  padding:0;
  border:3px solid var(--line);
  border-radius:12px;
  background:#071833;
  cursor:pointer;
  font-size:0;
  transition:border-color .2s,box-shadow .2s,transform .2s;
}
.lec-thumb.doc,
.lec-thumbs.tight .lec-thumb.doc{
  flex:0 0 250px;
  width:250px;
}
.lec-thumb.self,
.lec-thumbs.tight .lec-thumb.self{
  flex:0 0 200px;
  width:200px;
}
.lec-thumb:hover{
  transform:translateY(-2px);
}
.lec-thumb.act{
  border-color:var(--lecbtn-stroke);
  box-shadow:0 10px 24px -10px rgba(79,70,229,.6);
}
.lec-thumb-cover{
  position:absolute;
  inset:0;
  overflow:hidden;
  background:#071833;
}
.lec-thumb-cover img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  display:block;
}
.lec-thumb-ph,
.lec-thumb-kind{
  display:none;
}
.st-root.dark .lec-thumb,
.st-root.dark .lec-thumb-cover{
  background:#050814;
}

/* === LESSON MERGE / RANGE UI === */
.st-lnum.range{
  width:auto;
  min-width:64px;
  padding-left:12px;
  padding-right:12px;
  white-space:nowrap;
}
.st-merge-slot{
  min-width:46px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.st-merge-plus{
  flex:0 0 auto;
  width:42px;
  height:42px;
  border-radius:12px;
  border:1px dashed #2c2e52;
  background:rgba(79,70,229,.12);
  color:#c9c8ff;
  font-family:'Noto Sans Georgian',sans-serif;
  font-size:20px;
  font-weight:900;
  line-height:1;
  cursor:pointer;
  transition:background .15s,transform .15s,border-color .15s;
}
.st-merge-plus:hover{
  background:rgba(19,184,119,.2);
  border-color:#13b877;
  color:#8be3b8;
  transform:translateY(-1px);
}
.st-lctrl .st-tool.green{
  background:linear-gradient(135deg,#13b877,#0e9a63);
  color:#fff;
  border:none;
}

/* === LECTURE COUNTER === */
.lec-count2{
  min-width:110px;
}
.lec-count2 b,
.lec-count2 i{
  white-space:nowrap;
}

@media(max-width:760px){
  .lec-bottom{
    grid-template-columns:1fr;
    gap:18px;
  }
  .lec-navgrp{
    grid-column:1;
    justify-self:center;
  }
  .lec-thumbs{
    justify-content:center;
  }
  .lec-thumb.doc,
  .lec-thumb.self,
  .lec-thumbs.tight .lec-thumb.doc,
  .lec-thumbs.tight .lec-thumb.self{
    flex:0 0 46%;
    width:46%;
    height:76px;
  }
}


/* ══ CONTROL BAR (logout + theme toggle) ══ */
.st-ctrlbar{position:fixed;top:18px;right:18px;z-index:9997;display:flex;gap:8px;align-items:center}
.st-ctrlbar .st-theme-toggle{position:static;top:auto;right:auto;z-index:auto}
.st-logout-btn{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:9px 15px;border-radius:999px;
  border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.76);color:#141430;
  font-family:'Noto Sans Georgian',sans-serif;font-weight:800;font-size:12.5px;line-height:1;cursor:pointer;
  box-shadow:0 12px 28px -16px rgba(20,20,48,.55);backdrop-filter:blur(12px);transition:transform .18s,background .18s}
.st-logout-btn:hover{transform:translateY(-1px)}
.st-logout-btn svg{width:16px;height:16px;flex:0 0 auto}
.st-root.dark .st-logout-btn{background:rgba(17,21,39,.78);color:#f4f6ff;border-color:rgba(124,108,255,.42);box-shadow:0 14px 34px -16px rgba(0,0,0,.8)}
@media(max-width:640px){
  .st-ctrlbar{top:12px;right:12px;gap:6px}
  .st-logout-btn{min-height:38px;padding:8px 11px}
  .st-logout-btn .lbl{display:none}
}

/* ══ MOBILE FIXES: lecture clearance + nav overflow ══ */
@media(max-width:760px){
  .st-sec.lec{padding-top:72px}
  .lec-navgrp{gap:14px;flex-wrap:wrap}
}
@media(max-width:480px){
  .lec-navgrp{gap:10px}
  .lec-pn{padding:9px 12px;font-size:12.5px}
  .lec-count2{min-width:auto}
  .lec-count2 b,.lec-count2 i{font-size:28px}
}

/* ══ FIX 1: NEXT STAGE — clear yellow, non-red text ══ */
.st-stab.stab-next,
.st-stab.act.stab-next{background:#fef08a!important;color:#854d0e!important;border-color:#facc15!important}
.st-stab.act.stab-next{box-shadow:0 8px 24px -8px rgba(250,204,21,.45)!important}
.mod-badge-next{background:#fef08a!important;color:#854d0e!important;border:1px solid #facc15!important}
.mod-v.mod-next{border-color:#facc15!important}
.st-status-next{background:rgba(234,179,8,.92)!important;color:#3f2d04!important}

/* ══ FIX 2: ADMIN ACTION BUTTONS — distinct colors ══ */
.st-tool[data-act="dirpreview"]{background:linear-gradient(135deg,#4f46e5,#3d34c7)!important;color:#fff!important;border:none!important}
.st-tool[data-act="dircopy"]{background:linear-gradient(135deg,#0ea5e9,#0284c7)!important;color:#fff!important;border:none!important}
.st-tool[data-act="dirdup"]{background:linear-gradient(135deg,#a855f7,#7c3aed)!important;color:#fff!important;border:none!important}
.st-tool[data-act="dirpreview"]:hover,
.st-tool[data-act="dircopy"]:hover,
.st-tool[data-act="dirdup"]:hover{filter:brightness(1.12)}

/* ══ FIX 3: BANK LECTURE — each lecture as a clear container ══ */
.st-lrow.st-lrow-stack{
  border:1px solid #3a3d63;
  border-radius:14px;
  background:rgba(255,255,255,.035);
  padding:14px 14px 12px;
  margin-bottom:16px;
  box-shadow:0 6px 18px -12px rgba(0,0,0,.6);
}
.st-lrow.st-lrow-stack:last-child{margin-bottom:0}
.st-lrow.st-lrow-stack .st-lesson-top{
  border-bottom:1px solid #2c2e52;
  padding-bottom:11px;
  margin-bottom:12px;
}

/* ══ LANDING — 4 CARDS ══ */
.lc-bg{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#f2f3f5;padding:30px 18px;box-sizing:border-box;font-family:'Noto Sans Georgian',sans-serif}
.lc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,260px));justify-content:center;gap:16px;width:100%;max-width:1100px;margin:0 auto}
.lc-card{background:#fff;border-radius:24px;padding:30px 24px 26px;box-shadow:0 12px 40px -18px rgba(17,24,39,.16);display:flex;flex-direction:column;align-items:center;text-align:center}
.lc-ico{width:74px;height:74px;border-radius:50%;background:#eef4ff;display:flex;align-items:center;justify-content:center;margin-bottom:16px}
.lc-ico.amber{background:#fef3c7}
.lc-ico svg{width:34px;height:34px}
.lc-title{font-family:'Mrgvlovani','Noto Sans Georgian',sans-serif;font-weight:900;font-size:21px;color:#111418;margin:0 0 6px;letter-spacing:-.3px}
.lc-sub{font-size:13px;color:#8a8f98;line-height:1.5;margin:0 0 20px}
.lc-foot{margin-top:auto;width:100%}
.lc-btn{display:inline-flex;align-items:center;justify-content:center;width:100%;box-sizing:border-box;text-decoration:none;border:none;cursor:pointer;background:#0067ff;color:#fff;font-size:15px;font-weight:700;padding:14px 16px;border-radius:999px;font-family:'Noto Sans Georgian',sans-serif;box-shadow:0 8px 22px rgba(0,103,255,.30);transition:filter .15s,transform .15s}
.lc-btn:hover{filter:brightness(1.07);transform:translateY(-1px)}
.lc-hint{font-size:12px;color:#aab0bb;margin-top:12px;line-height:1.4}
.lc-links{display:flex;gap:10px;width:100%}
.lc-link{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none;font-weight:700;font-size:13px;padding:12px 8px;border-radius:14px;border:1px solid;transition:transform .15s;font-family:'Noto Sans Georgian',sans-serif}
.lc-link:hover{transform:translateY(-1px)}
.lc-link svg{width:18px;height:18px;flex:0 0 auto}
.lc-link.dribbble{background:#fdeef4;color:#c0306a;border-color:#f6c2d8}
.lc-link.behance{background:#e9f0ff;color:#1769ff;border-color:#c2d6ff}
/* creathon modal */
.lc-modal{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;background:rgba(15,17,36,.55);backdrop-filter:blur(4px);padding:20px;font-family:'Noto Sans Georgian',sans-serif}
.lc-modal-card{background:#fff;border-radius:24px;padding:34px 28px;max-width:360px;text-align:center;box-shadow:0 24px 60px -20px rgba(0,0,0,.45)}
.lc-modal-ico{width:70px;height:70px;border-radius:50%;background:#fef3c7;display:flex;align-items:center;justify-content:center;margin:0 auto 16px}
.lc-modal-card h3{font-family:'Mrgvlovani','Noto Sans Georgian',sans-serif;font-size:22px;color:#111418;margin:0 0 8px}
.lc-modal-card p{font-size:14px;color:#8a8f98;margin:0 0 22px;line-height:1.55}
.lc-modal-card .lc-btn{width:auto;padding:12px 30px}

/* landing: stay one horizontal row, swipe on mobile */
@media(max-width:720px){
  .lc-grid{display:flex;flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding-bottom:8px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}
  .lc-card{flex:0 0 80%;scroll-snap-align:center}
}

/* landing card color variants + creathon hover tip */
.lc-ico.purple{background:#f1ebfe}
.lc-ico.pink{background:#fdeef4}
.lc-btn-purple{background:#7c3aed;box-shadow:0 8px 22px rgba(124,58,237,.30)}
.lc-btn-yellow{background:#facc15;color:#3f2d04;box-shadow:0 8px 22px rgba(250,204,21,.30)}
.lc-faded{opacity:.55;cursor:default}
.lc-faded:hover{transform:none;filter:none}
.lc-cr{position:relative}
.lc-tip{position:absolute;left:50%;bottom:calc(100% + 12px);transform:translateX(-50%);background:#111418;color:#fff;font-size:12px;font-weight:600;padding:9px 13px;border-radius:11px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .15s;box-shadow:0 10px 24px -10px rgba(0,0,0,.5);z-index:5}
.lc-tip::after{content:"";position:absolute;top:100%;left:50%;transform:translateX(-50%);border:6px solid transparent;border-top-color:#111418}
.lc-cr:hover .lc-tip{opacity:1}

/* === Admin delete buttons: red === */
.st-x,
.st-tool.danger{
  background:linear-gradient(135deg,#ef4444,#b91c1c)!important;
  border:1px solid rgba(248,113,113,.55)!important;
  color:#fff!important;
  box-shadow:0 8px 18px -12px rgba(239,68,68,.75);
}
.st-x:hover,
.st-tool.danger:hover{
  background:linear-gradient(135deg,#f87171,#dc2626)!important;
  color:#fff!important;
}
.st-x:disabled{
  background:#3a3c66!important;
  border:1px solid #2c2e52!important;
  color:#b9bce0!important;
  box-shadow:none!important;
  cursor:not-allowed!important;
}

/* === Admin schedule + cleaner lecture management UI === */
.st-lecture-manage{
  align-items:stretch;
  gap:12px;
  padding:12px 0;
}
.st-lecture-manage .st-lnum{
  align-self:flex-start;
  margin-top:3px;
}
.st-lecture-manage .st-lesson-info{
  flex:1 1 320px;
  min-width:260px;
  background:rgba(255,255,255,.025);
  border:1px solid #2c2e52;
  border-radius:12px;
  padding:10px 12px;
}
.st-schedule-row{
  display:grid;
  grid-template-columns:auto minmax(190px,260px) auto;
  align-items:center;
  gap:8px;
  margin-top:9px;
}
.st-schedule-row span{
  color:#cfd2ff;
  font-size:11.5px;
  font-weight:800;
  white-space:nowrap;
}
.st-date{
  width:100%;
  min-height:36px;
  padding:8px 10px;
  border-radius:9px;
  border:1px solid #2c2e52;
  background:#101127;
  color:#fff;
  font-family:'Noto Sans Georgian',sans-serif;
  font-size:12px;
  outline:none;
}
.st-date:focus{
  border-color:#4f46e5;
}
.st-lecture-tools{
  flex:0 0 250px;
  flex-direction:row!important;
  flex-wrap:wrap;
  align-content:flex-start;
  justify-content:flex-end;
  gap:6px;
}
.st-lecture-tools .st-toggle{
  min-width:110px;
}
.st-tool.danger,
.st-x,
.st-tool[data-act*="rm"],
.st-tool[data-act*="off"]{
  border-color:rgba(248,113,113,.35)!important;
  background:rgba(127,29,29,.25)!important;
  color:#fecaca!important;
}
.st-tool.danger:hover,
.st-x:hover,
.st-tool[data-act*="rm"]:hover,
.st-tool[data-act*="off"]:hover{
  background:rgba(220,38,38,.35)!important;
}
.st-mod{
  box-shadow:0 10px 28px -24px rgba(0,0,0,.65);
}
.st-modhead{
  padding:4px 0 8px;
  border-bottom:1px dashed rgba(255,255,255,.08);
}
@media(max-width:760px){
  .st-schedule-row{
    grid-template-columns:1fr;
  }
  .st-lecture-tools{
    flex:1 1 100%;
    justify-content:flex-start;
  }
}

/* === Builder accordion + real lecture merge === */
.st-acc{overflow:hidden}
.st-acc-head{cursor:pointer;align-items:center}
.st-acc-head .st-course-mini{margin-left:auto;margin-right:8px;color:#9aa0c7}
.st-acc.collapsed{background:rgba(255,255,255,.015)}
.st-acc.collapsed .st-modhead{margin-bottom:0}
.st-acc.open{border-color:#3c4270;background:rgba(255,255,255,.03)}
.st-acc-body{padding-top:6px}
.st-pill-row{display:flex;gap:6px;flex-wrap:wrap;margin:4px 0}
.st-pill{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;font-size:11px;font-weight:800;line-height:1;border:1px solid transparent}
.st-pill.blue{background:rgba(56,189,248,.12);border-color:rgba(56,189,248,.35);color:#7dd3fc}
.st-pill.purple{background:rgba(168,85,247,.14);border-color:rgba(168,85,247,.38);color:#d8b4fe}
.st-lrow.is-joined{background:rgba(168,85,247,.06);border-radius:12px;padding-left:8px;padding-right:8px;border-bottom:1px dashed rgba(168,85,247,.3)}
.st-schedule-row.muted{opacity:.72}
.st-lctrl.st-lecture-tools{min-width:128px}

/* === SELECTIVE MERGE + CLEAN ACCORDION PATCH === */
.st-merge-select{max-width:190px!important;font-size:11.5px!important;padding:8px 10px!important}
.st-acc.collapsed .st-acc-head{padding:10px 12px;margin-bottom:0}
.st-acc.open .st-acc-head{padding:10px 12px;border-bottom:1px solid #2c2e52;margin-bottom:8px}
.st-acc-head .name{pointer-events:none}
.st-acc-head .st-course-mini{pointer-events:none}
.st-lecture-tools{gap:6px;align-items:stretch}
.st-lecture-tools .st-in{flex:0 0 auto;min-width:160px}

/* === MERGED LESSONS CLEAN ADMIN VIEW === */
.st-merged-inside{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:8px}
.st-merged-inside b{font-size:11.5px;color:#cfd2ff;margin-right:2px}
.st-mini-x{border:0;background:rgba(255,255,255,.14);color:#fff;border-radius:999px;padding:2px 7px;margin-left:5px;font-family:inherit;font-size:10.5px;cursor:pointer}
.st-mini-x:hover{background:rgba(255,255,255,.25)}

/* === ADMIN FULL PAGE REDESIGN === */
.st-overlay.show{
  display:block!important;
  padding:0!important;
  background:#0b1020!important;
  backdrop-filter:none!important;
  overflow:hidden!important;
}
.st-admin.show{
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  max-width:none!important;
  height:100vh!important;
  margin:0!important;
  border-radius:0!important;
  border:0!important;
  box-shadow:none!important;
  background:#0b1020!important;
}
.st-admin .st-abar{
  flex:0 0 auto;
  padding:16px 24px!important;
  border-bottom:1px solid #202844!important;
  background:#0f172a!important;
}
.st-admin .st-abar h3{font-size:20px!important}
.st-abody{
  flex:1 1 auto!important;
  max-height:none!important;
  overflow:hidden!important;
  background:#0b1020!important;
}
.st-savebar{
  flex:0 0 auto;
  padding:14px 24px!important;
  border-top:1px solid #202844!important;
  background:#0f172a!important;
}
.st-admin-layout{
  height:100%;
  display:grid;
  grid-template-columns:240px minmax(0,1fr);
  gap:18px;
  padding:18px;
  box-sizing:border-box;
}
.st-admin-side,
.st-admin-right{
  min-height:0;
  background:#111827;
  border:1px solid #26314e;
  border-radius:20px;
  padding:14px;
  overflow:auto;
}
.st-admin-main{
  min-width:0;
  min-height:0;
  overflow:auto;
  background:#111827;
  border:1px solid #26314e;
  border-radius:20px;
}
.st-side-title,.st-panel-title{
  color:#93a4c7;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin:4px 6px 12px;
}
.st-side-item,.st-right-card{
  width:100%;
  border:1px solid #26314e;
  background:#0f172a;
  color:#dbeafe;
  border-radius:16px;
  padding:14px;
  cursor:pointer;
  font-family:'Noto Sans Georgian',sans-serif;
  text-align:left;
  display:flex;
  gap:12px;
  align-items:center;
  margin-bottom:10px;
  transition:.18s;
}
.st-side-item:hover,.st-right-card:hover{background:#17213a;border-color:#4f46e5;transform:translateY(-1px)}
.st-side-item.act,.st-right-card.act{background:linear-gradient(135deg,#312e81,#4f46e5);border-color:#8175ff;color:#fff}
.st-side-item .ico,.st-right-card span{
  width:38px;height:38px;border-radius:12px;background:rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;flex:0 0 auto;font-size:18px;
}
.st-side-item b,.st-right-card b{display:block;font-size:14px;line-height:1.2;color:inherit}
.st-side-item em,.st-right-card em{display:block;font-style:normal;font-size:11px;line-height:1.35;color:#aeb9d3;margin-top:3px}
.st-side-item.act em,.st-right-card.act em{color:rgba(255,255,255,.76)}
.st-admin-right{display:flex;flex-direction:column;gap:4px}
.st-right-card{display:block;text-align:center;padding:18px 12px}
.st-right-card span{margin:0 auto 10px}

/* directions admin page */
.st-dir-page{
  display:grid;
  grid-template-columns:minmax(260px,340px) minmax(0,1fr);
  gap:18px;
  padding:18px!important;
}
.st-dir-list,.st-dir-details{
  min-width:0;
}
.st-dir-card{
  width:100%;
  border:1px solid #26314e;
  background:#0f172a;
  color:#e5e7eb;
  border-radius:18px;
  padding:16px;
  margin-bottom:12px;
  cursor:pointer;
  text-align:left;
  display:flex;
  align-items:center;
  gap:14px;
  font-family:'Noto Sans Georgian',sans-serif;
  transition:.18s;
}
.st-dir-card:hover{border-color:#4f46e5;background:#17213a;transform:translateY(-1px)}
.st-dir-card.act{border-color:#818cf8;background:linear-gradient(135deg,#1e1b4b,#312e81)}
.st-dir-card.add{border-style:dashed;color:#b8c1da}
.st-dir-letter{width:46px;height:46px;border-radius:15px;background:rgba(79,70,229,.25);display:flex;align-items:center;justify-content:center;font-size:19px;font-weight:900;color:#fff;flex:0 0 auto}
.st-dir-info b{display:block;font-size:15px;color:#fff;line-height:1.25}
.st-dir-info em{display:block;font-style:normal;font-size:12px;color:#9ca8c3;margin-top:4px}
.st-check-grid{display:flex;gap:10px;flex-wrap:wrap}
.st-check-pill{display:inline-flex;align-items:center;gap:8px;border:1px solid #2c2e52;border-radius:999px;padding:9px 13px;background:rgba(255,255,255,.08);font-size:12.5px;font-weight:800;color:#dfe1ff}

/* builder readability */
.st-admin-main .st-pane{padding:18px 20px 22px!important}
.st-admin-main .st-subtabs,
.st-admin-main .st-tabs{position:static!important;background:#0f172a!important;border-bottom:1px solid #26314e!important;padding:12px 16px!important}
.st-admin-main .st-group,.st-admin-main .st-mod{background:#0f172a;border-color:#26314e;border-radius:18px}
.st-admin-main .st-modhead{padding:12px 14px;gap:10px}
.st-admin-main .st-acc.collapsed .st-modhead{margin-bottom:0}
.st-admin-main .st-acc-head{cursor:pointer}
.st-admin-main .st-acc-body{padding:0 14px 14px}
.st-admin-main .st-lrow{border-bottom:1px dashed #293552}
.st-lecture-manage{align-items:stretch!important;background:rgba(255,255,255,.025);border-radius:14px;margin:10px 0;padding:12px!important;border-bottom:0!important}
.st-lecture-tools{background:rgba(15,23,42,.8);border-radius:12px;padding:8px;min-width:210px}
.st-merge-select{min-width:190px!important}
.st-lnum{
  width:130px!important;
  min-width:130px!important;
  flex:0 0 130px!important;
  text-align:left!important;
  padding-left:12px!important;
}
.st-lesson-top .st-lnum{width:180px!important;min-width:180px!important;flex:0 0 180px!important}
.st-resource-row .st-erow{gap:12px}
.st-resource-row .st-emb{min-height:58px}
.st-tool.danger,.st-x{
  background:rgba(220,38,38,.12)!important;
  border-color:rgba(248,113,113,.42)!important;
  color:#fecaca!important;
}
.st-tool.danger:hover,.st-x:hover{background:rgba(220,38,38,.24)!important}
@media(max-width:1100px){
  .st-admin-layout{grid-template-columns:200px minmax(0,1fr);}
  .st-admin-right{grid-column:1 / -1;display:grid;grid-template-columns:repeat(2,1fr)}
  .st-dir-page{grid-template-columns:1fr}
}
@media(max-width:760px){
  .st-admin-layout{grid-template-columns:1fr;padding:10px}
  .st-admin-side{display:grid;grid-template-columns:1fr;gap:8px}
  .st-side-item{margin-bottom:0}
  .st-admin-right{grid-template-columns:1fr}
}

/* === FINAL DARK ADMIN UI — CLEAN + STATUS COLORS === */
.st-overlay.show{
  background:radial-gradient(circle at top left,rgba(79,70,229,.18),transparent 34%),#070b18!important;
}
.st-login{
  margin:8vh auto 0!important;
  background:#0f172a!important;
  border:1px solid #334155!important;
  box-shadow:0 40px 90px -35px rgba(0,0,0,.85)!important;
}
.st-admin.show{background:#070b18!important;color:#e5edff!important}
.st-admin .st-abar,
.st-savebar{background:#0b1224!important;border-color:#202a44!important}
.st-admin .st-abar h3{color:#f8fbff!important}
.st-admin-layout{grid-template-columns:250px minmax(0,1fr)!important;gap:20px!important;padding:20px!important;background:#070b18!important}
.st-admin-side,.st-admin-main,.st-admin-right{
  background:linear-gradient(180deg,#101827,#0c1222)!important;
  border:1px solid #263550!important;
  border-radius:24px!important;
  box-shadow:0 18px 45px -35px rgba(0,0,0,.85)!important;
}
.st-side-title,.st-panel-title{color:#8ea1c7!important;letter-spacing:.1em!important}
.st-side-item,.st-right-card,.st-dir-card{
  background:#111c31!important;
  border:1px solid #2a3a58!important;
  color:#dbeafe!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03)!important;
}
.st-side-item:hover,.st-right-card:hover,.st-dir-card:hover{
  background:#172642!important;
  border-color:#6366f1!important;
  transform:translateY(-1px)!important;
}
.st-side-item.act,.st-right-card.act,.st-dir-card.act{
  background:linear-gradient(135deg,#312e81,#4f46e5)!important;
  border-color:#8b8cff!important;
  color:#fff!important;
  box-shadow:0 16px 32px -24px rgba(99,102,241,.9)!important;
}
.st-side-item .ico,.st-right-card span,.st-dir-letter{
  background:rgba(99,102,241,.16)!important;
  border:1px solid rgba(129,140,248,.25)!important;
}
.st-side-item.act .ico,.st-right-card.act span,.st-dir-card.act .st-dir-letter{
  background:rgba(255,255,255,.14)!important;
  border-color:rgba(255,255,255,.18)!important;
}
.st-group,.st-mod,.st-resource-row,.st-admin-main .st-group,.st-admin-main .st-mod{
  background:#0f172a!important;
  border-color:#2a3a58!important;
}
.st-acc.open .st-acc-head{border-color:#2a3a58!important}
.st-in,.st-input,.st-emb,select.st-in,.st-lnum{
  background:#0b1224!important;
  border:1px solid #30405e!important;
  color:#f1f5ff!important;
}
.st-in:focus,.st-input:focus,.st-emb:focus,.st-lnum:focus{
  border-color:#818cf8!important;
  box-shadow:0 0 0 3px rgba(129,140,248,.14)!important;
}
.st-mini,.st-course-mini,.st-status-note{color:#aab8d4!important}
.st-course-mini b,.st-bank-label b{color:#f8fbff!important}

/* neutral buttons */
.st-tool,.st-tab,.st-subtab{
  background:#172033!important;
  border:1px solid #31415f!important;
  color:#dbeafe!important;
  box-shadow:none!important;
}
.st-tool:hover,.st-tab:hover,.st-subtab:hover{background:#20304c!important;border-color:#64748b!important}
.st-tool.ghost{background:transparent!important;color:#cbd5e1!important}

/* positive actions */
.st-tool.green,.st-add,
.st-tool[data-act="dirpreview"],
.st-tool[data-act="bld-allon"],.st-tool[data-act="sw-allon"],
.st-tool[data-act="blecadd"],.st-tool[data-act="bresadd"],
.st-tool[data-act="useradd"],.st-tool[data-act="bankadd"],
.st-tool[data-act="bld-stageadd"],.st-tool[data-act="diradd"]{
  background:linear-gradient(135deg,#10b981,#059669)!important;
  border-color:rgba(52,211,153,.45)!important;
  color:#fff!important;
}

/* medium / edit / merge actions */
.st-tool[data-act="dircopy"],
.st-tool[data-act="dirdup"],
.st-tool[data-act="bld-mergeinto"],
.st-tool[data-act="bld-grow"],
.st-tool[data-act="bld-shrink"],
.st-tool[data-act="bld-clearopen"],
.st-tool[data-act="sw-clearopen"],
.st-tool[data-act="bld-lecup"],
.st-tool[data-act="bld-lecdn"],
.st-tool[data-act="bld-subjup"],
.st-tool[data-act="bld-subjdn"],
#stBackup,#stImport{
  background:linear-gradient(135deg,#f59e0b,#d97706)!important;
  border-color:rgba(251,191,36,.45)!important;
  color:#111827!important;
}

/* danger actions */
.st-tool.danger,.st-x,.st-mini-x,
.st-tool[data-act="dirrm"],.st-tool[data-act="bankrm"],.st-tool[data-act="blecrm"],
.st-tool[data-act="bresrm"],.st-tool[data-act="bld-lecrm"],.st-tool[data-act="bld-subjrm"],
.st-tool[data-act="bld-stagerm"],.st-tool[data-act="bld-unjoin"],
.st-tool[data-act="userrm"],.st-tool[data-act="bld-alloff"],.st-tool[data-act="sw-alloff"]{
  background:linear-gradient(135deg,#ef4444,#b91c1c)!important;
  border-color:rgba(248,113,113,.5)!important;
  color:#fff!important;
}
.st-tool.green:hover,.st-add:hover,.st-tool.danger:hover,.st-x:hover,.st-mini-x:hover,
.st-tool[data-act]:hover,#stBackup:hover,#stImport:hover{filter:brightness(1.08)!important;transform:translateY(-1px)!important}

/* bigger numbering/name field in link base */
.st-lnum{width:170px!important;min-width:170px!important;flex:0 0 170px!important;text-align:left!important;padding-left:14px!important}
.st-lesson-top .st-lnum{width:220px!important;min-width:220px!important;flex:0 0 220px!important}

/* clean cards in builder */
.st-lecture-manage{background:#111c31!important;border:1px solid #263550!important;border-radius:18px!important}
.st-lecture-tools{background:#0b1224!important;border:1px solid #263550!important;border-radius:16px!important}
.st-subtab.act,.st-tab.act{background:linear-gradient(135deg,#312e81,#4f46e5)!important;color:#fff!important;border-color:#818cf8!important}

@media(max-width:1100px){.st-admin-layout{grid-template-columns:220px minmax(0,1fr)!important}.st-admin-right{grid-column:1 / -1!important}}
@media(max-width:760px){.st-admin-layout{grid-template-columns:1fr!important;padding:12px!important}.st-admin-side{display:grid!important}}

/* === LINKER / LIMITED ADMIN SCROLL FIX ===
   Keeps the full-page admin design, but allows the body area to scroll
   when a limited Linker user opens stages with many subjects/lectures. */
.st-overlay.show{
  overflow:hidden!important;
}
.st-admin.show{
  height:100vh!important;
  min-height:100vh!important;
  max-height:100vh!important;
}
.st-abody{
  flex:1 1 auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
  padding-bottom:22px!important;
}
.st-admin-layout{
  min-height:0!important;
  height:100%!important;
}
.st-admin-main,
.st-admin-side,
.st-admin-right{
  min-height:0!important;
  -webkit-overflow-scrolling:touch;
}
.st-abody > .st-tabs,
.st-admin-main .st-tabs{
  position:sticky!important;
  top:0!important;
  z-index:5!important;
}
.st-abody > .st-subtabs,
.st-admin-main .st-subtabs{
  position:sticky!important;
  top:48px!important;
  z-index:4!important;
}
.st-abody > .st-pane,
.st-admin-main .st-pane{
  padding-bottom:80px!important;
}

/* === COURSE GROUPING + BUILDER SPLIT LAYOUT PATCH === */
.st-dir-group{margin:12px 0 18px}
.st-dir-group-title{font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:#9fb2df;margin:0 0 8px;padding:0 4px}
.st-dir-card[draggable="true"]{cursor:grab}
.st-dir-card[draggable="true"]:active{cursor:grabbing;opacity:.78}
.st-builder-layout{display:grid;grid-template-columns:minmax(270px,340px) minmax(0,1fr);gap:18px;padding:16px;align-items:start}
.st-builder-left{position:sticky;top:12px;align-self:start;background:#0f1729;border:1px solid #273653;border-radius:20px;padding:16px;max-height:calc(100vh - 170px);overflow:auto;box-shadow:0 18px 50px -34px rgba(0,0,0,.8)}
.st-builder-work{min-width:0;background:#0f1729;border:1px solid #273653;border-radius:20px;overflow:hidden;box-shadow:0 18px 50px -34px rgba(0,0,0,.8)}
.st-builder-course-title{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;padding:18px 18px 8px;color:#fff}
.st-builder-course-title b{font-family:'Mrgvlovani','Noto Sans Georgian',sans-serif;font-size:20px;font-weight:900}
.st-builder-course-title em{font-style:normal;color:#9fb2df;font-size:13px;font-weight:700}
.st-stage-tabs-admin{position:static!important;top:auto!important;border-top:1px solid #273653;border-bottom:1px solid #273653;background:#121c31!important;padding:12px!important}
.st-builder-headcard{border:1px solid #273653;border-radius:16px;background:#111d32;padding:12px 14px;margin-bottom:14px}
.st-dir-page .st-dir-list{max-height:calc(100vh - 175px);overflow:auto;padding-right:4px}
.st-dir-page .st-dir-details{min-width:0}
.st-dir-page{gap:18px!important}
.st-tool.warn{background:linear-gradient(135deg,#f59e0b,#d97706)!important;border:none!important;color:#fff!important}
@media(max-width:980px){.st-builder-layout{grid-template-columns:1fr}.st-builder-left{position:relative;top:auto;max-height:none}.st-dir-page{grid-template-columns:1fr!important}}

/* === VISUAL COURSE GROUPS / BUILDER TREE === */
.st-group-create{
  display:flex;
  gap:8px;
  align-items:center;
  margin:10px 0 14px;
  padding:10px;
  border:1px solid rgba(124,108,255,.22);
  border-radius:14px;
  background:rgba(124,108,255,.08);
}
.st-group-create .st-in{min-width:0}
.st-dir-group{
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.025);
  border-radius:16px;
  padding:10px;
  margin:12px 0;
  transition:border-color .16s,background .16s;
}
.st-dir-group:hover{
  border-color:rgba(124,108,255,.32);
  background:rgba(124,108,255,.045);
}
.st-dir-group-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color:#f4f6ff;
  font-weight:900;
  font-size:13px;
  padding:4px 4px 10px;
  cursor:grab;
}
.st-dir-group-title:active{cursor:grabbing}
.st-group-tools{
  display:flex;
  align-items:center;
  gap:5px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.st-mini-btn{
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.06);
  color:#dfe1ff;
  border-radius:8px;
  padding:5px 8px;
  font-family:inherit;
  font-size:11px;
  font-weight:800;
  cursor:pointer;
}
.st-mini-btn:hover{background:rgba(124,108,255,.18);border-color:rgba(124,108,255,.36)}
.st-mini-btn.danger{color:#ffb3c2;border-color:rgba(255,90,120,.22);background:rgba(255,90,120,.08)}
.st-empty-drop{
  border:1px dashed rgba(154,160,181,.34);
  border-radius:12px;
  color:#9aa0b5;
  font-size:12px;
  font-weight:700;
  padding:12px;
  text-align:center;
  background:rgba(255,255,255,.025);
}
.st-dir-card[draggable="true"]{cursor:grab}
.st-dir-card[draggable="true"]:active{cursor:grabbing}
.st-builder-left .st-dir-group{
  margin:8px 0;
  padding:8px;
}
.st-builder-left .st-group-tools,
.st-builder-left .st-dir-group-title .st-mini-btn{
  display:none;
}
.st-builder-left .st-dir-group-title{
  padding-bottom:8px;
  font-size:12px;
  color:#cfd2ff;
}
@media(max-width:900px){
  .st-group-create{flex-direction:column;align-items:stretch}
  .st-dir-group-title{align-items:flex-start;flex-direction:column}
  .st-group-tools{justify-content:flex-start}
}

/* === Header quick-nav buttons (moved from right aside) === */
.st-header-nav{display:inline-flex;gap:8px;align-items:center;flex-wrap:wrap}
.st-hnav{
  display:inline-flex;align-items:center;gap:7px;
  border:1px solid #3a3f6b;background:#1a1f3d;color:#dbeafe;
  border-radius:12px;padding:9px 14px;cursor:pointer;
  font-family:'Noto Sans Georgian',sans-serif;font-size:13px;font-weight:700;
  white-space:nowrap;transition:.16s;
}
.st-hnav span{font-size:15px;line-height:1}
.st-hnav:hover{background:#222a52;border-color:#4f46e5;transform:translateY(-1px)}
.st-hnav.act{background:linear-gradient(135deg,#312e81,#4f46e5);border-color:#8175ff;color:#fff}
@media(max-width:760px){
  .st-hnav{padding:8px 11px;font-size:12px}
  .st-hnav em{display:none}
}
@media(max-width:540px){
  /* keep label but allow header tools to wrap onto their own line */
  .st-abar .tools{width:100%;justify-content:flex-start}
}

/* === Placement row v2: arrows in left number column, separate ready tag, compact schedule === */
.st-lecture-manage{flex-wrap:wrap}
.st-lec-left{
  flex:0 0 132px;
  display:flex;flex-direction:column;gap:8px;align-items:stretch;
}
.st-lec-left .st-lnum{
  width:100%!important;min-width:0!important;flex:0 0 auto!important;
  margin-top:0!important;text-align:center!important;padding:10px 6px!important;
  box-sizing:border-box;
}
.st-lec-move{display:flex;gap:6px}
.st-move-btn{
  flex:1 1 0;min-width:0;padding:7px 0!important;font-size:13px;line-height:1;
  display:flex;align-items:center;justify-content:center;
}
/* "რესურსი მზადაა" as its own container */
.st-ready-tag{
  display:inline-flex;align-items:center;gap:6px;
  font-size:12px;font-weight:800;line-height:1;
  padding:7px 11px;border-radius:10px;margin-bottom:6px;border:1px solid transparent;
}
.st-ready-tag.ok{background:rgba(19,184,119,.14);border-color:rgba(19,184,119,.4);color:#7ff0bd}
.st-ready-tag.ok::before{content:"✓"}
.st-ready-tag.empty{background:rgba(248,113,113,.12);border-color:rgba(248,113,113,.38);color:#fecaca}
.st-ready-tag.empty::before{content:"○"}
/* compact schedule container */
.st-schedule-row.compact{
  display:flex;flex-direction:column;align-items:flex-start;gap:6px;
  background:rgba(255,255,255,.03);border:1px solid #2c2e52;border-radius:10px;
  padding:8px 10px;margin-top:8px;max-width:330px;
}
.st-schedule-row.compact .st-sch-label{font-size:11px;font-weight:800;color:#cfd2ff}
.st-schedule-row.compact .st-sch-controls{display:flex;gap:6px;align-items:center;width:100%}
.st-schedule-row.compact .st-date{flex:1 1 auto;min-height:32px;font-size:11.5px;padding:6px 8px}
.st-schedule-row.compact .st-tool.danger{flex:0 0 auto;padding:6px 10px!important;line-height:1}
/* grouped +/- cover control */
.st-cover-ctrl{display:flex;gap:6px}
.st-cover-ctrl .st-tool{min-width:38px;text-align:center}
@media(max-width:640px){
  .st-lec-left{flex:0 0 100%;flex-direction:row;align-items:center;gap:10px}
  .st-lec-left .st-lnum{flex:1 1 auto!important}
  .st-lec-move{flex:0 0 auto}
  .st-move-btn{min-width:42px}
  .st-schedule-row.compact{max-width:none}
}
