/* =====================================================================
   VERTICAL ARTS — Design System 2026
   Editorial / Collage / Paper aesthetic
   ===================================================================== */

/* ── Tokens ── */
:root {
  --paper:       #f4f0e6;
  --paper-light: #faf7ef;
  --paper-dark:  #e8e2d5;
  --ink:         #181816;
  --muted-ink:   #59584f;
  --olive:       #4d5f2f;
  --olive-dark:  #2f3e1f;
  --olive-light: #a9af8d;
  --sage-paper:  #dfe2d2;
  --mustard:     #e2ae24;
  --dusty-pink:  #d9aaa0;
  --burgundy:    #81313f;
  --line:        rgba(24,24,22,0.55);
  --soft-line:   rgba(24,24,22,0.18);

  /* spacing */
  --s1: 6px;  --s2: 10px; --s3: 16px;
  --s4: 24px; --s5: 36px; --s6: 56px;

  /* keep legacy compat */
  --bg:          var(--paper);
  --surface:     var(--paper-light);
  --text:        var(--ink);
  --muted:       var(--muted-ink);
  --border:      var(--soft-line);
  --primary:     var(--olive);
  --primary-dark: var(--olive-dark);
  --danger:      #b42318;
  --radius-lg:   4px;
  --radius-md:   3px;
  --radius-sm:   2px;
}

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 {
  font-family: "Archivo Black", "Anton", Impact, sans-serif;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.9;
  margin: 0;
  color: var(--ink);
}

p { margin: 0 0 var(--s3); color: var(--muted-ink); }
a { color: inherit; }
img { display: block; max-width: 100%; }

/* ── Page shell ── */
.page { padding-inline: 18px; }
.page-inner { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }

/* ── Dashed divider ── */
.divider {
  border: 0;
  border-top: 2px dashed var(--ink);
  margin: var(--s5) 0;
}
.divider--soft { border-top-color: var(--soft-line); }

/* ── Site header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  padding: 14px 20px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  border-bottom: 2px dashed var(--ink);
}
.site-header__brand {
  display: flex;
  justify-content: center;
  align-items: center;
}
.site-header__logo { height: 28px; width: auto; }
.site-header__menu-btn,
.site-header__icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  text-decoration: none;
}
.site-header__menu-btn:hover,
.site-header__icon-btn:hover { background: var(--paper-dark); }
.site-header__menu-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  display: block;
  text-align: center;
  line-height: 1;
  margin-top: 2px;
}
.site-header__icon-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  display: block;
  text-align: center;
  line-height: 1;
  margin-top: 2px;
}

/* ── Drawer (mobile nav) ── */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}
.nav-drawer:not([hidden]) { pointer-events: all; }
.nav-drawer[hidden] { display: none; }
.nav-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24,24,22,0.5);
}
.nav-drawer__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  background: var(--paper-light);
  padding: var(--s5) var(--s4);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  border-right: 2px dashed var(--ink);
}
.nav-drawer__close {
  align-self: flex-end;
  background: none;
  border: 1px solid var(--ink);
  padding: 6px 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  cursor: pointer;
  margin-bottom: var(--s3);
  border-radius: 2px;
}
.nav-drawer__link {
  font-family: "IBM Plex Mono", monospace;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  padding: var(--s2) 0;
  border-bottom: 1px dotted var(--soft-line);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nav-drawer__link:hover { color: var(--olive); }

/* ── Editorial buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  min-height: 44px;
  line-height: 1;
  transition: background 0.12s, color 0.12s;
}
.btn--primary { background: var(--olive); color: var(--paper-light); border-color: var(--olive); }
.btn--primary:hover { background: var(--olive-dark); border-color: var(--olive-dark); }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--secondary:hover { background: var(--paper-dark); }
.btn--olive-outline { background: transparent; color: var(--olive); border-color: var(--olive); }
.btn--small { padding: 8px 14px; font-size: 0.7rem; min-height: 36px; }

/* ── Paper card ── */
.paper-card {
  position: relative;
  background: var(--paper-light);
  border: 1px solid rgba(24,24,22,0.08);
  box-shadow: 0 8px 20px rgba(35,31,24,0.1);
  border-radius: 3px;
  padding: var(--s4);
}
.paper-card.taped::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 30px;
  top: -16px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  background: rgba(220,215,198,0.7);
  backdrop-filter: blur(2px);
  z-index: 1;
}

/* ── Section heading ── */
.section-title {
  font-family: "Archivo Black", "Anton", sans-serif;
  font-size: clamp(1.3rem, 4vw, 2rem);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: var(--s4);
}
.section-eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-ink);
  margin-bottom: var(--s2);
}

/* ── Schedule rows ── */
.sched-table { width: 100%; border-collapse: collapse; }
.sched-row {
  display: grid;
  grid-template-columns: 46px 62px 1fr auto;
  gap: 10px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px dotted var(--line);
  font-family: "IBM Plex Mono", monospace;
}
.sched-row__day  { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; color: var(--muted-ink); text-transform: uppercase; }
.sched-row__time { font-size: 0.82rem; color: var(--ink); }
.sched-row__name { font-size: 0.88rem; font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: 0.02em; }
.sched-row__level { font-size: 0.7rem; color: var(--muted-ink); text-align: right; white-space: nowrap; }

/* ── Membership rows ── */
.memb-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s4);
  padding: 12px 0;
  border-bottom: 1px dotted var(--line);
  font-family: "IBM Plex Mono", monospace;
}
.memb-row.featured {
  background: rgba(77,95,47,0.18);
  padding-inline: 12px;
  margin-inline: -12px;
}
.memb-row__name  { font-size: 0.88rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink); }
.memb-row__desc  { font-size: 0.75rem; font-style: italic; color: var(--muted-ink); margin-top: 2px; }
.memb-row__price { font-size: 0.88rem; font-weight: 700; color: var(--ink); white-space: nowrap; align-self: center; }
.memb-row__badge {
  display: inline-block;
  background: var(--olive);
  color: var(--paper-light);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 2px;
  margin-right: 6px;
  vertical-align: middle;
}

/* ── Stamp / label ── */
.stamp {
  display: inline-block;
  border: 2px solid currentColor;
  padding: 3px 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  line-height: 1.4;
}
.stamp--olive  { color: var(--olive); }
.stamp--ink    { color: var(--ink); }
.stamp--mustard { color: var(--mustard); }
.stamp--burgundy { color: var(--burgundy); }

/* ── Values strip ── */
.values-strip {
  display: flex;
  gap: 0;
  border-top: 2px dashed var(--ink);
  border-bottom: 2px dashed var(--ink);
  padding: 14px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.values-strip::-webkit-scrollbar { display: none; }
.values-strip__item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 130px;
  padding-inline: var(--s3);
  border-right: 1px solid var(--soft-line);
}
.values-strip__item:last-child { border-right: none; }
.values-strip__label { font-family: "IBM Plex Mono", monospace; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink); line-height: 1.2; }
.values-strip__sub   { font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; font-style: italic; color: var(--muted-ink); }

/* ── Flash messages ── */
.flash-list { list-style: none; margin: var(--s3) 0; padding: 0; }
.flash { padding: 10px 14px; border-radius: 3px; font-family: "IBM Plex Mono", monospace; font-size: 0.82rem; margin-bottom: 6px; border-left: 3px solid currentColor; }
.flash.success { background: #e8f5e0; color: #2a4d0e; }
.flash.error   { background: #ffe8e8; color: var(--danger); }
.flash.info    { background: #e8f0ff; color: #2a3a6e; }

/* ── Container fallback ── */
.container { max-width: 1100px; margin: 0 auto; padding-inline: 18px; }
main.container { padding-top: 0; }

/* ── Legacy card (admin pages) ── */
.card {
  background: var(--paper-light);
  border: 1px solid rgba(24,24,22,0.12);
  border-radius: 4px;
  padding: var(--s4);
  margin-bottom: var(--s4);
  box-shadow: 0 4px 12px rgba(35,31,24,0.07);
}
.card h2 {
  font-family: "Archivo Black","Anton",sans-serif;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  margin-bottom: var(--s3);
}

/* ── Generic table ── */
table { width: 100%; border-collapse: collapse; font-family: "IBM Plex Mono",monospace; font-size: 0.82rem; }
th { text-align: left; padding: 8px 10px; border-bottom: 2px solid var(--ink); font-weight: 700; text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.08em; }
td { padding: 8px 10px; border-bottom: 1px dotted var(--soft-line); vertical-align: middle; }

/* ── Form elements ── */
input[type="text"], input[type="email"], input[type="password"],
input[type="number"], input[type="search"], input[type="date"],
input[type="time"], select, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid rgba(24,24,22,0.35);
  border-radius: 3px;
  background: var(--paper-light);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
  color: var(--ink);
  transition: border-color 0.15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 2px rgba(77,95,47,0.18);
}
label { display: block; font-family: "IBM Plex Mono",monospace; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 5px; color: var(--muted-ink); }

/* ── Generic button fallback ── */
button, .button, .button-primary, .button-secondary {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 3px;
  padding: 10px 18px;
  border: 1.5px solid var(--ink);
  cursor: pointer;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  transition: background 0.12s;
}
button:hover, .button:hover { background: var(--paper-dark); }
.button-primary { background: var(--olive); color: var(--paper-light); border-color: var(--olive); }
.button-primary:hover { background: var(--olive-dark); border-color: var(--olive-dark); }
.link-like { background: none; border: none; padding: 0; font: inherit; cursor: pointer; color: var(--olive); text-decoration: underline; min-height: auto; }

/* ── Stack helper ── */
.stack { display: flex; flex-direction: column; gap: var(--s3); }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.muted { color: var(--muted-ink); }
.actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }

/* ── Admin header ── */
.admin-header { padding: var(--s4) 0; }
.admin-header h1 { font-family: "Archivo Black","Anton",sans-serif; font-size: clamp(1.6rem,4vw,2.4rem); letter-spacing: -0.04em; }

/* ── Admin tabs (new style) ── */
.admin-top-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px dashed var(--ink);
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: var(--s4);
}
.admin-top-nav::-webkit-scrollbar { display: none; }
.admin-top-nav .tab {
  font-family: "IBM Plex Mono",monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 16px;
  text-decoration: none;
  color: var(--muted-ink);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
  transition: color 0.12s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.admin-top-nav .tab:hover { color: var(--ink); }
.admin-top-nav .tab.active { color: var(--ink); border-bottom-color: var(--ink); }
.tab-badge {
  background: var(--mustard);
  color: var(--ink);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 2px;
}
.tab-underline { display: none; }

/* ── Admin sub nav ── */
.admin-sub-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px dashed var(--soft-line);
  margin-bottom: var(--s4);
  overflow-x: auto;
  scrollbar-width: none;
}
.admin-sub-nav .tab { font-size: 0.68rem; padding: 8px 14px; }

/* ── User account tabs ── */
.account-page .tab {
  font-family: "IBM Plex Mono",monospace;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 10px 14px;
  color: var(--muted-ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.account-page .tab--active { color: var(--ink); border-bottom-color: var(--ink); }

/* ── Print-style hr ── */
hr { border: 0; border-top: 1px dotted var(--soft-line); margin: var(--s3) 0; }

/* ── Status pills ── */
.status-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 2px;
  font-family: "IBM Plex Mono",monospace;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.status-pill.ok, .status-pill.active  { background: rgba(77,95,47,0.18); color: var(--olive-dark); }
.status-pill.warn, .status-pill.waiting { background: rgba(226,174,36,0.2); color: #6b4d00; }
.status-pill.danger { background: rgba(129,49,63,0.12); color: var(--burgundy); }
.status-pill.muted  { background: var(--paper-dark); color: var(--muted-ink); }

/* ── Responsive ── */
@media (max-width: 600px) {
  .sched-row { grid-template-columns: 38px 54px 1fr; }
  .sched-row__level { grid-column: 3; font-size: 0.68rem; color: var(--muted-ink); }
}

/* ── va-redesign admin shell keeps working ── */
.va-redesign { background: var(--paper); }

/* ── Admin header: always show hamburger + gear on all screen sizes ── */
.va-admin-shell .va-header__inner {
  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  min-height: 60px;
}
.va-admin-shell .va-mobile-btn--menu {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid rgba(78,93,48,0.25);
  cursor: pointer;
  color: var(--ink);
}
.va-admin-shell .va-header__brand { justify-self: start; }
.va-admin-shell .va-header__user  { display: flex !important; align-items: center; gap: 10px; justify-self: end; }
.va-admin-shell .va-mobile-admin-pill {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fde8f0;
  color: #9c2858;
  text-decoration: none;
  flex: 0 0 36px;
}
.va-admin-shell .va-nav { display: none !important; }
.va-admin-shell .va-user-pill { display: none !important; }
.va-admin-shell .va-mobile-hello { display: none !important; }
.va-admin-shell .va-logout {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted-ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  border: none;
  padding: 0;
  border-radius: 0;
}
.va-admin-shell .va-logout:hover { color: var(--ink); }

/* ── Unified admin "Add" button ── */
.va-admin-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--olive);
  color: var(--paper-light);
  border: none;
  border-radius: 6px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.12s;
}
.va-admin-add-btn:hover { background: var(--olive-700, #3d5c25); }
/* ── Member header (same layout as admin) ── */
.va-member .va-header__inner {
  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  min-height: 60px;
}
.va-member .va-mobile-btn--menu {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid rgba(78,93,48,0.25);
  cursor: pointer;
  color: var(--ink);
}
.va-member .va-header__brand { justify-self: start; }
.va-member .va-header__user  { display: flex !important; align-items: center; gap: 10px; justify-self: end; }
.va-member .va-header__user-name {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted-ink);
  white-space: nowrap;
}
.va-member .va-mobile-admin-pill {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fde8f0;
  color: #9c2858;
  text-decoration: none;
  flex: 0 0 36px;
  border: none;
  padding: 0;
}
.va-member .va-logout {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted-ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  border: none;
  padding: 0;
  border-radius: 0;
}
.va-member .va-logout:hover { color: var(--ink); }
.va-admin-shell .container,
.va-member .container { max-width: 1100px; }

/* ── va-header (admin/member) ── */
.va-header,
.va-header--member {
  background: var(--paper) !important;
  border-bottom: 2px dashed var(--ink) !important;
  position: sticky;
  top: 0;
  z-index: 100;
}
.va-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 10px 20px;
  min-height: 60px;
}
.va-header__logo { height: 28px; width: auto; display: block; }
.va-nav { display: flex; gap: 20px; justify-content: center; }
.va-nav__item {
  font-family: "IBM Plex Mono",monospace;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-ink);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.va-nav__item:hover, .va-nav__item.is-active { color: var(--ink); border-bottom-color: var(--ink); }
.va-user-pill { display: flex; align-items: center; gap: 8px; font-family: "IBM Plex Mono",monospace; font-size: 0.72rem; color: var(--muted-ink); }
.va-logout {
  font-family: "IBM Plex Mono",monospace;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border: 1px solid var(--ink);
  border-radius: 2px;
}
.va-logout:hover { background: var(--paper-dark); }

/* mobile admin bits */
.va-mobile-btn {
  background: none;
  border: 1px solid rgba(24,24,22,0.25);
  border-radius: 2px;
  padding: 7px;
  cursor: pointer;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.va-mobile-btn:hover { background: var(--paper-dark); }
.va-mobile-admin-pill, .va-mobile-admin-pill--member {
  font-family: "IBM Plex Mono",monospace;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--ink);
  padding: 5px 10px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.va-mobile-hello { font-family: "IBM Plex Mono",monospace; font-size: 0.68rem; color: var(--muted-ink); }
.va-mobile-drawer {
  position: fixed; inset: 0; z-index: 200;
}
.va-mobile-drawer[hidden] { display: none; }
.va-mobile-drawer__backdrop { position: absolute; inset: 0; background: rgba(24,24,22,0.5); }
.va-mobile-drawer__panel {
  position: absolute; top: 0; left: 0; bottom: 0; width: 280px;
  background: var(--paper-light);
  border-right: 2px dashed var(--ink);
  padding: var(--s5) var(--s4);
  display: flex; flex-direction: column; gap: var(--s2);
}
.va-mobile-drawer--right .va-mobile-drawer__panel { left: auto; right: 0; border-left: 2px dashed var(--ink); border-right: none; }
.va-mobile-drawer__header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: var(--s4);
  padding-bottom: var(--s3);
  border-bottom: 1px dashed var(--soft-line);
}
.va-mobile-drawer__close {
  background: none; border: 1px solid var(--ink);
  padding: 5px 10px; font-family: "IBM Plex Mono",monospace;
  font-size: 0.7rem; cursor: pointer; border-radius: 2px;
}
.va-drawer-nav { display: flex; flex-direction: column; gap: 4px; }
.va-drawer-nav__item {
  font-family: "IBM Plex Mono",monospace;
  font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink); text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px dotted var(--soft-line);
}
.va-drawer-nav__item:hover, .va-drawer-nav__item.is-active { color: var(--olive); }
.va-drawer-logout {
  margin-top: auto;
  font-family: "IBM Plex Mono",monospace;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
}

/* ── pub header (public pages) ── */
.va-pub-header {
  background: var(--paper) !important;
  border-bottom: 2px dashed var(--ink) !important;
  position: sticky;
  top: 0;
  z-index: 100;
}
.va-pub-header__inner {
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  padding: 14px 20px;
}
.va-pub-header__logo { height: 28px; width: auto; display: block; margin: 0 auto; }
.va-pub-icon-btn {
  background: none; border: none;
  padding: 4px; cursor: pointer;
  color: var(--ink);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.52rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; gap: 3px; min-width: 44px; min-height: 44px;
}
.va-pub-icon-btn:hover { color: var(--olive); }
.va-pub-icon-btn__label { line-height: 1; }
.va-pub-drawer {
  position: fixed; inset: 0; z-index: 200;
}
.va-pub-drawer[hidden] { display: none; }

/* Force hidden attribute to work even when CSS sets display explicitly */
[hidden] { display: none !important; }
.va-pub-drawer__backdrop { position: absolute; inset: 0; background: rgba(24,24,22,0.5); }
.va-pub-drawer__panel {
  position: absolute; top: 0; left: 0; bottom: 0; width: 260px;
  background: var(--paper-light);
  border-right: 2px dashed var(--ink);
  padding: var(--s5) var(--s4);
  display: flex; flex-direction: column; gap: 0;
}
.va-pub-drawer__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: var(--s4);
  padding-bottom: var(--s3);
  border-bottom: 1px dashed var(--soft-line);
}
.va-pub-drawer__nav { display: flex; flex-direction: column; gap: 4px; }
.va-pub-drawer__nav a {
  font-family: "IBM Plex Mono",monospace;
  font-size: 0.88rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--ink); text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px dotted var(--soft-line);
}
.va-pub-drawer__nav a:hover { color: var(--olive); }

/* ── Membership history table ── */
.memberships-history-table { width: 100%; border-collapse: collapse; }
.memberships-history-table th { font-family: "IBM Plex Mono",monospace; }
.memberships-history-table td { font-family: "IBM Plex Mono",monospace; font-size: 0.8rem; }
.mem-status { padding: 2px 8px; border-radius: 2px; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; }
.mem-status--active { background: rgba(77,95,47,0.18); color: var(--olive-dark); }
.mem-status--past   { background: var(--paper-dark); color: var(--muted-ink); }

/* ── Admin bingo ── */
.bingo-admin { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 32px; align-items: start; }
@media (max-width: 760px) { .bingo-admin { grid-template-columns: 1fr; } }

/* ── Visually hidden ── */
.va-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; }

/* ── Dash admin (redesign dashboard) ── */
.dash { padding: 0 0 40px; }
.dash__header { padding: 24px 20px 12px; }
.dash__title { margin: 0 0 6px; font-family: "Archivo Black","Anton",sans-serif; font-size: 1.6rem; font-weight: 900; color: var(--ink); display: flex; align-items: center; gap: 0; letter-spacing: -0.04em; }
.dash__sub { margin: 0; font-size: 0.82rem; color: var(--muted-ink); }

.dash-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 20px 16px; }
.dash-stat { background: var(--paper-light); border-radius: 3px; padding: 16px; display: flex; flex-direction: column; gap: 4px; border: 1px solid rgba(24,24,22,0.12); text-decoration: none; color: inherit; }
.dash-stat--muted { cursor: default; }
.dash-stat__icon { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.dash-stat__icon--tan { background: #f0ece0; }
.dash-stat__icon--rose { background: #fde8e8; }
.dash-stat__icon--amber { background: #fdf0cc; }
.dash-stat__label { margin: 0; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-ink); font-family: "IBM Plex Mono",monospace; }
.dash-stat__value { margin: 0; font-size: 2rem; font-weight: 900; color: var(--ink); line-height: 1.1; font-family: "Archivo Black","Anton",sans-serif; }
.dash-stat__value--em { color: #aaa; font-size: 1.6rem; }
.dash-stat__hint { margin: 4px 0 0; font-size: 0.68rem; color: var(--muted-ink); font-family: "IBM Plex Mono",monospace; }
.dash-stat__trend { align-self: flex-end; margin-top: auto; }

.dash-card { background: var(--paper-light); border-radius: 3px; margin: 0 20px 12px; border: 1px solid rgba(24,24,22,0.12); }
.dash-card__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 0; }
.dash-card__title { margin: 0; font-family: "Archivo Black","Anton",sans-serif; font-size: 0.9rem; color: var(--ink); text-transform: uppercase; letter-spacing: -0.01em; }
.dash-card__link { font-family: "IBM Plex Mono",monospace; font-size: 0.72rem; font-weight: 700; color: var(--olive); text-decoration: none; display: flex; align-items: center; gap: 4px; }
.dash-card__link:hover { text-decoration: underline; }
.dash-empty { padding: 12px 16px 16px; font-size: 0.82rem; color: var(--muted-ink); font-style: italic; margin: 0; font-family: "IBM Plex Mono",monospace; }
.dash-task-list { list-style: none; margin: 8px 0 0; padding: 0; }
.dash-task { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-top: 1px dotted var(--soft-line); }
.dash-task__check { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(24,24,22,0.2); flex: 0 0 auto; }
.dash-task__label { flex: 1; font-family: "IBM Plex Mono",monospace; font-size: 0.82rem; color: var(--ink); }
.dash-task__badge { background: var(--sage-paper); color: var(--ink); font-family: "IBM Plex Mono",monospace; font-size: 0.68rem; font-weight: 700; padding: 2px 7px; border-radius: 2px; }
.dash-activity-list { list-style: none; margin: 8px 0 0; padding: 0; }
.dash-activity { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px dotted var(--soft-line); }
.dash-activity__icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.dash-activity__icon--member { background: var(--sage-paper); }
.dash-activity__body { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.dash-activity__label { font-family: "IBM Plex Mono",monospace; font-size: 0.78rem; font-weight: 700; color: var(--ink); }
.dash-activity__sub { font-family: "IBM Plex Mono",monospace; font-size: 0.72rem; color: var(--muted-ink); }
.dash-activity__time { font-family: "IBM Plex Mono",monospace; font-size: 0.7rem; color: var(--muted-ink); white-space: nowrap; }
.dash-quick { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; padding: 12px 16px 16px; }
.dash-quick-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; border-radius: 3px; background: var(--paper-dark); text-decoration: none; font-family: "IBM Plex Mono",monospace; font-size: 0.68rem; font-weight: 700; color: var(--ink); text-align: center; border: 1px solid rgba(24,24,22,0.12); text-transform: uppercase; letter-spacing: 0.06em; }
.dash-quick-btn:hover { background: var(--sage-paper); }
@media (max-width: 500px) { .dash-stats { grid-template-columns: 1fr 1fr; gap: 8px; } .dash-quick { grid-template-columns: repeat(2,1fr); } }

/* ── Admin heading font consistency ── */
.va-admin-header__title,
.dash__title,
.card h2,
.card h3 {
  font-family: "Archivo Black", "Anton", Impact, sans-serif !important;
  letter-spacing: -0.03em;
}
