:root {
  /* Warm, considered dark palette */
  --bg: #100f0d;
  --bg-elev: #191713;
  --bg-elev2: #221f19;
  --text: #f3f1ec;
  --text-dim: #a6a199;
  --line: #2b2721;
  --accent: #c8a45c;
  --accent-hover: #e3bd74;
  --danger: #e0605e;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1240px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  /* Editorial display serif (ui-serif -> New York on Apple, Georgia elsewhere) */
  --font-serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
/* Light palette: explicit toggle, or the visitor's OS preference. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #faf9f6;
    --bg-elev: #ffffff;
    --bg-elev2: #f0ede7;
    --text: #1a1712;
    --text-dim: #6a655c;
    --line: #e6e1d8;
    --accent: #9a7420;
    --accent-hover: #7d5e18;
  }
}
:root[data-theme="light"] {
  --bg: #faf9f6;
  --bg-elev: #ffffff;
  --bg-elev2: #f0ede7;
  --text: #1a1712;
  --text-dim: #6a655c;
  --line: #e6e1d8;
  --accent: #9a7420;
  --accent-hover: #7d5e18;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--accent); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; display: block; image-orientation: from-image; }

/* Editorial serif headings + tighter tracking */
h1, h2, h3, .serif { font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.01em; }

/* Visible keyboard focus everywhere */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; min-width: 0; width: 100%; }

/* Comfortable, guaranteed side gutters on phones */
@media (max-width: 600px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
  .site-header { padding-left: 18px; padding-right: 18px; }
  .bar { padding-left: 18px; padding-right: 18px; }
}

/* ---------- Header ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 22px 24px;
}
.brand { color: var(--text); font-family: var(--font-serif); font-weight: 600; letter-spacing: .01em; font-size: 1.2rem; }
.site-header nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.site-header nav a { color: var(--text-dim); margin-left: 22px; font-size: .95rem; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--text); }
.site-header nav a.nav-action { color: var(--accent); }
.site-header nav a.nav-action:hover { color: var(--accent-hover); }

/* Language toggle */
.lang { margin-left: 22px; display: inline-flex; align-items: center; gap: 2px;
  border: 1px solid var(--line); border-radius: 999px; padding: 3px; line-height: 1; }
.lang a,
.site-header nav .lang a { margin: 0; padding: 5px 12px; border-radius: 999px;
  font-size: .78rem; font-weight: 600; line-height: 1; color: var(--text-dim); }
.lang a:hover { color: var(--text); }
.lang a[aria-current],
.site-header nav .lang a[aria-current] { background: var(--accent); color: #1a1400; }
.lang a[aria-current]:hover { color: #1a1400; }
.home-lang { position: fixed; top: 18px; right: 18px; z-index: 5; }
.home-lang .lang { margin-left: 0; background: rgba(0,0,0,.35);
  border-color: rgba(255,255,255,.35); }
.home-lang .lang a { color: rgba(255,255,255,.85); }
.home-lang .lang a[aria-current] { background: #fff; color: #111; }
@media (max-width: 520px) {
  .site-header { flex-direction: column; gap: 10px; padding: 18px 24px; }
  .site-header nav a:first-child { margin-left: 0; }
}

/* ---------- Homepage split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.split-panel {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 40px; overflow: hidden; color: #fff;
  background: #111; transition: flex .4s ease;
}
.split-panel::before {
  content: ""; position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(.48) saturate(1.05);
  transform: scale(1.06);
  animation: kenburns 26s var(--ease) infinite alternate;
  transition: filter .6s var(--ease);
}
.split-panel:hover::before { filter: brightness(.62) saturate(1.1); }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1.16) translate(1.5%, -1.5%); } }
.panel-photo::before { animation-direction: alternate-reverse; }
/* Overlay for legibility */
.split-panel::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.45));
}
.panel-it::before   { background-image: var(--hero, linear-gradient(135deg,#1b2733,#0d1b2a)); }
.panel-photo::before{ background-image: var(--hero, linear-gradient(135deg,#2a221b,#12100d)); }
.split-panel > * { position: relative; z-index: 1; }
.split-panel .eyebrow { letter-spacing: .3em; text-transform: uppercase; font-size: .72rem; color: rgba(255,255,255,.72); }
.split-panel h2 {
  font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.015em;
  font-size: clamp(2.2rem, 5vw, 4rem); margin: .28em 0 .3em; line-height: 1.02;
}
.split-panel p { max-width: 32ch; color: rgba(255,255,255,.82); font-size: 1.05rem; }
.split-panel .go {
  margin-top: 26px; display: inline-flex; align-items: center; gap: .5em;
  border: 1px solid rgba(255,255,255,.55); color: #fff; padding: 13px 30px;
  border-radius: 40px; font-size: .95rem; letter-spacing: .02em;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.split-panel:hover .go { background: rgba(255,255,255,.14); border-color: #fff; transform: translateY(-2px); }
.split-link { position: absolute; inset: 0; z-index: 2; }

@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .split-panel { min-height: 52vh; }
}

/* ---------- Sections / headings ---------- */
/* Only top/bottom here — the horizontal padding comes from .wrap (using the
   `padding` shorthand would zero out .wrap's side gutters). */
.page { padding-top: 26px; padding-bottom: 110px; }
.page-head { margin: 30px 0 46px; }
.page-head h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin: .12em 0 .28em; line-height: 1.08; }
.page-head p { color: var(--text-dim); margin: 0; max-width: 62ch; font-size: 1.08rem; }
.eyebrow-a { color: var(--accent); letter-spacing: .22em; text-transform: uppercase; font-size: .72rem; font-weight: 600; }

/* ---------- Gallery grid ---------- */
/* Masonry: column count from the per-gallery --cols setting. */
.gallery { columns: var(--cols, 4); column-gap: 16px; }
.gallery figure {
  margin: 0 0 16px; break-inside: avoid; border-radius: var(--radius-sm);
  overflow: hidden; background: var(--bg-elev); cursor: zoom-in;
  /* scroll reveal */
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.gallery figure.revealed { opacity: 1; transform: none; }
.gallery img { width: 100%; transition: transform .6s var(--ease), opacity .4s; opacity: 0; }
.gallery img.loaded { opacity: 1; }
.gallery figure:hover img { transform: scale(1.045); }

.empty { color: var(--text-dim); padding: 50px 0; font-size: 1.05rem; }

/* ---------- Selection ---------- */
.gallery figure { position: relative; }
.pick {
  position: absolute; top: 8px; left: 8px; z-index: 4; cursor: pointer;
  width: 26px; height: 26px; opacity: 0; transition: opacity .15s;
}
.gallery figure:hover .pick,
.gallery.selecting .pick,
.gallery figure.selected .pick { opacity: 1; }
.pick input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pick-box {
  display: block; width: 26px; height: 26px; border-radius: 7px;
  background: rgba(0,0,0,.45); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.pick input:checked + .pick-box {
  background: var(--accent); border-color: var(--accent);
}
.pick input:checked + .pick-box::after {
  content: "✓"; color: #1a1400; font-size: 16px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; height: 100%;
}
.gallery figure.selected { outline: 3px solid var(--accent); outline-offset: -3px; }
.gallery.selecting figure { cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em; cursor: pointer;
  background: var(--accent); color: #1a1400; border: none; font: inherit; font-weight: 600;
  padding: 11px 22px; border-radius: 40px;
  transition: background .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { background: var(--accent-hover); color: #1a1400; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); box-shadow: none; }
.btn-danger { background: transparent; color: var(--danger); border: 1px solid var(--danger); box-shadow: none; }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-sm { padding: 7px 14px; font-size: .85rem; }

/* ---------- Tabs / toolbar ---------- */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 8px 0 30px; }
.tabs .tab {
  padding: 9px 18px; border-radius: 40px; border: 1px solid var(--line);
  color: var(--text-dim); font-size: .95rem; transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.tabs .tab:hover { color: var(--text); border-color: var(--text-dim); }
.tabs .tab[aria-current] { background: var(--bg-elev2); color: var(--text); border-color: var(--accent); }
.tabs .spacer { flex: 1; }

/* ---------- Cards / forms ---------- */
.card {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; max-width: 420px; margin: 8vh auto 0;
}
.card h1 { margin: 0 0 6px; font-size: 1.6rem; }
.card .sub { color: var(--text-dim); margin: 0 0 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; color: var(--text-dim); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); font: inherit;
  background: var(--bg); color: var(--text); border: 1px solid var(--line);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}
.alert { background: rgba(224,96,94,.12); border: 1px solid var(--danger); color: #ffb4b3;
  padding: 10px 14px; border-radius: 10px; margin-bottom: 16px; font-size: .9rem; }
.note { color: var(--text-dim); font-size: .85rem; }
.center { text-align: center; }
.mt { margin-top: 20px; }

/* ---------- Admin ---------- */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 24px; border-bottom: 1px solid var(--line); background: var(--bg-elev); }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.table th { color: var(--text-dim); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 20px; background: var(--bg-elev2); font-size: .8rem; color: var(--text-dim); }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 6px; }
.grid2 { display: grid; grid-template-columns: 320px 1fr; gap: 30px; align-items: start; }
@media (max-width: 820px) { .grid2 { grid-template-columns: 1fr; } }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; background: rgba(0,0,0,.94); display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 20px; z-index: 100; }
.lb.open { display: flex; }
.lb img {
  max-width: 92vw; max-height: 80vh; border-radius: 6px;
  cursor: zoom-in; transition: transform .25s var(--ease);
}
.lb img.zoomed { cursor: zoom-out; transition: transform .18s var(--ease); border-radius: 0; }
/* Round nav/close controls pinned to the viewport edges */
.lb .lb-close, .lb .lb-prev, .lb .lb-next {
  position: absolute; background: rgba(255,255,255,.1); color: #fff; border: none;
  width: 52px; height: 52px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; z-index: 3;
}
.lb .lb-close { top: 22px; right: 22px; width: 44px; height: 44px; }
.lb .lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb .lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lb .lb-close:hover, .lb .lb-prev:hover, .lb .lb-next:hover { background: rgba(255,255,255,.22); }
/* Action bar sits below the image, centered, with clear spacing */
.lb-actions { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; position: relative; z-index: 3; }
.lb .lb-download, .lb .lb-request {
  position: static; transform: none; width: auto; height: auto; border: none;
  font: inherit; font-weight: 600; font-size: .95rem; padding: 11px 22px;
  border-radius: 40px; cursor: pointer; white-space: nowrap;
  background: var(--accent); color: #1a1400;
  transition: background .25s var(--ease);
}
.lb .lb-download:hover { background: var(--accent-hover); color: #1a1400; }
.lb .lb-request { background: rgba(255,255,255,.16); color: #fff; }
.lb .lb-request:hover { background: rgba(255,255,255,.28); color: #fff; }
.lb .lb-request.active { background: rgba(200,164,92,.92); color: #1a1400; }
@media (max-width: 600px) { .lb .lb-prev, .lb .lb-next { display: none; } }

/* "Unedited" / "Edit requested" tag on a photo */
.gallery figure .tag {
  position: absolute; top: 8px; right: 8px; z-index: 3;
  font-size: .66rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 40px; pointer-events: none;
  background: rgba(0,0,0,.55); color: #ece7db; backdrop-filter: blur(3px);
}
.gallery figure .tag.requested { background: rgba(200,164,92,.92); color: #1a1400; }

/* ---------- Footer (sticks to the bottom via body flex column) ---------- */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  color: var(--text-dim); font-size: .85rem;
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.admin-link { color: var(--text-dim); }
.admin-link:hover { color: var(--text); }

/* ---------- Gallery cards (client landing + admin) ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.gcard { display: block; background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; color: var(--text);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
a.gcard:hover { transform: translateY(-4px); border-color: var(--accent); color: var(--text);
  box-shadow: 0 14px 34px rgba(0,0,0,.28); }
.gcard-img { display: block; aspect-ratio: 4 / 3; background: var(--bg-elev2); overflow: hidden; }
.gcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
a.gcard:hover .gcard-img img { transform: scale(1.05); }
.gcard-body strong { font-family: var(--font-serif); }
.gcard-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 3px; }
.gcard-body strong { font-size: 1.05rem; }

/* ---------- Hearts ---------- */
.gallery figure .heart {
  position: absolute; bottom: 8px; right: 8px; z-index: 4; cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(0,0,0,.5); color: #fff; border: none; border-radius: 40px;
  padding: 5px 11px; font-size: .85rem; line-height: 1; backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .15s, transform .1s;
}
.gallery figure:hover .heart, .gallery figure .heart.liked { opacity: 1; }
.heart .heart-icon { color: #ff6b8a; font-size: 1rem; }
.heart.liked { background: rgba(255,107,138,.25); }
.heart:active { transform: scale(.92); }

/* ---------- Sort control ---------- */
.sort { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; }
.sort a { color: var(--text-dim); }
.sort a[aria-current] { color: var(--text); text-decoration: underline; }

/* ---------- Drag & drop upload ---------- */
.dropzone { border: 2px dashed var(--line); border-radius: var(--radius);
  padding: 30px; text-align: center; margin: 8px 0 26px; transition: border-color .15s, background .15s; }
.dropzone.dragover { border-color: var(--accent); background: var(--bg-elev); }
.dz-hint { margin: 0 0 4px; font-size: 1.05rem; }
.linklike { background: none; border: none; color: var(--accent); font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }
.dz-progress { margin-top: 16px; }
.dz-bar { height: 8px; width: 0; background: var(--accent); border-radius: 40px; transition: width .2s; }
.dz-status { display: block; margin-top: 8px; color: var(--text-dim); font-size: .85rem; }
.inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* ---------- Admin photo grid ---------- */
.admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.admin-grid figure { position: relative; margin: 0; border-radius: 10px; overflow: hidden;
  background: var(--bg-elev); aspect-ratio: 1 / 1; }
.admin-grid figure.is-cover { outline: 3px solid var(--accent); outline-offset: -3px; }
.admin-grid img { width: 100%; height: 100%; object-fit: cover; }
.admin-meta { position: absolute; top: 6px; left: 6px; display: flex; gap: 6px; align-items: center;
  background: rgba(0,0,0,.5); color: #fff; border-radius: 40px; padding: 3px 9px; font-size: .78rem; }
.admin-meta .likes { color: #ff9db2; }
.admin-actions { position: absolute; bottom: 6px; right: 6px; display: flex; gap: 6px; opacity: 0; transition: opacity .15s; }
.admin-grid figure:hover .admin-actions { opacity: 1; }
.admin-actions form { margin: 0; }

/* ---------- Stats ---------- */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin: 8px 0 30px; }
.stat { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.stat-n { font-size: 2rem; font-weight: 700; color: var(--accent); line-height: 1; }

/* ---------- Gallery intro + hero banner + layout styles ---------- */
.gallery-intro {
  max-width: 68ch; color: var(--text-dim); font-size: 1.05rem; line-height: 1.75;
  margin: 20px 0 26px; white-space: pre-line;
}

.gallery-hero {
  position: relative; min-height: 46vh; display: flex; align-items: flex-end;
  background-size: cover; background-position: center; background-image: var(--hero-img);
}
.gallery-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.10) 0%, rgba(0,0,0,.30) 55%, var(--bg) 100%);
}
.gallery-hero-inner {
  position: relative; z-index: 1; width: 100%; max-width: var(--maxw);
  margin: 0 auto; padding: 0 24px 34px;
}
.gallery-hero .hero-back { color: rgba(255,255,255,.82); font-size: .9rem; }
.gallery-hero .hero-back:hover { color: #fff; }
.gallery-hero h1 {
  color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); margin: .15em 0 0;
  text-shadow: 0 2px 24px rgba(0,0,0,.45);
}

/* Uniform tile layout (style: grid) — exactly --cols columns. */
.gallery.uniform {
  columns: unset; display: grid;
  grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 16px;
}
.gallery.uniform figure { margin: 0; aspect-ratio: 1 / 1; }
.gallery.uniform figure img { width: 100%; height: 100%; object-fit: cover; }

/* Justified editorial rows (style: justified). --ar (aspect ratio) set by JS;
   row height is derived from the container width and --cols so roughly --cols
   photos fit per row, shrinking gracefully on narrow screens. */
.gallery.justified {
  columns: unset; display: flex; flex-wrap: wrap; gap: 14px;
  container-type: inline-size;
  --rowh: clamp(150px, calc(100cqw / var(--cols, 3) / 1.5), 420px);
}
.gallery.justified figure {
  margin: 0; min-width: 0; max-width: 100%; height: var(--rowh);
  flex-grow: var(--ar, 1.4); flex-basis: calc(var(--ar, 1.4) * var(--rowh));
}
.gallery.justified figure img { width: 100%; height: 100%; object-fit: cover; }

/* Phones: cap columns so thumbnails stay tappable, regardless of the setting.
   (Placed after the gallery rules so these win by source order. Justified is
   already responsive via container units.) */
@media (max-width: 600px) {
  .gallery { columns: auto 150px; column-gap: 12px; }
  .gallery.uniform { grid-template-columns: repeat(auto-fill, minmax(45%, 1fr)); gap: 12px; }
}

/* ---------- Edit requests inbox ---------- */
.req-list { display: flex; flex-direction: column; gap: 16px; }
.req { display: flex; gap: 16px; background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px; }
.req-thumb { flex: 0 0 auto; width: 120px; height: 120px; border-radius: var(--radius-sm);
  overflow: hidden; background: var(--bg-elev2); }
.req-thumb img { width: 100%; height: 100%; object-fit: cover; }
.req-body { flex: 1; min-width: 0; }
.req-note { margin: 8px 0; font-style: italic; color: var(--text); }
.req-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.req-actions form { margin: 0; }
@media (max-width: 560px) { .req { flex-direction: column; } .req-thumb { width: 100%; height: 180px; } }

/* Admin: unedited photo marker */
.admin-grid figure.is-unedited { outline: 2px dashed var(--text-dim); outline-offset: -2px; }
