/* ============================================================
   GRSC Hub — Admin dashboard styles
   Loaded after styles.css (brand tokens live there).
   Mobile-first: bottom tab bar, card lists, big touch targets,
   high contrast for phones used outdoors in bright sunlight.
   ============================================================ */

:root {
  --head-h: 63px;
  --amber: #9A5B00;
  --tap: 44px;
}

body.admin-app { background: var(--cream); }

/* Deeper gold than the public site so the white button text stays readable in sunlight */
body.admin-app .btn-gold {
  background: linear-gradient(160deg, var(--gold), var(--gold-dark));
}

/* ---------- Login ---------- */
#loginView {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: 24px 18px;
  background:
    radial-gradient(1100px 480px at 50% -8%, rgba(217, 161, 68, 0.16), transparent 70%),
    var(--cream);
}
#loginView .login-card { margin: 0; width: 100%; }
#loginView .login-sub {
  font-size: 0.72rem; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 700; margin: -12px 0 18px;
}
#loginView input { font-size: 16px; }
#loginView .btn { min-height: 50px; }
#otpCode { text-align: center; font-size: 1.45rem; font-weight: 700; letter-spacing: 9px; }

/* ---------- App shell ---------- */
#dashView { min-height: 100vh; padding-bottom: calc(84px + env(safe-area-inset-bottom)); }

.app-head {
  position: sticky; top: 0; z-index: 60; height: var(--head-h);
  display: flex; align-items: center; gap: 11px; padding: 0 14px;
  background: rgba(250, 243, 227, 0.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.app-head img { width: 42px; height: 42px; object-fit: contain; }
.app-head .t { line-height: 1.25; min-width: 0; }
.app-head .t .name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.02rem; }
.app-head .t .sub {
  font-size: 0.64rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 600; white-space: nowrap;
}
.app-head .updated { margin-left: auto; font-size: 0.72rem; color: var(--ink-soft); white-space: nowrap; }
.icon-btn {
  flex: 0 0 auto; width: var(--tap); height: var(--tap); border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--card); color: var(--gold-dark);
  font-size: 1.3rem; line-height: 1; cursor: pointer; transition: border-color 0.15s;
}
.icon-btn:hover { border-color: var(--gold); }
.icon-btn.spin { animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Tab bar (bottom on mobile, top row on desktop) ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: flex; background: var(--card);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(74, 55, 32, 0.10);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar button {
  flex: 1 1 0; min-height: 62px; border: none; background: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-family: 'Source Sans 3', sans-serif; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.4px; color: var(--ink-soft); -webkit-tap-highlight-color: transparent;
}
.tabbar button .ico { font-size: 1.3rem; line-height: 1.15; padding: 2px 16px; border-radius: 999px; }
.tabbar button.active { color: var(--brown); }
.tabbar button.active .ico { background: var(--cream-deep); }

/* ---------- Main / panels ---------- */
.app-main { max-width: 1020px; margin: 0 auto; padding: 16px 14px 30px; }
.panel { display: none; }
.panel.active { display: block; animation: fadein 0.18s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.section-title { font-size: 1.22rem; margin: 26px 0 12px; }
.panel > .section-title:first-child { margin-top: 4px; }
.hint { color: var(--ink-soft); font-size: 0.88rem; margin: 10px 2px 18px; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 3px 10px rgba(74, 55, 32, 0.05); padding: 18px;
}
.app-main > .demo-banner { margin-bottom: 14px; font-size: 0.84rem; padding: 8px 13px; text-align: left; }
#pwdNote { margin-bottom: 14px; margin-top: 0; }

.empty {
  text-align: center; color: var(--ink-soft); font-style: italic; padding: 34px 16px;
  background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius);
}
.result-line { font-size: 0.8rem; color: var(--ink-soft); margin: 4px 2px 10px; }

/* Loud notice when an active search/filter is hiding orders */
.hidden-note {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: #FFF6E3; border: 1.5px solid rgba(178, 106, 0, 0.4); border-radius: 12px;
  padding: 10px 14px; margin: 2px 0 10px;
  font: 600 0.9rem/1.4 'Source Sans 3', sans-serif; color: var(--ink);
}
.hidden-note strong { color: var(--amber); }
.hidden-note .hn-clear {
  margin-left: auto; min-height: 38px; padding: 7px 16px; cursor: pointer;
  background: var(--amber); border: 0; border-radius: 999px; color: #fff;
  font: 700 0.84rem 'Source Sans 3', sans-serif; letter-spacing: 0.3px; white-space: nowrap;
}

/* ---------- Overview ---------- */
.hero-tile {
  text-align: center; padding: 24px 18px; margin-bottom: 12px;
  background: linear-gradient(160deg, #FFFDF7, #FBF2DD);
}
.hero-tile .hero-num {
  font-family: 'Source Sans 3', sans-serif; font-weight: 800; font-size: 3rem;
  color: var(--gold-dark); line-height: 1.1; letter-spacing: -0.5px;
}
.hero-tile .hero-num .cur { font-size: 0.6em; font-weight: 700; opacity: 0.85; margin-right: 1px; }
.hero-tile .hero-lbl {
  font-size: 0.85rem; color: var(--ink-soft); font-weight: 600; margin-top: 3px;
}

.callout {
  width: 100%; text-align: left; display: flex; align-items: center; gap: 12px;
  background: #FFF6E3; border: 1.5px solid rgba(178, 106, 0, 0.4); border-radius: 12px;
  padding: 14px 16px; margin: 0 0 12px; cursor: pointer;
  font: 600 0.95rem/1.4 'Source Sans 3', sans-serif; color: var(--ink);
}
.callout .go { margin-left: auto; color: var(--amber); font-weight: 800; white-space: nowrap; }

.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 12px 0; }
@media (min-width: 640px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-tile {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 14px 9px; box-shadow: 0 3px 10px rgba(74, 55, 32, 0.05);
}
.stat-tile .num {
  font-family: 'Source Sans 3', sans-serif; font-size: 1.5rem; font-weight: 800;
  color: var(--brown); line-height: 1.25;
}
.stat-tile .lbl {
  font-size: 0.78rem; color: var(--ink-soft); font-weight: 600; margin-top: 1px;
  text-transform: none; letter-spacing: 0; /* styles.css's old admin rule uppercases otherwise */
}

.progress-card { display: grid; gap: 18px; margin: 12px 0; }
.progress-row .pr-top {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  font-weight: 700; font-size: 0.95rem;
}
.progress-row .pr-top .n { color: var(--gold-dark); white-space: nowrap; }
.bar {
  height: 12px; border-radius: 999px; background: rgba(192, 138, 62, 0.18);
  overflow: hidden; margin-top: 7px;
}
.bar.green { background: rgba(76, 122, 76, 0.16); }
.bar i {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-bright), var(--gold));
  transition: width 0.4s ease;
}
.bar.green i { background: var(--green); }

.gate-mini { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.gate-mini span {
  background: var(--cream-soft); border: 1px solid var(--cream-deep); border-radius: 8px;
  padding: 5px 11px; font-size: 0.88rem; font-weight: 600;
}

.quick-row { display: grid; gap: 10px; margin-top: 14px; }
@media (min-width: 640px) { .quick-row { grid-template-columns: 1fr 1fr; } }
.quick-row .btn { min-height: 52px; display: flex; align-items: center; justify-content: center; }

/* ---------- Orders toolbar (search + filter chips) ---------- */
.toolbar {
  position: sticky; top: var(--head-h); z-index: 30;
  background: var(--cream); padding: 8px 14px 4px; margin: 0 -14px 8px;
  border-bottom: 1px solid var(--line);
}
input[type="search"] {
  width: 100%; padding: 12px 16px; min-height: 48px;
  border: 1.5px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 16px; background: #fff; color: var(--ink);
  -webkit-appearance: none; appearance: none;
}
input[type="search"]:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(192, 138, 62, 0.15);
}
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 2px 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; min-height: 40px; padding: 7px 15px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--card); color: var(--brown);
  font: 700 0.86rem 'Source Sans 3', sans-serif; cursor: pointer; white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.chip .cnt { font-weight: 600; opacity: 0.65; margin-left: 4px; }
.chip.active { background: var(--brown); border-color: var(--brown); color: var(--cream); }
.chip.active .cnt { opacity: 0.85; }

/* ---------- Order cards ---------- */
.order-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 3px 10px rgba(74, 55, 32, 0.05); padding: 14px 16px; margin-bottom: 10px;
}
.oc-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.oc-num { font-weight: 800; letter-spacing: 0.5px; font-size: 0.92rem; }
.oc-total {
  margin-left: auto; font-family: 'Source Sans 3', sans-serif; font-weight: 800;
  font-size: 1.15rem; color: var(--gold-dark);
}
.oc-name { font-size: 1.12rem; font-weight: 700; margin-top: 6px; }
.oc-meta { color: var(--ink-soft); font-size: 0.86rem; margin-top: 1px; }
.oc-meta a { color: var(--gold-dark); font-weight: 600; text-decoration: none; word-break: break-all; }
.oc-meta a:hover { text-decoration: underline; }
.oc-party { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.oc-party span {
  background: var(--cream-soft); border: 1px solid var(--cream-deep); border-radius: 8px;
  padding: 4px 10px; font-size: 0.86rem; font-weight: 600;
}
.oc-flags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.oc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.act {
  min-height: var(--tap); padding: 9px 16px; border-radius: 10px; cursor: pointer;
  font: 700 0.86rem 'Source Sans 3', sans-serif; letter-spacing: 0.3px;
  border: 1.5px solid var(--line); background: #fff; color: var(--brown);
  transition: all 0.15s; flex: 1 1 auto;
}
@media (min-width: 640px) { .act { flex: 0 0 auto; } }
.act:hover { border-color: var(--gold); color: var(--gold-dark); }
.act:disabled { opacity: 0.55; cursor: default; }
.act-primary {
  background: linear-gradient(160deg, var(--gold-bright), var(--gold));
  border-color: transparent; color: #fff; box-shadow: 0 4px 12px rgba(192, 138, 62, 0.3);
}
.act-primary:hover { color: #fff; }
.act-danger { background: #fff; border-color: rgba(169, 68, 56, 0.45); color: var(--red); }
.act-danger:hover { border-color: var(--red); color: var(--red); background: rgba(169, 68, 56, 0.06); }

/* ---------- Add an EFT / cash order ---------- */
.add-order-row { margin: 2px 0 12px; }
.add-order-row .btn { min-height: 46px; display: inline-flex; align-items: center; }
.add-order { margin-bottom: 14px; }
.add-order h3 { margin: 0 0 6px; font-size: 1.15rem; }
.ao-grid { display: grid; gap: 10px; }
@media (min-width: 640px) { .ao-grid { grid-template-columns: 1fr 1fr 1fr; } .ao-grid > *:only-child { grid-column: 1 / -1; } }
.ao-grid input, .ao-grid select, .oc-edit input { font-size: 16px; }
.ao-grid select {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line);
  border-radius: 12px; background: #fff; color: var(--ink); font-family: inherit;
}
.ao-qty { display: grid; gap: 6px; }
.qty-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--cream-soft); border: 1px solid var(--cream-deep); border-radius: 12px; padding: 8px 8px 8px 14px;
}
.qty-lbl { font-weight: 700; }
.qty-lbl small { color: var(--ink-soft); font-weight: 600; margin-left: 4px; }
.qty-ctl { display: inline-flex; align-items: center; gap: 4px; }
.qty-ctl b { min-width: 34px; text-align: center; font-size: 1.15rem; font-family: 'Source Sans 3', sans-serif; }
.qty-ctl button {
  width: var(--tap); height: var(--tap); border-radius: 50%; border: 1.5px solid var(--line);
  background: #fff; color: var(--brown); font-size: 1.35rem; line-height: 1; cursor: pointer;
}
.qty-ctl button:hover:not(:disabled) { border-color: var(--gold); color: var(--gold-dark); }
.qty-ctl button:disabled { opacity: 0.35; cursor: default; }
.ao-tags { display: grid; gap: 8px; }
.ao-tags-title { font-weight: 700; font-size: 0.9rem; color: var(--ink-soft); }
.tag-detail { display: grid; gap: 8px; }
@media (min-width: 640px) { .tag-detail { grid-template-columns: 1fr 1fr; } }
.tag-detail input { font-size: 16px; }
.ao-check { display: flex; gap: 8px; align-items: center; font-size: 0.95rem; cursor: pointer; justify-self: start; }
.ao-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--gold-dark); }
.ao-total { font-size: 1.05rem; }
.ao-total strong { color: var(--gold-dark); font-size: 1.3rem; font-family: 'Source Sans 3', sans-serif; }
.ao-total small { color: var(--ink-soft); }
.ao-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ao-actions .btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; }
.settings-form .ao-actions .btn { width: auto; }
.ao-done { margin-top: 4px; }
.ao-done-title { font-weight: 800; font-size: 1.05rem; margin-bottom: 6px; }
.ao-done p { color: var(--ink-soft); font-size: 0.92rem; margin: 0 0 12px; }

/* Inline contact editing on an order card */
.oc-edit { display: grid; gap: 8px; margin-top: 8px; }
@media (min-width: 640px) { .oc-edit { grid-template-columns: 1fr 1fr 1fr; } .oc-edit .oc-edit-actions { grid-column: 1 / -1; } }
.oc-edit input { width: 100%; }
.oc-edit-actions { display: flex; flex-wrap: wrap; gap: 8px; }
a.act { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Status pills & flags (solid = readable in sunlight) ---------- */
.pill {
  display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: #fff;
}
.pill-paid { background: var(--green); }
.pill-demo { background: var(--ink-soft); }
.pill-pending { background: var(--amber); }
.pill-cancelled { background: var(--red); }
.flag {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px;
  border-radius: 999px; font-size: 0.78rem; font-weight: 700;
}
.flag-goodie {
  background: rgba(76, 122, 76, 0.12); color: var(--green);
  border: 1px solid rgba(76, 122, 76, 0.35);
}
.flag-in { background: var(--green); color: #fff; }
.flag-pay {
  background: rgba(154, 107, 43, 0.10); color: var(--gold-dark);
  border: 1px solid rgba(154, 107, 43, 0.35);
}

/* ---------- Gate ---------- */
.scan-cta { font-size: 1.02rem; padding: 18px; }
.checkin-row {
  display: flex; align-items: center; gap: 12px; background: var(--card);
  border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; margin-bottom: 8px;
}
.checkin-row .who { font-weight: 700; min-width: 0; }
.checkin-row .who small { display: block; color: var(--ink-soft); font-weight: 600; font-size: 0.78rem; }
.checkin-row .at { margin-left: auto; text-align: right; font-weight: 800; color: var(--green); white-space: nowrap; }
.checkin-row .at small { display: block; color: var(--ink-soft); font-weight: 600; font-size: 0.7rem; letter-spacing: 1px; text-transform: uppercase; }

.tag-card {
  display: flex; align-items: center; gap: 12px; background: var(--card);
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px;
}
.tag-card .dog { font-weight: 800; font-size: 1.02rem; }
.tag-card .sub { color: var(--ink-soft); font-size: 0.82rem; }
.tag-card .cell {
  margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 5px;
  white-space: nowrap;
}
.tag-card .cell a { font-weight: 700; color: var(--gold-dark); text-decoration: none; }
.tag-card .cell a:hover { text-decoration: underline; }

/* ---------- Settings ---------- */
.panel .card { margin-bottom: 6px; }
.pay-status { font-weight: 600; }
.key-info {
  display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem; color: var(--brown); background: var(--cream-soft);
  border: 1px solid var(--cream-deep); border-radius: 8px; padding: 5px 10px;
  margin-top: 8px; word-break: break-all;
}
.key-info:empty { display: none; }
.settings-form { display: grid; gap: 10px; margin-top: 14px; }
.settings-form input, .settings-form textarea { font-size: 16px; }
.settings-form .btn { width: 100%; min-height: 48px; }
@media (min-width: 640px) {
  .settings-form .btn { width: auto; justify-self: start; }
  .settings-form.row { grid-template-columns: 1fr auto auto; align-items: center; }
  .settings-form.row .btn { justify-self: auto; }
}
.btn-danger-outline { border-color: rgba(169, 68, 56, 0.6); color: var(--red); }
.btn-danger-outline:hover { background: var(--red); border-color: var(--red); color: #fff; }
.dl-row { display: grid; gap: 10px; margin-top: 12px; }
@media (min-width: 640px) { .dl-row { grid-template-columns: 1fr 1fr; } }
.dl-row .btn { min-height: 50px; display: flex; align-items: center; justify-content: center; }
.settings-foot { text-align: center; margin: 22px 0 6px; font-size: 0.85rem; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; transform: translateX(-50%) translateY(8px);
  bottom: calc(88px + env(safe-area-inset-bottom));
  background: var(--brown); color: var(--cream); border-radius: 12px; padding: 12px 20px;
  font: 600 0.92rem/1.45 'Source Sans 3', sans-serif; text-align: center;
  max-width: min(92vw, 480px); z-index: 90; box-shadow: 0 10px 26px rgba(51, 39, 15, 0.3);
  opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.err { background: var(--red); color: #fff; }

/* ---------- Desktop layout ---------- */
@media (min-width: 880px) {
  #dashView { padding-bottom: 46px; }
  .tabbar {
    position: sticky; top: var(--head-h); bottom: auto;
    justify-content: center; gap: 8px; padding: 0 14px;
    background: rgba(250, 243, 227, 0.96); backdrop-filter: blur(8px);
    border-top: none; border-bottom: 1px solid var(--line); box-shadow: none;
  }
  .tabbar button {
    flex: 0 0 auto; flex-direction: row; gap: 8px; min-height: 52px; padding: 0 20px;
    font-size: 0.85rem; letter-spacing: 1.2px; text-transform: uppercase;
  }
  .tabbar button .ico { font-size: 1.05rem; padding: 0; border-radius: 0; }
  .tabbar button.active .ico { background: none; }
  .tabbar button.active { color: var(--gold-dark); box-shadow: inset 0 -3px 0 var(--gold); }
  .toolbar { top: calc(var(--head-h) + 52px); padding-left: 24px; padding-right: 24px; margin-left: -24px; margin-right: -24px; }
  .toast { bottom: 30px; }
  .app-main { padding: 22px 24px 40px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .panel.active { animation: none; }
  .icon-btn.spin { animation: none; }
  .bar i { transition: none; }
  .btn, .btn:hover { transform: none; }
}

/* ---------- Vendors & sponsors ---------- */
.section-title .count { color: var(--ink-soft); font-weight: 600; font-size: 0.9em; }
.vendor-add select {
  font-size: 16px; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line);
  border-radius: 10px; background: #fff; color: var(--ink); font-family: inherit;
}
.file-pick {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  border: 1.5px dashed var(--line); border-radius: 12px; padding: 10px 12px; background: var(--cream-soft);
  transition: border-color 0.15s;
}
.file-pick:hover, .file-pick:focus-within { border-color: var(--gold); }
.file-pick input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.file-pick .fp-thumb {
  flex: 0 0 auto; width: 56px; height: 56px; border-radius: 10px; background: #fff;
  border: 1px solid var(--cream-deep); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; overflow: hidden;
}
.file-pick .fp-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.file-pick .fp-text { font-weight: 700; font-size: 0.95rem; color: var(--brown); line-height: 1.3; }
.file-pick .fp-text small { display: block; font-weight: 600; color: var(--ink-soft); font-size: 0.78rem; margin-top: 2px; }
.file-pick.has-file .fp-text { color: var(--gold-dark); }

.vendor-row {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 12px; margin-bottom: 8px;
}
.vendor-row.busy { opacity: 0.55; pointer-events: none; }
.vr-thumb {
  flex: 0 0 auto; width: 58px; height: 58px; border-radius: 12px; background: #fff;
  border: 1px solid var(--cream-deep); display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.vr-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.vr-thumb .initials {
  font-family: 'Playfair Display', serif; font-weight: 900; font-size: 1.15rem;
  color: var(--gold-dark); letter-spacing: 1px;
}
.vr-name { flex: 1 1 140px; min-width: 0; font-weight: 700; font-size: 1.02rem; line-height: 1.25; overflow-wrap: anywhere; }
.vr-name small { display: block; color: var(--ink-soft); font-weight: 600; font-size: 0.76rem; margin-top: 2px; }
.vr-actions { display: flex; gap: 6px; flex-wrap: wrap; flex: 1 1 100%; }
@media (min-width: 640px) { .vr-actions { flex: 0 0 auto; margin-left: auto; } }
.vr-actions .act { flex: 1 1 auto; padding: 7px 12px; font-size: 0.8rem; min-height: 40px; }
@media (min-width: 640px) { .vr-actions .act { flex: 0 0 auto; } }
.vr-actions .act.vr-ico { flex: 0 0 auto; width: 40px; padding: 0; font-size: 0.85rem; }
.vr-actions .act.vr-ico:disabled { opacity: 0.35; }
.vr-actions label.act { display: inline-flex; align-items: center; justify-content: center; }
.vr-actions label.act input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

/* ---------- Admin list (Settings → Admin access) ---------- */
.admin-list { display: grid; gap: 8px; margin-top: 14px; }
.admin-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--cream-soft); border: 1px solid var(--cream-deep); border-radius: 10px; padding: 9px 12px;
}
.admin-row .ar-email { font-weight: 700; overflow-wrap: anywhere; min-width: 0; }
.admin-row .ar-lock {
  margin-left: auto; font-size: 0.76rem; font-weight: 700; color: var(--ink-soft);
  letter-spacing: 0.3px; white-space: nowrap;
}
.admin-row .act { margin-left: auto; flex: 0 0 auto; padding: 6px 12px; min-height: 36px; font-size: 0.8rem; }
