:root {
    --rp-bg: #f4f3ef;
    --rp-paper: #ffffff;
    --rp-ink: #1b1e1b;
    --rp-muted: #6d746c;
    --rp-line: #e6e4de;
    --rp-green: #1b3d32;
    --rp-green-soft: #2f5a49;
    --rp-green-wash: #eef4f0;
    --rp-star: #d7a441;
    --rp-bar: #2f6a50;
    --rp-bar-track: #eceae4;
    --rp-shadow: 0 8px 24px rgba(27, 40, 28, 0.06);
    --rp-shadow-soft: 0 1px 2px rgba(16, 24, 16, 0.04);
    --rp-radius: 16px;
    --rp-max: 1180px;
    --rp-header: 72px;
    --rp-sans: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body.rp-body {
    margin: 0;
    background: var(--rp-bg);
    color: var(--rp-ink);
    font-family: var(--rp-sans);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

.rp-skip {
    position: absolute;
    left: -999px;
    top: 0;
}

.rp-skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 20; }

.rp-wrap { min-height: 100vh; }

.rp-header {
    position: sticky;
    top: 0;
    z-index: 10;
    height: var(--rp-header);
    background: var(--rp-paper);
    border-bottom: 1px solid var(--rp-line);
}

.rp-header-inner,
.rp-container {
    width: min(var(--rp-max), calc(100% - 48px));
    margin: 0 auto;
}

.rp-header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.rp-logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-decoration: none;
    min-width: 148px;
}

.rp-logo-mark {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--rp-green);
    line-height: 1;
}

.rp-logo-tag {
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rp-muted);
}

.rp-nav {
    display: flex;
    gap: 28px;
    align-items: center;
}

.rp-nav a {
    text-decoration: none;
    color: #3d433d;
    font-size: 15px;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}

.rp-nav a.is-active {
    color: var(--rp-green);
    border-bottom-color: var(--rp-green);
}

.rp-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rp-header-write {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--rp-green);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.rp-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0;
    background: none;
    color: var(--rp-ink);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.rp-hero-write { margin: 20px 0 0; }
.rp-feed-write { margin: 28px 0 0; }

.rp-btn-ghost {
    background: #fff;
    color: var(--rp-green);
    border: 1px solid var(--rp-green);
}

.rp-hp {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.rp-grid-spaced { margin-bottom: 32px; }

.rp-form-card select {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--rp-line);
    border-radius: 10px;
    padding: 8px 12px;
    font: inherit;
    background: #fff;
}

.rp-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
    padding: 48px 0 28px;
    align-items: center;
}

.rp-hero h1 {
    margin: 0 0 10px;
    font-size: 44px;
    line-height: 1.12;
    letter-spacing: -0.03em;
    font-weight: 700;
}

.rp-hero-lead {
    margin: 0 0 28px;
    color: var(--rp-muted);
    font-size: 17px;
    max-width: 36rem;
}

.rp-score {
    display: flex;
    gap: 36px;
    align-items: center;
    background: var(--rp-paper);
    border: 1px solid var(--rp-line);
    border-radius: 20px;
    box-shadow: var(--rp-shadow);
    padding: 26px 30px;
}

.rp-score-main { min-width: 150px; }

.rp-score-value {
    margin: 6px 0 4px;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
}

.rp-score-value span { color: var(--rp-muted); font-size: 28px; font-weight: 600; }

.rp-score-count { margin: 0; color: var(--rp-muted); font-size: 13px; }

.rp-dist { flex: 1; display: grid; gap: 7px; min-width: 0; }

.rp-dist-row {
    display: grid;
    grid-template-columns: 28px 1fr 40px;
    gap: 10px;
    align-items: center;
    font-size: 13px;
    color: #4b524b;
}

.rp-dist-track {
    height: 7px;
    background: var(--rp-bar-track);
    border-radius: 999px;
    overflow: hidden;
}

.rp-dist-fill {
    height: 100%;
    background: var(--rp-bar);
    border-radius: inherit;
}

.rp-hero-media {
    position: relative;
    aspect-ratio: 5 / 4;
    border-radius: 22px;
    overflow: hidden;
    background: #d8ddd4;
}

.rp-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rp-hero-overlay {
    position: absolute;
    top: 28px;
    left: 28px;
    right: 28px;
    color: #1b3d32;
    font-family: Palatino, "Palatino Linotype", "Times New Roman", serif;
    font-style: italic;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 600;
    max-width: 13ch;
}

.rp-hero-trust {
    position: absolute;
    right: 18px;
    bottom: 18px;
    background: #fff;
    border-radius: 14px;
    padding: 12px 14px 12px 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    box-shadow: var(--rp-shadow);
    max-width: 230px;
}

.rp-hero-trust strong,
.rp-hero-trust span { display: block; }

.rp-hero-trust strong { font-size: 13px; }
.rp-hero-trust span { font-size: 12px; color: var(--rp-muted); }

.rp-check {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: var(--rp-green-wash);
    color: var(--rp-green);
    display: grid;
    place-items: center;
    flex: 0 0 22px;
    font-size: 12px;
}

.rp-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 10px 0 28px;
}

.rp-trust article {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.rp-trust h3,
.rp-trust p { margin: 0; }

.rp-trust h3 { font-size: 15px; font-weight: 650; }
.rp-trust p { font-size: 13px; color: var(--rp-muted); }

.rp-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--rp-line);
    display: grid;
    place-items: center;
    color: var(--rp-green);
    flex: 0 0 28px;
}

.rp-filters {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--rp-line);
    border-radius: 18px;
    padding: 10px 12px;
    box-shadow: var(--rp-shadow-soft);
    margin-bottom: 22px;
}

.rp-search {
    flex: 1 1 220px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f7f6f3;
    border-radius: 12px;
    padding: 0 12px;
    min-width: 0;
}

.rp-search input,
.rp-select {
    border: 0;
    background: transparent;
    height: 40px;
    font: inherit;
    color: inherit;
    width: 100%;
}

.rp-select {
    background: #f7f6f3;
    border-radius: 12px;
    padding: 0 12px;
    min-width: 168px;
}

.rp-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.rp-chip {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--rp-line);
    background: #fff;
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
    color: #3d433d;
}

.rp-chip.is-active {
    background: var(--rp-green);
    border-color: var(--rp-green);
    color: #fff;
}

.rp-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 22px;
    align-items: start;
    padding-bottom: 36px;
}

.rp-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.rp-card {
    background: #fff;
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius);
    box-shadow: var(--rp-shadow-soft);
    padding: 20px 20px 16px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.rp-card-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
}

.rp-date { color: var(--rp-muted); font-size: 12px; }

.rp-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.3;
}

.rp-card-body {
    margin: 0 0 14px;
    color: #3b403b;
    font-size: 14px;
    line-height: 1.55;
}

.rp-card-body.is-open {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.rp-more {
    border: 0;
    background: none;
    color: var(--rp-green);
    padding: 0;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    align-self: start;
    margin: -8px 0 12px;
}

.rp-reviewer {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: auto;
}

.rp-avatar {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #eef1ec;
    color: #4a524a;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 700;
}

.rp-reviewer strong { display: block; font-size: 13px; }
.rp-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--rp-green-soft);
    font-size: 12px;
}

.rp-product {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: #4a524a;
    font-size: 13px;
}

.rp-product-thumb {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #f3f2ee;
    display: grid;
    place-items: center;
}

.rp-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.rp-topic {
    background: #f3f2ee;
    color: #4a524a;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 11px;
}

.rp-view-bike {
    margin-left: auto;
    color: var(--rp-green);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.rp-reply {
    margin-top: 14px;
    background: var(--rp-green-wash);
    border-radius: 12px;
    padding: 12px 14px;
}

.rp-reply strong { display: block; font-size: 13px; margin-bottom: 4px; }
.rp-reply p { margin: 0; font-size: 13px; color: #3d4a42; }
.rp-reply time { display: block; margin-top: 6px; color: var(--rp-muted); font-size: 12px; }

.rp-side {
    display: grid;
    gap: 16px;
}

.rp-side-card {
    background: #fff;
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius);
    padding: 18px 18px 14px;
    box-shadow: var(--rp-shadow-soft);
}

.rp-side-head {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: baseline;
    margin-bottom: 12px;
}

.rp-side-head h2 { margin: 0; font-size: 16px; }
.rp-side-head a { font-size: 13px; color: var(--rp-green); text-decoration: none; }

.rp-model {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 8px 0;
    border-top: 1px solid #f0eee8;
}

.rp-model:first-of-type { border-top: 0; }

.rp-model-copy { min-width: 0; flex: 1; }
.rp-model-copy strong { display: block; font-size: 13px; }
.rp-model-meta { color: var(--rp-muted); font-size: 12px; }
.rp-chevron { color: #9aa19a; }

.rp-service h2 { margin: 0 0 6px; font-size: 16px; }
.rp-service p { margin: 0 0 14px; color: var(--rp-muted); font-size: 14px; }

.rp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--rp-green);
    color: #fff;
    text-decoration: none;
    border: 0;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.rp-more-wrap {
    display: flex;
    justify-content: center;
    padding: 8px 0 48px;
}

.rp-section { padding: 8px 0 24px; }
.rp-section h2 { font-size: 22px; margin: 0 0 12px; }

.rp-topic-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.rp-topic-cloud span {
    background: #fff;
    border: 1px solid var(--rp-line);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 13px;
}

.rp-stars { color: var(--rp-star); letter-spacing: 1px; font-size: 14px; line-height: 1; }
.rp-stars.is-lg { font-size: 20px; }
.rp-stars.is-xl { font-size: 36px; }

.rp-breadcrumbs {
    display: flex;
    gap: 8px;
    align-items: center;
    color: var(--rp-muted);
    font-size: 13px;
    padding-top: 22px;
}

.rp-breadcrumbs a { color: var(--rp-green); text-decoration: none; }

.rp-form-page { padding: 48px 0 72px; }
.rp-form-card {
    width: min(560px, 100%);
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--rp-line);
    border-radius: 22px;
    box-shadow: var(--rp-shadow);
    padding: 36px 36px 32px;
}

.rp-form-card h1 { margin: 16px 0 8px; font-size: 32px; }
.rp-form-card .rp-lead { color: var(--rp-muted); margin: 0 0 24px; }
.rp-form-card fieldset.rp-field {
    border: 0;
    padding: 0;
    margin: 0 0 16px;
}
.rp-form-card .rp-topics .rp-topic {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.rp-star-input { display: flex; gap: 10px; margin: 8px 0 24px; }
.rp-star-input input { position: absolute; opacity: 0; pointer-events: none; }
.rp-star-input label {
    font-size: 42px;
    color: #d9d4c8;
    cursor: pointer;
    line-height: 1;
}
.rp-star-input label.is-on { color: var(--rp-star); }

.rp-field { display: grid; gap: 6px; margin-bottom: 16px; }
.rp-field span { font-weight: 600; font-size: 14px; }
.rp-field input,
.rp-field textarea {
    border: 1px solid var(--rp-line);
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    width: 100%;
    background: #fff;
}
.rp-field textarea { min-height: 140px; resize: vertical; }

.rp-check-row { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 20px; font-size: 14px; }
.rp-form-card .rp-btn { width: 100%; height: 52px; }
.rp-errors { color: #9b2c2c; font-size: 14px; margin: 0 0 16px; }

.rp-closed,
.rp-simple {
    max-width: 560px;
    margin: 64px auto;
    background: #fff;
    border-radius: 20px;
    padding: 36px;
    border: 1px solid var(--rp-line);
    text-align: center;
}

.rp-footer {
    border-top: 1px solid var(--rp-line);
    padding: 28px 0 36px;
    color: var(--rp-muted);
    font-size: 13px;
}

@media (max-width: 1100px) {
    .rp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rp-hero { gap: 28px; }
    .rp-hero h1 { font-size: 36px; }
}

@media (max-width: 900px) {
    .rp-layout { grid-template-columns: 1fr; }
    .rp-hero {
        grid-template-columns: 1fr;
        padding-top: 28px;
    }
    .rp-score { flex-direction: column; align-items: stretch; }
    .rp-hero-overlay { font-size: 22px; }
    .rp-filters { flex-wrap: wrap; }
    .rp-search,
    .rp-select { width: 100%; min-width: 0; }
    .rp-chips { width: 100%; }
}

@media (max-width: 720px) {
    .rp-header { height: auto; }
    .rp-header-inner {
        width: calc(100% - 32px);
        padding: 12px 0;
        flex-wrap: wrap;
    }
    .rp-nav { order: 3; width: 100%; gap: 18px; }
    .rp-container { width: calc(100% - 32px); }
    .rp-hero h1 { font-size: 30px; }
    .rp-grid { grid-template-columns: 1fr; }
    .rp-trust { grid-template-columns: 1fr; }
    .rp-form-card { padding: 24px 18px; }
    .rp-hero-trust { max-width: calc(100% - 24px); }
}
