:root {
    color-scheme: light;
    --rh-practice-footer-space: 7.5rem;
    --rh-page-bg: #f8f9fa;
    --rh-page-bg-top: #f8fbff;
    --rh-page-bg-bottom: #edf3f9;
    --rh-page-glow-blue: rgba(0, 90, 181, 0.15);
    --rh-page-glow-teal: rgba(85, 217, 207, 0.17);
    --rh-surface: #ffffff;
    --rh-surface-soft: #f3f4f5;
    --rh-surface-elevated: rgba(255, 255, 255, 0.96);
    --rh-surface-reference: linear-gradient(180deg, rgba(252, 253, 255, 0.98), rgba(247, 250, 253, 0.98));
    --rh-surface-reference-hero: linear-gradient(180deg, rgba(252, 254, 255, 0.99), rgba(243, 248, 253, 0.98));
    --rh-surface-reference-search: linear-gradient(180deg, rgba(251, 253, 255, 0.98), rgba(246, 250, 254, 0.98));
    --rh-surface-reference-section: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 250, 254, 0.98));
    --rh-surface-practice: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(240, 247, 255, 0.98));
    --rh-surface-rule-focus: linear-gradient(180deg, rgba(255, 250, 242, 0.99), rgba(255, 255, 255, 0.99));
    --rh-surface-rule-build: linear-gradient(180deg, rgba(234, 244, 255, 0.99), rgba(252, 255, 255, 0.99));
    --rh-surface-nav: rgba(255, 255, 255, 0.92);
    --rh-navy-950: #08111f;
    --rh-navy-900: #102033;
    --rh-navy-800: #1d3148;
    --rh-navy-700: #29415f;
    --rh-slate-500: #66768b;
    --rh-slate-400: #7f90a5;
    --rh-slate-300: #a8b6c7;
    --rh-line: #d7e0eb;
    --rh-line-strong: rgba(182, 199, 218, 0.9);
    --rh-line-soft: rgba(214, 224, 236, 0.65);
    --rh-teal-500: #1cb7aa;
    --rh-teal-400: #55d9cf;
    --rh-primary: #00438a;
    --rh-primary-strong: #005ab5;
    --rh-primary-soft: #d7e3ff;
    --rh-primary-tint: rgba(0, 90, 181, 0.08);
    --rh-orange: #ffb95f;
    --rh-orange-ink: #623c00;
    --rh-success-bg: #dcfce7;
    --rh-success: #16a34a;
    --rh-success-ink: #166534;
    --rh-error-bg: #ffdad6;
    --rh-error: #ba1a1a;
    --rh-error-ink: #93000a;
    --rh-shadow: 0 24px 52px rgba(8, 17, 31, 0.12);
    --rh-shadow-soft: 0 16px 34px rgba(8, 17, 31, 0.08);
    --rh-shadow-reference: 0 18px 38px rgba(8, 17, 31, 0.08);
    --rh-shadow-practice: 0 24px 52px rgba(0, 67, 138, 0.14);
    --rh-shadow-rule: 0 22px 46px rgba(16, 32, 51, 0.11);
    --rh-radius-xl: 2rem;
    --rh-radius-lg: 1.4rem;
    --rh-font-sans: "Inter", "Aptos", "Segoe UI", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
    --rh-font-display: "Manrope", "Inter", "Aptos", "Segoe UI", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background:
        radial-gradient(circle at top right, rgba(85, 217, 207, 0.18), transparent 24rem),
        linear-gradient(180deg, #f8fbff 0%, var(--rh-page-bg) 55%, #edf2f8 100%);
    color: var(--rh-navy-950);
    font-family: var(--rh-font-sans);
}

body {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-family: var(--rh-font-sans);
    background:
        radial-gradient(circle at top right, var(--rh-page-glow-teal), transparent 24rem),
        radial-gradient(circle at top left, var(--rh-page-glow-blue), transparent 28rem),
        linear-gradient(180deg, var(--rh-page-bg-top) 0%, var(--rh-page-bg) 48%, var(--rh-page-bg-bottom) 100%);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

h1:focus {
    outline: none;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.status-bar-safe-area {
    display: none;
}

.rh-layout {
    min-height: 100vh;
}

.rh-layout__main {
    width: min(100%, 53rem);
    margin: 0 auto;
    padding: 1.35rem 1rem 7.75rem;
}

.rh-page {
    display: flex;
    flex-direction: column;
}

.rh-page--stacked {
    gap: 1.1rem;
}

.rh-hero {
    display: grid;
    gap: 1rem;
}

.rh-hero__topline,
.rh-detail-topbar,
.rh-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.rh-brand {
    display: flex;
    align-items: center;
    gap: 0.95rem;
}

.rh-brand h1,
.rh-panel h1,
.rh-panel h2 {
    margin: 0;
}

.rh-brand h1,
.rh-panel h1 {
    font-size: clamp(2.1rem, 5vw, 2.95rem);
    letter-spacing: -0.05em;
    line-height: 0.92;
}

.rh-panel h2 {
    font-size: clamp(1.4rem, 4vw, 1.9rem);
    letter-spacing: -0.035em;
    line-height: 1.02;
    margin: 0;
}

.rh-brand__mark {
    display: grid;
    place-items: center;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--rh-navy-900), var(--rh-primary-strong));
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    box-shadow: var(--rh-shadow-soft);
}

.rh-panel {
    border-radius: var(--rh-radius-xl);
    padding: 1.5rem;
}

.rh-panel--surface {
    background: var(--rh-surface-elevated);
    border: 1px solid var(--rh-line-strong);
    box-shadow: var(--rh-shadow-soft);
}

.rh-panel--muted {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 249, 253, 0.98));
    border: 1px solid var(--rh-line-soft);
}

.rh-reference-page {
    gap: 1rem;
}

.rh-reference-panel {
    position: relative;
    overflow: hidden;
}

.rh-reference-panel > * {
    position: relative;
    z-index: 1;
}

.rh-reference-panel--hero {
    background: var(--rh-surface-reference-hero);
    border-color: rgba(189, 203, 221, 0.95);
    box-shadow: var(--rh-shadow-reference);
}

.rh-reference-panel--hero::after {
    content: "";
    position: absolute;
    inset: -4rem -3rem auto auto;
    width: 14rem;
    height: 14rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 90, 181, 0.09), transparent 68%);
    pointer-events: none;
}

.rh-reference-panel--search {
    background: var(--rh-surface-reference-search);
    border-color: rgba(200, 212, 229, 0.92);
    box-shadow: 0 14px 28px rgba(8, 17, 31, 0.06);
}

.rh-reference-panel--section {
    background: var(--rh-surface-reference-section);
    border-color: rgba(196, 209, 226, 0.92);
    box-shadow: var(--rh-shadow-reference);
}

.rh-home-page {
    gap: 1rem;
}

.rh-home-hero,
.rh-home-section {
    position: relative;
    overflow: hidden;
    border-radius: var(--rh-radius-xl);
    border: 1px solid rgba(193, 207, 225, 0.92);
}

.rh-home-hero {
    padding: 1.35rem;
    background:
        radial-gradient(circle at top right, rgba(85, 217, 207, 0.26), transparent 22rem),
        radial-gradient(circle at bottom left, rgba(0, 90, 181, 0.2), transparent 24rem),
        linear-gradient(160deg, rgba(9, 18, 31, 0.98) 0%, rgba(19, 37, 58, 0.98) 48%, rgba(26, 63, 107, 0.96) 100%);
    color: #f8fbff;
    box-shadow: 0 30px 58px rgba(8, 17, 31, 0.18);
}

.rh-home-hero__main,
.rh-home-hero__copy,
.rh-home-section,
.rh-home-section__header,
.rh-home-contrast-card,
.rh-home-verb-card,
.rh-home-method-step {
    display: grid;
}

.rh-home-hero__main,
.rh-home-hero__copy,
.rh-home-section {
    gap: 1rem;
}

.rh-home-hero__topline {
    margin: 0;
    color: rgba(188, 255, 249, 0.94);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.rh-home-hero h1,
.rh-home-section__header h2,
.rh-home-spotlight h2 {
    margin: 0;
    font-family: var(--rh-font-display);
    letter-spacing: -0.045em;
}

.rh-home-hero h1 {
    font-size: clamp(2.75rem, 14vw, 4.8rem);
    line-height: 0.92;
    max-width: 11ch;
}

.rh-home-hero__lead {
    margin: 0;
    max-width: 34rem;
    color: rgba(232, 242, 255, 0.82);
    font-size: 0.98rem;
    line-height: 1.64;
}

.rh-home-hero .rh-chip {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(232, 242, 255, 0.14);
    color: #f8fbff;
}

.rh-home-hero .rh-chip--accent {
    background: rgba(85, 217, 207, 0.18);
    border-color: rgba(85, 217, 207, 0.28);
    color: #e6fffb;
}

.rh-home-hero__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.rh-home-stat {
    display: grid;
    gap: 0.35rem;
    padding: 0.95rem 1rem;
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(231, 241, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.rh-home-stat__label {
    color: rgba(232, 242, 255, 0.7);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rh-home-stat strong {
    color: #ffffff;
    font-family: var(--rh-font-display);
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.rh-home-hero__actions {
    display: grid;
    gap: 0.65rem;
}

.rh-home-hero__primary {
    width: 100%;
    min-height: 3.35rem;
    font-size: 1.08rem;
    box-shadow: 0 24px 40px rgba(0, 67, 138, 0.3);
}

.rh-home-hero__secondary {
    display: grid;
    gap: 0.55rem;
}

.rh-home-hero__secondary .rh-button {
    width: 100%;
    justify-content: flex-start;
    min-height: 2.85rem;
}

.rh-home-spotlight {
    display: grid;
    gap: 0.9rem;
    padding: 1.2rem;
    border-radius: 1.55rem;
    background: linear-gradient(180deg, rgba(252, 254, 255, 0.99), rgba(242, 248, 254, 0.98));
    border: 1px solid rgba(204, 216, 232, 0.94);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        0 18px 34px rgba(8, 17, 31, 0.12);
    color: var(--rh-navy-950);
}

.rh-home-spotlight h2 {
    font-size: clamp(1.75rem, 8vw, 2.4rem);
    line-height: 1;
}

.rh-home-spotlight .rh-panel__lead {
    color: var(--rh-navy-700);
}

.rh-home-spotlight__actions,
.rh-home-reference-entry__actions,
.rh-home-verb-card__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.rh-home-section {
    padding: 1.35rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 253, 0.97));
    box-shadow: var(--rh-shadow-soft);
}

.rh-home-section__header {
    gap: 0.58rem;
}

.rh-home-section__header h2 {
    font-size: clamp(1.7rem, 7vw, 2.3rem);
    line-height: 1;
    color: var(--rh-navy-950);
}

.rh-home-section__header .rh-panel__lead {
    color: var(--rh-navy-700);
}

.rh-home-contrast-strip,
.rh-home-verb-grid,
.rh-home-method-grid {
    display: grid;
    gap: 0.8rem;
}

.rh-home-contrast-card {
    gap: 0.55rem;
    padding: 1rem;
    border-radius: 1.35rem;
    background: linear-gradient(180deg, rgba(238, 246, 255, 0.98), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(181, 202, 229, 0.88);
    box-shadow: 0 16px 30px rgba(0, 67, 138, 0.08);
}

.rh-home-contrast-card__eyebrow {
    color: var(--rh-slate-500);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.rh-home-contrast-card__title {
    color: var(--rh-navy-950);
    font-family: var(--rh-font-display);
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.rh-home-contrast-card__copy,
.rh-home-verb-card__meaning,
.rh-home-method-step p {
    margin: 0;
    color: var(--rh-slate-500);
    line-height: 1.62;
}

.rh-home-verb-card {
    gap: 0.9rem;
    padding: 1.05rem;
    border-radius: 1.35rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 250, 253, 0.98));
    border: 1px solid rgba(198, 211, 227, 0.9);
    box-shadow: 0 14px 28px rgba(8, 17, 31, 0.06);
}

.rh-home-verb-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.rh-home-verb-card__pair {
    margin: 0;
    color: var(--rh-navy-950);
    font-family: var(--rh-font-display);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.rh-home-verb-card__actions .rh-button {
    min-height: 2.85rem;
    padding: 0.72rem 1rem;
}

.rh-home-reference-entry {
    background: linear-gradient(180deg, rgba(247, 250, 254, 0.98), rgba(240, 246, 252, 0.97));
}

.rh-home-method-step {
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(203, 214, 229, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.rh-home-method-step strong {
    color: var(--rh-navy-950);
    font-family: var(--rh-font-display);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.rh-home-method-step__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(0, 90, 181, 0.1);
    color: var(--rh-primary);
    font-size: 0.85rem;
    font-weight: 800;
}

.rh-home-contrast-card:hover,
.rh-home-contrast-card:focus-visible,
.rh-home-verb-card:hover,
.rh-home-verb-card:focus-visible {
    transform: translateY(-1px);
}

.rh-progress-panel {
    position: relative;
    overflow: hidden;
    border-radius: var(--rh-radius-xl);
    padding: 1.45rem;
    background: linear-gradient(155deg, var(--rh-navy-900), var(--rh-navy-800));
    color: #f8fbff;
    box-shadow: var(--rh-shadow);
}

.rh-progress-panel::after {
    content: "";
    position: absolute;
    right: -2.5rem;
    top: -2rem;
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(85, 217, 207, 0.6), transparent 68%);
}

.rh-progress-panel__header,
.rh-progress-panel__meter,
.rh-action-row,
.rh-chip-list,
.rh-list-stack,
.rh-tabs,
.rh-past-grid,
.rh-reflexive-pair {
    display: flex;
}

.rh-progress-panel__header,
.rh-progress-panel__labels {
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.rh-progress-panel__meter,
.rh-list-stack,
.rh-page--stacked,
.rh-verb-highlight,
.rh-past-card dl {
    flex-direction: column;
}

.rh-progress-panel__meter {
    gap: 0.65rem;
    margin-top: 1rem;
}

.rh-progress-bar {
    width: 100%;
    height: 0.8rem;
    border-radius: 999px;
    background: rgba(199, 214, 228, 0.2);
    overflow: hidden;
}

.rh-progress-bar__fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--rh-teal-400), var(--rh-teal-500));
}

.rh-panel__eyebrow,
.rh-eyebrow,
.rh-reflexive-pair__label {
    margin: 0 0 0.45rem;
    color: var(--rh-slate-400);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.rh-panel__lead,
.rh-lead,
.rh-verb-list-item__meaning {
    margin: 0;
    color: var(--rh-slate-500);
    line-height: 1.62;
}

.rh-lead {
    font-size: 1rem;
}

.rh-pill,
.rh-chip,
.rh-mini-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.rh-pill {
    padding: 0.45rem 0.8rem;
    background: rgba(85, 217, 207, 0.16);
    color: #e6fffb;
}

.rh-pill--accent,
.rh-chip--accent,
.rh-mini-pill--accent {
    background: rgba(28, 183, 170, 0.14);
    color: var(--rh-teal-500);
}

.rh-chip-list {
    flex-wrap: wrap;
    gap: 0.6rem;
}

.rh-chip {
    padding: 0.55rem 0.85rem;
    background: rgba(246, 249, 252, 0.95);
    border: 1px solid var(--rh-line-strong);
    color: var(--rh-navy-900);
}

.rh-mini-pill {
    padding: 0.22rem 0.55rem;
    background: rgba(16, 32, 51, 0.06);
    color: var(--rh-navy-700);
}

.rh-verb-highlight {
    gap: 1rem;
}

.rh-verb-highlight__pair,
.rh-verb-list-item__body,
.rh-past-card dl {
    display: grid;
    gap: 0.55rem;
}

.rh-verb-line {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.rh-verb-line--accent .rh-verb-line__word {
    color: var(--rh-primary-strong);
}

.rh-verb-line__word {
    font-size: clamp(1.28rem, 4vw, 1.78rem);
    font-weight: 800;
    letter-spacing: -0.035em;
}

.rh-action-row {
    flex-wrap: wrap;
    gap: 0.75rem;
}

.rh-button,
.rh-text-link,
.rh-icon-link,
.rh-tab {
    transition:
        transform 160ms ease,
        background-color 160ms ease,
        color 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.rh-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.1rem;
    padding: 0.84rem 1.2rem;
    border-radius: 1rem;
    border: 1px solid transparent;
    font-weight: 800;
    letter-spacing: -0.015em;
}

.rh-button:hover,
.rh-button:focus-visible,
.rh-text-link:hover,
.rh-text-link:focus-visible,
.rh-icon-link:hover,
.rh-icon-link:focus-visible,
.rh-tab:hover,
.rh-tab:focus-visible,
.rh-verb-list-item:hover,
.rh-verb-list-item:focus-visible,
.rh-bottom-nav__link:hover,
.rh-bottom-nav__link:focus-visible {
    transform: translateY(-1px);
}

.rh-button--light {
    background: #ffffff;
    color: var(--rh-navy-900);
    border-color: rgba(209, 220, 232, 0.95);
}

.rh-button--dark {
    background: linear-gradient(135deg, var(--rh-primary) 0%, var(--rh-primary-strong) 100%);
    color: #ffffff;
    box-shadow: 0 16px 28px rgba(0, 67, 138, 0.2);
}

.rh-button--ghost {
    background: rgba(248, 250, 253, 0.96);
    border-color: var(--rh-line-strong);
    color: var(--rh-navy-900);
}

.rh-text-link,
.rh-icon-link {
    color: var(--rh-primary-strong);
    font-weight: 800;
}

.rh-icon-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.rh-search-field {
    display: grid;
    gap: 0.7rem;
}

.rh-search-field__label {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rh-slate-400);
}

.rh-search-field__control {
    position: relative;
}

.rh-search-field__icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    width: 1.1rem;
    height: 1.1rem;
    transform: translateY(-50%);
    color: var(--rh-slate-400);
}

.rh-search-field__icon svg,
.rh-bottom-nav__icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.rh-search-field__input {
    width: 100%;
    min-height: 3.35rem;
    padding: 0.8rem 1rem 0.8rem 3rem;
    border: 1px solid var(--rh-line-strong);
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.98);
    color: var(--rh-navy-950);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 10px 22px rgba(8, 17, 31, 0.04);
}

.rh-search-field__input:focus {
    outline: 3px solid rgba(0, 90, 181, 0.16);
    border-color: rgba(0, 90, 181, 0.58);
}

.rh-list-stack {
    gap: 0.8rem;
}

.rh-verb-list-item {
    display: grid;
    gap: 0.85rem;
    padding: 1.05rem 1.15rem;
    border: 1px solid var(--rh-line-strong);
    border-radius: var(--rh-radius-lg);
    background: var(--rh-surface-reference);
    box-shadow: 0 12px 24px rgba(8, 17, 31, 0.05);
}

.rh-verb-list-item.active {
    border-color: rgba(0, 90, 181, 0.5);
}

.rh-verb-list-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.rh-reference-page .rh-panel__eyebrow,
.rh-reference-page .rh-reflexive-pair__label {
    color: var(--rh-slate-400);
}

.rh-reference-page .rh-panel__lead {
    color: var(--rh-navy-700);
}

.rh-reference-page .rh-chip {
    background: rgba(248, 251, 255, 0.92);
    border-color: rgba(197, 210, 225, 0.92);
    color: var(--rh-navy-900);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.rh-reference-page .rh-chip--accent {
    background: rgba(28, 183, 170, 0.12);
    border-color: rgba(85, 217, 207, 0.34);
    color: var(--rh-teal-500);
}

.rh-reference-page .rh-action-row {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.rh-reference-page .rh-search-field__input {
    background: rgba(255, 255, 255, 0.99);
    border-color: rgba(192, 205, 222, 0.95);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 12px 24px rgba(8, 17, 31, 0.05);
}

.rh-reference-page .rh-search-field__input:focus {
    outline-color: rgba(16, 32, 51, 0.12);
    border-color: rgba(0, 67, 138, 0.48);
}

.rh-reference-page .rh-verb-list-item {
    padding: 1.15rem 1.2rem;
    border-color: rgba(199, 210, 225, 0.92);
    background: linear-gradient(180deg, rgba(253, 254, 255, 0.99), rgba(247, 250, 254, 0.98));
    box-shadow: 0 14px 28px rgba(8, 17, 31, 0.06);
}

.rh-reference-page .rh-verb-list-item:hover,
.rh-reference-page .rh-verb-list-item:focus-visible {
    border-color: rgba(16, 32, 51, 0.22);
    box-shadow: 0 16px 32px rgba(8, 17, 31, 0.08);
}

.rh-reference-page .rh-verb-list-item__meaning {
    color: var(--rh-navy-700);
}

.rh-tabs {
    gap: 0.65rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.rh-tab {
    padding: 0.85rem 1rem;
    border: 1px solid var(--rh-line-strong);
    border-radius: 999px;
    background: rgba(252, 253, 255, 0.9);
    color: var(--rh-slate-500);
    font-weight: 800;
    white-space: nowrap;
}

.rh-tab--active {
    background: linear-gradient(135deg, var(--rh-primary) 0%, var(--rh-primary-strong) 100%);
    border-color: rgba(0, 67, 138, 0.75);
    color: #ffffff;
    box-shadow: var(--rh-shadow-soft);
}

.rh-reference-page .rh-tabs {
    gap: 0.75rem;
    padding: 0.3rem;
    border: 1px solid rgba(205, 215, 229, 0.82);
    border-radius: 1.35rem;
    background: rgba(247, 250, 253, 0.84);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.rh-reference-page .rh-tab {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(203, 214, 229, 0.92);
    color: var(--rh-navy-800);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.rh-reference-page .rh-tab--active {
    background: linear-gradient(180deg, var(--rh-navy-900), var(--rh-primary));
    border-color: rgba(16, 32, 51, 0.82);
    box-shadow: 0 14px 26px rgba(16, 32, 51, 0.18);
}

.rh-table-shell {
    overflow: hidden;
    border: 1px solid var(--rh-line-strong);
    border-radius: 1.25rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(250, 252, 255, 0.98));
    box-shadow: 0 12px 24px rgba(8, 17, 31, 0.05);
}

.rh-table {
    width: 100%;
    border-collapse: collapse;
}

.rh-table th,
.rh-table td {
    padding: 0.95rem 1rem;
    text-align: left;
}

.rh-table thead {
    background: linear-gradient(180deg, var(--rh-navy-950), var(--rh-navy-900));
    color: #ffffff;
}

.rh-table thead th {
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.rh-table tbody tr {
    border-top: 1px solid rgba(219, 229, 240, 0.9);
}

.rh-table tbody tr:nth-child(2n) {
    background: rgba(244, 248, 253, 0.9);
}

.rh-table tbody td:first-child {
    color: var(--rh-slate-500);
    font-weight: 700;
}

.rh-table tbody td:not(:first-child) {
    font-weight: 700;
}

.rh-table__cell {
    position: relative;
}

.rh-table__cell--buildable {
    background: rgba(236, 244, 255, 0.52);
}

.rh-table__form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.rh-table__build-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 0.22rem 0.5rem;
    border-radius: 999px;
    background: rgba(0, 90, 181, 0.12);
    color: var(--rh-primary);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.rh-table__support {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0.85rem 1rem 0.95rem;
    border-top: 1px solid rgba(214, 224, 236, 0.82);
    color: var(--rh-slate-500);
    font-size: 0.86rem;
    line-height: 1.5;
    background: rgba(248, 251, 255, 0.96);
}

.rh-reference-page .rh-table-shell {
    border-color: rgba(194, 207, 224, 0.95);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 249, 253, 0.98));
    box-shadow: 0 16px 30px rgba(8, 17, 31, 0.07);
}

.rh-reference-page .rh-table thead {
    background: linear-gradient(180deg, var(--rh-navy-950), #17283d);
}

.rh-reference-page .rh-table tbody tr:nth-child(2n) {
    background: rgba(246, 249, 252, 0.92);
}

.rh-reference-page .rh-table__cell--buildable {
    background: rgba(233, 240, 249, 0.62);
}

.rh-reference-page .rh-table__build-pill {
    background: rgba(16, 32, 51, 0.08);
    color: var(--rh-navy-800);
}

.rh-past-grid {
    gap: 0.9rem;
    flex-wrap: wrap;
}

.rh-past-card {
    flex: 1 1 16rem;
    padding: 1rem;
    border-radius: 1.3rem;
    background: rgba(247, 250, 253, 0.96);
    border: 1px solid var(--rh-line-strong);
}

.rh-past-card--accent {
    background: rgba(0, 90, 181, 0.07);
}

.rh-past-card h3 {
    margin: 0 0 0.8rem;
    font-size: 1rem;
}

.rh-past-card dl {
    margin: 0;
    gap: 0.7rem;
}

.rh-past-card dl div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.rh-past-card dt {
    color: var(--rh-slate-500);
}

.rh-past-card dd {
    margin: 0;
    font-weight: 700;
}

.rh-reflexive-pair {
    gap: 0.9rem;
    flex-wrap: wrap;
}

.rh-reflexive-pair > div {
    flex: 1 1 12rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: rgba(247, 250, 253, 0.96);
    border: 1px solid var(--rh-line-strong);
}

.rh-reference-page .rh-past-card,
.rh-reference-page .rh-reflexive-pair > div {
    background: rgba(249, 251, 254, 0.98);
    border-color: rgba(199, 210, 226, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.rh-reference-page .rh-past-card--accent {
    background: linear-gradient(180deg, rgba(239, 245, 252, 0.98), rgba(247, 250, 254, 0.98));
}

.rh-reference-build {
    display: grid;
    gap: 1rem;
    margin-top: 1.15rem;
}

.rh-reference-build__intro {
    display: grid;
    gap: 0.45rem;
}

.rh-reference-build__intro h3 {
    margin: 0;
    color: var(--rh-navy-950);
    font-family: var(--rh-font-display);
    font-size: 1.15rem;
    letter-spacing: -0.03em;
}

.rh-reference-build__choices {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.rh-reference-build__option {
    display: grid;
    gap: 0.35rem;
    min-width: 13rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    border: 1px solid var(--rh-line-strong);
    background: rgba(250, 252, 255, 0.97);
    color: var(--rh-navy-950);
    cursor: pointer;
    font: inherit;
    text-align: left;
    transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.rh-reference-build__option:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 90, 181, 0.36);
    box-shadow: 0 14px 28px rgba(8, 17, 31, 0.08);
}

.rh-reference-build__option--active {
    border-color: rgba(0, 90, 181, 0.55);
    background: linear-gradient(180deg, rgba(238, 245, 255, 0.99), rgba(255, 255, 255, 0.99));
    box-shadow: 0 14px 28px rgba(0, 67, 138, 0.12);
}

.rh-reference-build__label {
    color: var(--rh-slate-500);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rh-reference-build__value {
    font-family: var(--rh-font-display);
    font-size: 1.08rem;
    letter-spacing: -0.02em;
}

.rh-reference-page .rh-reference-build {
    gap: 1.1rem;
}

.rh-reference-page .rh-reference-build__intro {
    padding: 1rem 1.05rem;
    border-radius: 1.1rem;
    background: rgba(245, 249, 253, 0.92);
    border: 1px solid rgba(205, 216, 230, 0.88);
}

.rh-reference-page .rh-reference-build__choices {
    gap: 0.8rem;
}

.rh-reference-page .rh-reference-build__option {
    min-width: 13.4rem;
    border-color: rgba(197, 209, 225, 0.92);
    background: rgba(252, 253, 255, 0.98);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.rh-reference-page .rh-reference-build__option:hover {
    border-color: rgba(16, 32, 51, 0.24);
    box-shadow: 0 14px 26px rgba(8, 17, 31, 0.08);
}

.rh-reference-page .rh-reference-build__option--active {
    border-color: rgba(16, 32, 51, 0.5);
    background: linear-gradient(180deg, rgba(240, 245, 252, 0.99), rgba(255, 255, 255, 0.99));
    box-shadow: 0 16px 30px rgba(16, 32, 51, 0.12);
}

.rh-reference-page .rh-reference-build__label {
    color: var(--rh-slate-500);
}

.rh-reference-page .rh-reference-build__value {
    color: var(--rh-navy-900);
}

.rh-empty-state {
    padding: 1rem;
    border: 1px dashed var(--rh-line);
    border-radius: 1rem;
    color: var(--rh-slate-500);
    background: rgba(245, 248, 252, 0.8);
}

.rh-bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    width: min(calc(100% - 2rem), 24rem);
    padding: 0.7rem;
    border: 1px solid var(--rh-line-strong);
    border-radius: 1.35rem;
    background: var(--rh-surface-nav);
    box-shadow: var(--rh-shadow);
    backdrop-filter: blur(18px);
}

.rh-bottom-nav__link {
    display: grid;
    place-items: center;
    gap: 0.3rem;
    min-height: 3.2rem;
    padding: 0.5rem;
    border-radius: 1rem;
    color: var(--rh-slate-500);
    font-size: 0.84rem;
    font-weight: 800;
}

.rh-bottom-nav__link.active {
    background: linear-gradient(135deg, var(--rh-primary) 0%, var(--rh-primary-strong) 100%);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(0, 67, 138, 0.2);
}

.rh-bottom-nav__icon {
    width: 1.2rem;
    height: 1.2rem;
}

.rh-practice-page {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    padding: 5.9rem 0 calc(var(--rh-practice-footer-space) + 1.25rem);
}

.rh-practice-shell {
    display: grid;
    gap: 1.7rem;
}

.rh-practice-topbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    padding: 0.85rem 1rem;
    background:
        linear-gradient(180deg, rgba(244, 249, 255, 0.97), rgba(248, 251, 255, 0.88)),
        radial-gradient(circle at top center, rgba(85, 217, 207, 0.12), transparent 55%);
    border-bottom: 1px solid rgba(188, 205, 226, 0.78);
    backdrop-filter: blur(20px);
    box-shadow: 0 16px 32px rgba(8, 17, 31, 0.08);
}

.rh-practice-topbar__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.8rem;
    width: min(100%, 44rem);
    margin: 0 auto;
}

.rh-practice-topbar__exit {
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    color: var(--rh-navy-900);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(214, 224, 236, 0.9);
    box-shadow: 0 12px 24px rgba(8, 17, 31, 0.08);
}

.rh-practice-topbar__exit svg,
.rh-practice-stat-pill svg,
.rh-practice-feedback svg,
.rh-practice-rule__icon svg {
    width: 1.15rem;
    height: 1.15rem;
    fill: currentColor;
}

.rh-practice-topbar__progress {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.rh-practice-topbar__progress-track {
    flex: 1 1 auto;
    height: 0.72rem;
    border-radius: 999px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(174, 191, 213, 0.5), rgba(196, 210, 228, 0.28));
    border: 1px solid rgba(180, 196, 218, 0.6);
}

.rh-practice-topbar__progress-fill,
.rh-practice-footer__primary {
    background: linear-gradient(135deg, var(--rh-primary) 0%, var(--rh-primary-strong) 100%);
}

.rh-practice-topbar__progress-fill {
    height: 100%;
    border-radius: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 0 18px rgba(85, 217, 207, 0.28);
}

.rh-practice-topbar__progress-copy {
    flex: 0 0 auto;
    color: var(--rh-primary);
    font-family: var(--rh-font-display);
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.rh-practice-topbar__stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rh-practice-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.55rem;
    padding: 0.58rem 0.82rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(205, 217, 232, 0.9);
    box-shadow: 0 14px 28px rgba(8, 17, 31, 0.08);
    color: var(--rh-navy-950);
    font-size: 0.85rem;
    font-weight: 800;
}

.rh-practice-stat-pill--streak svg {
    color: #f59e0b;
}

.rh-practice-stat-pill--streak {
    background: linear-gradient(180deg, rgba(255, 251, 241, 0.98), rgba(255, 255, 255, 0.98));
    border-color: rgba(242, 206, 154, 0.62);
}

.rh-practice-stat-pill--xp {
    color: var(--rh-primary);
    background: linear-gradient(180deg, rgba(241, 247, 255, 0.99), rgba(255, 255, 255, 0.98));
    border-color: rgba(179, 201, 228, 0.82);
}

.rh-practice-intro,
.rh-practice-question-card {
    text-align: center;
}

.rh-practice-action-row {
    display: flex;
    justify-content: center;
    margin-top: 0;
}

.rh-practice-intro {
    padding-top: 1rem;
}

.rh-practice-verb,
.rh-practice-editorial-title {
    margin: 0;
    color: #191c1d;
    font-family: var(--rh-font-display);
    letter-spacing: -0.055em;
}

.rh-practice-verb {
    font-size: clamp(3.55rem, 14vw, 5.25rem);
    font-weight: 800;
    line-height: 0.91;
    text-shadow: 0 10px 28px rgba(8, 17, 31, 0.08);
}

.rh-practice-translation {
    margin: 0.65rem 0 0;
    color: var(--rh-slate-500);
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    font-weight: 600;
}

.rh-practice-question-card,
.rh-practice-sentence-card,
.rh-practice-feedback,
.rh-practice-complete-card,
.rh-practice-rule {
    border-radius: 1.5rem;
}

.rh-practice-question-card,
.rh-practice-sentence-card,
.rh-practice-complete-card {
    padding: 1.7rem 1.3rem;
    background: var(--rh-surface-practice);
    border: 1px solid rgba(192, 210, 231, 0.94);
    box-shadow: var(--rh-shadow-practice);
}

.rh-practice-question-card {
    display: grid;
    gap: 1.15rem;
    background:
        radial-gradient(circle at top center, rgba(85, 217, 207, 0.11), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(239, 247, 255, 0.98));
}

.rh-practice-state-pill,
.rh-practice-editorial-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(0, 90, 181, 0.09);
    color: var(--rh-primary);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.rh-practice-state-pill {
    margin: 0 auto;
}

.rh-practice-question-title {
    margin: 0;
    color: var(--rh-navy-950);
    font-family: var(--rh-font-display);
    font-size: clamp(1.8rem, 7vw, 2.45rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.14;
}

.rh-practice-question-title span {
    display: block;
    color: var(--rh-primary-strong);
    text-shadow: 0 6px 18px rgba(0, 90, 181, 0.12);
}

.rh-practice-input-shell {
    padding: 0.45rem;
    border-radius: 1.2rem;
    background: linear-gradient(180deg, rgba(227, 237, 250, 0.98), rgba(212, 227, 246, 0.92));
    border: 1px solid rgba(162, 188, 221, 0.95);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        0 16px 30px rgba(0, 67, 138, 0.08);
}

.rh-practice-input {
    width: 100%;
    min-height: 4.75rem;
    padding: 1rem 1.15rem;
    border: 0;
    border-radius: 1rem;
    background: #ffffff;
    color: var(--rh-navy-950);
    font-family: var(--rh-font-display);
    font-size: clamp(1.5rem, 6vw, 1.9rem);
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.02em;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        0 10px 22px rgba(8, 17, 31, 0.04);
}

.rh-practice-input::placeholder {
    color: rgba(102, 118, 139, 0.82);
    font-family: var(--rh-font-sans);
    font-weight: 600;
}

.rh-practice-input:focus {
    outline: 3px solid rgba(0, 90, 181, 0.2);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        0 16px 30px rgba(0, 67, 138, 0.1);
}

.rh-practice-question-meta {
    display: grid;
    gap: 0.8rem;
}

.rh-practice-pronunciation {
    margin: 0;
    color: var(--rh-slate-500);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.rh-practice-pronunciation span {
    display: inline-block;
    margin-left: 0.35rem;
    font-style: italic;
    color: var(--rh-navy-800);
}

.rh-practice-input-help {
    display: grid;
    gap: 0.35rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(237, 248, 247, 0.97), rgba(245, 251, 251, 0.95));
    border: 1px solid rgba(85, 217, 207, 0.42);
    text-align: left;
}

.rh-practice-input-help__label {
    color: var(--rh-teal-500);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.rh-practice-input-help__value {
    color: var(--rh-navy-950);
    font-family: var(--rh-font-display);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.rh-practice-input-help__copy {
    margin: 0;
    color: var(--rh-slate-500);
    font-size: 0.88rem;
    line-height: 1.5;
}

.rh-practice-editorial-header {
    display: grid;
    gap: 0.85rem;
    padding-top: 0.5rem;
}

.rh-practice-complete-card {
    display: grid;
    gap: 1.1rem;
    background:
        radial-gradient(circle at top right, rgba(0, 90, 181, 0.1), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(239, 247, 255, 0.98));
}

.rh-practice-editorial-title {
    font-size: clamp(3rem, 12vw, 4.25rem);
    font-weight: 800;
    line-height: 0.96;
}

.rh-practice-editorial-title span {
    display: inline-block;
    margin-left: 0.35rem;
    color: var(--rh-slate-500);
    font-family: var(--rh-font-sans);
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 500;
    letter-spacing: -0.03em;
}

.rh-practice-complete-copy {
    margin: 0;
    color: var(--rh-slate-500);
    line-height: 1.7;
}

.rh-practice-complete-highlights {
    display: grid;
    gap: 0.65rem;
}

.rh-practice-complete-highlights__label {
    color: var(--rh-slate-500);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rh-practice-complete-highlights__chips {
    gap: 0.5rem;
}

.rh-practice-complete-highlights__chip {
    background: rgba(232, 239, 249, 0.98);
    border-color: rgba(188, 204, 223, 0.95);
}

.rh-practice-complete-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.rh-practice-complete-stat {
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(248, 251, 255, 0.98);
    border: 1px solid rgba(196, 210, 228, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.rh-practice-complete-stat span {
    color: var(--rh-slate-500);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rh-practice-complete-stat strong {
    color: var(--rh-navy-950);
    font-family: var(--rh-font-display);
    font-size: 1.45rem;
    letter-spacing: -0.04em;
}

.rh-practice-sentence-card {
    display: grid;
    gap: 1.05rem;
}

.rh-practice-sentence-card--question {
    background: linear-gradient(180deg, rgba(253, 254, 255, 0.99), rgba(241, 247, 255, 0.98));
    border-style: dashed;
    border-color: rgba(179, 199, 224, 0.86);
}

.rh-practice-sentence-card__lead {
    margin: 0;
    color: var(--rh-slate-500);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.rh-practice-sentence-card__support {
    margin: -0.35rem 0 0;
    color: var(--rh-navy-950);
    font-family: var(--rh-font-display);
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
}

.rh-practice-sentence {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.45rem;
    color: var(--rh-navy-950);
    font-family: var(--rh-font-display);
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.15;
}

.rh-practice-answer {
    display: inline-flex;
    align-items: center;
    padding: 0 0.08rem 0.12rem;
    border-bottom: 0.2rem solid currentColor;
    font-weight: 800;
}

.rh-practice-answer--correct {
    color: var(--rh-success);
}

.rh-practice-answer--incorrect {
    color: var(--rh-error);
}

.rh-practice-answer--pending {
    color: var(--rh-primary);
    border-bottom-style: dashed;
    border-bottom-color: rgba(0, 90, 181, 0.55);
}

.rh-practice-answer--pending:empty::before {
    content: "";
    display: inline-block;
    min-inline-size: 5.5ch;
}

.rh-practice-sentence-card__translation {
    margin: 0;
    color: var(--rh-slate-500);
    font-size: 0.9rem;
    font-style: italic;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rh-practice-feedback {
    padding: 1.35rem;
    border: 1px solid rgba(214, 224, 236, 0.85);
    box-shadow: var(--rh-shadow-soft);
}

.rh-practice-feedback--correct {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: linear-gradient(180deg, rgba(220, 252, 231, 0.98), rgba(240, 255, 246, 0.98));
    border-color: rgba(104, 192, 134, 0.34);
}

.rh-practice-feedback__main {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.rh-practice-feedback__icon {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--rh-success);
}

.rh-practice-feedback h2,
.rh-practice-rule h2 {
    margin: 0;
    font-family: var(--rh-font-display);
    letter-spacing: -0.03em;
}

.rh-practice-feedback p {
    margin: 0.25rem 0 0;
}

.rh-practice-feedback--correct h2 {
    color: var(--rh-success);
    font-size: 1.35rem;
    font-weight: 800;
}

.rh-practice-feedback--correct p {
    color: var(--rh-success-ink);
    font-weight: 700;
}

.rh-practice-feedback__accent {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.75rem 0.95rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(247, 252, 249, 0.84));
    border: 1px solid rgba(118, 196, 146, 0.32);
    color: var(--rh-navy-950);
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(22, 101, 52, 0.08);
}

.rh-practice-feedback__accent svg {
    color: #d97706;
}

.rh-practice-feedback--incorrect {
    display: grid;
    gap: 1rem;
    background: linear-gradient(180deg, rgba(255, 232, 228, 0.98), rgba(255, 242, 239, 0.99));
    border-color: rgba(208, 108, 108, 0.28);
}

.rh-practice-feedback__header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--rh-error);
}

.rh-practice-feedback__header h2 {
    font-size: 1.35rem;
    font-weight: 800;
}

.rh-practice-feedback__answer-block {
    display: grid;
    gap: 0.45rem;
}

.rh-practice-feedback__answer-block span {
    color: var(--rh-error-ink);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.rh-practice-feedback__answer-block strong {
    color: var(--rh-primary-strong);
    font-family: var(--rh-font-display);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.rh-practice-feedback__explanation {
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.62);
}

.rh-practice-feedback__explanation p {
    margin: 0;
    color: var(--rh-navy-950);
    line-height: 1.6;
}

.rh-rule-card {
    position: relative;
    display: grid;
    gap: 1rem;
    padding: 1.35rem 1.25rem 1.35rem 1.55rem;
    border-radius: 1.6rem;
    overflow: hidden;
    border: 1px solid rgba(193, 208, 227, 0.92);
    box-shadow: var(--rh-shadow-rule);
}

.rh-rule-card--focus {
    background: var(--rh-surface-rule-focus);
    border-color: rgba(239, 202, 148, 0.55);
}

.rh-rule-card--build {
    background: var(--rh-surface-rule-build);
    border-color: rgba(170, 195, 227, 0.96);
    box-shadow: 0 24px 46px rgba(16, 32, 51, 0.12);
}

.rh-rule-card__accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0.55rem;
    background: linear-gradient(180deg, var(--rh-orange), #f59e0b);
}

.rh-rule-card--build .rh-rule-card__accent {
    background: linear-gradient(180deg, var(--rh-primary), var(--rh-teal-500));
}

.rh-rule-card__body {
    display: grid;
    gap: 1rem;
}

.rh-rule-card__eyebrow {
    color: var(--rh-slate-500);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.rh-rule-card__body h2 {
    margin: 0;
    font-family: var(--rh-font-display);
    font-size: 1.24rem;
    letter-spacing: -0.035em;
    color: var(--rh-navy-950);
}

.rh-rule-card__body p {
    margin: 0;
    color: var(--rh-slate-500);
    line-height: 1.68;
}

.rh-rule-card__content {
    display: grid;
    gap: 1rem;
}

.rh-practice-rule {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1.45rem 1.3rem;
    background: rgba(250, 247, 242, 0.98);
    border: 1px solid rgba(242, 206, 154, 0.38);
}

.rh-practice-rule--question {
    background: rgba(255, 252, 247, 0.98);
    box-shadow: 0 14px 34px rgba(98, 60, 0, 0.06);
}

.rh-practice-rule__accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0.3rem;
    border-radius: 999px;
    background: var(--rh-orange);
}

.rh-practice-rule__icon {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: rgba(255, 185, 95, 0.24);
    color: var(--rh-orange-ink);
}

.rh-practice-rule__body {
    display: grid;
    gap: 0.9rem;
}

.rh-practice-rule__body p {
    margin: 0;
    color: var(--rh-slate-500);
    line-height: 1.65;
}

.rh-practice-rule__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.rh-practice-rule__cell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--rh-slate-500);
}

.rh-practice-rule__cell--active {
    background: rgba(215, 227, 255, 0.72);
    outline: 2px solid rgba(0, 67, 138, 0.22);
    color: var(--rh-primary);
}

.rh-practice-rule__pronoun {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    min-height: 2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: inherit;
    font-size: 0.74rem;
    font-weight: 800;
}

.rh-practice-rule__cell--active .rh-practice-rule__pronoun {
    background: var(--rh-primary);
    color: #ffffff;
}

.rh-practice-rule__form {
    display: inline-flex;
    gap: 0.05rem;
    font-size: 0.95rem;
}

.rh-practice-rule__form strong {
    color: var(--rh-primary);
}

.rh-build-card__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 0.75rem;
}

.rh-build-card__lesson-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: 0.65rem;
}

.rh-build-card__lesson-pill {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.8rem 0.9rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(191, 208, 228, 0.84);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.rh-build-card__lesson-pill--active {
    background: linear-gradient(180deg, rgba(231, 242, 255, 0.95), rgba(246, 251, 255, 0.94));
    border-color: rgba(77, 131, 194, 0.62);
    box-shadow: 0 14px 26px rgba(0, 67, 138, 0.08);
}

.rh-build-card__lesson-pill-label {
    color: var(--rh-slate-500);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.rh-build-card__lesson-pill-value {
    color: var(--rh-navy-950);
    font-family: var(--rh-font-display);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.rh-build-card__lesson-note {
    margin: 0;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(12, 23, 39, 0.04), rgba(12, 23, 39, 0.02));
    border: 1px solid rgba(191, 206, 224, 0.86);
    color: var(--rh-navy-950);
    font-size: 0.89rem;
    font-weight: 700;
    line-height: 1.55;
}

.rh-build-card__step {
    display: grid;
    gap: 0.4rem;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(197, 211, 229, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.rh-build-card__step--active {
    background: linear-gradient(180deg, rgba(231, 242, 255, 0.96), rgba(247, 251, 255, 0.95));
    border-color: rgba(75, 129, 191, 0.62);
    box-shadow: 0 12px 24px rgba(0, 67, 138, 0.08);
}

.rh-build-card__step--neutral {
    background: rgba(249, 251, 254, 0.96);
}

.rh-build-card__step--result {
    background: linear-gradient(180deg, rgba(16, 32, 51, 0.98), rgba(8, 17, 31, 0.98));
    border-color: rgba(16, 32, 51, 0.98);
    box-shadow: 0 18px 34px rgba(8, 17, 31, 0.22);
}

.rh-build-card__step--result .rh-build-card__label,
.rh-build-card__step--result .rh-build-card__detail {
    color: rgba(232, 242, 255, 0.78);
}

.rh-build-card__step--result .rh-build-card__value {
    color: #ffffff;
}

.rh-build-card__label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--rh-slate-500);
}

.rh-build-card__value {
    color: var(--rh-navy-950);
    font-family: var(--rh-font-display);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.rh-build-card__value--filter {
    font-size: 1.02rem;
}

.rh-build-card__value--selection {
    font-size: 1.04rem;
}

.rh-build-card__detail {
    color: var(--rh-slate-500);
    font-size: 0.88rem;
    line-height: 1.5;
}

.rh-build-card__expression {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(250, 252, 255, 0.98), rgba(243, 248, 255, 0.96));
    border: 1px dashed rgba(114, 140, 172, 0.82);
    color: var(--rh-navy-950);
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.rh-build-card__expression strong {
    color: var(--rh-navy-900);
    font-family: var(--rh-font-display);
    font-size: 1.14rem;
}

.rh-build-card__chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(217, 228, 243, 0.92);
    color: var(--rh-primary-strong);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.rh-build-card__operator {
    color: var(--rh-slate-400);
}

.rh-practice-footer {
    position: fixed;
    inset: auto 0 0;
    z-index: 45;
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(248, 251, 255, 0) 0%, rgba(243, 248, 255, 0.94) 26%, rgba(248, 251, 255, 1) 100%);
    transition: transform 180ms ease, opacity 180ms ease;
}

.rh-practice-footer__inner {
    width: min(100%, 44rem);
    margin: 0 auto;
}

.rh-practice-footer__primary {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.45rem;
    padding: 0.95rem 1.2rem;
    border-radius: 1.15rem;
    color: #ffffff;
    font-family: var(--rh-font-display);
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    border: 0;
    box-shadow:
        0 22px 38px rgba(0, 67, 138, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    cursor: pointer;
}

.rh-practice-footer__primary:hover,
.rh-practice-topbar__exit:hover {
    transform: translateY(-1px);
}

.rh-practice-footer__primary:disabled {
    opacity: 0.45;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    color: #ffffff;
    padding: 1rem 1rem 1rem 3.7rem;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}

@supports (-webkit-touch-callout: none) {
    .status-bar-safe-area {
        display: block;
        height: env(safe-area-inset-top);
    }

    .rh-layout__main {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
        padding-bottom: max(var(--rh-practice-footer-space), calc(6.5rem + env(safe-area-inset-bottom)));
    }

    .rh-bottom-nav {
        bottom: max(1rem, env(safe-area-inset-bottom));
    }
}

@media (min-width: 48rem) {
    .rh-layout__main {
        padding-top: 1.9rem;
    }

    .rh-page--stacked {
        gap: 1.3rem;
    }

    .rh-panel {
        padding: 1.75rem;
    }

    .rh-home-hero {
        padding: 1.8rem;
    }

    .rh-home-section {
        padding: 1.6rem;
    }

    .rh-home-hero__main {
        grid-template-columns: minmax(0, 1.3fr) minmax(19rem, 0.95fr);
        align-items: stretch;
        gap: 1.2rem;
    }

    .rh-home-hero__secondary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rh-home-contrast-strip,
    .rh-home-verb-grid,
    .rh-home-method-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rh-practice-page {
        padding-top: 6.75rem;
    }

    .rh-practice-question-card,
    .rh-practice-sentence-card,
    .rh-practice-feedback,
    .rh-practice-complete-card,
    .rh-practice-rule {
        padding: 2rem;
    }

    .rh-practice-feedback--correct {
        padding-block: 1.4rem;
    }
}

@media (max-width: 40rem) {
    .rh-home-hero {
        padding: 1.1rem;
    }

    .rh-home-hero__main,
    .rh-home-hero__copy {
        gap: 0.8rem;
    }

    .rh-home-hero h1 {
        font-size: clamp(2.25rem, 11vw, 3.25rem);
        max-width: 8.5ch;
    }

    .rh-home-hero__lead {
        font-size: 0.93rem;
        line-height: 1.56;
    }

    .rh-home-hero__chips {
        gap: 0.45rem;
    }

    .rh-home-hero__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .rh-home-stat {
        padding: 0.8rem 0.85rem;
    }

    .rh-home-stat strong {
        font-size: 1.3rem;
    }

    .rh-home-spotlight {
        gap: 0.75rem;
        padding: 1rem;
    }

    .rh-practice-page {
        min-height: auto;
        min-height: 100svh;
        min-height: 100dvh;
        padding-top: 0.9rem;
        padding-bottom: calc(var(--rh-practice-footer-space) + 0.75rem);
    }

    .rh-practice-shell {
        gap: 1.1rem;
    }

    .rh-practice-topbar {
        position: sticky;
        top: 0;
        padding: 0.7rem 0.85rem;
    }

    .rh-practice-topbar__inner {
        gap: 0.6rem;
    }

    .rh-practice-intro {
        padding-top: 0.2rem;
    }

    .rh-practice-verb {
        font-size: clamp(2.55rem, 11vw, 3.4rem);
    }

    .rh-practice-translation {
        margin-top: 0.35rem;
        font-size: 1rem;
    }

    .rh-practice-question-card,
    .rh-practice-sentence-card,
    .rh-practice-complete-card,
    .rh-practice-rule {
        padding: 1.15rem 1rem;
    }

    .rh-practice-question-card {
        gap: 0.85rem;
    }

    .rh-practice-question-title {
        font-size: clamp(1.35rem, 6vw, 1.85rem);
        line-height: 1.08;
    }

    .rh-practice-input-shell {
        padding: 0.3rem;
    }

    .rh-practice-input {
        min-height: 3.6rem;
        padding: 0.75rem 0.9rem;
        font-size: 1.18rem;
    }

    .rh-practice-question-meta {
        gap: 0.6rem;
    }

    .rh-practice-pronunciation {
        font-size: 0.86rem;
    }

    .rh-practice-sentence-card {
        gap: 0.8rem;
    }

    .rh-practice-sentence-card__lead {
        font-size: 0.92rem;
    }

    .rh-practice-sentence-card__support,
    .rh-practice-sentence {
        font-size: clamp(1.6rem, 7vw, 2.25rem);
        line-height: 1.06;
    }

    .rh-practice-action-row .rh-button {
        min-height: 2.9rem;
        padding: 0.72rem 1rem;
    }

    .rh-practice-footer {
        padding-inline: 0.85rem;
    }

    .rh-practice-footer__primary {
        min-height: 3.2rem;
        font-size: 1rem;
    }

    .rh-build-card__grid,
    .rh-build-card__lesson-strip,
    .rh-practice-rule__grid {
        grid-template-columns: 1fr;
    }

    .rh-practice-complete-stats {
        grid-template-columns: 1fr;
    }

    .rh-practice-topbar__stats {
        gap: 0.35rem;
    }

    .rh-practice-stat-pill {
        min-height: 2.35rem;
        padding-inline: 0.7rem;
    }
}

@supports selector(body:has(*)) {
    body:has(.rh-practice-input:focus) .rh-practice-footer {
        opacity: 0;
        pointer-events: none;
        transform: translateY(calc(100% + 1rem));
    }
}

.rh-practice-module-band {
    display: grid;
    gap: 1rem;
    padding: 1.4rem 1.25rem;
    border-radius: var(--rh-radius-xl);
    background: linear-gradient(180deg, rgba(0, 67, 138, 0.06), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(0, 67, 138, 0.12);
    box-shadow: var(--rh-shadow-1);
}

.rh-practice-module-band--foundation {
    gap: 1.1rem;
}

.rh-practice-module-band__copy {
    display: grid;
    gap: 0.55rem;
}

.rh-practice-module-band__title {
    margin: 0;
    color: var(--rh-anchor-navy);
    font-family: var(--rh-font-ui);
    font-size: clamp(1.9rem, 8vw, 2.8rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.rh-practice-module-band__subtitle,
.rh-practice-module-band__summary {
    margin: 0;
    color: var(--rh-text-muted);
    font-family: var(--rh-font-ui);
    line-height: 1.6;
}

.rh-practice-module-band__subtitle {
    color: var(--rh-blue-600);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.rh-practice-module-band__chips {
    gap: 0.55rem;
}

.rh-practice-foundations {
    display: grid;
    gap: 1rem;
}

.rh-practice-foundation-card {
    display: grid;
    gap: 0.7rem;
    padding: 1.2rem 1.05rem;
    border-radius: var(--rh-radius-xl);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(16, 32, 51, 0.06);
    box-shadow: var(--rh-shadow-1);
}

.rh-practice-foundation-card__title {
    margin: 0;
    color: var(--rh-anchor-navy);
    font-family: var(--rh-font-ui);
    font-size: 1.1rem;
    font-weight: 800;
}

.rh-practice-foundation-card__copy {
    margin: 0;
    color: var(--rh-text-muted);
    font-family: var(--rh-font-ui);
    line-height: 1.65;
}

.rh-practice-foundation-card__list {
    display: grid;
    gap: 0.45rem;
    margin: 0;
    padding-left: 1.15rem;
    color: var(--rh-text);
    font-family: var(--rh-font-ui);
    line-height: 1.6;
}

.rh-practice-hint-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
    gap: 0.7rem;
}

.rh-practice-hint-panel__item {
    display: grid;
    gap: 0.35rem;
    padding: 0.9rem 0.95rem;
    border-radius: var(--rh-radius-lg);
    background: rgba(243, 246, 250, 0.9);
    border: 1px solid rgba(16, 32, 51, 0.06);
}

.rh-practice-hint-panel__label {
    color: var(--rh-text-soft);
    font-family: var(--rh-font-ui);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rh-practice-hint-panel__value {
    color: var(--rh-anchor-navy);
    font-family: var(--rh-font-ui);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
}

.rh-practice-keyboard-note {
    margin: 0;
    color: var(--rh-text-soft);
    font-family: var(--rh-font-ui);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.5;
}

.rh-practice-inline-build {
    display: grid;
    gap: 0.8rem;
}

.rh-practice-action-row--module {
    justify-content: flex-start;
}

.rh-practice-page--module-learn {
    --rh-module-learn-gap: 0.95rem;
}

.rh-practice-page--module-learn .rh-practice-shell {
    gap: var(--rh-module-learn-gap);
}

.rh-practice-page--module-learn .rh-practice-module-band--learn {
    gap: 0.55rem;
    padding: 0.95rem 1rem;
    background: linear-gradient(180deg, rgba(0, 67, 138, 0.035), rgba(255, 255, 255, 0.96));
    border-color: rgba(0, 67, 138, 0.08);
    box-shadow: none;
}

.rh-practice-page--module-learn .rh-practice-module-band--learn .rh-practice-editorial-label {
    padding: 0.3rem 0.55rem;
    font-size: 0.68rem;
}

.rh-practice-page--module-learn .rh-practice-module-band--learn .rh-practice-module-band__copy {
    gap: 0.2rem;
}

.rh-practice-page--module-learn .rh-practice-module-band--learn .rh-practice-module-band__title {
    font-size: clamp(1.3rem, 5vw, 1.65rem);
    letter-spacing: -0.03em;
}

.rh-practice-page--module-learn .rh-practice-module-band--learn .rh-practice-module-band__subtitle {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}

.rh-practice-page--module-learn .rh-practice-intro {
    padding-top: 0.2rem;
}

.rh-practice-page--module-learn .rh-practice-question-card {
    gap: 0.85rem;
    box-shadow: 0 16px 28px rgba(0, 67, 138, 0.07);
}

.rh-practice-page--module-learn .rh-practice-question-meta {
    gap: 0.4rem;
}

.rh-practice-page--module-learn .rh-practice-hint-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.rh-practice-page--module-learn .rh-practice-hint-panel__item {
    gap: 0.18rem;
    padding: 0.7rem 0.8rem;
    background: rgba(243, 246, 250, 0.76);
}

.rh-practice-page--module-learn .rh-practice-hint-panel__label {
    font-size: 0.65rem;
    letter-spacing: 0.11em;
}

.rh-practice-page--module-learn .rh-practice-hint-panel__value {
    font-size: 0.92rem;
    line-height: 1.22;
}

.rh-practice-page--module-learn .rh-practice-inline-build .rh-rule-card--build {
    padding: 1rem 1rem 1.05rem 1.15rem;
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(16, 32, 51, 0.05);
    box-shadow: none;
}

.rh-practice-page--module-learn .rh-practice-inline-build .rh-rule-card__body {
    gap: 0.75rem;
}

.rh-practice-page--module-learn .rh-practice-inline-build .rh-rule-card__content {
    gap: 0.7rem;
}

.rh-practice-page--module-learn .rh-practice-inline-build .rh-build-card__lesson-strip {
    gap: 0.5rem;
}

.rh-practice-page--module-learn .rh-practice-inline-build .rh-build-card__lesson-pill {
    gap: 0.2rem;
    padding: 0.65rem 0.75rem;
}

.rh-practice-page--module-learn .rh-practice-inline-build .rh-build-card__lesson-pill-label,
.rh-practice-page--module-learn .rh-practice-inline-build .rh-build-card__label {
    font-size: 0.67rem;
}

.rh-practice-page--module-learn .rh-practice-inline-build .rh-build-card__lesson-note {
    padding: 0.78rem 0.9rem;
    font-size: 0.84rem;
    line-height: 1.48;
}

.rh-practice-page--module-learn .rh-practice-inline-build .rh-build-card__grid {
    gap: 0.55rem;
}

.rh-practice-page--module-learn .rh-practice-inline-build .rh-build-card__step {
    gap: 0.32rem;
    padding: 0.82rem 0.88rem;
}

.rh-practice-page--module-learn .rh-practice-inline-build .rh-build-card__detail {
    font-size: 0.84rem;
    line-height: 1.48;
}

.rh-practice-page--module-learn .rh-practice-inline-build .rh-build-card__expression {
    padding: 0.75rem 0.88rem;
}

.rh-practice-page--module-learn .rh-practice-sentence-card {
    gap: 0.48rem;
    padding-top: 0.4rem;
    background: rgba(255, 255, 255, 0.46);
}

.rh-practice-page--module-learn .rh-practice-sentence-card__lead {
    font-size: 0.84rem;
}

.rh-practice-page--module-learn .rh-practice-sentence-card__support {
    font-size: clamp(1.4rem, 5.6vw, 1.95rem);
    color: var(--rh-anchor-navy);
}

.rh-practice-page--module-learn .rh-practice-sentence {
    font-size: clamp(1.55rem, 6vw, 2.15rem);
}

.rh-practice-page--module-learn .rh-practice-sentence-card__translation {
    font-size: 0.76rem;
    letter-spacing: 0.05em;
}

.rh-practice-page--module-learn .rh-practice-page .rh-rule-card--focus,
.rh-practice-page--module-learn .rh-rule-card--focus {
    padding: 0.82rem 0.9rem 0.82rem 1rem;
    background: rgba(252, 233, 235, 0.12);
    border-color: rgba(182, 23, 30, 0.05);
}

.rh-practice-page--module-learn .rh-rule-card--focus .rh-rule-card__body {
    gap: 0.45rem;
}

.rh-practice-page--module-learn .rh-rule-card--focus .rh-rule-card__eyebrow {
    font-size: 0.65rem;
}

.rh-practice-page--module-learn .rh-rule-card--focus .rh-rule-card__body h2 {
    font-size: 0.98rem;
    line-height: 1.25;
}

.rh-practice-page--module-learn .rh-rule-card--focus .rh-rule-card__body p {
    font-size: 0.84rem;
    line-height: 1.45;
}

@media (min-width: 48rem) {
    .rh-practice-foundations {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 40rem) {
    .rh-practice-module-band {
        gap: 0.85rem;
        padding: 1.15rem 1rem;
    }

    .rh-practice-module-band__copy {
        gap: 0.45rem;
    }

    .rh-practice-module-band__title {
        font-size: clamp(1.65rem, 8vw, 2.2rem);
    }

    .rh-practice-module-band__subtitle {
        font-size: 0.84rem;
    }

    .rh-practice-foundation-card {
        gap: 0.6rem;
        padding: 1rem 0.95rem;
    }

    .rh-practice-hint-panel {
        grid-template-columns: 1fr;
    }

    .rh-practice-hint-panel__item {
        padding: 0.8rem 0.9rem;
    }

    .rh-practice-page--module-learn .rh-practice-module-band--learn {
        padding: 0.88rem 0.92rem;
    }

    .rh-practice-page--module-learn .rh-practice-hint-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rh-practice-page--module-learn .rh-practice-hint-panel__item {
        padding: 0.68rem 0.75rem;
    }

    .rh-practice-page--module-learn .rh-practice-inline-build .rh-rule-card--build {
        padding: 0.9rem 0.88rem 0.95rem 1rem;
    }
}

/* Narrow visual polish pass */

.rh-home-hero__main,
.rh-home-hero__copy {
    gap: 1.1rem;
}

.rh-home-hero h1 {
    max-width: 9.2ch;
}

.rh-home-hero__lead {
    max-width: 29rem;
    color: rgba(247, 251, 255, 0.72);
}

.rh-home-hero__primary {
    min-height: 3.6rem;
    box-shadow: 0 22px 44px rgba(0, 67, 138, 0.18);
}

.rh-home-hero__secondary {
    gap: 0.45rem;
}

.rh-home-hero__secondary .rh-button {
    min-height: 2.7rem;
    padding: 0.7rem 0.95rem;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(247, 251, 255, 0.92);
}

.rh-home-hero__chips {
    gap: 0.35rem;
    opacity: 0.78;
}

.rh-home-hero .rh-chip {
    padding: 0.38rem 0.62rem;
    font-size: 0.66rem;
}

.rh-home-hero__stats {
    gap: 0.8rem;
    opacity: 0.82;
}

.rh-home-stat__value {
    font-size: 1.15rem;
}

.rh-home-spotlight {
    gap: 0.7rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 28px rgba(16, 32, 51, 0.08);
}

.rh-home-spotlight__pair {
    font-size: clamp(2rem, 8vw, 3.4rem);
}

.rh-home-spotlight .rh-panel__lead {
    color: var(--rh-text-muted);
}

.rh-home-spotlight__actions {
    gap: 0.55rem;
}

.rh-practice-shell {
    gap: 1.05rem;
}

.rh-practice-question-card {
    box-shadow: 0 14px 28px rgba(16, 32, 51, 0.05);
}

.rh-practice-sentence-card {
    gap: 0.65rem;
    padding: 0.8rem 0.15rem 0.1rem;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.rh-practice-sentence-card--question {
    background: transparent;
    border: 0;
}

.rh-practice-sentence-card__lead {
    color: var(--rh-text-soft);
}

.rh-practice-sentence-card__support {
    font-size: clamp(1.55rem, 6vw, 2.3rem);
    color: var(--rh-text);
}

.rh-practice-sentence {
    color: var(--rh-anchor-navy);
    font-size: clamp(1.75rem, 7vw, 2.6rem);
}

.rh-practice-sentence-card__translation {
    color: var(--rh-text-soft);
}

.rh-practice-page .rh-rule-card--focus {
    padding: 1rem 1rem 1rem 1.2rem;
    background: rgba(252, 233, 235, 0.22);
    border-color: rgba(182, 23, 30, 0.08);
    box-shadow: none;
}

.rh-practice-page .rh-rule-card--focus .rh-rule-card__body {
    gap: 0.65rem;
}

.rh-practice-page .rh-rule-card--focus .rh-rule-card__body h2 {
    font-size: 1.02rem;
}

.rh-practice-page .rh-rule-card--focus .rh-rule-card__body p {
    font-size: 0.9rem;
    line-height: 1.55;
}

.rh-reference-panel--hero,
.rh-reference-panel--section {
    box-shadow: none;
}

.rh-reference-page .rh-action-row {
    gap: 0.55rem;
}

.rh-reference-page .rh-button {
    min-height: 2.85rem;
    padding: 0.72rem 0.95rem;
}

.rh-reference-page .rh-button--ghost {
    background: transparent;
    border-color: rgba(16, 32, 51, 0.08);
    color: var(--rh-text-muted);
}

.rh-reference-page .rh-tabs {
    gap: 0.45rem;
}

.rh-reference-page .rh-tab {
    min-height: 2.55rem;
    padding: 0.62rem 0.82rem;
    background: rgba(255, 255, 255, 0.58);
    border-color: rgba(16, 32, 51, 0.07);
    color: var(--rh-text-muted);
}

.rh-reference-page .rh-tab--active {
    background: rgba(0, 67, 138, 0.1);
    border-color: rgba(0, 67, 138, 0.12);
    color: var(--rh-blue-600);
    box-shadow: none;
}

.rh-reference-build {
    gap: 0.8rem;
    margin-top: 0.9rem;
}

.rh-reference-page .rh-reference-build__intro {
    padding: 0;
    background: transparent;
    border: 0;
}

.rh-reference-build__choices {
    gap: 0.55rem;
}

.rh-reference-page .rh-reference-build__option {
    min-width: 11.5rem;
    padding: 0.78rem 0.88rem;
    background: rgba(255, 255, 255, 0.72);
}

.rh-reference-page .rh-reference-build__option:hover {
    box-shadow: none;
}

.rh-reference-page .rh-reference-build__option--active {
    background: rgba(0, 67, 138, 0.06);
    border-color: rgba(0, 67, 138, 0.12);
    box-shadow: none;
}

@media (max-width: 40rem) {
    .rh-home-hero {
        padding: 1rem;
    }

    .rh-home-hero__main,
    .rh-home-hero__copy {
        gap: 0.72rem;
    }

    .rh-home-hero h1 {
        max-width: 8ch;
        font-size: clamp(2.1rem, 10vw, 2.8rem);
    }

    .rh-home-hero__lead {
        font-size: 0.88rem;
        line-height: 1.48;
    }

    .rh-home-hero__chips {
        display: none;
    }

    .rh-home-hero__stats {
        gap: 0.65rem;
    }

    .rh-home-stat__label {
        font-size: 0.64rem;
    }

    .rh-home-stat__value {
        font-size: 1rem;
    }

    .rh-home-spotlight {
        padding: 0.9rem;
    }

    .rh-practice-shell {
        gap: 0.9rem;
    }

    .rh-practice-sentence-card {
        padding-top: 0.55rem;
    }

    .rh-practice-page .rh-rule-card--focus {
        padding: 0.85rem 0.9rem 0.85rem 1rem;
    }

    .rh-reference-page .rh-tab {
        min-height: 2.4rem;
        padding: 0.58rem 0.76rem;
    }

    .rh-reference-page .rh-reference-build__option {
        min-width: 100%;
    }
}

/* Verb Product UI Spec overrides */

:root {
    --rh-practice-footer-space: 7.25rem;
    --rh-page-bg: #f7f9fc;
    --rh-page-bg-top: #fbfcfe;
    --rh-page-bg-bottom: #eef3f9;
    --rh-surface: #ffffff;
    --rh-surface-soft: #f3f4f5;
    --rh-surface-elevated: #fcfdff;
    --rh-surface-reference: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 253, 0.98));
    --rh-surface-reference-hero: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 246, 251, 0.98));
    --rh-surface-reference-search: linear-gradient(180deg, rgba(252, 253, 255, 0.98), rgba(247, 249, 252, 0.98));
    --rh-surface-reference-section: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 250, 253, 0.98));
    --rh-surface-practice: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 249, 255, 0.99));
    --rh-surface-rule-focus: linear-gradient(180deg, rgba(255, 251, 251, 0.99), rgba(255, 255, 255, 0.99));
    --rh-surface-rule-build: linear-gradient(180deg, rgba(249, 252, 255, 0.99), rgba(255, 255, 255, 0.99));
    --rh-surface-nav: rgba(255, 255, 255, 0.84);
    --rh-page-glow-blue: rgba(0, 67, 138, 0.08);
    --rh-page-glow-teal: rgba(85, 217, 207, 0.07);
    --rh-blue-600: #00438a;
    --rh-blue-500: #005ab5;
    --rh-blue-700: #00356d;
    --rh-grammar-red: #b6171e;
    --rh-grammar-red-strong: #8f000f;
    --rh-grammar-red-tint: #fce9eb;
    --rh-anchor-navy: #102033;
    --rh-text: #191c1d;
    --rh-text-muted: #66768b;
    --rh-text-soft: #7f90a5;
    --rh-success: #0f8a6c;
    --rh-success-tint: #e7f7f1;
    --rh-error: #d92d20;
    --rh-error-tint: #fef0ef;
    --rh-line-ghost: rgba(16, 32, 51, 0.08);
    --rh-line-strong: rgba(16, 32, 51, 0.14);
    --rh-radius-sm: 0.5rem;
    --rh-radius-md: 0.75rem;
    --rh-radius-lg: 1rem;
    --rh-radius-xl: 1.5rem;
    --rh-radius-pill: 999px;
    --rh-shadow-1: 0 8px 24px rgba(25, 28, 29, 0.04);
    --rh-shadow-2: 0 12px 32px rgba(25, 28, 29, 0.06);
    --rh-shadow-3: 0 18px 40px rgba(0, 67, 138, 0.1);
    --rh-shadow-glass: 0 10px 28px rgba(25, 28, 29, 0.08);
    --rh-navy-950: #0d1724;
    --rh-navy-900: var(--rh-anchor-navy);
    --rh-navy-800: #20344c;
    --rh-navy-700: #3e5671;
    --rh-slate-500: var(--rh-text-muted);
    --rh-slate-400: var(--rh-text-soft);
    --rh-slate-300: #a9b6c4;
    --rh-line: rgba(16, 32, 51, 0.1);
    --rh-line-soft: rgba(16, 32, 51, 0.06);
    --rh-primary: var(--rh-blue-600);
    --rh-primary-strong: var(--rh-blue-500);
    --rh-primary-soft: #dce8f8;
    --rh-primary-tint: rgba(0, 67, 138, 0.08);
    --rh-teal-500: #1c9d90;
    --rh-teal-400: #65d6cd;
    --rh-orange: var(--rh-grammar-red);
    --rh-orange-ink: var(--rh-grammar-red-strong);
    --rh-success-bg: var(--rh-success-tint);
    --rh-success-ink: #0e6b55;
    --rh-error-bg: var(--rh-error-tint);
    --rh-error-ink: #8f1d17;
    --rh-shadow: var(--rh-shadow-2);
    --rh-shadow-soft: var(--rh-shadow-1);
    --rh-shadow-reference: var(--rh-shadow-1);
    --rh-shadow-practice: var(--rh-shadow-2);
    --rh-shadow-rule: var(--rh-shadow-2);
    --rh-font-sans: "Inter", "Aptos", "Segoe UI", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
    --rh-font-ui: "Inter", "Aptos", "Segoe UI", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
    --rh-font-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    --rh-font-editorial: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}

html,
body {
    background:
        radial-gradient(circle at top right, var(--rh-page-glow-blue), transparent 22rem),
        linear-gradient(180deg, var(--rh-page-bg-top) 0%, var(--rh-page-bg) 46%, var(--rh-page-bg-bottom) 100%);
    color: var(--rh-text);
    font-family: var(--rh-font-ui);
}

body {
    background:
        radial-gradient(circle at top left, rgba(0, 67, 138, 0.05), transparent 24rem),
        radial-gradient(circle at top right, rgba(182, 23, 30, 0.03), transparent 26rem),
        linear-gradient(180deg, var(--rh-page-bg-top) 0%, var(--rh-page-bg) 46%, var(--rh-page-bg-bottom) 100%);
}

.rh-layout {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
}

.rh-layout__main {
    width: min(100%, 54rem);
    padding: 1.15rem 1rem 7.9rem;
}

.rh-page--stacked {
    gap: 1.5rem;
}

.rh-panel {
    padding: 1.5rem;
    border-radius: var(--rh-radius-xl);
}

.rh-panel--surface {
    background: var(--rh-surface);
    border: 1px solid transparent;
    box-shadow: var(--rh-shadow-1);
}

.rh-panel--muted {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 252, 0.96));
    border: 1px solid var(--rh-line-ghost);
    box-shadow: none;
}

.rh-panel__eyebrow,
.rh-eyebrow,
.rh-reflexive-pair__label,
.rh-rule-card__eyebrow,
.rh-build-card__label,
.rh-build-card__lesson-pill-label,
.rh-reference-build__label,
.rh-search-field__label,
.rh-home-contrast-card__eyebrow,
.rh-home-stat__label,
.rh-practice-state-pill,
.rh-practice-editorial-label,
.rh-practice-complete-highlights__label,
.rh-practice-complete-stat span {
    color: var(--rh-text-soft);
    font-family: var(--rh-font-ui);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rh-panel__lead,
.rh-lead,
.rh-verb-list-item__meaning,
.rh-home-contrast-card__copy,
.rh-home-verb-card__meaning,
.rh-home-method-step p,
.rh-rule-card__body p,
.rh-practice-complete-copy,
.rh-build-card__detail,
.rh-practice-rule__body p {
    color: var(--rh-text-muted);
    font-family: var(--rh-font-ui);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.65;
}

.rh-chip,
.rh-mini-pill,
.rh-pill,
.rh-button,
.rh-tab,
.rh-text-link,
.rh-icon-link,
.rh-bottom-nav__label {
    font-family: var(--rh-font-ui);
}

.rh-chip {
    padding: 0.45rem 0.72rem;
    border-radius: var(--rh-radius-pill);
    border: 1px solid var(--rh-line-ghost);
    background: rgba(255, 255, 255, 0.84);
    color: var(--rh-anchor-navy);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: none;
}

.rh-chip--accent {
    background: var(--rh-grammar-red-tint);
    border-color: rgba(182, 23, 30, 0.18);
    color: var(--rh-grammar-red);
}

.rh-chip--reflexive {
    background: rgba(255, 185, 95, 0.18);
    border-color: rgba(255, 185, 95, 0.34);
    color: var(--rh-orange-ink);
}

.rh-chip--focus {
    background: rgba(0, 67, 138, 0.08);
    border-color: rgba(0, 67, 138, 0.16);
    color: var(--rh-blue-600);
}

.rh-chip--aspect-imp {
    background: rgba(0, 67, 138, 0.08);
    border-color: rgba(0, 67, 138, 0.16);
    color: var(--rh-blue-600);
}

.rh-chip--aspect-perf {
    background: var(--rh-grammar-red-tint);
    border-color: rgba(182, 23, 30, 0.18);
    color: var(--rh-grammar-red);
}

.rh-mini-pill {
    padding: 0.25rem 0.55rem;
    background: rgba(16, 32, 51, 0.06);
    color: var(--rh-anchor-navy);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.rh-mini-pill--accent,
.rh-mini-pill--aspect-imp {
    background: rgba(0, 67, 138, 0.09);
    color: var(--rh-blue-600);
}

.rh-mini-pill--reflexive {
    background: rgba(255, 185, 95, 0.2);
    color: var(--rh-orange-ink);
}

.rh-mini-pill--aspect-perf {
    background: var(--rh-grammar-red-tint);
    color: var(--rh-grammar-red);
}

.rh-button {
    min-height: 3.2rem;
    padding: 0.82rem 1.15rem;
    border-radius: var(--rh-radius-lg);
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    box-shadow: none;
}

.rh-button--dark {
    background: linear-gradient(180deg, var(--rh-blue-500), var(--rh-blue-600));
    color: #ffffff;
    border: 0;
    box-shadow: var(--rh-shadow-3);
}

.rh-button--light {
    background: var(--rh-surface-elevated);
    color: var(--rh-anchor-navy);
    border-color: var(--rh-line-strong);
    box-shadow: var(--rh-shadow-1);
}

.rh-button--ghost {
    background: rgba(255, 255, 255, 0.72);
    color: var(--rh-blue-600);
    border-color: var(--rh-line-ghost);
}

.rh-text-link,
.rh-icon-link {
    color: var(--rh-blue-600);
    font-weight: 700;
}

.rh-home-page {
    gap: 2rem;
}

.rh-home-hero {
    padding: 1.35rem;
    border: 0;
    border-radius: var(--rh-radius-xl);
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 28%),
        linear-gradient(155deg, var(--rh-blue-700) 0%, var(--rh-blue-600) 58%, var(--rh-blue-500) 100%);
    color: #f7fbff;
    box-shadow: var(--rh-shadow-2);
}

.rh-home-hero__main,
.rh-home-hero__copy,
.rh-home-section,
.rh-home-section__header,
.rh-home-contrast-card,
.rh-home-verb-card,
.rh-home-method-step {
    display: grid;
}

.rh-home-hero__main,
.rh-home-hero__copy {
    gap: 1.5rem;
}

.rh-home-hero__topline {
    margin: 0;
    color: rgba(247, 251, 255, 0.78);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rh-home-hero h1 {
    margin: 0;
    font-family: var(--rh-font-ui);
    font-size: clamp(2.5rem, 12vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 0.95;
    max-width: 10.5ch;
}

.rh-home-hero__lead {
    margin: 0;
    max-width: 35rem;
    color: rgba(247, 251, 255, 0.82);
    font-size: 0.98rem;
    line-height: 1.6;
}

.rh-home-hero__actions {
    display: grid;
    gap: 0.7rem;
}

.rh-home-hero__primary {
    width: 100%;
    min-height: 3.45rem;
    font-size: 1rem;
}

.rh-home-hero__secondary {
    display: grid;
    gap: 0.6rem;
}

.rh-home-hero__secondary .rh-button {
    width: 100%;
    justify-content: flex-start;
    min-height: 3rem;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.rh-home-hero__chips {
    gap: 0.45rem;
}

.rh-home-hero .rh-chip {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.16);
    color: #f7fbff;
}

.rh-home-hero .rh-chip--accent {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.16);
    color: #f7fbff;
}

.rh-home-hero .rh-chip--focus {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.22);
    color: #f7fbff;
}

.rh-home-hero .rh-chip--reflexive {
    background: rgba(255, 185, 95, 0.26);
    border-color: rgba(255, 185, 95, 0.4);
    color: #fff7ea;
}

.rh-home-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.rh-home-stat {
    gap: 0.15rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.rh-home-stat__label {
    color: rgba(247, 251, 255, 0.68);
}

.rh-home-stat__value {
    color: #ffffff;
    font-family: var(--rh-font-ui);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.rh-home-spotlight {
    display: grid;
    gap: 0.95rem;
    padding: 1.2rem;
    border-radius: var(--rh-radius-xl);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: var(--rh-shadow-2);
    color: var(--rh-text);
}

.rh-home-spotlight__pair {
    margin: 0;
    color: var(--rh-anchor-navy);
    font-family: var(--rh-font-editorial);
    font-size: clamp(2.3rem, 9vw, 4.5rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.rh-home-section {
    gap: 0.95rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.rh-home-reference-entry {
    padding: 1.25rem;
    border-radius: var(--rh-radius-xl);
    background: linear-gradient(180deg, rgba(243, 244, 245, 0.9), rgba(255, 255, 255, 0.8));
    box-shadow: var(--rh-shadow-1);
}

.rh-home-module-band,
.rh-home-module-band__copy,
.rh-home-module-band__actions {
    display: grid;
}

.rh-home-module-band {
    gap: 0.95rem;
    padding: 1.15rem 1.2rem;
    border-radius: var(--rh-radius-xl);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.94)),
        radial-gradient(circle at top right, rgba(0, 90, 181, 0.08), transparent 44%);
    border: 1px solid rgba(0, 67, 138, 0.12);
    box-shadow: var(--rh-shadow-1);
}

.rh-home-module-band__copy {
    gap: 0.5rem;
}

.rh-home-module-band__copy h2 {
    margin: 0;
    color: var(--rh-text);
    font-family: var(--rh-font-ui);
    font-size: clamp(1.6rem, 6vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.04;
}

.rh-home-module-band .rh-panel__lead {
    color: var(--rh-navy-700);
}

.rh-home-module-band__chips {
    gap: 0.5rem;
}

.rh-home-module-band .rh-chip {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(16, 32, 51, 0.08);
    color: var(--rh-anchor-navy);
}

.rh-home-module-band__actions {
    gap: 0.65rem;
}

.rh-home-module-band__actions .rh-button {
    width: 100%;
}

.rh-home-section__header {
    gap: 0.45rem;
}

.rh-home-section__header h2,
.rh-reference-list-hero__title,
.rh-home-contrast-card__title,
.rh-home-method-step strong,
.rh-reference-build__intro h3,
.rh-rule-card__body h2,
.rh-practice-question-title {
    margin: 0;
    color: var(--rh-text);
    font-family: var(--rh-font-ui);
    font-weight: 700;
    letter-spacing: -0.04em;
}

.rh-home-section__header h2,
.rh-reference-list-hero__title {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
    line-height: 1.04;
}

.rh-home-contrast-strip,
.rh-home-verb-grid,
.rh-home-method-grid {
    display: grid;
    gap: 0.8rem;
}

.rh-home-contrast-card {
    gap: 0.6rem;
    padding: 1rem;
    border-radius: var(--rh-radius-lg);
    background: var(--rh-surface-elevated);
    border: 1px solid var(--rh-line-ghost);
    box-shadow: var(--rh-shadow-1);
}

.rh-home-contrast-card__title {
    font-size: 1.15rem;
}

.rh-home-verb-card {
    gap: 0.85rem;
    padding: 1.05rem;
    border-radius: var(--rh-radius-lg);
    background: var(--rh-surface);
    border: 1px solid rgba(16, 32, 51, 0.06);
    box-shadow: var(--rh-shadow-1);
}

.rh-home-verb-card__pair {
    margin: 0;
    color: var(--rh-anchor-navy);
    font-family: var(--rh-font-editorial);
    font-size: clamp(2rem, 9vw, 2.5rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.035em;
}

.rh-home-verb-card__actions,
.rh-home-reference-entry__actions,
.rh-home-spotlight__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.rh-home-method-step {
    gap: 0.55rem;
    padding: 1rem;
    border-radius: var(--rh-radius-lg);
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid var(--rh-line-ghost);
}

.rh-home-method-step strong {
    font-size: 1rem;
}

.rh-home-method-step__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: var(--rh-radius-pill);
    background: rgba(0, 67, 138, 0.09);
    color: var(--rh-blue-600);
    font-weight: 700;
}

.rh-reference-page {
    gap: 1rem;
}

.rh-reference-panel {
    overflow: visible;
}

.rh-reference-panel--hero {
    background: var(--rh-surface-reference-hero);
    border: 1px solid rgba(16, 32, 51, 0.06);
    box-shadow: var(--rh-shadow-1);
}

.rh-reference-panel--hero::after {
    background: radial-gradient(circle, rgba(0, 67, 138, 0.08), transparent 68%);
}

.rh-reference-detail__pair {
    margin: 0;
    color: var(--rh-anchor-navy);
    font-family: var(--rh-font-editorial);
    font-size: clamp(2.6rem, 11vw, 4.5rem);
    font-weight: 700;
    line-height: 0.94;
    letter-spacing: -0.04em;
}

.rh-reference-panel--search,
.rh-reference-panel--section {
    background: var(--rh-surface-reference-section);
    border: 1px solid rgba(16, 32, 51, 0.06);
    box-shadow: var(--rh-shadow-1);
}

.rh-reference-panel--hero,
.rh-reference-panel--section {
    display: grid;
    gap: 0.95rem;
}

.rh-search-field__input {
    min-height: 3.2rem;
    border-radius: var(--rh-radius-lg);
    border-color: var(--rh-line-ghost);
    background: rgba(255, 255, 255, 0.96);
    color: var(--rh-text);
    box-shadow: none;
}

.rh-search-field__input:focus {
    outline: 3px solid rgba(0, 67, 138, 0.12);
    border-color: rgba(0, 67, 138, 0.22);
}

.rh-list-stack {
    gap: 0.7rem;
}

.rh-verb-list-item {
    gap: 0.8rem;
    padding: 1rem 1.05rem;
    border-radius: var(--rh-radius-lg);
    border: 1px solid rgba(16, 32, 51, 0.06);
    background: var(--rh-surface);
    box-shadow: none;
}

.rh-reference-page .rh-verb-list-item {
    background: rgba(255, 255, 255, 0.92);
}

.rh-reference-page .rh-chip {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(16, 32, 51, 0.08);
    box-shadow: none;
}

.rh-reference-page .rh-chip--focus,
.rh-reference-page .rh-chip--aspect-imp {
    background: rgba(0, 67, 138, 0.08);
    border-color: rgba(0, 67, 138, 0.14);
    color: var(--rh-blue-600);
}

.rh-reference-page .rh-chip--accent,
.rh-reference-page .rh-chip--aspect-perf {
    background: var(--rh-grammar-red-tint);
    border-color: rgba(182, 23, 30, 0.16);
    color: var(--rh-grammar-red);
}

.rh-reference-page .rh-chip--reflexive {
    background: rgba(255, 185, 95, 0.18);
    border-color: rgba(255, 185, 95, 0.32);
    color: var(--rh-orange-ink);
}

.rh-verb-list-item:hover,
.rh-verb-list-item:focus-visible {
    border-color: rgba(0, 67, 138, 0.14);
    box-shadow: var(--rh-shadow-1);
}

.rh-verb-line {
    gap: 0.55rem;
}

.rh-verb-line__word {
    color: var(--rh-anchor-navy);
    font-family: var(--rh-font-editorial);
    font-size: clamp(1.45rem, 5vw, 2rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
}

.rh-verb-line__word--imperfective {
    color: var(--rh-blue-600);
}

.rh-verb-line__word--perfective {
    color: var(--rh-anchor-navy);
}

.rh-tabs {
    gap: 0.55rem;
    padding: 0;
    overflow-x: auto;
}

.rh-reference-page .rh-tabs {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.rh-tab {
    min-height: 2.8rem;
    padding: 0.75rem 0.95rem;
    border-radius: var(--rh-radius-pill);
    border-color: var(--rh-line-ghost);
    background: rgba(255, 255, 255, 0.76);
    color: var(--rh-anchor-navy);
    box-shadow: none;
}

.rh-tab--active,
.rh-reference-page .rh-tab--active {
    background: linear-gradient(180deg, var(--rh-blue-500), var(--rh-blue-600));
    border-color: rgba(0, 67, 138, 0.16);
    color: #ffffff;
    box-shadow: var(--rh-shadow-1);
}

.rh-table-shell {
    border-radius: var(--rh-radius-lg);
    border: 1px solid rgba(16, 32, 51, 0.08);
    background: var(--rh-surface);
    box-shadow: none;
}

.rh-table thead {
    background: linear-gradient(180deg, var(--rh-anchor-navy), #192b41);
}

.rh-table thead th {
    font-family: var(--rh-font-ui);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.rh-table th,
.rh-table td {
    padding: 0.9rem 0.95rem;
}

.rh-table tbody tr:nth-child(2n) {
    background: rgba(243, 246, 250, 0.72);
}

.rh-table tbody td:first-child {
    color: var(--rh-text-soft);
    font-family: var(--rh-font-ui);
    font-size: 0.92rem;
    font-weight: 600;
}

.rh-table tbody td:not(:first-child) {
    font-family: var(--rh-font-ui);
    font-size: 1rem;
    font-weight: 600;
}

.rh-table__cell--buildable {
    background: rgba(0, 67, 138, 0.03);
}

.rh-table__form-text {
    color: var(--rh-anchor-navy);
}

.rh-table__build-pill {
    background: rgba(0, 67, 138, 0.08);
    color: var(--rh-blue-600);
    border: 1px solid rgba(0, 67, 138, 0.12);
}

.rh-past-card,
.rh-reflexive-pair > div,
.rh-reference-page .rh-reference-build__intro,
.rh-reference-page .rh-reference-build__option {
    border-radius: var(--rh-radius-lg);
    border: 1px solid rgba(16, 32, 51, 0.06);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: none;
}

.rh-past-card--accent {
    background: linear-gradient(180deg, rgba(252, 233, 235, 0.26), rgba(255, 255, 255, 0.94));
    border-color: rgba(182, 23, 30, 0.1);
}

.rh-reference-build__option:hover {
    border-color: rgba(0, 67, 138, 0.16);
    box-shadow: var(--rh-shadow-1);
}

.rh-reference-build__option--active,
.rh-reference-page .rh-reference-build__option--active {
    border-color: rgba(0, 67, 138, 0.16);
    background: linear-gradient(180deg, rgba(245, 249, 255, 0.99), rgba(255, 255, 255, 0.98));
    box-shadow: var(--rh-shadow-1);
}

.rh-reference-build__value {
    color: var(--rh-anchor-navy);
    font-family: var(--rh-font-ui);
}

.rh-reference-build {
    margin-top: 1.25rem;
}

.rh-reference-build__intro {
    gap: 0.55rem;
}

.rh-practice-page {
    padding: 5.45rem 0 calc(var(--rh-practice-footer-space) + 1rem);
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
}

.rh-practice-shell {
    gap: 1.35rem;
}

.rh-practice-topbar {
    padding: 0.75rem 1rem;
    background:
        linear-gradient(180deg, rgba(251, 253, 255, 0.94), rgba(247, 250, 253, 0.88)),
        radial-gradient(circle at top center, rgba(0, 67, 138, 0.06), transparent 55%);
    border-bottom: 1px solid rgba(16, 32, 51, 0.06);
    box-shadow: var(--rh-shadow-glass);
}

.rh-practice-topbar__inner,
.rh-practice-footer__inner {
    width: min(100%, 42rem);
}

.rh-practice-topbar__exit {
    background: rgba(255, 255, 255, 0.86);
    border-color: rgba(16, 32, 51, 0.08);
    box-shadow: none;
}

.rh-practice-topbar__progress-track {
    height: 0.68rem;
    border: 0;
    background: rgba(16, 32, 51, 0.09);
}

.rh-practice-topbar__progress-fill {
    background: linear-gradient(180deg, var(--rh-blue-500), var(--rh-blue-600));
    box-shadow: none;
}

.rh-practice-topbar__progress-copy {
    color: var(--rh-blue-600);
    font-family: var(--rh-font-ui);
    font-weight: 700;
}

.rh-practice-stat-pill {
    min-height: 2.4rem;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(16, 32, 51, 0.08);
    box-shadow: none;
    font-weight: 700;
}

.rh-practice-stat-pill--streak {
    background: rgba(252, 233, 235, 0.52);
    border-color: rgba(182, 23, 30, 0.12);
    color: var(--rh-grammar-red);
}

.rh-practice-stat-pill--xp {
    background: rgba(0, 67, 138, 0.06);
    border-color: rgba(0, 67, 138, 0.1);
    color: var(--rh-blue-600);
}

.rh-practice-intro {
    padding-top: 0.4rem;
}

.rh-practice-verb,
.rh-practice-editorial-title,
.rh-practice-sentence,
.rh-practice-sentence-card__support,
.rh-practice-feedback__answer-block strong {
    color: var(--rh-anchor-navy);
    font-family: var(--rh-font-editorial);
}

.rh-practice-verb {
    font-size: clamp(3rem, 14vw, 4.5rem);
    font-weight: 700;
    line-height: 0.94;
    text-shadow: none;
}

.rh-practice-translation {
    color: var(--rh-text-muted);
    font-family: var(--rh-font-ui);
    font-size: 1rem;
    font-weight: 500;
}

.rh-practice-question-card,
.rh-practice-sentence-card,
.rh-practice-complete-card {
    padding: 1.35rem 1.2rem;
    border-radius: var(--rh-radius-xl);
    background: var(--rh-surface);
    border: 1px solid rgba(16, 32, 51, 0.06);
    box-shadow: var(--rh-shadow-1);
}

.rh-practice-question-card {
    gap: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 250, 255, 0.99));
}

.rh-practice-state-pill,
.rh-practice-editorial-label {
    background: rgba(0, 67, 138, 0.06);
    color: var(--rh-blue-600);
}

.rh-practice-question-title {
    font-size: clamp(1.55rem, 7vw, 2.15rem);
    line-height: 1.08;
}

.rh-practice-question-title span {
    display: block;
    color: var(--rh-blue-600);
    font-family: var(--rh-font-ui);
    font-size: 0.92em;
    font-weight: 700;
    text-shadow: none;
}

.rh-practice-input-shell {
    padding: 0.35rem;
    border-radius: var(--rh-radius-lg);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(16, 32, 51, 0.08);
    box-shadow: var(--rh-shadow-1);
}

.rh-practice-input {
    min-height: 4.1rem;
    border-radius: calc(var(--rh-radius-lg) - 0.15rem);
    background: #ffffff;
    color: var(--rh-anchor-navy);
    font-family: var(--rh-font-editorial);
    font-size: clamp(1.5rem, 6vw, 1.9rem);
    font-weight: 700;
    box-shadow: none;
}

.rh-practice-input::placeholder {
    color: rgba(102, 118, 139, 0.72);
    font-family: var(--rh-font-ui);
    font-weight: 500;
}

.rh-practice-input:focus {
    outline: 3px solid rgba(0, 67, 138, 0.12);
    box-shadow: none;
}

.rh-practice-pronunciation {
    color: var(--rh-text-muted);
    font-family: var(--rh-font-ui);
    font-size: 0.88rem;
}

.rh-practice-pronunciation span {
    color: var(--rh-anchor-navy);
    font-style: normal;
    font-weight: 600;
}

.rh-practice-input-help {
    gap: 0.4rem;
    border-radius: var(--rh-radius-lg);
    background: rgba(243, 244, 245, 0.86);
    border: 1px solid rgba(16, 32, 51, 0.06);
}

.rh-practice-input-help__label {
    color: var(--rh-blue-600);
}

.rh-practice-input-help__value {
    color: var(--rh-anchor-navy);
    font-family: var(--rh-font-ui);
    font-size: 1rem;
}

.rh-practice-sentence-card {
    gap: 0.95rem;
    background: rgba(255, 255, 255, 0.82);
}

.rh-practice-sentence-card {
    gap: 0.75rem;
    padding-top: 0.75rem;
    background: rgba(255, 255, 255, 0.64);
    border-color: rgba(16, 32, 51, 0.04);
    box-shadow: none;
}

.rh-practice-sentence-card--question {
    background: rgba(252, 253, 255, 0.92);
    border-style: solid;
    border-color: rgba(16, 32, 51, 0.06);
}

.rh-practice-sentence-card__lead {
    color: var(--rh-text-muted);
    font-family: var(--rh-font-ui);
    font-size: 0.92rem;
    font-weight: 600;
}

.rh-practice-sentence-card__support,
.rh-practice-sentence {
    font-size: clamp(1.95rem, 8vw, 3rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.rh-practice-answer--pending {
    color: var(--rh-blue-600);
    border-bottom-color: rgba(0, 67, 138, 0.44);
}

.rh-practice-answer--correct {
    color: var(--rh-success);
}

.rh-practice-answer--incorrect {
    color: var(--rh-error);
}

.rh-practice-sentence-card__translation {
    color: var(--rh-text-soft);
    font-family: var(--rh-font-ui);
    font-style: normal;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.rh-practice-page .rh-rule-card--focus {
    background: rgba(252, 233, 235, 0.18);
    border-color: rgba(182, 23, 30, 0.06);
    box-shadow: none;
}

.rh-practice-feedback {
    border-radius: var(--rh-radius-xl);
    border: 1px solid rgba(16, 32, 51, 0.06);
    box-shadow: var(--rh-shadow-1);
}

.rh-practice-feedback--correct {
    background: linear-gradient(180deg, var(--rh-success-tint), rgba(255, 255, 255, 0.95));
    border-color: rgba(15, 138, 108, 0.14);
}

.rh-practice-feedback--correct h2 {
    color: var(--rh-success);
}

.rh-practice-feedback h2,
.rh-practice-rule h2 {
    font-family: var(--rh-font-ui);
}

.rh-practice-feedback--correct p {
    color: var(--rh-success-ink);
}

.rh-practice-feedback__accent {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(15, 138, 108, 0.12);
    box-shadow: none;
}

.rh-practice-feedback--incorrect {
    background: linear-gradient(180deg, var(--rh-error-tint), rgba(255, 255, 255, 0.96));
    border-color: rgba(217, 45, 32, 0.12);
}

.rh-practice-feedback__header {
    color: var(--rh-error);
}

.rh-practice-feedback__answer-block strong {
    color: var(--rh-anchor-navy);
    font-size: clamp(1.85rem, 8vw, 2.5rem);
}

.rh-practice-feedback__explanation {
    background: rgba(255, 255, 255, 0.74);
    border-radius: var(--rh-radius-lg);
}

.rh-practice-editorial-title {
    font-size: clamp(2.6rem, 12vw, 4.25rem);
    font-weight: 700;
    line-height: 0.96;
}

.rh-practice-editorial-title span {
    color: var(--rh-text-muted);
    font-family: var(--rh-font-ui);
    font-size: clamp(1.25rem, 5vw, 1.9rem);
    font-weight: 500;
}

.rh-practice-complete-highlights__chip {
    background: rgba(0, 67, 138, 0.06);
    border-color: rgba(0, 67, 138, 0.1);
    color: var(--rh-blue-600);
}

.rh-practice-complete-stat {
    border-radius: var(--rh-radius-lg);
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(16, 32, 51, 0.06);
    box-shadow: none;
}

.rh-practice-complete-stat strong {
    color: var(--rh-anchor-navy);
    font-family: var(--rh-font-ui);
    font-size: 1.35rem;
    font-weight: 700;
}

.rh-rule-card {
    padding: 1.35rem 1.25rem 1.35rem 1.5rem;
    border-radius: var(--rh-radius-xl);
    border: 1px solid rgba(16, 32, 51, 0.06);
    box-shadow: var(--rh-shadow-2);
}

.rh-rule-card--focus {
    background: var(--rh-surface-rule-focus);
}

.rh-rule-card--build {
    background: var(--rh-surface-rule-build);
}

.rh-rule-card__accent {
    width: 0.42rem;
    background: linear-gradient(180deg, var(--rh-grammar-red), var(--rh-grammar-red-strong));
}

.rh-rule-card--build .rh-rule-card__accent {
    background: linear-gradient(180deg, var(--rh-blue-500), var(--rh-blue-600));
}

.rh-practice-rule {
    background: rgba(255, 251, 251, 0.86);
    border: 1px solid rgba(182, 23, 30, 0.08);
    box-shadow: none;
}

.rh-practice-rule__accent {
    background: var(--rh-grammar-red);
}

.rh-practice-rule__icon {
    background: rgba(182, 23, 30, 0.08);
    color: var(--rh-grammar-red);
}

.rh-practice-rule__cell {
    background: rgba(255, 255, 255, 0.82);
    color: var(--rh-text-muted);
}

.rh-practice-rule__cell--active {
    background: rgba(0, 67, 138, 0.08);
    outline: 0;
    color: var(--rh-blue-600);
}

.rh-practice-rule__cell--active .rh-practice-rule__pronoun {
    background: var(--rh-blue-600);
}

.rh-practice-rule__form span {
    color: var(--rh-blue-600);
}

.rh-practice-rule__form strong {
    color: var(--rh-grammar-red);
}

.rh-build-card__lesson-pill {
    border-radius: var(--rh-radius-lg);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(16, 32, 51, 0.06);
    box-shadow: none;
}

.rh-build-card__lesson-pill--active {
    background: rgba(0, 67, 138, 0.06);
    border-color: rgba(0, 67, 138, 0.12);
    box-shadow: none;
}

.rh-build-card__lesson-pill-value {
    color: var(--rh-text);
    font-family: var(--rh-font-ui);
    font-size: 0.98rem;
    font-weight: 700;
}

.rh-build-card__lesson-note {
    border-radius: var(--rh-radius-lg);
    background: rgba(243, 244, 245, 0.84);
    border: 1px solid rgba(16, 32, 51, 0.06);
    color: var(--rh-text);
}

.rh-build-card__step {
    border-radius: var(--rh-radius-lg);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(16, 32, 51, 0.06);
    box-shadow: none;
}

.rh-build-card__step--active {
    background: rgba(0, 67, 138, 0.05);
    border-color: rgba(0, 67, 138, 0.12);
}

.rh-build-card__step--result {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(16, 32, 51, 0.08);
    box-shadow: var(--rh-shadow-1);
}

.rh-build-card__step--result .rh-build-card__label,
.rh-build-card__step--result .rh-build-card__detail {
    color: var(--rh-text-muted);
}

.rh-build-card__value {
    color: var(--rh-text);
    font-family: var(--rh-font-ui);
    font-size: 1.1rem;
    font-weight: 700;
}

.rh-build-card__value--stem {
    color: var(--rh-blue-600);
    font-family: var(--rh-font-editorial);
    font-size: 1.35rem;
}

.rh-build-card__value--ending {
    color: var(--rh-grammar-red);
    font-family: var(--rh-font-editorial);
    font-size: 1.25rem;
}

.rh-build-card__value--surface {
    color: var(--rh-anchor-navy);
    font-family: var(--rh-font-editorial);
    font-size: 1.45rem;
}

.rh-build-card__expression {
    border-radius: var(--rh-radius-lg);
    background: rgba(243, 246, 250, 0.84);
    border: 1px dashed rgba(16, 32, 51, 0.14);
    box-shadow: none;
}

.rh-build-card__chip {
    background: rgba(0, 67, 138, 0.08);
    color: var(--rh-blue-600);
}

.rh-build-card__expression-part--stem {
    color: var(--rh-blue-600);
    font-weight: 700;
}

.rh-build-card__expression-part--ending,
.rh-build-card__expression-part--filter {
    color: var(--rh-grammar-red);
    font-weight: 700;
}

.rh-build-card__expression strong,
.rh-build-card__expression-surface {
    color: var(--rh-anchor-navy);
    font-family: var(--rh-font-editorial);
    font-size: 1.2rem;
}

.rh-bottom-nav {
    bottom: max(1rem, env(safe-area-inset-bottom));
    width: min(calc(100% - 2rem), 22rem);
    padding: 0.5rem;
    border-radius: 1.15rem;
    border: 1px solid rgba(16, 32, 51, 0.08);
    background: var(--rh-surface-nav);
    box-shadow: var(--rh-shadow-glass);
    backdrop-filter: blur(16px);
}

.rh-bottom-nav__link {
    min-height: 3rem;
    border-radius: 0.95rem;
    color: var(--rh-text-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.rh-bottom-nav__link.active {
    background: linear-gradient(180deg, var(--rh-blue-500), var(--rh-blue-600));
    color: #ffffff;
    box-shadow: var(--rh-shadow-1);
}

.rh-bottom-nav__label {
    line-height: 1;
}

.rh-practice-footer {
    padding: 0.75rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(247, 249, 252, 0) 0%, rgba(247, 249, 252, 0.94) 28%, rgba(247, 249, 252, 1) 100%);
}

.rh-practice-footer__primary {
    min-height: 3.35rem;
    border-radius: var(--rh-radius-lg);
    font-family: var(--rh-font-ui);
    font-size: 1rem;
    font-weight: 700;
    box-shadow: var(--rh-shadow-3);
}

@supports (-webkit-touch-callout: none) {
    .rh-layout__main {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
        padding-bottom: max(var(--rh-practice-footer-space), calc(6.4rem + env(safe-area-inset-bottom)));
    }
}

@media (min-width: 48rem) {
    .rh-layout__main {
        padding-top: 1.5rem;
    }

    .rh-home-hero {
        padding: 1.75rem;
    }

    .rh-home-hero__main {
        grid-template-columns: minmax(0, 1.35fr) minmax(19rem, 0.92fr);
        align-items: stretch;
        gap: 1.25rem;
    }

    .rh-home-hero__secondary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rh-home-contrast-strip,
    .rh-home-verb-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rh-home-module-band {
        grid-template-columns: minmax(0, 1.2fr) auto;
        align-items: center;
        gap: 1.25rem;
    }

    .rh-home-module-band__actions {
        align-content: center;
        justify-items: end;
        min-width: 14rem;
    }

    .rh-home-method-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .rh-practice-page {
        padding-top: 6rem;
    }

    .rh-practice-question-card,
    .rh-practice-sentence-card,
    .rh-practice-complete-card,
    .rh-practice-feedback,
    .rh-rule-card {
        padding: 1.6rem;
    }
}

@media (max-width: 40rem) {
    .rh-layout__main {
        padding-top: 0.95rem;
        padding-bottom: 7.2rem;
    }

    .rh-home-page {
        gap: 1.15rem;
    }

    .rh-home-hero {
        padding: 1.1rem;
    }

    .rh-home-hero__main,
    .rh-home-hero__copy {
        gap: 1rem;
    }

    .rh-home-hero h1 {
        max-width: 8.4ch;
        font-size: clamp(2.25rem, 10.5vw, 3rem);
    }

    .rh-home-hero__lead {
        font-size: 0.92rem;
        line-height: 1.55;
    }

    .rh-home-hero__stats {
        gap: 0.9rem;
    }

    .rh-home-spotlight {
        padding: 1.05rem;
    }

    .rh-home-module-band {
        padding: 1.05rem;
        gap: 0.85rem;
    }

    .rh-home-module-band__copy {
        gap: 0.45rem;
    }

    .rh-home-module-band__copy h2 {
        font-size: clamp(1.45rem, 6.5vw, 1.85rem);
    }

    .rh-home-section {
        gap: 1.05rem;
    }

    .rh-home-section__header {
        gap: 0.65rem;
    }

    .rh-practice-page {
        min-height: 100svh;
        min-height: 100dvh;
        padding-top: 0.8rem;
        padding-bottom: calc(var(--rh-practice-footer-space) + 0.7rem);
    }

    .rh-practice-topbar {
        position: sticky;
        top: 0;
        padding: 0.65rem 0.85rem;
    }

    .rh-practice-topbar__inner {
        gap: 0.55rem;
    }

    .rh-practice-topbar__stats {
        gap: 0.35rem;
    }

    .rh-practice-stat-pill {
        min-height: 2.25rem;
        padding-inline: 0.65rem;
    }

    .rh-practice-question-card,
    .rh-practice-sentence-card,
    .rh-practice-complete-card,
    .rh-practice-feedback,
    .rh-rule-card {
        padding: 1.2rem 1rem;
    }

    .rh-practice-question-title {
        font-size: clamp(1.35rem, 6vw, 1.8rem);
    }

    .rh-practice-input {
        min-height: 3.65rem;
        font-size: 1.22rem;
    }

    .rh-practice-sentence-card__support,
    .rh-practice-sentence {
        font-size: clamp(1.55rem, 7vw, 2.2rem);
    }

    .rh-reference-page {
        gap: 1.1rem;
    }

    .rh-reference-panel--hero,
    .rh-reference-panel--section {
        gap: 1rem;
    }

    .rh-detail-topbar {
        margin-bottom: 0.1rem;
    }

    .rh-reference-build {
        margin-top: 1rem;
    }

    .rh-practice-complete-stats,
    .rh-build-card__grid,
    .rh-build-card__lesson-strip,
    .rh-practice-rule__grid {
        grid-template-columns: 1fr;
    }

    .rh-practice-footer {
        padding-inline: 0.85rem;
    }

    .rh-practice-footer__primary {
        min-height: 3.15rem;
    }
}

@supports selector(body:has(*)) {
    body:has(.rh-practice-input:focus) .rh-practice-footer {
        opacity: 0;
        pointer-events: none;
        transform: translateY(calc(100% + 1rem));
    }
}
