/* Reskin Review — current vs proposed per page */

.reskin-review {
  margin: 0;
  min-height: 100vh;
  background: #f0f0eb;
  color: #191818;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

.rr-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #f7f7f2;
  border-bottom: 1px solid rgba(25, 24, 24, 0.1);
  padding: 12px 20px;
}

.rr-header__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.rr-brand {
  font-weight: 600;
  font-size: 15px;
  color: inherit;
  text-decoration: none;
}

.rr-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.rr-nav a {
  padding: 4px 10px;
  border-radius: 4px;
  text-decoration: none;
  color: #444;
  font-size: 13px;
}

.rr-nav a.is-active,
.rr-nav a:hover {
  background: rgba(25, 24, 24, 0.06);
  color: #191818;
}

.rr-meta {
  margin-left: auto;
  font-size: 12px;
  color: #666;
}

.rr-stats {
  display: flex;
  gap: 16px;
  padding: 10px 20px;
  background: #fff;
  border-bottom: 1px solid rgba(25, 24, 24, 0.06);
  font-size: 12px;
}

.rr-stat strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
}

.rr-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: calc(100vh - 120px);
}

.rr-sidebar {
  border-right: 1px solid rgba(25, 24, 24, 0.08);
  background: #fafaf8;
  padding: 16px 0;
  overflow-y: auto;
}

.rr-sidebar h2 {
  margin: 0 0 8px;
  padding: 0 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #888;
}

.rr-sidebar ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.rr-sidebar a {
  display: block;
  padding: 6px 16px;
  color: #333;
  text-decoration: none;
  font-size: 13px;
}

.rr-sidebar a:hover,
.rr-sidebar a.is-active {
  background: rgba(0, 80, 60, 0.08);
  color: #004d3d;
}

.rr-main {
  padding: 20px 24px 48px;
  overflow-y: auto;
}

.rr-section {
  margin-bottom: 32px;
}

.rr-section__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(25, 24, 24, 0.08);
}

.rr-section__head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.rr-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 500;
}

.rr-badge--wired { background: #d4edda; color: #155724; }
.rr-badge--proposed { background: #fff3cd; color: #856404; }
.rr-badge--open { background: #f8d7da; color: #721c24; }
.rr-badge--ready { background: #cce5ff; color: #004085; }
.rr-badge--witness { background: #e2e3e5; color: #383d41; }

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

@media (max-width: 900px) {
  .rr-layout { grid-template-columns: 1fr; }
  .rr-grid { grid-template-columns: 1fr; }
}

.rr-card {
  background: #fff;
  border: 1px solid rgba(25, 24, 24, 0.08);
  border-radius: 8px;
  overflow: hidden;
}

.rr-card__label {
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #f7f7f2;
  border-bottom: 1px solid rgba(25, 24, 24, 0.06);
}

.rr-card__label--current { color: #666; }
.rr-card__label--proposed { color: #004d3d; }

.rr-card__media {
  aspect-ratio: 16 / 9;
  background: #e8e8e4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rr-card__media img,
.rr-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rr-card__media--portrait {
  aspect-ratio: 3 / 4;
  max-height: 280px;
}

.rr-card__body {
  padding: 12px;
  font-size: 13px;
}

.rr-card__file {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: #555;
  word-break: break-all;
}

.rr-card__brief {
  margin-top: 8px;
  color: #444;
  font-size: 12px;
}

.rr-copy-row {
  background: #fff;
  border: 1px solid rgba(25, 24, 24, 0.08);
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}

.rr-copy-row__meta {
  display: flex;
  gap: 8px;
  padding: 6px 12px;
  background: #f7f7f2;
  font-size: 11px;
  color: #666;
}

.rr-copy-row__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.rr-copy-row__cell {
  padding: 10px 12px;
  border-top: 1px solid rgba(25, 24, 24, 0.06);
}

.rr-copy-row__cell + .rr-copy-row__cell {
  border-left: 1px solid rgba(25, 24, 24, 0.06);
}

.rr-copy-row__tag {
  font-size: 10px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 4px;
}

.rr-copy-row__text {
  white-space: pre-wrap;
}

.rr-copy-row__text--proposed {
  background: rgba(0, 77, 61, 0.04);
}

.rr-empty {
  padding: 24px;
  text-align: center;
  color: #888;
  font-style: italic;
}

.rr-preview-bar {
  margin-bottom: 20px;
  padding: 12px 16px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(25, 24, 24, 0.08);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.rr-preview-bar a {
  color: #004d3d;
  font-weight: 500;
}

.rr-item {
  margin-bottom: 20px;
}

.rr-item__head {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.rr-item__sub {
  font-weight: 400;
  color: #666;
  font-size: 12px;
}
