/* 이용안내 (/guide).
 *
 * Loaded after style.css, so it inherits the same variables (--brand, --muted,
 * --line, --bad-bg ...) and only adds what this page needs. Nothing here
 * restyles an existing class: .card, .link-btn, .badge and .hint keep the look
 * they have everywhere else.
 *
 * The page is read on a phone as often as on a desktop, so every row that can
 * grow -- the quick-start steps, the consortium roles -- wraps instead of
 * pushing the page sideways.
 */

.guide-title { margin: 0 0 8px; font-size: 22px; }
.guide-lede { margin: 0; font-size: 15px; color: var(--ink); }

/* ------------------------------------------------------- the quick start */

/* A wrapping grid, not a row that scrolls: `auto-fit` with a minimum track
   drops to one column on a phone and gives four or five across a desktop,
   and the reading order stays the order of the list. */
.guide-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}
.guide-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9fc;
  font-size: 14px;
}
.guide-step-num {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}
/* Long labels break inside the card rather than widening the track. */
.guide-step-text { min-width: 0; overflow-wrap: anywhere; }
.guide-step-text a { color: var(--brand); }

/* --------------------------------------------------------- the sections */

.guide-feature h3 { font-size: 14px; }
.guide-what { margin: 0; font-size: 14px; }
.guide-how { margin: 0; padding-left: 20px; font-size: 14px; }
.guide-how li { margin: 2px 0; overflow-wrap: anywhere; }

/* The one line on this page that is an instruction not to do something.
   It uses the palette's existing warning colours rather than a new one. */
.guide-warning {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--bad-ink);
  border-radius: 8px;
  background: var(--bad-bg);
  color: var(--bad-ink);
  font-size: 14px;
  font-weight: 600;
}
/* 내 정보's advice is a recommendation, not a prohibition. */
.guide-warning-soft {
  border-color: #e3d9bd;
  background: var(--warn-bg);
  color: var(--warn-ink);
  font-weight: 500;
}

.guide-roles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.guide-actions { margin: 16px 0 0; }
.guide-go { display: inline-block; text-decoration: none; }
