/* Members area (templates/members/base.html and everything that extends it, including the
   accounts sign-in pages). Colour tokens (--wz-*) and form fields are shared with the
   application wizard in site.css. */

.mx { color: var(--wz-text); background:
  radial-gradient(1200px 500px at 85% -10%, rgba(255,205,0,.07), transparent 60%),
  linear-gradient(180deg, #050a2a 0%, #0a1230 320px, #0a1230 100%); }
.mx p { color: inherit; }
.mx a:not(.wz-btn):not(.theme-btn):not(.mx-tile):not(.mx-nav-link):not(.rv-tab) { color: var(--wz-gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.mx-muted, .mx p.mx-muted { color: var(--wz-muted); }

/* ---- Header ------------------------------------------------------------- */
.mx-hero { padding: 2.75rem 0 1.75rem; border-bottom: 1px solid var(--wz-line); }
.mx-eyebrow { margin: 0 0 .3rem; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--wz-gold); }
.mx-title { margin: 0; color: #fff; font-family: "STIX Two Text", "Playfair Display", serif; font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.75rem); line-height: 1.15; }

/* ---- Layout: side navigation + content --------------------------------- */
.mx-container { padding-top: 2rem; padding-bottom: 4rem; }
.mx-shell { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 2rem; align-items: start; }
.mx-shell-solo { grid-template-columns: minmax(0, 1fr); }
.mx-main { min-width: 0; }

.mx-nav { position: sticky; top: 90px; display: flex; flex-direction: column; gap: .25rem; padding: .5rem;
  border: 1px solid var(--wz-line); border-radius: 16px; background: var(--wz-surface); }
.mx-nav-link { display: flex; align-items: center; gap: .7rem; width: 100%; padding: .7rem .85rem; border-radius: 10px;
  border: 0; background: transparent; color: var(--wz-muted); font: inherit; font-weight: 600; font-size: .93rem;
  text-align: left; text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.mx-nav-link svg { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; }
.mx-nav-link:hover, .mx-nav-link:focus-visible { background: var(--wz-surface-2); color: #fff; }
.mx-nav-link.is-active { background: var(--wz-gold-soft); color: var(--wz-gold); }
/* beat the older `.members-area a` gold link rule in site.css */
.mx .mx-nav a.mx-nav-link { color: var(--wz-muted); }
.mx .mx-nav a.mx-nav-link:hover, .mx .mx-nav a.mx-nav-link:focus-visible { color: #fff; }
.mx .mx-nav a.mx-nav-link.is-active { color: var(--wz-gold); }
.mx a.mx-tile, .mx a.mx-tile:hover { color: var(--wz-text); }
.mx-nav-logout { margin: .35rem 0 0; padding-top: .35rem; border-top: 1px solid var(--wz-line); }

@media (max-width: 991.98px) {
  .mx-hero { padding: 1.75rem 0 1.25rem; }
  .mx-shell { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .mx-nav { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; border-radius: 999px; padding: .3rem; }
  .mx-nav::-webkit-scrollbar { display: none; }
  .mx-nav-link { width: auto; white-space: nowrap; border-radius: 999px; padding: .55rem .9rem; }
  .mx-nav-logout { margin: 0 0 0 auto; padding: 0 0 0 .3rem; border-top: 0; border-left: 1px solid var(--wz-line); }
}

/* ---- Cards -------------------------------------------------------------- */
.mx-card, .mx .member-panel { position: relative; padding: 1.6rem; border-radius: 18px; border: 1px solid var(--wz-line);
  background: linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.035)); box-shadow: 0 20px 40px rgba(0,0,0,.18); }
.mx .narrow-panel { max-width: 560px; margin: 0; }
.mx-shell-solo .narrow-panel { margin: 0 auto; }
.mx-card h2, .mx .member-panel h2 { color: #fff; font-family: "STIX Two Text", "Playfair Display", serif; font-weight: 700;
  font-size: 1.4rem; margin: 0 0 .5rem; }
.mx .member-panel h3 { color: var(--wz-gold); font-size: 1.05rem; font-weight: 700; }
.mx-card-title { font-size: 1.15rem !important; display: flex; align-items: baseline; gap: .6rem; margin-bottom: 1rem !important; }
.mx-card-title small { font-family: ui-monospace, Consolas, monospace; font-size: .8rem; color: var(--wz-muted); font-weight: 500; }
.mx-kicker { margin: 0 0 .35rem; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--wz-gold); }
.mx-amount { margin: 0; font-size: 2.4rem; font-weight: 700; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.mx-greeting { margin: 0 0 1rem; font-size: 1.15rem; font-weight: 600; color: #fff; }
.mx-section-heading { margin: 2rem 0 1rem; color: #fff; font-size: 1.15rem; font-weight: 700; }
.mx-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }

/* Old-style buttons on the sign-in pages, matched to the new look */
.mx .theme-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .6rem 1.4rem;
  border: 0; border-radius: 999px; font-weight: 700; color: var(--wz-navy); cursor: pointer;
  background: linear-gradient(90deg, #f2e496 0%, #ffcd00 47.5%, #ba983c 100%); box-shadow: 0 8px 22px rgba(255,205,0,.22); }
.mx .theme-btn:hover { transform: translateY(-1px); color: var(--wz-navy); }
.mx .theme-btn::after, .mx .theme-btn::before { display: none; }
.mx .theme-btn-outline { background: transparent !important; border: 1px solid var(--wz-line) !important; color: var(--wz-text) !important; box-shadow: none; }
.mx .alert { border-radius: 12px; }
.mx .btn-outline-light { border-radius: 999px; }

/* ---- Dashboard grid ----------------------------------------------------- */
.mx-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 1.5rem; }
@media (max-width: 767.98px) { .mx-grid { grid-template-columns: minmax(0, 1fr); } }
.mx-next { display: flex; flex-direction: column; justify-content: center; }
.mx-next .wz-btn { align-self: flex-start; margin-top: .5rem; }
.mx-next .wz-btn.w-100 { align-self: stretch; }

/* Digital membership card */
.mx-membercard { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 240px; padding: 1.5rem 1.6rem;
  border-radius: 20px; color: #fff; border: 1px solid rgba(255,205,0,.35);
  background: radial-gradient(420px 220px at 110% -20%, rgba(255,205,0,.35), transparent 60%),
              linear-gradient(135deg, #00008b 0%, #0b1a6b 45%, #050a2a 100%);
  box-shadow: 0 24px 48px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.12); }
.mx-membercard::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 320px; height: 320px; border-radius: 50%;
  border: 1px solid rgba(255,205,0,.15); pointer-events: none; }
.mx-membercard-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: auto; }
.mx-membercard-logo { height: 46px; width: auto; }
.mx-membercard-name { margin: 1.5rem 0 .1rem; font-family: "STIX Two Text", "Playfair Display", serif; font-size: 1.6rem; font-weight: 700; line-height: 1.2; }
.mx-membercard-tier { margin: 0 0 1rem; color: var(--wz-gold); font-weight: 600; font-size: .95rem; }
.mx-membercard-meta { display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin: 0; }
.mx-membercard-meta dt { font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.mx-membercard-meta dd { margin: 0; font-weight: 700; font-family: ui-monospace, Consolas, monospace; letter-spacing: .04em; }

/* Status pills */
.mx-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .7rem; border-radius: 999px; font-size: .78rem;
  font-weight: 700; white-space: nowrap; background: rgba(255,255,255,.12); color: #fff; }
.mx-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.mx-pill-active, .mx-pill-paid { background: rgba(76,175,80,.18); color: #8be29a; }
.mx-pill-pending, .mx-pill-approval { background: rgba(255,170,0,.16); color: #ffc960; }
.mx-pill-lapsed, .mx-pill-declined, .mx-pill-suspended, .mx-pill-cancelled, .mx-pill-failed { background: rgba(255,90,90,.16); color: #ff9f9f; }
.mx-pill-refunded { background: rgba(255,255,255,.1); color: var(--wz-muted); }

/* Nomination request banner */
.mx-notice { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; padding: 1rem 1.25rem;
  border-radius: 16px; border: 1px solid rgba(255,205,0,.4); background: var(--wz-gold-soft); }
.mx-notice-icon { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wz-gold); color: var(--wz-navy); font-weight: 800; }
.mx-notice-text { flex: 1; min-width: 200px; display: flex; flex-direction: column; }
.mx-notice-text span { color: var(--wz-muted); font-size: .93rem; }

/* Application progress */
.mx-track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mx-track li { position: relative; display: flex; flex-direction: column; gap: .2rem; padding-top: 2.1rem; padding-right: .75rem; }
.mx-track li::before { content: ""; position: absolute; top: 11px; left: 24px; right: 0; height: 2px; background: var(--wz-line); }
.mx-track li:last-child::before { display: none; }
.mx-track li.is-done::before { background: var(--wz-gold); }
.mx-track-dot { position: absolute; top: 0; left: 0; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--wz-line);
  background: #0a1230; }
.mx-track li.is-done .mx-track-dot { border-color: var(--wz-gold); background: var(--wz-gold)
  url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%2300008b' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e") center/16px no-repeat; }
.mx-track li.is-current .mx-track-dot { border-color: var(--wz-gold); box-shadow: 0 0 0 5px rgba(255,205,0,.15); }
.mx-track li.is-current .mx-track-dot::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--wz-gold); }
.mx-track strong { font-size: .93rem; color: #fff; }
.mx-track small { font-size: .82rem; color: var(--wz-muted); }
.mx-track li:not(.is-done):not(.is-current) strong { color: var(--wz-muted); }
@media (max-width: 575.98px) {
  .mx-track { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .mx-track li { padding: 0 0 0 2.4rem; min-height: 24px; }
  .mx-track li::before { top: 26px; bottom: -1rem; left: 11px; right: auto; width: 2px; height: auto; }
}

/* Quick action tiles */
.mx-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.mx-tile { display: flex; flex-direction: column; gap: .25rem; padding: 1.15rem 1.2rem; border-radius: 16px; text-decoration: none;
  border: 1px solid var(--wz-line); background: var(--wz-surface); color: var(--wz-text);
  transition: transform .15s, border-color .15s, background .15s; }
.mx-tile:hover, .mx-tile:focus-visible { transform: translateY(-2px); border-color: rgba(255,205,0,.5); background: var(--wz-surface-2); color: #fff; }
.mx-tile svg { width: 26px; height: 26px; margin-bottom: .5rem; fill: none; stroke: var(--wz-gold); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; }
.mx-tile strong { font-size: .98rem; color: #fff; }
.mx-tile span { font-size: .85rem; color: var(--wz-muted); overflow-wrap: anywhere; }

/* Payment history: a table on wide screens, stacked cards on phones */
.mx-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.mx-table th { padding: .6rem .75rem; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--wz-muted); border-bottom: 1px solid var(--wz-line); text-align: left; }
.mx-table td { padding: .85rem .75rem; border-bottom: 1px solid rgba(255,255,255,.07); color: var(--wz-text); vertical-align: top; }
.mx-table tbody tr:last-child td { border-bottom: 0; }
.mx-table tbody tr:hover td { background: rgba(255,255,255,.025); }
.mx-table td small { display: block; color: var(--wz-muted); }
@media (max-width: 767.98px) {
  .mx-table thead { display: none; }
  .mx-table, .mx-table tbody, .mx-table tr, .mx-table td { display: block; width: 100%; }
  .mx-table tr { padding: .9rem 1rem; margin-bottom: .75rem; border: 1px solid var(--wz-line); border-radius: 12px; background: var(--wz-surface); }
  .mx-table td { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border: 0; text-align: right; }
  .mx-table td::before { content: attr(data-label); color: var(--wz-muted); font-size: .82rem; text-align: left; }
  .mx-table tbody tr:hover td { background: none; }
}

/* ---- Not a member yet --------------------------------------------------- */
.mx-welcome { max-width: 720px; }
.mx-steps-mini { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .6rem; }
.mx-steps-mini li { display: flex; align-items: center; gap: .8rem; color: var(--wz-text); }
.mx-steps-mini span { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .85rem;
  font-weight: 700; background: var(--wz-gold-soft); color: var(--wz-gold); border: 1px solid rgba(255,205,0,.4); }

/* ---- Forms: profile and renew ------------------------------------------ */
.mx-section { margin-bottom: 1.25rem; }
.mx .form-label, .mx legend.form-label { color: #fff; font-weight: 600; font-size: .92rem; margin-bottom: .4rem; }
.mx .form-text { color: var(--wz-muted); }
.mx-savebar { position: sticky; bottom: 1rem; z-index: 5; display: flex; justify-content: flex-end; align-items: center; gap: .75rem;
  margin-top: 1.5rem; padding: .75rem; border-radius: 999px; border: 1px solid var(--wz-line);
  background: rgba(10,18,48,.88); backdrop-filter: blur(10px); box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.mx-callout { display: flex; flex-direction: column; gap: .15rem; margin-bottom: 1.5rem; padding: 1rem 1.15rem; border-radius: 12px;
  background: var(--wz-gold-soft); border: 1px solid rgba(255,205,0,.35); }
.mx-callout-label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--wz-gold); }
.mx-callout strong { font-size: 1.3rem; color: #fff; }
.mx-callout .mx-muted { font-size: .9rem; }

/* ---- Payment page ------------------------------------------------------- */
.mx-payhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.mx-payhead-status { display: flex; flex-direction: column; align-items: flex-end; gap: .4rem; }
.mx-payopts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.mx-payopts.is-single { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 991.98px) { .mx-payopts { grid-template-columns: minmax(0, 1fr); } }
.mx-payopt { display: flex; flex-direction: column; }
.mx-payopt-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.mx-payopt-head svg { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--wz-gold-soft);
  fill: none; stroke: var(--wz-gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mx-payopt-head h3 { margin: 0; color: #fff; font-size: 1.1rem; font-weight: 700; }
.mx-badge { display: inline-block; margin-top: .2rem; padding: .1rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 700;
  background: var(--wz-gold); color: var(--wz-navy); }
.mx-badge-muted { background: var(--wz-surface-2); color: var(--wz-muted); }
.mx-bank { margin: 0; display: grid; gap: .4rem; }
.mx-bank > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "dt btn" "dd btn"; align-items: center;
  column-gap: .75rem; padding: .6rem .85rem; border-radius: 10px; background: var(--wz-surface); }
.mx-bank > div.is-key { background: var(--wz-gold-soft); border: 1px solid rgba(255,205,0,.35); }
.mx-bank dt { grid-area: dt; font-size: .75rem; font-weight: 600; color: var(--wz-muted); }
.mx-bank dd { grid-area: dd; margin: 0; font-weight: 700; color: #fff; overflow-wrap: anywhere; }
.mx-bank .mx-copy { grid-area: btn; }
.mx-important { margin: 1rem 0 0; font-size: .87rem; color: var(--wz-muted); }

.payment-code { font-family: ui-monospace, Consolas, monospace; font-weight: 700; letter-spacing: .08em; background: var(--wz-gold);
  color: var(--wz-navy); padding: .1rem .5rem; border-radius: 6px; }
.mx-copy { display: inline-flex; align-items: center; gap: .3rem; margin-left: .35rem; padding: .3rem .75rem; border-radius: 999px;
  border: 1px solid var(--wz-line); background: transparent; color: var(--wz-text); font-size: .8rem; font-weight: 600; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s; }
.mx-copy:hover { background: var(--wz-surface-2); border-color: rgba(255,255,255,.3); }
.mx-copy.is-copied { border-color: rgba(139,226,154,.6); color: #8be29a; }

@media (prefers-reduced-motion: reduce) {
  .mx-tile, .mx-nav-link, .mx .theme-btn, .mx-copy { transition: none; }
  .mx-tile:hover, .mx .theme-btn:hover { transform: none; }
}

/* ---- Sign-in & security (templates/accounts/security.html) ------------- */
.mx-settings { display: grid; gap: 1rem; max-width: 820px; }
.mx-setting { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.1rem; align-items: start; }
.mx-setting h2 { font-size: 1.2rem; margin: .15rem 0 .4rem; }
.mx-setting-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--wz-surface-2); border: 1px solid var(--wz-line); }
.mx-setting-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--wz-gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mx-setting-icon.is-on { background: rgba(76,175,80,.15); border-color: rgba(139,226,154,.35); }
.mx-setting-icon.is-on svg { stroke: #8be29a; }
.mx-setting-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: .2rem; }
.mx-setting-head h2 { margin: 0; }
.mx-setting-action { align-self: center; }
.mx-setting .wz-btn { margin-top: .25rem; }
@media (max-width: 575.98px) {
  .mx-setting { grid-template-columns: auto minmax(0, 1fr); }
  .mx-setting-action { grid-column: 1 / -1; }
  .mx-setting-action .wz-btn { width: 100%; }
}

.mx-tip { display: flex; flex-direction: column; gap: .2rem; margin: 0 0 1.1rem; padding: .9rem 1rem; border-radius: 12px;
  background: var(--wz-gold-soft); border: 1px solid rgba(255,205,0,.3); font-size: .92rem; }
.mx-tip strong { color: var(--wz-gold); }
.mx-tip span { color: var(--wz-text); }

.mx-stat { display: flex; align-items: center; gap: .9rem; margin: 0 0 1rem; padding: .8rem 1rem; border-radius: 12px;
  background: var(--wz-surface); border: 1px solid var(--wz-line); }
.mx-stat > strong { font-size: 1.9rem; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.mx-stat > span { display: flex; flex-direction: column; font-weight: 600; color: var(--wz-text); }
.mx-stat small { font-weight: 400; color: var(--wz-muted); font-size: .83rem; }
.mx-stat.is-low { border-color: rgba(255,170,0,.45); background: rgba(255,170,0,.08); }
.mx-stat.is-low > strong { color: #ffc960; }

.mx-disclosure { margin-top: .6rem; border: 1px solid var(--wz-line); border-radius: 12px; background: var(--wz-surface); }
.mx-disclosure summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .8rem 1rem; cursor: pointer; font-weight: 600; color: var(--wz-text); border-radius: 12px; }
.mx-disclosure summary::-webkit-details-marker { display: none; }
.mx-disclosure summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--wz-muted); border-bottom: 2px solid var(--wz-muted);
  transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.mx-disclosure[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.mx-disclosure summary:hover { background: var(--wz-surface-2); }
.mx-disclosure > form { padding: .5rem 1rem 1.1rem; }
.mx-disclosure.is-danger summary { color: #ffb3b3; }
.mx-btn-danger { background: rgba(255,90,90,.14); border: 1px solid rgba(255,120,120,.5); color: #ffd0d0; }
.mx-btn-danger:hover { background: rgba(255,90,90,.24); color: #fff; }
@media (prefers-reduced-motion: reduce) { .mx-disclosure summary::after { transition: none; } }

/* ---- Staff: reviewing gallery photos (templates/content/gallery_review.html) --------------- */
.rv-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.5rem; padding: .35rem; border-radius: 999px; width: fit-content;
  max-width: 100%; border: 1px solid var(--wz-line); background: var(--wz-surface); }
.mx .rv-tabs a.rv-tab { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 999px; font-weight: 600;
  font-size: .92rem; color: var(--wz-muted); text-decoration: none; }
.mx .rv-tabs a.rv-tab span { min-width: 24px; padding: .05rem .45rem; border-radius: 999px; background: var(--wz-surface-2); font-size: .78rem; text-align: center; }
.mx .rv-tabs a.rv-tab:hover { color: #fff; background: var(--wz-surface-2); }
.mx .rv-tabs a.rv-tab.is-active { color: var(--wz-navy); background: var(--wz-gold); }
.mx .rv-tabs a.rv-tab.is-active span { background: rgba(0,0,139,.15); }
.mx .rv-tabs a.rv-tab-admin { margin-left: .5rem; }
.rv-empty { text-align: center; padding: 3rem 1.5rem; }
.rv-empty i { font-size: 2.4rem; color: #8be29a; margin-bottom: .75rem; }
.rv-batch { margin-bottom: 1.5rem; }
.rv-batch-head { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.25rem; }
.rv-batch-head h2 { font-size: 1.3rem; margin: 0 0 .2rem; }
.rv-batch-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.rv-batch-actions form { margin: 0; }
.rv-caption { margin: .75rem 0 0; padding: .6rem .9rem; border-left: 3px solid var(--wz-gold); border-radius: 0 10px 10px 0;
  background: var(--wz-surface); color: var(--wz-text); font-size: .93rem; max-width: 70ch; }
.rv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.rv-photo { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; border: 1px solid var(--wz-line); background: var(--wz-surface); }
.rv-img { display: block; aspect-ratio: 4 / 3; background: #050a2a; }
.rv-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.rv-img-gone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; color: var(--wz-muted); }
.rv-meta { padding: .7rem .9rem 0; font-size: .82rem; }
.rv-form { padding: .6rem .9rem .9rem; margin-top: auto; }
.rv-edit summary { cursor: pointer; font-size: .85rem; font-weight: 600; color: var(--wz-gold); margin-bottom: .5rem; }
.rv-edit[open] { margin-bottom: .75rem; }
.rv-edit .form-control, .rv-edit .form-select { min-height: 40px; padding: .45rem .7rem; font-size: .9rem; }
.rv-edit textarea.form-control { min-height: 72px; }
.rv-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.rv-actions .wz-btn { min-height: 40px; padding: .45rem .8rem; font-size: .88rem; }
