:root {
  color-scheme: light;
  --rr-bg: #f5f4f0;
  --rr-surface: #ffffff;
  --rr-surface-soft: #efeee9;
  --rr-surface-deep: #e6e4dd;
  --rr-text: #20252b;
  --rr-muted: #697077;
  --rr-primary: #344a5f;
  --rr-primary-hover: #293b4c;
  --rr-accent: #a67c52;
  --rr-accent-soft: #d7c1aa;
  --rr-burgundy: #713544;
  --rr-border: #dfe1dc;
  --rr-border-strong: #c8cbc5;
  --rr-success: #356b52;
  --rr-warning: #a66f2e;
  --rr-danger: #a33d3d;
  --rr-shadow: 0 22px 58px rgba(32, 37, 43, 0.08);
  --rr-shadow-soft: 0 10px 28px rgba(32, 37, 43, 0.06);
  --rr-header-height: 76px;
  --rr-radius-xl: 26px;
  --rr-radius-lg: 20px;
  --rr-radius-md: 14px;
  --rr-radius-sm: 10px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --rr-bg: #111417;
  --rr-surface: #1a1f24;
  --rr-surface-soft: #22282e;
  --rr-surface-deep: #2a3138;
  --rr-text: #f4f3ef;
  --rr-muted: #aab0b5;
  --rr-primary: #91a8ba;
  --rr-primary-hover: #a8bdcc;
  --rr-accent: #c39a70;
  --rr-accent-soft: #6b5947;
  --rr-burgundy: #c78191;
  --rr-border: #343b42;
  --rr-border-strong: #46505a;
  --rr-success: #72a98b;
  --rr-warning: #d2a064;
  --rr-danger: #dc7777;
  --rr-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
  --rr-shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.rr-feed-body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(90deg, transparent 0, transparent calc(50% - 0.5px), color-mix(in srgb, var(--rr-border), transparent 72%) 50%, transparent calc(50% + 0.5px)),
    var(--rr-bg);
  color: var(--rr-text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
a {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
}

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

[hidden] {
  display: none !important;
}

.rr-feed-shell {
  width: min(1510px, calc(100% - 48px));
  margin-inline: auto;
}

.rr-feed-skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--rr-text);
  color: var(--rr-surface);
  transition: transform 160ms ease;
}

.rr-feed-skip:focus {
  transform: translateY(0);
}

/* Header */
.rr-feed-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--rr-header-height);
  border-bottom: 1px solid color-mix(in srgb, var(--rr-border), transparent 10%);
  background: color-mix(in srgb, var(--rr-bg), transparent 7%);
  backdrop-filter: blur(18px);
}

.rr-feed-header-inner {
  min-height: var(--rr-header-height);
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(300px, 1fr);
  align-items: center;
  gap: 28px;
}

.rr-feed-brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.rr-feed-logo {
  width: 210px;
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

.rr-feed-logo-dark {
  display: none;
}

html[data-theme="dark"] .rr-feed-logo-light {
  display: none;
}

html[data-theme="dark"] .rr-feed-logo-dark {
  display: block;
}

.rr-feed-primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.rr-feed-primary-nav a {
  position: relative;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  color: var(--rr-muted);
  font-size: 0.86rem;
  font-weight: 720;
  letter-spacing: 0.04em;
}

.rr-feed-primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--rr-accent);
  transition: transform 160ms ease;
}

.rr-feed-primary-nav a:hover,
.rr-feed-primary-nav a.is-active {
  color: var(--rr-text);
}

.rr-feed-primary-nav a:hover::after,
.rr-feed-primary-nav a.is-active::after {
  transform: scaleX(1);
}

.rr-feed-header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 9px;
}

.rr-feed-icon-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--rr-border);
  border-radius: 50%;
  background: var(--rr-surface);
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.rr-feed-icon-button:hover {
  border-color: var(--rr-border-strong);
  background: var(--rr-surface-soft);
  transform: translateY(-1px);
}

.rr-feed-signin,
.rr-feed-join {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 760;
  font-size: 0.88rem;
}

.rr-feed-signin {
  color: var(--rr-primary);
}

.rr-feed-join {
  background: var(--rr-primary);
  color: var(--rr-surface);
}

html[data-theme="dark"] .rr-feed-join {
  color: #111820;
}

.rr-feed-account-menu {
  position: relative;
}

.rr-feed-account-menu summary {
  min-width: 206px;
  min-height: 48px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 5px 10px 5px 6px;
  border: 1px solid var(--rr-border);
  border-radius: 999px;
  background: var(--rr-surface);
  list-style: none;
  cursor: pointer;
}

.rr-feed-account-menu summary::-webkit-details-marker {
  display: none;
}

.rr-feed-account-avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--rr-primary);
  color: var(--rr-surface);
  font-weight: 800;
}

html[data-theme="dark"] .rr-feed-account-avatar {
  color: #111820;
}

.rr-feed-account-copy {
  min-width: 0;
  display: grid;
}

.rr-feed-account-copy strong,
.rr-feed-account-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rr-feed-account-copy strong {
  font-size: 0.84rem;
}

.rr-feed-account-copy small {
  color: var(--rr-muted);
  font-size: 0.72rem;
}

.rr-feed-account-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  width: 216px;
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--rr-border);
  border-radius: 16px;
  background: var(--rr-surface);
  box-shadow: var(--rr-shadow-soft);
}

.rr-feed-account-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--rr-muted);
  font-size: 0.86rem;
  font-weight: 650;
}


.rr-feed-logout-form {
  margin: 0;
  padding: 0;
}

.rr-feed-logout-button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .72rem .85rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: 10px;
}

.rr-feed-logout-button:hover {
  background: var(--rr-feed-surface-soft, #f3f4f6);
}

.rr-feed-account-dropdown a:hover {
  background: var(--rr-surface-soft);
  color: var(--rr-text);
}

/* Shared buttons */
.rr-feed-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 760;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.rr-feed-button:hover {
  transform: translateY(-1px);
}

.rr-feed-button-primary {
  background: var(--rr-primary);
  color: var(--rr-surface);
}

.rr-feed-button-primary:hover {
  background: var(--rr-primary-hover);
}

html[data-theme="dark"] .rr-feed-button-primary {
  color: #111820;
}

.rr-feed-button-quiet {
  border-color: var(--rr-border);
  background: var(--rr-surface);
  color: var(--rr-text);
}

.rr-feed-button-quiet:hover {
  border-color: var(--rr-border-strong);
  background: var(--rr-surface-soft);
}

/* Projectline page */
.rr-projectline-page {
  padding: 46px 0 110px;
}

.rr-projectline-hero {
  position: relative;
  min-height: 455px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(360px, 0.7fr);
  gap: 64px;
  align-items: center;
  padding: 54px 58px;
  border: 1px solid var(--rr-border);
  border-radius: 30px;
  background:
    linear-gradient(140deg, color-mix(in srgb, var(--rr-surface), transparent 0%) 0 56%, transparent 56%),
    repeating-linear-gradient(90deg, transparent 0 58px, color-mix(in srgb, var(--rr-border), transparent 58%) 59px 60px),
    repeating-linear-gradient(0deg, transparent 0 58px, color-mix(in srgb, var(--rr-border), transparent 58%) 59px 60px),
    var(--rr-surface-soft);
  overflow: hidden;
}

.rr-projectline-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 340px;
  height: 340px;
  border: 1px solid color-mix(in srgb, var(--rr-accent), transparent 38%);
  border-radius: 50%;
}

.rr-projectline-hero-copy,
.rr-projectline-hero-board {
  position: relative;
  z-index: 1;
}

.rr-projectline-eyebrow,
.rr-record-eyebrow,
.rr-projectline-join-card > span,
.rr-record-next-step > span,
.rr-record-passport-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rr-burgundy);
  font-size: 0.75rem;
  font-weight: 820;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rr-projectline-eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--rr-accent);
}

.rr-projectline-hero h1 {
  max-width: 820px;
  margin: 18px 0 20px;
  font-size: clamp(3.3rem, 6.2vw, 6.2rem);
  line-height: 0.93;
  letter-spacing: -0.065em;
  font-weight: 820;
}

.rr-projectline-hero-copy > p {
  max-width: 700px;
  margin: 0;
  color: var(--rr-muted);
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  line-height: 1.78;
}

.rr-projectline-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.rr-projectline-hero-board {
  align-self: stretch;
  display: grid;
  align-content: center;
  padding: 30px;
  border: 1px solid color-mix(in srgb, var(--rr-border), transparent 2%);
  border-radius: 24px;
  background: color-mix(in srgb, var(--rr-surface), transparent 2%);
  box-shadow: var(--rr-shadow-soft);
}

.rr-projectline-board-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rr-border);
  color: var(--rr-muted);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rr-projectline-board-title i {
  color: var(--rr-accent);
  font-size: 1.2rem;
}

.rr-projectline-board-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.rr-projectline-board-grid > div {
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 24px 18px;
  border-bottom: 1px solid var(--rr-border);
}

.rr-projectline-board-grid > div:nth-child(1) {
  border-right: 1px solid var(--rr-border);
}

.rr-projectline-board-grid strong {
  font-size: 2.7rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.rr-projectline-board-grid span {
  color: var(--rr-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.rr-projectline-board-grid .is-wide {
  min-height: 104px;
  grid-column: 1 / -1;
  grid-template-columns: 34px 1fr;
  align-items: center;
  border-bottom: 0;
}

.rr-projectline-board-grid .is-wide i {
  color: var(--rr-success);
  font-size: 1.35rem;
}

.rr-projectline-discovery {
  position: sticky;
  top: calc(var(--rr-header-height) + 12px);
  z-index: 55;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  padding: 14px;
  border: 1px solid var(--rr-border);
  border-radius: 20px;
  background: color-mix(in srgb, var(--rr-bg), transparent 4%);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(32, 37, 43, 0.04);
}

.rr-projectline-search {
  min-height: 52px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 10px;
  padding: 0 10px 0 16px;
  border: 1px solid var(--rr-border);
  border-radius: 14px;
  background: var(--rr-surface);
}

.rr-projectline-search > i {
  color: var(--rr-accent);
}

.rr-projectline-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--rr-text);
}

.rr-projectline-search input::placeholder {
  color: var(--rr-muted);
}

.rr-projectline-search button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--rr-muted);
  cursor: pointer;
}

.rr-projectline-search button:hover {
  background: var(--rr-surface-soft);
  color: var(--rr-text);
}

.rr-projectline-filter-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.rr-projectline-filter-row button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--rr-muted);
  font-size: 0.82rem;
  font-weight: 720;
  cursor: pointer;
}

.rr-projectline-filter-row button:hover,
.rr-projectline-filter-row button.is-active {
  border-color: var(--rr-border);
  background: var(--rr-surface);
  color: var(--rr-text);
}

.rr-developer-index {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-top: 22px;
  padding: 24px 0;
  border-top: 1px solid var(--rr-border);
  border-bottom: 1px solid var(--rr-border);
}

.rr-developer-index-heading {
  display: grid;
  gap: 4px;
}

.rr-developer-index-heading span {
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rr-developer-index-heading small {
  color: var(--rr-muted);
  line-height: 1.45;
}

.rr-developer-index-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 4px;
}

.rr-developer-index-item {
  min-width: 250px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 9px 12px 9px 9px;
  border: 1px solid var(--rr-border);
  border-radius: 15px;
  background: var(--rr-surface);
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.rr-developer-index-item:hover,
.rr-developer-index-item.is-active {
  border-color: var(--rr-accent);
  background: color-mix(in srgb, var(--rr-surface), var(--rr-accent) 4%);
  transform: translateY(-1px);
}

.rr-developer-index-mark,
.rr-project-record-company-mark {
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--rr-primary);
  color: var(--rr-surface);
  font-weight: 850;
  letter-spacing: 0.03em;
}

html[data-theme="dark"] .rr-developer-index-mark,
html[data-theme="dark"] .rr-project-record-company-mark {
  color: #111820;
}

.rr-developer-index-mark {
  width: 42px;
  height: 42px;
}

.rr-developer-index-item > span:nth-child(2) {
  min-width: 0;
  display: grid;
}

.rr-developer-index-item strong,
.rr-developer-index-item small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rr-developer-index-item strong {
  font-size: 0.82rem;
}

.rr-developer-index-item small {
  color: var(--rr-muted);
  font-size: 0.72rem;
}

.rr-developer-index-item > i {
  color: var(--rr-success);
}

.rr-projectline-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.44fr) minmax(0, 2.1fr) minmax(220px, 0.56fr);
  gap: 34px;
  margin-top: 48px;
}

.rr-projectline-legend-sticky,
.rr-projectline-index-sticky {
  position: sticky;
  top: calc(var(--rr-header-height) + 100px);
}

.rr-projectline-section-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid var(--rr-accent);
  border-radius: 50%;
  color: var(--rr-accent);
  font-size: 0.75rem;
  font-weight: 850;
}

.rr-projectline-legend h2,
.rr-projectline-index-panel h2 {
  margin: 0 0 12px;
  font-size: 1.24rem;
  letter-spacing: -0.025em;
}

.rr-projectline-legend-sticky > p,
.rr-projectline-index-sticky > p {
  margin: 0;
  color: var(--rr-muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.rr-projectline-legend-list {
  display: grid;
  gap: 13px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--rr-border);
}

.rr-projectline-legend-list span {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 9px;
  color: var(--rr-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.rr-projectline-legend-list i {
  color: var(--rr-accent);
}

.rr-projectline-account-card,
.rr-projectline-join-card {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--rr-border);
  border-radius: 18px;
  background: var(--rr-surface);
}

.rr-projectline-account-card {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 11px;
}

.rr-projectline-account-state {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--rr-accent), transparent 84%);
  color: var(--rr-accent);
}

.rr-projectline-account-state.is-complete {
  background: color-mix(in srgb, var(--rr-success), transparent 84%);
  color: var(--rr-success);
}

.rr-projectline-account-card > div {
  display: grid;
  gap: 3px;
}

.rr-projectline-account-card strong {
  font-size: 0.8rem;
}

.rr-projectline-account-card small {
  color: var(--rr-muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

.rr-projectline-account-card a {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 7px;
  color: var(--rr-primary);
  font-size: 0.76rem;
  font-weight: 760;
}

.rr-projectline-stream {
  min-width: 0;
}

.rr-projectline-records {
  position: relative;
  display: grid;
  gap: 46px;
}

.rr-projectline-records::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 1px;
  background: linear-gradient(var(--rr-accent), color-mix(in srgb, var(--rr-border), transparent 20%) 12%, color-mix(in srgb, var(--rr-border), transparent 20%) 88%, var(--rr-accent));
}

.rr-project-record {
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 18px;
  transition: opacity 160ms ease, transform 160ms ease;
}

.rr-project-record.is-filtered-out {
  display: none;
}

.rr-project-record-marker {
  position: relative;
  z-index: 2;
  padding-top: 18px;
}

.rr-project-record-marker span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rr-accent);
  border-radius: 50%;
  background: var(--rr-bg);
  color: var(--rr-accent);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.rr-project-record-frame {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(330px, 0.78fr);
  min-height: 520px;
  border: 1px solid var(--rr-border);
  border-radius: 24px;
  background: var(--rr-surface);
  overflow: hidden;
  box-shadow: var(--rr-shadow-soft);
}

.rr-project-record:nth-child(even) .rr-project-record-frame {
  grid-template-columns: minmax(330px, 0.78fr) minmax(0, 1.22fr);
}

.rr-project-record:nth-child(even) .rr-project-record-visual {
  order: 2;
}

.rr-project-record:nth-child(even) .rr-project-record-content {
  order: 1;
}

.rr-project-record-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--rr-surface-soft);
}

.rr-project-record-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 22, 29, 0.08) 0%, transparent 36%, rgba(15, 22, 29, 0.72) 100%);
  pointer-events: none;
}

.rr-project-record-visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  transition: transform 620ms cubic-bezier(.2, .8, .2, 1);
}

.rr-project-record-visual:hover img {
  transform: scale(1.035);
}

.rr-project-record-visual-top,
.rr-project-record-visual-bottom {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rr-project-record-visual-top {
  top: 22px;
}

.rr-project-record-visual-bottom {
  bottom: 20px;
}

.rr-project-record-visual-top span,
.rr-project-record-visual-bottom span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(22, 30, 37, 0.48);
  color: #ffffff;
  backdrop-filter: blur(9px);
  font-size: 0.76rem;
  font-weight: 720;
}

.rr-project-record-visual-top .is-featured {
  background: color-mix(in srgb, var(--rr-accent), transparent 18%);
  border-color: transparent;
  color: #fff;
}

.rr-project-record-content {
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.rr-project-record-publisher {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--rr-border);
}

.rr-project-record-company-mark {
  width: 42px;
  height: 42px;
}

.rr-project-record-publisher > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.rr-project-record-publisher small,
.rr-project-record-publisher time {
  color: var(--rr-muted);
  font-size: 0.69rem;
}

.rr-project-record-publisher strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.82rem;
}

.rr-project-record-publisher strong i {
  color: var(--rr-success);
}

.rr-project-record-publisher time {
  white-space: nowrap;
}

.rr-project-record-copy {
  padding: 26px 0 20px;
}

.rr-project-record-kicker {
  color: var(--rr-burgundy);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.rr-project-record-copy h2 {
  margin: 11px 0 13px;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.rr-project-record-copy h2 a:hover {
  color: var(--rr-primary);
}

.rr-project-record-copy p {
  margin: 0;
  color: var(--rr-muted);
  line-height: 1.7;
}

.rr-project-record-ledger {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rr-border);
  border-bottom: 1px solid var(--rr-border);
}

.rr-project-record-ledger > div {
  display: grid;
  gap: 5px;
  padding: 18px 0;
}

.rr-project-record-ledger > div:first-child {
  padding-right: 18px;
  border-right: 1px solid var(--rr-border);
}

.rr-project-record-ledger > div:last-child {
  padding-left: 18px;
}

.rr-project-record-ledger small {
  color: var(--rr-muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.rr-project-record-ledger strong {
  font-size: 0.8rem;
  line-height: 1.4;
}

.rr-project-record-boundary {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 11px;
  align-items: center;
  margin-top: 20px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--rr-success), transparent 70%);
  border-radius: 14px;
  background: color-mix(in srgb, var(--rr-success), transparent 94%);
}

.rr-project-record-boundary > i {
  color: var(--rr-success);
  font-size: 1.06rem;
}

.rr-project-record-boundary span {
  display: grid;
  gap: 2px;
}

.rr-project-record-boundary strong {
  font-size: 0.75rem;
}

.rr-project-record-boundary small {
  color: var(--rr-muted);
  font-size: 0.68rem;
  line-height: 1.45;
}

.rr-project-record-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
}

.rr-project-record-actions a,
.rr-project-record-actions button,
.rr-record-top-actions button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--rr-border);
  border-radius: 999px;
  background: var(--rr-surface);
  color: var(--rr-muted);
  font-size: 0.77rem;
  font-weight: 760;
  cursor: pointer;
}

.rr-project-record-actions a:hover,
.rr-project-record-actions button:hover,
.rr-record-top-actions button:hover {
  border-color: var(--rr-border-strong);
  color: var(--rr-text);
}

.rr-project-record-actions .rr-record-open-action {
  justify-content: space-between;
  padding: 0 18px;
  border-color: var(--rr-primary);
  background: var(--rr-primary);
  color: var(--rr-surface);
}

html[data-theme="dark"] .rr-project-record-actions .rr-record-open-action {
  color: #111820;
}

.rr-project-record-actions button {
  min-width: 84px;
  padding: 0 13px;
}

.rr-project-record-actions button.is-saved,
.rr-record-top-actions button.is-saved {
  border-color: var(--rr-accent);
  color: var(--rr-accent);
  background: color-mix(in srgb, var(--rr-accent), transparent 92%);
}

.rr-projectline-rule-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--rr-border);
}

.rr-projectline-rule-list > div {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
}

.rr-projectline-rule-list > div > i {
  color: var(--rr-success);
}

.rr-projectline-rule-list span {
  display: grid;
  gap: 3px;
}

.rr-projectline-rule-list strong {
  font-size: 0.78rem;
}

.rr-projectline-rule-list small {
  color: var(--rr-muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

.rr-projectline-join-card > span {
  font-size: 0.62rem;
}

.rr-projectline-join-card h3 {
  margin: 10px 0 8px;
  font-size: 1.02rem;
  line-height: 1.25;
}

.rr-projectline-join-card p {
  margin: 0;
  color: var(--rr-muted);
  font-size: 0.74rem;
  line-height: 1.55;
}

.rr-projectline-join-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  color: var(--rr-primary);
  font-size: 0.77rem;
  font-weight: 780;
}

.rr-projectline-disclaimer {
  margin-top: 20px !important;
  font-size: 0.67rem !important;
  line-height: 1.6 !important;
}

.rr-projectline-empty {
  display: grid;
  justify-items: start;
  padding: 48px;
  border: 1px dashed var(--rr-border-strong);
  border-radius: 22px;
  background: var(--rr-surface);
}

.rr-projectline-empty span {
  color: var(--rr-accent);
  font-size: 0.78rem;
  font-weight: 850;
}

.rr-projectline-empty h2 {
  margin: 12px 0 6px;
}

.rr-projectline-empty p {
  margin: 0;
  color: var(--rr-muted);
}

.rr-projectline-empty button {
  margin-top: 18px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--rr-border);
  border-radius: 999px;
  background: var(--rr-surface-soft);
  cursor: pointer;
}

.rr-projectline-empty-static {
  margin-left: 68px;
}

/* Project record detail */
.rr-record-page {
  padding: 34px 0 110px;
}

.rr-record-shell {
  max-width: 1460px;
}

.rr-record-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.rr-record-back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--rr-muted);
  font-size: 0.84rem;
  font-weight: 720;
}

.rr-record-back-link:hover {
  color: var(--rr-text);
}

.rr-record-top-actions {
  display: flex;
  gap: 8px;
}

.rr-record-top-actions button {
  padding: 0 15px;
}

.rr-record-hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1.28fr);
  min-height: 620px;
  border: 1px solid var(--rr-border);
  border-radius: 28px;
  background: var(--rr-surface);
  overflow: hidden;
  box-shadow: var(--rr-shadow-soft);
}

.rr-record-hero-copy {
  display: flex;
  flex-direction: column;
  padding: 44px;
}

.rr-record-publisher-line {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 11px;
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rr-border);
}

.rr-record-publisher-line > div {
  display: grid;
  gap: 2px;
}

.rr-record-publisher-line small {
  color: var(--rr-muted);
  font-size: 0.7rem;
}

.rr-record-publisher-line strong {
  font-size: 0.86rem;
}

.rr-record-publisher-line strong i {
  color: var(--rr-success);
}

.rr-record-eyebrow {
  margin-top: 42px;
}

.rr-record-hero h1 {
  margin: 14px 0 18px;
  font-size: clamp(3.2rem, 5.7vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.068em;
}

.rr-record-hero-copy > p {
  margin: 0;
  color: var(--rr-muted);
  line-height: 1.78;
}

.rr-record-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: auto;
  border-top: 1px solid var(--rr-border);
}

.rr-record-meta-grid > div {
  display: grid;
  gap: 5px;
  min-height: 94px;
  align-content: center;
  padding: 18px 0;
}

.rr-record-meta-grid > div:nth-child(odd) {
  padding-right: 18px;
  border-right: 1px solid var(--rr-border);
}

.rr-record-meta-grid > div:nth-child(even) {
  padding-left: 18px;
}

.rr-record-meta-grid > div:nth-child(-n + 2) {
  border-bottom: 1px solid var(--rr-border);
}

.rr-record-meta-grid small {
  color: var(--rr-muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rr-record-meta-grid strong {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  line-height: 1.45;
}

.rr-record-hero-visual {
  position: relative;
  min-height: 620px;
  background: var(--rr-surface-soft);
}

.rr-record-primary-image {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.rr-record-primary-image img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.rr-record-image-stamp {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: grid;
  gap: 4px;
  min-width: 170px;
  padding: 15px 17px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 14px;
  background: rgba(22, 30, 37, 0.58);
  color: #fff;
  backdrop-filter: blur(10px);
}

.rr-record-image-stamp span {
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.rr-record-image-stamp strong {
  font-size: 0.84rem;
}

.rr-record-boundary-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 18px;
  border: 1px solid var(--rr-border);
  border-radius: 18px;
  background: var(--rr-surface);
  overflow: hidden;
}

.rr-record-boundary-strip > div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  padding: 20px 22px;
}

.rr-record-boundary-strip > div:first-child {
  border-right: 1px solid var(--rr-border);
}

.rr-record-boundary-strip i {
  color: var(--rr-accent);
  font-size: 1.12rem;
}

.rr-record-boundary-strip span {
  display: grid;
  gap: 3px;
}

.rr-record-boundary-strip strong {
  font-size: 0.8rem;
}

.rr-record-boundary-strip small {
  color: var(--rr-muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

.rr-record-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.45fr);
  gap: 32px;
  margin-top: 56px;
}

.rr-record-main-column {
  display: grid;
  gap: 60px;
}

.rr-record-section {
  min-width: 0;
}

.rr-record-section-heading {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 24px;
}

.rr-record-section-heading > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rr-accent);
  border-radius: 50%;
  color: var(--rr-accent);
  font-size: 0.72rem;
  font-weight: 850;
}

.rr-record-section-heading > div {
  display: grid;
  gap: 4px;
}

.rr-record-section-heading small {
  color: var(--rr-burgundy);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.rr-record-section-heading h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.1vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.rr-record-gallery {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  grid-auto-rows: 260px;
  gap: 12px;
}

.rr-record-gallery-item {
  min-height: 260px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: var(--rr-surface-soft);
  overflow: hidden;
  cursor: zoom-in;
}

.rr-record-gallery-item:first-child {
  grid-row: span 2;
}

.rr-record-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.rr-record-gallery-item:hover img {
  transform: scale(1.03);
}

.rr-record-overview-copy {
  margin-left: 66px;
  padding: 26px 0;
  border-top: 1px solid var(--rr-border);
  border-bottom: 1px solid var(--rr-border);
}

.rr-record-overview-copy p {
  max-width: 900px;
  margin: 0;
  color: var(--rr-muted);
  font-size: 1.04rem;
  line-height: 1.9;
}

.rr-record-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 0 66px;
}

.rr-record-highlight-grid > div {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--rr-border);
  border-radius: 14px;
  background: var(--rr-surface);
}

.rr-record-highlight-grid i {
  color: var(--rr-success);
}

.rr-record-highlight-grid span {
  font-size: 0.82rem;
  line-height: 1.5;
}

.rr-record-amenity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-left: 66px;
}

.rr-record-amenity-list span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--rr-border);
  border-radius: 999px;
  background: var(--rr-surface);
  font-size: 0.8rem;
}

.rr-record-amenity-list i {
  color: var(--rr-accent);
}

.rr-record-side-column {
  min-width: 0;
}

.rr-record-passport,
.rr-record-next-step {
  position: sticky;
  top: calc(var(--rr-header-height) + 24px);
  padding: 26px;
  border: 1px solid var(--rr-border);
  border-radius: 22px;
  background: var(--rr-surface);
  box-shadow: var(--rr-shadow-soft);
}

.rr-record-passport h2 {
  margin: 12px 0 22px;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.rr-record-passport dl {
  margin: 0;
  border-top: 1px solid var(--rr-border);
}

.rr-record-passport dl > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--rr-border);
}

.rr-record-passport dt {
  color: var(--rr-muted);
  font-size: 0.71rem;
}

.rr-record-passport dd {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 720;
  line-height: 1.45;
}

.rr-record-passport-lock {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
  padding: 14px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--rr-success), transparent 94%);
}

.rr-record-passport-lock > i {
  color: var(--rr-success);
}

.rr-record-passport-lock span {
  display: grid;
  gap: 2px;
}

.rr-record-passport-lock strong {
  font-size: 0.74rem;
}

.rr-record-passport-lock small {
  color: var(--rr-muted);
  font-size: 0.68rem;
  line-height: 1.45;
}

.rr-record-next-step {
  position: static;
  margin-top: 16px;
}

.rr-record-next-step h3 {
  margin: 12px 0 10px;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.rr-record-next-step p {
  margin: 0 0 20px;
  color: var(--rr-muted);
  font-size: 0.78rem;
  line-height: 1.65;
}

.rr-record-next-step .rr-feed-button {
  width: 100%;
  margin-top: 8px;
}

/* Lightbox */
.rr-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 44px 86px;
  background: rgba(7, 10, 13, 0.94);
}

.rr-gallery-lightbox > img {
  max-width: min(1220px, 100%);
  max-height: calc(100vh - 90px);
  object-fit: contain;
}

.rr-gallery-close,
.rr-gallery-arrow {
  position: absolute;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.rr-gallery-close {
  top: 22px;
  right: 22px;
}

.rr-gallery-arrow {
  top: 50%;
  transform: translateY(-50%);
}

.rr-gallery-arrow.is-prev {
  left: 22px;
}

.rr-gallery-arrow.is-next {
  right: 22px;
}

.rr-gallery-counter {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.78rem;
}

/* Toast */
.rr-feed-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 600;
  max-width: min(380px, calc(100% - 48px));
  padding: 14px 16px;
  border: 1px solid var(--rr-border);
  border-radius: 14px;
  background: var(--rr-text);
  color: var(--rr-surface);
  box-shadow: var(--rr-shadow);
  font-size: 0.82rem;
}

html[data-theme="dark"] .rr-feed-toast {
  background: #f4f3ef;
  color: #111417;
}

.rr-feed-mobile-nav {
  display: none;
}

/* Responsive */
@media (max-width: 1320px) {
  .rr-projectline-layout {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .rr-projectline-index-panel {
    display: none;
  }

  .rr-project-record-frame,
  .rr-project-record:nth-child(even) .rr-project-record-frame {
    grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.92fr);
  }
}

@media (max-width: 1080px) {
  .rr-feed-header-inner {
    grid-template-columns: minmax(190px, 1fr) auto;
  }

  .rr-feed-primary-nav {
    display: none;
  }

  .rr-projectline-hero {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .rr-projectline-hero-board {
    max-width: 620px;
  }

  .rr-projectline-discovery {
    grid-template-columns: 1fr;
  }

  .rr-projectline-filter-row {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .rr-developer-index {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .rr-projectline-layout {
    grid-template-columns: 1fr;
  }

  .rr-projectline-legend {
    display: none;
  }

  .rr-project-record-frame,
  .rr-project-record:nth-child(even) .rr-project-record-frame {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  }

  .rr-record-hero {
    grid-template-columns: 1fr;
  }

  .rr-record-hero-visual,
  .rr-record-primary-image img {
    min-height: 520px;
  }

  .rr-record-content-grid {
    grid-template-columns: 1fr;
  }

  .rr-record-side-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .rr-record-passport,
  .rr-record-next-step {
    position: static;
    margin-top: 0;
  }
}

@media (max-width: 820px) {
  body.rr-feed-body {
    padding-bottom: 72px;
    background: var(--rr-bg);
  }

  .rr-feed-shell {
    width: min(100% - 28px, 760px);
  }

  .rr-feed-header {
    min-height: 64px;
  }

  .rr-feed-header-inner {
    min-height: 64px;
  }

  .rr-feed-logo {
    width: 168px;
    height: 34px;
  }

  .rr-feed-account-menu,
  .rr-feed-signin,
  .rr-feed-join,
  .rr-feed-header-actions .rr-feed-icon-button:first-child {
    display: none;
  }

  .rr-projectline-page {
    padding: 22px 0 48px;
  }

  .rr-projectline-hero {
    min-height: auto;
    padding: 32px 24px;
    border-radius: 22px;
  }

  .rr-projectline-hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.7rem);
  }

  .rr-projectline-hero-copy > p {
    font-size: 0.94rem;
  }

  .rr-projectline-hero-board {
    padding: 18px;
  }

  .rr-projectline-board-grid > div {
    min-height: 102px;
    padding: 18px 12px;
  }

  .rr-projectline-board-grid strong {
    font-size: 2.1rem;
  }

  .rr-projectline-discovery {
    position: static;
    margin-top: 14px;
    padding: 10px;
    border-radius: 16px;
  }

  .rr-projectline-search {
    min-height: 48px;
  }

  .rr-projectline-filter-row {
    margin-inline: -2px;
    padding-bottom: 2px;
  }

  .rr-projectline-filter-row button {
    white-space: nowrap;
  }

  .rr-developer-index {
    margin-top: 14px;
    padding: 18px 0;
  }

  .rr-developer-index-item {
    min-width: 230px;
  }

  .rr-projectline-layout {
    margin-top: 28px;
  }

  .rr-projectline-records {
    gap: 26px;
  }

  .rr-projectline-records::before {
    left: 19px;
  }

  .rr-project-record {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
  }

  .rr-project-record-marker {
    padding-top: 14px;
  }

  .rr-project-record-marker span {
    width: 40px;
    height: 40px;
    font-size: 0.65rem;
  }

  .rr-project-record-frame,
  .rr-project-record:nth-child(even) .rr-project-record-frame {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-radius: 18px;
  }

  .rr-project-record:nth-child(even) .rr-project-record-visual,
  .rr-project-record:nth-child(even) .rr-project-record-content {
    order: initial;
  }

  .rr-project-record-visual,
  .rr-project-record-visual img {
    min-height: 330px;
  }

  .rr-project-record-content {
    padding: 22px;
  }

  .rr-project-record-publisher {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .rr-project-record-publisher time {
    grid-column: 2;
  }

  .rr-project-record-copy h2 {
    font-size: 2.2rem;
  }

  .rr-project-record-actions {
    grid-template-columns: 1fr 1fr;
  }

  .rr-project-record-actions .rr-record-open-action {
    grid-column: 1 / -1;
  }

  .rr-projectline-empty-static {
    margin-left: 50px;
  }

  .rr-record-page {
    padding: 18px 0 48px;
  }

  .rr-record-topline {
    align-items: flex-start;
  }

  .rr-record-top-actions button span {
    display: none;
  }

  .rr-record-top-actions button {
    width: 42px;
    padding: 0;
  }

  .rr-record-hero {
    border-radius: 20px;
  }

  .rr-record-hero-copy {
    padding: 28px 24px;
  }

  .rr-record-hero h1 {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .rr-record-hero-visual,
  .rr-record-primary-image img {
    min-height: 390px;
  }

  .rr-record-boundary-strip {
    grid-template-columns: 1fr;
  }

  .rr-record-boundary-strip > div:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--rr-border);
  }

  .rr-record-content-grid {
    margin-top: 38px;
  }

  .rr-record-main-column {
    gap: 44px;
  }

  .rr-record-gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 220px;
  }

  .rr-record-gallery-item:first-child {
    grid-row: span 1;
    grid-column: span 2;
  }

  .rr-record-overview-copy,
  .rr-record-highlight-grid,
  .rr-record-amenity-list {
    margin-left: 0;
  }

  .rr-record-highlight-grid {
    grid-template-columns: 1fr;
  }

  .rr-record-side-column {
    grid-template-columns: 1fr;
  }

  .rr-gallery-lightbox {
    padding: 70px 16px;
  }

  .rr-gallery-arrow {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .rr-gallery-arrow.is-prev {
    left: 18px;
  }

  .rr-gallery-arrow.is-next {
    right: 18px;
  }

  .rr-gallery-counter {
    bottom: 28px;
  }

  .rr-feed-mobile-nav {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 120;
    min-height: 58px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 6px;
    border: 1px solid var(--rr-border);
    border-radius: 18px;
    background: color-mix(in srgb, var(--rr-surface), transparent 3%);
    backdrop-filter: blur(18px);
    box-shadow: var(--rr-shadow-soft);
  }

  .rr-feed-mobile-nav a,
  .rr-feed-mobile-nav button {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 3px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--rr-muted);
    font-size: 0.66rem;
    cursor: pointer;
  }

  .rr-feed-mobile-nav i {
    font-size: 1.05rem;
  }

  .rr-feed-mobile-nav a.is-active {
    background: var(--rr-surface-soft);
    color: var(--rr-text);
  }
}

@media (max-width: 560px) {
  .rr-feed-shell {
    width: min(100% - 20px, 540px);
  }

  .rr-projectline-hero {
    padding: 28px 18px;
  }

  .rr-projectline-hero-actions {
    display: grid;
  }

  .rr-projectline-hero-actions .rr-feed-button {
    width: 100%;
  }

  .rr-projectline-board-grid {
    grid-template-columns: 1fr;
  }

  .rr-projectline-board-grid > div:nth-child(1) {
    border-right: 0;
  }

  .rr-projectline-board-grid > div:not(:last-child) {
    border-bottom: 1px solid var(--rr-border);
  }

  .rr-projectline-board-grid .is-wide {
    grid-column: auto;
  }

  .rr-project-record-visual,
  .rr-project-record-visual img {
    min-height: 260px;
  }

  .rr-project-record-visual-top,
  .rr-project-record-visual-bottom {
    left: 14px;
    right: 14px;
  }

  .rr-project-record-visual-top {
    top: 14px;
  }

  .rr-project-record-visual-bottom {
    bottom: 14px;
  }

  .rr-project-record-visual-bottom span:last-child {
    display: none;
  }

  .rr-project-record-content {
    padding: 18px;
  }

  .rr-project-record-copy h2 {
    font-size: 1.85rem;
  }

  .rr-project-record-ledger {
    grid-template-columns: 1fr;
  }

  .rr-project-record-ledger > div:first-child {
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid var(--rr-border);
  }

  .rr-project-record-ledger > div:last-child {
    padding-left: 0;
  }

  .rr-project-record-actions {
    grid-template-columns: 1fr;
  }

  .rr-project-record-actions .rr-record-open-action {
    grid-column: auto;
  }

  .rr-project-record-actions button {
    width: 100%;
  }

  .rr-record-meta-grid {
    grid-template-columns: 1fr;
  }

  .rr-record-meta-grid > div,
  .rr-record-meta-grid > div:nth-child(odd),
  .rr-record-meta-grid > div:nth-child(even) {
    padding: 15px 0;
    border-right: 0;
    border-bottom: 1px solid var(--rr-border);
  }

  .rr-record-meta-grid > div:last-child {
    border-bottom: 0;
  }

  .rr-record-hero-visual,
  .rr-record-primary-image img {
    min-height: 310px;
  }

  .rr-record-image-stamp {
    right: 14px;
    bottom: 14px;
    min-width: 150px;
  }

  .rr-record-section-heading {
    grid-template-columns: 42px 1fr;
    gap: 12px;
  }

  .rr-record-section-heading > span {
    width: 42px;
    height: 42px;
  }

  .rr-record-section-heading h2 {
    font-size: 1.8rem;
  }

  .rr-record-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .rr-record-gallery-item:first-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
