:root {
  color-scheme: light;
  --ink: #282b3d;
  --muted: #6f7286;
  --brand: #5549c7;
  --brand-dark: #4037a6;
  --brand-soft: #eeeefe;
  --line: #e6e6ef;
  --surface: #ffffff;
  --canvas: #f7f7fc;
  --green: #20845c;
  --green-soft: #e7f6ee;
  --amber: #a46616;
  --amber-soft: #fff3df;
  --blue: #356aa8;
  --blue-soft: #e8f1ff;
  --red: #b84454;
  --red-soft: #ffedf0;
  --shadow: 0 1rem 3rem rgba(40, 43, 61, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(112, 101, 232, 0.11), transparent 40rem),
    var(--canvas);
  color: var(--ink);
  font: 15px/1.55 "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
button, input, select, textarea { font: inherit; }
button, .button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(85, 73, 199, 0.24); outline-offset: 2px; }

.site-header, .site-footer { width: min(100% - 2rem, 72rem); margin-inline: auto; }
.site-header { display: flex; align-items: center; gap: .8rem; padding-block: 1.25rem; }
.site-header img { width: 2.5rem; height: 2.5rem; object-fit: contain; }
.site-header strong { font-family: Georgia, serif; font-size: 1.1rem; }
.main { width: min(100% - 2rem, 62rem); margin: clamp(2rem, 8vh, 5rem) auto; }
.status-panel { padding: clamp(1.5rem, 5vw, 4rem); border: 1px solid var(--line); border-radius: 1.25rem; background: var(--surface); box-shadow: var(--shadow); }
.eyebrow { margin: 0 0 .65rem; color: var(--brand); font-size: .73rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, serif; font-weight: 500; line-height: 1.12; }
h1 { max-width: 16ch; margin: 0; font-size: clamp(2.3rem, 6vw, 4.3rem); }
h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.15rem); }
h3 { margin: 0; font-size: 1.1rem; }
.lead { max-width: 58ch; margin: 1.25rem 0 0; color: var(--muted); font-size: 1.05rem; }
.muted { color: var(--muted); }
.phase-note { margin-top: 2rem; padding: 1rem 1.1rem; border-left: 3px solid var(--brand); border-radius: .35rem; background: var(--brand-soft); }
.phase-note p { margin: 0; }
.site-footer { padding-block: .5rem 2rem; color: var(--muted); font-size: .875rem; }
.home-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(12rem, .65fr); align-items: center; gap: 3rem; }
.home-mark { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 15rem; padding: 2rem; border: 1px solid #deddf7; border-radius: 1.5rem; background: linear-gradient(145deg, #fafaff, #f0effd); text-align: center; }
.home-mark img { width: 7rem; height: 7rem; object-fit: contain; }
.home-mark span { margin-top: .75rem; color: var(--brand-dark); font-family: Georgia, serif; font-size: 1.55rem; }
.home-mark small { margin-top: .25rem; color: var(--muted); }
.button-row { display: flex; align-items: center; gap: 1.25rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.7rem; padding: .7rem 1.05rem; border: 1px solid transparent; border-radius: .65rem; font-weight: 750; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--brand); box-shadow: 0 .45rem 1rem rgba(85, 73, 199, .18); }
.button-primary:hover { color: #fff; background: var(--brand-dark); }
.button-secondary { color: var(--ink); border-color: var(--line); background: var(--surface); }
.button-secondary:hover { color: var(--ink); border-color: #c4c3db; background: #fafaff; }
.button-wide { width: 100%; }
.quiet-note { color: var(--muted); font-size: .86rem; }

.auth-shell { display: grid; grid-template-columns: minmax(0, 28rem) minmax(15rem, 20rem); justify-content: center; gap: 2rem; align-items: stretch; margin: clamp(1.5rem, 7vh, 4rem) auto; }
.auth-card, .auth-aside { padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: 1.25rem; background: var(--surface); box-shadow: var(--shadow); }
.auth-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 2.2rem; }
.auth-brand img { width: 2.7rem; height: 2.7rem; object-fit: contain; }
.auth-brand strong, .auth-brand span { display: block; }
.auth-brand strong { font-family: Georgia, serif; font-size: 1.1rem; }
.auth-brand span { color: var(--muted); font-size: .78rem; }
.auth-card h1 { font-size: clamp(2rem, 5vw, 3rem); }
.auth-aside { display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: linear-gradient(150deg, #5146ba, #28245d); }
.auth-aside .eyebrow { color: #c9c5ff; }
.auth-aside h2 { color: #fff; font-size: 2rem; }
.auth-aside p { color: #dddafe; }
.auth-aside small { color: #c9c5ff; }
.aside-rule { width: 3.5rem; height: 2px; margin: 1rem 0; background: #a9a3ff; }
.stack-form { display: grid; gap: 1.1rem; margin-top: 1.75rem; }
.stack-form label, .form-section label { display: grid; gap: .38rem; color: var(--ink); font-weight: 700; }
.stack-form label > span, .form-section label > span { font-size: .86rem; }
input, select, textarea { width: 100%; min-height: 2.75rem; padding: .7rem .8rem; border: 1px solid #d9d9e4; border-radius: .55rem; color: var(--ink); background: #fff; }
textarea { min-height: 7rem; resize: vertical; }
input::placeholder, textarea::placeholder { color: #a0a1b0; }
.field-error { color: var(--red); font-size: .78rem; font-weight: 500; }
.alert { margin: 0 0 1.25rem; padding: .8rem 1rem; border: 1px solid transparent; border-radius: .55rem; font-size: .9rem; }
.alert-error { color: #8e2e3e; border-color: #f0c4cc; background: var(--red-soft); }
.alert-success { color: #176744; border-color: #b9e2cd; background: var(--green-soft); }
.alert-warning { color: #7e5011; border-color: #f3d29d; background: var(--amber-soft); }
.alert-info { color: #345c8d; border-color: #bdd1ee; background: var(--blue-soft); }
.back-link { display: inline-block; margin-top: 1.5rem; color: var(--muted); font-size: .88rem; }

.admin-body { background: #f7f7fb; }
.admin-app { display: flex; min-height: 100vh; }
.sidebar { display: flex; position: sticky; top: 0; flex: 0 0 16.5rem; flex-direction: column; width: 16.5rem; height: 100vh; padding: 1.5rem 1rem; border-right: 1px solid #e5e4ef; background: #fff; }
.sidebar-brand { display: flex; align-items: center; gap: .7rem; padding: .3rem .6rem 2rem; color: var(--ink); }
.sidebar-brand:hover { color: var(--ink); }
.sidebar-brand img { width: 2.4rem; height: 2.4rem; object-fit: contain; }
.sidebar-brand strong, .sidebar-brand small { display: block; }
.sidebar-brand strong { font-family: Georgia, serif; font-size: 1.05rem; }
.sidebar-brand small { color: var(--muted); font-size: .72rem; }
.sidebar-nav { display: grid; gap: .35rem; }
.nav-label { margin: 0 .7rem .4rem; color: #a0a0b0; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.sidebar-nav a { display: flex; align-items: center; gap: .7rem; padding: .72rem .75rem; border-radius: .55rem; color: var(--muted); font-weight: 650; }
.sidebar-nav a:hover, .sidebar-nav a.active { color: var(--brand-dark); background: var(--brand-soft); }
.sidebar-nav a.active { font-weight: 800; }
.nav-icon { display: inline-flex; align-items: center; justify-content: center; width: 1.3rem; color: var(--brand); font-size: 1.1rem; }
.sidebar-bottom { margin-top: auto; }
.sidebar-note { display: flex; align-items: center; gap: .45rem; margin: 1rem .7rem; color: var(--muted); font-size: .75rem; }
.status-dot { width: .45rem; height: .45rem; border-radius: 50%; background: #42b978; box-shadow: 0 0 0 3px #e5f7ed; }
.logout-link { width: 100%; padding: .7rem .75rem; border: 0; border-radius: .55rem; color: var(--muted); background: transparent; text-align: left; font-weight: 650; }
.logout-link:hover { color: var(--red); background: var(--red-soft); }
.admin-content { min-width: 0; flex: 1; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 7rem; padding: 1.5rem clamp(1.25rem, 4vw, 3.25rem); border-bottom: 1px solid #e9e9f1; background: rgba(255,255,255,.75); }
.topbar-kicker { margin: 0 0 .25rem; color: #9899a9; font-size: .72rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.admin-topbar h1 { max-width: none; margin: 0; font-size: 1.8rem; }
.user-chip { display: flex; align-items: center; gap: .6rem; }
.user-chip > span:last-child strong, .user-chip > span:last-child small { display: block; }
.user-chip strong { font-size: .85rem; }
.user-chip small { color: var(--muted); font-size: .75rem; }
.avatar, .profile-avatar { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; border-radius: 50%; color: var(--brand-dark); background: var(--brand-soft); font-weight: 800; }
.avatar { width: 2.3rem; height: 2.3rem; font-size: .75rem; }
.admin-main { width: min(100%, 92rem); margin: 0 auto; padding: clamp(1.5rem, 4vw, 3.25rem); }
.admin-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 0 clamp(1.25rem, 4vw, 3.25rem) 1.5rem; color: #9a9aaa; font-size: .75rem; }
.welcome-row, .page-intro { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.75rem; }
.welcome-row h2, .page-intro h2 { margin-bottom: .35rem; }
.welcome-row p, .page-intro p { margin-block: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stat-card { display: flex; min-height: 9rem; flex-direction: column; padding: 1.25rem; border: 1px solid var(--line); border-radius: .9rem; background: #fff; box-shadow: 0 .4rem 1.3rem rgba(40,43,61,.03); }
.stat-card:hover { border-color: #c8c6e7; transform: translateY(-1px); }
.stat-label { color: var(--muted); font-size: .78rem; font-weight: 700; }
.stat-card strong { margin: .5rem 0 .1rem; color: var(--ink); font-family: Georgia, serif; font-size: 2.4rem; font-weight: 500; line-height: 1; }
.stat-card small { margin-top: auto; color: #9a9aaa; font-size: .72rem; }
.stat-card-warm { background: linear-gradient(150deg,#fff,#fffaf1); }
.stat-card-green { background: linear-gradient(150deg,#fff,#f4fcf7); }
.stat-card-blue { background: linear-gradient(150deg,#fff,#f5f9ff); }
.stat-card-violet { background: linear-gradient(150deg,#fff,#faf8ff); }
.panel { margin-bottom: 1.5rem; padding: 1.35rem; border: 1px solid var(--line); border-radius: .9rem; background: #fff; box-shadow: 0 .4rem 1.3rem rgba(40,43,61,.03); }
.panel-heading { display: flex; align-items: start; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.panel-heading h2 { font-size: 1.45rem; }
.text-link, .row-link { font-size: .82rem; font-weight: 750; white-space: nowrap; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; }
.data-table th { padding: .75rem .65rem; border-bottom: 1px solid var(--line); color: #9293a4; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.data-table td { padding: .9rem .65rem; border-bottom: 1px solid #f0f0f5; color: #505367; font-size: .82rem; vertical-align: middle; white-space: nowrap; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td strong, .data-table td small { display: block; }
.data-table td strong { color: var(--ink); font-size: .86rem; }
.data-table td small { margin-top: .12rem; color: #999aaa; font-size: .73rem; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .75rem !important; }
.badge { display: inline-flex; padding: .28rem .55rem; border-radius: 99rem; font-size: .68rem; font-weight: 800; }
.badge-approved { color: #196b49; background: var(--green-soft); }
.badge-pending_review { color: #8c5c1b; background: var(--amber-soft); }
.badge-rejected { color: #9b3343; background: var(--red-soft); }
.badge-neutral { color: #5d5f73; background: #f0f0f6; }
.empty-state { padding: 3rem 1rem 2.5rem; color: var(--muted); text-align: center; }
.empty-state h2, .empty-state h3 { margin: .75rem 0 .35rem; color: var(--ink); }
.empty-state p { margin: 0 auto 1.25rem; max-width: 34rem; }
.empty-icon { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; color: var(--brand); background: var(--brand-soft); font-size: 1.3rem; }
.filter-bar { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.search-field { position: relative; flex: 1; }
.search-field input { padding-left: 2.2rem; }
.search-icon { position: absolute; top: .5rem; left: .75rem; color: #9293a4; font-size: 1.4rem; pointer-events: none; }
.select-field { width: 12rem; }
.filter-bar select { min-height: 2.75rem; }
.clear-link { padding: .5rem; color: var(--muted); font-size: .8rem; }
.table-meta { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .35rem; color: #999aaa; font-size: .75rem; }
.breadcrumb { display: flex; gap: .6rem; margin-bottom: 1.5rem; color: #9798a8; font-size: .8rem; }
.profile-hero { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; padding: 1.4rem; border: 1px solid #dddaf6; border-radius: .9rem; background: linear-gradient(110deg, #fff, #f6f5ff); }
.profile-avatar { width: 4.5rem; height: 4.5rem; font-size: 1.4rem; }
.profile-hero-copy { flex: 1; }
.profile-hero-copy .eyebrow { margin-bottom: .25rem; }
.profile-hero-copy h2 { font-size: 1.9rem; }
.profile-hero-copy p:last-child { margin: .3rem 0 0; color: var(--muted); }
.profile-hero-status { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .45rem; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.detail-list { display: grid; gap: 0; margin: 0; }
.detail-list > div { display: grid; grid-template-columns: minmax(9rem, .8fr) 1.2fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid #f0f0f5; }
.detail-list > div:last-child { border-bottom: 0; }
.detail-list dt { color: #9697a7; font-size: .78rem; }
.detail-list dd { margin: 0; color: var(--ink); font-size: .85rem; font-weight: 650; }
.detail-list-inline { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.detail-list-inline > div { display: block; border: 0; }
.detail-list-inline dt { margin-bottom: .25rem; }
.copy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.copy-grid p { margin: .5rem 0 0; color: #5e6072; white-space: pre-line; }
.form-panel { max-width: 56rem; }
.form-section { padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid #efeff5; }
.form-section:last-of-type { margin-bottom: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-section b { color: var(--red); }
.form-actions { display: flex; justify-content: flex-end; gap: .7rem; padding-top: .2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 1050px) {
  .stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .home-layout, .auth-shell, .detail-grid, .copy-grid { grid-template-columns: 1fr; }
  .home-mark { min-height: 11rem; }
  .auth-aside { min-height: 15rem; }
  .sidebar { position: static; flex-basis: 4.3rem; width: 4.3rem; padding-inline: .55rem; }
  .sidebar-brand { justify-content: center; padding-inline: 0; }
  .sidebar-brand span, .nav-label, .sidebar-nav a:not(.active)::after, .sidebar-nav a:not(.active) { font-size: 0; }
  .sidebar-brand img { width: 2.7rem; height: 2.7rem; }
  .sidebar-nav a { justify-content: center; padding-inline: .5rem; }
  .sidebar-nav a.active { font-size: 0; }
  .sidebar-nav a.active .nav-icon { font-size: 1.1rem; }
  .sidebar-note, .logout-link { font-size: 0; justify-content: center; padding-inline: 0; }
  .logout-link::first-letter { font-size: 1rem; }
  .admin-topbar { align-items: start; flex-direction: column; }
  .user-chip { align-self: flex-end; margin-top: -2.6rem; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-bar { align-items: stretch; flex-wrap: wrap; }
  .search-field { flex-basis: 100%; }
  .select-field { flex: 1; width: auto; }
  .profile-hero { align-items: flex-start; flex-wrap: wrap; }
  .profile-hero-status { width: 100%; justify-content: flex-start; padding-left: 5.5rem; margin-top: -1.5rem; }
  .detail-list-inline { grid-template-columns: 1fr; gap: 0; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .main { width: min(100% - 1rem, 62rem); }
  .status-panel { padding: 1.3rem; }
  .button-row, .welcome-row, .page-intro { align-items: stretch; flex-direction: column; }
  .button-row { gap: .75rem; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .stat-card { min-height: 7.5rem; padding: .85rem; }
  .stat-card strong { font-size: 1.8rem; }
  .admin-main { padding: 1rem .75rem; }
  .admin-footer { padding-inline: .75rem; }
  .panel { padding: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
/* ------------------------------------------------------------------ */
/* Phase 3 — profile management                                        */
/* ------------------------------------------------------------------ */

.badge-request_edits { color: #8c5c1b; background: var(--amber-soft); }

.section-tabs { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.25rem; }
.section-tab { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .8rem; border: 1px solid var(--line); border-radius: 99rem; background: var(--surface); color: var(--muted); font-size: .8rem; font-weight: 700; }
.section-tab:hover, .section-tab.is-active { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.section-tab.has-error { border-color: var(--red); color: var(--red); background: var(--red-soft); }
.section-tab em { font-style: normal; display: inline-flex; align-items: center; justify-content: center; min-width: 1.2rem; height: 1.2rem; border-radius: 99rem; background: var(--red); color: #fff; font-size: .62rem; }
.section-icon { font-size: .95rem; line-height: 1; }

.profile-form .form-section { scroll-margin-top: 1.5rem; }
.profile-form legend { display: flex; align-items: center; gap: .45rem; padding: 0; }
fieldset.form-section { border: 0; margin: 0 0 1.75rem; padding: 0 0 1.5rem; border-bottom: 1px solid var(--line); }
fieldset.form-section:last-of-type { border-bottom: 0; padding-bottom: .5rem; }
.form-grid .field { display: flex; flex-direction: column; }
.form-grid .field-full { grid-column: 1 / -1; }
.field-invalid input, .field-invalid select, .field-invalid textarea { border-color: var(--red); background: var(--red-soft); }
.form-note { display: flex; flex-direction: column; gap: .2rem; margin: 0 0 1.25rem; padding: .9rem 1rem; border-radius: .75rem; background: var(--brand-soft); color: var(--ink); font-size: .85rem; }
.form-note span { color: var(--muted); }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.photo-card { display: flex; flex-direction: column; gap: .5rem; margin: 0; padding: .6rem; border: 1px solid var(--line); border-radius: .9rem; background: var(--surface); }
.photo-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: .6rem; background: var(--canvas); }
.photo-card figcaption { display: flex; align-items: center; justify-content: space-between; gap: .4rem; color: var(--muted); font-size: .72rem; }
.photo-actions { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.photo-actions form { margin: 0; }
.danger-link { color: var(--red); }
.danger-link:hover { color: #8f2f3d; }
.text-link { border: 0; padding: 0; background: none; font-size: .82rem; font-weight: 700; }

.upload-form { display: flex; flex-direction: column; gap: .9rem; padding: 1.1rem; border: 1px dashed var(--line); border-radius: .9rem; background: var(--canvas); }
.upload-form input[type="file"] { padding: .5rem; border: 1px solid var(--line); border-radius: .6rem; background: var(--surface); }
.upload-form .button { align-self: flex-start; }
.upload-preview { display: flex; flex-wrap: wrap; gap: .6rem; }
.upload-preview img { width: 4.5rem; height: 6rem; object-fit: cover; border-radius: .5rem; border: 1px solid var(--line); }
.upload-error { color: var(--red); font-size: .8rem; font-weight: 700; }

.profile-photo { width: 5.5rem; height: 7rem; object-fit: cover; border-radius: .9rem; border: 1px solid var(--line); }
.completeness { display: flex; align-items: center; gap: .6rem; margin-top: .55rem !important; color: var(--muted); font-size: .78rem; }
.completeness-bar { display: inline-block; width: 8rem; height: .4rem; border-radius: 99rem; background: var(--line); overflow: hidden; }
.completeness-bar span { display: block; height: 100%; background: var(--brand); }

.row-actions { display: flex; align-items: center; gap: .75rem; }
.row-actions form { margin: 0; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; }
.filter-bar-wide { flex-wrap: wrap; }
.filter-bar-wide .select-field input { width: 100%; padding: .6rem .75rem; border: 1px solid var(--line); border-radius: .6rem; background: var(--surface); }

.review-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.75rem; }
.review-side { display: flex; flex-direction: column; gap: 1.5rem; }
.review-side form { gap: .6rem; }

.activity-feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.activity-feed li { display: flex; gap: .8rem; }
.activity-feed strong { display: block; font-size: .88rem; }
.activity-feed p { margin: .15rem 0 .2rem; color: var(--muted); font-size: .84rem; }
.activity-feed small { color: var(--muted); font-size: .74rem; }
.activity-dot { flex: 0 0 auto; width: .6rem; height: .6rem; margin-top: .4rem; border-radius: 50%; background: var(--brand); }

@media (max-width: 60rem) {
  .review-grid { grid-template-columns: 1fr; }
}
@media (max-width: 40rem) {
  .section-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: .3rem; }
  .section-tab { white-space: nowrap; }
  .photo-grid { grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); }
  .pager { flex-direction: column; }
}
