/**
 * RawLead — REFERENCE.md §2 tokens
 */
:root {
  /* REVOLUTION WP */
  --rl-bg-page: #fafaf8;
  --rl-bg-section: #f3f3ef;
  --rl-bg-inverse: #1a1a2e;
  --rl-text-primary: #18181b;
  --rl-text-body: #3f3f46;
  --rl-text-muted: #71717a;
  --rl-text-inverse: #ffffff;
  --rl-border: #e4e4e7;
  --rl-cta: #4f46e5;
  --rl-cta-hover: #4338ca;
  --rl-cta-text: #ffffff;
  --rl-match-fill: #4f46e5;
  --rl-source-fl: #00a65a;
  --rl-source-kwork: #ea580c;
  --rl-source-tg: #0088cc;
  --rl-shadow-card: 0 2px 12px rgba(0, 0, 0, 0.07);
  --rl-shadow-hover: 0 8px 28px rgba(0, 0, 0, 0.12);
  --rl-radius-card: 20px;
  --rl-radius-btn: 999px;
  --rl-radius-chip: 999px;
  --rl-chip-active-bg: #4f46e5;
  --rl-chip-skill-bg: #eef2ff;
  --rl-chip-skill-txt: #4f46e5;
  --font-main: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --rl-status-success: #16a34a;
  --rl-header-h: 56px;
  --rl-badge-hot-bg: #ea580c;
  --rl-badge-hot-text: #ffffff;
  --rl-space-unit: 8px;
  --rl-section-y: 96px;
  --rl-container: 1120px;
  /* legacy aliases */
  --rl-cta-primary: var(--rl-cta);
  --rl-cta-primary-text: var(--rl-cta-text);
  --rl-match-bar: var(--rl-match-fill);
  --rl-font: var(--font-main);
  --rl-font-display: var(--font-main);
  --rl-radius-button: var(--rl-radius-btn);
}

@media (max-width: 767px) {
  :root {
    --rl-section-y: 64px;
  }
}

/* Global site language */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

body.rawlead-site {
  font-family: var(--font-main);
  color: var(--rl-text-body);
  background: var(--rl-bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html.lenis,
html.lenis body {
  height: auto;
}

html.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

body.rawlead-site .entry-title,
body.rawlead-site h1,
body.rawlead-site h2,
body.rawlead-site h3,
body.rawlead-site .rl-font-display {
  font-family: var(--font-main);
  color: var(--rl-text-primary);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

body.rawlead-site a {
  color: var(--rl-text-primary);
}

body.rawlead-site .entry-content a:not(.rl-btn):not(.rl-link-arrow) {
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.rawlead-site .entry-content a:not(.rl-btn):hover {
  opacity: 0.85;
}

/* Kadence header polish */
body.rawlead-site #masthead,
body.rawlead-site .site-header-wrap {
  background: var(--rl-bg-page) !important;
  border-bottom: 1px solid var(--rl-border);
}

body.rawlead-site .site-title a,
body.rawlead-site .brand a {
  font-weight: 700 !important;
  color: var(--rl-text-primary) !important;
  letter-spacing: -0.02em;
}

body.rawlead-site .primary-navigation a {
  color: var(--rl-text-body) !important;
  font-weight: 500;
}

body.rawlead-site .primary-navigation a:hover {
  color: var(--rl-text-primary) !important;
}

body.rawlead-site .header-button-wrap .button,
body.rawlead-site .header-menu-container .menu-item:last-child a {
  background: var(--rl-cta-primary) !important;
  color: var(--rl-cta-primary-text) !important;
  border-radius: var(--rl-radius-button) !important;
  padding: 0.5rem 1.25rem !important;
  border: none !important;
}

body.rawlead-site .site-footer,
body.rawlead-site #colophon {
  background: var(--rl-bg-inverse) !important;
  color: var(--rl-text-muted) !important;
}

body.rawlead-site .site-footer a,
body.rawlead-site #colophon a {
  color: var(--rl-text-inverse) !important;
}

/* Buttons */
.rl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 12px 24px;
  border-radius: var(--rl-radius-btn);
  font: 600 15px/1.2 var(--font-main);
  text-decoration: none !important;
  border: none;
  transition: background 150ms ease-out, transform 80ms ease-out, opacity 150ms ease-out;
  cursor: pointer;
}

.rl-btn:hover {
  opacity: 1;
}

.rl-btn:active {
  transform: scale(0.97);
}

.rl-btn--primary {
  background: var(--rl-cta);
  color: var(--rl-cta-text) !important;
}

.rl-btn--primary:hover {
  background: var(--rl-cta-hover);
}

.rl-btn--secondary {
  background: transparent;
  color: var(--rl-cta) !important;
  border: 1.5px solid var(--rl-cta);
}

.rl-btn--secondary:hover {
  background: var(--rl-chip-skill-bg);
}

.rl-btn--ghost {
  background: none;
  border: none;
  color: var(--rl-cta) !important;
  padding: 0;
}

.rl-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 500;
  color: var(--rl-text-primary) !important;
  text-decoration: none !important;
}

.rl-link-arrow:hover {
  text-decoration: underline !important;
}

.rl-container {
  width: min(100% - 2rem, var(--rl-container));
  margin-inline: auto;
}

.rl-section {
  padding-block: var(--rl-section-y);
}

.rl-section--alt {
  background: var(--rl-bg-section);
}

section.rl-section--alt[aria-labelledby="rl-audience-title"] {
  padding-top: calc(var(--rl-section-y) * 0.45);
}

section.rl-section--alt[aria-labelledby="rl-audience-title"] #rl-audience-title {
  margin: 0 0 1rem;
}

#pricing-preview.rl-section {
  padding-top: calc(var(--rl-section-y) * 0.45);
}

#pricing-preview.rl-section #rl-pricing-title {
  margin: 0 0 1rem;
}

/* Front page: hide default page title / hero */
body.rawlead-front .entry-hero,
body.rawlead-front .entry-header,
body.rawlead-front .page-title,
body.rawlead-front .content-bg:not(.rl-landing) .entry-content-wrap > .entry-header {
  display: none !important;
}

body.rawlead-front .content-wrap > .entry-content {
  margin-top: 0;
  padding-top: 0;
}

/* Custom sticky header (front) */
.rl-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 56px;
  background: var(--rl-bg-page);
  border-bottom: 1px solid transparent;
  transition: border-color 150ms ease-out;
}

.rl-header--scrolled {
  border-bottom-color: var(--rl-border);
}

.rl-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
}

.rl-header__brand {
  font-family: var(--rl-font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--rl-text-primary) !important;
  text-decoration: none !important;
  letter-spacing: -0.03em;
}

.rl-header__nav {
  display: none;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rl-header__link {
  color: var(--rl-text-body) !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.9375rem;
}

.rl-header__link:hover {
  color: var(--rl-text-primary) !important;
}

.rl-header__link.is-active {
  color: var(--rl-text-primary) !important;
  box-shadow: inset 0 -2px 0 var(--rl-text-primary);
}

@media (min-width: 768px) {
  .rl-header__nav {
    display: flex;
  }
}

.rl-header__cta {
  flex-shrink: 0;
}

.rl-header__cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.rl-header__cta-link--logged-in {
  padding-left: 0.35rem;
}

.rl-header__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.85);
}

/* Front page — Lenis smooth scroll + progress + reveal */
.rl-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 200;
  background: linear-gradient(90deg, var(--rl-source-fl), var(--rl-match-bar));
  pointer-events: none;
  transition: width 0.08s linear;
}

.rl-reveal {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 240ms ease-out, transform 240ms ease-out;
}

.rl-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.rl-reveal.is-visible .rl-audience-card,
.rl-reveal.is-visible .rl-feature,
.rl-reveal.is-visible .rl-price-card {
  opacity: 1;
  transform: none;
}

.rl-audience-card,
.rl-feature,
.rl-price-card {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity 240ms ease-out, transform 240ms ease-out;
}

.rl-reveal.is-visible .rl-audience-card:nth-child(1),
.rl-reveal.is-visible .rl-feature:nth-child(1),
.rl-reveal.is-visible .rl-price-card:nth-child(1) {
  transition-delay: 0ms;
}

.rl-reveal.is-visible .rl-audience-card:nth-child(2),
.rl-reveal.is-visible .rl-feature:nth-child(2) {
  transition-delay: 40ms;
}

.rl-reveal.is-visible .rl-audience-card:nth-child(3),
.rl-reveal.is-visible .rl-feature:nth-child(3) {
  transition-delay: 80ms;
}

.rl-reveal.is-visible .rl-audience-card:nth-child(4) {
  transition-delay: 120ms;
}

.rl-lead-card,
.rl-price-card {
  transition: transform 150ms ease-out, box-shadow 150ms ease-out, border-color 150ms ease-out;
}

.rl-lead-card:hover,
.rl-price-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: #c8c8d0;
}

.rl-match__fill {
  width: 0;
  transition: width 600ms ease-out;
}

.rl-reveal.is-visible .rl-match__fill,
.rl-match.is-visible .rl-match__fill {
  width: var(--match-value, 0%);
}

.rl-btn:active {
  transform: scale(0.97);
  transition: transform 80ms ease-out;
}

.rl-flow__sources .rl-source-cube {
  opacity: 0;
  transition: transform 400ms ease-out, opacity 400ms ease-out;
}

.rl-flow__sources .rl-source-cube:nth-child(1) {
  transform: translateX(-80px) translateY(40px) rotate(-8deg);
}

.rl-flow__sources .rl-source-cube:nth-child(2) {
  transform: translateX(0) translateY(60px) rotate(4deg);
}

.rl-flow__sources .rl-source-cube:nth-child(3) {
  transform: translateX(80px) translateY(40px) rotate(-6deg);
}

.rl-flow__sources.is-visible .rl-source-cube:nth-child(1) {
  transform: rotate(-7deg) translateX(-6px);
  opacity: 1;
  transition-delay: 0ms;
}

.rl-flow__sources.is-visible .rl-source-cube:nth-child(2) {
  transform: rotate(5deg) translateX(10px);
  opacity: 1;
  transition-delay: 80ms;
}

.rl-flow__sources.is-visible .rl-source-cube:nth-child(3) {
  transform: rotate(-4deg) translateX(-4px);
  opacity: 1;
  transition-delay: 160ms;
}

.rl-pricing--single {
  display: grid;
  grid-template-columns: minmax(280px, 400px);
  justify-content: center;
}

.rl-price-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .rl-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .rl-audience-card,
  .rl-feature,
  .rl-price-card,
  .rl-flow__sources .rl-source-cube {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .rl-flow__sources.is-visible .rl-source-cube:hover {
    animation: none;
  }

  .rl-flow.rl-reveal .rl-lead-card,
  .rl-flow.rl-reveal.is-visible .rl-lead-card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .rl-match__fill {
    width: var(--match-value, 88%);
    transition: none;
  }

  .rl-feed-card__body {
    transition: none;
  }

  .rl-feed-list .rl-lead-card.is-expanded .rl-feed-card__body,
  #rl-cabinet-list .rl-lead-card.is-expanded .rl-feed-card__body {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top-color: var(--rl-border);
  }

  .rl-btn:active {
    transform: none;
  }

  .rl-hero-visual__orbit {
    animation: none !important;
  }
}

/* Hero */
.rl-hero {
  padding-block: calc(var(--rl-section-y) * 0.5) var(--rl-section-y);
  min-height: min(100vh, 920px);
  display: flex;
  align-items: center;
}

.rl-hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .rl-hero__grid {
    grid-template-columns: 1fr minmax(280px, 46%);
    gap: 3rem;
  }
}

.rl-hero__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rl-match-bar);
}

.rl-hero__title {
  display: flex;
  flex-direction: column;
  gap: 0.08em;
  font-size: clamp(2.5rem, 4vw + 1rem, 4.25rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--rl-text-primary);
  margin: 0 0 1.25rem;
  max-width: 14ch;
}

.rl-hero__title-line--accent {
  background: linear-gradient(105deg, var(--rl-match-bar) 0%, #0ea5e9 55%, #6366f1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rl-hero__lead {
  font-size: clamp(1.0625rem, 1.2vw + 0.65rem, 1.2rem);
  line-height: 1.65;
  color: var(--rl-text-body);
  max-width: 34rem;
  margin: 0 0 2rem;
}

.rl-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.rl-hero__hint {
  margin: 2rem 0 0;
  font-size: 0.8125rem;
  color: var(--rl-text-muted);
  display: flex;
  align-items: center;
}

/* Hero visual (right column) */
.rl-hero-visual {
  position: relative;
  min-height: 320px;
}

.rl-hero-visual__glow {
  position: absolute;
  inset: 10% 0 5% 15%;
  background: radial-gradient(ellipse at 60% 40%, rgba(37, 99, 235, 0.12), transparent 65%);
  pointer-events: none;
}

.rl-hero-visual__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--rl-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--rl-border) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 72%);
  opacity: 0.55;
  pointer-events: none;
}

.rl-hero-visual__panel {
  position: relative;
  padding: 1.75rem 1.5rem 2rem;
  border: 1px solid var(--rl-border);
  border-radius: calc(var(--rl-radius-card) + 4px);
  background: linear-gradient(165deg, #fff 0%, var(--rl-bg-section) 100%);
  box-shadow:
    0 24px 48px rgba(10, 10, 10, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.rl-hero-visual__sources {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.rl-hero-visual__pill {
  font-family: var(--rl-font-display);
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 0.45rem 0.7rem;
  border-radius: 12px;
  border: none;
  color: #fff;
  box-shadow: 0 6px 16px rgba(10, 10, 10, 0.12);
}

.rl-hero-visual__pill--fl {
  background: var(--rl-source-fl);
  transform: rotate(-4deg);
}

.rl-hero-visual__pill--kwork {
  background: var(--rl-source-kwork);
  transform: rotate(3deg);
}

.rl-hero-visual__pill--tg {
  background: var(--rl-source-tg);
  transform: rotate(-2deg);
}

.rl-hero-visual__flow {
  position: relative;
  height: 2.5rem;
  margin: 0.25rem auto 0.5rem;
  max-width: 12rem;
}

.rl-hero-visual__flow-line {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, var(--rl-border) 15%, var(--rl-match-bar) 50%, var(--rl-border) 85%, transparent);
}

.rl-hero-visual__flow-node {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--rl-match-bar);
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.12);
}

.rl-hero-visual__card {
  margin-top: 0.5rem;
  padding: 1.25rem;
  border-radius: var(--rl-radius-card);
  border: 2px solid var(--rl-text-primary);
  background: var(--rl-bg-page);
  box-shadow: 0 12px 32px rgba(10, 10, 10, 0.1);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.rl-hero-visual__card-label {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rl-text-muted);
}

.rl-hero-visual__card-title {
  margin: 0 0 0.25rem;
  font-family: var(--rl-font-display);
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--rl-text-primary);
  letter-spacing: -0.02em;
}

.rl-hero-visual__card-budget {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  color: var(--rl-text-muted);
}

.rl-hero-visual__match {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--rl-text-muted);
  margin-bottom: 0.35rem;
}

.rl-hero-visual__match strong {
  color: var(--rl-match-bar);
}

.rl-hero-visual__bar {
  height: 8px;
  background: var(--rl-border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.rl-hero-visual__bar span {
  display: block;
  height: 100%;
  background: var(--rl-match-bar);
  border-radius: 999px;
}

.rl-hero-visual__chips {
  display: flex;
  gap: 0.5rem;
}

.rl-hero-visual__chip {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: var(--rl-radius-button);
  background: var(--rl-bg-section);
  color: var(--rl-text-muted);
}

.rl-hero-visual__chip--ok {
  background: rgba(22, 163, 74, 0.12);
  color: var(--rl-status-success);
}

.rl-hero-visual__orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed var(--rl-border);
  pointer-events: none;
}

.rl-hero-visual__orbit--1 {
  width: 120px;
  height: 120px;
  top: -20px;
  right: -24px;
  animation: rl-orbit-spin 24s linear infinite;
}

.rl-hero-visual__orbit--2 {
  width: 64px;
  height: 64px;
  bottom: 12px;
  left: -16px;
  animation: rl-orbit-spin 18s linear infinite reverse;
}

@keyframes rl-orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 899px) {
  .rl-hero-visual {
    max-width: 420px;
    margin-inline: auto;
  }

  .rl-hero__hint {
    display: none;
  }
}

/* Flow block */
.rl-flow {
  background:
    radial-gradient(ellipse 50% 40% at 15% 85%, rgba(37, 99, 235, 0.08), transparent),
    radial-gradient(ellipse 45% 35% at 88% 15%, rgba(14, 165, 233, 0.07), transparent),
    radial-gradient(ellipse 35% 30% at 70% 75%, rgba(234, 88, 12, 0.06), transparent),
    var(--rl-bg-page);
}

.rl-flow__title {
  font-family: var(--rl-font-display);
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.75rem);
  font-weight: 800;
  margin: 0 0 2.5rem;
  text-align: center;
  letter-spacing: -0.03em;
}

.rl-flow__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2rem;
}

.rl-flow__sources {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0;
  min-width: 11rem;
}

.rl-source-cube {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(7.5rem, 14vw, 9.5rem);
  height: clamp(7.5rem, 14vw, 9.5rem);
  border-radius: 22px;
  font-family: var(--rl-font-display);
  font-weight: 800;
  font-size: clamp(1rem, 2vw, 1.2rem);
  letter-spacing: -0.02em;
  color: #fff;
  border: none;
  box-shadow: 0 16px 40px rgba(10, 10, 10, 0.14);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

.rl-source-cube__name {
  text-align: center;
  line-height: 1.1;
  padding: 0.25rem;
}

.rl-source-cube--fl {
  background: linear-gradient(145deg, #00884a, var(--rl-source-fl));
  z-index: 1;
}

.rl-source-cube--kwork {
  background: linear-gradient(145deg, #c2410c, var(--rl-source-kwork));
  z-index: 2;
  margin-block: -0.35rem;
}

.rl-source-cube--tg {
  background: linear-gradient(145deg, #006699, var(--rl-source-tg));
  z-index: 1;
}

.rl-source-cube:hover {
  z-index: 3;
}

.rl-flow__sources.is-visible .rl-source-cube--fl:hover,
.rl-flow__sources.is-visible .rl-source-cube:nth-child(1):hover {
  animation: rl-cube-wiggle-fl 0.45s ease-in-out;
}

.rl-flow__sources.is-visible .rl-source-cube--kwork:hover,
.rl-flow__sources.is-visible .rl-source-cube:nth-child(2):hover {
  animation: rl-cube-wiggle-kwork 0.45s ease-in-out;
}

.rl-flow__sources.is-visible .rl-source-cube--tg:hover,
.rl-flow__sources.is-visible .rl-source-cube:nth-child(3):hover {
  animation: rl-cube-wiggle-tg 0.45s ease-in-out;
}

@keyframes rl-cube-wiggle-fl {
  0%,
  100% {
    transform: rotate(-7deg) translateX(-6px);
  }

  50% {
    transform: rotate(-4deg) translateX(-6px);
  }
}

@keyframes rl-cube-wiggle-kwork {
  0%,
  100% {
    transform: rotate(5deg) translateX(10px);
  }

  50% {
    transform: rotate(8deg) translateX(10px);
  }
}

@keyframes rl-cube-wiggle-tg {
  0%,
  100% {
    transform: rotate(-4deg) translateX(-4px);
  }

  50% {
    transform: rotate(-1deg) translateX(-4px);
  }
}

.rl-flow__arrow {
  flex-shrink: 0;
  color: var(--rl-text-primary);
  opacity: 0.85;
  padding: 0 0.5rem;
}

.rl-flow__arrow svg {
  display: block;
  width: clamp(2.5rem, 6vw, 3.5rem);
  height: auto;
}

.rl-lead-card {
  flex: 1 1 300px;
  max-width: 420px;
  padding: 20px 24px;
  border: none;
  border-radius: var(--rl-radius-card);
  background: #ffffff;
  box-shadow: var(--rl-shadow-card);
  cursor: pointer;
  transition: box-shadow 150ms ease-out, transform 150ms ease-out;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.rl-flow.rl-reveal .rl-lead-card {
  opacity: 0;
  transform: translateY(28px);
  box-shadow: 0 8px 20px rgba(10, 10, 10, 0.08);
  transition:
    opacity 420ms ease-out,
    transform 420ms ease-out,
    box-shadow 420ms ease-out;
  transition-delay: 180ms;
}

.rl-flow.rl-reveal.is-visible .rl-lead-card {
  opacity: 1;
  transform: translateY(0);
  box-shadow: var(--rl-shadow-card);
}

.rl-lead-card:hover {
  box-shadow: var(--rl-shadow-hover);
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .rl-lead-card {
    padding: 16px 18px;
  }
}

.rl-lead-card__title {
  font-family: var(--font-main);
  font-size: 1.125rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
  color: var(--rl-text-primary);
  letter-spacing: -0.02em;
}

.rl-lead-card__budget {
  font-size: 0.875rem;
  color: var(--rl-text-muted);
  margin: 0 0 1rem;
}

.rl-match {
  margin-bottom: 1rem;
}

.rl-match__label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--rl-text-muted);
  margin-bottom: 0.35rem;
}

.rl-match__bar {
  height: 4px;
  background: var(--rl-border);
  border-radius: 2px;
  overflow: hidden;
}

.rl-match__fill {
  display: block;
  height: 100%;
  background: var(--rl-match-fill);
  border-radius: 2px;
  width: 0;
  transition: width 600ms ease-out;
}

.rl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.rl-chip {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--rl-radius-button);
}

.rl-chip--take {
  background: rgba(22, 163, 74, 0.12);
  color: var(--rl-status-success);
}

.rl-chip--maybe {
  background: var(--rl-bg-section);
  color: var(--rl-text-muted);
}

.rl-chip--more {
  background: var(--rl-bg-section);
  color: var(--rl-text-muted);
}

.rl-lead-card .rl-chips .rl-chip,
.rl-feed-list .rl-chips .rl-chip,
#rl-cabinet-list .rl-chips .rl-chip {
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
}

.rl-flow__caption {
  text-align: center;
  font-size: 0.875rem;
  color: var(--rl-text-muted);
  margin-top: 1.5rem;
}

@media (max-width: 767px) {
  .rl-flow__grid {
    flex-direction: column;
  }

  .rl-flow__sources {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    min-width: auto;
    gap: 0.75rem;
  }

  .rl-source-cube {
    width: 6.5rem;
    height: 6.5rem;
    font-size: 0.875rem;
    border-radius: 18px;
  }

  .rl-flow__arrow {
    transform: rotate(90deg);
  }
}

/* Manifest strip */
.rl-manifest {
  background: var(--rl-bg-inverse);
  color: var(--rl-text-inverse);
  padding-block: calc(var(--rl-section-y) * 0.85);
  text-align: center;
  min-height: min(70vh, 520px);
  display: flex;
  align-items: center;
}

.rl-manifest .rl-container {
  position: relative;
}

.rl-manifest__mark {
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(5rem, 18vw, 10rem);
  line-height: 1;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.08);
  margin: 0;
  pointer-events: none;
  user-select: none;
}

.rl-manifest__quote {
  position: relative;
  font-size: clamp(1.5rem, 3vw + 0.5rem, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  max-width: 22ch;
  margin-inline: auto;
}

/* Features — static grid */
.rl-features-scroll__head {
  margin-bottom: 1.25rem;
}

.rl-features-scroll__head h2 {
  margin: 0;
  font-family: var(--rl-font-display);
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2.25rem);
  font-weight: 800;
}

.rl-features-track {
  display: grid;
  gap: 1rem;
  overflow: visible;
}

@media (min-width: 768px) {
  .rl-features-track {
    grid-template-columns: repeat(3, 1fr);
  }
}

.rl-feature {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--rl-border);
  border-radius: var(--rl-radius-card);
  background: var(--rl-bg-page);
}

.rl-feature__title {
  margin: 0 0 0.65rem;
  font-size: 1.125rem;
}

.rl-feature__text {
  margin: 0;
  font-size: 0.925rem;
  line-height: 1.55;
}

/* Audience cards */
.rl-audience {
  display: grid;
  gap: 1rem;
  overflow-x: hidden;
}

@media (min-width: 768px) {
  .rl-audience {
    grid-template-columns: repeat(2, 1fr);
  }
}

.rl-audience-card {
  padding: 1.5rem;
  border: 1px solid var(--rl-border);
  border-radius: var(--rl-radius-card);
  background: var(--rl-bg-page);
}

.rl-audience-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.rl-audience-card__text {
  margin: 0 0 0.75rem;
  line-height: 1.55;
}

.rl-audience-card__tags {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--rl-text-muted);
  line-height: 1.4;
}

/* Pricing preview */
.rl-pricing {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .rl-pricing {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.rl-price-card {
  position: relative;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--rl-border);
  border-radius: var(--rl-radius-card);
  background: var(--rl-bg-page);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rl-price-card--featured {
  border-color: var(--rl-text-primary);
  box-shadow: 0 8px 32px rgba(10, 10, 10, 0.08);
}

.rl-price-card__ribbon {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--rl-cta-primary);
  color: var(--rl-cta-primary-text);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--rl-radius-button);
}

.rl-price-card__name {
  font-size: 1.125rem;
  margin: 0;
}

.rl-price-card__price {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  color: var(--rl-text-primary);
}

.rl-price-card__lead {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--rl-text-body);
  line-height: 1.5;
}

.rl-pricing__note {
  margin: 1.5rem 0 0.75rem;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--rl-text-muted);
}

.rl-pricing__link {
  margin: 0;
  text-align: center;
}

.rl-price-card__list {
  margin: 0;
  padding-left: 1.15rem;
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.rl-price-card__badge {
  font-size: 0.8125rem;
  color: var(--rl-text-muted);
  font-weight: 600;
  position: absolute;
  top: 1rem;
  right: 1rem;
  margin: 0;
}

.rl-price-card__cta {
  margin-top: auto;
}

/* Custom footer */
.rl-footer {
  background: var(--rl-bg-inverse);
  color: var(--rl-text-muted);
  padding-block: 3rem;
  font-size: 0.9375rem;
}

.rl-footer__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.rl-footer__brand {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--rl-text-inverse) !important;
  text-decoration: none !important;
}

.rl-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rl-footer__links a {
  color: var(--rl-text-inverse) !important;
  text-decoration: none !important;
  opacity: 0.85;
}

.rl-footer__links a:hover {
  opacity: 1;
}

.rl-footer__copy {
  width: 100%;
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
}

/* Inner pages — общий каркас */
body.rawlead-inner .content-area,
body.rawlead-inner .site-main,
body.rawlead-inner .content-wrap,
body.rawlead-inner .content-bg {
  background: var(--rl-bg-page) !important;
  box-shadow: none !important;
  padding-top: 0 !important;
}

body.rawlead-inner .entry-header,
body.rawlead-inner .page-title,
body.rawlead-inner .entry-hero {
  display: none !important;
}

.rl-inner-hero {
  padding-block: calc(var(--rl-section-y) * 0.55) 2.5rem;
  background:
    radial-gradient(ellipse 60% 50% at 90% 0%, rgba(37, 99, 235, 0.06), transparent),
    var(--rl-bg-page);
  border-bottom: 1px solid var(--rl-border);
}

.rl-inner-hero__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rl-text-muted);
}

.rl-inner-hero__title {
  margin: 0;
  font-family: var(--rl-font-display);
  font-size: clamp(2.5rem, 5vw + 0.5rem, 4rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 14ch;
}

.rl-inner-hero__lead {
  margin: 1rem 0 0;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--rl-text-body);
  max-width: 40rem;
}

.rl-inner-body {
  padding-block: 2.5rem 4rem;
}

.rl-prose {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--rl-text-body);
}

.rl-prose > h2 {
  font-family: var(--rl-font-display);
  font-weight: 800;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  color: var(--rl-text-primary);
  margin: 2.5rem 0 1rem;
}

.rl-prose > h2:first-child {
  margin-top: 0;
}

.rl-prose > p,
.rl-prose > ul {
  margin: 0 0 1rem;
}

.rl-prose > ul {
  padding-left: 1.25rem;
}

.rl-prose > hr {
  border: none;
  border-top: 1px solid var(--rl-border);
  margin: 2rem 0;
}

.rl-prose strong {
  color: var(--rl-text-primary);
  font-weight: 600;
}

.rl-prose em {
  color: var(--rl-text-muted);
  font-style: normal;
  font-size: 0.9375rem;
}

.rl-prose a {
  color: var(--rl-text-primary);
  font-weight: 500;
}

/* Внутренние — карточки-блоки (how, pricing) */
.rl-block-card {
  margin: 0 0 1.25rem;
  border: 1px solid var(--rl-border);
  border-radius: var(--rl-radius-card);
  background: var(--rl-bg-page);
  box-shadow: 0 10px 28px rgba(10, 10, 10, 0.05);
  overflow: hidden;
}

.rl-block-card > h2 {
  margin: 0 !important;
  padding: 1.35rem 1.5rem 0.75rem !important;
  font-family: var(--rl-font-display) !important;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  border-bottom: 1px solid var(--rl-border);
  background: var(--rl-bg-section);
}

.rl-block-card__body {
  padding: 1rem 1.5rem 1.25rem;
}

.rl-block-card__body > :last-child {
  margin-bottom: 0 !important;
}

body.page-pricing .rl-block-card__body strong {
  font-family: var(--rl-font-display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

body.page-pricing .rl-block-card:nth-of-type(2) {
  border-color: var(--rl-text-primary);
  box-shadow: 0 16px 40px rgba(10, 10, 10, 0.1);
}

body.page-pricing .rl-block-card:nth-of-type(2) > h2::after {
  content: "Популярный";
  display: inline-block;
  margin-left: 0.65rem;
  font-size: 0.625rem;
  font-family: var(--rl-font);
  font-weight: 700;
  vertical-align: middle;
  padding: 0.25rem 0.55rem;
  border-radius: var(--rl-radius-button);
  background: var(--rl-cta-primary);
  color: var(--rl-cta-primary-text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* FAQ */
.rl-faq-card {
  margin: 0 0 1rem;
  border: 1px solid var(--rl-border);
  border-radius: var(--rl-radius-card);
  overflow: hidden;
  background: var(--rl-bg-page);
}

.rl-faq-card > h2 {
  margin: 0 !important;
  padding: 1.15rem 1.25rem 0.5rem !important;
  font-size: 1.1rem !important;
  background: var(--rl-bg-section);
}

.rl-faq-card > p {
  margin: 0 !important;
  padding: 0 1.25rem 1.15rem !important;
}

/* Контакты */
body.page-contact .rl-prose > h2 {
  font-size: 1.125rem;
  margin-top: 2rem;
}

body.page-contact .rl-prose > h2:first-of-type + p {
  padding: 1.75rem;
  border: 2px solid var(--rl-text-primary);
  border-radius: var(--rl-radius-card);
  background: linear-gradient(165deg, #fff 0%, var(--rl-bg-section) 100%);
  font-size: 1.2rem;
  box-shadow: 0 12px 32px rgba(10, 10, 10, 0.08);
}

body.page-contact .rl-prose > h2:first-of-type + p strong {
  font-family: var(--rl-font-display);
  font-weight: 800;
  font-size: 1.35rem;
}

.rl-prose .rl-page-cta {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rl-border);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
}

/* ── /feed · /cabinet (3d) ───────────────────────────────────────────── */

.rl-app {
  padding-block: 2rem 4rem;
  min-height: 60vh;
}

.rl-app__layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .rl-app__layout {
    grid-template-columns: 280px 1fr;
    align-items: start;
  }
}

.rl-feed-sidebar {
  display: none;
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 5.5rem);
  padding: 0;
  border: 1px solid var(--rl-border);
  border-radius: var(--rl-radius-card);
  background: var(--rl-bg-page);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .rl-feed-sidebar {
    display: block;
  }
}

.rl-feed-sidebar__scroll {
  max-height: calc(100vh - 5.5rem);
  padding: 1.25rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.rl-feed-sidebar__scroll:hover {
  scrollbar-color: var(--rl-text-muted) transparent;
}

.rl-feed-sidebar__title {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.rl-feed-filter {
  border: none;
  margin: 0 0 1.25rem;
  padding: 0 0 1rem;
  border-bottom: 1px solid var(--rl-border);
}

.rl-feed-filter legend {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--rl-text-muted);
  margin-bottom: 0.5rem;
}

/* Кабинет: до входа — только плашка, без фильтров/ленты (Kadence ломает [hidden]) */
.rl-app--cabinet.rl-cabinet--gate #rl-cabinet-app,
.rl-app--cabinet.rl-cabinet--gate .rl-cabinet-app {
  display: none !important;
}

.rl-app--cabinet.rl-cabinet--logged-in #rl-cabinet-login {
  display: none !important;
}

.rl-app--cabinet.rl-cabinet--logged-in.rl-cabinet--gate #rl-cabinet-app,
.rl-app--cabinet.rl-cabinet--logged-in.rl-cabinet--gate .rl-cabinet-app {
  display: flex !important;
}

.rl-cabinet-login {
  display: flex;
  justify-content: center;
  padding: 3rem 1rem 4rem;
}

.rl-cabinet-login__direct {
  margin: 1.25rem 0 0;
}

.rl-cabinet-login__card {
  max-width: 420px;
  width: 100%;
  text-align: center;
  padding: 2rem 1.5rem;
  border: 2px solid var(--rl-border);
  border-radius: var(--rl-radius-card, 16px);
}

.rl-cabinet-login__title {
  margin: 0 0 0.75rem;
  font-family: var(--rl-font-display, inherit);
  font-size: 1.75rem;
  font-weight: 700;
}

.rl-cabinet-login__lead {
  margin: 0 0 1.5rem;
  color: var(--rl-text-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.rl-cabinet-login__widget {
  display: flex;
  justify-content: center;
  min-height: 48px;
}

.rl-cabinet-login__hint {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  color: var(--rl-text-muted);
}

.rl-cabinet-login__state {
  margin: 0.9rem 0 0;
  font-size: 0.8125rem;
}

.rl-cabinet-login__state--info {
  color: var(--rl-text-muted);
}

.rl-cabinet-login__state--warn {
  color: #8a6d1d;
}

.rl-cabinet-login__state--error {
  color: #a33;
}

.rl-cabinet-login__state--ok {
  color: #1f7a45;
}

.rl-cabinet-login__fallback {
  margin-top: 1rem;
}

.rl-cabinet-login__fallback .rl-btn.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.rl-feed-filter--category {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.rl-feed-filter--category legend {
  flex: 0 0 100%;
}

.rl-feed-filter--category .rl-feed-chip {
  display: inline-flex;
  margin: 0;
}

.rl-feed-chip__label--short {
  display: none;
}

@media (max-width: 767px) {
  .rl-feed-filter--category .rl-feed-chip__label--full {
    display: none;
  }

  .rl-feed-filter--category .rl-feed-chip__label--short {
    display: inline;
  }
}

.rl-feed-chip {
  display: block;
  margin: 0.35rem 0;
  font-size: 0.875rem;
  cursor: pointer;
}

.rl-feed-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rl-feed-chip.is-active {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: var(--rl-radius-button);
  background: var(--rl-cta-primary);
  color: var(--rl-cta-primary-text);
  font-weight: 600;
}

.rl-feed-skills-dd {
  border: none;
  margin: 0 0 1.25rem;
  padding: 0 0 1rem;
  border-bottom: 1px solid var(--rl-border);
}

.rl-feed-skills-dd__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  list-style: none;
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--rl-text-muted);
  user-select: none;
}

.rl-feed-skills-dd__trigger::-webkit-details-marker {
  display: none;
}

.rl-feed-skills-dd__trigger::after {
  content: "▾";
  font-size: 0.75rem;
  color: var(--rl-text-muted);
  transition: transform 150ms ease-out;
}

.rl-feed-skills-dd[open] .rl-feed-skills-dd__trigger::after {
  transform: rotate(180deg);
}

.rl-feed-skills-dd__badge {
  display: inline-flex;
  min-width: 1.25rem;
  padding: 0.1rem 0.4rem;
  border-radius: var(--rl-radius-button);
  background: var(--rl-cta-primary);
  color: var(--rl-cta-primary-text);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.2;
}

.rl-feed-skills-dd__panel {
  margin-top: 0.5rem;
  max-height: 14rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

.rl-feed-skills-dd__panel:hover {
  scrollbar-color: var(--rl-text-muted) transparent;
}

.rl-feed-skills__lead {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--rl-text-muted);
}

.rl-feed-skills__hint {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--rl-text-muted);
}

.rl-cabinet-tags-clear {
  margin-top: 0.35rem;
}

.rl-feed-skills-clear {
  border: none;
  background: transparent;
  padding: 0;
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--rl-text-muted);
  text-decoration: underline;
  cursor: pointer;
}

.rl-feed-skills-dd + .rl-feed-skills-apply {
  display: none;
  width: 100%;
  margin-top: 0.65rem;
}

.rl-feed-skills-dd[open] + .rl-feed-skills-apply {
  display: block;
}

.rl-feed-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.rl-feed-skill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--rl-border);
  border-radius: var(--rl-radius-button);
  background: var(--rl-surface);
  color: var(--rl-text);
  font-size: 0.8125rem;
  cursor: pointer;
}

.rl-feed-skill.is-active {
  background: var(--rl-cta-primary);
  color: var(--rl-cta-primary-text);
  border-color: transparent;
  font-weight: 600;
}

.rl-feed-skill__count {
  opacity: 0.65;
  font-size: 0.75rem;
}

.rl-feed-skills-group + .rl-feed-skills-group {
  margin-top: 0.75rem;
}

.rl-feed-skills-group__title {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--rl-text-muted);
}

.rl-feed-skills-group__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.rl-feed-skills__empty {
  font-size: 0.8125rem;
  color: var(--rl-text-muted);
  margin: 0;
  line-height: 1.4;
}

.rl-feed-reset {
  font-size: 0.8125rem;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}

.rl-feed-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1.5rem;
}

.rl-feed-head__title {
  margin: 0;
  font-family: var(--rl-font-display);
  font-size: clamp(1.75rem, 3vw, 2rem);
  font-weight: 900;
}

.rl-feed-head__count {
  margin: 0;
  font-size: 0.875rem;
  color: var(--rl-text-muted);
}

.rl-feed-filters-btn {
  display: inline-flex;
}

@media (min-width: 1024px) {
  .rl-feed-filters-btn {
    display: none;
  }
}

.rl-feed-banner {
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-left: 3px solid #dc2626;
  background: #fef2f2;
  font-size: 0.875rem;
}

.rl-feed-banner__retry {
  margin-left: 0.5rem;
  text-decoration: underline;
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

.rl-feed-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 1rem;
  max-width: 880px;
  width: 100%;
  margin: 0 auto;
}

/* Раскрыта одна карточка — соседи не тянутся по её высоте */
.rl-feed-list:has(.rl-lead-card.is-expanded) {
  align-items: start;
}

@media (max-width: 767px) {
  .rl-feed-list {
    grid-template-columns: 1fr;
  }
}

.rl-feed-list .rl-lead-card {
  display: flex;
  flex: none;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  max-width: 420px;
  width: 100%;
  cursor: pointer;
  margin: 0;
  justify-self: center;
}

.rl-feed-list:has(.rl-lead-card.is-expanded) .rl-lead-card {
  height: auto;
}

.rl-feed-list .rl-lead-card .rl-chips {
  margin-top: auto;
  margin-bottom: 0;
  align-content: flex-start;
}

.rl-feed-list .rl-lead-card .rl-feed-card__body {
  flex: 0 0 auto;
}

.rl-feed-list .rl-lead-card:not(.is-expanded) .rl-feed-card__body,
#rl-cabinet-list .rl-lead-card:not(.is-expanded) .rl-feed-card__body {
  margin: 0;
  padding: 0;
  border: none;
}

#rl-cabinet-list .rl-lead-card {
  flex: none;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  max-width: 420px;
  width: 100%;
  cursor: pointer;
  justify-self: center;
}

#rl-cabinet-list .rl-lead-card .rl-chips {
  margin-top: auto;
  margin-bottom: 0;
  align-content: flex-start;
}

#rl-cabinet-list .rl-lead-card .rl-feed-card__body {
  flex: 0 0 auto;
}

.rl-feed-list .rl-lead-card__title,
#rl-cabinet-list .rl-lead-card__title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rl-feed-list .rl-lead-card.is-expanded .rl-lead-card__title,
#rl-cabinet-list .rl-lead-card.is-expanded .rl-lead-card__title {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

.rl-feed-list .rl-lead-card.rl-match-ready .rl-match__fill,
#rl-cabinet-list .rl-lead-card.rl-match-ready .rl-match__fill {
  width: var(--match-value, 0%);
}

.rl-feed-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.rl-feed-card__head-start {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  min-width: 0;
  flex: 1 1 auto;
}

.rl-badge-hot {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0.125rem 0.5rem;
  border-radius: var(--rl-radius-chip);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--rl-badge-hot-text);
  background: var(--rl-badge-hot-bg);
}

.rl-feed-card__source {
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.rl-feed-card__source::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rl-text-muted);
}

.rl-feed-card__source--fl::before {
  background: var(--rl-source-fl);
}

.rl-feed-card__source--kwork::before {
  background: var(--rl-source-kwork);
}

.rl-feed-card__source--tg::before {
  background: var(--rl-source-tg);
}

.rl-feed-card__time {
  font-size: 0.75rem;
  color: var(--rl-text-muted);
  flex-shrink: 0;
}

.rl-feed-list .rl-lead-card .rl-lead-card__budget,
#rl-cabinet-list .rl-lead-card .rl-lead-card__budget {
  margin-bottom: 1rem;
}

.rl-feed-card__body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  margin-top: 0;
  padding-top: 0;
  border-top: 1px solid transparent;
  transition:
    grid-template-rows 300ms ease-out,
    opacity 300ms ease-out,
    margin 300ms ease-out,
    padding 300ms ease-out,
    border-color 300ms ease-out;
}

.rl-feed-card__body-inner {
  overflow: hidden;
  min-height: 0;
}

.rl-feed-list .rl-lead-card.is-expanded .rl-feed-card__body,
#rl-cabinet-list .rl-lead-card.is-expanded .rl-feed-card__body {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top-color: var(--rl-border);
}

.rl-feed-card__section {
  margin-bottom: 0.85rem;
}

.rl-feed-card__section:last-child {
  margin-bottom: 0;
}

.rl-feed-card__section-title {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rl-text-muted);
}

.rl-feed-card__task,
.rl-feed-card__text,
.rl-feed-card__reply {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  white-space: pre-wrap;
}

.rl-feed-card__tools {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--rl-text);
}

.rl-feed-card__tools li {
  margin-bottom: 0.25rem;
}

.rl-feed-card__tools li:last-child {
  margin-bottom: 0;
}

.rl-feed-card__reply {
  padding: 0.65rem 0.75rem;
  border-left: 3px solid var(--rl-border);
  background: var(--rl-bg-section);
  border-radius: 0 var(--rl-radius-sm) var(--rl-radius-sm) 0;
}

.rl-feed-card__text.rl-feed-card__muted {
  color: var(--rl-text-muted);
}

.rl-feed-card__link {
  margin-top: 0.75rem;
}

.rl-feed-skeleton {
  height: 140px;
  max-width: 420px;
  width: 100%;
  border-radius: var(--rl-radius-card);
  background: linear-gradient(90deg, var(--rl-bg-section) 25%, #ececef 50%, var(--rl-bg-section) 75%);
  background-size: 200% 100%;
  animation: rl-skeleton-pulse 1.2s ease-in-out infinite;
}

@keyframes rl-skeleton-pulse {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.rl-feed-list > .rl-feed-empty,
.rl-feed-list > .rl-feed-skeleton:first-child:last-child,
body.page-lenta #rl-feed-list > .rl-feed-end {
  grid-column: 1 / -1;
  justify-self: center;
}

.rl-feed-list .rl-feed-empty {
  max-width: 420px;
  width: 100%;
}

.rl-feed-empty,
.rl-feed-end {
  text-align: center;
  color: var(--rl-text-muted);
  font-size: 0.9375rem;
  padding: 2rem 0;
}

.rl-feed-sentinel {
  height: 1px;
}

.rl-feed-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.25rem 0 0.5rem;
  color: var(--rl-text-muted);
  font-size: 0.875rem;
}

.rl-feed-loading__spinner {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--rl-border);
  border-top-color: var(--rl-match-bar);
  border-radius: 50%;
  animation: rl-feed-spin 0.7s linear infinite;
}

@keyframes rl-feed-spin {
  to {
    transform: rotate(360deg);
  }
}

.rl-feed-sheet__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 150;
}

.rl-feed-sheet__panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 160;
  background: var(--rl-bg-page);
  border-radius: var(--rl-radius-card) var(--rl-radius-card) 0 0;
  padding: 1.25rem;
  transform: translateY(0);
  transition: transform 300ms ease-out;
  max-height: 85vh;
  overflow: auto;
}

.rl-feed-sheet[hidden] {
  display: none;
}

.rl-feed-sheet__actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* Cabinet skeleton */
.rl-cabinet-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  background: var(--rl-bg-section);
  border: 1px solid var(--rl-border);
  border-radius: var(--rl-radius-md);
}

.rl-cabinet-user__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.rl-cabinet-user__info {
  flex: 1;
  min-width: 0;
}

.rl-cabinet-user__label {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--rl-text-body);
}

.rl-cabinet-user__hint {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--rl-text-muted);
}

.rl-cabinet-user__hint a {
  color: var(--rl-cta);
}

.rl-cabinet-sub {
  margin-bottom: 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--rl-bg-section);
  border: 1px solid var(--rl-border);
  border-radius: var(--rl-radius-md);
}

.rl-cabinet-sub__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.rl-cabinet-sub__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
}

.rl-cabinet-sub__badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--rl-radius-sm);
  background: var(--rl-bg-page);
  border: 1px solid var(--rl-border-light);
}

.rl-cabinet-sub__badge--beta,
.rl-cabinet-sub__badge--free {
  background: #eef2ff;
  color: #4338ca;
  border-color: #c7d2fe;
}

.rl-cabinet-sub__badge--active {
  background: #dcfce7;
  color: #15803d;
  border-color: #bbf7d0;
}

.rl-cabinet-sub__badge--paused {
  background: #fef3c7;
  color: #b45309;
  border-color: #fde68a;
}

.rl-cabinet-sub__badge--expired {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fecaca;
}

.rl-cabinet-sub__plan {
  margin: 0 0 0.25rem;
  font-weight: 600;
}

.rl-cabinet-sub__detail {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: var(--rl-text-muted);
}

.rl-cabinet-sub__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.rl-cabinet-sub__pay.is-disabled {
  opacity: 0.55;
  pointer-events: none;
  cursor: not-allowed;
}

.rl-cabinet-sub__note {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--rl-text-muted);
  line-height: 1.45;
}

.rl-cabinet-login__bot-hint {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  color: var(--rl-text-muted);
  line-height: 1.5;
}

.rl-cabinet-login__bot-hint code {
  font-size: 0.8125rem;
  background: var(--rl-bg-section);
  padding: 0.1rem 0.35rem;
  border-radius: var(--rl-radius-sm);
}

.rl-feed-card__cta {
  margin-top: 0.75rem;
}

.rl-feed-card__reply-btn {
  width: 100%;
}

.rl-feed-card__copy {
  margin-top: 0.5rem;
}

.rl-cabinet-head {
  margin-bottom: 2rem;
}

.rl-cabinet-head__title {
  margin: 0 0 0.75rem;
  font-family: var(--rl-font-display);
  font-size: clamp(1.75rem, 3vw, 1.75rem);
  font-weight: 700;
}

.rl-cabinet-head__label {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  color: var(--rl-text-muted);
}

.rl-cabinet-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.rl-cabinet-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: var(--rl-radius-button);
  background: var(--rl-cta-primary);
  color: var(--rl-cta-primary-text);
  font-size: 0.8125rem;
  font-weight: 600;
}

.rl-cabinet-tag--add {
  background: transparent;
  color: var(--rl-text-primary);
  border: 1px solid var(--rl-border);
  cursor: pointer;
}

.rl-cabinet-tag__remove {
  margin-left: 0.35rem;
  padding: 0 0.2rem;
  border: none;
  background: none;
  color: inherit;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.75;
}

.rl-cabinet-tag__remove:hover {
  opacity: 1;
}

.rl-cabinet-tags.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

.rl-cabinet-skills-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 120;
}

.rl-cabinet-skills-modal__panel {
  position: fixed;
  z-index: 121;
  left: 0;
  right: 0;
  top: var(--rl-header-h, 56px);
  transform: none;
  width: 100%;
  max-width: 100%;
  border-radius: 0 0 20px 20px;
  max-height: min(70vh, 560px);
}

.rl-cabinet-skills-search-wrap {
  display: block;
  padding: 0 1rem 0.5rem;
}

.rl-cabinet-skills-search {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--rl-border);
  border-radius: var(--rl-radius-button);
  background: var(--rl-bg);
  color: var(--rl-text-primary);
  font: inherit;
}

@media (max-width: 767px) {
  :root {
    --rl-header-h: 52px;
  }
}

.rl-feed-skill.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.rl-cabinet-feed-head {
  margin-bottom: 1rem;
}

.rl-cabinet-head__hint {
  margin: 0;
  font-size: 0.875rem;
  color: var(--rl-text-muted);
}

.rl-cabinet-empty {
  text-align: center;
  padding: 3rem 1rem;
  border: 1px dashed var(--rl-border);
  border-radius: var(--rl-radius-card);
}

.rl-cabinet-empty p {
  margin: 0 0 1.5rem;
  color: var(--rl-text-muted);
}

.rl-feed-card__km {
  font-size: 0.75rem;
  color: var(--rl-text-muted);
}

.rl-feed-card__agent {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  color: var(--rl-text-muted);
}

.rl-feed-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
}

.rl-btn--soon:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* === REVOLUTION E5 — filter bar, feed layout, bug FAB === */

.is-visually-hidden,
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

.rl-manifest {
  display: none;
}

.rl-app--feed .rl-container.rl-feed-main-wrap,
.rl-app--cabinet .rl-container.rl-feed-main-wrap {
  max-width: 900px;
  padding: 24px 16px;
}

.rl-app--feed .rl-app__layout,
.rl-app--cabinet .rl-app__layout {
  display: block;
}

.rl-filter-bar {
  position: sticky;
  top: 56px;
  z-index: 90;
  background: var(--rl-bg-page);
  border-bottom: 1px solid var(--rl-border);
}

.rl-filter-bar:has(.rl-feed-skills-dd[open]),
.rl-filter-bar:has(.rl-filter-sort-dd[open]) {
  z-index: 200;
  overflow: visible;
}

.rl-filter-bar__inner {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 52px;
  padding: 0 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.rl-filter-bar__inner:has(.rl-feed-skills-dd[open]),
.rl-filter-bar__inner:has(.rl-filter-sort-dd[open]) {
  overflow: visible;
}

.rl-filter-bar__inner::-webkit-scrollbar {
  display: none;
}

.rl-filter-bar__cats {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
  border: none;
  margin: 0;
  padding: 0;
}

.rl-cat-chip {
  flex-shrink: 0;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: var(--rl-radius-chip);
  background: var(--rl-bg-section);
  border: 1px solid var(--rl-border);
  color: var(--rl-text-body);
  font: 600 13px/1 var(--font-main);
  cursor: pointer;
  white-space: nowrap;
  transition: background 150ms, color 150ms, border-color 150ms;
}

.rl-cat-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rl-cat-chip.is-active {
  background: var(--rl-chip-active-bg);
  color: #ffffff;
  border-color: var(--rl-chip-active-bg);
}

.rl-cat-chip__icon {
  font-size: 12px;
  opacity: 0.85;
}

.rl-cat-chip__label--short {
  display: none;
}

@media (max-width: 374px) {
  .rl-cat-chip__label--full {
    display: none;
  }

  .rl-cat-chip__label--short {
    display: inline;
  }
}

.rl-filter-bar__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex-shrink: 0;
}

.rl-filter-dropdown-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: var(--rl-radius-chip);
  background: var(--rl-bg-section);
  border: 1px solid var(--rl-border);
  color: var(--rl-text-body);
  font: 600 13px/1 var(--font-main);
  cursor: pointer;
  white-space: nowrap;
  list-style: none;
}

.rl-filter-dropdown-btn::-webkit-details-marker {
  display: none;
}

.rl-filter-dropdown-btn.has-selection {
  background: var(--rl-chip-skill-bg);
  border-color: var(--rl-cta);
  color: var(--rl-cta);
}

.rl-sort-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  padding: 8px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  border: 1px solid var(--rl-border);
  border-radius: 16px;
  box-shadow: var(--rl-shadow-hover);
  z-index: 500;
}

.rl-skills-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 420px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  border: 1px solid var(--rl-border);
  border-radius: 16px;
  box-shadow: var(--rl-shadow-hover);
  padding: 20px 20px 0;
  z-index: 500;
  display: flex;
  flex-direction: column;
  max-height: min(420px, calc(100vh - 120px));
  overflow: hidden;
}

.rl-skills-panel__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
  padding-bottom: 8px;
}

.rl-skills-panel__body:hover {
  scrollbar-color: var(--rl-text-muted) transparent;
}

.rl-filter-bar .rl-feed-skills-dd__panel {
  max-height: min(420px, calc(100vh - 120px));
  overflow: hidden;
}

.rl-feed-skills-dd,
.rl-filter-sort-dd {
  position: relative;
  border: none;
  margin: 0;
  padding: 0;
}

.rl-skills-panel__title {
  margin: 0 0 12px;
  font: 700 15px/1.2 var(--font-main);
  color: var(--rl-text-primary);
}

.rl-feed-skills__section {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--rl-text-muted);
}

.rl-skills-panel__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-top: 0;
  padding: 12px 0 20px;
  border-top: 1px solid var(--rl-border);
  background: #ffffff;
}

.rl-skills-panel__footer .rl-feed-skills-apply {
  flex: 1;
}

.rl-sort-option {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
}

.rl-sort-option.is-active {
  background: var(--rl-chip-skill-bg);
  color: var(--rl-cta);
  font-weight: 600;
}

.rl-sort-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rl-filter-reset {
  border: none;
  background: none;
  padding: 6px 10px;
  font: 600 13px/1 var(--font-main);
  color: var(--rl-cta);
  cursor: pointer;
  white-space: nowrap;
}

.rl-sort-badge {
  max-width: 900px;
  margin: 0 auto;
  padding: 8px 16px 0;
  font-size: 13px;
  color: var(--rl-cta);
}

.rl-feed-skill,
.rl-skill-chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--rl-radius-chip);
  background: var(--rl-bg-section);
  border: 1px solid var(--rl-border);
  color: var(--rl-text-muted);
  font: 600 11px/1.4 var(--font-main);
  cursor: pointer;
}

.rl-feed-skill.is-active,
.rl-skill-chip.is-active {
  background: var(--rl-chip-skill-bg);
  color: var(--rl-chip-skill-txt);
  border-color: #c7d2fe;
}

.rl-feed-list {
  max-width: 900px;
  gap: 16px;
  padding: 0;
}

.rl-feed-list .rl-lead-card {
  max-width: none;
  justify-self: stretch;
}

.rl-feed-skeleton,
.rl-skeleton-card {
  border-radius: var(--rl-radius-card);
  height: 140px;
  animation: rl-pulse 1.4s ease-in-out infinite;
  background: var(--rl-bg-section);
}

@keyframes rl-pulse {
  0%,
  100% {
    background-color: var(--rl-bg-section);
  }

  50% {
    background-color: var(--rl-border);
  }
}

.rl-bug-fab {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 300;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--rl-border);
  box-shadow: var(--rl-shadow-card);
  color: var(--rl-cta);
  font: 700 16px/1 var(--font-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 150ms;
}

.rl-bug-fab:hover {
  box-shadow: var(--rl-shadow-hover);
}

.rl-bug-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 400;
}

.rl-bug-modal__panel {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 410;
  width: min(calc(100vw - 32px), 420px);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: var(--rl-shadow-hover);
  padding: 24px;
}

.rl-bug-modal__title {
  margin: 0 0 16px;
  font-size: 1.125rem;
}

.rl-bug-modal__label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.rl-bug-modal__input {
  width: 100%;
  min-height: 96px;
  padding: 10px 12px;
  border: 1px solid var(--rl-border);
  border-radius: 12px;
  font: 400 14px/1.4 var(--font-main);
  resize: vertical;
}

.rl-bug-modal__url {
  margin: 12px 0 16px;
  font-size: 12px;
  color: var(--rl-text-muted);
  word-break: break-all;
}

.rl-bug-modal__success {
  margin: 12px 0 0;
  color: var(--rl-status-success);
  font-size: 14px;
}

@media (max-width: 767px) {
  .rl-header {
    height: 52px;
  }

  .rl-header__inner {
    min-height: 52px;
  }

  .rl-filter-bar {
    top: 52px;
  }

  .rl-skills-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    width: 100%;
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    max-height: 80vh;
    overflow: hidden;
  }

  .rl-bug-fab {
    bottom: 80px;
    right: 16px;
  }
}

@media (min-width: 1024px) {
  .rl-app--feed .rl-feed-sidebar,
  .rl-feed-sidebar:not(.rl-filter-bar) {
    display: none !important;
  }
}

