/* Preserved from https://fishlist.ru/sbor, 2026-11-01. */

.flc{
  --flc-yellow:#FED728; --flc-ink:#24292F; --flc-text2:#4A4F56; --flc-muted:#4A4F56;
  --flc-line:#E9E9E7; --flc-stroke:#DADAD6; --flc-soft:#F6F6F3;
  --flc-p1:#FFF3B9; --flc-p2:#FFE4D7; --flc-p3:#E8EDE5;
  --flc-font:"Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --flc-gutter:40px;
  font-family:var(--flc-font); color:var(--flc-ink); font-size:16px; line-height:1.5;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
  padding-block:80px;
}
.flc *,.flc *::before,.flc *::after{box-sizing:border-box}
:where(.flc) :where(h2,h3,p,ol,ul){margin:0}
.flc-wrap{max-width:1160px;margin-inline:auto;padding-inline:var(--flc-gutter)}

.flc-head{max-width:760px}
.flc-h2{font-size:clamp(32px,4.6vw,52px);line-height:1.08;letter-spacing:-0.035em;font-weight:700;text-wrap:balance}
.flc-lead{margin-top:18px;font-size:16px;line-height:1.5;color:var(--flc-text2);text-wrap:pretty}

.flc-grid{margin-top:48px;display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:40px;align-items:start}
.flc-pick-title{font-size:16px;font-weight:700}
.flc-pick-hint{margin-top:4px;margin-bottom:16px;font-size:16px;color:var(--flc-text2);max-width:30em}

/* Выбор банка */
.flc-tabs{display:flex;flex-direction:column;gap:6px}
.flc-tab{appearance:none;-webkit-appearance:none;margin:0;font:inherit;color:inherit;cursor:pointer;
  display:flex;align-items:center;gap:14px;width:100%;
  text-align:left;padding:16px 18px;border-radius:18px;border:1px solid transparent;background:transparent;
  transition:background-color .2s ease}
@media (hover:hover){ .flc-tab:hover{background:#FAFAF8} }
.flc-tab[aria-selected="true"]{background:var(--flc-soft)}
.flc-tab:focus-visible{outline:3px solid var(--flc-yellow);outline-offset:2px}
.flc-logo{width:36px;height:36px;border-radius:10px;object-fit:contain;display:block}
.flc-logo-slot:empty{display:none}
.flc-tab-text{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.flc-tab-name{font-size:16px;font-weight:700;line-height:1.3}
.flc-tab-sub{font-size:14px;color:var(--flc-muted);line-height:1.4}
.flc-dot{width:24px;height:24px;border-radius:50%;border:1.5px solid var(--flc-stroke);display:grid;place-items:center;flex:none;
  transition:background-color .2s ease,border-color .2s ease}
.flc-dot svg{width:12px;height:12px;opacity:0;transition:opacity .2s ease}
.flc-tab[aria-selected="true"] .flc-dot{background:var(--flc-yellow);border-color:var(--flc-yellow)}
.flc-tab[aria-selected="true"] .flc-dot svg{opacity:1}

/* Инструкция */
.flc-panel{border:1px solid var(--flc-line);border-radius:24px;padding:32px;min-height:100%;outline:none}
.flc-panel:focus-visible{outline:3px solid var(--flc-yellow);outline-offset:3px}
.flc-panel.is-in .flc-anim{animation:flc-in .32s cubic-bezier(.2,.8,.2,1) both}
@keyframes flc-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){ .flc-panel.is-in .flc-anim{animation:none} }

.flc-panel.is-empty{display:flex;align-items:center;justify-content:center;background:var(--flc-soft);border-color:transparent}
.flc-empty{max-width:22em;text-align:center;color:var(--flc-muted)}
.flc-empty-m{display:none}

.flc-p-title{font-size:22px;font-weight:700;letter-spacing:-0.02em;line-height:1.25}

.flc-steps{list-style:none;padding:0;margin-top:24px;display:flex;flex-direction:column;gap:18px;counter-reset:flc}
.flc-step{display:grid;grid-template-columns:40px minmax(0,1fr);column-gap:16px;align-items:start;counter-increment:flc}
.flc-step::before{content:counter(flc);width:40px;height:40px;border-radius:12px;background:var(--flc-soft);
  display:grid;place-items:center;font-weight:700;font-size:16px;font-variant-numeric:tabular-nums}
.flc-step:last-child::before{background:var(--flc-yellow)}
.flc-step-text{padding-top:8px;font-size:16px;line-height:1.5}
.flc-step-text b{font-weight:700}

.flc-notes{margin-top:24px;display:flex;flex-direction:column;gap:10px}
.flc-note{padding:16px 18px;border-radius:16px;background:var(--flc-soft);font-size:16px;line-height:1.5;color:var(--flc-ink)}
.flc-warn{display:grid;grid-template-columns:24px minmax(0,1fr);column-gap:12px;align-items:start;padding:16px 18px;border-radius:16px;
  background:var(--flc-p1);font-size:16px;line-height:1.5;color:var(--flc-ink)}
.flc-warn svg{width:24px;height:24px;display:block}

.flc-sbp{margin-top:24px;border-top:1px solid var(--flc-line);border-bottom:1px solid var(--flc-line)}
.flc-sbp summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 0;font-size:16px;font-weight:700;line-height:1.35;cursor:pointer}
.flc-sbp summary::-webkit-details-marker{display:none}
.flc-sbp summary:focus-visible{outline:3px solid var(--flc-yellow);outline-offset:2px;border-radius:6px}
.flc-pm{position:relative;width:32px;height:32px;border-radius:50%;background:var(--flc-soft);flex:none;transition:transform .2s ease,background-color .2s ease}
.flc-pm::before,.flc-pm::after{content:"";position:absolute;left:50%;top:50%;width:12px;height:2px;margin:-1px 0 0 -6px;border-radius:2px;background:var(--flc-ink)}
.flc-pm::after{transform:rotate(90deg)}
.flc-sbp[open] .flc-pm{transform:rotate(45deg);background:var(--flc-yellow)}
.flc-sbp-body{padding:0 0 18px;display:flex;flex-direction:column;gap:10px;font-size:16px;color:var(--flc-ink)}
.flc-foot[hidden]{display:none}
.flc-foot{margin-top:28px;font-size:14px;color:var(--flc-muted);max-width:760px}

@media (max-width:900px){
  .flc-grid{grid-template-columns:minmax(0,1fr);gap:24px}
  .flc-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .flc-tab{flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;padding:12px;border-radius:16px;border-color:var(--flc-line);min-height:56px}
  .flc-tab-text{flex:none}
  .flc-tab[aria-selected="true"]{border-color:var(--flc-ink);background:var(--flc-soft)}
  .flc-tab-name{font-size:14px;letter-spacing:-0.01em}
  .flc-tab-sub,.flc-dot{display:none}
  .flc-logo{width:32px;height:32px}
  .flc-panel.is-empty{min-height:0}
  .flc-empty-d{display:none}
  .flc-empty-m{display:inline}
}
@media (max-width:640px){
  .flc{--flc-gutter:20px;padding-block:48px}
  .flc-lead{margin-top:14px}
  .flc-grid{margin-top:32px}
  .flc-panel{padding:22px 20px;border-radius:20px}
  .flc-step{grid-template-columns:36px minmax(0,1fr);column-gap:14px}
  .flc-step::before{width:36px;height:36px;border-radius:11px}
  .flc-step-text{padding-top:6px}
}
@media (max-width:360px){ .flc-tabs{grid-template-columns:repeat(2,minmax(0,1fr))} }
