/* ═══════════════════════════════════════════════════════════
   Kingston Station — Design System
   Theme: Warm editorial dark
   Fonts: Bricolage Grotesque (display) · Literata (reading)
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,300..800&family=Literata:ital,opsz,wght@0,7..72,300..700;1,7..72,300..700&display=swap');

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  /* Backgrounds — tinted warm toward hue 48 (espresso) */
  --bg:          oklch(0.13 0.014 48);  /* page floor */
  --bg-surface:  oklch(0.18 0.012 48);  /* cards, nav */
  --bg-raised:   oklch(0.23 0.010 48);  /* modals, dropdowns */
  --bg-hover:    oklch(0.21 0.011 48);

  /* Borders */
  --border:      oklch(0.30 0.009 48);
  --border-dim:  oklch(0.23 0.007 48);

  /* Text — warm off-white family */
  --t1: oklch(0.93 0.010 72);   /* primary */
  --t2: oklch(0.64 0.009 72);   /* secondary */
  --t3: oklch(0.43 0.006 72);   /* muted */

  /* Accent — warm amber */
  --a:      oklch(0.76 0.13 72);
  --a-hi:   oklch(0.82 0.15 72);
  --a-lo:   oklch(0.76 0.13 72 / 0.13);
  --a-text: oklch(0.18 0.012 48);  /* text on filled accent button */

  /* Semantic */
  --ok:     oklch(0.70 0.11 148);
  --ok-lo:  oklch(0.70 0.11 148 / 0.13);
  --err:    oklch(0.62 0.16 22);
  --err-lo: oklch(0.62 0.16 22 / 0.13);

  /* Typography */
  --fd: 'Bricolage Grotesque', 'Helvetica Neue', sans-serif;
  --fb: 'Literata', Georgia, serif;

  /* Spacing (4pt scale) */
  --s1:  4px;  --s2:  8px;  --s3:  12px; --s4:  16px;
  --s6:  24px; --s8:  32px; --s12: 48px; --s16: 64px;

  /* Radius */
  --r1: 6px;  --r2: 10px;  --r3: 16px;  --r9: 9999px;

  --ease: cubic-bezier(0.25, 0, 0, 1);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--fd);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--t1);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
button { font-family: var(--fd); cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }

/* ── Navigation ─────────────────────────────────────────────── */
.ks-nav {
  height: 58px;
  padding: 0 var(--s8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-dim);
  position: sticky;
  top: 0;
  z-index: 100;
}

.ks-brand {
  font-family: var(--fd);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--t1);
  letter-spacing: -0.025em;
  text-decoration: none;
}
.ks-brand em {
  color: var(--a);
  font-style: normal;
}

.ks-nav-right {
  display: flex;
  align-items: center;
  gap: var(--s4);
}
.ks-nav-name {
  font-size: 0.875rem;
  color: var(--t2);
}
.ks-nav-link {
  font-size: 0.875rem;
  color: var(--t2);
  text-decoration: none;
  transition: color 0.15s;
}
.ks-nav-link:hover { color: var(--t1); }

.ks-admin-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--a);
  background: var(--a-lo);
  padding: 3px 10px;
  border-radius: var(--r9);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.15s;
}
.ks-admin-tag:hover { background: oklch(0.76 0.13 72 / 0.22); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 8px var(--s4);
  border-radius: var(--r1);
  font-family: var(--fd);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.15s var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--a);
  color: var(--a-text);
}
.btn-primary:hover { background: var(--a-hi); }
.btn-primary:disabled { opacity: 0.45; cursor: not-allowed; }

.btn-ghost {
  background: transparent;
  color: var(--t2);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--t1); background: var(--bg-hover); }

.btn-danger {
  background: var(--err-lo);
  color: var(--err);
  border: 1px solid oklch(0.62 0.16 22 / 0.22);
}
.btn-danger:hover { background: oklch(0.62 0.16 22 / 0.22); }

.btn-sm { padding: 4px 10px; font-size: 0.75rem; }
.btn-full { width: 100%; justify-content: center; padding: 11px var(--s4); font-size: 1rem; }

/* ── Form ────────────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  margin-bottom: var(--s4);
}
.ks-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--t3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ks-input {
  width: 100%;
  padding: 10px var(--s3);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r1);
  font-family: var(--fd);
  font-size: 1rem;
  color: var(--t1);
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
}
.ks-input::placeholder { color: var(--t3); }
.ks-input:focus { border-color: var(--a); }

textarea.ks-input {
  resize: vertical;
  min-height: 80px;
  line-height: 1.6;
  font-size: 0.9rem;
}

select.ks-input option { background: var(--bg-raised); }

.ks-check-label {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.875rem;
  color: var(--t2);
  cursor: pointer;
}
.ks-check-label input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--a);
}
.ks-input-hint {
  font-size: 0.75rem;
  color: var(--t3);
  margin-top: -6px;
}

/* ── Progress ─────────────────────────────────────────────────── */
.ks-track {
  height: 3px;
  background: var(--bg-raised);
  border-radius: var(--r9);
  overflow: hidden;
}
.ks-fill {
  height: 100%;
  background: var(--a);
  border-radius: var(--r9);
  transition: width 0.5s var(--ease);
}
.ks-progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--t3);
  margin-bottom: 6px;
}

/* ── Badges ───────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--r9);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge-ok    { background: var(--ok-lo);   color: var(--ok); }
.badge-err   { background: var(--err-lo);  color: var(--err); }
.badge-a     { background: var(--a-lo);    color: var(--a); }
.badge-dim   { background: var(--bg-raised); color: var(--t3); }
.badge-draft { background: oklch(0.76 0.13 72 / 0.09); color: oklch(0.76 0.13 72 / 0.7); }

/* ── Status banner ────────────────────────────────────────────── */
.ks-status {
  padding: var(--s3) var(--s4);
  border-radius: var(--r2);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--s8);
}
.ks-status.active   { background: var(--ok-lo);  color: var(--ok); }
.ks-status.inactive { background: var(--err-lo); color: var(--err); }

/* ── Skeleton loader ──────────────────────────────────────────── */
.skel {
  background: var(--bg-raised);
  border-radius: var(--r1);
  animation: ks-pulse 1.6s ease-in-out infinite;
}
@keyframes ks-pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

/* ── Fade-in ──────────────────────────────────────────────────── */
@keyframes ks-fadein {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fadein { animation: ks-fadein 0.32s var(--ease) both; }

/* ── Tables ───────────────────────────────────────────────────── */
.ks-table-wrap {
  background: var(--bg-surface);
  border-radius: var(--r2);
  border: 1px solid var(--border-dim);
  overflow: hidden;
}
table  { width: 100%; border-collapse: collapse; }
th {
  text-align: left;
  padding: 9px var(--s4);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--t3);
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border-dim);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
td {
  padding: 11px var(--s4);
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border-dim);
  vertical-align: middle;
  color: var(--t1);
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg-hover); }

/* ── Modals ───────────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: oklch(0.07 0.01 48 / 0.82);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: var(--s6);
  backdrop-filter: blur(6px);
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: var(--s8);
  width: 100%;
  max-width: 540px;
  max-height: 88vh;
  overflow-y: auto;
  animation: ks-fadein 0.22s var(--ease) both;
}
.modal h3 {
  font-family: var(--fd);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--t1);
  margin-bottom: var(--s6);
}
.modal label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--t3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--s2);
}
.modal input[type="text"],
.modal input[type="url"],
.modal input[type="email"],
.modal textarea,
.modal select {
  width: 100%;
  padding: 10px var(--s3);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r1);
  font-family: var(--fd);
  font-size: 0.9rem;
  color: var(--t1);
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
  margin-bottom: var(--s4);
}
.modal input:focus,
.modal textarea:focus,
.modal select:focus { border-color: var(--a); }
.modal textarea { resize: vertical; min-height: 80px; line-height: 1.55; }
.modal input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--a); margin-bottom: 0; }
.modal select option { background: var(--bg-raised); }

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: var(--s3);
  margin-top: var(--s6);
  padding-top: var(--s6);
  border-top: 1px solid var(--border-dim);
}

/* ── Admin layout ─────────────────────────────────────────────── */
.ks-layout { display: flex; min-height: calc(100vh - 58px); }

.ks-aside {
  width: 205px;
  background: var(--bg-surface);
  border-right: 1px solid var(--border-dim);
  padding: var(--s6) 0;
  flex-shrink: 0;
}
.aside-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--t3);
  padding: 0 var(--s4) var(--s2);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-top: var(--s4);
}
.aside-link {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: 9px var(--s4);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--t2);
  cursor: pointer;
  transition: all 0.13s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: var(--fd);
}
.aside-link:hover { color: var(--t1); background: var(--bg-hover); }
.aside-link.active { color: var(--a); background: var(--a-lo); }

.ks-main { flex: 1; padding: var(--s8); overflow-x: hidden; }

.ks-section        { display: none; }
.ks-section.active { display: block; }

.section-hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--s6);
}
.section-hd h2 {
  font-family: var(--fd);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--t1);
}

/* ── Login page ───────────────────────────────────────────────── */
.ks-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s6);
}
.ks-login-box {
  width: 100%;
  max-width: 396px;
}
.ks-login-brand {
  text-align: center;
  margin-bottom: var(--s8);
}
.ks-login-brand h1 {
  font-family: var(--fd);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--t1);
  letter-spacing: -0.03em;
}
.ks-login-brand h1 span { color: var(--a); }
.ks-login-brand p {
  font-size: 0.875rem;
  color: var(--t2);
  margin-top: var(--s2);
}

.ks-login-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-dim);
  border-radius: var(--r3);
  padding: var(--s8);
}

.tab-row {
  display: flex;
  gap: 3px;
  background: var(--bg-raised);
  border-radius: var(--r1);
  padding: 3px;
  margin-bottom: var(--s6);
}
.tab {
  flex: 1;
  text-align: center;
  padding: 8px;
  font-family: var(--fd);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--t3);
  cursor: pointer;
  border-radius: calc(var(--r1) - 2px);
  border: none;
  background: none;
  transition: all 0.15s;
}
.tab.active {
  background: var(--bg-hover);
  color: var(--t1);
}
.panel { display: none; }
.panel.active { display: block; }

.ks-forgot {
  text-align: right;
  margin-top: -10px;
  margin-bottom: var(--s4);
}
.ks-forgot a {
  font-size: 0.78rem;
  color: var(--t3);
  text-decoration: none;
  transition: color 0.15s;
}
.ks-forgot a:hover { color: var(--a); }

.ks-login-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--t3);
  margin-top: var(--s4);
}

/* ── Dashboard page ───────────────────────────────────────────── */
.ks-wrap { max-width: 1100px; margin: 0 auto; padding: var(--s8) var(--s6); }
.ks-page-hd { margin-bottom: var(--s8); }
.ks-page-hd h2 {
  font-family: var(--fd);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}
.ks-page-hd p { color: var(--t2); font-size: 0.875rem; }

.ks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--s6);
}

.course-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-dim);
  border-radius: var(--r2);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
}
.course-card:hover {
  border-color: var(--border);
  transform: translateY(-2px);
}

.course-thumb {
  width: 100%;
  height: 155px;
  background: var(--bg-raised);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  overflow: hidden;
  position: relative;
}
.course-thumb img { width: 100%; height: 100%; object-fit: cover; }
.course-thumb-num {
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-family: var(--fd);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--a-lo);
  line-height: 1;
  pointer-events: none;
  transition: color 0.2s;
}
.course-card:hover .course-thumb-num { color: oklch(0.76 0.13 72 / 0.2); }

.course-body { padding: var(--s4) var(--s4) var(--s6); }
.course-title {
  font-family: var(--fd);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--t1);
  margin-bottom: var(--s2);
  line-height: 1.3;
}
.course-desc {
  font-size: 0.875rem;
  color: var(--t2);
  line-height: 1.55;
  margin-bottom: var(--s4);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--t3);
  margin-bottom: var(--s3);
}
.progress-wrap { }

/* ── Course page ──────────────────────────────────────────────── */
.ks-course-hd {
  background: var(--bg-surface);
  border: 1px solid var(--border-dim);
  border-radius: var(--r2);
  padding: var(--s6) var(--s8);
  margin-bottom: var(--s6);
}
.ks-course-hd h1 {
  font-family: var(--fd);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--s2);
}
.ks-course-hd .desc {
  font-family: var(--fb);
  color: var(--t2);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: var(--s4);
  max-width: 65ch;
}

.ks-lesson-list {
  background: var(--bg-surface);
  border: 1px solid var(--border-dim);
  border-radius: var(--r2);
  overflow: hidden;
}
.ks-lesson-list-hd {
  padding: 10px var(--s6);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--t3);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border-dim);
}
.lesson-item {
  display: flex;
  align-items: center;
  padding: var(--s4) var(--s6);
  border-bottom: 1px solid var(--border-dim);
  text-decoration: none;
  color: inherit;
  gap: var(--s4);
  transition: background 0.13s;
}
.lesson-item:last-child { border-bottom: none; }
.lesson-item:hover { background: var(--bg-hover); }

.lesson-num {
  width: 28px;
  height: 28px;
  border-radius: var(--r9);
  background: var(--bg-raised);
  border: 1px solid var(--border-dim);
  color: var(--t3);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--fd);
  transition: all 0.15s;
}
.lesson-num.done {
  background: var(--a-lo);
  border-color: oklch(0.76 0.13 72 / 0.4);
  color: var(--a);
}
.lesson-info { flex: 1; }
.lesson-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--t1);
  line-height: 1.35;
}
.lesson-meta { font-size: 0.75rem; color: var(--t3); margin-top: 2px; }
.lesson-check {
  font-size: 14px;
  color: var(--a);
  opacity: 0;
  transition: opacity 0.2s;
}
.lesson-check.visible { opacity: 1; }

/* ── Lesson player ────────────────────────────────────────────── */
.ks-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--r2);
  overflow: hidden;
  background: oklch(0.09 0.008 48);
  margin-bottom: var(--s6);
}
.ks-video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.ks-content-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-dim);
  border-radius: var(--r2);
  padding: var(--s8);
  margin-bottom: var(--s4);
}
.lesson-heading {
  font-family: var(--fd);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--s6);
  line-height: 1.2;
}
.lesson-body {
  font-family: var(--fb);
  font-size: 1rem;
  line-height: 1.85;
  color: var(--t2);
  white-space: pre-wrap;
  max-width: 68ch;
}

.ks-downloads {
  background: var(--bg-surface);
  border: 1px solid var(--border-dim);
  border-radius: var(--r2);
  padding: var(--s4) var(--s6);
  margin-bottom: var(--s4);
}
.downloads-hd {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--t3);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: var(--s3);
  padding-bottom: var(--s3);
  border-bottom: 1px solid var(--border-dim);
}
.download-item {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: 10px 0;
  text-decoration: none;
  color: var(--a);
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.15s;
  border-bottom: 1px solid var(--border-dim);
}
.download-item:last-child { border-bottom: none; }
.download-item:hover { color: var(--a-hi); }
.download-icon { font-size: 1rem; }

.nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s3);
  flex-wrap: wrap;
  margin-top: var(--s4);
}
.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 9px var(--s4);
  border-radius: var(--r1);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
  max-width: 220px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.nav-pill.prev {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--t2);
}
.nav-pill.prev:hover { color: var(--t1); background: var(--bg-hover); }
.nav-pill.next {
  background: var(--a);
  color: var(--a-text);
  font-weight: 700;
}
.nav-pill.next:hover { background: var(--a-hi); }
.nav-pill.disabled { opacity: 0.3; pointer-events: none; }

.complete-btn {
  padding: 9px var(--s6);
  border-radius: var(--r1);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--t2);
  font-family: var(--fd);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.complete-btn.done {
  background: var(--a-lo);
  border-color: oklch(0.76 0.13 72 / 0.4);
  color: var(--a);
}
.complete-btn:hover:not(.done) {
  background: var(--bg-hover);
  color: var(--t1);
}

/* ── Empty state ─────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: var(--s16) var(--s6);
  color: var(--t3);
  grid-column: 1 / -1;
}
.empty-state .icon { font-size: 2.5rem; margin-bottom: var(--s4); }
.empty-state h3 { font-size: 1.1rem; color: var(--t2); margin-bottom: var(--s2); }

/* ── Draft badge ─────────────────────────────────────────────── */
.draft-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: oklch(0.76 0.13 72 / 0.1);
  color: var(--a);
  padding: 2px 7px;
  border-radius: var(--r9);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 640px) {
  .ks-nav  { padding: 0 var(--s4); }
  .ks-nav-name { display: none; }
  .ks-wrap { padding: var(--s6) var(--s4); }
  .ks-grid { grid-template-columns: 1fr; }
  .ks-course-hd { padding: var(--s4) var(--s4); }
  .ks-aside { display: none; }
  .nav-pill { max-width: 140px; font-size: 0.8rem; }
}
