:root { color-scheme: light; font-family: system-ui, sans-serif; color: #242427; background: #f6f5f3; }
* { box-sizing: border-box; }
body { margin: 0; }
header, main { max-width: 1000px; margin: auto; padding: 24px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #d6d3d0; }
header > a { font-weight: 700; text-decoration: none; }
.brand-logo { display: block; width: auto; height: 34px; }
nav { display: flex; align-items: center; gap: 24px; }
a { color: #a51f2c; text-underline-offset: 3px; }
h1 { font-size: clamp(28px, 5vw, 40px); letter-spacing: -.035em; }
label { display: block; margin: 18px 0 8px; }
input, select, button { font: inherit; border: 1px solid #aaa6a3; border-radius: 8px; padding: 12px; max-width: 100%; }
input, select { background: #fff; color: #242427; width: 100%; }
button { background: #c02c3a; color: #fff; border-color: #c02c3a; cursor: pointer; margin-top: 20px; }
button.secondary { background: #fff; color: #242427; border-color: #aaa6a3; }
header button { margin: 0; }
:focus-visible { outline: 3px solid #c02c3a; outline-offset: 3px; }
.narrow { max-width: 460px; margin: 32px auto; }
.validation-summary-errors { color: #a51f2c; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; margin-top: 24px; }
th, td { padding: 16px 12px; border-bottom: 1px solid #d6d3d0; text-align: left; overflow-wrap: anywhere; }
.filters { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.filters select { width: auto; }
.filters label, .filters button { margin: 0; }
.pagination { margin-top: 24px; flex-wrap: wrap; }
dt { font-size: 14px; color: #65636b; margin-top: 24px; }
dd { margin: 8px 0 0; line-height: 1.6; overflow-wrap: anywhere; }
.text-block { white-space: pre-wrap; }
.status-badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border: 1px solid; border-radius: 999px; font-size: 13px; font-weight: 650; line-height: 1.4; white-space: nowrap; }
.status-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.status-badge--new { color: #a51f2c; background: #fcebed; border-color: #edbec4; }
.status-badge--active { color: #7c4a03; background: #fff4d6; border-color: #e8d29b; }
.status-badge--closed { color: #22613f; background: #e8f4ec; border-color: #bad8c5; }
.request-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin: 24px 0; }
.request-heading h1 { margin: 0; }
.request-actions { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.request-actions a { white-space: nowrap; }
.request-delete { margin-top: 40px; padding: 24px; border: 1px solid #edbec4; border-radius: 12px; background: #fffafa; scroll-margin-top: 24px; }
.request-delete h2 { margin: 0; font-size: 21px; }
.request-delete p { color: #65636b; line-height: 1.6; }
button.danger { background: #fff; color: #a51f2c; border-color: #a51f2c; }
button.danger:hover { background: #fcebed; }
details { margin-top: 48px; }
.check { display: flex; align-items: center; gap: 12px; }
.check input { width: 20px; height: 20px; flex-shrink: 0; }
.legal { max-width: 760px; line-height: 1.75; }
.legal h2 { margin-top: 32px; font-size: 21px; }
.legal-footer { display: flex; flex-wrap: wrap; gap: 12px 24px; max-width: 1000px; margin: auto; padding: 24px; font-size: 13px; }
@media (max-width: 780px) { .brand-logo { height: 32px; } }
@media (max-width: 500px) { header, main { padding: 18px; } header { flex-wrap: wrap; } th, td { padding: 12px 8px; } }

.review-admin { overflow-wrap: anywhere; }
.review-admin-heading { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin: 24px 0; }
.review-admin-heading h1 { margin: 0; }
.review-admin-button { display: inline-block; padding: 12px 16px; border-radius: 8px; background: #c02c3a; color: #fff; text-decoration: none; font-weight: 600; }
.review-admin-note { color: #65636b; font-size: 14px; line-height: 1.65; }
.review-admin-panel { margin-top: 24px; padding: 24px; border: 1px solid #d6d3d0; border-radius: 12px; background: #fff; }
.review-admin-panel h2 { margin-top: 0; font-size: 22px; }
.review-admin-panel p { line-height: 1.65; }
.review-admin-form { max-width: 760px; }
.review-admin textarea { display: block; width: 100%; max-width: 100%; min-height: 130px; resize: vertical; border: 1px solid #aaa6a3; border-radius: 8px; padding: 12px; background: #fff; color: #242427; font: inherit; line-height: 1.6; }
.review-admin-status { display: inline-block; padding: 5px 10px; border: 1px solid; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.4; }
.review-admin-status--published { color: #22613f; background: #e8f4ec; border-color: #bad8c5; }
.review-admin-status--pending { color: #7c4a03; background: #fff4d6; border-color: #e8d29b; }
.review-admin-status--private, .review-admin-status--inactive { color: #56535a; background: #eeecef; border-color: #d4d0d7; }
.review-admin-status--invited { color: #2b5175; background: #eaf2fa; border-color: #bed2e5; }
@media (max-width: 500px) { .review-admin-panel { padding: 18px; } .review-admin table { min-width: 640px; } }
