/* Page-owned additions; the original community-store hero is left untouched. */
.rh-page [hidden] { display:none!important; }
.rh-page :is(button,input,textarea) { font-family:inherit; }
.rh-page :focus-visible { outline:3px solid #a81724; outline-offset:4px; }
.rh-page :is([tabindex="-1"],section[id]) { scroll-margin-top:130px; }
.rh-page .rh-mode-note { font-size:12px; }
.rh-code-search { max-width:420px; margin:0 0 22px; }
.rh-code-search fieldset { min-width:0; border:0; padding:0; margin:0; }
.rh-code-search-row { display:flex; align-items:stretch; gap:10px; }
.rh-code-search-row .rh-button { flex-shrink:0; }
.rh-code-search .rh-label { font-size:11px; }
.rh-code-search .rh-hint { font-size:10px; }
.rh-writer-heading { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); align-items:end; gap:60px; padding-block:24px 48px; }
.rh-writer-heading h1 { margin-bottom:0; font-size:clamp(42px,4.5vw,64px); }
.rh-writer-note { max-width:370px; padding-bottom:4px; }
.rh-writer-note>p:not(.cs-status) { color:var(--cs-muted); font-size:12px; line-height:1.9; margin-bottom:12px; }
.rh-writer-note .cs-status { margin-bottom:10px; }
.rh-writer-page .rh-workspace { padding-top:42px; }
.rh-workspace { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:clamp(40px,6vw,100px); align-items:start; padding-block:64px 84px; border-top:1px solid var(--cs-line); }
.rh-workspace h2 { margin-bottom:24px; }
.rh-guide-copy { max-width:360px; color:var(--cs-muted); font-size:13px; line-height:1.9; }
.rh-guide { list-style:none; padding:0; margin:30px 0; max-width:360px; }
.rh-guide li { display:grid; grid-template-columns:30px 1fr; gap:14px; padding-block:18px; border-top:1px solid var(--cs-line); }
.rh-guide li>span { color:#a81724; font-size:10px; padding-top:3px; }
.rh-guide strong { display:block; color:#34363a; font-size:14px; font-weight:500; line-height:1.5; }
.rh-guide p { margin:6px 0 0; color:var(--cs-muted); font-size:11px; line-height:1.8; }
.rh-demo-guide { max-width:360px; border-top:1px solid var(--cs-line); }
.rh-demo-guide summary { min-height:44px; padding-block:13px; color:#650f22; font-size:11px; cursor:pointer; }
.rh-demo-guide p { color:var(--cs-muted); font-size:11px; line-height:1.85; }
.rh-demo-guide code { color:#8f1926; font-size:11px; overflow-wrap:anywhere; }
.rh-composer { min-width:0; background:#fafaf8; border:1px solid var(--cs-line); border-top:2px solid #a81724; }
.rh-composer-head { display:flex; justify-content:space-between; align-items:baseline; gap:14px; flex-wrap:wrap; padding:24px 28px 0; }
.rh-composer-head .cs-eyebrow { margin-bottom:18px; }
.rh-badge { display:inline-block; color:#650f22; border:1px solid #d1b9bd; padding:4px 7px; font-size:9px; font-weight:600; letter-spacing:.08em; line-height:1.5; }
.rh-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; list-style:none; padding:0 28px; margin:0; border-bottom:1px solid var(--cs-line); }
.rh-steps li { display:flex; align-items:center; gap:8px; position:relative; min-width:0; padding:12px 0 18px; color:#63666b; font-size:10px; line-height:1.5; }
.rh-steps li>span:first-child { font-size:11px; color:#76777a; }
.rh-steps [aria-current="step"] { color:#650f22; font-weight:600; }
.rh-steps [aria-current="step"]::after { content:""; position:absolute; bottom:-1px; width:100%; height:2px; background:#b81d2c; }
.rh-steps [aria-current="step"]>span:first-child,.rh-step-done>span:first-child { color:#a81724; }
.rh-panel { padding:28px; }
.rh-page .rh-panel h3 { font-size:24px; font-weight:400; line-height:1.3; letter-spacing:-.045em; margin-bottom:12px; }
.rh-panel-copy { color:var(--cs-muted); font-size:12px; line-height:1.8; margin-bottom:24px; }
.rh-panel fieldset { min-width:0; padding:0; margin:0; border:0; }
.rh-label { display:block; color:#34363a; font-size:12px; font-weight:500; line-height:1.6; margin-bottom:9px; }
.rh-code-row { display:flex; gap:10px; }
.rh-input { display:block; width:100%; min-width:0; min-height:48px; padding:12px 13px; border:1px solid #b3b4b3; border-radius:0; color:#242629; background:#fff; font-size:13px; line-height:1.7; }
.rh-input::placeholder { color:#6c6f73; opacity:1; }
.rh-page .rh-input:is(:focus,:focus-visible) { border-color:#8f1926; outline:2px solid #a81724; outline-offset:1px; box-shadow:none; }
.rh-input[aria-invalid="true"] { border-color:#a81724; }
.rh-page fieldset:disabled .rh-input { color:#66686b; background:#efefec; cursor:not-allowed; }
.rh-button { display:inline-flex; align-items:center; justify-content:space-between; gap:18px; min-height:48px; padding:12px 18px; border:1px solid transparent; border-radius:0; font-size:11px; line-height:1.7; font-weight:500; text-decoration:none; transition:background-color .2s; }
.rh-button>span { font-size:19px; font-weight:400; line-height:1; }
.rh-button--red { background:#b81d2c; color:#fff; }
.rh-button--red:hover:not(:disabled) { background:#8b1221; color:#fff; }
.rh-button--line { border-color:#b3b4b3; color:#34363a; background:transparent; }
.rh-button--line:hover:not(:disabled) { border-color:#8f1926; color:#650f22; background:#f4ecec; }
.rh-code-row .rh-button { flex-shrink:0; }
.rh-button:disabled,.rh-page fieldset:disabled .rh-button { background:#e8e8e5; border-color:#d9d9d5; color:#66686b; cursor:not-allowed; }
.rh-text-button { display:inline-flex; align-items:center; gap:10px; min-height:44px; padding:5px 0; border:0; background:none; color:#8f1926; font-size:11px; line-height:1.6; text-align:left; text-decoration:underline; text-underline-offset:4px; }
.rh-text-button:hover:not(:disabled) { color:#56101a; }
.rh-text-button:disabled { color:#74777a; cursor:not-allowed; }
.rh-page .rh-hint { margin:12px 0 0; color:#63666b; font-size:11px; line-height:1.8; }
.rh-error { margin:12px 0 0; padding:12px 14px; color:#8b1424; background:#faecee; border-left:2px solid #a81724; font-size:12px; line-height:1.75; overflow-wrap:anywhere; }
.rh-demo-action { margin-top:10px; }
.rh-unavailable { margin:20px 0 0; color:#63666b; font-size:12px; line-height:1.8; }
.rh-panel-heading { display:flex; align-items:start; justify-content:space-between; gap:14px; flex-wrap:wrap; margin-bottom:18px; }
.rh-panel-heading .rh-text-button { min-height:32px; }
.rh-panel-heading h3 { margin-bottom:0; }
.rh-document-summary { padding:15px 17px; margin-bottom:25px; border-left:1px solid #b98a93; background:#f2eeeb; }
.rh-document-summary p { margin:0; color:#650f22; font-size:12px; line-height:1.7; }
.rh-document-summary .rh-hint { color:#63666b; font-size:10px; }
.rh-panel .rh-rating-group { margin-bottom:24px; }
.rh-rating-group legend { float:none; width:auto; }
.rh-stars { display:flex; align-items:center; gap:8px; }
.rh-stars input { position:absolute; width:1px; height:1px; padding:0; margin:0; opacity:0; overflow:hidden; }
.rh-stars label { display:grid; place-items:center; width:44px; height:44px; margin:0; border:1px solid #b3b4b3; background:#fff; color:#63666b; font-size:27px; line-height:1; cursor:pointer; }
.rh-stars .rh-star-filled { color:#a81724; background:#fbf1f2; border-color:#bc8d96; }
.rh-stars input:checked+label { border-color:#a81724; background:#f5e3e6; }
.rh-stars input:focus-visible+label { outline:3px solid #a81724; outline-offset:3px; }
.rh-stars input:disabled+label { cursor:not-allowed; }
.rh-textarea-heading { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:6px 14px; }
.rh-counter { color:#63666b; font-size:10px; }
.rh-textarea { min-height:130px; max-height:360px; resize:vertical; }
.rh-preview { margin-top:22px; padding:18px; border:1px solid #d3b8bd; border-top:2px solid #a81724; background:#fff; }
.rh-preview-head { display:flex; justify-content:space-between; flex-wrap:wrap; align-items:baseline; gap:8px; margin-bottom:14px; }
.rh-preview-head strong { color:#34363a; font-size:12px; font-weight:500; }
.rh-preview-head span { color:#8f1926; font-size:8px; letter-spacing:.06em; }
.rh-preview-rating { color:#8f1926; font-size:12px; margin-bottom:10px; }
.rh-preview-text { color:#52555a; font-size:13px; line-height:1.9; white-space:pre-wrap; overflow-wrap:anywhere; margin-bottom:0; }
.rh-form-actions { display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin-top:24px; }
.rh-form-actions .rh-button--red { margin-left:auto; }
.rh-complete-icon { display:grid; place-items:center; width:58px; height:58px; margin-bottom:22px; border:1px solid #d1b9bd; color:#8f1926; border-radius:50%; }
.rh-complete-icon svg { width:28px; height:28px; }
.rh-complete>p { color:var(--cs-muted); font-size:13px; line-height:1.85; }
.rh-complete .cs-text-link { min-height:48px; }
.rh-samples { padding-block:70px 80px; background:#f6f6f3; border-top:1px solid var(--cs-line); }
.rh-samples-heading { display:flex; justify-content:space-between; align-items:end; gap:32px; margin-bottom:34px; }
.rh-samples-heading h2 { margin-bottom:0; }
.rh-samples-heading>p { max-width:350px; margin-bottom:0; color:var(--cs-muted); font-size:12px; line-height:1.85; }
.rh-sample-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.rh-sample { display:flex; flex-direction:column; min-width:0; padding:26px 26px 22px; background:#fff; border:1px solid var(--cs-line); }
.rh-sample-top { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:22px; }
.rh-sample-stars { color:#8f1926; font-size:14px; letter-spacing:.08em; }
.rh-page .rh-sample h3 { margin-bottom:14px; color:#34363a; font-size:20px; font-weight:400; line-height:1.35; letter-spacing:-.035em; }
.rh-sample blockquote { margin:0 0 24px; color:#5e6165; font-size:12px; line-height:1.95; }
.rh-sample-footer { display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; margin-top:auto; padding-top:15px; border-top:1px solid #e6e3df; color:#6c6f73; font-size:9px; line-height:1.7; }
.rh-page .cs-comments-next { background:#fff; }
@media (max-width:1100px) {
  .rh-workspace { grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:36px; }
  .rh-code-row { flex-wrap:wrap; }
  .rh-code-row .rh-button { width:100%; }
  .rh-sample-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:767px) {
  .rh-writer-heading { grid-template-columns:1fr; gap:24px; padding-block:16px 30px; }
  .rh-writer-note { max-width:440px; }
  .rh-writer-page .rh-workspace { padding-top:32px; }
  .rh-workspace { grid-template-columns:1fr; gap:30px; padding-block:40px 50px; }
  .rh-workspace h2 { font-size:36px; }
  .rh-guide-copy,.rh-guide,.rh-demo-guide { max-width:none; }
  .rh-guide { margin-block:24px 16px; }
  .rh-guide li { padding-block:13px; }
  .rh-composer-head { padding:20px 20px 0; }
  .rh-composer-head .cs-eyebrow { margin-bottom:14px; }
  .rh-steps { gap:10px; padding-inline:20px; }
  .rh-steps li { gap:5px; font-size:9px; }
  .rh-panel { padding:24px 20px; }
  .rh-page .rh-panel h3 { font-size:23px; }
  .rh-form-actions .rh-button--red { width:100%; margin-left:0; }
  .rh-samples { padding-block:45px 50px; }
  .rh-samples-heading { display:block; margin-bottom:26px; }
  .rh-samples-heading>p { max-width:440px; margin-top:18px; }
  .rh-sample { padding:23px 22px 20px; }
}
@media (max-width:539px) {
  .rh-sample-grid { grid-template-columns:1fr; gap:16px; }
}
@media (max-width:374px) {
  .rh-code-search-row { gap:8px; }
  .rh-code-search-row .rh-button { gap:10px; padding-inline:12px; }
  .rh-composer-head,.rh-panel { padding-inline:16px; }
  .rh-steps { padding-inline:16px; gap:8px; }
  .rh-steps li { font-size:8px; }
  .rh-stars { gap:5px; }
  .rh-stars label { width:43px; height:44px; }
}
@media (prefers-reduced-motion:reduce) {
  .rh-page *, .rh-page *::before { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
}

/* Canonical review catalog: shared product fixtures, local filters. */
.rh-list-page [hidden] { display:none!important; }
.rl-product { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(28px,5vw,72px); align-items:center; padding-block:24px 52px; }
.rl-product>img { display:block; width:100%; max-height:550px; object-fit:contain; background:var(--theme-surface,#f5f4f1); }
.rl-product h1 { margin-bottom:20px; font-size:clamp(28px,3.5vw,48px); letter-spacing:-.04em; }
.rl-product p { font-size:14px; line-height:1.8; color:var(--theme-muted,#63666b); }
.rl-product dl { margin:24px 0; }
.rl-product dl>div { display:grid; grid-template-columns:100px minmax(0,1fr); gap:15px; padding-block:9px; border-bottom:1px solid var(--theme-line,#deddd9); font-size:12px; line-height:1.7; }
.rl-product dt { font-weight:500; }
.rl-product dd { margin:0; color:var(--theme-muted,#63666b); }
.rl-catalog { scroll-margin-top:100px; }
.rl-results-toolbar { display:flex; justify-content:space-between; align-items:center; gap:12px 24px; flex-wrap:wrap; margin:8px 0 20px; }
.rl-rating-summary { display:flex; align-items:center; gap:6px; margin-left:auto; }
.rl-stats { color:var(--theme-ink,#242629); }
.rl-score { display:flex; align-items:baseline; gap:8px; white-space:nowrap; }
.rl-score strong { font-size:21px; font-weight:500; letter-spacing:-.04em; line-height:1; }
.rl-score span { font-size:11px; color:var(--theme-muted,#63666b); }
.rl-score .rl-summary-stars { color:var(--theme-accent,#8f1926); font-size:11px; letter-spacing:2px; }
.rl-info { position:relative; }
.rl-info summary { display:grid; place-items:center; width:44px; height:44px; cursor:pointer; list-style:none; }
.rl-info summary::-webkit-details-marker { display:none; }
.rl-info summary span { display:grid; place-items:center; width:19px; height:19px; border:1px solid currentColor; border-radius:50%; color:var(--theme-muted,#63666b); font-family:Georgia,serif; font-size:13px; font-style:italic; line-height:1; }
.rl-info[open] summary span { color:var(--theme-accent,#8f1926); }
.rl-info-tooltip { position:absolute; top:calc(100% + 4px); right:0; z-index:5; width:min(320px,calc(100vw - 40px)); margin:0; padding:16px 18px; border:1px solid var(--theme-line,#deddd9); border-radius:6px; background:var(--theme-raised,#fff); color:var(--theme-muted,#63666b); box-shadow:0 10px 30px #00000014; font-size:12px; line-height:1.8; }
.rl-browse-layout { display:block; }
.rl-review-feed { min-width:0; }
.rl-review-feed > .rh-sample-grid { grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch; gap:20px; }
.rl-review-feed .rh-sample blockquote { overflow-wrap:anywhere; }
.rl-review-text.is-collapsed { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:4; overflow:hidden; }
.rh-list-page .rl-review-toggle { align-self:flex-start; min-height:44px; margin:-14px 0 10px; padding:8px 0; border:0; background:transparent; color:var(--theme-ink,#242629); font:inherit; font-size:13px; line-height:1.5; text-decoration:underline; text-underline-offset:4px; cursor:pointer; }
.rh-list-page .rl-review-toggle:hover { text-decoration-thickness:2px; }
.rh-list-page .rl-review-toggle:focus-visible { outline:2px solid var(--theme-ink,#242629); outline-offset:4px; }
.rl-review-feed .rh-sample-top { margin-bottom:17px; }
.rl-review-feed .rh-sample-footer { font-size:11px; }
.rl-review-feed .rl-product-link { align-self:flex-start; min-height:28px; }
.rl-filters { display:flex; flex-wrap:wrap; gap:10px; margin:0 0 12px; align-items:center; }
.rl-filters .rl-filter { display:flex; flex:1 1 145px; align-items:center; min-width:0; min-height:46px; margin:0; border:1px solid var(--theme-line,#deddd9); border-radius:4px; color:var(--theme-ink,#242629); background:var(--theme-surface,#fff); }
.rl-filter-icon { display:grid; flex:0 0 38px; place-items:center; }
.rl-filters svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.rl-filters :is(input,select) { display:block; width:100%; min-width:0; height:44px; border:0; border-radius:4px; background:transparent; color:inherit; padding:8px 8px 8px 0; font:inherit; font-size:12px; }
.rl-filters select { cursor:pointer; }
.rl-filters option { color:var(--theme-ink,#242629); background:var(--theme-surface,#fff); }
.rl-filters .rl-filter--type { color:#8f1926; background:#f8edef; border-color:#d7adb5; }
.rl-filters .rl-filter--product { color:#285b63; background:#edf5f4; border-color:#b4cdca; }
.rl-filter:has(select:disabled) { opacity:.55; }
.rl-filters .rl-search { flex:1.2 1 180px; }
.rl-filter-clear { display:grid; place-items:center; flex:0 0 46px; width:46px; height:46px; border:1px solid var(--theme-line,#deddd9); border-radius:4px; color:var(--theme-muted,#63666b); background:var(--theme-surface,#fff); cursor:pointer; }
.rl-filter-clear:hover { color:var(--theme-ink,#242629); border-color:currentColor; }
html[data-gear-theme="dark"] .rl-filters .rl-filter--type { color:#ffbbc5; background:#382127; border-color:#80545d; }
html[data-gear-theme="dark"] .rl-filters .rl-filter--product { color:#b6e5df; background:#1d3336; border-color:#4b7576; }
.rl-result-count { margin:0; font-size:12px; color:var(--theme-muted,#63666b); }
.rl-result-count { scroll-margin-top:110px; }
.rl-result-count:focus-visible { outline:2px solid var(--theme-accent,#b51f2c); outline-offset:5px; }
.rl-pagination { display:grid; grid-template-columns:auto minmax(0,auto) auto; align-items:center; justify-content:center; gap:12px; margin:30px auto 0; padding-top:24px; border-top:1px solid var(--theme-line,#deddd9); }
.rl-page-numbers { position:relative; display:flex; min-width:0; gap:7px; overflow-x:auto; padding:5px; scrollbar-width:thin; }
.rl-page-numbers button { flex:0 0 44px; }
.rl-page-label { margin-inline:5px; }
.rh-list-page .rl-pagination button { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; padding:10px 12px; border:1px solid var(--theme-line,#deddd9); border-radius:3px; background:var(--theme-surface,#fff); color:var(--theme-ink,#242629); font:inherit; font-size:13px; line-height:1.2; cursor:pointer; }
.rh-list-page .rl-pagination button:hover:not(:disabled) { border-color:var(--theme-ink,#242629); }
.rh-list-page .rl-pagination button[aria-current="page"] { border-color:#b51f2c; background:#b51f2c; color:#fff; font-weight:600; }
.rh-list-page .rl-pagination button:focus-visible { outline:2px solid var(--theme-ink,#242629); outline-offset:3px; }
.rh-list-page .rl-pagination button:disabled { opacity:.45; cursor:default; }
.rl-empty { padding:30px; border:1px solid var(--theme-line,#deddd9); color:var(--theme-muted,#63666b); font-size:14px; }
.rl-product-link { display:inline-block; margin-top:18px; color:var(--theme-accent,#742036); font-size:12px; }
.rl-topic { margin:16px 0 0; font-size:11px; color:var(--theme-muted,#63666b); }
.rl-catalog .rh-sample { min-width:0; }
.rl-catalog .rh-sample h3 { font-size:20px; }
.rl-catalog .rh-sample-top { flex-wrap:wrap; gap:8px; }
@media(max-width:899px) {
  .rl-review-feed > .rh-sample-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:767px) {
  .rl-product { grid-template-columns:1fr; padding-block:10px 30px; }
  .rl-product>img { max-height:380px; }
  .rl-filters { gap:10px; }
  .rl-review-feed > .rh-sample-grid { grid-template-columns:minmax(0,1fr); }
  .rl-review-feed .rh-sample { padding:23px 21px 20px; }

  .rl-pagination { gap:6px; }
  .rl-page-label { display:none; }
  .rl-results-toolbar { gap:4px 12px; }
}

.rh-list-page h1[tabindex="-1"]:focus { outline:none; }

@media(max-width:479px) {
 .rl-filters .rl-filter { flex-basis:calc(50% - 5px); }
 .rl-filter-icon { flex-basis:30px; }
 .rl-filters :is(input,select) { font-size:11px; padding-right:4px; }
 .rl-filters .rl-search { flex-basis:calc(100% - 56px); }
 .rl-review-feed .rh-sample blockquote { font-size:13px; }
}
