/* IND ART Teacher Portal — flat, functional styling.
   Structure mirrors the CodeHero teacher portal (sidebar + topbar + view,
   plain HTML/CSS/JS, no build step); palette pulled from the mobile app's
   own theme (src/theme/colors.js) so the web portal reads as the same
   product as the app, not a different one. */

:root { color-scheme: light; }

:root {
  /* Core surfaces */
  --bg:      #F5F0E8;
  --cream:   #FAF5EB;
  --card:    #FFFFF0;
  --white:   #FFFEF8;
  --border:  #C8BE9A;
  --divider: #E0D8C8;

  /* Ink */
  --text:  #2A2018;
  --label: #6B5B45;
  --muted: #6B5E4A;
  --faint: #A89880;

  /* Brand */
  --brown:    #5C3D1E;
  --brown-dk: #3D2010;
  --brown-l:  #9A7E60;
  --header-bg:#3D3520;
  --nav-bg:   #2A2018;
  --gold:     #C9A84C;
  --gold-dk:  #A9832E;
  --amber:    #E8A832;
  --accent:   #D46820;

  /* Secondary palette */
  --teal:   #2A9090;
  --green:  #3A9B6A;
  --orange: #D46820;
  --blue:   #3A72B8;
  --purple: #7B5FC8;
  --red:    #D64545;
}

.brand-font { font-family: 'Baloo 2', 'Segoe UI', sans-serif; }

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

button, input, textarea, select { font-family: inherit; font-size: 14px; }
a { color: inherit; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 16px; border-radius: 8px; border: 1px solid transparent;
  font-weight: 700; font-size: 13.5px; cursor: pointer; background: var(--card);
}
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-gold { background: var(--gold); color: var(--brown-dk); }
.btn-gold:hover { filter: brightness(1.06); }
.btn-secondary { background: var(--card); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: var(--bg); }
.btn-danger { background: #fff; color: var(--red); border-color: #E9BEBE; }
.btn-danger:hover { background: #FBEDED; }
.btn-ghost { background: transparent; color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.18); }
.btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn-sm { padding: 5px 10px; font-size: 12.5px; }
.btn:disabled { opacity: .55; cursor: default; }
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ── Login ───────────────────────────────────────────── */
.login-screen {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 56px 20px 40px;
  background:
    radial-gradient(ellipse 900px 500px at 50% -8%, #4A3A22 0%, transparent 60%),
    linear-gradient(180deg, var(--header-bg) 0%, var(--nav-bg) 100%);
}
.login-hero { text-align: center; margin-bottom: 28px; }
.hero-logo { width: 92px; height: 92px; border-radius: 22px; background: var(--cream); padding: 12px; filter: drop-shadow(0 14px 26px rgba(0,0,0,.45)); }
.hero-title-text {
  margin: 14px 0 0; font-family: 'Baloo 2', sans-serif; font-weight: 700;
  font-size: 22px; color: #fff; letter-spacing: .01em;
}
.hero-title-text em { font-style: normal; color: var(--gold); }
.hero-tagline { margin: 6px 0 0; color: rgba(255,255,255,.7); font-style: italic; font-size: 14px; }

.login-box {
  width: 380px; max-width: 92vw;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 26px 24px;
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
  text-align: left;
}
.portal-tag {
  display: inline-block; margin-bottom: 18px; padding: 5px 12px;
  background: rgba(201,168,76,.16); color: var(--gold-dk);
  border: 1px solid rgba(201,168,76,.5); border-radius: 999px;
  font-family: 'Baloo 2', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.login-box label {
  display: block; font-size: 11.5px; font-weight: 700; color: var(--label);
  text-transform: uppercase; letter-spacing: .04em; margin: 16px 0 7px;
}
.login-box label:first-of-type { margin-top: 0; }
.input-pill {
  display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px;
  border-radius: 12px; background: #fff; border: 1.5px solid var(--border);
}
.input-pill .input-icon { display: flex; flex-shrink: 0; color: var(--label); opacity: .8; }
.login-box .input-pill input[type="email"],
.login-box .input-pill input[type="text"],
.login-box .input-pill input[type="password"] {
  flex: 1; width: auto; height: 100%; padding: 0; border: none; outline: none;
  background: transparent; color: var(--text); font-weight: 600; font-size: 14.5px;
}
.input-pill input::placeholder { color: var(--faint); font-weight: 500; }
.pw-toggle { display: flex; flex-shrink: 0; background: none; border: none; cursor: pointer; color: var(--label); opacity: .7; padding: 4px; }
.pw-toggle:hover { opacity: 1; }

.login-box .btn-hero {
  margin-top: 20px; height: 52px; width: 100%; border: none; border-radius: 12px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dk) 100%);
  color: var(--brown-dk); font-family: 'Baloo 2', sans-serif; font-weight: 700;
  font-size: 15px; letter-spacing: .04em;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  box-shadow: 0 12px 24px rgba(201,168,76,.35); cursor: pointer;
}
.login-box .btn-hero:hover { filter: brightness(1.05); }
.login-box .btn-hero:disabled { opacity: .6; cursor: default; }

.login-hint { margin: 18px 0 0; text-align: center; color: var(--muted); opacity: .8; font-size: 11.5px; }
.login-footer { margin-top: 28px; color: rgba(255,255,255,.5); font-size: 12px; }
.form-error {
  margin-top: 12px; padding: 9px 11px; background: rgba(214,69,69,.1); color: #A32E2E;
  border: 1px solid rgba(214,69,69,.35); border-radius: 8px; font-size: 12.5px;
}

/* ── App shell ───────────────────────────────────────── */
.app { display: flex; min-height: 100vh; }

.sidebar {
  width: 250px; flex-shrink: 0;
  background: linear-gradient(180deg, var(--header-bg) 0%, var(--nav-bg) 100%);
  color: rgba(255,255,255,.75);
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh; z-index: 20;
  border-right: 1px solid rgba(255,255,255,.06);
}
.sidebar-brand {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 16px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.brand-mark {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px;
  background: var(--cream); padding: 6px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--gold);
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.brand-text { font-family: 'Baloo 2', sans-serif; color: #fff; font-weight: 700; font-size: 16px; line-height: 1; }
.brand-text em { font-style: normal; color: var(--gold); }
.brand-sub { font-size: 9.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--gold); opacity: .85; }

.sidebar-nav { flex: 1; padding: 12px 10px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.nav-item {
  display: flex; align-items: center; gap: 12px;
  background: transparent; border: none; border-left: 3px solid transparent;
  color: rgba(255,255,255,.7); padding: 10px 12px 10px 11px; border-radius: 8px;
  cursor: pointer; font-size: 13.5px; font-weight: 500; text-decoration: none;
  transition: background .12s ease, color .12s ease;
}
.nav-icon { display: flex; align-items: center; justify-content: center; width: 18px; height: 18px; flex-shrink: 0; opacity: .85; }
.nav-icon svg { width: 100%; height: 100%; display: block; }
.nav-item:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav-item.active {
  background: linear-gradient(90deg, rgba(201,168,76,.18) 0%, rgba(201,168,76,.04) 100%);
  color: #fff; font-weight: 700; border-left-color: var(--gold);
}
.nav-item.active .nav-icon { opacity: 1; color: var(--gold); }
.sidebar-footer { padding: 12px; border-top: 1px solid rgba(255,255,255,.08); }
.sidebar-user { color: #fff; font-size: 12.5px; font-weight: 600; margin-bottom: 8px; padding: 0 2px; }
.sidebar-user span { display: block; color: rgba(255,255,255,.55); font-weight: 400; font-size: 11.5px; margin-top: 1px; }

.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 34px; height: 34px; flex-shrink: 0; border: 1px solid var(--border);
  border-radius: 8px; background: var(--card); color: var(--text); cursor: pointer; margin-right: 8px;
}
.menu-toggle svg { width: 18px; height: 18px; }
.sidebar-scrim { display: none; }

.main { flex: 1; min-width: 0; }
.topbar {
  display: flex; align-items: center; gap: 10px;
  background: var(--cream); border-bottom: 1px solid var(--border);
  padding: 14px 26px; position: sticky; top: 0; z-index: 5;
}
.topbar h1 { margin: 0; font-size: 17px; font-family: 'Baloo 2', sans-serif; color: var(--brown-dk); }
.topbar-heading { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.view { padding: 24px 26px 60px; max-width: 1180px; margin: 0 auto; width: 100%; }

@media (max-width: 900px) {
  .sidebar { position: fixed; left: 0; top: 0; transform: translateX(-100%); transition: transform .2s ease; box-shadow: 0 0 40px rgba(0,0,0,.5); }
  .app.sidebar-open .sidebar { transform: translateX(0); }
  .menu-toggle { display: inline-flex; }
  .app.sidebar-open .sidebar-scrim { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 15; }
  .topbar { padding: 12px 14px; }
  .topbar h1 { font-size: 15px; }
  .view { padding: 16px 14px 40px; }
}

/* ── Generic layout bits ─────────────────────────────── */
.grid { display: grid; gap: 14px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-4, .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }

.section-title {
  font-size: 11.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  color: var(--label); margin: 26px 0 12px;
}
.section-title:first-child { margin-top: 0; }

.toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar-title {
  display: flex; align-items: center; gap: 9px; margin: 0;
  font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 18px; color: var(--brown-dk);
}
.toolbar-title svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--gold); }
.toolbar-spacer { flex: 1; }

input[type=text], input[type=number], input[type=email], input[type=password],
input[type=date], textarea, select {
  width: 100%; padding: 9px 11px; border: 1px solid var(--border); border-radius: 8px;
  background: #fff; color: var(--text);
}
textarea { resize: vertical; min-height: 70px; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--blue); outline-offset: -1px; }

.field { margin-bottom: 13px; }
.field label { display: block; font-size: 12px; font-weight: 700; color: var(--label); margin-bottom: 5px; }
.field .req { color: var(--red); }
.field-row { display: flex; gap: 10px; }
.field-row .field { flex: 1; }
.help-text { font-size: 11.5px; color: var(--muted); margin-top: 4px; }

/* Generic row card — reused for lessons, quizzes, assignments, activities,
   students, resources, submissions, everything list-shaped. */
.row-card {
  display: flex; align-items: flex-start; gap: 13px;
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 14px; margin-bottom: 10px;
}
.row-badge {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--row-accent, var(--blue)) 16%, transparent);
  color: var(--row-accent, var(--blue));
  font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 14px;
}
.row-badge svg { width: 20px; height: 20px; }
.row-body { flex: 1; min-width: 0; }
.row-title { font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.35; }
.row-sub { font-size: 12px; color: var(--muted); margin-top: 3px; }
.row-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 7px; }
.row-actions { display: flex; gap: 6px; flex-shrink: 0; }
.row-action-btn {
  width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; border: 1px solid var(--border); background: #fff; color: var(--label); cursor: pointer;
}
.row-action-btn svg { width: 15px; height: 15px; }
.row-action-btn:hover { filter: brightness(.97); }
.row-action-btn.danger { color: var(--red); border-color: #E9BEBE; background: #FBEDED; }
.row-action-btn.gold { color: var(--gold-dk); border-color: rgba(201,168,76,.5); background: rgba(201,168,76,.12); }

.badge-pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: 999px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase;
  border: 1px solid transparent;
}
.pill-blue   { background: rgba(58,114,184,.13); color: var(--blue); border-color: rgba(58,114,184,.35); }
.pill-purple { background: rgba(123,95,197,.14); color: var(--purple); border-color: rgba(123,95,197,.35); }
.pill-teal   { background: rgba(42,144,144,.14); color: var(--teal); border-color: rgba(42,144,144,.35); }
.pill-green  { background: rgba(58,155,106,.14); color: var(--green); border-color: rgba(58,155,106,.35); }
.pill-orange { background: rgba(212,104,32,.14); color: var(--orange); border-color: rgba(212,104,32,.35); }
.pill-gold   { background: rgba(201,168,76,.16); color: var(--gold-dk); border-color: rgba(201,168,76,.45); }
.pill-red    { background: rgba(214,69,69,.13); color: var(--red); border-color: rgba(214,69,69,.35); }
.pill-muted  { background: var(--bg); color: var(--muted); border-color: var(--border); }

.empty-state {
  text-align: center; padding: 50px 20px;
  background: var(--card); border: 1px solid var(--border); border-radius: 12px; color: var(--muted);
}
.empty-icon {
  width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 50%;
  border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--label);
}
.empty-icon svg { width: 22px; height: 22px; }
.empty-title { font-weight: 700; color: var(--text); margin-bottom: 3px; font-size: 14px; }
.empty-sub { font-size: 12.5px; opacity: .85; }

.table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.table th, .table td { text-align: left; padding: 10px 12px; font-size: 13px; border-bottom: 1px solid var(--divider); }
.table th { background: var(--cream); font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--label); }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--cream); }
.table-wrap { overflow-x: auto; border-radius: 10px; }

/* ── Modal ───────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(42,32,24,.5);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 16px; overflow-y: auto; z-index: 50;
}
.modal { background: var(--card); border-radius: 14px; width: 100%; max-width: 560px; border: 1px solid var(--border); }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.modal-header h2 { margin: 0; font-size: 15.5px; font-family: 'Baloo 2', sans-serif; color: var(--brown-dk); }
.modal-close { background: none; border: none; cursor: pointer; color: var(--label); display: flex; }
.modal-close svg { width: 18px; height: 18px; }
.modal-body { padding: 18px 20px; max-height: 65vh; overflow-y: auto; }
.modal-footer { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 20px; border-top: 1px solid var(--border); }

.segment { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.segment button {
  padding: 8px 15px; border-radius: 9px; border: 1.5px solid var(--border);
  background: var(--card); color: var(--label); font-weight: 700; font-size: 12.5px; cursor: pointer;
}
.segment button.active { border-color: var(--gold); color: var(--gold-dk); background: rgba(201,168,76,.14); }

.loading { text-align: center; padding: 60px 0; color: var(--muted); font-size: 13px; }

.toast {
  position: fixed; bottom: 22px; right: 22px; background: var(--brown-dk); color: #fff;
  padding: 11px 18px; border-radius: 9px; font-size: 13px; font-weight: 600; z-index: 100;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.toast.error { background: var(--red); }
.toast.success { background: var(--green); }

.avatar-circle {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--header-bg) 0%, var(--nav-bg) 100%);
  border: 1.5px solid var(--gold); color: var(--gold);
  font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 14px;
}

.mini-stats { display: flex; gap: 18px; margin-bottom: 16px; flex-wrap: wrap; }
.mini-stat { font-size: 12.5px; color: var(--muted); }
.mini-stat b { color: var(--text); font-size: 14px; }

/* Stat tiles (dashboard + summary rows) */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-tile {
  display: flex; align-items: center; gap: 13px;
  background: var(--card); border: 1px solid var(--border);
  border-left: 3px solid var(--tile-accent, var(--gold));
  border-radius: 12px; padding: 15px 14px;
}
.stat-icon {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--tile-accent, var(--gold)) 18%, transparent);
  color: var(--tile-accent, var(--gold));
}
.stat-icon svg { width: 20px; height: 20px; }
.stat-num { font-size: 21px; font-weight: 800; color: var(--brown-dk); line-height: 1.1; }
.stat-label { font-size: 12px; color: var(--muted); margin-top: 1px; }
.stat-note { font-size: 10.5px; color: var(--gold-dk); font-weight: 700; margin-top: 3px; }

/* Quick actions grid (dashboard) */
.action-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .action-grid { grid-template-columns: repeat(2, 1fr); } }
.action-tile {
  display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center;
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 20px 14px; color: var(--text); text-decoration: none;
  transition: transform .12s ease, border-color .12s ease;
}
.action-tile:hover { border-color: var(--gold); transform: translateY(-1px); }
.action-icon {
  width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--tile-accent, var(--gold)) 18%, transparent); color: var(--tile-accent, var(--gold));
}
.action-icon svg { width: 22px; height: 22px; }
.action-label { font-size: 12.5px; font-weight: 700; }

/* Welcome card */
.welcome-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 18px 20px; position: relative;
}
.welcome-avatar {
  width: 58px; height: 58px; flex-shrink: 0; border-radius: 50%;
  border: 2px solid var(--gold);
  background: linear-gradient(160deg, var(--header-bg) 0%, var(--nav-bg) 100%);
  display: flex; align-items: center; justify-content: center; color: var(--gold);
  font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 20px;
}
.welcome-copy { min-width: 0; }
.welcome-hi { margin: 0; font-size: 12.5px; color: var(--muted); }
.welcome-name { margin: 2px 0 0; font-size: 18px; font-weight: 800; color: var(--brown-dk); }
.welcome-side { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--cream); border: 1px solid var(--border); color: var(--label); text-decoration: none; }
.welcome-side svg { width: 17px; height: 17px; }

/* Role pill / icon button (topbar) */
.role-pill {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px 3px 8px;
  background: rgba(201,168,76,.16); color: var(--gold-dk);
  border: 1px solid rgba(201,168,76,.5); border-radius: 999px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%;
  border: 1px solid var(--border); background: var(--card); color: var(--label); cursor: pointer;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: var(--bg); color: var(--text); }
.topbar-spacer { margin-left: auto; }

.two-col { display: grid; grid-template-columns: 260px 1fr; gap: 18px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.side-list { display: flex; flex-direction: column; gap: 8px; }
.side-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1.5px solid var(--border); border-radius: 11px;
  padding: 11px 12px; cursor: pointer;
}
.side-item:hover { border-color: var(--gold); }
.side-item.active { border-color: var(--gold); background: rgba(201,168,76,.1); }
.side-num {
  width: 28px; height: 28px; flex-shrink: 0; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); color: var(--label);
  font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 11.5px;
}
.side-item.active .side-num { background: var(--gold); color: #fff; }
.side-copy { min-width: 0; }
.side-title { font-size: 12.5px; font-weight: 700; color: var(--text); line-height: 1.3; }
.side-sub { font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }

.progress-bar-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.progress-bar-track { flex: 1; height: 6px; border-radius: 4px; background: var(--divider); overflow: hidden; }
.progress-bar-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--teal) 0%, #1f6b6b 100%); }
.progress-bar-frac { font-size: 11.5px; color: var(--muted); flex-shrink: 0; }
