/* ---------- Правила ладдера ---------- */
.rl { padding-top: 22px; }
.rl-hero { position: relative; padding: 24px 22px 34px; background: #f4f6f9 right center / auto 100% no-repeat; overflow: hidden; }
.rl-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #f6f7f9 0%, rgba(246, 247, 249, .97) 42%, rgba(246, 247, 249, .7) 62%, rgba(246, 247, 249, .35)); }
.rl-hero > * { position: relative; }
.rl-bc { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: #6b7280; }
.rl-bc a { color: #6b7280; }
.rl-bc svg { color: #9aa1ab; }
.rl-hero h1 { display: flex; align-items: center; gap: 24px; margin: 28px 0 0; font: 400 44px/1.1 var(--fd); color: var(--ink); }
.rl-hero h1 svg { color: var(--o); flex: none; }
.rl-hero p { margin: 22px 0 0 94px; font-size: 18px; line-height: 1.5; color: #6b7280; }
.rl-pick { position: absolute; right: 22px; top: 22px; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-radius: 8px; background: #fff; border: 1px solid #e3e6eb; box-shadow: var(--card-sh); }
.rl-pick svg { color: #5d6472; }
.rl-pick select { border: 0; background: none; appearance: none; font: 500 14.5px var(--ff); color: var(--ink); padding-right: 6px; cursor: pointer; max-width: 260px; }
.rl-g { display: grid; grid-template-columns: 240px 1fr 376px; gap: 14px; margin-top: 16px; align-items: start; }
.rl-nav { position: sticky; top: 12px; padding: 14px 10px; }
.rl-nav a { position: relative; display: flex; align-items: center; gap: 8px; height: 50px; padding: 0 12px 0 16px; border-radius: 6px; font-size: 16px; color: #3c424d; }
.rl-nav a span { color: #5d6472; }
.rl-nav a svg { margin-left: auto; color: #8b919c; }
.rl-nav a + a { margin-top: 6px; }
.rl-nav a.on { background: #fff6f0; color: var(--o); font-weight: 600; }
.rl-nav a.on span, .rl-nav a.on svg { color: var(--o); }
.rl-nav a.on::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; border-radius: 2px; background: var(--o); }
.rl-main { padding: 18px 18px 22px; }
.rl-s { scroll-margin-top: 20px; }
.rl-s + .rl-s { margin-top: 28px; }
.rl-sh { display: flex; align-items: center; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--ln2); }
.rl-si { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: linear-gradient(180deg, #ff7a2e, #f05206); color: #fff; }
.rl-si svg { color: #fff; }
.rl-si.w { background: none; color: var(--o); }
.rl-si.w svg { color: var(--o); }
.rl-si.g { border-radius: 50%; }
.rl-sh h2 { margin: 0; font: 700 24px var(--ff); color: var(--ink); }
.rl-sh h2 em { font-style: normal; color: #4a5a78; }
.rl-sub { margin: 10px 0 14px 56px; font-size: 15px; color: #6b7280; }
.rl-ol { list-style: none; margin: 10px 0 0; padding: 0; }
.rl-ol li { display: grid; grid-template-columns: 46px 1fr; gap: 0; padding: 10px 0; }
.rl-ol b { font: 600 16px var(--ff); color: var(--ink); }
.rl-ol span { font-size: 16px; line-height: 1.55; color: #3c424d; }
.rl-ac { display: flex; align-items: center; gap: 24px; margin-top: 14px; padding: 18px 22px; border-radius: 8px; background: linear-gradient(90deg, #ff7a2e, #f05206); color: #fff; }
.rl-ac svg { color: #fff; flex: none; }
.rl-ac b { display: block; font: 600 22px var(--ff); }
.rl-ac span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.45; opacity: .95; }
.rl-t { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid #e3e6eb; border-radius: 8px; overflow: hidden; font-size: 15px; }
.rl-t th { padding: 14px 16px; text-align: left; font-weight: 600; color: var(--ink); background: #f4f6f9; border-bottom: 1px solid #e3e6eb; }
.rl-t td { padding: 12px 16px; color: #3c424d; border-bottom: 1px solid #edf0f3; }
.rl-t tr:last-child td { border-bottom: 0; }
.rl-t th + th, .rl-t td + td { border-left: 1px solid #e3e6eb; }
.rl-code { position: relative; margin-top: 4px; padding: 16px 18px; border-radius: 8px; background: #f2f4f7; border: 1px solid #e3e6eb; }
.rl-code pre { margin: 0; font: 400 14px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #2b3440; white-space: pre; overflow-x: auto; }
.rl-code button { position: absolute; right: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 6px; border: 1px solid #dfe3e8; background: #fff; cursor: pointer; font: 400 13px var(--ff); color: #3c424d; }
.rl-note { margin: 14px 0 0; font-size: 14.5px; color: #6b7280; }
.rl-own { margin-top: 18px; padding: 16px 18px; border-radius: 8px; background: #fafbfc; border: 1px solid #edf0f3; }
.rl-own b { font: 600 15px var(--ff); color: var(--ink); }
.rl-own ul { margin: 10px 0 0 18px; padding: 0; font-size: 15px; line-height: 1.6; color: #3c424d; }
.rl-side { display: flex; flex-direction: column; gap: 14px; }
.rl-news, .rl-faq { padding: 16px 12px 12px; }
.rl-rh { display: flex; align-items: center; gap: 14px; margin: 0 4px 12px; }
.rl-rh > svg { color: var(--o); flex: none; }
.rl-rh h3 { margin: 0; font: 700 21px/1.2 var(--ff); color: var(--ink); }
.rl-rh a { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #6b7280; white-space: nowrap; align-self: flex-start; margin-top: 4px; }
.rl-q { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--o); color: #fff; font: 700 20px var(--ff); }
.rl-n { display: flex; gap: 16px; padding: 8px; border: 1px solid #edf0f3; border-radius: 8px; color: var(--ink); }
.rl-n + .rl-n { margin-top: 8px; }
.rl-n:hover { color: var(--ink); border-color: #dfe3e8; }
.rl-ni { flex: none; display: grid; place-items: center; width: 94px; height: 88px; border-radius: 6px; background: #252a33 center / cover no-repeat; color: #fff; }
.rl-n small { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #8b919c; }
.rl-n em { padding: 2px 8px; border-radius: 5px; border: 1px solid #ffb48a; font: 500 12px var(--ff); font-style: normal; color: var(--o); }
.rl-n b { display: block; margin-top: 8px; font: 500 16px/1.3 var(--ff); }
.rl-n p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.4; color: #8b919c; }
.rl-mut { padding: 20px; text-align: center; color: #6b7280; }
.rl-faq .sp-fq summary { padding: 14px 14px; }
@media (max-width: 1100px) { .rl-g { grid-template-columns: 1fr; } .rl-nav { position: static; } .rl-pick { position: static; margin-top: 16px; } .rl-hero p { margin-left: 0; } }
