:root {
  --display: "Bodoni Moda", "Times New Roman", serif;
  --sans: "Instrument Sans", "Helvetica Neue", sans-serif;
  --sidebar-width: 264px;
  --topbar-height: 82px;
  --gold: #c9a767;
  --gold-bright: #e2c17f;
  --gold-soft: rgba(201, 167, 103, .16);
  --gold-line: rgba(201, 167, 103, .42);
  --success: #c8aa72;
  --danger: #c3786e;
  --warning: #d5ad68;
  --ease: cubic-bezier(.22, .74, .2, 1);
  color-scheme: dark;
}

html[data-theme="dark"] {
  --bg: #0b0b0b;
  --bg-deep: #080808;
  --panel: #111111;
  --panel-raised: #171717;
  --panel-soft: #141414;
  --text: #f1ede3;
  --text-strong: #fffaf0;
  --muted: #aaa79f;
  --muted-2: #96918a;
  --line: rgba(234, 227, 210, .14);
  --line-strong: rgba(234, 227, 210, .24);
  --shadow: 0 24px 80px rgba(0, 0, 0, .42);
  --image-filter: saturate(.92) contrast(1.04);
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: #f3efe6;
  --bg-deep: #eae4d8;
  --panel: #fbf8f1;
  --panel-raised: #fffdf8;
  --panel-soft: #eee9df;
  --text: #1b1b1b;
  --text-strong: #0a0a0a;
  --muted: #66635d;
  --muted-2: #6c6963;
  --gold: #8b6425;
  --gold-bright: #76521a;
  --gold-soft: rgba(139, 100, 37, .12);
  --gold-line: rgba(118, 82, 26, .42);
  --success: #806025;
  --danger: #91443a;
  --warning: #80602a;
  --line: rgba(28, 28, 24, .13);
  --line-strong: rgba(28, 28, 24, .24);
  --shadow: 0 24px 80px rgba(56, 47, 31, .12);
  --image-filter: saturate(.82) contrast(1.02);
  color-scheme: light;
}

html[data-theme="light"] ::selection {
  color: #fffdf8;
}

html[data-theme="light"] .nav-item b,
html[data-theme="light"] .notification-dot,
html[data-theme="light"] .count-badge {
  color: #fffdf8;
}

html[data-theme="light"] .button.is-confirmed,
html[data-theme="light"] .button-gold.is-confirmed {
  color: var(--success);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% -10%, rgba(201, 167, 103, .08), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

button:not(:disabled),
summary {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

::selection {
  background: var(--gold);
  color: #0d0d0d;
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ambient-grain {
  position: fixed;
  z-index: 100;
  inset: 0;
  opacity: .035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.is-hidden {
  display: none !important;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .27em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow-light {
  color: rgba(255, 249, 235, .76);
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--text-strong);
  font-family: var(--display);
  font-weight: 400;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(44px, 5.2vw, 76px);
  letter-spacing: -.045em;
  line-height: .98;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -.035em;
  line-height: 1.08;
}

h3 {
  margin-bottom: 8px;
  font-size: 24px;
  letter-spacing: -.025em;
  line-height: 1.12;
}

.display-subtitle {
  margin: 0;
  color: var(--gold);
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 28px);
  font-style: italic;
  line-height: 1.3;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, color .25s;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button svg {
  width: 17px;
  height: 17px;
}

.button-gold {
  background: linear-gradient(135deg, #e1c384, #b99250);
  box-shadow: inset 0 1px rgba(255, 255, 255, .28), 0 8px 24px rgba(169, 130, 65, .14);
  color: #13120f;
}

.button-gold:hover {
  background: linear-gradient(135deg, #ebd39c, #c8a564);
}

.button.is-confirmed,
.button-gold.is-confirmed {
  border-color: rgba(200, 170, 114, .5);
  background: rgba(200, 170, 114, .14);
  color: #ead6af;
}

.button-outline {
  border-color: var(--line-strong);
  color: var(--text);
}

.button-outline:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.button-light {
  background: #f5efe2;
  color: #111111;
}

.button-ghost-light {
  border-color: rgba(255, 255, 255, .42);
  color: #fffaf0;
}

.button-full {
  width: 100%;
}

.button-tall {
  min-height: 58px;
}

.text-button,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  color: var(--gold);
  font-family: var(--display);
  font-size: 15px;
  font-style: italic;
  transition: color .2s;
}

.text-link:hover,
.text-button:hover {
  color: var(--gold-bright);
}

.text-link svg {
  width: 16px;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  transition: border-color .2s, color .2s, background .2s;
}

.icon-button:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.status {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .11em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-complete {
  border-color: rgba(200, 170, 114, .35);
  background: rgba(200, 170, 114, .1);
  color: var(--success);
}

.status-progress,
.status-gold {
  border-color: var(--gold-line);
  background: var(--gold-soft);
  color: var(--gold-bright);
}

.trend {
  color: var(--gold);
  font-size: 11px;
}

.trend-up {
  color: var(--success);
}

.app-shell {
  min-height: 100vh;
}

.brand-frame {
  position: fixed;
  z-index: 19;
  inset: 12px 12px 12px calc(var(--sidebar-width) + 12px);
  border: 42px solid transparent;
  border-image-source: url("./assets/wolf-club-contours.png");
  border-image-slice: 180 150;
  border-image-width: 42px 30px;
  border-image-outset: 0;
  border-image-repeat: stretch;
  opacity: .16;
  pointer-events: none;
}

[data-theme="light"] .brand-frame {
  opacity: .24;
}

.sidebar {
  position: fixed;
  z-index: 30;
  inset: 0 auto 0 0;
  width: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(201, 167, 103, .035), transparent 26%),
    var(--bg-deep);
  transition: transform .35s var(--ease);
}

.brand {
  position: relative;
  min-height: 176px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 26px 20px 18px;
  color: var(--gold);
  text-align: center;
}

.brand-monogram {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 29px;
  line-height: 1;
}

.brand-logo {
  width: min(190px, 90%);
  height: auto;
  margin: 1px 0 2px;
  filter: brightness(1.65) sepia(.35) saturate(.75);
}

[data-theme="light"] .brand-logo {
  filter: sepia(.12) saturate(.85);
}

.brand strong {
  color: var(--text-strong);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.brand small {
  margin-top: 3px;
  color: var(--gold);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
}

.brand-divider {
  position: relative;
  width: 52px;
  height: 14px;
  display: block;
  margin-top: 11px;
}

.brand-divider::before,
.brand-divider::after {
  position: absolute;
  top: 7px;
  width: 20px;
  height: 1px;
  background: var(--gold);
  content: "";
}

.brand-divider::before {
  left: 0;
}

.brand-divider::after {
  right: 0;
}

.brand-divider i {
  position: absolute;
  top: 4px;
  left: calc(50% - 3px);
  width: 6px;
  height: 6px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.brand-corners {
  position: absolute;
  z-index: 0;
  inset: 8px 8px auto;
  height: 86px;
  pointer-events: none;
}

.brand-corners i {
  position: absolute;
  top: 0;
  width: 72px;
  height: 66px;
  background-position: top left;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: .9;
}

.brand-corners i:first-child {
  left: 0;
  background-image: url("./assets/wolf-contour-corner-tl.png");
}

.brand-corners i:last-child {
  right: 0;
  background-image: url("./assets/wolf-contour-corner-tr.png");
}

[data-theme="dark"] .brand-corners i {
  filter: brightness(1.18) saturate(.95);
}

.main-nav {
  flex: 1;
  overflow-y: auto;
  padding: 6px 14px 18px;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.nav-item {
  position: relative;
  width: 100%;
  min-height: 49px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 14px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  text-align: left;
  transition: color .2s, border-color .2s, background .2s;
}

.nav-item::before {
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: -15px;
  width: 2px;
  background: var(--gold-bright);
  opacity: 0;
  content: "";
  transition: opacity .2s;
}

.nav-item:hover {
  color: var(--text);
}

.nav-item.is-active {
  border-color: var(--gold-line);
  background: linear-gradient(90deg, var(--gold-soft), transparent);
  color: var(--gold-bright);
}

.nav-item.is-active::before {
  opacity: 1;
}

.nav-item svg {
  width: 21px;
  height: 21px;
}

.nav-item span {
  flex: 1;
  font-family: var(--display);
  font-size: 16px;
}

.nav-item em,
.nav-item b {
  min-width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--panel-raised);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
}

.nav-item b {
  background: var(--gold);
  color: #15130e;
}

.nav-admin {
  display: none;
}

body[data-role="admin"] .nav-member {
  display: none;
}

body[data-role="admin"] .nav-admin {
  display: block;
}

.nav-section-label {
  margin: 12px 14px 10px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .23em;
  text-transform: uppercase;
}

.sidebar-footer {
  padding: 8px 24px 22px;
  text-align: center;
}

.sidebar-motto {
  display: flex;
  align-items: center;
  flex-direction: column;
  color: var(--gold);
  font-family: var(--display);
}

.sidebar-motto i {
  width: 54px;
  height: 1px;
  margin: 9px 0;
  background: var(--gold-line);
}

.sidebar-motto em {
  font-size: 14px;
  line-height: 1.25;
}

.sidebar-motto span {
  color: var(--muted);
  font-size: 12px;
  font-style: italic;
}

.sidebar-location {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.sidebar-location strong {
  font-family: var(--display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.sidebar-location small {
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: .06em;
}

.workspace {
  min-height: 100vh;
  margin-left: var(--sidebar-width);
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 28px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(18px);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-line {
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.topbar-left p {
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .27em;
  text-transform: uppercase;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar time {
  margin: 0 10px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 13px;
}

.topbar-separator {
  width: 1px;
  height: 34px;
  margin: 0 4px;
  background: var(--gold-line);
}

.search-trigger {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 9px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
}

.search-trigger:hover {
  border-color: var(--line);
  color: var(--text);
}

.search-trigger svg {
  width: 17px;
}

kbd {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--panel);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
}

.theme-icon {
  display: none;
}

html[data-theme="dark"] .theme-icon-sun,
html[data-theme="light"] .theme-icon-moon {
  display: block;
}

.notification-button {
  position: relative;
}

.notification-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  padding: 0 3px;
  border: 2px solid var(--bg);
  border-radius: 999px;
  background: var(--gold);
  color: #12120f;
  font-size: 8px;
  font-weight: 700;
}

.profile-trigger {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0;
  background: transparent;
  text-align: left;
}

.profile-trigger > svg {
  width: 14px;
  margin-left: 4px;
  transform: rotate(90deg);
}

.avatar {
  width: 43px;
  height: 43px;
  display: grid;
  flex: 0 0 43px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2c2b24, #0c0c0c);
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: 15px;
}

.avatar-large {
  width: 50px;
  height: 50px;
  flex-basis: 50px;
}

.profile-copy {
  display: flex;
  flex-direction: column;
}

.profile-copy strong {
  color: var(--text);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;
}

.profile-copy small {
  color: var(--muted);
  font-family: var(--display);
  font-size: 11px;
}

.mobile-menu {
  display: none;
}

.profile-menu {
  position: fixed;
  z-index: 70;
  top: 72px;
  right: 28px;
  width: 280px;
  padding: 10px;
  border: 1px solid var(--gold-line);
  background: var(--panel-raised);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s, transform .25s var(--ease), visibility 0s linear .25s;
}

.profile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

.profile-menu-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  padding: 12px 10px 18px;
  border-bottom: 1px solid var(--line);
}

.profile-menu-head div {
  display: flex;
  flex-direction: column;
}

.profile-menu-head strong {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
}

.profile-menu-head small {
  color: var(--muted);
  font-size: 10px;
}

.profile-menu > button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 10px;
  background: transparent;
  color: var(--muted);
  text-align: left;
}

.profile-menu > button:hover {
  background: var(--gold-soft);
  color: var(--text);
}

.profile-menu > button svg {
  width: 17px;
}

.content {
  width: min(1560px, 100%);
  margin: 0 auto;
  padding: 34px 30px 70px;
}

.view {
  display: none;
  animation: view-in .55s var(--ease) both;
}

.view.is-active {
  display: block;
}

@keyframes view-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-intro {
  display: grid;
  grid-template-columns: minmax(400px, 1fr) auto minmax(220px, .45fr);
  align-items: end;
  gap: 34px;
  margin-bottom: 28px;
}

.home-intro h1 {
  margin-bottom: 5px;
}

.home-membership-summary {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 8px 34px;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.home-membership-summary .fleur {
  color: var(--gold);
  font-family: var(--display);
  font-size: 32px;
}

.home-membership-summary div {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.home-membership-summary small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.home-membership-summary strong {
  color: var(--text-strong);
  font-family: var(--display);
  font-size: 31px;
  font-weight: 400;
  line-height: 1;
}

.home-membership-summary span {
  color: var(--muted);
  font-family: var(--display);
  font-size: 13px;
}

.home-intro blockquote {
  margin: 0 0 8px;
  padding-left: 25px;
  border-left: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--display);
  font-size: 16px;
  font-style: italic;
  line-height: 1.5;
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(310px, .72fr);
  gap: 20px;
}

.hero-event {
  position: relative;
  min-height: 530px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b0b0b;
}

.hero-event > img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  filter: var(--image-filter);
  transition: transform 1.2s var(--ease);
}

.hero-event:hover > img {
  transform: scale(1.025);
}

.hero-event-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 4, 4, .85), rgba(4, 4, 4, .25) 62%, rgba(4, 4, 4, .08)),
    linear-gradient(0deg, rgba(4, 4, 4, .95), transparent 68%);
}

.hero-event-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 40px 36px 34px;
  color: #f8f3e8;
}

.hero-event h2 {
  max-width: 700px;
  margin-bottom: 8px;
  color: #fffaf0;
  font-size: clamp(38px, 4vw, 58px);
}

.hero-event-copy {
  max-width: 600px;
  margin-bottom: 22px;
  color: rgba(255, 249, 235, .78);
  font-family: var(--display);
  font-size: 18px;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 28px;
}

.event-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 249, 235, .86);
  font-family: var(--display);
  font-size: 13px;
}

.event-meta svg {
  color: #f6ead1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-rail {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}

.editorial-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--gold-line);
  background:
    linear-gradient(145deg, rgba(201, 167, 103, .04), transparent 50%),
    var(--panel);
}

.corner-flourish {
  position: absolute;
  top: 0;
  right: 0;
  width: 92px;
  height: 84px;
  background: url("./assets/wolf-contour-corner-tr.png") top right / contain no-repeat;
  font-size: 0;
  opacity: .72;
  pointer-events: none;
}

.editorial-card h3 {
  max-width: 330px;
  font-size: 31px;
}

.editorial-card > p:not(.eyebrow) {
  margin-bottom: 24px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 15px;
  font-style: italic;
}

.outline-action {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: border-color .2s, background .2s;
}

.outline-action:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
}

.outline-action span {
  flex: 1;
  text-align: left;
}

.outline-action svg:last-child {
  width: 16px;
}

.service-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 14px;
}

.service-shortcuts button {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 5px;
  padding: 9px 4px;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 10px;
}

.service-shortcuts button:last-child {
  border-right: 0;
}

.service-shortcuts button:hover {
  color: var(--gold);
}

.service-shortcuts svg {
  width: 18px;
}

.card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.request-preview {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 18px 0 20px;
}

.round-icon {
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--panel-soft);
  color: var(--text);
}

.round-icon svg {
  width: 20px;
}

.request-preview h4 {
  margin: 5px 0 1px;
  color: var(--text);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 500;
}

.request-preview small {
  color: var(--muted);
  font-size: 10px;
}

.mini-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 13px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.mini-timeline li {
  position: relative;
  padding: 13px 8px 0 0;
  color: var(--muted-2);
  font-family: var(--display);
  font-size: 11px;
}

.mini-timeline li::before {
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border: 1px solid var(--muted-2);
  border-radius: 50%;
  background: var(--panel);
  content: "";
}

.mini-timeline li.is-done,
.mini-timeline li.is-current {
  color: var(--text);
}

.mini-timeline li.is-done::before {
  border-color: var(--success);
  background: var(--success);
}

.mini-timeline li.is-current::before {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.announcement {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px 0 28px;
  padding: 18px 24px;
  border: 1px solid var(--gold-line);
  background: var(--panel);
}

.announcement-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--gold);
}

.announcement > div:nth-child(2) {
  flex: 1;
}

.announcement .eyebrow {
  margin-bottom: 3px;
}

.announcement h3 {
  margin: 0 0 2px;
  font-size: 20px;
}

.announcement p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 32px 0 20px;
}

.section-heading h2 {
  margin: 0;
  font-size: 32px;
}

.section-heading .eyebrow {
  margin-bottom: 5px;
}

.upcoming-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.compact-event {
  min-width: 0;
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 18px;
  padding-right: 20px;
  border-right: 1px solid var(--line);
}

.compact-event:last-child {
  border-right: 0;
}

.compact-event img {
  width: 116px;
  height: 142px;
  object-fit: cover;
  filter: var(--image-filter);
}

.compact-event time {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.compact-event h3 {
  margin: 6px 0 12px;
  font-size: 20px;
}

.compact-event span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 12px;
}

.compact-event span svg {
  width: 15px;
  color: var(--gold);
}

.compact-event button {
  margin-top: 12px;
  padding: 0;
  background: transparent;
  color: var(--gold);
  font-family: var(--display);
  font-style: italic;
}

.editorial-signoff {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
  color: var(--gold);
  font-family: var(--display);
  font-size: 19px;
  font-style: italic;
}

.editorial-signoff span {
  height: 1px;
  flex: 1;
  background: var(--gold-line);
}

.page-intro {
  margin: 22px 0 36px;
}

.page-intro h1 {
  max-width: 850px;
  font-size: clamp(52px, 6.4vw, 92px);
}

.split-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
}

.intro-stat,
.value-proof {
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
  padding: 18px 0 18px 28px;
  border-left: 1px solid var(--gold);
}

.intro-stat strong,
.value-proof strong {
  color: var(--gold);
  font-family: var(--display);
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
}

.intro-stat span,
.value-proof span {
  color: var(--muted);
  font-family: var(--display);
  font-size: 14px;
  line-height: 1.3;
}

.value-proof {
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.value-proof strong {
  font-size: 36px;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.calendar-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.calendar-view-switch {
  display: flex;
  min-height: 40px;
  border: 1px solid var(--line-strong);
}

.calendar-view-switch button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.calendar-view-switch button:last-child {
  border-right: 0;
}

.calendar-view-switch button.is-active {
  background: var(--gold-soft);
  color: var(--gold-bright);
}

.calendar-view-switch svg {
  width: 15px;
  height: 15px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pill {
  min-height: 33px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  transition: all .2s;
}

.pill:hover,
.pill.is-active {
  border-color: var(--gold);
  background: var(--gold-soft);
  color: var(--gold-bright);
}

.date-ribbon {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.date-ribbon button {
  position: relative;
  min-height: 78px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
}

.date-ribbon button:last-child {
  border-right: 0;
}

.date-ribbon button:hover,
.date-ribbon button.is-today {
  background: var(--gold-soft);
  color: var(--text);
}

.date-ribbon small {
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.date-ribbon strong {
  font-family: var(--display);
  font-size: 23px;
  font-weight: 400;
}

.date-ribbon i {
  position: absolute;
  bottom: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.event-list {
  display: grid;
  gap: 12px;
}

.calendar-month-view {
  border: 1px solid var(--line);
  background: var(--panel);
}

.month-calendar-head {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.month-calendar-head h2 {
  margin: 2px 0 0;
  font-size: 34px;
  text-transform: capitalize;
}

.month-calendar-head .icon-button:last-child svg {
  transform: rotate(0deg);
}

.month-calendar-head .icon-button:first-child svg {
  transform: rotate(180deg);
}

.month-calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
}

.month-calendar-layout > div:first-child {
  min-width: 0;
  border-right: 1px solid var(--line);
}

.month-weekdays,
.month-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.month-weekdays {
  border-bottom: 1px solid var(--line);
}

.month-weekdays span {
  padding: 10px 6px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 8px;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}

.month-calendar-grid button {
  position: relative;
  min-height: 110px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  padding: 11px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  text-align: left;
  transition: background .2s, box-shadow .2s;
}

.month-calendar-grid button:nth-child(7n) {
  border-right: 0;
}

.month-calendar-grid button:nth-last-child(-n + 7) {
  border-bottom: 0;
}

.month-calendar-grid button:hover,
.month-calendar-grid button.is-selected {
  background: var(--gold-soft);
}

.month-calendar-grid button.is-selected {
  box-shadow: inset 0 0 0 1px var(--gold);
}

.month-calendar-grid button.is-outside {
  color: var(--muted-2);
  opacity: .5;
}

.month-calendar-grid button > span {
  font-family: var(--display);
  font-size: 17px;
}

.month-calendar-grid button > small {
  color: var(--muted-2);
  font-size: 8px;
}

.month-calendar-grid button > i {
  width: 100%;
  display: grid;
  gap: 4px;
  font-style: normal;
}

.month-calendar-grid button b {
  overflow: hidden;
  padding: 5px 6px;
  border-left: 2px solid var(--gold);
  background: color-mix(in srgb, var(--gold-soft) 70%, var(--panel));
  color: var(--text);
  font-size: 8px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-day-detail {
  min-width: 0;
  padding: 28px 24px;
}

.calendar-day-detail > strong {
  display: block;
  margin: 5px 0 12px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
  text-transform: capitalize;
}

.calendar-day-detail > span {
  display: block;
  color: var(--muted);
  font-family: var(--display);
  font-size: 14px;
  line-height: 1.5;
}

.calendar-day-detail > .text-link {
  margin-top: 20px;
}

.calendar-day-detail article {
  margin-top: 16px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.calendar-day-detail article > span,
.calendar-day-detail article small {
  color: var(--gold);
  font-size: 9px;
}

.calendar-day-detail article h3 {
  margin: 6px 0;
  font-size: 20px;
}

.calendar-day-detail article small {
  color: var(--muted);
}

.calendar-day-detail article button {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 13px;
  padding: 0;
  background: transparent;
  color: var(--gold);
  font-family: var(--display);
  font-style: italic;
}

.calendar-day-detail article button svg {
  width: 14px;
  height: 14px;
}

.event-row {
  display: grid;
  grid-template-columns: 74px 150px minmax(260px, 1fr) 140px;
  align-items: stretch;
  gap: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: border-color .25s, transform .25s var(--ease);
}

.event-row:hover {
  border-color: var(--gold-line);
  transform: translateY(-2px);
}

.event-row.is-filtered-out,
.partner-card.is-filtered-out,
.news-card.is-filtered-out,
.request-list-item.is-filtered-out,
.admin-table-row.is-filtered-out {
  display: none;
}

.event-date {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.event-date strong {
  color: var(--gold);
  font-family: var(--display);
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
}

.event-date span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: .13em;
  line-height: 1.3;
  text-align: center;
}

.event-row > img {
  width: 150px;
  height: 132px;
  object-fit: cover;
  filter: var(--image-filter);
}

.event-row-main {
  align-self: center;
}

.event-row-main .eyebrow {
  margin-bottom: 5px;
}

.event-row-main h2 {
  margin-bottom: 5px;
  font-size: 27px;
}

.event-row-main > p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 10px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 14px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-row span {
  padding: 4px 7px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
}

.event-row-action {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--success);
  font-size: 10px;
}

.availability i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(200, 170, 114, .1);
}

.availability-warm {
  color: var(--warning);
}

.availability-full {
  color: var(--danger);
}

.news-feature {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.news-feature > img {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
  filter: saturate(.75);
}

.news-feature::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 6, 6, .94), rgba(6, 6, 6, .42) 65%, transparent);
  content: "";
}

.news-feature-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  padding: 64px 55px;
  color: #f6f0e4;
}

.news-feature-content .eyebrow {
  margin-top: 24px;
  color: rgba(255, 250, 240, .6);
}

.news-feature-content h2 {
  color: #fffaf0;
  font-size: clamp(42px, 5vw, 65px);
}

.news-feature-content > p:not(.eyebrow) {
  margin-bottom: 28px;
  color: rgba(255, 250, 240, .78);
  font-family: var(--display);
  font-size: 18px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.news-card {
  border: 1px solid var(--line);
  background: var(--panel);
}

.news-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: var(--image-filter);
  transition: filter .3s;
}

.news-card:hover img {
  filter: saturate(1) contrast(1.04);
}

.news-card > div {
  padding: 24px;
}

.news-card h3 {
  font-size: 27px;
}

.news-card p:not(.eyebrow) {
  min-height: 42px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 14px;
}

.news-card time {
  display: block;
  margin: 17px 0 12px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.news-card button {
  padding: 0;
  background: transparent;
  color: var(--gold);
  font-family: var(--display);
  font-size: 15px;
  font-style: italic;
}

.newsletter-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 26px;
  padding: 28px 32px;
  border: 1px solid var(--gold-line);
  background: linear-gradient(100deg, var(--gold-soft), transparent 60%);
}

.newsletter-card h2 {
  margin-bottom: 4px;
  font-size: 28px;
}

.newsletter-card p:last-child {
  margin: 0;
  color: var(--muted);
}

.inline-search,
.admin-search {
  min-width: 260px;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.inline-search svg,
.admin-search svg {
  width: 17px;
}

.inline-search input,
.admin-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.partner-page-intro {
  position: relative;
  margin-bottom: 24px;
}

.partner-page-intro::after {
  position: absolute;
  top: -24px;
  right: -18px;
  width: 112px;
  height: 102px;
  background: url("./assets/wolf-contour-corner-tr.png") top right / contain no-repeat;
  content: "";
  opacity: .42;
  pointer-events: none;
}

.partner-intro-aside {
  position: relative;
  z-index: 1;
  width: min(310px, 100%);
  display: grid;
  gap: 10px;
}

.partner-intro-aside .value-proof {
  width: 100%;
  margin: 0;
}

.benefits-jump-card {
  width: 100%;
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 15px;
  border: 1px solid var(--gold-line);
  background: var(--panel);
  color: var(--text);
  text-align: left;
  transition: border-color .2s, background .2s, transform .2s;
}

.benefits-jump-card:hover,
.benefits-jump-card:focus-visible {
  border-color: var(--gold);
  background: var(--gold-soft);
  transform: translateY(-2px);
}

.benefits-jump-card > svg {
  width: 18px;
  color: var(--gold);
}

.benefits-jump-card > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.benefits-jump-card small {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.benefits-jump-card strong {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
}

.benefits-jump-count {
  color: var(--gold);
  font-family: var(--display);
  font-size: 32px;
  line-height: 1;
}

.partner-directory-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin: 42px 0 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.partner-directory-heading h2 {
  font-size: 34px;
}

.partner-directory-heading p:last-child {
  margin: 0;
  color: var(--muted);
  font-family: var(--display);
  font-size: 13px;
  font-style: italic;
}

.member-benefits-section {
  position: relative;
  isolation: isolate;
  margin-bottom: 36px;
  padding: 38px 42px 42px;
  border: 1px solid var(--gold-line);
  background: var(--panel);
  scroll-margin-top: calc(var(--topbar-height) + 18px);
}

.member-benefits-section::before {
  position: absolute;
  z-index: 0;
  inset: 5px;
  border: 58px solid transparent;
  border-image-source: url("./assets/wolf-club-contours.png");
  border-image-slice: 180 150;
  border-image-width: 58px 44px;
  border-image-repeat: stretch;
  content: "";
  opacity: .7;
  pointer-events: none;
}

.member-benefits-section > * {
  position: relative;
  z-index: 1;
}

[data-theme="light"] .member-benefits-section::before {
  opacity: .92;
}

.member-benefits-section.is-highlighted {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-soft);
}

.member-benefits-section .section-heading {
  align-items: flex-end;
  margin-top: 0;
  padding: 0 22px 18px;
}

.member-benefits-section .section-heading h2 {
  font-size: clamp(38px, 4.2vw, 58px);
}

.benefits-section-copy {
  max-width: 520px;
  margin: 7px 0 0;
  color: var(--muted);
  font-family: var(--display);
  font-size: 14px;
  font-style: italic;
}

.benefit-section-meta {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 7px;
  text-align: right;
}

.benefit-count {
  color: var(--text);
  font-size: 9px;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.benefit-access-level {
  color: var(--gold);
  font-family: var(--display);
  font-size: 12px;
  font-style: italic;
}

.member-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0 22px 8px;
}

.member-benefit-card {
  position: relative;
  min-width: 0;
  min-height: 372px;
  display: flex;
  flex-direction: column;
  padding: 24px 20px 20px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel-raised) 82%, transparent);
  transition: border-color .2s, transform .2s;
}

.member-benefit-card:hover {
  border-color: var(--gold-line);
  transform: translateY(-3px);
}

.benefit-empty {
  grid-column: 1 / -1;
  min-height: 210px;
  display: grid;
  place-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--display);
  text-align: center;
}

.benefit-empty strong {
  color: var(--text);
  font-size: 24px;
  font-weight: 500;
}

.member-benefit-card.is-activated {
  border-color: var(--success);
}

.benefit-card-index {
  position: absolute;
  top: 15px;
  right: 15px;
  color: var(--muted-2);
  font-family: var(--display);
  font-size: 11px;
}

.benefit-card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  color: var(--gold);
}

.benefit-card-icon svg {
  width: 20px;
  height: 20px;
}

.member-benefit-card h3 {
  min-height: 54px;
  margin: 7px 0 3px;
  font-size: 24px;
}

.member-benefit-card > strong {
  color: var(--gold);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
}

.member-benefit-card > p:not(.eyebrow) {
  min-height: 66px;
  margin: 13px 0;
  color: var(--muted);
  font-family: var(--display);
  font-size: 13px;
  line-height: 1.45;
}

.member-benefit-card dl {
  margin: auto 0 16px;
  border-top: 1px solid var(--line);
}

.nav-benefits-jump {
  min-height: 42px;
  margin-top: -4px;
  padding-left: 34px;
  color: var(--gold);
  font-size: 12px;
}

.nav-benefits-jump svg {
  width: 17px;
  height: 17px;
}

.member-benefit-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 8px;
}

.member-benefit-card dt {
  color: var(--muted);
  text-transform: uppercase;
}

.member-benefit-card dd {
  margin: 0;
  color: var(--text);
  text-align: right;
}

.admin-benefit-manager {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.admin-section-note {
  margin: -4px 0 18px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 13px;
}

.admin-benefit-list {
  display: grid;
  gap: 7px;
}

.admin-benefit-row {
  display: grid;
  grid-template-columns: 38px minmax(210px, 1.5fr) 1fr 1fr auto auto;
  align-items: center;
  gap: 14px;
  min-height: 70px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--panel-raised);
}

.admin-benefit-row.is-hidden-benefit {
  opacity: .58;
}

.benefit-admin-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold-line);
  color: var(--gold);
}

.benefit-admin-icon svg {
  width: 17px;
  height: 17px;
}

.admin-benefit-row > span:not(.benefit-admin-icon):not(.row-actions) {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.admin-benefit-row strong {
  overflow: hidden;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-benefit-row small {
  color: var(--muted);
  font-size: 8px;
}

.partner-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.partner-large {
  grid-column: span 2;
  grid-row: span 2;
}

.partner-card > img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  filter: var(--image-filter);
  transition: transform .7s var(--ease);
}

.partner-large > img {
  height: 100%;
  min-height: 520px;
}

.partner-card:hover > img {
  transform: scale(1.035);
}

.partner-card > div:not(.partner-overlay) {
  padding: 20px;
}

.partner-card h3 {
  margin-bottom: 8px;
  font-size: 23px;
}

.partner-card > div > p:not(.eyebrow) {
  color: var(--muted);
  font-family: var(--display);
}

.partner-card > div > button:not(.button) {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  background: transparent;
  color: var(--gold);
  font-family: var(--display);
  font-style: italic;
}

.partner-card > div > button svg {
  width: 15px;
}

.partner-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 38px;
  background: linear-gradient(0deg, rgba(6, 6, 6, .96), rgba(6, 6, 6, .04));
}

.partner-overlay h2 {
  max-width: 450px;
  color: #fffaf0;
  font-size: 39px;
}

.benefit {
  display: block;
  margin-bottom: 20px;
  color: #dbc392;
  font-family: var(--display);
  font-size: 15px;
}

.wallet-pass-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  padding: 30px 32px;
  border: 1px solid var(--gold-line);
  background: linear-gradient(110deg, var(--gold-soft), transparent 55%), var(--panel);
}

.wallet-pass-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  color: var(--gold);
}

.wallet-pass-icon svg {
  width: 29px;
  height: 29px;
}

.wallet-pass-banner h2 {
  margin-bottom: 4px;
  font-size: 29px;
}

.wallet-pass-banner p:last-child {
  margin: 0;
  color: var(--muted);
}

.club-hero {
  position: relative;
  min-height: 590px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid var(--line);
}

.club-hero > img,
.club-hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
}

.club-hero > img {
  object-fit: cover;
  filter: saturate(.72) contrast(1.05);
}

.club-hero-overlay {
  background: linear-gradient(0deg, rgba(5, 5, 5, .94), rgba(5, 5, 5, .12) 68%);
}

.club-hero > div:last-child {
  position: relative;
  max-width: 950px;
  padding: 52px;
  color: #fffaf0;
}

.club-hero h1 {
  color: #fffaf0;
  font-size: clamp(48px, 6vw, 82px);
}

.club-hero > div > p:last-child {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 250, 240, .78);
  font-family: var(--display);
  font-size: 19px;
}

.club-manifesto {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 70px;
  padding: 58px 0;
  border-bottom: 1px solid var(--line);
}

.dropcap {
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.5;
}

.dropcap::first-letter {
  float: left;
  margin: 3px 8px 0 0;
  color: var(--gold);
  font-size: 68px;
  line-height: .75;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.principles article {
  padding-left: 20px;
  border-left: 1px solid var(--gold-line);
}

.principles span {
  color: var(--gold);
  font-family: var(--display);
  font-size: 12px;
}

.principles h3 {
  margin: 20px 0 7px;
}

.principles p {
  margin: 0;
  color: var(--muted);
  font-family: var(--display);
  font-size: 14px;
}

.club-info-grid {
  display: grid;
  grid-template-columns: 1.4fr .75fr;
  gap: 20px;
  margin: 28px 0;
}

.season-program,
.team-card {
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.document-index {
  color: var(--gold);
  font-family: var(--display);
  font-size: 43px;
}

.season-program ul {
  margin: 20px 0 26px;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.season-program li {
  display: grid;
  grid-template-columns: 130px 1fr;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-family: var(--display);
  font-size: 15px;
}

.season-program li span {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.team-card > h2 {
  margin-bottom: 20px;
}

.team-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.team-row > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--display);
}

.team-row div {
  display: flex;
  flex-direction: column;
}

.team-row strong {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
}

.team-row small {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}

.team-card .outline-action {
  margin-top: 20px;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.document-card {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  text-align: left;
  transition: border-color .2s, transform .2s;
}

.document-card:hover {
  border-color: var(--gold-line);
  transform: translateY(-2px);
}

.document-card > svg:first-child {
  color: var(--gold);
}

.document-card span {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.document-card strong {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
}

.document-card small {
  color: var(--muted);
  font-size: 9px;
}

.document-card > svg:last-child {
  width: 16px;
  color: var(--muted);
}

.faq-list {
  margin: 50px 0 0;
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  color: var(--text);
  font-family: var(--display);
  font-size: 20px;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary svg {
  width: 18px;
  transition: transform .2s;
}

.faq-list details[open] summary svg {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 780px;
  padding: 0 0 22px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 15px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.service-card {
  min-height: 108px;
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  text-align: left;
  transition: border-color .2s, background .2s, transform .2s;
}

.service-card:hover {
  border-color: var(--gold-line);
  background: linear-gradient(110deg, var(--gold-soft), var(--panel));
  transform: translateY(-2px);
}

.service-card > svg:first-child {
  width: 27px;
  height: 27px;
  color: var(--gold);
}

.service-card > span {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.service-card strong {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
}

.service-card small {
  color: var(--muted);
  font-size: 10px;
}

.service-card > svg:last-child {
  width: 17px;
  color: var(--muted);
}

.request-dashboard {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  border: 1px solid var(--line);
  background: var(--panel);
}

.request-history {
  padding: 27px;
  border-right: 1px solid var(--line);
}

.request-history h2,
.request-detail h2 {
  font-size: 26px;
}

.request-list {
  margin-top: 18px;
}

.request-list-item {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  text-align: left;
}

.request-list-item > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.request-list-item strong {
  overflow: hidden;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.request-list-item small {
  color: var(--muted);
  font-size: 9px;
}

.request-list-item > svg {
  width: 15px;
}

.request-detail {
  padding: 27px 32px;
}

.concierge-assignee {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 25px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.concierge-assignee > span,
.assignee i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--display);
  font-style: normal;
}

.concierge-assignee div {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.concierge-assignee small {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.concierge-assignee strong {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
}

.request-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.request-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  padding-bottom: 18px;
}

.request-timeline li:not(:last-child)::before {
  position: absolute;
  top: 22px;
  bottom: 0;
  left: 10px;
  width: 1px;
  background: var(--line);
  content: "";
}

.request-timeline li > i {
  position: relative;
  z-index: 1;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border: 1px solid var(--muted-2);
  border-radius: 50%;
  background: var(--panel);
  color: var(--bg);
}

.request-timeline li > i svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.4;
}

.request-timeline li.is-done > i {
  border-color: var(--gold);
  background: var(--gold);
}

.request-timeline li.is-current > i {
  border-color: var(--gold);
  box-shadow: 0 0 0 5px var(--gold-soft);
}

.request-timeline li.is-current > i::after {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.request-timeline li div {
  display: flex;
  flex-direction: column;
}

.request-timeline strong {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
}

.request-timeline small {
  color: var(--muted);
  font-size: 9px;
}

.request-timeline p {
  margin: 4px 0 0;
  color: var(--muted);
  font-family: var(--display);
  font-size: 13px;
}

.request-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 5px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.request-summary span {
  display: flex;
  flex-direction: column;
}

.request-summary small {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.request-summary strong {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
}

.membership-active-seal {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 250px;
  margin-bottom: 8px;
  padding: 18px 24px;
  border: 1px solid var(--gold-line);
}

.membership-active-seal > svg {
  width: 34px;
  height: 34px;
  color: var(--gold);
}

.membership-active-seal div {
  display: flex;
  flex-direction: column;
}

.membership-active-seal small {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.membership-active-seal strong {
  color: var(--success);
  font-family: var(--display);
  font-size: 23px;
  font-weight: 500;
}

.membership-active-seal span {
  color: var(--muted);
  font-size: 9px;
}

.membership-layout {
  display: grid;
  grid-template-columns: minmax(480px, 1.2fr) 1fr;
  gap: 30px;
}

.digital-card-wrap {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.digital-card {
  position: relative;
  aspect-ratio: 1.65 / 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  border: 1px solid #997941;
  border-radius: 16px;
  background:
    radial-gradient(circle at 90% 0%, rgba(227, 193, 126, .17), transparent 32%),
    radial-gradient(circle at 10% 100%, rgba(227, 193, 126, .08), transparent 30%),
    #0c0c0c;
  box-shadow: 0 25px 55px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .06);
  color: #f4ecdc;
}

.digital-card::after {
  position: absolute;
  top: -30%;
  left: 58%;
  width: 1px;
  height: 160%;
  background: linear-gradient(transparent, rgba(201, 167, 103, .4), transparent);
  content: "";
  transform: rotate(36deg);
}

.card-grain {
  position: absolute;
  inset: 0;
  opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.digital-card-top,
.digital-card-middle,
.digital-card-bottom {
  position: relative;
  z-index: 1;
}

.digital-card-top {
  display: flex;
  justify-content: space-between;
}

.mini-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-logo {
  width: 118px;
  height: auto;
  filter: brightness(1.8) sepia(.25);
}

[data-theme="light"] .mini-logo {
  filter: none;
}

.mini-brand > span {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--display);
  font-size: 21px;
}

.mini-brand div {
  display: flex;
  flex-direction: column;
}

.mini-brand strong {
  color: inherit;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.mini-brand small {
  color: var(--gold);
  font-family: var(--display);
  font-size: 8px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.contactless {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: -2px;
  transform: rotate(90deg);
}

.digital-card-middle p {
  margin: 0 0 2px;
  color: var(--gold);
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.digital-card-middle h2 {
  margin: 0;
  color: #fff9ed;
  font-size: clamp(32px, 4vw, 48px);
}

.digital-card-middle > span {
  color: rgba(255, 249, 237, .62);
  font-family: var(--display);
  font-size: 13px;
}

.digital-card-bottom {
  display: flex;
  align-items: flex-end;
  gap: 32px;
}

.digital-card-bottom > span {
  display: flex;
  flex-direction: column;
}

.digital-card-bottom small {
  color: rgba(255, 249, 237, .52);
  font-size: 7px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.digital-card-bottom strong {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
}

.digital-card-bottom button {
  width: 48px;
  height: 48px;
  display: grid;
  margin-left: auto;
  place-items: center;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
}

.card-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.card-actions > * {
  flex: 1;
}

.privacy-line {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 9px;
}

.privacy-line svg {
  width: 13px;
  color: var(--success);
}

.membership-information {
  display: grid;
  gap: 18px;
}

.membership-value,
.profile-information {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.membership-value > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 25px;
}

.membership-value span {
  display: flex;
  flex-direction: column;
  padding: 0 17px;
  border-right: 1px solid var(--line);
}

.membership-value span:first-child {
  padding-left: 0;
}

.membership-value span:last-child {
  border-right: 0;
}

.membership-value strong {
  color: var(--gold);
  font-family: var(--display);
  font-size: 27px;
  font-weight: 400;
}

.membership-value small {
  color: var(--muted);
  font-size: 8px;
}

.profile-information dl {
  margin: 18px 0 0;
}

.profile-information dl div {
  display: grid;
  grid-template-columns: 120px 1fr;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.profile-information dt {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}

.profile-information dd {
  margin: 0;
  font-family: var(--display);
  font-size: 15px;
}

.billing-section {
  margin-top: 22px;
}

.billing-table {
  border: 1px solid var(--line);
  background: var(--panel);
}

.billing-row {
  display: grid;
  grid-template-columns: auto 1fr 120px 90px auto;
  align-items: center;
  gap: 16px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
}

.billing-row:last-child {
  border-bottom: 0;
}

.billing-row > div {
  display: flex;
  flex-direction: column;
}

.billing-row > div strong {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;
}

.billing-row > div small {
  color: var(--muted);
  font-size: 9px;
}

.billing-row > strong {
  font-family: var(--display);
  font-weight: 500;
}

.referral-score {
  display: flex;
  gap: 30px;
  margin-bottom: 10px;
  padding: 20px 0 20px 30px;
  border-left: 1px solid var(--gold);
}

.referral-score > span {
  display: flex;
  flex-direction: column;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.referral-score strong {
  color: var(--gold);
  font-family: var(--display);
  font-size: 35px;
  font-weight: 400;
}

.referral-layout {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 20px;
}

.referral-invite-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 38px;
  border: 1px solid #9e804b;
  background:
    radial-gradient(circle at 90% 0, rgba(214, 176, 105, .18), transparent 35%),
    linear-gradient(145deg, #161616, #090909);
  color: #f3ecdf;
}

.referral-invite-card h2 {
  color: #fff7e8;
  font-size: 45px;
}

.referral-invite-card p:not(.eyebrow) {
  max-width: 600px;
  color: rgba(243, 236, 223, .67);
  font-family: var(--display);
  font-size: 16px;
}

.referral-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 18px;
  padding: 11px 11px 11px 16px;
  border: 1px solid rgba(225, 195, 132, .35);
  background: rgba(0, 0, 0, .2);
}

.referral-link > span {
  flex: 1;
  overflow: hidden;
  color: #dec68f;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.referral-link .icon-button {
  color: #f1e5c9;
}

.referral-rules {
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.referral-rules ol {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.referral-rules li {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 13px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.referral-rules li > span {
  color: var(--gold);
  font-family: var(--display);
  font-size: 12px;
}

.referral-rules li p {
  display: flex;
  flex-direction: column;
  margin: 0;
  color: var(--muted);
  font-family: var(--display);
  font-size: 13px;
}

.referral-rules li strong {
  margin-bottom: 3px;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
}

.referral-table,
.admin-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--panel);
}

.table-head,
.table-row {
  min-width: 790px;
  display: grid;
  grid-template-columns: 1.15fr .8fr 1fr 1fr 50px;
  align-items: center;
  gap: 16px;
  padding: 13px 18px;
}

.table-head {
  border-bottom: 1px solid var(--line);
  background: var(--panel-soft);
  color: var(--muted);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.table-row {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.table-row:last-child {
  border-bottom: 0;
}

.table-row > span:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}

.table-row > span:first-child i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--display);
  font-style: normal;
}

.table-row > span:first-child strong {
  color: var(--text);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;
}

.affiliate-benefits {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 30px;
  margin-top: 24px;
  padding: 27px 30px;
  border: 1px solid var(--gold-line);
  background: linear-gradient(100deg, var(--gold-soft), transparent 55%), var(--panel);
}

.affiliate-benefits h2 {
  margin-bottom: 4px;
  font-size: 29px;
}

.affiliate-benefits p:last-child {
  margin: 0;
  color: var(--muted);
}

.affiliate-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 25px;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.affiliate-stat span {
  color: var(--gold);
  font-family: var(--display);
  font-size: 40px;
}

.affiliate-stat small {
  color: var(--muted);
  font-size: 9px;
}

.admin-view {
  --gold: #c8aa72;
}

html[data-theme="light"] .admin-view {
  --gold: #76521a;
}

.admin-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin: 18px 0 32px;
}

.admin-intro h1 {
  margin-bottom: 5px;
  font-size: clamp(47px, 5vw, 70px);
}

.admin-intro p:last-child {
  margin: 0;
  color: var(--muted);
  font-family: var(--display);
  font-size: 16px;
}

.admin-actions {
  display: flex;
  gap: 9px;
}

.page-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  margin-bottom: 18px;
}

.metric-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.metric-card {
  position: relative;
  min-height: 155px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.metric-card::after {
  position: absolute;
  right: -25px;
  bottom: -48px;
  width: 120px;
  height: 120px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  content: "";
}

.metric-card > div {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.metric-card .eyebrow {
  position: absolute;
  bottom: 43px;
  left: 0;
}

.metric-card strong {
  margin-top: 30px;
  color: var(--text);
  font-family: var(--display);
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
}

.metric-card > svg {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--gold);
}

.metric-card > small {
  position: absolute;
  bottom: 18px;
  left: 22px;
  color: var(--muted);
  font-size: 9px;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .65fr);
  gap: 18px;
  margin-bottom: 18px;
}

.chart-card,
.attention-card,
.event-operations,
.live-feed,
.campaign-list,
.automation-card,
.admin-list-card {
  padding: 25px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.chart-card h2,
.attention-card h2,
.event-operations h2,
.live-feed h2,
.campaign-list h2,
.automation-card h2,
.admin-list-card h2 {
  margin: 0;
  font-size: 26px;
}

.chart-legend {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin: 6px 0 16px;
  color: var(--muted);
  font-size: 9px;
}

.chart-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.chart-legend i {
  width: 7px;
  height: 7px;
  display: block;
  border-radius: 50%;
}

.chart-legend .gold {
  background: var(--gold);
}

.chart-legend .ivory {
  border: 1px solid var(--muted);
}

.bar-chart {
  height: 210px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 12px;
  padding: 15px 10px 25px;
  border-bottom: 1px solid var(--line);
  background: repeating-linear-gradient(0deg, transparent, transparent 45px, var(--line) 46px);
}

.bar-chart > div {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
}

.bar-chart span,
.bar-chart i {
  width: 11px;
  height: var(--h);
  display: block;
  background: linear-gradient(0deg, #9f7d42, var(--gold-bright));
  transition: height .7s var(--ease);
}

.bar-chart i {
  border: 1px solid var(--muted);
  background: transparent;
}

.bar-chart small {
  position: absolute;
  bottom: -22px;
  color: var(--muted);
  font-size: 8px;
}

.count-badge {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #111;
  font-size: 10px;
  font-weight: 700;
}

.attention-card > button {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  text-align: left;
}

.attention-card > button:first-of-type {
  margin-top: 15px;
}

.attention-card > button > span:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.attention-card > button strong {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
}

.attention-card > button small {
  color: var(--muted);
  font-size: 9px;
}

.round-icon.urgent {
  border-color: rgba(195, 120, 110, .4);
  color: var(--danger);
}

.lower-grid {
  grid-template-columns: 1.1fr .9fr;
}

.operations-progress {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  margin: 25px 0 17px;
}

.operations-progress > div {
  height: 6px;
  overflow: hidden;
  background: var(--panel-soft);
}

.operations-progress > div span {
  height: 100%;
  display: block;
  background: linear-gradient(90deg, #967440, var(--gold-bright));
}

.operations-progress > strong {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
}

.operations-progress > small {
  grid-column: 1 / -1;
  margin-top: -9px;
  color: var(--muted);
  font-size: 9px;
}

.operations-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.operations-stats span {
  display: flex;
  flex-direction: column;
  padding-left: 13px;
  border-right: 1px solid var(--line);
}

.operations-stats span:last-child {
  border-right: 0;
}

.operations-stats strong {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
}

.operations-stats small {
  color: var(--muted);
  font-size: 8px;
}

.live-feed ul {
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.live-feed li {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.live-feed li > i {
  width: 6px;
  height: 6px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-soft);
}

.live-feed li div {
  display: flex;
  flex-direction: column;
}

.live-feed li strong {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
}

.live-feed li small {
  color: var(--muted);
  font-size: 9px;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px;
}

.admin-toolbar .admin-search {
  flex: 1;
}

.admin-table-head,
.admin-table-row {
  min-width: 940px;
  display: grid;
  grid-template-columns: 1.35fr .75fr .75fr .65fr .55fr 74px;
  align-items: center;
  gap: 15px;
  padding: 13px 18px;
}

.admin-table-head {
  border-bottom: 1px solid var(--line);
  background: var(--panel-soft);
  color: var(--muted);
  font-size: 8px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.admin-table-row {
  min-height: 71px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.admin-table-row:last-child {
  border-bottom: 0;
}

.member-cell {
  display: flex;
  align-items: center;
  gap: 11px;
}

.member-cell > i {
  width: 37px;
  height: 37px;
  display: grid;
  flex: 0 0 37px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--display);
  font-style: normal;
}

.member-cell > span {
  display: flex;
  flex-direction: column;
}

.member-cell strong {
  color: var(--text);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;
}

.member-cell small,
.admin-table-row small {
  color: var(--muted);
  font-size: 9px;
}

.admin-table-row.is-suspended {
  opacity: .58;
}

.admin-table-row.is-suspended .member-cell strong {
  text-decoration: line-through;
}

.score-high {
  color: var(--success);
}

.row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.row-actions button {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
}

.row-actions button:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.row-actions svg {
  width: 15px;
}

.event-admin-grid,
.content-admin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.event-admin-card,
.content-admin-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.event-admin-card.is-archived,
.content-admin-card.is-archived,
.admin-table-row.is-archived {
  opacity: .46;
  filter: grayscale(.75);
}

.event-admin-card > img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  filter: var(--image-filter);
}

.event-admin-card > div {
  padding: 20px;
}

.event-admin-card h2,
.content-admin-card h2 {
  font-size: 25px;
}

.event-admin-card .eyebrow {
  margin-top: 13px;
  margin-bottom: 5px;
}

.capacity-meter {
  height: 5px;
  margin: 17px 0 7px;
  background: var(--panel-soft);
}

.capacity-meter span {
  height: 100%;
  display: block;
  background: var(--gold);
}

.capacity-meter.full span {
  background: var(--danger);
}

.event-admin-card small,
.content-admin-card small {
  color: var(--muted);
  font-size: 9px;
}

.card-button-row {
  display: flex;
  margin-top: 17px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.card-button-row button {
  flex: 1;
  padding: 7px 5px;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--gold);
  font-family: var(--display);
  font-size: 13px;
}

.card-button-row button:last-child {
  border-right: 0;
}

.draft-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.draft-row:first-of-type {
  margin-top: 18px;
}

.draft-row > div {
  display: flex;
  flex-direction: column;
}

.draft-row > div strong {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
}

.draft-row > div small {
  color: var(--muted);
  font-size: 9px;
}

.kanban {
  display: grid;
  grid-template-columns: repeat(4, minmax(230px, 1fr));
  gap: 12px;
  overflow-x: auto;
}

.kanban > section {
  min-width: 230px;
  padding: 12px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 65%, transparent);
}

.kanban > section > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 4px 14px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.kanban header em {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--panel-raised);
  font-style: normal;
}

.kanban-card {
  margin-bottom: 10px;
  padding: 15px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.kanban-card.is-focused {
  border-color: var(--gold-line);
}

.kanban-card.is-complete {
  opacity: .76;
}

.kanban-card h3 {
  margin: 9px 0 5px;
  font-size: 18px;
}

.kanban-card > p {
  color: var(--muted);
  font-size: 9px;
}

.kanban-priority {
  color: var(--danger);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
}

.kanban-card > div:last-child,
.assignee {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.kanban-card > div:last-child button,
.kanban-card > button:not(.button) {
  margin-left: auto;
  padding: 0;
  background: transparent;
  color: var(--gold);
  font-family: var(--display);
  font-style: italic;
}

.assignee i {
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  font-size: 10px;
}

.assignee span {
  color: var(--muted);
  font-size: 9px;
}

.assignment-summary {
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.assignment-summary > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.assignment-summary strong {
  overflow: hidden;
  color: var(--text);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.assignment-summary small {
  color: var(--muted);
  font-size: 8px;
}

.assignment-avatars {
  display: flex;
  flex: 0 0 auto;
}

.assignment-avatars i + i {
  margin-left: -8px;
  background: var(--panel-raised);
}

.request-action-stack {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 7px !important;
  width: 100%;
  margin-top: 10px;
}

.kanban-card > .request-action-stack button {
  min-height: 35px;
  margin: 0;
  padding: 7px 9px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  font-family: var(--sans);
  font-size: 9px;
  font-style: normal;
}

.request-action-stack button:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-color: var(--gold-line);
  color: var(--gold);
}

.request-action-stack svg {
  width: 14px;
  height: 14px;
}

.content-admin-image {
  position: relative;
  height: 190px;
}

.content-admin-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--image-filter);
}

.content-admin-image .status {
  position: absolute;
  top: 12px;
  right: 12px;
}

.placeholder-image,
.document-image {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--panel-soft), var(--panel));
  color: var(--gold);
}

.placeholder-image > svg,
.document-image > svg {
  width: 45px;
  height: 45px;
}

.content-admin-card > div:last-child {
  padding: 20px;
}

.content-admin-card .eyebrow {
  margin-bottom: 7px;
}

.partner-admin-table .admin-table-head,
.partner-admin-table .admin-table-row {
  grid-template-columns: 1.25fr .7fr 1fr .4fr .55fr 108px;
}

.comms-layout {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 18px;
}

.campaign-row {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  text-align: left;
}

.campaign-row:first-of-type {
  margin-top: 18px;
}

.campaign-row > span:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.campaign-row strong {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
}

.campaign-row small {
  color: var(--muted);
  font-size: 9px;
}

.campaign-row em {
  color: var(--success);
  font-size: 10px;
  font-style: normal;
}

.automation-card label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.automation-card label:first-of-type {
  margin-top: 18px;
}

.automation-card label span {
  display: flex;
  flex-direction: column;
}

.automation-card label strong {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;
}

.automation-card label small {
  color: var(--muted);
  font-size: 9px;
}

.automation-card input {
  position: absolute;
  opacity: 0;
}

.automation-card label > i {
  width: 35px;
  height: 20px;
  position: relative;
  flex: 0 0 35px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--panel-soft);
  transition: background .2s;
}

.automation-card label > i::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--muted);
  content: "";
  transition: transform .2s, background .2s;
}

.automation-card input:checked + i {
  border-color: var(--gold);
  background: var(--gold-soft);
}

.automation-card input:checked + i::after {
  background: var(--gold);
  transform: translateX(15px);
}

.affiliation-table .admin-table-head,
.affiliation-table .admin-table-row {
  grid-template-columns: 1.1fr .8fr 1fr .65fr .6fr 74px;
}

.partner-performance {
  display: grid;
  grid-template-columns: 1fr minmax(180px, .8fr) 80px;
  align-items: center;
  gap: 20px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.partner-performance:first-of-type {
  margin-top: 18px;
}

.partner-performance > span {
  display: flex;
  flex-direction: column;
}

.partner-performance > span strong {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
}

.partner-performance > span small {
  color: var(--muted);
  font-size: 9px;
}

.partner-performance > div {
  height: 5px;
  background: var(--panel-soft);
}

.partner-performance > div i {
  height: 100%;
  display: block;
  background: var(--gold);
}

.partner-performance > strong {
  font-family: var(--display);
  font-weight: 500;
  text-align: right;
}

.notification-drawer {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100vh;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--gold-line);
  background: var(--panel-raised);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform .38s var(--ease), opacity .2s, visibility 0s linear .38s;
}

.notification-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(0);
  transition-delay: 0s;
}

.notification-drawer header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 27px 26px 18px;
  border-bottom: 1px solid var(--line);
}

.notification-drawer header h2 {
  margin: 0;
  font-size: 31px;
}

.mark-read {
  align-self: flex-end;
  margin: 14px 26px 4px;
  padding: 0;
  background: transparent;
  color: var(--gold);
  font-family: var(--display);
  font-style: italic;
}

.notification-list {
  flex: 1;
  overflow-y: auto;
  padding: 5px 26px;
}

.notification-list article {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.notification-list article.is-unread > i {
  position: absolute;
  top: 20px;
  right: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.notification-list article div {
  display: flex;
  flex-direction: column;
  padding-right: 12px;
}

.notification-list article strong {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
}

.notification-list article p {
  margin: 3px 0;
  color: var(--muted);
  font-family: var(--display);
  font-size: 13px;
}

.notification-list article small {
  color: var(--muted-2);
  font-size: 8px;
}

.notification-drawer footer {
  padding: 18px 26px 25px;
  border-top: 1px solid var(--line);
}

.modal-layer {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 25px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity .25s, visibility 0s linear .25s;
}

.modal-layer.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 4, .78);
  backdrop-filter: blur(12px);
}

.modal {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100vw - 38px));
  max-height: calc(100vh - 50px);
  display: none;
  grid-template-columns: 1fr 1fr;
  overflow: auto;
  border: 1px solid var(--gold-line);
  background: var(--panel-raised);
  box-shadow: var(--shadow);
  transform: translateY(18px) scale(.99);
  transition: transform .35s var(--ease);
}

.modal.is-active {
  display: grid;
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  background: var(--panel-raised);
}

.modal-visual {
  position: relative;
  min-height: 590px;
}

.modal-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--image-filter);
}

.modal-visual .status {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(8, 8, 8, .75);
}

.modal-content {
  padding: 52px 45px 38px;
}

.modal-content > h2 {
  font-size: 42px;
}

.modal-lede {
  color: var(--muted);
  font-family: var(--display);
  font-size: 16px;
}

.modal-meta {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.modal-meta > span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 14px;
}

.modal-meta svg {
  width: 17px;
  color: var(--gold);
}

.guest-option,
.consent-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}

.guest-option input,
.consent-row input {
  position: absolute;
  opacity: 0;
}

.guest-option > span {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.guest-option strong {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;
}

.guest-option small {
  color: var(--muted);
  font-size: 9px;
}

.guest-option > i,
.consent-row > i {
  width: 19px;
  height: 19px;
  order: -1;
  border: 1px solid var(--line-strong);
  background: var(--panel);
}

.guest-option input:checked ~ i,
.consent-row input:checked ~ i {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: inset 0 0 0 4px var(--panel);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 15px;
}

.form-field > span,
.modal-form label:not(.consent-row) {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea,
.modal-form input,
.modal-form select,
.modal-form textarea {
  width: 100%;
  min-height: 45px;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  outline: 0;
  background: var(--panel);
  color: var(--text);
  font-family: var(--sans);
  text-transform: none;
}

.form-field textarea,
.modal-form textarea {
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  border-color: var(--gold);
}

.guest-name-field {
  margin-top: 5px;
}

.modal-price {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 12px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.modal-price > span {
  display: flex;
  flex-direction: column;
}

.modal-price small {
  color: var(--muted);
  font-size: 9px;
}

.modal-price strong {
  color: var(--gold);
  font-family: var(--display);
  font-size: 27px;
  font-weight: 400;
}

.modal-actions {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 10px;
  margin-top: 10px;
}

.modal-form {
  width: min(600px, calc(100vw - 38px));
  grid-template-columns: 1fr;
}

.modal-form .modal-content {
  padding-top: 55px;
}

.assignment-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

.assignment-mode legend {
  grid-column: 1 / -1;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.assignment-mode label {
  position: relative;
}

.assignment-mode input {
  position: absolute;
  opacity: 0;
}

.assignment-mode span {
  display: grid;
  min-height: 44px;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  cursor: pointer;
}

.assignment-mode input:checked + span {
  border-color: var(--gold);
  background: var(--gold-soft);
  color: var(--gold);
}

.staff-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.staff-choice {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 9px;
  border: 1px solid var(--line);
  cursor: pointer;
}

.staff-choice input {
  position: absolute;
  opacity: 0;
}

.staff-choice:has(input:checked) {
  border-color: var(--gold);
  background: var(--gold-soft);
}

.staff-choice > i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--display);
  font-size: 10px;
  font-style: normal;
}

.staff-choice > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.staff-choice strong {
  color: var(--text);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.staff-choice small {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0;
  text-transform: none;
}

.channel-config-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 16px;
  padding: 13px;
  border: 1px solid var(--gold-line);
  background: var(--gold-soft);
}

.channel-config-note svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.channel-config-note span {
  display: flex;
  flex-direction: column;
}

.channel-config-note strong {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
}

.channel-config-note small,
.channel-demo-note {
  color: var(--muted);
  font-size: 9px;
}

.chat-modal {
  width: min(820px, calc(100vw - 38px));
  max-height: min(860px, calc(100vh - 28px));
  grid-template-columns: 1fr;
  padding: 30px;
  overflow: hidden;
}

.chat-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-right: 36px;
}

.chat-head h2 {
  margin: 4px 0;
  font-size: clamp(30px, 5vw, 46px);
}

.chat-head p:last-child {
  margin: 0;
  color: var(--muted);
  font-family: var(--display);
  font-size: 14px;
}

.chat-head .text-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
}

.chat-head svg {
  width: 15px;
  height: 15px;
}

.chat-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 22px;
  border-bottom: 1px solid var(--line-strong);
}

.chat-tabs button {
  position: relative;
  min-height: 43px;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.chat-tabs button.is-active {
  color: var(--gold);
}

.chat-tabs button.is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
}

.chat-tabs span {
  min-width: 20px;
  display: inline-grid;
  place-items: center;
  margin-left: 5px;
  border-radius: 999px;
  background: var(--panel-raised);
  font-size: 8px;
}

.chat-live-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.chat-live-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 15%, transparent);
}

.chat-live-bar em {
  margin-left: auto;
  color: var(--gold);
  font-style: normal;
}

.chat-messages {
  min-height: 260px;
  max-height: 390px;
  overflow-y: auto;
  padding: 20px 8px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 74%, transparent);
}

.chat-message {
  width: min(78%, 540px);
  margin-bottom: 14px;
}

.chat-message.is-own {
  margin-left: auto;
}

.chat-message-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 8px;
}

.chat-message p {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  background: var(--panel-raised);
  font-size: 12px;
  line-height: 1.55;
}

.chat-message.is-own p {
  border-color: var(--gold-line);
  background: var(--gold-soft);
}

.chat-message.is-internal p {
  border-left: 2px solid var(--gold);
}

.via-whatsapp {
  display: inline-block;
  margin-top: 5px;
  color: #b18a4f;
  font-size: 8px;
}

.chat-empty {
  min-height: 220px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: var(--muted);
  text-align: center;
}

.chat-empty svg {
  width: 30px;
  height: 30px;
  color: var(--gold);
}

.chat-empty strong {
  color: var(--text);
  font-family: var(--display);
  font-weight: 500;
}

.chat-whatsapp-note {
  margin: 10px 0;
}

.chat-whatsapp-note.is-ready svg {
  color: #b18a4f;
}

.chat-composer .form-field {
  margin-bottom: 8px;
}

.chat-composer textarea {
  min-height: 70px;
}

.chat-send-row {
  display: grid;
  grid-template-columns: minmax(190px, .55fr) 1fr;
  gap: 10px;
  align-items: end;
}

.chat-delivery {
  margin: 0;
}

.chat-send-row .button {
  min-height: 45px;
}

[data-role="member"] .staff-chat-only {
  display: none !important;
}

[data-role="member"] .chat-tabs {
  grid-template-columns: 1fr;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.consent-row {
  align-items: flex-start;
  margin: 5px 0 16px;
  color: var(--muted);
  font-size: 9px;
}

.consent-row > i {
  flex: 0 0 19px;
}

.qr-modal {
  width: min(470px, calc(100vw - 38px));
  display: none;
  grid-template-columns: 1fr;
  padding: 26px;
  overflow: auto;
  background: #0b0b0b;
  color: #f4eee2;
}

.qr-modal.is-active {
  display: grid;
}

.qr-modal .modal-close {
  background: #111111;
  color: #f4eee2;
}

.qr-modal-card {
  padding: 22px;
  border: 1px solid rgba(201, 167, 103, .5);
  background:
    radial-gradient(circle at 90% 0, rgba(201, 167, 103, .12), transparent 33%),
    #101010;
  text-align: center;
}

.qr-modal-card .mini-brand {
  justify-content: center;
  margin-bottom: 30px;
  text-align: left;
}

.qr-modal-card h2 {
  margin-bottom: 7px;
  color: #fff9ed;
  font-size: 36px;
}

.qr-modal-card .status {
  margin: 0 auto;
}

.qr-code-wrap {
  width: 218px;
  height: 218px;
  display: grid;
  margin: 24px auto 8px;
  place-items: center;
  padding: 12px;
  background: #f5efe4;
  box-shadow: 0 0 0 5px rgba(201, 167, 103, .12);
}

.qr-code-wrap #memberQrCode {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.qr-library-unavailable > span {
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 18px;
  color: #423821;
  text-align: center;
}

.qr-library-unavailable svg {
  width: 48px;
  height: 48px;
}

.qr-library-unavailable small {
  font-size: 9px;
  line-height: 1.45;
}

.qr-code-wrap img,
.qr-code-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.payment-admin-table .admin-table-head,
.payment-admin-table .admin-table-row {
  grid-template-columns: .8fr .75fr 1.3fr .55fr .55fr 62px;
}

.admin-created-visual {
  min-height: 188px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--panel-soft), var(--gold-soft));
}

.admin-created-visual svg {
  width: 42px;
  height: 42px;
  color: var(--gold);
}

.event-row.is-highlighted {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.form-hint {
  margin: -4px 0 17px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.qr-code-wrap.is-revoked {
  filter: grayscale(1);
  opacity: .5;
}

.qr-token {
  margin: 12px 0 8px;
  color: #cbb887;
  font-size: 9px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.qr-hint {
  max-width: 330px;
  margin: 0 auto;
  color: rgba(244, 238, 226, .58);
  font-family: var(--display);
  font-size: 13px;
}

.qr-validity {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px solid rgba(244, 238, 226, .11);
  color: #c8aa72;
  font-size: 9px;
}

.qr-validity i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.qr-admin-actions {
  display: flex;
  justify-content: space-between;
  padding-top: 15px;
}

.qr-modal .qr-admin-actions .text-button {
  color: #d8bd82;
}

.qr-modal .qr-admin-actions .danger-text {
  color: #e6978c;
}

.danger-text {
  color: var(--danger);
}

.payment-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 22px 0;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
}

.payment-summary strong {
  color: var(--gold);
  font-size: 22px;
  font-weight: 500;
}

.demo-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 17px;
  padding: 11px;
  border: 1px solid var(--gold-line);
  background: var(--gold-soft);
  color: var(--gold-bright);
  font-size: 9px;
}

.demo-banner svg {
  width: 17px;
}

.payment-method {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 9px;
  padding: 13px;
  border: 1px solid var(--line);
  color: var(--text);
}

.payment-method input {
  position: absolute;
  opacity: 0;
}

.payment-method > span:nth-child(3),
.payment-method > span:nth-child(2):not(.fake-card) {
  display: flex;
  flex-direction: column;
}

.payment-method strong {
  color: var(--text);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.payment-method small {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0;
  text-transform: none;
}

.payment-method > i {
  width: 17px;
  height: 17px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.payment-method input:checked ~ i {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 4px var(--panel), inset 0 0 0 9px var(--gold);
}

.fake-card {
  width: 40px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
}

.payment-failure {
  width: 100%;
  justify-content: center;
  margin-top: 13px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  font-style: normal;
}

.partner-modal-benefit,
.member-detail-summary {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid var(--gold-line);
  background: var(--gold-soft);
}

.partner-modal-benefit h3 {
  margin-bottom: 6px;
  font-size: 23px;
}

.partner-modal-benefit > p:last-child {
  margin: 0;
  color: var(--muted);
  font-family: var(--display);
  font-size: 13px;
}

.member-detail-summary p {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.member-detail-summary p:last-child {
  border-bottom: 0;
}

.member-detail-summary strong {
  color: var(--text);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
}

.member-detail-summary span {
  color: var(--muted);
  font-size: 10px;
}

.search-modal {
  width: min(650px, calc(100vw - 38px));
  display: none;
  grid-template-columns: 1fr;
  padding: 18px;
  align-self: start;
  margin-top: 8vh;
}

.search-modal.is-active {
  display: grid;
}

.search-modal .modal-close {
  display: none;
}

.search-input-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border-bottom: 1px solid var(--gold-line);
}

.search-input-wrap > svg {
  color: var(--gold);
}

.search-input-wrap input {
  min-width: 0;
  width: 100%;
  min-height: 58px;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--display);
  font-size: 20px;
}

.search-results {
  padding: 17px 2px 0;
}

.search-results .eyebrow {
  margin-left: 10px;
}

.search-results button {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 12px 10px;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.search-results button:hover {
  background: var(--gold-soft);
}

.search-results button > svg {
  color: var(--gold);
}

.search-results button span {
  display: flex;
  flex-direction: column;
}

.search-results button strong {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
}

.search-results button small {
  color: var(--muted);
  font-size: 9px;
}

.scanner-modal {
  width: min(600px, calc(100vw - 38px));
  grid-template-columns: 1fr;
}

.scanner-viewport {
  position: relative;
  height: 190px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  margin: 20px 0;
  border: 1px solid var(--gold-line);
  background:
    linear-gradient(90deg, transparent 49.5%, var(--line) 50%, transparent 50.5%),
    linear-gradient(0deg, transparent 49.5%, var(--line) 50%, transparent 50.5%),
    var(--bg-deep);
  color: var(--gold);
}

.scanner-viewport::before,
.scanner-viewport::after {
  position: absolute;
  width: 50px;
  height: 50px;
  border-color: var(--gold);
  content: "";
}

.scanner-viewport::before {
  top: 14px;
  left: 14px;
  border-top: 2px solid;
  border-left: 2px solid;
}

.scanner-viewport::after {
  right: 14px;
  bottom: 14px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.scanner-viewport svg {
  width: 37px;
  height: 37px;
}

.scanner-viewport span {
  color: var(--muted);
  font-size: 9px;
}

.scan-line {
  position: absolute;
  right: 22px;
  left: 22px;
  height: 1px;
  background: var(--gold-bright);
  box-shadow: 0 0 12px var(--gold);
  animation: scan 2.4s ease-in-out infinite;
}

@keyframes scan {
  0%, 100% {
    top: 25px;
  }
  50% {
    top: calc(100% - 25px);
  }
}

.scanner-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 15px;
}

.scanner-presets button {
  padding: 6px 9px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 9px;
}

.scanner-presets button:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.scan-result {
  margin-top: 15px;
  padding: 14px;
  border: 1px solid rgba(200, 170, 114, .35);
  background: rgba(200, 170, 114, .08);
  color: var(--success);
  font-family: var(--display);
  text-align: center;
}

.scan-result.is-error {
  border-color: rgba(195, 120, 110, .4);
  background: rgba(195, 120, 110, .08);
  color: var(--danger);
}

.article-modal {
  width: min(780px, calc(100vw - 38px));
  grid-template-columns: 1fr;
}

.article-modal > img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  filter: var(--image-filter);
}

.article-modal .modal-content {
  padding-top: 35px;
}

.article-lead {
  color: var(--gold);
  font-family: var(--display);
  font-size: 19px;
  font-style: italic;
}

.article-body {
  color: var(--muted);
  font-family: var(--display);
  font-size: 15px;
  line-height: 1.7;
}

.article-body blockquote {
  margin: 25px 0;
  padding: 18px 0 18px 25px;
  border-left: 1px solid var(--gold);
  color: var(--text);
  font-size: 22px;
  font-style: italic;
}

.toast-region {
  position: fixed;
  z-index: 120;
  right: 24px;
  bottom: 28px;
  display: grid;
  gap: 8px;
  pointer-events: none;
}

.toast {
  width: min(370px, calc(100vw - 34px));
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--gold-line);
  background: var(--panel-raised);
  box-shadow: var(--shadow);
  color: var(--text);
  animation: toast-in .35s var(--ease) both;
}

.toast.is-leaving {
  animation: toast-out .25s ease both;
}

.toast > svg {
  color: var(--gold);
}

.toast div {
  display: flex;
  flex-direction: column;
}

.toast strong {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;
}

.toast small {
  color: var(--muted);
  font-size: 9px;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateX(15px);
  }
}

.demo-label {
  position: fixed;
  z-index: 19;
  right: 18px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  color: var(--muted-2);
  font-size: 7px;
  letter-spacing: .1em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.demo-label i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
}

.mobile-nav {
  display: none;
}

.sidebar-scrim {
  display: none;
}

.auth-screen {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  background: var(--bg);
}

.auth-visual {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(0deg, rgba(5, 5, 5, .82), rgba(5, 5, 5, .2)),
    url("https://images.unsplash.com/photo-1519167758481-83f550bb49b3?auto=format&fit=crop&w=1600&q=88") center / cover;
  color: #f8f1e5;
}

.auth-visual::after {
  position: absolute;
  z-index: 0;
  inset: 14px;
  border: 72px solid transparent;
  border-image-source: url("./assets/wolf-club-contours.png");
  border-image-slice: 180 150;
  border-image-width: 72px 56px;
  border-image-repeat: stretch;
  opacity: .9;
  content: "";
  pointer-events: none;
}

.auth-ornament {
  position: absolute;
  z-index: 1;
  width: 120px;
  height: 108px;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.auth-ornament.ornament-top {
  top: 14px;
  left: 14px;
  background-image: url("./assets/wolf-contour-corner-tl.png");
}

.auth-ornament.ornament-bottom {
  right: 14px;
  bottom: 14px;
  background-image: url("./assets/wolf-contour-corner-br.png");
}

.auth-brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.auth-logo {
  width: min(420px, 60vw);
  height: auto;
  filter: brightness(2.2) sepia(.32) saturate(.8);
}

.brand-wolf {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid #d3b471;
  border-radius: 50%;
  color: #d8ba77;
  font-family: var(--display);
  font-size: 43px;
}

.auth-brand strong {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.auth-brand small {
  color: #d8ba77;
  font-family: var(--display);
  letter-spacing: .35em;
  text-transform: uppercase;
}

.auth-visual blockquote {
  position: relative;
  z-index: 1;
  max-width: 540px;
  margin: 90px 0 0;
  color: rgba(248, 241, 229, .8);
  font-family: var(--display);
  font-size: 24px;
  font-style: italic;
  text-align: center;
}

.auth-panel {
  display: grid;
  place-items: center;
  padding: 50px;
}

.auth-panel-inner {
  width: min(430px, 100%);
}

.auth-panel h1 {
  margin-bottom: 18px;
}

.auth-panel .lede {
  margin-bottom: 34px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 17px;
}

.auth-panel form {
  display: flex;
  flex-direction: column;
}

.auth-panel label {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.auth-panel input {
  width: 100%;
  height: 50px;
  margin-bottom: 17px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  outline: 0;
  background: var(--panel);
}

.auth-panel input:focus {
  border-color: var(--gold);
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 52px;
}

.inline-button {
  position: absolute;
  top: 4px;
  right: 4px;
  border: 0;
}

.form-error {
  min-height: 18px;
  margin: -8px 0 7px;
  color: var(--danger);
  font-size: 10px;
}

.auth-help {
  justify-content: center;
  margin: 18px 0 25px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10px;
  font-style: normal;
}

.security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 8px;
}

.security-note svg {
  width: 13px;
}

@media (max-width: 1250px) {
  :root {
    --sidebar-width: 230px;
  }

  .content {
    padding-right: 22px;
    padding-left: 22px;
  }

  .home-intro {
    grid-template-columns: 1fr auto;
  }

  .home-intro blockquote {
    display: none;
  }

  .home-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(285px, .7fr);
  }

  .hero-event {
    min-height: 560px;
  }

  .upcoming-grid {
    grid-template-columns: 1fr;
  }

  .compact-event {
    grid-template-columns: 105px 1fr;
    padding: 13px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .compact-event img {
    width: 105px;
    height: 115px;
  }

  .partner-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .partner-large {
    grid-column: span 2;
  }

  .event-row {
    grid-template-columns: 64px 120px minmax(250px, 1fr) 120px;
    gap: 15px;
  }

  .event-row > img {
    width: 120px;
  }

  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1020px) {
  :root {
    --sidebar-width: 218px;
  }

  .topbar time,
  .search-trigger span,
  .search-trigger kbd,
  .profile-copy {
    display: none;
  }

  .home-grid {
    grid-template-columns: 1fr;
  }

  .home-rail {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .event-row {
    grid-template-columns: 64px 120px 1fr;
  }

  .event-row-action {
    grid-column: 2 / -1;
    align-items: center;
    flex-direction: row;
    justify-content: flex-end;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-card:last-child {
    grid-column: span 2;
  }

  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-large {
    grid-row: span 1;
  }

  .partner-large > img {
    min-height: 490px;
  }

  .club-manifesto,
  .club-info-grid,
  .request-dashboard,
  .membership-layout,
  .referral-layout,
  .comms-layout {
    grid-template-columns: 1fr;
  }

  .request-history {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .event-admin-grid,
  .content-admin-grid {
    grid-template-columns: 1fr 1fr;
  }

  .kanban {
    grid-template-columns: repeat(4, 300px);
  }
}

@media (max-width: 900px), (max-height: 620px) {
  :root {
    --topbar-height: 67px;
  }

  body {
    padding-bottom: 70px;
  }

  .sidebar {
    width: min(320px, 86vw);
    box-shadow: var(--shadow);
    transform: translateX(-105%);
  }

  body.menu-open .sidebar {
    transform: translateX(0);
  }

  .sidebar-scrim {
    position: fixed;
    z-index: 29;
    inset: 0;
    display: block;
    background: rgba(0, 0, 0, .55);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s;
  }

  body.menu-open .sidebar-scrim {
    opacity: 1;
    pointer-events: auto;
  }

  .workspace {
    margin-left: 0;
  }

  .topbar {
    margin: 0 16px;
  }

  .mobile-menu {
    display: grid;
  }

  .topbar-line {
    display: none;
  }

  .topbar-left {
    gap: 11px;
  }

  .topbar-left p {
    font-size: 9px;
  }

  .content {
    padding: 25px 16px 45px;
  }

  .profile-trigger > svg,
  .topbar-separator {
    display: none;
  }

  .topbar-actions {
    gap: 6px;
  }

  .search-trigger {
    width: 42px;
    height: 42px;
    justify-content: center;
    padding: 0;
  }

  .profile-trigger .avatar {
    width: 39px;
    height: 39px;
    flex-basis: 39px;
  }

  .profile-menu {
    top: 61px;
    right: 12px;
  }

  .home-intro {
    display: block;
  }

  .home-membership-summary {
    margin-top: 24px;
    padding: 14px 0;
    border-right: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .hero-event {
    min-height: 580px;
  }

  .hero-event-content {
    padding: 28px 22px;
  }

  .hero-event h2 {
    font-size: 40px;
  }

  .home-rail {
    grid-template-columns: 1fr;
  }

  .upcoming-grid {
    gap: 0;
  }

  .mobile-nav {
    position: fixed;
    z-index: 25;
    right: 0;
    bottom: 0;
    left: 0;
    height: 68px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 5px max(8px, env(safe-area-inset-right)) max(5px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    border-top: 1px solid var(--line);
    background: color-mix(in srgb, var(--panel-raised) 94%, transparent);
    backdrop-filter: blur(16px);
  }

  body[data-role="admin"] {
    padding-bottom: 0;
  }

  body[data-role="admin"] .mobile-nav {
    display: none;
  }

  .mobile-nav button {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    background: transparent;
    color: var(--muted);
    font-size: 8px;
  }

  .mobile-nav button.is-active {
    color: var(--gold);
  }

  .mobile-nav svg {
    width: 19px;
  }

  .mobile-pass-button svg {
    width: 39px;
    height: 39px;
    margin-top: -23px;
    padding: 9px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    background: var(--panel-raised);
    color: var(--gold);
  }

  .demo-label {
    display: none;
  }

  .split-intro {
    display: block;
  }

  .intro-stat,
  .value-proof,
  .referral-score {
    width: 100%;
    margin-top: 25px;
    padding: 14px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .toolbar .button {
    align-self: flex-start;
  }

  .inline-search {
    width: 100%;
  }

  .date-ribbon {
    overflow-x: auto;
    grid-template-columns: repeat(7, 75px);
  }

  .event-row {
    grid-template-columns: 58px 1fr;
  }

  .event-row > img {
    width: 100%;
    height: 190px;
    grid-column: 2;
  }

  .event-row-main,
  .event-row-action {
    grid-column: 1 / -1;
  }

  .event-row-action {
    justify-content: space-between;
  }

  .news-feature {
    min-height: 580px;
  }

  .news-feature::after {
    background: linear-gradient(0deg, rgba(6, 6, 6, .95), rgba(6, 6, 6, .15));
  }

  .news-feature-content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 30px 25px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card:last-child {
    grid-column: auto;
  }

  .newsletter-card,
  .wallet-pass-banner,
  .affiliate-benefits {
    align-items: flex-start;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .partner-grid {
    grid-template-columns: 1fr;
  }

  .partner-large {
    grid-column: auto;
  }

  .partner-large > img {
    min-height: 490px;
  }

  .club-hero {
    min-height: 600px;
  }

  .club-hero > div:last-child {
    padding: 32px 24px;
  }

  .club-manifesto {
    gap: 40px;
    padding: 40px 0;
  }

  .document-grid {
    grid-template-columns: 1fr;
  }

  .membership-layout {
    gap: 18px;
  }

  .affiliate-stat {
    padding: 15px 0;
    border-right: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .admin-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-search {
    width: 100%;
  }

  .event-admin-grid,
  .content-admin-grid {
    grid-template-columns: 1fr;
  }

  .modal-layer {
    padding: 12px;
  }

  .modal {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    grid-template-columns: 1fr;
  }

  .modal-visual {
    min-height: 250px;
    max-height: 300px;
  }

  .modal-content {
    padding: 30px 22px 25px;
  }

  .modal-content > h2 {
    font-size: 34px;
  }

  .qr-modal {
    padding: 17px;
  }

  .article-modal > img {
    height: 230px;
  }

  .auth-screen {
    grid-template-columns: 1fr;
  }

  .auth-visual {
    min-height: 38vh;
  }

  .auth-visual::after {
    inset: 13px;
  }

  .auth-visual blockquote {
    display: none;
  }

  .auth-brand strong {
    font-size: 21px;
  }

  .brand-wolf {
    width: 55px;
    height: 55px;
    margin-bottom: 10px;
    font-size: 33px;
  }

  .auth-panel {
    min-height: 62vh;
    padding: 38px 24px;
  }
}

@media (max-height: 620px) {
  .sidebar {
    overflow: hidden;
  }

  .brand {
    min-height: 82px;
    flex: 0 0 82px;
    padding: 9px 18px;
  }

  .brand-corners,
  .brand-divider,
  .sidebar-footer {
    display: none;
  }

  .brand-monogram {
    width: 32px;
    height: 32px;
    margin-bottom: 4px;
    font-size: 20px;
  }

  .brand strong {
    font-size: 13px;
  }

  .brand small {
    font-size: 8px;
  }

  .main-nav {
    min-height: 0;
    padding-top: 3px;
    padding-bottom: 12px;
    overscroll-behavior: contain;
  }

  .nav-item {
    min-height: 43px;
  }
}

@media (max-width: 560px) {
  .partner-performance {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
  }

  .partner-performance > div {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  h1 {
    font-size: 47px;
  }

  .topbar-left p {
    display: none;
  }

  .topbar .icon-button {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .home-membership-summary strong {
    font-size: 26px;
  }

  .hero-event {
    min-height: 630px;
  }

  .hero-event-shade {
    background: linear-gradient(0deg, rgba(4, 4, 4, .96), rgba(4, 4, 4, .05) 80%);
  }

  .event-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .announcement {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 18px;
  }

  .announcement .text-link {
    margin-left: 64px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .compact-event {
    grid-template-columns: 92px 1fr;
  }

  .compact-event img {
    width: 92px;
    height: 110px;
  }

  .editorial-signoff {
    gap: 10px;
    font-size: 15px;
  }

  .filter-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .pill {
    white-space: nowrap;
  }

  .event-row {
    padding: 13px;
  }

  .event-row > img {
    height: 160px;
  }

  .news-feature-content h2 {
    font-size: 40px;
  }

  .partner-overlay {
    padding: 25px;
  }

  .partner-overlay h2 {
    font-size: 34px;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .principles article {
    padding: 13px 0 13px 20px;
  }

  .principles h3 {
    margin-top: 6px;
  }

  .season-program,
  .team-card,
  .request-history,
  .request-detail,
  .digital-card-wrap,
  .membership-value,
  .profile-information,
  .referral-invite-card,
  .referral-rules {
    padding: 21px;
  }

  .season-program li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .request-list-item {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .request-list-item .status {
    display: none;
  }

  .request-summary {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .membership-active-seal {
    min-width: 0;
  }

  .membership-layout {
    display: block;
  }

  .digital-card {
    padding: 21px;
  }

  .digital-card-bottom {
    gap: 14px;
  }

  .digital-card-bottom button {
    width: 40px;
    height: 40px;
  }

  .digital-card-top .mini-brand strong {
    font-size: 10px;
  }

  .digital-card-middle h2 {
    font-size: 31px;
  }

  .card-actions {
    flex-direction: column;
  }

  .membership-information {
    margin-top: 18px;
  }

  .membership-value > div {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .membership-value span {
    padding: 0 0 10px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .profile-information dl div {
    grid-template-columns: 95px 1fr;
  }

  .billing-row {
    grid-template-columns: auto 1fr auto;
  }

  .billing-row > strong,
  .billing-row > .status {
    display: none;
  }

  .referral-invite-card h2 {
    font-size: 32px;
  }

  .referral-invite-card .hero-actions {
    margin-top: 17px;
  }

  .metric-grid,
  .metric-grid-3 {
    grid-template-columns: 1fr;
  }

  .admin-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-actions {
    width: 100%;
  }

  .admin-actions .button {
    flex: 1;
  }

  .page-actions {
    width: 100%;
    flex-direction: column;
  }

  .page-actions .button {
    width: 100%;
  }

  .chat-modal {
    width: calc(100vw - 18px);
    max-height: calc(100vh - 18px);
    padding: 22px 14px 16px;
  }

  .chat-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .chat-head .text-button {
    align-self: flex-start;
  }

  .chat-live-bar em {
    max-width: 48%;
    text-align: right;
  }

  .chat-messages {
    min-height: 210px;
    max-height: 300px;
    padding: 14px 8px;
  }

  .chat-message {
    width: 90%;
  }

  .chat-send-row,
  .staff-picker {
    grid-template-columns: 1fr;
  }

  .operations-stats {
    grid-template-columns: 1fr 1fr;
    gap: 14px 0;
  }

  .operations-stats span:nth-child(2) {
    border-right: 0;
  }

  .draft-row {
    grid-template-columns: auto 1fr;
  }

  .draft-row > .status,
  .draft-row > .button {
    grid-column: 2;
    justify-self: start;
  }

  .form-row,
  .modal-actions {
    grid-template-columns: 1fr;
  }

  .modal-actions .button-outline {
    order: 2;
  }

  .qr-code-wrap {
    width: 190px;
    height: 190px;
  }
}

@media (max-width: 1250px) {
  .member-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-benefit-row {
    grid-template-columns: 38px minmax(190px, 1.5fr) 1fr auto auto;
  }

  .admin-benefit-row > span:nth-child(4) {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .brand-frame {
    display: none;
  }

  .partner-page-intro {
    margin-top: 6px;
    margin-bottom: 18px;
  }

  .partner-page-intro::after {
    top: -14px;
    right: -10px;
    width: 78px;
    height: 72px;
  }

  .partner-intro-aside {
    width: 100%;
    grid-template-columns: minmax(0, .8fr) minmax(220px, 1.2fr);
    align-items: stretch;
    margin-top: 18px;
  }

  .partner-intro-aside .value-proof {
    margin-top: 0;
    padding: 12px 0;
  }

  .member-benefits-section {
    padding: 32px 20px 34px;
  }

  .member-benefits-section .section-heading {
    padding-right: 18px;
    padding-left: 18px;
  }

  .member-benefit-grid {
    padding-right: 18px;
    padding-left: 18px;
  }

  .partner-directory-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .toolbar,
  .calendar-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .calendar-actions .button,
  .calendar-view-switch {
    width: 100%;
  }

  .calendar-view-switch button {
    flex: 1;
    justify-content: center;
  }

  .month-calendar-layout {
    grid-template-columns: 1fr;
  }

  .month-calendar-layout > div:first-child {
    border-right: 0;
  }

  .calendar-day-detail {
    border-top: 1px solid var(--line);
  }

  .admin-benefit-row {
    grid-template-columns: 38px minmax(170px, 1fr) auto auto;
  }

  .admin-benefit-row > span:nth-child(3) {
    display: none !important;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    width: 150px;
  }

  .partner-page-intro h1 {
    font-size: clamp(48px, 15vw, 62px);
    line-height: .91;
  }

  .partner-page-intro .display-subtitle {
    max-width: 310px;
    margin-top: 8px;
    font-size: 17px;
    line-height: 1.25;
  }

  .partner-intro-aside {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 13px;
  }

  .partner-intro-aside .value-proof {
    min-width: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 13px;
    padding: 9px 0;
  }

  .partner-intro-aside .value-proof strong {
    font-size: 29px;
  }

  .partner-intro-aside .value-proof span {
    font-size: 11px;
  }

  .benefits-jump-card {
    min-height: 64px;
  }

  .member-benefits-section {
    margin-right: -8px;
    margin-left: -8px;
    padding: 34px 8px 28px;
  }

  .member-benefits-section::before {
    inset: 3px;
    border-width: 44px;
    border-image-width: 44px 34px;
  }

  .member-benefits-section .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 0 20px 17px;
  }

  .member-benefits-section .section-heading h2 {
    font-size: 42px;
  }

  .benefits-section-copy {
    font-size: 13px;
  }

  .benefit-section-meta {
    align-items: flex-start;
    text-align: left;
  }

  .member-benefit-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0 20px 10px;
    scroll-padding-left: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .member-benefit-grid::-webkit-scrollbar {
    display: none;
  }

  .member-benefit-card {
    min-height: 350px;
    flex: 0 0 min(78vw, 286px);
    scroll-snap-align: start;
  }

  .member-benefit-card h3,
  .member-benefit-card > p:not(.eyebrow) {
    min-height: 0;
  }

  .benefit-access-level {
    align-self: flex-start;
  }

  .partner-directory-heading {
    margin-top: 32px;
  }

  .partner-directory-heading h2 {
    font-size: 30px;
  }

  .month-calendar-head {
    padding: 16px 10px;
  }

  .month-calendar-head h2 {
    font-size: 25px;
  }

  .month-calendar-grid button {
    min-height: 72px;
    gap: 5px;
    padding: 7px 5px;
  }

  .month-calendar-grid button b {
    max-width: 100%;
    padding: 3px 2px;
    font-size: 0;
  }

  .month-calendar-grid button b::after {
    display: block;
    color: var(--gold);
    font-size: 8px;
    content: "●";
  }

  .admin-benefit-manager {
    padding: 16px 12px;
  }

  .admin-benefit-manager .card-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-benefit-row {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 9px;
  }

  .admin-benefit-row > .status {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
