/* Словарь рифм для песен (/instrumenty/slovar-rifm/) — v5 единый студийный экран */

.rh-page {
  --rh-wall: #0B0A09;
  --rh-surface-subtle: rgba(239, 232, 220, .028);
  --rh-surface-hover: rgba(239, 232, 220, .06);
  --rh-hair: rgba(239, 232, 220, .09);
  --rh-hair-2: rgba(239, 232, 220, .20);
  --rh-fog: #EEEEEC;
  --rh-ink: #0B0A09;
  --rh-fog-ink-2: #4B4944;
  --rh-fog-mute: #66645E;
  --rh-ease: cubic-bezier(.22, .61, .36, 1);
  --rh-slow: cubic-bezier(.16, 1, .3, 1);
  --rh-room: clamp(56px, 7vw, 104px);
  color: var(--ivory);
  font: 400 16px/1.55 var(--f-text);
  background: var(--rh-wall);
}
.rh-page [hidden] { display: none !important; }
.rh-page button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.rh-page input, .rh-page textarea { font: inherit; color: inherit; }
.rh-page a { color: inherit; text-decoration: none; }
.rh-page .num { font-variant-numeric: tabular-nums; }
.rh-page .it { font-family: var(--f-serif); font-style: italic; font-weight: 300; font-size: 1.14em; letter-spacing: -.01em; line-height: 1; }
.rh-page .eyebrow { font: 500 11.5px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin: 0; }
.rh-page .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

/* Breadcrumbs (.j-bar) */
.rh-page .j-bar { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 10px; }
.rh-page .j-crumbs ol {
  display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; row-gap: 4px;
  font: 400 11px/1.3 var(--f-mono); letter-spacing: .11em; text-transform: uppercase; color: var(--mute);
}
.rh-page .j-crumbs li + li::before { content: "/"; padding-inline: 10px; opacity: .55; }
.rh-page .j-crumbs a:hover { color: var(--ivory); }
.rh-page .j-crumbs [aria-current] { color: var(--ivory-2); }
.rh-page .j-bar__aside { display: none; }

/* Hero */
.rh-page .rh-hero { padding-top: 16px; padding-bottom: 22px; }
.rh-page .rh-h1 {
  margin: 12px 0 8px;
  font: 300 clamp(26px, 3vw, 40px)/1.08 var(--f-display);
  letter-spacing: -.04em; color: var(--ivory); max-width: 1120px;
}
.rh-page .rh-meta-line {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  margin: 0 0 18px; font: 400 12.5px/1.5 var(--f-mono); color: var(--mute);
}
.rh-page .rh-meta-sep { color: var(--mute); opacity: .45; }

.rh-page .rh-search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 24px; align-items: baseline; max-width: 780px; }
.rh-page .rh-search-field { position: relative; padding-top: 4px; }
.rh-page .rh-search-field input {
  width: 100%; height: 44px; background: transparent; border: 0; border-bottom: 1px solid var(--rh-hair-2);
  color: var(--ivory); font: 400 clamp(17px, 1.7vw, 20px)/1.3 var(--f-text); outline: 0; padding-right: 40px; border-radius: 0;
}
.rh-page .rh-search-field input::placeholder { color: var(--mute); font-weight: 300; }
.rh-page .rh-search-line {
  position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--ivory);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--rh-slow);
}
.rh-page .rh-search-field:focus-within .rh-search-line { transform: scaleX(1); }
.rh-page .rh-search-submit {
  position: absolute; right: 0; bottom: 0; width: 40px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center; color: var(--ivory-2); transition: color .2s, transform .2s;
}
.rh-page .rh-search-submit:hover { color: var(--ivory); transform: translateX(2px); }

.rh-page .rh-text-action {
  min-height: 40px; padding: 4px 2px;
  font: 400 13px/1 var(--f-mono); color: var(--mute); white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--rh-ease), border-color .2s var(--rh-ease);
}
.rh-page .rh-text-action:hover { color: var(--ivory); border-bottom-color: var(--rh-hair-2); }

.rh-page .rh-quick-words { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 14px; }
.rh-page .rh-quick-lbl { font: 400 11.5px/1 var(--f-mono); color: var(--mute); margin-right: 2px; }
.rh-page .rh-word-chip {
  min-height: 30px; padding: 4px 0;
  border-bottom: 1.5px solid transparent;
  font: 400 13.5px/1 var(--f-text); color: var(--mute);
  display: inline-flex; align-items: center; gap: 5px;
  transition: color .2s var(--rh-ease), border-color .2s var(--rh-ease);
}
.rh-page .rh-word-chip:hover { color: var(--ivory); }
.rh-page .rh-word-chip.is-on { border-bottom-color: var(--ivory); color: var(--ivory); font-weight: 500; }
.rh-page .rh-word-chip small { font: 400 10.5px/1 var(--f-mono); opacity: .65; }

/* Buttons */
.rh-page .us-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  font: 500 14.5px/1 var(--f-text); white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: background-color .28s var(--rh-ease), color .28s var(--rh-ease), border-color .28s var(--rh-ease), transform .2s var(--rh-ease);
}
.rh-page .us-btn:active { transform: scale(.97); }
.rh-page .us-btn--ivory { background: var(--ivory); color: var(--rh-ink); }
.rh-page .us-btn--ivory:hover { background: #fff; transform: translateY(-1px); }

/* Flat tabs & borderless controls */
.rh-page .rh-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.rh-page .rh-tab {
  position: relative; min-height: 30px; padding: 4px 0;
  font: 400 13px/1.2 var(--f-text); color: var(--mute); white-space: nowrap;
  display: inline-flex; align-items: baseline; gap: 5px;
  border-bottom: 1.5px solid transparent;
  transition: color .2s var(--rh-ease), border-color .2s var(--rh-ease);
}
.rh-page .rh-tab:hover { color: var(--ivory-2); }
.rh-page .rh-tab.is-on { color: var(--ivory); font-weight: 500; border-bottom-color: var(--ivory); }

.rh-page .rh-flat-btn {
  min-height: 28px; padding: 2px 0;
  border-bottom: 1.5px solid transparent;
  font: 400 12.5px/1 var(--f-text); color: var(--mute);
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .2s var(--rh-ease), border-color .2s var(--rh-ease);
}
.rh-page .rh-flat-btn:hover { color: var(--ivory); }
.rh-page .rh-flat-btn[aria-pressed="true"] { color: var(--ivory); font-weight: 500; border-bottom-color: transparent; }
.rh-page .rh-flat-btn--cliche[aria-pressed="true"]::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ivory);
}
.rh-page .rh-flat-btn.is-pop::before { animation: rh-pop .45s cubic-bezier(.3, 1.7, .5, 1) both; }
@keyframes rh-pop { from { transform: scale(0); } to { transform: scale(1); } }

/* Studio Workspace: Left Rhyme Panel + Right Lyrics Editor */
.rh-page .rh-studio {
  display: grid;
  grid-template-columns: minmax(330px, 376px) minmax(0, 1fr);
  gap: 0;
  padding-top: 12px;
  padding-bottom: var(--rh-room);
  align-items: start;
}
.rh-page .rh-studio > * { min-width: 0; }

.rh-page .rh-panel {
  position: sticky; top: 84px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding: 16px 38px 32px 0;
  border-right: 1px solid rgba(239, 232, 220, .065);
  display: grid; gap: 18px;
  scrollbar-width: thin;
  scrollbar-color: rgba(239, 232, 220, .15) transparent;
}
.rh-page .rh-panel__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px;
  min-height: 40px; padding-bottom: 6px;
}
.rh-page .rh-panel__title {
  display: inline-flex; align-items: center; gap: 9px; min-width: 0;
  font: 400 18px/1.2 var(--f-display); letter-spacing: -.03em; color: var(--ivory);
}
.rh-page .rh-panel__word { color: var(--ivory); font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rh-page .rh-panel__right { display: inline-flex; align-items: center; gap: 14px; }
.rh-page .rh-panel__cnt { font: 400 12px/1 var(--f-mono); color: var(--mute); }
.rh-page .rh-homo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.rh-page .rh-groups { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; min-width: 0; padding-top: 6px; }
.rh-page .rh-group { min-width: 0; }
.rh-page .rh-group__hd { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.rh-page .rh-group__title { margin: 0; font: 500 11px/1.2 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--mute); }
.rh-page .rh-group__n { font: 400 11px/1 var(--f-mono); color: var(--mute); opacity: .65; }

.rh-page .rh-words { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.rh-page .rh-word {
  min-height: 32px; padding: 3px 0;
  font: 400 15.5px/1.3 var(--f-text); color: var(--ivory-2);
  display: inline-flex; align-items: baseline; gap: 5px; text-align: left;
  border-bottom: 1px solid transparent;
  transition: color .18s var(--rh-ease), border-color .18s var(--rh-ease), transform .15s var(--rh-ease);
}
.rh-page .rh-word.is-exact { color: var(--ivory); font-weight: 500; }
.rh-page .rh-word:hover { color: #fff; border-bottom-color: var(--rh-hair-2); }
.rh-page .rh-word:active { transform: scale(.97); }
.rh-page .rh-word.is-cliche { color: var(--mute); opacity: .66; }
.rh-page .rh-word.is-picked { color: var(--ivory); border-bottom-color: rgba(239, 232, 220, .5); }
.rh-page .rh-word__syl { font: 400 10.5px/1 var(--f-mono); color: var(--mute); opacity: .55; }

.rh-page .rh-unknown { padding: 18px 0; border-top: 1px solid var(--rh-hair); display: grid; gap: 12px; }
.rh-page .rh-unknown p { margin: 0; font: 300 14px/1.55 var(--f-text); color: var(--ivory-2); }
.rh-page .rh-syl-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.rh-page .rh-syl-pick {
  min-height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--rh-hair-2); background: var(--rh-surface-subtle);
  font: 400 13.5px/1 var(--f-text); color: var(--ivory);
  transition: background .2s, border-color .2s;
}
.rh-page .rh-syl-pick:hover { background: var(--rh-surface-hover); border-color: var(--ivory); }
.rh-page .rh-syl-pick.is-on { background: var(--ivory); color: var(--rh-ink); font-weight: 500; }

.rh-page .is-enter { animation: rh-enter .2s var(--rh-slow) both; animation-delay: calc(var(--i, 0) * 18ms); }
.rh-page .from-r { --dx: 10px; }
.rh-page .from-l { --dx: -10px; }
@keyframes rh-enter { from { opacity: .65; transform: translateX(var(--dx, 0)); } to { opacity: 1; transform: none; } }
.rh-page .is-in { animation: rh-word-in .18s var(--rh-slow) both; animation-delay: calc(min(var(--i, 0), 16) * 6ms); }
@keyframes rh-word-in { from { opacity: .72; transform: translateY(-2px); } to { opacity: 1; transform: none; } }

/* Right Column: Studio Lyrics Editor */
.rh-page .rh-editor-col { display: grid; gap: 18px; min-width: 0; padding: 16px 0 32px 48px; align-content: start; }
.rh-page .rh-ed-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; min-height: 40px; padding-bottom: 6px; }
.rh-page .rh-ed-tags, .rh-page .rh-ed-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.rh-page .rh-ed-tagbtn {
  min-height: 30px; padding: 4px 8px; border-radius: 6px;
  font: 400 12.5px/1 var(--f-mono); color: var(--mute);
  transition: background .2s, color .2s, transform .15s;
}
.rh-page .rh-ed-tagbtn:hover { background: rgba(239, 232, 220, .06); color: var(--ivory); }
.rh-page .rh-ed-tagbtn:active { transform: scale(.97); }
.rh-page .rh-ed-tagbtn:disabled { opacity: .32; cursor: default; transform: none; background: transparent; }

.rh-page .rh-sel { position: relative; display: inline-block; min-width: 0; }
.rh-page .rh-sel__btn {
  min-height: 30px; padding: 4px 8px; border-radius: 6px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font: 400 13px/1 var(--f-text); color: var(--ivory-2);
  transition: background .2s, color .2s;
}
.rh-page .rh-sel__btn:hover { background: rgba(239, 232, 220, .06); color: var(--ivory); }
.rh-page .rh-sel__chev { width: 11px; height: 11px; transition: transform .3s var(--rh-slow); color: var(--mute); }
.rh-page .rh-sel.is-open .rh-sel__chev { transform: rotate(180deg); color: var(--ivory); }
.rh-page .rh-pop {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 190px; z-index: 30;
  padding: 6px; border-radius: 14px; background: #1C1916;
  box-shadow: 0 0 0 1px rgba(239, 232, 220, .10), 0 24px 56px -14px rgba(0, 0, 0, .82);
  opacity: 0; transform: translateY(-6px) scale(.98); pointer-events: none;
  transition: opacity .18s var(--rh-ease), transform .32s var(--rh-slow);
}
.rh-page .rh-sel.is-open .rh-pop { opacity: 1; transform: none; pointer-events: auto; }
.rh-page .rh-opt {
  width: 100%; min-height: 38px; padding: 0 12px; border-radius: 9px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font: 400 13.5px/1.2 var(--f-text); color: var(--ivory-2); text-align: left;
  transition: background .15s, color .15s;
}
.rh-page .rh-opt:hover, .rh-page .rh-opt:focus-visible { background: rgba(239, 232, 220, .08); color: var(--ivory); outline: 0; }
.rh-page .rh-opt.is-cur { color: var(--ivory); font-weight: 500; }
.rh-page .rh-opt__chk { opacity: 0; color: var(--ivory); font: 500 12px/1 var(--f-mono); }
.rh-page .rh-opt.is-cur .rh-opt__chk { opacity: 1; }

.rh-page .rh-caret-hint {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
  font: 400 12px/1.4 var(--f-mono); color: var(--mute);
}
.rh-page .rh-caret-hint b { color: var(--ivory-2); font-weight: 500; }
.rh-page .rh-caret-status { color: var(--ivory-2); min-height: 16px; }

.rh-page .rh-sheet { position: relative; display: block; padding-block: 4px 2px; }
.rh-page .rh-sheet.is-flash { animation: rh-mark 1.1s var(--rh-ease) both; }
@keyframes rh-mark {
  0%, 30% { background-color: rgba(239, 232, 220, .04); }
  100% { background-color: transparent; }
}
.rh-page .rh-textarea {
  width: 100%; min-height: 180px; resize: none;
  background: transparent; border: 0; outline: 0;
  color: var(--ivory); font: 400 18px/32px var(--f-text);
  letter-spacing: -.005em; padding: 0 0 12px; overflow: hidden; white-space: pre-wrap;
}
.rh-page .rh-textarea::placeholder { color: rgba(142, 134, 122, .55); }

.rh-page .rh-inline-ghost { display: grid; gap: 6px; padding-block: 0 6px; }
.rh-page .rh-inline-ghost__line {
  font: 400 18px/32px var(--f-text); letter-spacing: -.005em;
  color: rgba(239, 232, 220, .4); transition: color .2s var(--rh-ease);
}
.rh-page .rh-inline-ghost:hover .rh-inline-ghost__line { color: rgba(239, 232, 220, .48); }
.rh-page .rh-inline-ghost__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font: 400 12px/1.3 var(--f-mono); color: var(--mute); }
.rh-page .rh-ghost-link { padding: 2px 0; font: 400 12px/1.3 var(--f-mono); color: var(--mute); transition: color .18s var(--rh-ease); }
.rh-page .rh-ghost-link:hover { color: var(--ivory); }
.rh-page .rh-ghost-link.is-strong { color: var(--ivory); border-bottom: 1px solid rgba(239, 232, 220, .35); }
.rh-page .rh-inline-ghost__left { color: var(--mute); opacity: .72; }

/* Тихий неблокирующий лимит после 3 бесплатных строк */
.rh-page .rh-inline-gate {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
  margin-top: 6px; padding-block: 4px 2px;
  font: 400 12px/1.4 var(--f-mono); color: var(--mute);
}
.rh-page .rh-inline-gate__txt { opacity: .78; }
.rh-page .rh-inline-gate__link {
  color: rgba(239, 232, 220, .68);
  border-bottom: 1px solid rgba(239, 232, 220, .18);
  transition: color .18s var(--rh-ease), border-color .18s var(--rh-ease);
}
.rh-page .rh-inline-gate__link:hover { color: var(--ivory); border-bottom-color: rgba(239, 232, 220, .45); }
.rh-page .rh-inline-gate__x {
  margin-left: auto; padding: 2px 6px;
  font: 400 15px/1 var(--f-text); color: var(--mute); opacity: .65;
  transition: opacity .18s var(--rh-ease), color .18s var(--rh-ease);
}
.rh-page .rh-inline-gate__x:hover { opacity: 1; color: var(--ivory); }

.rh-page .rh-mob-bar { display: none; }

/* Единственная интеграция Студии под редактором */
.rh-page .us-focal {
  position: relative; overflow: hidden; border-radius: 18px; padding: clamp(22px, 2.6vw, 30px); margin-top: 8px;
  background: #131110; display: grid; gap: 12px;
}
.rh-page .us-focal__wm { height: 22px; width: auto; display: block; }
.rh-page .us-focal__t { margin: 0; font: 300 clamp(21px, 2.1vw, 27px)/1.14 var(--f-display); letter-spacing: -.04em; color: var(--ivory); }
.rh-page .us-focal__d { margin: 0; font: 300 14.5px/1.55 var(--f-text); color: var(--ivory-2); }
.rh-page .us-focal__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 2px; }
.rh-page .us-focal__note { font: 400 11.5px/1.35 var(--f-mono); color: var(--mute); }

/* Lower sections */
.rh-page .rh-band { padding-block: clamp(64px, 7.5vw, 108px); }
.rh-page .rh-band__hd { display: grid; gap: 10px; margin-bottom: 40px; max-width: 780px; }
.rh-page .rh-band__t { margin: 0; font: 300 clamp(26px, 3.6vw, 46px)/1.06 var(--f-display); letter-spacing: -.04em; }
.rh-page .rh-band__d { margin: 0; font: 300 clamp(15px, 1.25vw, 17.5px)/1.55 var(--f-text); color: var(--ivory-2); }

.rh-page .rh-craft-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 48px; }
.rh-page .rh-craft-col { display: grid; gap: 12px; align-content: start; }
.rh-page .rh-craft-col__genre { font: 500 11.5px/1 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--mute); }
.rh-page .rh-craft-col__lines { margin: 0; font: 400 16px/1.65 var(--f-text); color: var(--ivory); }

.rh-page .rh-compare { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; }
.rh-page .rh-compare__item { display: grid; gap: 6px; padding: 20px 24px; border-radius: 16px; background: #11100E; }
.rh-page .rh-compare__lbl { font: 500 11.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.rh-page .rh-compare__lbl--ok { color: var(--ivory); }
.rh-page .rh-compare__val { font: 300 clamp(18px, 2vw, 24px)/1.3 var(--f-display); letter-spacing: -.03em; color: var(--ivory); }

.rh-page .rh-hub-words { padding-bottom: clamp(56px, 6vw, 92px); display: grid; gap: 28px; }
.rh-page .rh-hub-words__hd { display: grid; gap: 8px; }
.rh-page .rh-hub-words__sub { margin: 0; font: 300 16px/1.5 var(--f-text); color: var(--ivory-2); }
.rh-page .rh-word-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rh-page .rh-wcard {
  border-radius: 16px; padding: 22px 24px; background: #11100E; text-align: left;
  display: grid; gap: 8px; align-content: start;
  transition: background .2s var(--rh-ease), transform .22s var(--rh-slow);
}
.rh-page .rh-wcard:hover { background: #181513; transform: translateY(-2px); }
.rh-page .rh-wcard__w { font: 400 22px/1.15 var(--f-display); letter-spacing: -.03em; color: var(--ivory); display: inline-flex; align-items: baseline; gap: 8px; }
.rh-page .rh-wcard__w small { font: 400 11px/1 var(--f-mono); color: var(--mute); }
.rh-page .rh-wcard__r { font: 400 13.5px/1.45 var(--f-text); color: var(--mute); }

.rh-page .rh-rel-block { display: grid; gap: 12px; padding-top: 8px; }
.rh-page .rh-rel-links { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.rh-page .rh-rel-links a {
  font: 400 14px/1.4 var(--f-text); color: var(--ivory-2);
  border-bottom: 1px solid rgba(239, 232, 220, .14); padding-bottom: 2px;
  transition: color .18s, border-color .18s;
}
.rh-page .rh-rel-links a:hover { color: var(--ivory); border-bottom-color: var(--ivory); }

.rh-page .rh-all-index { border-top: 1px solid var(--rh-hair); padding-top: 18px; }
.rh-page .rh-all-index summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 10px;
  font: 400 14px/1.4 var(--f-mono); color: var(--mute); transition: color .18s;
}
.rh-page .rh-all-index summary::-webkit-details-marker { display: none; }
.rh-page .rh-all-index summary:hover { color: var(--ivory); }
.rh-page .rh-clusters-grid {
  margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px;
}
.rh-page .rh-cluster-col { display: grid; gap: 10px; align-content: start; }
.rh-page .rh-cluster-col__t { margin: 0; font: 500 12px/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ivory); }
.rh-page .rh-cluster-col__t span { color: var(--mute); }

.rh-page .us-fog-band { background: var(--rh-fog); color: var(--rh-ink); padding-block: clamp(64px, 7vw, 100px); }
.rh-page .us-fog-band .eyebrow { color: var(--rh-fog-mute); }
.rh-page .us-fog-band .rh-band__t { color: var(--rh-ink); }
.rh-page .rh-3cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 48px; margin-top: 44px; }
.rh-page .rh-3col { display: grid; gap: 12px; align-content: start; }
.rh-page .rh-glyph { width: 28px; height: 28px; color: var(--rh-ink); }
.rh-page .rh-3col h3 { margin: 0; font: 400 19px/1.25 var(--f-display); letter-spacing: -.03em; color: var(--rh-ink); }
.rh-page .rh-3col p { margin: 0; font: 400 15px/1.6 var(--f-text); color: var(--rh-fog-ink-2); }

.rh-page .us-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; interpolate-size: allow-keywords; }
.rh-page .us-faq details { border-top: 1px solid var(--rh-hair); padding-block: 18px; }
.rh-page .us-faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--rh-slow), content-visibility .45s allow-discrete; }
.rh-page .us-faq details[open]::details-content { block-size: auto; }
.rh-page .us-faq summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font: 500 15.5px/1.4 var(--f-text); color: var(--ivory); min-height: 28px;
}
.rh-page .us-faq summary::-webkit-details-marker { display: none; }
.rh-page .us-faq summary::after {
  content: ""; flex-shrink: 0; width: 12px; height: 12px; color: var(--mute);
  background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
              linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  transition: transform .42s var(--rh-slow), background-size .42s var(--rh-slow), color .2s;
}
.rh-page .us-faq details[open] summary::after { background-size: 12px 1.5px, 1.5px 0; transform: rotate(180deg); color: var(--ivory); }
.rh-page .us-faq p { margin: 12px 0 0; font: 300 14.5px/1.62 var(--f-text); color: var(--ivory-2); }

.rh-page .rh-attribution {
  margin: 44px 0 0; padding-top: 20px; border-top: 1px solid var(--rh-hair);
  font: 400 12px/1.6 var(--f-mono); color: var(--mute); opacity: .82;
}
.rh-page .rh-attribution a { border-bottom: 1px solid rgba(239, 232, 220, .2); color: var(--ivory-2); }
.rh-page .rh-attribution a:hover { color: var(--ivory); border-bottom-color: var(--ivory); }

@media (max-width: 980px) {
  .rh-page .rh-studio { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .rh-page .rh-editor-col { order: 1; padding: 14px 0 0; }
  .rh-page .rh-panel { position: static; max-height: none; overflow: visible; padding: 24px 0 32px; border-right: 0; order: 2; }
  .rh-page .rh-mob-bar {
    display: flex; align-items: center; gap: 10px;
    overflow-x: auto; scrollbar-width: none; padding: 6px 0 10px; max-width: 100%;
  }
  .rh-page .rh-mob-bar::-webkit-scrollbar { display: none; }
  .rh-page .rh-mob-bar__lbl { font: 500 11px/1 var(--f-mono); color: var(--ivory); white-space: nowrap; flex-shrink: 0; }
  .rh-page .rh-mob-bar__btn {
    min-height: 30px; padding: 0 4px;
    font: 400 14px/1 var(--f-text); color: var(--ivory); white-space: nowrap; flex-shrink: 0;
  }
  .rh-page .rh-textarea { font-size: 16px; line-height: 28px; min-height: 160px; white-space: pre-wrap; }
  .rh-page .rh-inline-ghost__line { font-size: 16px; line-height: 28px; }
  .rh-page .rh-word-grid, .rh-page .rh-craft-grid, .rh-page .rh-3cols, .rh-page .rh-compare, .rh-page .us-faq, .rh-page .rh-clusters-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .rh-page .rh-search-row { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .rh-page .us-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .rh-page *, .rh-page *::before, .rh-page *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
