/* Гиды: колледжи, вузы */
.guide { padding-block: var(--space-10) var(--space-16); }
.guide-wrap { max-width: 980px; }
.crumbs { display: flex; gap: var(--space-2); font-size: var(--text-sm); color: var(--muted); margin-bottom: var(--space-6); flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.guide h1 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.7rem); margin-top: var(--space-3); max-width: 24ch; }
.guide .lead { margin-top: var(--space-5); max-width: 70ch; }
.guide-meta { font-size: var(--text-sm); color: var(--muted); margin-top: var(--space-4); max-width: 70ch; }
.guide-sec { margin-top: var(--space-12); }
.guide-sec h2 { font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); margin-bottom: var(--space-4); max-width: 30ch; }
.guide-sec p { max-width: 72ch; }
.guide-sec p + p { margin-top: var(--space-3); }
.guide-facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.guide-facts li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); }
.guide-facts b { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.guide-facts span { color: var(--muted); font-size: var(--text-sm); }
.guide-steps, .guide-list { padding-left: 1.3em; max-width: 74ch; }
.guide-steps li, .guide-list li { margin-bottom: var(--space-3); }
.table-wrap { overflow-x: auto; margin-top: var(--space-5); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.guide-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); min-width: 760px; }
.guide-table th, .guide-table td { text-align: left; vertical-align: top; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--border); }
.guide-table thead th { background: var(--surface-2); color: var(--ink); font-weight: 700; position: sticky; top: 0; }
.guide-table tbody tr:last-child td { border-bottom: 0; }
.guide-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 700; }
.guide-table a { word-break: break-word; }
.guide .small { font-size: var(--text-xs); }
.guide .muted { color: var(--muted); }
.guide-cta { margin-top: var(--space-16); display: grid; gap: var(--space-6); }
.guide-cta h2 { font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); margin-bottom: var(--space-3); }
@media (max-width: 720px) {
  .guide-facts { grid-template-columns: 1fr; }
  .guide-sec { margin-top: var(--space-10); }
}

/* Инструмент «Куда поступать с моими ЕГЭ» */
.ege-tool { margin-top: var(--space-5); display: grid; gap: var(--space-6); }
.ege-form { display: grid; gap: var(--space-4); }
.ege-pick { border: 0; padding: 0; margin: 0; }
.ege-pick legend { font-weight: 700; color: var(--ink); margin-bottom: var(--space-3); font-size: var(--text-sm); }
.ege-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2) var(--space-4); }
.ege-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-2) var(--space-3); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: border-color .15s, background .15s; }
.ege-row.on { border-color: var(--accent); background: var(--accent-soft); }
.ege-subj { display: flex; align-items: center; gap: var(--space-2); cursor: pointer; font-size: var(--text-sm); color: var(--ink); min-width: 0; }
.ege-subj input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.ege-fixed { flex-direction: column; align-items: flex-start; gap: 0; cursor: default; font-weight: 600; }
.ege-num { width: 76px; text-align: center; padding: 6px 8px; font-variant-numeric: tabular-nums; flex: none; }
.ege-row:not(.on) .ege-num:not([data-score="rus"]) { opacity: .55; }
.ege-opts { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.field-inline { display: grid; gap: 4px; font-size: var(--text-sm); font-weight: 600; color: var(--ink); }
.ege-hint { margin: 0; }
.ege-out { display: grid; gap: var(--space-6); }
.ege-summary h3, .ege-group h3 { font-size: var(--text-base); color: var(--ink); }
.ege-summary .chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }
.ege-group-head p { margin-top: 4px; }
.ege-count { display: inline-block; min-width: 1.6em; text-align: center; font-size: var(--text-xs); background: var(--surface-2); border-radius: 999px; padding: 1px 8px; margin-left: 4px; vertical-align: middle; }
.ege-group.amb h3 { color: var(--accent-strong); }
.ege-list { list-style: none; padding: 0; margin: var(--space-3) 0 0; display: grid; gap: var(--space-2); }
.ege-item { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) var(--space-4); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.ege-item-main { display: grid; gap: 4px; min-width: 0; justify-items: start; }
.ege-item-main b { color: var(--ink); font-size: var(--text-sm); }
.ege-item-side { display: grid; justify-items: end; align-content: start; gap: 2px; text-align: right; flex: none; }
.ege-score { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.1; }
.ege-more { margin-top: var(--space-3); }
.ege-above { margin: 0; }
@media (max-width: 720px) {
  .ege-grid { grid-template-columns: 1fr; }
  .ege-item { flex-direction: column; gap: var(--space-2); }
  .ege-item-side { justify-items: start; text-align: left; grid-auto-flow: column; gap: var(--space-3); align-items: baseline; }
}
.ege-cta { display: grid; gap: var(--space-4); background: var(--accent-soft); border-color: transparent; } .ege-cta h3 { font-size: var(--text-base); color: var(--ink); margin-bottom: var(--space-2); }
