/* Подбор группы (с 30.09.2026) — пара к js/podbor.js */
.pb { background: var(--green); color: #fff; }
.pb h2 { color: var(--yellow); margin-bottom: 6px; }
.pb__lead { opacity: .85; margin: 0 0 26px; }
.pb-steps { display: grid; grid-template-columns: 1fr 1.25fr 1.5fr; gap: 18px; align-items: start; }
.pb-step { background: rgba(255,255,255,.07); border-radius: var(--radius); padding: 20px 22px; transition: opacity .3s, background .3s; }
.pb-step__h { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; font-family: var(--font-head); font-weight: 700; font-size: 1rem; }
.pb-step__h i { font-style: normal; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); font-size: .85rem; }
.pb-step.pb-on { background: rgba(255,255,255,.13); box-shadow: 0 0 0 2px var(--yellow); }
.pb-step.pb-on .pb-step__h i, .pb-step.pb-done .pb-step__h i { background: var(--yellow); color: var(--green-dark); }
.pb-step__sum { display: none; font-size: .95rem; }
.pb-step__sum b { color: var(--yellow); margin-right: 8px; }
.pb-step__sum button { background: none; border: 0; color: #fff; opacity: .7; text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
.pb[data-step="1"] .pb-step--2, .pb[data-step="1"] .pb-step--3, .pb[data-step="2"] .pb-step--3 { opacity: .38; pointer-events: none; }
.pb-kinds { display: grid; gap: 10px; }
.pb-kind { text-align: left; border: 0; border-radius: 14px; padding: 14px 16px; background: #fff; color: var(--green-dark); cursor: pointer; font: inherit; transition: transform .2s, box-shadow .2s; }
.pb-kind b { display: block; font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 3px; }
.pb-kind span { font-size: .9rem; color: var(--muted); }
.pb-kind:hover { transform: translateY(-2px); }
.pb-kind.pb-act { background: var(--yellow); }
.pb-kind.pb-act span { color: var(--green-dark); }
.pb-years { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pb-chip { border: 0; border-radius: 12px; min-height: 46px; background: rgba(255,255,255,.14); color: #fff; font: 700 1rem var(--font-head); cursor: pointer; transition: background .2s, transform .2s; }
.pb-chip:hover { background: rgba(255,255,255,.24); }
.pb-chip.pb-act { background: var(--yellow); color: var(--green-dark); transform: scale(1.05); }
.pb-result h3 { font-family: var(--font-head); color: var(--yellow); margin: 0 0 12px; font-size: 1.25rem; }
.pb-result h3 small { display: block; font-size: .8rem; color: #fff; opacity: .7; font-weight: 500; margin-top: 3px; }
.pb-result { animation: pb-in .4s ease-out; }
@keyframes pb-in { from { opacity: 0; transform: translateY(8px); } }
.pb-times { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pb-times span { background: #fff; color: var(--green-dark); border-radius: 12px; padding: 8px 12px; font-weight: 600; font-size: .95rem; }
.pb-times span b { font-family: var(--font-head); margin-right: 6px; color: var(--green); }
.pb-prices { list-style: none; padding: 0; margin: 0 0 12px; }
.pb-prices li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed rgba(255,255,255,.2); font-size: .95rem; }
.pb-prices li b { white-space: nowrap; }
.pb-note, .pb-where, .pb-free, .pb-none, .pb-pick { margin: 0 0 10px; font-size: .95rem; line-height: 1.5; }
.pb-where a { color: var(--yellow); }
.pb-choice { display: grid; gap: 8px; margin-bottom: 14px; }
.pb-opt { text-align: left; border: 2px solid rgba(255,255,255,.25); background: transparent; color: #fff; border-radius: 12px; padding: 10px 14px; font: inherit; font-size: .92rem; cursor: pointer; }
.pb-opt b { display: block; font-family: var(--font-head); }
.pb-opt.pb-act { border-color: var(--yellow); background: rgba(255,210,30,.12); }
.pb-cta { width: 100%; justify-content: center; margin-top: 6px; }
.pb-empty { opacity: .7; font-size: .95rem; margin: 0; }
@media (max-width: 900px) {
  .pb-steps { grid-template-columns: 1fr; }
  .pb[data-step="2"] .pb-step--1 .pb-kinds, .pb[data-step="3"] .pb-step--1 .pb-kinds, .pb[data-step="3"] .pb-step--2 .pb-years { display: none; }
  .pb[data-step="2"] .pb-step--1 .pb-step__sum, .pb[data-step="3"] .pb-step--1 .pb-step__sum, .pb[data-step="3"] .pb-step--2 .pb-step__sum { display: block; }
  .pb[data-step="2"] .pb-step--1 .pb-step__h, .pb[data-step="3"] .pb-step--1 .pb-step__h, .pb[data-step="3"] .pb-step--2 .pb-step__h { margin-bottom: 6px; }
  .pb[data-step="1"] .pb-step--2, .pb[data-step="1"] .pb-step--3, .pb[data-step="2"] .pb-step--3 { display: none; }
  .pb-years { grid-template-columns: repeat(4, 1fr); }
}
