/* frappe — the study plan in the daily session (FR.roadmap, js/game/roadmap.js): the phase line on the session's
   start screen, the bar above a session step that runs on its own screen, the expression bank (« progrès »). prefix rm- */
.rm-h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
}
.rm-how {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: var(--g-gloss);
  line-height: 1.4;
}

/* « Phase A1 · Les fondations · 60 min » */
.rm-phase {
  margin: 0.1rem 0 0.5rem;
}

/* the session step's bar, above the dictation, Miroir, Je construis, « Parler » or a TCF task */
.rm-run {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.8rem;
  margin: 0 auto 0.8rem;
  max-width: 1100px;
  padding: 0.55rem 0.8rem;
  background: var(--sub-alt);
  border: 2px solid var(--main);
  border-radius: 12px;
  --g-btn-bg: var(--bg);
}
.rm-run[data-done="1"] {
  border-color: var(--g-ok);
}
.rm-run-t {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1 1 14rem;
  min-width: 0;
}
.rm-run-t b {
  overflow-wrap: anywhere;
}
.rm-run-b {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* the expression bank */
.rm-bank-f {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.6rem;
}
.rm-bank-f .g-input {
  flex: 1;
  min-width: 0;
}
.rm-suggs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.6rem;
}
.rm-bankl {
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.3rem;
}
.rm-bankl li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.rm-del {
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: 0;
  background: none;
  color: var(--g-gloss);
  font: inherit;
  cursor: pointer;
}
.rm-del:hover,
.rm-del:focus-visible {
  color: var(--g-err-ink);
}
