/* Public repair pages - repair.php, repairs.php */
.rp, .rps { --rp-muted: #6b7280; --rp-border: #e5e7eb; --rp-soft: #f9fafb; max-width: 860px; padding-top: 24px; padding-bottom: 32px; }
@media (prefers-color-scheme: dark) { .rp, .rps { --rp-muted: #9ca3af; --rp-border: #374151; --rp-soft: #111827; } }
.rp h1, .rps h1 { font-size: 1.8rem; margin: 6px 0 8px; line-height: 1.25; }
.rp h2 { font-size: 1.2rem; margin: 22px 0 8px; }
.rp p { line-height: 1.65; }
.rp-crumbs { font-size: 0.9rem; color: var(--rp-muted); }
.rp-crumbs a { color: inherit; }
.rp-meta { color: var(--rp-muted); font-size: 0.95rem; }
.rp-draft { background: #fef3c7; color: #92400e; padding: 8px 12px; border-radius: 6px; margin-bottom: 12px; }
.rp-editbar { text-align: right; font-size: 0.9rem; }
.rp-parts { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.rp-part { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--rp-border); border-radius: 8px; padding: 8px; }
.rp-part img, .rp-noimg { width: 84px; height: 84px; object-fit: cover; border-radius: 6px; flex: 0 0 84px; }
.rp-noimg { display: flex; align-items: center; justify-content: center; background: var(--rp-soft); color: var(--rp-muted); font-size: 1.6rem; }
.rp-part-name { font-weight: 700; word-break: break-word; }
.rp-rd { color: var(--rp-muted); font-weight: normal; font-size: 0.85rem; }
.rp-desc { color: var(--rp-muted); font-size: 0.85rem; }
.rp-badge { display: inline-block; font-size: 0.72rem; border-radius: 999px; padding: 1px 8px; background: #e5e7eb; color: #374151; margin: 2px 0; }
.rp-badge.changed { background: #dbeafe; color: #1e40af; }
.rp-badge.bad { background: #fee2e2; color: #991b1b; }
.rp-badge.good { background: #dcfce7; color: #166534; }
.rp-board-link { display: inline-block; margin-top: 12px; }
.rp-cta { margin-top: 28px; padding: 14px; border: 1px solid var(--rp-border); border-radius: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rps-intro { color: var(--rp-muted); }
.rps-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.rps-filters a { border: 1px solid var(--rp-border); border-radius: 999px; padding: 3px 12px; text-decoration: none; color: inherit; font-size: 0.9rem; }
.rps-filters a.active { background: #2563eb; border-color: #2563eb; color: #fff; }
.rps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.rps-card { display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--rp-border); border-radius: 8px; padding: 12px; text-decoration: none; color: inherit; }
.rps-card:hover { border-color: #2563eb; }
.rps-device { font-size: 0.8rem; color: var(--rp-muted); text-transform: capitalize; }
.rps-excerpt { font-size: 0.9rem; color: var(--rp-muted); }
.rps-empty { color: var(--rp-muted); }
@media (max-width: 600px) { .rp h1, .rps h1 { font-size: 1.45rem; } }
.rp-video { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; }
.rp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
