/* Roadmap-only course pages (N3, N2): the plan for a level whose decks are
   not built yet. Loaded *after* css/n1-drill.css, which supplies the shell
   (.wrap, header, .eyebrow, .today-card) these pages reuse — so when the
   decks land, the page grows a Today tab instead of being rewritten. */

/* The honest banner. A learner arriving from the menu must find out in the
   first line that there are no cards here yet, not after scrolling. */
.soon-banner {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 12px;
  padding: 16px 18px;
  margin-top: 28px;
}
.soon-banner .mark {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink-inverse);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.soon-banner .body { flex: 1; min-width: 0; }
.soon-banner strong { font-size: 14.5px; display: block; }
.soon-banner p { margin: 4px 0 0; font-size: 13px; color: var(--ink-soft); line-height: 1.6; }
.soon-banner a { color: var(--accent); }

/* Exam structure. Wide on a phone, so it scrolls in its own box rather than
   pushing the page sideways. */
.exam-table-wrap { overflow-x: auto; margin-top: 12px; }
.exam-table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: 13.5px;
}
.exam-table th,
.exam-table td {
  text-align: left;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.exam-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  white-space: nowrap;
}
.exam-table td.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.exam-table tbody tr:last-child td { border-bottom: none; }
.exam-table tr.total td {
  border-top: 1px solid var(--line-strong);
  font-weight: 700;
}
.exam-table .jp { font-family: var(--font-jp); }

/* A mondai list inside a roadmap card: the official question types, with the
   ones this level adds marked. */
.mondai-list { list-style: none; padding: 0; margin: 12px 0 0; }
.mondai-list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.mondai-list li:last-child { border-bottom: none; }
.mondai-list .jp {
  font-family: var(--font-jp);
  font-weight: 500;
  flex-shrink: 0;
  min-width: 128px;
}
.mondai-list .vi { color: var(--ink-soft); flex: 1; min-width: 0; }
.tag-new {
  flex-shrink: 0;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 2px 8px;
  align-self: center;
}

/* Planned decks — the same shape as a real deck card, visibly inert. */
.plan-deck {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  padding: 15px 18px;
  margin-bottom: 10px;
}
.plan-deck .info { flex: 1; min-width: 150px; }
.plan-deck h3, .plan-deck h2 { font-size: 16px; }
.plan-deck .counts {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 5px;
}
.plan-deck .state {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
}

/* A figure the card is built around (the pass mark, the kanji count). */
.big-fig {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 500;
  color: var(--accent);
  line-height: 1.1;
  margin-top: 10px;
}
.big-fig small {
  font-size: 15px;
  color: var(--ink-soft);
  font-weight: 400;
}

.source-note {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-faint);
  line-height: 1.7;
}
.source-note a { color: var(--ink-soft); }

@media (max-width: 560px) {
  .mondai-list li { flex-wrap: wrap; }
  .mondai-list .jp { min-width: 0; }
}
