:root {
  --bg: #0b0b0c;
  --panel: #171719;
  --panel-2: #1f2023;
  --line: rgba(210, 176, 84, 0.18);
  --line-strong: rgba(210, 176, 84, 0.34);
  --text: #ede3d1;
  --muted: #a79a83;
  --gold: #d2b054;
  --blue: #5d95d8;
  --green: #5fb47e;
  --amber: #dd9a46;
  --red: #d26156;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, #131416 0%, #080809 100%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}
body { min-height: 100vh; }
a { text-decoration: none; }
button, input, select, textarea { font: inherit; }
.app-release-footer {
  padding: 0 24px 22px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  align-items: center;
  font-size: 12px;
}
input[type="file"] {
  padding: 10px 12px;
}
.login-body { display: grid; place-items: center; padding: 22px; }
.public-body {
  padding: 24px;
}
.login-shell { width: 100%; max-width: 460px; }
.public-shell {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}
.public-footer {
  padding: 22px 24px 30px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.public-footer a {
  color: var(--gold);
}
.privacy-sheet {
  line-height: 1.7;
}
.login-card, .panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.login-card { padding: 28px; }
.login-title, .page-title, .section-title, .brand {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  letter-spacing: 0.04em;
}
.login-title { margin: 10px 0 10px; font-size: 42px; line-height: 0.95; }
.muted { color: var(--muted); }
.form-stack { display: grid; gap: 14px; margin-top: 20px; }
.login-links {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.form-grid .span-2 { grid-column: span 2; }
.form-group { display: grid; gap: 7px; }
.input-like-readonly {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(210, 176, 84, 0.08);
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 48px;
  display: flex;
  align-items: center;
}
.form-group label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--text);
}
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
}
.public-privacy-box {
  padding: 16px 18px;
  border: 1px solid rgba(184, 135, 31, 0.28);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(210, 176, 84, 0.12), rgba(255, 255, 255, 0.02));
}
.public-privacy-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d2b054;
}
.public-privacy-text {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.public-privacy-text a,
.public-privacy-text a:visited {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.public-privacy-text a:hover,
.public-privacy-text a:focus {
  color: #fff;
  text-decoration: underline;
}
.public-privacy-actions {
  margin-top: 4px;
}
.public-privacy-check {
  margin-top: 4px;
}
.public-booking-button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}
.privacy-editor {
  min-height: 420px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  line-height: 1.55;
}
.public-privacy-footer-actions {
  margin-top: 18px;
  justify-content: center;
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
}
.field-default-value {
  color: var(--muted);
}
textarea { min-height: 120px; resize: vertical; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
}
.button-primary { background: var(--gold); color: #111; }
.button-secondary { background: transparent; color: var(--text); border-color: var(--line-strong); }
.button-danger { background: rgba(210, 97, 86, 0.12); color: #ffb2ab; border-color: rgba(210, 97, 86, 0.28); }
.button-full { width: 100%; }
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.toolbar-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: end;
  justify-content: space-between;
}
.toolbar-search {
  min-width: min(420px, 100%);
  flex: 1 1 420px;
  display: grid;
  gap: 8px;
}
.toolbar-search label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.bookings-filter-search {
  flex: 1.6 1 360px;
  min-width: min(360px, 100%);
}
.bookings-filter-status {
  flex: 0 1 210px;
  min-width: min(210px, 100%);
}
.bookings-filter-event {
  flex: 1.15 1 300px;
  min-width: min(300px, 100%);
}
.public-section {
  margin-top: 20px;
}
.public-hero {
  background:
    radial-gradient(circle at top right, rgba(210,176,84,0.16), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
}
.public-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  align-items: stretch;
}
.public-event-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.public-event-poster {
  display: block;
  background: #111;
  position: relative;
}
.public-event-poster img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.public-event-poster-cta {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  border: 1px solid rgba(95, 180, 126, 0.42);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
}
.public-event-poster-cta-closed {
  background: #b42318;
  color: #fff;
  font-weight: 900;
}
.public-event-poster-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  background: #fff !important;
  color: #111 !important;
  border: 1px solid #111;
}
.public-booking-button {
  background: var(--green) !important;
  color: #fff !important;
  border-color: rgba(95, 180, 126, 0.42) !important;
}
.public-booking-button-closed {
  background: #b42318 !important;
  cursor: default;
  pointer-events: none;
}
.public-event-title {
  font-size: 24px;
  white-space: nowrap;
  overflow: hidden;
  line-height: 1.1;
}
.public-event-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.public-event-card-actions {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
  padding-top: 10px;
}
.public-meta {
  color: var(--muted);
  margin-top: 6px;
}
.public-event-date {
  margin-top: 8px;
  font-weight: 800;
  color: var(--text);
}
.public-booking-deadline {
  margin-top: 6px;
  font-weight: 700;
  color: #ff8a80;
}
.public-soldout-note {
  display: inline-block;
  margin-left: 8px;
  color: #ffd79a;
  font-size: 13px;
  line-height: 1.5;
}
.public-soldout-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(210, 97, 86, 0.16);
  border: 1px solid rgba(210, 97, 86, 0.34);
  color: #ff9e96;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.public-soldout-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.public-event-price-box {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(212, 180, 116, 0.45);
  background: linear-gradient(135deg, rgba(212, 180, 116, 0.18) 0%, rgba(255, 255, 255, 0.03) 100%);
}
.public-event-price-value {
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  color: var(--gold);
}
.public-event-price-note {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.public-booking-summary-card {
  margin-top: 4px;
}
.public-booking-summary-list {
  display: grid;
  gap: 10px;
}
.public-booking-summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(212, 180, 116, 0.18);
  background: rgba(255, 255, 255, 0.02);
}
.public-booking-summary-line span {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.public-booking-summary-line strong {
  font-size: 18px;
  line-height: 1;
  color: var(--text);
  white-space: nowrap;
}
.public-booking-summary-line-total {
  border-color: rgba(212, 180, 116, 0.38);
  background: linear-gradient(135deg, rgba(212, 180, 116, 0.16) 0%, rgba(255, 255, 255, 0.03) 100%);
}
.public-booking-summary-line-total strong {
  color: var(--gold);
}
.public-event-payment-details {
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(212, 180, 116, 0.25);
  border-radius: 12px;
  background: rgba(212, 180, 116, 0.08);
  display: grid;
  gap: 6px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
}
.public-event-payment-details strong {
  color: var(--gold);
}
.public-accommodation-price-list {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}
.public-accommodation-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(83, 195, 130, 0.18);
  background: linear-gradient(135deg, rgba(83, 195, 130, 0.12) 0%, rgba(255, 255, 255, 0.02) 100%);
}
.public-accommodation-price-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.public-accommodation-price-value {
  font-size: 20px;
  line-height: 1;
  font-weight: 800;
  color: var(--green);
  white-space: nowrap;
}
.public-accommodation-price-value small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.public-accommodation-payment-mode {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(212, 180, 116, 0.35);
  background: linear-gradient(135deg, rgba(212, 180, 116, 0.14) 0%, rgba(255, 255, 255, 0.02) 100%);
  display: grid;
  gap: 4px;
}
.public-accommodation-payment-mode strong {
  color: var(--gold);
  font-size: 14px;
}
.public-accommodation-payment-mode .muted {
  margin-top: 0;
  font-size: 13px;
  line-height: 1.45;
}
.public-soldout-title {
  display: block;
  margin-bottom: 4px;
  color: #ff9e96;
  font-size: 24px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.public-description {
  margin: 14px 0 18px;
  line-height: 1.6;
}
.public-event-layout {
  align-items: start;
}
.public-info-card {
  position: sticky;
  top: 24px;
}
.public-single-poster {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
}
.public-single-poster img {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  background: #111;
}
.public-form-grid {
  margin-top: 16px;
}
.public-back-row {
  margin-bottom: 18px;
}
.table-sort,
.table-sort:link,
.table-sort:visited,
.table-sort:active {
  color: #b7b0a3 !important;
  font-weight: 700;
}
.table-sort:hover,
.table-sort.active {
  color: #d7d1c5 !important;
}
.alert {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
}
.page-alert { margin-bottom: 20px; }
.alert-error {
  background: rgba(210, 97, 86, 0.12);
  border: 1px solid rgba(210, 97, 86, 0.28);
  color: #ffaaa0;
}
.alert-success {
  background: rgba(95, 180, 126, 0.12);
  border: 1px solid rgba(95, 180, 126, 0.28);
  color: #b6f0c9;
}
.alert-waiting {
  background: rgba(221, 154, 70, 0.12);
  border: 1px solid rgba(221, 154, 70, 0.34);
  color: #ffd79a;
}
.alert-info {
  background: rgba(93, 149, 216, 0.12);
  border: 1px solid rgba(93, 149, 216, 0.28);
  color: #bdd8ff;
}
.public-booking-result {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.public-booking-result-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  flex: 0 0 34px;
  background: rgba(255,255,255,0.08);
  font-size: 18px;
  line-height: 1;
}
.public-booking-result strong {
  display: block;
  margin-bottom: 4px;
}
.public-floating-notice {
  position: sticky;
  top: 14px;
  z-index: 50;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 18px;
  padding: 16px 18px;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}
.public-floating-notice strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}
.public-floating-notice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  flex: 0 0 38px;
  background: rgba(255,255,255,0.12);
  font-size: 20px;
  line-height: 1;
}
.public-floating-notice-success {
  background: rgba(39, 103, 63, 0.94);
  border: 1px solid rgba(120, 214, 157, 0.38);
  color: #e8fff0;
}
.public-floating-notice-error {
  background: rgba(112, 38, 38, 0.95);
  border: 1px solid rgba(255, 138, 138, 0.34);
  color: #ffe0db;
}
.public-floating-notice-waiting {
  background: rgba(104, 72, 18, 0.95);
  border: 1px solid rgba(255, 210, 122, 0.34);
  color: #fff0cf;
}
.button-small {
  font-size: 13px;
  padding: 8px 11px;
}
.member-dashboard-summary {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.member-dashboard-stat {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
  display: grid;
  gap: 6px;
}
.member-dashboard-stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
}
.member-dashboard-stat-note {
  font-size: 14px;
  line-height: 1.4;
  color: var(--text);
  font-weight: 600;
}
.member-dashboard-intro {
  border: 1px solid rgba(210, 176, 84, 0.18);
  border-radius: 16px;
  background: rgba(210, 176, 84, 0.06);
  color: var(--text);
  line-height: 1.6;
  padding: 14px 16px;
}
.member-dashboard-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.member-dashboard-actions .button {
  align-items: flex-start;
  border-radius: 18px;
  display: grid;
  gap: 6px;
  justify-content: flex-start;
  justify-items: flex-start;
  min-height: 96px;
  padding: 14px 16px;
  text-align: left;
  width: 100%;
}
.member-dashboard-actions .button.button-primary {
  background: rgba(210, 176, 84, 0.2);
  border-color: rgba(210, 176, 84, 0.55);
  color: var(--text);
}
.member-dashboard-actions .button.is-active {
  background: var(--gold);
  border-color: rgba(210, 176, 84, 0.9);
  color: #111;
  box-shadow: 0 10px 22px rgba(210, 176, 84, 0.22);
}
.member-dashboard-action-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}
.member-dashboard-action-note {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}
.member-dashboard-actions .button.is-active .member-dashboard-action-note,
.member-dashboard-actions .button.button-primary .member-dashboard-action-note {
  color: rgba(17, 17, 17, 0.8);
}
.member-dashboard-panel[hidden] {
  display: none !important;
}
.member-events-list {
  display: grid;
  gap: 14px;
}
.member-event-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.03);
}
.member-event-poster-wrap {
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
}
.member-event-poster {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  background: #111214;
}
.member-event-poster-wrap-compact {
  margin-top: 4px;
}
.member-event-poster-compact {
  max-height: 190px;
}
.member-event-card-head {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}
.member-event-card-head h3 {
  margin: 0 0 5px;
}
.member-event-status-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}
.member-event-status-grid-compact {
  grid-template-columns: minmax(180px, 220px) repeat(2, minmax(0, 1fr));
  align-items: start;
}
.member-event-status-box {
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  gap: 8px;
  padding: 13px;
}
.member-event-payment-breakdown {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
}
.member-event-payment-line {
  align-items: baseline;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  font-size: 14px;
}
.member-event-payment-line strong {
  color: var(--gold);
  font-size: 16px;
  white-space: nowrap;
}
.member-event-payment-split-box {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(212, 180, 116, 0.16);
  background: rgba(255,255,255,0.02);
}
.member-event-payment-line-total {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.member-event-payment-line-total strong {
  color: var(--green);
}
.member-event-payment-line-accent strong {
  color: var(--green);
}
.member-event-payment-line-accent {
  border-top: 1px solid rgba(212, 180, 116, 0.22);
  margin-top: 2px;
  padding-top: 10px;
}
.member-event-payment-line-soft strong {
  color: var(--gold);
}
.member-event-bank-box {
  background: rgba(217, 184, 108, 0.08);
  border: 1px solid rgba(217, 184, 108, 0.18);
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.45;
  margin-top: 2px;
  overflow-wrap: anywhere;
  padding: 10px 12px;
}
.member-event-payment-note {
  background: rgba(212, 180, 116, 0.1);
  border: 1px solid rgba(212, 180, 116, 0.2);
  border-radius: 14px;
  display: grid;
  gap: 4px;
  font-size: 13px;
  line-height: 1.45;
  margin-top: 2px;
  padding: 10px 12px;
}
.member-event-payment-note strong {
  color: var(--gold);
}
.member-event-payment-note .muted {
  margin-top: 0;
}
.member-event-status-box-poster {
  align-content: start;
}
.muted-danger {
  color: #df6b6b;
  font-weight: 700;
}
.member-documents-list {
  display: grid;
  gap: 14px;
}
.member-document-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.03);
}
.member-document-card-head {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}
.member-document-card-head h3 {
  margin: 0 0 5px;
}
.member-document-card-body {
  margin-top: 10px;
  line-height: 1.6;
}
.member-document-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.member-document-viewer {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}
.member-document-pages {
  display: grid;
  gap: 18px;
}
.member-document-page {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}
.member-document-page-label {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.member-document-page img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #ffffff;
}
.member-document-viewer iframe {
  border: 0;
  display: block;
  width: 100%;
  min-height: calc(100vh - 240px);
  background: #ffffff;
}
.member-document-mobile-note {
  line-height: 1.6;
}
.demo-box {
  margin-top: 20px;
  padding: 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.demo-title, .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.app-layout { display: grid; grid-template-columns: 280px 1fr; min-height: 100vh; transition: grid-template-columns 0.22s ease; }
.sidebar {
  background: rgba(10, 10, 11, 0.96);
  border-right: 1px solid var(--line);
  padding: 24px 18px;
  transition: padding 0.22s ease;
}
.sidebar-topbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 14px;
}
.sidebar-toggle {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.04);
  color: var(--gold);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.sidebar-toggle:hover {
  transform: translateY(-1px);
  background: rgba(210, 176, 84, 0.12);
  border-color: rgba(210, 176, 84, 0.46);
}
.sidebar-toggle-close {
  display: none;
}
.sidebar-brand-block {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}
.sidebar-logo-wrap {
  width: 92px;
  height: 92px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidebar-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0f1012;
}
.brand { font-size: 28px; color: var(--gold); }
.sidebar-chapter { margin-top: 0; }
.sidebar-user { margin-top: 20px; padding: 14px; }
.sidebar-nav { display: grid; gap: 16px; margin-top: 18px; }
.sidebar-nav-section {
  display: grid;
  gap: 8px;
}
.sidebar-nav-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(210, 176, 84, 0.7);
  padding: 0 6px;
}
.nav-link {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--muted);
  border: 1px solid transparent;
}
.nav-link:hover, .nav-link.active {
  background: var(--panel-2);
  border-color: var(--line);
  color: var(--text);
}
.sidebar-logout { margin-top: 18px; }
.sidebar-footer-brand {
  margin-top: 14px;
  text-align: center;
}
.content { padding: 24px; }
.admin-body.sidebar-collapsed .app-layout {
  grid-template-columns: 96px 1fr;
}
.admin-body.sidebar-collapsed .sidebar {
  padding-left: 12px;
  padding-right: 12px;
}
.admin-body.sidebar-collapsed .sidebar-topbar {
  justify-content: center;
}
.admin-body.sidebar-collapsed .sidebar-brand-block,
.admin-body.sidebar-collapsed .sidebar-user,
.admin-body.sidebar-collapsed .sidebar-switcher,
.admin-body.sidebar-collapsed .sidebar-footer-brand {
  display: none;
}
.admin-body.sidebar-collapsed .sidebar-nav {
  margin-top: 8px;
}
.admin-body.sidebar-collapsed .sidebar-nav-section {
  gap: 10px;
}
.admin-body.sidebar-collapsed .sidebar-nav-title {
  display: none;
}
.admin-body.sidebar-collapsed .nav-link {
  text-align: center;
  padding: 12px 8px;
  font-size: 11px;
  line-height: 1.2;
}
.admin-body.sidebar-collapsed .sidebar-logout {
  padding-left: 8px;
  padding-right: 8px;
  font-size: 0;
}
.admin-body.sidebar-collapsed .sidebar-logout::before {
  content: "Esci";
  font-size: 12px;
  font-weight: 700;
}
.admin-body.sidebar-collapsed .sidebar-toggle-open {
  display: none;
}
.admin-body.sidebar-collapsed .sidebar-toggle-close {
  display: inline;
}
.page-header { margin-bottom: 24px; }
.page-title { margin: 8px 0 8px; font-size: 36px; }
.page-subtitle { margin: 0; color: var(--muted); }
.stats-grid, .two-col { display: grid; gap: 16px; }
.stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.two-col { grid-template-columns: 1fr 1fr; }
.section-gap { margin-top: 24px; }
.stat-card, .pad { padding: 18px; }
.stat-value { margin-top: 8px; font-size: 34px; font-weight: 800; }
.section-top, .list-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.section-title { margin: 8px 0 0; font-size: 28px; }
.list { display: grid; gap: 12px; margin-top: 16px; }
.list-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
}
.list-item h3 { margin: 0 0 6px; }
.dashboard-list-item h3 {
  margin-bottom: 4px;
}
.dashboard-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.dashboard-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(210, 176, 84, 0.14);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}
.dashboard-chip-soldout {
  background: rgba(210, 97, 86, 0.14);
  border-color: rgba(210, 97, 86, 0.28);
  color: #ff9e96;
  font-weight: 700;
}
.dashboard-status-item {
  display: grid;
  gap: 8px;
}
.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.status.green { background: rgba(95, 180, 126, 0.12); color: var(--green); }
.status.amber { background: rgba(221, 154, 70, 0.12); color: var(--amber); }
.status.red { background: rgba(210, 97, 86, 0.12); color: var(--red); }
.status.blue { background: rgba(93, 149, 216, 0.12); color: var(--blue); }
.booking-approval-inline {
  margin: 0;
}
.booking-approval-select {
  width: 100%;
  min-width: 148px;
  border: 1px solid transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 28px;
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 14px) calc(50% - 2px),
    calc(100% - 9px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.booking-approval-select:focus {
  outline: none;
  border-color: currentColor;
}
.member-hog-meta {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.member-hog-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(210, 176, 84, 0.12);
  border: 1px solid rgba(210, 176, 84, 0.22);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.member-hog-expiry {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.member-hog-expiry.expired {
  color: var(--red);
}
.member-request-action {
  position: relative;
  display: inline-flex;
  width: 42px;
  min-height: 58px;
  align-items: flex-start;
  justify-content: center;
  padding-bottom: 16px;
}
.member-request-action-complete {
  min-height: 42px;
  padding-bottom: 0;
}
.member-request-count {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  min-width: 18px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}
.table-wrap { margin-top: 16px; overflow: auto; }
table { width: 100%; border-collapse: collapse; }
.bookings-table-wrap {
  overflow-x: visible;
}
.bookings-table {
  table-layout: fixed;
}
.bookings-table th,
.bookings-table td {
  padding: 10px 8px;
  font-size: 13px;
}
.bookings-table th {
  font-size: 11px;
  letter-spacing: 0.08em;
}
.bookings-table td strong {
  font-size: 13px;
}
.bookings-table .muted {
  font-size: 11px;
  line-height: 1.35;
}
.bookings-table .status {
  padding: 6px 8px;
  font-size: 11px;
}
.bookings-table .icon-action {
  width: 34px;
  height: 34px;
  font-size: 15px;
}
.bookings-table .action-icons {
  gap: 6px;
}
.bookings-table .action-icon-stack {
  min-width: 34px;
}
.bookings-table .action-icon-count {
  font-size: 10px;
  min-width: 16px;
  padding: 1px 4px;
}
.stat-label {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}
.bookings-table .booking-approval-select {
  min-width: 126px;
  font-size: 11px;
  padding: 6px 24px 6px 8px;
}
.bookings-table th:nth-child(1),
.bookings-table td:nth-child(1) {
  width: 52px;
}
.bookings-table th:nth-child(7),
.bookings-table td:nth-child(7) {
  width: 92px;
}
.bookings-table th:nth-child(8),
.bookings-table td:nth-child(8) {
  width: 138px;
}
.bookings-table th:nth-child(9),
.bookings-table td:nth-child(9) {
  width: 126px;
}
.cashbook-table-wrap {
  overflow-x: auto;
}
.cashbook-table {
  table-layout: fixed;
  min-width: 1240px;
}
.cashbook-table th,
.cashbook-table td {
  padding: 11px 9px;
  font-size: 14.5px;
  vertical-align: top;
}
.cashbook-table th {
  font-size: 11px;
  letter-spacing: 0.08em;
}
.cashbook-table td strong {
  font-size: 14.5px;
}
.cashbook-table .panel-note,
.cashbook-table .muted {
  font-size: 12.5px;
  line-height: 1.35;
}
.cashbook-table .status {
  padding: 6px 8px;
  font-size: 11px;
}
.cashbook-table .icon-action {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  flex: 0 0 40px;
  font-size: 16px;
  border-radius: 11px;
}
.cashbook-table .action-icons {
  gap: 8px;
  align-items: center;
}
.cashbook-table .action-icons .inline-form {
  display: inline-flex;
}
.cashbook-table .document-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.cashbook-table .icon-action span {
  font-size: 17px;
  line-height: 1;
}
.cashbook-table th:nth-child(1),
.cashbook-table td:nth-child(1) {
  width: 56px;
}
.cashbook-table th:nth-child(2),
.cashbook-table td:nth-child(2) {
  width: 96px;
}
.cashbook-table th:nth-child(3),
.cashbook-table td:nth-child(3) {
  width: 96px;
}
.cashbook-table th:nth-child(4),
.cashbook-table td:nth-child(4) {
  width: 130px;
}
.cashbook-table th:nth-child(5),
.cashbook-table td:nth-child(5) {
  width: 34%;
}
.cashbook-table th:nth-child(6),
.cashbook-table td:nth-child(6) {
  width: 110px;
}
.cashbook-table th:nth-child(7),
.cashbook-table td:nth-child(7) {
  width: 72px;
}
.cashbook-table th:nth-child(8),
.cashbook-table td:nth-child(8) {
  width: 96px;
}
.cashbook-table th:nth-child(9),
.cashbook-table td:nth-child(9) {
  width: 132px;
}
.cashbook-table td:nth-child(6),
.cashbook-table td:nth-child(7),
.cashbook-table td:nth-child(8),
.cashbook-table td:nth-child(9) {
  white-space: nowrap;
}
.row-waiting td {
  background: rgba(221, 154, 70, 0.06);
}
.bulk-check-label {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  text-align: center;
}
.bulk-booking-checkbox,
#select_all_bookings {
  width: 16px;
  height: 16px;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
@media (max-width: 1100px) {
  .bookings-table-wrap {
    overflow-x: auto;
  }
  .cashbook-table-wrap {
    overflow-x: auto;
  }
}
@media (max-width: 900px) {
  .bookings-table th,
  .bookings-table td {
    padding: 9px 7px;
  }
  .bookings-table .booking-approval-select {
    min-width: 118px;
  }
  .cashbook-table th,
  .cashbook-table td {
    padding: 9px 7px;
  }
}
.text-link { color: var(--gold); }
.empty-state {
  margin-top: 16px;
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  color: var(--muted);
  line-height: 1.6;
}
.panel-note {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.support-ticket-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
}
.support-thread {
  display: grid;
  gap: 14px;
}
.support-message {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255,255,255,0.025);
}
.support-message-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.support-message-body {
  color: var(--text);
  line-height: 1.65;
}
.support-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.support-attachment-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(210, 176, 84, 0.28);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(210, 176, 84, 0.08);
  font-size: 13px;
  font-weight: 700;
}
.support-stat-card {
  color: inherit;
  transition: border-color .18s ease, transform .18s ease;
}
.support-stat-card:hover,
.support-stat-card-active {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}
.form-errors {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}
.inline-form {
  display: inline-flex;
  margin: 0;
}
.template-vars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.template-var-item {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
}
.template-var-item code {
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(210,176,84,0.12);
  color: var(--gold);
}
.template-var-item span {
  color: var(--muted);
}
.template-editor {
  min-height: 420px;
  font-family: Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.5;
}
.embed-code {
  min-height: 110px;
  font-family: Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.5;
  background: #111215;
}
.compact-stats {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.bookings-summary-grid {
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 12px;
}
.bookings-summary-grid .compact-stat-card {
  display: flex;
  flex-direction: column;
  min-height: 94px;
  padding: 12px 14px;
}
.bookings-summary-grid .eyebrow {
  font-size: 10px;
  line-height: 1.15;
  min-height: 24px;
}
.bookings-summary-grid .stat-value {
  margin-top: auto;
  font-size: 26px;
  line-height: 1;
}
.bookings-summary-grid .stat-value small {
  font-size: 14px;
}
.event-preview-stats {
  grid-template-columns: 0.8fr 0.8fr 1.45fr 0.75fr 0.75fr 0.75fr 1fr 1fr;
}
.renewal-summary-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cash-summary-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.cash-summary-grid .compact-stat-card {
  min-height: 94px;
  padding: 14px 18px;
}
.cash-summary-grid .eyebrow {
  margin-bottom: 8px;
}
.cash-summary-grid .stat-value {
  font-size: 32px;
  line-height: 1;
}
.cash-summary-grid .muted {
  margin-top: 6px;
  font-size: 13px;
}
.cash-toolbar-row {
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: end;
}
.cash-toolbar-search {
  min-width: 280px;
  flex: 0 1 320px;
}
.cash-toolbar-row .form-group {
  min-width: 150px;
  flex: 0 0 150px;
}
.cash-toolbar-row .button-row {
  flex: 0 0 auto;
}
.compact-stat-card {
  min-height: 120px;
}
.stat-card-link {
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.stat-card-link:hover {
  transform: translateY(-1px);
  border-color: rgba(212, 180, 116, 0.55);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}
.stat-card-link-active {
  border-color: rgba(212, 180, 116, 0.75);
  box-shadow: 0 0 0 1px rgba(212, 180, 116, 0.35);
}
.event-preview-stats .compact-stat-card {
  display: flex;
  flex-direction: column;
}
.event-preview-stats .compact-stat-card .eyebrow {
  min-height: 30px;
}
.event-preview-stats .compact-stat-card .stat-value,
.event-preview-stats .compact-stat-card .section-gap {
  margin-top: auto;
}
.event-preview-stats .compact-stat-card .muted {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.3;
}
.module-toggle-card {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
}
.module-toggle-card .checkbox-label {
  width: 100%;
}
.template-preview-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.template-preview-card {
  min-height: 120px;
}
.template-advanced {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px 16px;
  background: rgba(255,255,255,0.02);
}
.template-advanced summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  list-style: none;
}
.template-advanced summary::-webkit-details-marker {
  display: none;
}
.template-advanced[open] summary {
  margin-bottom: 12px;
}
.document-link-helper {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}
.waitlist-panel {
  border-color: rgba(221, 154, 70, 0.28);
  background: rgba(221, 154, 70, 0.06);
}
.waitlist-title {
  font-size: 22px;
}
.waitlist-inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.waitlist-pill {
  display: grid;
  gap: 4px;
  min-width: 220px;
  padding: 12px 14px;
  border: 1px solid rgba(221, 154, 70, 0.24);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.12);
}
.waitlist-pill span {
  color: var(--muted);
  font-size: 13px;
}
.booking-ops-summary {
  display: grid;
  gap: 12px;
}
.booking-ops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.booking-ops-grid-compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.booking-ops-card {
  display: flex;
  flex-direction: column;
  padding: 14px;
  min-width: 0;
}
.booking-ops-card .eyebrow {
  min-height: 38px;
}
.booking-ops-card .stat-value {
  margin-top: auto;
  font-size: clamp(22px, 2.2vw, 30px);
}
.booking-ops-card .muted {
  margin-top: 6px;
  font-size: 13px;
}
@media (max-width: 1180px) {
  .booking-ops-grid-compact {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}
.guide-sheet {
  display: grid;
  gap: 12px;
}
.guide-sheet h2,
.guide-sheet h3 {
  margin: 0;
}
.guide-sheet p,
.guide-sheet ul {
  margin: 0;
  color: var(--text);
  line-height: 1.7;
}
.guide-sheet ul {
  padding-left: 18px;
}
.event-preview-poster {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
}
.event-preview-poster img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  background: #111;
}
.grouped-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
}
.grouped-card-head {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}
.companion-summary {
  margin-bottom: 10px;
}
.nested-form-grid {
  margin-top: 0;
}
.companion-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
}
.companion-row-head strong {
  font-size: 14px;
}
.companion-form-row,
.companion-add-button {
  margin-top: 12px;
}
.companion-remove-button {
  padding: 8px 12px;
  font-size: 13px;
}
.inline-grid-2,
.inline-grid-3,
.inline-grid-4 {
  display: grid;
  gap: 16px;
}
.inline-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.inline-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.inline-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.email-preview-frame {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  min-height: 320px;
}
.email-preview-frame > * {
  max-width: 100%;
}
.action-icons {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: nowrap;
}
.action-icon-stack {
  width: 42px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  flex: 0 0 42px;
}
.action-icon-stack .inline-form {
  display: inline-flex;
}
.action-icon-count {
  width: 100%;
  text-align: center;
  font-size: 11px;
  line-height: 1;
  color: var(--muted);
}
.events-action-icons {
  gap: 7px;
}
.events-table td {
  vertical-align: middle;
}
.date-stack {
  display: grid;
  gap: 3px;
}
.events-actions-cell {
  white-space: nowrap;
}
.events-action-icons .icon-action {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}
.events-action-icons .icon-action span {
  font-size: 16px;
}
.visibility-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.visibility-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}
.visibility-icon.green {
  color: var(--green);
  background: rgba(95, 180, 126, 0.12);
}
.visibility-icon.red {
  color: var(--red);
  background: rgba(210, 97, 86, 0.12);
}
.visibility-icon.amber {
  color: var(--amber);
  background: rgba(221, 154, 70, 0.12);
}
.visibility-icon.blue {
  color: var(--blue);
  background: rgba(93, 149, 216, 0.12);
}
.table-soldout-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(210, 97, 86, 0.16);
  border: 1px solid rgba(210, 97, 86, 0.34);
  color: #ff9e96;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.icon-action {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #24262a;
  color: var(--gold);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.icon-action-static {
  cursor: default;
}
.icon-action-static:hover {
  transform: none;
}
.icon-action:hover {
  transform: translateY(-1px);
  border-color: rgba(210, 176, 84, 0.56);
  background: rgba(210, 176, 84, 0.12);
}
.icon-action-danger {
  color: #ffb2ab;
}
.icon-action-alert {
  color: #ffb2ab;
  border-color: rgba(210, 97, 86, 0.42);
  background: rgba(210, 97, 86, 0.12);
}
.icon-action-alert:hover {
  background: rgba(210, 97, 86, 0.18);
  border-color: rgba(210, 97, 86, 0.52);
}
.icon-action-success {
  color: #b6f0c9;
  border-color: rgba(95, 180, 126, 0.38);
  background: rgba(95, 180, 126, 0.12);
}
.icon-action-success:hover {
  background: rgba(95, 180, 126, 0.18);
  border-color: rgba(95, 180, 126, 0.52);
}
.icon-action-bed-assigned {
  color: #b6f0c9;
  border-color: rgba(95, 180, 126, 0.44);
  background: rgba(95, 180, 126, 0.16);
}
.icon-action-bed-assigned:hover {
  background: rgba(95, 180, 126, 0.22);
  border-color: rgba(95, 180, 126, 0.58);
}
.button-success {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.button-success:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.icon-action-danger:hover {
  background: rgba(210, 97, 86, 0.16);
  border-color: rgba(210, 97, 86, 0.42);
}
.icon-action span {
  font-size: 19px;
  line-height: 1;
}
.form-group-missing label {
  color: #ffb2ab;
}
.form-group-missing input,
.form-group-missing select,
.form-group-missing textarea {
  border-color: rgba(210, 97, 86, 0.48);
  box-shadow: 0 0 0 1px rgba(210, 97, 86, 0.14);
}
.sidebar-switcher {
  margin-bottom: 16px;
  display: grid;
  gap: 10px;
}
.compact-role-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.check-card {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.02);
}
.check-card input {
  width: 18px;
  height: 18px;
}
.permission-grid {
  margin-top: 10px;
}
.permission-card {
  align-items: flex-start;
}
.permission-card strong {
  display: block;
  margin-bottom: 2px;
}
.permission-card-note {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.receipt-sheet {
  margin-top: 18px;
  background: #fff;
  color: #111;
  border-radius: 18px;
  padding: 34px 42px;
}
.receipt-header {
  text-align: center;
}
.receipt-logo {
  max-width: 150px;
  max-height: 130px;
  display: block;
  margin: 0 auto 12px;
}
.receipt-chapter {
  line-height: 1.6;
  font-weight: 700;
}
.receipt-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
}
.receipt-recipient {
  margin-top: 38px;
  line-height: 1.65;
}
.receipt-label {
  font-weight: 700;
  margin-bottom: 8px;
}
.receipt-body {
  margin-top: 34px;
  line-height: 1.8;
  min-height: 150px;
}
.receipt-footer-date {
  margin-top: 80px;
}

.member-event-reference-list {
  display: grid;
  gap: 10px;
}

.member-event-reference-item {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: inherit;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 12px 14px;
  text-decoration: none;
}

.member-event-reference-item:hover {
  border-color: rgba(212, 175, 55, 0.45);
  transform: translateY(-1px);
}

.member-event-reference-item .muted {
  display: block;
  margin-top: 2px;
}

@media (max-width: 980px) {
  .app-layout, .stats-grid, .two-col, .form-grid, .event-preview-stats { grid-template-columns: 1fr; }
  .bookings-summary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-grid .span-2 { grid-column: span 1; }
  .template-preview-grid { grid-template-columns: 1fr; }
  .template-vars { grid-template-columns: 1fr; }
  .renewal-summary-grid { grid-template-columns: 1fr; }
  .cash-summary-grid { grid-template-columns: 1fr; }
  .public-card-grid { grid-template-columns: 1fr; }
  .inline-grid-2, .inline-grid-3, .inline-grid-4 { grid-template-columns: 1fr; }
  .compact-role-grid, .checkbox-grid { grid-template-columns: 1fr; }
  .member-dashboard-summary,
  .member-dashboard-actions {
    grid-template-columns: 1fr;
  }
  .member-dashboard-actions .button {
    min-height: auto;
  }
  .member-dashboard-action-title {
    font-size: 15px;
  }
  .member-dashboard-action-note {
    font-size: 12px;
  }
  .cash-toolbar-row { flex-wrap: wrap; }
  .cash-toolbar-search,
  .cash-toolbar-row .form-group,
  .cash-toolbar-row .button-row {
    min-width: 100%;
    flex: 1 1 100%;
  }
  .public-body { padding: 14px; }
  .public-info-card { position: static; }
  .member-event-card-head,
  .member-document-card-head,
  .member-event-status-grid {
    grid-template-columns: 1fr;
  }
  .member-event-poster,
  .member-event-poster-compact {
    max-height: 220px;
  }
  .member-event-card-head,
  .member-document-card-head {
    display: grid;
  }
  .member-document-viewer iframe {
    min-height: 72vh;
  }
  .member-document-page {
    padding: 10px;
  }
  .public-floating-notice {
    top: 10px;
    margin-bottom: 14px;
    padding: 14px 15px;
  }
  .public-floating-notice strong {
    font-size: 15px;
  }
}
