/* Basic Speaking Club Stylesheet */
body.theme-basic-speaking,
body.session-page {
  --basic-speaking-theme-hero: linear-gradient(135deg, #0F6E56, #0A4737);
}

body.theme-basic-speaking .session-hero,
body.session-page .session-hero {
  background: var(--basic-speaking-theme-hero, linear-gradient(135deg, #0F6E56, #0A4737)) !important;
}

/* Custom styles for Basic Speaking Club cards */
.vocab-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0;
}

/* Card-style vocabulary used by the four level decks. These rules used to live
   in templates/basic-speaking-club-session.html, which meant 120 pages each
   carried a copy of the palette inline. */
.vocab-item {
  background-color: var(--color-background-soft, #f0f4f1);
  border: 1px solid var(--color-border, #e0e8e3);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vocab-word {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary-dark, #1c3b2b);
}

.vocab-cue {
  font-size: 0.8rem;
  color: var(--muted, #5c6b63);
}

.vocab-def {
  font-size: 0.82rem;
  line-height: 1.4;
  margin-left: 0;
  color: var(--ink-soft, #3d4a42);
}

.vocab-pron {
  font-size: 0.78rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--teal, #0F6E56);
}

.vocab-pill {
  background-color: var(--color-background-soft, #f0f4f1);
  color: var(--color-primary-dark, #1c3b2b);
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--color-border, #e0e8e3);
}

.frame-box {
  background-color: var(--surface-color, #f8faf9);
  border-left: 4px solid var(--teal, #0F6E56);
  padding: 15px;
  margin: 15px 0;
  border-radius: 0 8px 8px 0;
}

.question-card {
  background: var(--surface-color, #ffffff);
  border: 1px solid var(--border, #e2e8f0);
  color: var(--ink, inherit);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

html[data-theme="dark"] .frame-box { background-color: var(--cosy-color-surface-raised); }
html[data-theme="dark"] .question-card {
  background: var(--cosy-color-surface-raised);
  border-color: var(--cosy-color-border);
  color: var(--cosy-color-ink);
}

/* Session card components
   Lived inline on all 120 level decks as an identical 2.5 KB <style> block, so
   every rule below existed 120 times. They are here because every deck already
   links this file; nothing needed a new request. */

.card-grid {
  display: grid;
  gap: 1.25rem;
}
.card {
  background: var(--surface-color, #ffffff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.04));
}
.card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.card-head h2 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--ink, #1c3b2b);
}
.card-time {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal, #0F6E56);
}
.card p {
  margin: 0.5rem 0;
}
.card ul {
  margin: 0.5rem 0;
  padding-left: 1.25rem;
  line-height: 1.8;
}
.ladder {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0;
  font-size: 0.9rem;
}
.ladder th,
.ladder td {
  border: 1px solid var(--border, #e2e8f0);
  padding: 0.5rem 0.6rem;
  text-align: left;
  vertical-align: top;
}
.ladder th {
  background: var(--sage-pale, #eef4ef);
  color: var(--ink, #1c3b2b);
}
.ladder code {
  white-space: normal;
}
.card-skill {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted, #5c6b63);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.run-sheet {
  margin: 1rem 0 1.25rem;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 10px;
  background: var(--surface-color, #fff);
  padding: 0.75rem 1rem;
}
.run-sheet summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--teal, #0F6E56);
}
.run-sheet-body {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
}
.run-sheet-body ul {
  margin: 0.35rem 0 0.8rem 1.2rem;
  padding: 0;
}
.run-sheet-body li {
  margin: 0.2rem 0;
}
.say-btn {
  background: none;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1;
  padding: 0.15rem 0.4rem;
  margin-left: 0.35rem;
  color: var(--teal, #0F6E56);
}
.say-btn:hover {
  background: var(--surface-color, #f8faf9);
}
.care-note {
  font-size: 0.85rem;
  color: var(--muted, #5c6b63);
  margin-top: 0.5rem;
}
