/* ============================================================
   Simple Typing - main.css
   Premium shell, lesson views, navigation, and progress styles.
   ============================================================ */

.st-host-section {
  overflow: visible !important;
}

.st-host-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}

.st-host-card-title {
  display: none !important;
}

.st-host-card-text {
  padding: 0 !important;
  margin: 0 !important;
}

#st-plugin-wrap.st-breakout-shell {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 24px 0 56px;
  overflow: visible;
}

#st-plugin-wrap.st-breakout-shell::before,
#st-plugin-wrap.st-breakout-shell::after {
  content: none;
}

#st-plugin {
  --st-bg: #f7f9ff;
  --st-surface: rgba(255, 255, 255, 0.82);
  --st-surface-strong: #ffffff;
  --st-card: rgba(255, 255, 255, 0.94);
  --st-border: rgba(148, 163, 184, 0.24);
  --st-border-strong: rgba(37, 99, 235, 0.2);
  --st-accent: #2563eb;
  --st-accent2: #60a5fa;
  --st-accent-lt: rgba(37, 99, 235, 0.08);
  --st-gold: #d4a017;
  --st-green: #16a34a;
  --st-red: #dc2626;
  --st-purple: #7c3aed;
  --st-text: #10213d;
  --st-dim: #5f6f8f;
  --st-muted: #8c9bb7;
  --st-shadow: 0 24px 80px rgba(8, 20, 46, 0.18);
  --st-shadow-soft: 0 14px 42px rgba(37, 99, 235, 0.1);
  --st-sans: 'Aptos', 'Segoe UI Variable Text', 'Segoe UI', 'Helvetica Neue', system-ui, sans-serif;
  --st-display: 'Aptos Display', 'Segoe UI Variable Display', 'Segoe UI', 'Helvetica Neue', system-ui, sans-serif;
  --st-mono: 'Cascadia Mono', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
  --st-radius: 28px;
  --st-radius-md: 22px;
  --st-radius-sm: 14px;
  box-sizing: border-box;
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.14), transparent 24%),
    radial-gradient(circle at top right, rgba(212, 160, 23, 0.12), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 247, 255, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--st-radius);
  box-shadow: var(--st-shadow);
  color: var(--st-text);
  font-family: var(--st-sans);
  font-size: 16px;
  line-height: 1.7;
  overflow: hidden;
  isolation: isolate;
  backdrop-filter: blur(18px);
  -webkit-font-smoothing: antialiased;
}

#st-plugin::before,
#st-plugin::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

#st-plugin::before {
  inset: 0;
  background:
    linear-gradient(140deg, rgba(15, 23, 42, 0.03), transparent 36%),
    linear-gradient(180deg, rgba(37, 99, 235, 0.04), transparent 18%);
}

#st-plugin::after {
  top: 82px;
  right: -140px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.14), rgba(37, 99, 235, 0));
  filter: blur(6px);
}

#st-plugin *,
#st-plugin *::before,
#st-plugin *::after {
  box-sizing: border-box;
}

#st-plugin button,
#st-plugin input,
#st-plugin textarea,
#st-plugin select {
  font: inherit;
}

#st-plugin button {
  cursor: pointer;
}

#st-plugin h1,
#st-plugin h2,
#st-plugin h3,
#st-plugin p {
  margin: 0;
}

#st-plugin a {
  color: inherit;
}

#st-plugin ::-webkit-scrollbar {
  width: 6px;
}

#st-plugin ::-webkit-scrollbar-track {
  background: rgba(226, 232, 240, 0.45);
}

#st-plugin ::-webkit-scrollbar-thumb {
  background: rgba(96, 165, 250, 0.45);
  border-radius: 999px;
}

#st-plugin .st-logo:focus-visible,
#st-plugin .st-nav-btn:focus-visible,
#st-plugin .st-tab:focus-visible,
#st-plugin .st-option-btn:focus-visible,
#st-plugin .st-btn:focus-visible,
#st-plugin .st-back-btn:focus-visible,
#st-plugin .st-dropzone:focus-visible,
#st-plugin .st-lesson-card:focus-visible,
#st-plugin .st-remove-custom:focus-visible,
#st-plugin .st-cert-form-input:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.2);
  outline-offset: 2px;
}

#st-plugin .st-header {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 34px;
  background: linear-gradient(135deg, rgba(9, 22, 47, 0.96), rgba(21, 42, 86, 0.92));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

#st-plugin .st-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f8fbff;
  text-decoration: none;
}

#st-plugin .st-logo-badge {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #4f6df5, #2743c8);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 14px 28px rgba(79, 109, 245, 0.28);
}

#st-plugin .st-logo span:last-child {
  font-family: var(--st-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

#st-plugin .st-logo em {
  color: #9dc4ff;
  font-style: normal;
}

#st-plugin .st-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

#st-plugin .st-nav-btn {
  border: 0;
  padding: 10px 18px;
  border-radius: 999px;
  background: transparent;
  color: rgba(232, 240, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

#st-plugin .st-nav-btn:hover {
  color: #ffffff;
}

#st-plugin .st-nav-btn.st-active {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(6, 16, 39, 0.24);
}

#st-plugin .st-screen {
  position: relative;
  z-index: 1;
  display: none;
  width: 100%;
  flex: 1;
  padding: 40px 34px 56px;
}

#st-plugin .st-screen.st-active {
  display: block;
  animation: stFadeUp 0.24s ease both;
}

@keyframes stFadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#st-plugin .st-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 5vw, 58px);
  border-radius: var(--st-radius-md);
  background:
    radial-gradient(circle at top right, rgba(212, 160, 23, 0.22), transparent 24%),
    linear-gradient(135deg, #102552, #17346e 52%, #254896 100%);
  color: #f8fbff;
  box-shadow: 0 28px 60px rgba(17, 37, 79, 0.22);
}

#st-plugin .st-hero::after {
  content: '';
  position: absolute;
  inset: auto -5% -38% auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
}

#st-plugin .st-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--st-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(197, 215, 255, 0.9);
}

#st-plugin .st-hero h1 {
  max-width: 820px;
  font-family: var(--st-display);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.05em;
  margin-bottom: 18px;
}

#st-plugin .st-hero h1 em {
  color: #f4cc63;
  font-style: normal;
}

#st-plugin .st-hero p {
  max-width: 640px;
  font-size: 1.08rem;
  line-height: 1.8;
  color: rgba(232, 240, 255, 0.82);
}

#st-plugin .st-quick-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 24px;
  width: 100%;
}

#st-plugin .st-qs-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(37, 99, 235, 0.08);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

#st-plugin .st-qs-val {
  min-width: 64px;
  font-family: var(--st-mono);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--st-accent);
}

#st-plugin .st-qs-label {
  color: var(--st-dim);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#st-plugin .st-import-section,
#st-plugin #st-screen-progress .st-section-title,
#st-plugin .st-tabs,
#st-plugin .st-lesson-grid,
#st-plugin #st-progress-content {
  position: relative;
  z-index: 1;
}

#st-plugin .st-import-section {
  padding: 26px;
  margin-top: 32px;
  margin-bottom: 32px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 251, 255, 0.92));
  border: 1px solid rgba(37, 99, 235, 0.09);
  box-shadow: var(--st-shadow-soft);
}

#st-plugin .st-section-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  font-family: var(--st-display);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--st-text);
}

#st-plugin .st-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.24), rgba(37, 99, 235, 0));
}

#st-plugin .st-dropzone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 24px 24px 24px 22px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.07), rgba(255, 255, 255, 0.84)),
    rgba(255, 255, 255, 0.92);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  appearance: none;
}

#st-plugin .st-dropzone:hover,
#st-plugin .st-dropzone.st-drag-over {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.34);
  box-shadow: 0 18px 30px rgba(37, 99, 235, 0.12);
}

#st-plugin .st-dropzone-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  min-height: 74px;
  border-radius: 18px;
  background: linear-gradient(135deg, #1e40af, #2563eb);
  color: #ffffff;
  font-family: var(--st-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

#st-plugin .st-dropzone-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

#st-plugin .st-dropzone-copy strong {
  font-size: 1rem;
  color: var(--st-text);
}

#st-plugin .st-dropzone-copy span {
  font-size: 0.82rem;
  color: var(--st-dim);
}

#st-plugin #st-file-input {
  display: none;
}

#st-plugin .st-import-status {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 600;
}

#st-plugin .st-import-status.st-success {
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.2);
  color: var(--st-green);
}

#st-plugin .st-import-status.st-error {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.16);
  color: var(--st-red);
}

#st-plugin .st-import-status.st-info {
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.16);
  color: var(--st-accent);
}

#st-plugin .st-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

#st-plugin .st-tab {
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 999px;
  padding: 11px 18px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--st-dim);
  font-size: 0.86rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

#st-plugin .st-tab:hover {
  transform: translateY(-1px);
  color: var(--st-text);
  box-shadow: 0 12px 20px rgba(37, 99, 235, 0.08);
}

#st-plugin .st-tab.st-active {
  background: linear-gradient(135deg, #2563eb, #315ff4);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 18px 28px rgba(37, 99, 235, 0.24);
}

#st-plugin .st-lesson-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 0;
}

#st-plugin .st-lesson-card-wrap {
  position: relative;
}

#st-plugin .st-lesson-card {
  position: relative;
  width: 100%;
  min-height: 250px;
  padding: 24px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.94)),
    rgba(255, 255, 255, 0.92);
  box-shadow: var(--st-shadow-soft);
  overflow: hidden;
  text-align: left;
  appearance: none;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

#st-plugin .st-lesson-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--card-col, var(--st-accent)), rgba(255, 255, 255, 0));
}

#st-plugin .st-lesson-card::after {
  content: '';
  position: absolute;
  top: -24px;
  right: -24px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0));
  opacity: 0.9;
}

#st-plugin .st-lesson-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 26px 42px rgba(15, 23, 42, 0.14);
}

#st-plugin .st-lesson-card.st-done {
  border-color: rgba(22, 163, 74, 0.18);
}

#st-plugin .st-custom-card {
  padding-right: 96px;
}

#st-plugin .st-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

#st-plugin .st-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 52px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.05);
  font-size: 1.15rem;
  font-weight: 800;
}

#st-plugin .st-card-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.07);
  color: var(--st-dim);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#st-plugin .st-card-badge.st-badge-done {
  background: rgba(22, 163, 74, 0.1);
  border-color: rgba(22, 163, 74, 0.14);
  color: var(--st-green);
}

#st-plugin .st-card-badge.st-badge-custom {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.14);
  color: var(--st-purple);
}

#st-plugin .st-card-title {
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
  font-family: var(--st-display);
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--st-text);
}

#st-plugin .st-card-desc {
  position: relative;
  z-index: 1;
  min-height: 66px;
  color: var(--st-dim);
  font-size: 0.9rem;
  line-height: 1.7;
}

#st-plugin .st-card-meta {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--st-muted);
}

#st-plugin .st-card-score {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  font-family: var(--st-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--st-green);
}

#st-plugin .st-remove-custom {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  border: 1px solid rgba(220, 38, 38, 0.18);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(254, 242, 242, 0.96);
  color: var(--st-red);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

#st-plugin .st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 16px;
  border: 0;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

#st-plugin .st-btn:hover {
  transform: translateY(-1px);
}

#st-plugin .st-btn-primary {
  background: linear-gradient(135deg, #2563eb, #315ff4);
  color: #ffffff;
  box-shadow: 0 18px 28px rgba(37, 99, 235, 0.24);
}

#st-plugin .st-btn-primary:hover {
  box-shadow: 0 22px 34px rgba(37, 99, 235, 0.3);
}

#st-plugin .st-btn-secondary {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(37, 99, 235, 0.14);
  color: var(--st-text);
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.08);
}

#st-plugin .st-btn-secondary:hover {
  color: var(--st-accent);
}

#st-plugin .st-btn-ghost {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--st-dim);
}

#st-plugin .st-btn-ghost:hover {
  border-color: rgba(37, 99, 235, 0.2);
  color: var(--st-accent);
}

#st-plugin .st-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 16, 34, 0.56);
  backdrop-filter: blur(6px);
}

#st-plugin .st-modal-overlay.st-open {
  display: flex;
}

#st-plugin .st-settings-modal {
  width: min(100%, 520px);
  padding: 30px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 255, 0.96)),
    #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: 0 30px 60px rgba(8, 20, 46, 0.28);
}

#st-plugin .st-modal-head {
  margin-bottom: 24px;
}

#st-plugin .st-modal-head h3 {
  font-family: var(--st-display);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

#st-plugin .st-modal-head p {
  margin-top: 4px;
  color: var(--st-dim);
  font-size: 0.92rem;
}

#st-plugin .st-modal-section {
  margin-bottom: 18px;
}

#st-plugin .st-modal-label {
  margin-bottom: 10px;
  color: var(--st-dim);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#st-plugin .st-modal-help {
  color: var(--st-dim);
  font-size: 0.86rem;
  line-height: 1.7;
}

#st-plugin .st-option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#st-plugin .st-option-btn {
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 14px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--st-dim);
  font-size: 0.84rem;
  font-weight: 700;
}

#st-plugin .st-option-btn:hover {
  color: var(--st-text);
}

#st-plugin .st-option-btn.st-sel {
  background: rgba(37, 99, 235, 0.09);
  border-color: rgba(37, 99, 235, 0.2);
  color: var(--st-accent);
}

#st-plugin .st-option-btn.st-diff-easy.st-sel {
  background: rgba(22, 163, 74, 0.08);
  border-color: rgba(22, 163, 74, 0.18);
  color: var(--st-green);
}

#st-plugin .st-option-btn.st-diff-hard.st-sel {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.16);
  color: var(--st-red);
}

#st-plugin .st-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

#st-plugin .st-empty-state {
  padding: 56px 24px;
  border-radius: 24px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(248, 251, 255, 0.94));
  border: 1px solid rgba(37, 99, 235, 0.08);
  box-shadow: var(--st-shadow-soft);
}

#st-plugin .st-empty-icon {
  margin-bottom: 14px;
  font-family: var(--st-display);
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--st-accent);
}

#st-plugin .st-empty-state p + p {
  margin-top: 6px;
}

#st-plugin .st-progress-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

#st-plugin .st-prog-card {
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.92));
  border: 1px solid rgba(37, 99, 235, 0.08);
  box-shadow: var(--st-shadow-soft);
  text-align: center;
}

#st-plugin .st-prog-val {
  font-family: var(--st-mono);
  font-size: 2rem;
  font-weight: 800;
  color: var(--st-accent);
}

#st-plugin .st-prog-label {
  margin-top: 6px;
  color: var(--st-dim);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#st-plugin .st-table-wrap {
  overflow-x: auto;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(37, 99, 235, 0.08);
  box-shadow: var(--st-shadow-soft);
}

#st-plugin .st-progress-table {
  width: 100%;
  border-collapse: collapse;
}

#st-plugin .st-progress-table th {
  padding: 16px 18px;
  background: rgba(15, 23, 42, 0.03);
  color: var(--st-dim);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: left;
}

#st-plugin .st-progress-table td {
  padding: 16px 18px;
  border-top: 1px solid rgba(37, 99, 235, 0.08);
  color: var(--st-text);
  font-size: 0.9rem;
}

#st-plugin .st-progress-table tr:hover td {
  background: rgba(37, 99, 235, 0.03);
}

#st-plugin .st-level-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1080px) {
  #st-plugin .st-quick-stats,
  #st-plugin .st-progress-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  #st-plugin-wrap.st-breakout-shell {
    padding: 18px 12px 54px;
  }

  #st-plugin {
    border-radius: 22px;
  }

  #st-plugin .st-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 18px 20px;
  }

  #st-plugin .st-nav {
    width: 100%;
  }

  #st-plugin .st-nav-btn {
    flex: 1;
  }

  #st-plugin .st-screen {
    padding: 28px 18px 38px;
  }

  #st-plugin .st-hero {
    padding: 28px 22px 34px;
  }

  #st-plugin .st-dropzone {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  #st-plugin .st-quick-stats,
  #st-plugin .st-progress-summary {
    grid-template-columns: 1fr;
  }

  #st-plugin .st-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
  }

  #st-plugin .st-lesson-grid {
    grid-template-columns: 1fr;
  }

  #st-plugin .st-settings-modal {
    padding: 22px;
    border-radius: 22px;
  }

  #st-plugin .st-modal-actions {
    flex-direction: column;
  }
}
