@charset "UTF-8";
:root {
  --t-bg: #0e0f10;
  --t-surface: #0f0f10;
  --t-text: #d7dadd;
  --t-text-muted: #a7abb1;
  --t-primary: #5fff00;
  --t-primary-hover: #5fff00;
  --t-primary-active: #358e00;
  --t-primary-subtle: rgba(var(--t-primary-rgb), .12);
  --t-primary-contrast-text: #0a0a0a;
  --t-secondary: #ff00d8;
  --t-header-from: #0d1118;
  --t-header-to: #090d13;
  --t-border: rgba(var(--t-fg-rgb), .1);
  --t-focus-ring: rgba(var(--t-primary-rgb), .30);
  --t-glow-primary: rgba(var(--t-primary-rgb), .06);
  --t-glow-secondary: rgba(var(--t-secondary-rgb), .05);
  --t-fg-rgb: 255, 255, 255;
  --t-primary-rgb: 95, 255, 0;
  --t-secondary-rgb: 255, 0, 216;
  --t-surface-rgb: 15, 15, 16;
  --t-bg-rgb: 14, 15, 16;
}

:root {
  --rtx-layout-max-width: 100%;
  --rtx-layout-gutter: 20px;
  --site-header-height: 100px;
}

@media (max-width: 600px) {
  :root {
    --rtx-layout-gutter: 12px;
    --site-header-height: 72px;
  }
}
html {
  /* Typography base size; overridden responsively below */
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}
* {
  box-sizing: border-box;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin: 0;
}

body {
  background-color: var(--t-bg, #0e0f10);
  color: var(--t-text, #d7dadd);
  font-family: "Inter";
  line-height: 1.55;
  background-image: radial-gradient(620px 620px at 50% 40%, rgba(var(--t-fg-rgb), 0.045) 0%, rgba(var(--t-fg-rgb), 0) 60%), radial-gradient(80% 120% at 100% 0%, var(--t-glow-secondary, rgba(var(--t-secondary-rgb), 0.05)), transparent 50%), radial-gradient(80% 140% at 0% 100%, var(--t-glow-primary, rgba(var(--t-primary-rgb), 0.06)), transparent 55%);
  background-attachment: fixed;
}

body.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4 {
  font-family: "Inter", "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.25px;
  margin-bottom: 0.9rem;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

input[type=file]::file-selector-button {
  font: inherit;
}

input[type=file]::-webkit-file-upload-button {
  font: inherit;
}

.ui-dropdown {
  position: relative;
  display: block;
  width: 100%;
}

.ui-dropdown-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  clip: rect(0 0 0 0) !important;
  overflow: hidden !important;
}

.ui-dropdown-trigger {
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  will-change: color, background-color, border-color, filter, box-shadow, transform;
  width: 100%;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 8px 12px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.14);
  border-radius: 8px;
  background-color: rgba(var(--t-surface-rgb), 0.98);
  color: var(--t-text);
  box-shadow: inset 0 1px 0 rgba(var(--t-fg-rgb), 0.06);
  cursor: pointer;
  text-align: left;
}
.ui-dropdown-trigger:hover, .ui-dropdown-trigger:focus-visible {
  border-color: var(--t-focus-ring, rgba(var(--t-primary-rgb), 0.62));
  box-shadow: 0 0 0 0.15rem var(--t-focus-ring, rgba(var(--t-primary-rgb), 0.16)), inset 0 1px 0 rgba(var(--t-fg-rgb), 0.05);
  outline: none;
}
.ui-dropdown-trigger:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.ui-dropdown-value {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.ui-dropdown-icon {
  width: 18px;
  height: 18px;
  color: rgba(var(--t-fg-rgb), 0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
}
.ui-dropdown-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.ui-dropdown-icon[hidden] {
  display: none !important;
}

.ui-dropdown-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ui-dropdown-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 1700;
  display: none;
  flex-direction: column;
  gap: 0.18rem;
  padding: 0.35rem;
  border: 1px solid rgba(var(--t-fg-rgb), 0.14);
  border-radius: 8px;
  background-color: rgba(var(--t-surface-rgb), 0.995);
  box-shadow: inset 0 1px 0 rgba(var(--t-fg-rgb), 0.06), 0 14px 30px rgba(0, 0, 0, 0.45);
  max-height: 260px;
  overflow-y: auto;
}

.ui-dropdown-option {
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  will-change: color, background-color, border-color, filter, box-shadow, transform;
  width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.5rem;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: rgba(var(--t-fg-rgb), 0.9);
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.ui-dropdown-option:hover, .ui-dropdown-option:focus-visible {
  background-color: rgba(var(--t-primary-rgb), 0.1);
  border-color: rgba(var(--t-primary-rgb), 0.32);
  color: rgba(var(--t-fg-rgb), 0.98);
  outline: none;
}
.ui-dropdown-option.is-selected {
  background-color: rgba(var(--t-primary-rgb), 0.16);
  border-color: rgba(var(--t-primary-rgb), 0.45);
  color: var(--t-text);
}
.ui-dropdown-option:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.ui-dropdown-option-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
}
.ui-dropdown-option-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.ui-dropdown-option-icon[hidden] {
  display: none !important;
}

.ui-dropdown-option-label {
  min-width: 0;
}

.ui-dropdown.is-open .ui-dropdown-menu {
  display: flex;
}
.ui-dropdown.is-open ~ svg.rtx-chevron {
  color: rgba(var(--t-primary-rgb), 0.92);
  transform: translateY(-50%) rotate(180deg);
}

.container {
  max-width: var(--rtx-layout-max-width);
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--rtx-layout-gutter);
}

.container-fluid,
.layout-full {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 var(--rtx-layout-gutter);
}

.layout-full__inner {
  width: 100%;
  max-width: var(--rtx-layout-max-width);
  margin: 0 auto;
}

.layout-flex {
  display: flex;
}

.layout-flex-wrap {
  flex-wrap: wrap;
}

.site-header {
  background: linear-gradient(180deg, var(--t-header-from, #0b0b0b), var(--t-header-to, #151515));
  border-bottom: 1px solid var(--t-border, rgba(var(--t-fg-rgb), 0.06));
}
.site-header .header-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--site-header-height);
}
.site-header .header-wrapper .nav-menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.35rem;
}
.site-header .header-wrapper .nav-menu .nav-item {
  color: var(--t-text);
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  will-change: color, background-color, border-color, filter, box-shadow, transform;
  padding: 0.5rem 1.1rem;
  background-color: rgba(var(--t-primary-rgb), 0.1);
  border: 1px solid rgba(var(--t-primary-rgb), 0.55);
  border-radius: 999px;
}
.site-header .header-wrapper .nav-menu .nav-item:hover, .site-header .header-wrapper .nav-menu .nav-item:focus-visible {
  color: var(--t-text);
  background-color: rgba(var(--t-primary-rgb), 0.18);
  border-color: var(--t-primary);
  box-shadow: 0 0 0 3px rgba(var(--t-primary-rgb), 0.16), 0 6px 18px rgba(var(--t-primary-rgb), 0.3);
  text-decoration: none;
}
.site-header .header-wrapper .nav-menu .nav-item.active {
  color: var(--t-on-primary, #0f1503);
  background-color: var(--t-primary);
  border-color: var(--t-primary);
}
.site-header .header-wrapper .nav-menu .nav-item + .nav-item {
  margin-left: -0.7rem;
}
.site-header .header-wrapper .nav-menu .nav-link + .nav-item {
  position: relative;
  margin-left: 1.5rem;
}
.site-header .header-wrapper .nav-menu .nav-link + .nav-item::before {
  content: "";
  position: absolute;
  left: -0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 22px;
  background: rgba(var(--t-fg-rgb), 0.2);
}

.site-header .header-wrapper .nav-menu .nav-link {
  position: relative;
  color: var(--t-text);
  font-weight: 600;
  padding: 0.35rem 0.2rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-header .header-wrapper .nav-menu .nav-link::after {
  content: "";
  position: absolute;
  left: 0.2rem;
  right: 0.2rem;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--t-primary, #5fff00);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.site-header .header-wrapper .nav-menu .nav-link:hover,
.site-header .header-wrapper .nav-menu .nav-link:focus-visible {
  color: var(--t-primary, #5fff00);
  text-decoration: none;
}

.site-header .header-wrapper .nav-menu .nav-link:hover::after,
.site-header .header-wrapper .nav-menu .nav-link:focus-visible::after,
.site-header .header-wrapper .nav-menu .nav-link.active::after {
  opacity: 1;
}

.site-header .header-wrapper .nav-menu .nav-link.active {
  color: var(--t-primary, #5fff00);
}

.site-header .header-wrapper .nav-menu .nav-primary {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-header .header-wrapper .nav-menu .nav-link--primary {
  font-size: 1.15rem;
  font-weight: 700;
  padding: 0.4rem 0.1rem;
}

.site-header .header-wrapper .nav-menu .nav-link--primary::after {
  height: 3px;
  bottom: -5px;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.site-footer {
  padding: 2rem 0 2.4rem;
}

.site-footer__card {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(var(--t-fg-rgb), 0.045) 0%, rgba(var(--t-fg-rgb), 0.012) 100%);
  border: 1px solid rgba(var(--t-fg-rgb), 0.08);
  padding: 2.6rem 2.6rem 1.4rem;
  overflow: hidden;
}

.site-footer__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 4%;
  right: 4%;
  height: 1px;
  background: var(--t-primary, #5fff00);
  box-shadow: 0 0 16px 1px rgba(var(--t-primary-rgb), 0.7);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

.site-footer__col {
  min-width: 0;
}

.site-footer__heading {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(var(--t-fg-rgb), 0.9);
}

.site-footer__heading-icon {
  display: inline-flex;
  color: var(--t-primary, #5fff00);
}
.site-footer__heading-icon svg {
  width: 18px;
  height: 18px;
}

.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-footer__link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(var(--t-fg-rgb), 0.62);
  text-decoration: none;
  font-size: 0.98rem;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  will-change: color, background-color, border-color, filter, box-shadow, transform;
}
.site-footer__link .site-footer__link-icon {
  display: inline-flex;
  color: var(--t-primary, #5fff00);
}
.site-footer__link .site-footer__link-icon svg {
  width: 18px;
  height: 18px;
}
.site-footer__link .site-footer__link-label {
  flex: 1 1 auto;
}
.site-footer__link .site-footer__chev {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: rgba(var(--t-fg-rgb), 0.35);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.site-footer__link:hover, .site-footer__link:focus-visible {
  color: var(--t-text);
}
.site-footer__link:hover .site-footer__chev, .site-footer__link:focus-visible .site-footer__chev {
  stroke: var(--t-primary, #5fff00);
}

.site-footer__support-title {
  margin: 0 0 0.55rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--t-text);
}

.site-footer__support-text {
  margin: 0 0 1.2rem;
  color: rgba(var(--t-fg-rgb), 0.6);
  line-height: 1.55;
  font-size: 0.95rem;
}

.site-footer__support-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  border-radius: 12px;
  border: 1px solid rgba(var(--t-primary-rgb), 0.6);
  color: var(--t-primary, #5fff00);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  will-change: color, background-color, border-color, filter, box-shadow, transform;
}
.site-footer__support-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.site-footer__support-btn:hover, .site-footer__support-btn:focus-visible {
  background: rgba(var(--t-primary-rgb), 0.12);
  box-shadow: 0 0 0 3px rgba(var(--t-primary-rgb), 0.14);
}

.site-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.4rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(var(--t-fg-rgb), 0.08);
}

.site-footer__copy {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(var(--t-fg-rgb), 0.5);
  font-size: 0.9rem;
}
.site-footer__copy .site-footer__copy-icon {
  display: inline-flex;
  color: rgba(var(--t-fg-rgb), 0.4);
}
.site-footer__copy .site-footer__copy-icon svg {
  width: 16px;
  height: 16px;
}

.site-footer__social {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
}

.site-footer__social-link {
  display: inline-flex;
  color: rgba(var(--t-fg-rgb), 0.55);
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  will-change: color, background-color, border-color, filter, box-shadow, transform;
}
.site-footer__social-link svg {
  width: 20px;
  height: 20px;
}
.site-footer__social-link:hover, .site-footer__social-link:focus-visible {
  color: var(--t-primary, #5fff00);
}

@media (max-width: 900px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
  }
}
@media (max-width: 560px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
  .site-footer__card {
    padding: 1.75rem 1.35rem 1.1rem;
  }
  .site-footer__bar {
    flex-direction: column;
    align-items: flex-start;
  }
}
.site-footer__help {
  color: rgba(var(--t-fg-rgb), 0.72);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  will-change: color, background-color, border-color, filter, box-shadow, transform;
}
.site-footer__help:hover, .site-footer__help:focus-visible {
  color: var(--t-primary, #5fff00);
}

.site-footer__powered-by {
  margin-top: 1rem;
  text-align: center;
}
.site-footer__powered-by a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(var(--t-fg-rgb), 0.4);
  font-size: 0.78rem;
  text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  will-change: color, background-color, border-color, filter, box-shadow, transform;
}
.site-footer__powered-by a:hover {
  color: rgba(var(--t-fg-rgb), 0.65);
}

.powered-by-railtix {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  background: rgba(var(--t-fg-rgb), 0.03);
  border: 1px solid rgba(var(--t-fg-rgb), 0.06);
  color: rgba(var(--t-fg-rgb), 0.5);
  font-size: 0.78rem;
  line-height: 1.4;
}
.powered-by-railtix a {
  color: rgba(var(--t-fg-rgb), 0.7);
  text-decoration: underline;
  text-decoration-color: rgba(var(--t-fg-rgb), 0.2);
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  will-change: color, background-color, border-color, filter, box-shadow, transform;
}
.powered-by-railtix a:hover {
  color: var(--t-text);
  text-decoration-color: rgba(var(--t-fg-rgb), 0.4);
}
.powered-by-railtix svg {
  flex-shrink: 0;
  color: var(--t-primary);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav .nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 600;
}
.nav .nav-brand img {
  display: block;
  width: auto;
  max-width: min(240px, 38vw);
  max-height: calc(var(--site-header-height) - 14px);
  padding-top: 10px;
  padding-bottom: 10px;
  object-fit: contain;
  filter: drop-shadow(0 1px 10px rgba(var(--t-primary-rgb), 0.08));
}
.nav .nav-brand img[hidden] {
  display: none;
}
.nav .nav-brand .nav-brand__text {
  display: inline-block;
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--t-text);
}
.nav .nav-brand .nav-brand__text[hidden] {
  display: none;
}
.site-settings-grid {
  display: grid;
  gap: 1.25rem;
}

.site-settings-logo-shell {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.site-settings-logo-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  padding: 1.25rem;
  border: 1px dashed rgba(var(--t-fg-rgb), 0.18);
  border-radius: 1rem;
  background: rgba(var(--t-fg-rgb), 0.03);
}
.site-settings-logo-preview img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
}

.site-settings-logo-fields {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.site-settings-logo-file-input {
  display: none;
}

.site-settings-logo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.site-settings-status {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(var(--t-fg-rgb), 0.74);
}
.site-settings-status.is-error {
  color: #ff8e8e;
}

@media (max-width: 767px) {
  .site-settings-logo-shell {
    grid-template-columns: minmax(0, 1fr);
  }
}
.nav-account {
  position: relative;
}

.nav-account__trigger {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0.28rem 0.6rem 0.28rem 0.28rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.1);
  background: rgba(var(--t-surface-rgb), 0.92);
  color: rgba(var(--t-fg-rgb), 0.96);
  cursor: pointer;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  will-change: color, background-color, border-color, filter, box-shadow, transform;
}
.nav-account__trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(var(--t-fg-rgb), 0.04) 0%, transparent 50%);
  opacity: 0.85;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.nav-account__trigger:hover, .nav-account__trigger:focus-visible {
  border-color: rgba(var(--t-fg-rgb), 0.18);
  background: rgba(var(--t-surface-rgb), 0.97);
  text-decoration: none;
  outline: none;
}
.nav-account__trigger:hover::after, .nav-account__trigger:focus-visible::after {
  opacity: 1;
}

.nav-account__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--t-primary-contrast-text);
  background: radial-gradient(circle at 30% 30%, rgba(var(--t-fg-rgb), 0.34), transparent 52%), linear-gradient(135deg, rgba(var(--t-primary-rgb), 0.82) 0%, var(--t-primary) 52%, rgba(var(--t-primary-rgb), 0.68) 100%);
  box-shadow: 0 8px 18px rgba(var(--t-primary-rgb), 0.18), inset 0 1px 0 rgba(var(--t-fg-rgb), 0.3);
}

.nav-account__name {
  font-size: 0.99rem;
  font-weight: 620;
  letter-spacing: 0.02px;
  line-height: 1;
  max-width: 205px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.nav-account__chevron-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 0.5rem;
  margin-left: 0.06rem;
  border-left: 1px solid rgba(var(--t-fg-rgb), 0.14);
  box-sizing: content-box;
}

.nav-account__chevron {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  opacity: 0.88;
  color: rgba(var(--t-fg-rgb), 0.85);
  transition: transform 0.15s ease, opacity 0.15s ease, color 0.15s ease;
}

.nav-account__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.65rem);
  min-width: 260px;
  padding: 0.45rem;
  border-radius: 10px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.14);
  background: rgba(var(--t-surface-rgb), 0.985);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(var(--t-fg-rgb), 0.05);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none;
  transform-origin: top right;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 35;
  font-size: 0.92rem;
}

.nav-account__item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.62rem;
  --rtx-btn-label-gap: .62rem;
  padding: 0.58rem 0.66rem;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(var(--t-fg-rgb), 0.9);
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  will-change: color, background-color, border-color, filter, box-shadow, transform;
}
.nav-account__item:hover, .nav-account__item:focus-visible {
  background-color: rgba(var(--t-primary-rgb), 0.1);
  border-color: rgba(var(--t-primary-rgb), 0.24);
  color: var(--t-text);
  text-decoration: none;
}

.nav-account__item-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  opacity: 0.94;
}
.nav-account__item-icon path,
.nav-account__item-icon circle,
.nav-account__item-icon rect,
.nav-account__item-icon line,
.nav-account__item-icon polyline,
.nav-account__item-icon polygon {
  stroke: currentColor;
}
.nav-account__item-icon [fill]:not([fill=none]) {
  fill: currentColor;
}

.nav-account__divider {
  height: 1px;
  margin: 0.35rem 0.2rem 0.32rem;
  background: rgba(var(--t-fg-rgb), 0.12);
}

.nav-account__logout-form {
  margin: 0;
}

button.nav-account__item {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  text-align: left;
}

.nav-account__item--logout {
  color: rgba(255, 183, 160, 0.98);
}
.nav-account__item--logout:hover, .nav-account__item--logout:focus-visible {
  background-color: rgba(var(--t-primary-rgb), 0.22);
  border-color: rgba(var(--t-primary-rgb), 0.56);
  color: var(--t-text);
}

.nav-account.is-open .nav-account__trigger {
  border-color: rgba(var(--t-fg-rgb), 0.2);
  background: rgba(var(--t-surface-rgb), 0.98);
}
.nav-account.is-open .nav-account__trigger::after {
  opacity: 1;
}
.nav-account.is-open .nav-account__chevron {
  transform: rotate(180deg);
  opacity: 1;
  color: rgba(var(--t-fg-rgb), 0.95);
}
.nav-account.is-open .nav-account__menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

@media (max-width: 700px) {
  .nav-account__menu {
    max-width: calc(100vw - 1rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav-account__trigger,
  .nav-account__trigger::after,
  .nav-account__chevron,
  .nav-account__menu,
  .nav-account__item {
    transition: none;
  }
}
.section {
  padding: 2rem 0;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.row.g-2 {
  gap: 0.5rem;
}

.row.g-3 {
  gap: 1rem;
}

.col-md-1,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-12,
.col-lg-5,
.col-lg-7 {
  width: 100%;
}

@media (min-width: 768px) {
  .col-md-1 {
    width: 8.3333%;
  }
  .col-md-2 {
    width: 16.6667%;
  }
  .col-md-3 {
    width: 25%;
  }
  .col-md-4 {
    width: 33.3333%;
  }
  .col-md-5 {
    width: 41.6667%;
  }
  .col-md-6 {
    width: 50%;
  }
  .col-md-7 {
    width: 58.3333%;
  }
  .col-md-8 {
    width: 66.6667%;
  }
  .col-md-9 {
    width: 75%;
  }
  .col-md-12 {
    width: 100%;
  }
}
@media (min-width: 992px) {
  .col-lg-5 {
    width: 41.6667%;
  }
  .col-lg-7 {
    width: 58.3333%;
  }
}
.mb-0 {
  margin-bottom: 0 !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.w-100 {
  width: 100% !important;
}

.d-flex {
  display: flex !important;
}

.d-grid {
  display: grid !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.align-items-center {
  align-items: center !important;
}

.align-items-start {
  align-items: flex-start !important;
}

.align-items-end {
  align-items: flex-end !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.gap-1 {
  gap: 0.25rem !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

.gap-3 {
  gap: 1rem !important;
}

.gap-4 {
  gap: 1.5rem !important;
}

.ps-3 {
  padding-left: 1rem !important;
}

.small {
  font-size: 0.875rem !important;
}

.text-muted {
  color: rgba(var(--t-fg-rgb), 0.62) !important;
}

.text-success {
  color: var(--t-primary) !important;
}

.text-danger {
  color: #ffc8f5 !important;
}

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

a {
  color: #358e00;
  text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  will-change: color, background-color, border-color, filter, box-shadow, transform;
}
a:hover, a:focus-visible {
  filter: brightness(1.08);
  text-decoration: underline;
}

.btn {
  --rtx-btn-bg: linear-gradient(180deg, rgba(var(--t-surface-rgb), 0.94) 0%, rgba(var(--t-bg-rgb), 0.9) 100%);
  --rtx-btn-bg-hover: linear-gradient(180deg, rgba(var(--t-surface-rgb), 0.98) 0%, rgba(var(--t-bg-rgb), 0.95) 100%);
  --rtx-btn-bg-active: linear-gradient(180deg, rgba(var(--t-surface-rgb), 0.9) 0%, rgba(var(--t-bg-rgb), 0.86) 100%);
  --rtx-btn-border: rgba(var(--t-fg-rgb), 0.24);
  --rtx-btn-border-hover: rgba(var(--t-fg-rgb), 0.34);
  --rtx-btn-border-active: rgba(var(--t-fg-rgb), 0.3);
  --rtx-btn-text: rgba(var(--t-fg-rgb), 0.94);
  --rtx-btn-text-hover: rgba(var(--t-fg-rgb), 0.98);
  --rtx-btn-shadow: inset 0 1px 0 rgba(var(--t-fg-rgb), 0.14), 0 8px 18px rgba(0, 0, 0, 0.34);
  --rtx-btn-shadow-hover: inset 0 1px 0 rgba(var(--t-fg-rgb), 0.18), 0 10px 22px rgba(0, 0, 0, 0.38);
  --rtx-btn-shadow-active: inset 0 1px 0 rgba(var(--t-fg-rgb), 0.1), 0 6px 14px rgba(0, 0, 0, 0.3);
  --rtx-btn-focus-ring: rgba(var(--t-fg-rgb), 0.16);
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  will-change: color, background-color, border-color, filter, box-shadow, transform;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.62rem 1.2rem;
  border: 1px solid var(--rtx-btn-border);
  border-radius: 14px;
  margin-top: 0.25rem;
  background: var(--rtx-btn-bg);
  color: var(--rtx-btn-text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(0.98rem, 0.94rem + 0.14vw, 1.08rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.1px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--rtx-btn-shadow);
}
.btn:hover, .btn:focus-visible {
  background: var(--rtx-btn-bg-hover);
  border-color: var(--rtx-btn-border-hover);
  color: var(--rtx-btn-text-hover);
  box-shadow: var(--rtx-btn-shadow-hover);
  outline: none;
  text-decoration: none;
  filter: none;
}
.btn:focus-visible {
  box-shadow: var(--rtx-btn-shadow-hover), 0 0 0 0.16rem var(--rtx-btn-focus-ring);
}
.btn:active {
  background: var(--rtx-btn-bg-active);
  border-color: var(--rtx-btn-border-active);
  color: var(--rtx-btn-text-hover);
  box-shadow: var(--rtx-btn-shadow-active);
  filter: none;
  transform: none;
}
.btn:disabled, .btn.disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}
.btn.is-loading {
  cursor: progress;
  pointer-events: none;
  opacity: 0.82;
  filter: saturate(0.68);
  box-shadow: none;
}
.btn.is-loading, .btn.is-loading:hover, .btn.is-loading:focus-visible, .btn.is-loading:active {
  background: linear-gradient(180deg, rgba(var(--t-surface-rgb), 0.7) 0%, rgba(var(--t-bg-rgb), 0.76) 100%);
  border-color: rgba(var(--t-fg-rgb), 0.18);
  color: rgba(var(--t-fg-rgb), 0.76);
  transform: none;
}

.rtx-btn-label {
  display: inline-flex;
  align-items: center;
  gap: var(--rtx-btn-label-gap, 0.4rem);
}

.account-nav__link .rtx-btn-label,
.account-nav__utility-link .rtx-btn-label,
.nav-account__item .rtx-btn-label {
  display: flex;
  width: 100%;
}

.btn.is-loading {
  position: relative;
}

.btn.is-loading .rtx-btn-label {
  visibility: hidden;
}

.rtx-btn-spinner {
  display: none;
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  animation: rtx-btn-spinner-rotate 0.8s linear infinite;
}

.btn.is-loading .rtx-btn-spinner {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -0.5rem;
  margin-left: -0.5rem;
}

.rtx-btn-spinner__ring,
.rtx-btn-spinner__arc {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
}

.rtx-btn-spinner__ring {
  opacity: 0.24;
  stroke-width: 2;
}

.rtx-btn-spinner__arc {
  stroke-width: 2.4;
}

@keyframes rtx-btn-spinner-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.btn-primary {
  --rtx-btn-bg: linear-gradient(180deg, color-mix(in srgb, var(--t-primary) 82%, #fff) 0%, var(--t-primary) 100%);
  --rtx-btn-bg-hover: linear-gradient(180deg, color-mix(in srgb, var(--t-primary-hover, var(--t-primary)) 70%, #fff) 0%, var(--t-primary-hover, var(--t-primary)) 100%);
  --rtx-btn-bg-active: linear-gradient(180deg, var(--t-primary) 0%, var(--t-primary-active, color-mix(in srgb, var(--t-primary) 84%, #000)) 100%);
  --rtx-btn-border: rgba(var(--t-primary-rgb), 0.95);
  --rtx-btn-border-hover: rgba(var(--t-primary-rgb), 0.98);
  --rtx-btn-border-active: rgba(var(--t-primary-rgb), 0.9);
  --rtx-btn-text: var(--t-primary-contrast-text);
  --rtx-btn-text-hover: var(--t-primary-contrast-text);
  --rtx-btn-shadow:
  	inset 0 1px 0 rgba(var(--t-fg-rgb), 0.4), 0 0 0 1px rgba(var(--t-primary-rgb), 0.34), 0 8px 20px rgba(var(--t-primary-rgb), 0.24);
  --rtx-btn-shadow-hover:
  	inset 0 1px 0 rgba(var(--t-fg-rgb), 0.46), 0 0 0 1px rgba(var(--t-primary-rgb), 0.4), 0 10px 24px rgba(var(--t-primary-rgb), 0.3);
  --rtx-btn-shadow-active:
  	inset 0 1px 0 rgba(var(--t-fg-rgb), 0.28), 0 0 0 1px rgba(var(--t-primary-rgb), 0.32), 0 6px 15px rgba(var(--t-primary-rgb), 0.2);
  --rtx-btn-focus-ring: rgba(var(--t-primary-rgb), 0.34);
}
.btn-primary:disabled, .btn-primary.disabled {
  opacity: 1;
  background: linear-gradient(180deg, rgba(var(--t-primary-rgb), 0.52) 0%, rgba(var(--t-primary-rgb), 0.46) 100%);
  border-color: rgba(var(--t-primary-rgb), 0.54);
  color: color-mix(in srgb, var(--t-primary-contrast-text) 62%, transparent);
}
.btn-primary.is-loading, .btn-primary.is-loading:hover, .btn-primary.is-loading:focus-visible, .btn-primary.is-loading:active {
  background: linear-gradient(180deg, rgba(var(--t-primary-rgb), 0.52) 0%, rgba(var(--t-primary-rgb), 0.48) 100%);
  border-color: rgba(var(--t-primary-rgb), 0.5);
  color: color-mix(in srgb, var(--t-primary-contrast-text) 68%, transparent);
}

.btn-outline-primary {
  --rtx-btn-bg: linear-gradient(180deg, rgba(29, 46, 12, .58) 0%, rgba(18, 29, 7, .52) 100%);
  --rtx-btn-bg-hover: linear-gradient(180deg, rgba(37, 58, 16, .68) 0%, rgba(23, 38, 10, .6) 100%);
  --rtx-btn-bg-active: linear-gradient(180deg, rgba(26, 43, 10, .56) 0%, rgba(16, 28, 7, .5) 100%);
  --rtx-btn-border: rgba(var(--t-primary-rgb), 0.66);
  --rtx-btn-border-hover: rgba(var(--t-primary-rgb), 0.84);
  --rtx-btn-border-active: rgba(var(--t-primary-rgb), 0.74);
  --rtx-btn-text: #d4ffb8;
  --rtx-btn-text-hover: #e5ffd2;
  --rtx-btn-shadow:
  	inset 0 1px 0 rgba(var(--t-fg-rgb), 0.14), 0 0 0 1px rgba(var(--t-primary-rgb), 0.18), 0 8px 18px rgba(var(--t-primary-rgb), 0.12);
  --rtx-btn-shadow-hover:
  	inset 0 1px 0 rgba(var(--t-fg-rgb), 0.18), 0 0 0 1px rgba(var(--t-primary-rgb), 0.24), 0 10px 22px rgba(var(--t-primary-rgb), 0.16);
  --rtx-btn-shadow-active:
  	inset 0 1px 0 rgba(var(--t-fg-rgb), 0.12), 0 0 0 1px rgba(var(--t-primary-rgb), 0.2), 0 6px 14px rgba(var(--t-primary-rgb), 0.1);
  --rtx-btn-focus-ring: rgba(var(--t-primary-rgb), 0.28);
}
.btn-outline-primary.is-loading, .btn-outline-primary.is-loading:hover, .btn-outline-primary.is-loading:focus-visible, .btn-outline-primary.is-loading:active {
  background: linear-gradient(180deg, rgba(29, 46, 12, 0.46) 0%, rgba(18, 29, 7, 0.4) 100%);
  border-color: rgba(var(--t-primary-rgb), 0.38);
  color: rgba(212, 255, 184, 0.68);
}

.btn-danger {
  --rtx-btn-bg: linear-gradient(180deg, rgba(255, 96, 238, .92) 0%, rgba(230, 34, 201, .9) 100%);
  --rtx-btn-bg-hover: linear-gradient(180deg, rgba(255, 116, 242, .96) 0%, rgba(242, 49, 214, .93) 100%);
  --rtx-btn-bg-active: linear-gradient(180deg, rgba(236, 52, 210, .9) 0%, rgba(207, 27, 181, .86) 100%);
  --rtx-btn-border: rgba(255, 173, 245, .9);
  --rtx-btn-border-hover: rgba(255, 198, 249, .95);
  --rtx-btn-border-active: rgba(255, 164, 243, .88);
  --rtx-btn-text: #22061d;
  --rtx-btn-text-hover: #1a0416;
  --rtx-btn-shadow:
  	inset 0 1px 0 rgba(var(--t-fg-rgb), 0.34), 0 0 0 1px rgba(var(--t-secondary-rgb), 0.28), 0 8px 20px rgba(var(--t-secondary-rgb), 0.22);
  --rtx-btn-shadow-hover:
  	inset 0 1px 0 rgba(var(--t-fg-rgb), 0.4), 0 0 0 1px rgba(var(--t-secondary-rgb), 0.34), 0 10px 24px rgba(var(--t-secondary-rgb), 0.28);
  --rtx-btn-shadow-active:
  	inset 0 1px 0 rgba(var(--t-fg-rgb), 0.28), 0 0 0 1px rgba(var(--t-secondary-rgb), 0.26), 0 6px 15px rgba(var(--t-secondary-rgb), 0.2);
  --rtx-btn-focus-ring: rgba(var(--t-secondary-rgb), 0.32);
}
.btn-danger.is-loading, .btn-danger.is-loading:hover, .btn-danger.is-loading:focus-visible, .btn-danger.is-loading:active {
  background: linear-gradient(180deg, rgba(255, 96, 238, 0.5) 0%, rgba(230, 34, 201, 0.46) 100%);
  border-color: rgba(255, 173, 245, 0.48);
  color: rgba(34, 6, 29, 0.68);
}

.btn-outline-danger {
  --rtx-btn-bg: linear-gradient(180deg, rgba(52, 18, 54, .66) 0%, rgba(32, 11, 34, .6) 100%);
  --rtx-btn-bg-hover: linear-gradient(180deg, rgba(62, 22, 65, .74) 0%, rgba(39, 14, 42, .68) 100%);
  --rtx-btn-bg-active: linear-gradient(180deg, rgba(48, 17, 50, .64) 0%, rgba(30, 10, 32, .58) 100%);
  --rtx-btn-border: rgba(var(--t-secondary-rgb), 0.72);
  --rtx-btn-border-hover: rgba(var(--t-secondary-rgb), 0.88);
  --rtx-btn-border-active: rgba(var(--t-secondary-rgb), 0.78);
  --rtx-btn-text: #e9b9ee;
  --rtx-btn-text-hover: #f4cdf8;
  --rtx-btn-shadow:
  	inset 0 1px 0 rgba(var(--t-fg-rgb), 0.12), 0 0 0 1px rgba(var(--t-secondary-rgb), 0.2), 0 8px 18px rgba(var(--t-secondary-rgb), 0.16);
  --rtx-btn-shadow-hover:
  	inset 0 1px 0 rgba(var(--t-fg-rgb), 0.14), 0 0 0 1px rgba(var(--t-secondary-rgb), 0.26), 0 10px 22px rgba(var(--t-secondary-rgb), 0.2);
  --rtx-btn-shadow-active:
  	inset 0 1px 0 rgba(var(--t-fg-rgb), 0.1), 0 0 0 1px rgba(var(--t-secondary-rgb), 0.22), 0 6px 14px rgba(var(--t-secondary-rgb), 0.14);
  --rtx-btn-focus-ring: rgba(var(--t-secondary-rgb), 0.3);
}
.btn-outline-danger.is-loading, .btn-outline-danger.is-loading:hover, .btn-outline-danger.is-loading:focus-visible, .btn-outline-danger.is-loading:active {
  background: linear-gradient(180deg, rgba(52, 18, 54, 0.48) 0%, rgba(32, 11, 34, 0.42) 100%);
  border-color: rgba(var(--t-secondary-rgb), 0.42);
  color: rgba(233, 185, 238, 0.68);
}

.btn-sm {
  min-height: 30px;
  padding: 0.22rem 0.52rem;
  border-radius: 8px;
  margin-top: 0;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.2;
  gap: 0.26rem;
  --rtx-btn-shadow: inset 0 1px 0 rgba(var(--t-fg-rgb), 0.1), 0 0 0 1px rgba(var(--t-fg-rgb), 0.12), 0 2px 7px rgba(0, 0, 0, 0.2);
  --rtx-btn-shadow-hover: inset 0 1px 0 rgba(var(--t-fg-rgb), 0.12), 0 0 0 1px rgba(var(--t-fg-rgb), 0.16), 0 3px 9px rgba(0, 0, 0, 0.24);
  --rtx-btn-shadow-active: inset 0 1px 0 rgba(var(--t-fg-rgb), 0.08), 0 0 0 1px rgba(var(--t-fg-rgb), 0.12), 0 2px 5px rgba(0, 0, 0, 0.18);
}

.btn-sm.btn-primary {
  --rtx-btn-shadow:
  	inset 0 1px 0 rgba(var(--t-fg-rgb), 0.32), 0 0 0 1px rgba(136, 222, 35, 0.22), 0 2px 8px rgba(133, 225, 20, 0.14);
  --rtx-btn-shadow-hover:
  	inset 0 1px 0 rgba(var(--t-fg-rgb), 0.38), 0 0 0 1px rgba(165, 243, 58, 0.28), 0 3px 10px rgba(164, 241, 25, 0.18);
  --rtx-btn-shadow-active:
  	inset 0 1px 0 rgba(var(--t-fg-rgb), 0.22), 0 0 0 1px rgba(137, 219, 22, 0.24), 0 2px 6px rgba(136, 219, 11, 0.14);
}

.btn-sm.btn-outline-primary {
  --rtx-btn-shadow:
  	inset 0 1px 0 rgba(var(--t-fg-rgb), 0.08), 0 0 0 1px rgba(var(--t-primary-rgb), 0.12), 0 2px 5px rgba(var(--t-primary-rgb), 0.06);
  --rtx-btn-shadow-hover:
  	inset 0 1px 0 rgba(var(--t-fg-rgb), 0.1), 0 0 0 1px rgba(var(--t-primary-rgb), 0.18), 0 3px 8px rgba(var(--t-primary-rgb), 0.08);
  --rtx-btn-shadow-active:
  	inset 0 1px 0 rgba(var(--t-fg-rgb), 0.06), 0 0 0 1px rgba(var(--t-primary-rgb), 0.14), 0 2px 4px rgba(var(--t-primary-rgb), 0.05);
}

.btn-sm.btn-outline-danger {
  --rtx-btn-shadow:
  	inset 0 1px 0 rgba(var(--t-fg-rgb), 0.06), 0 0 0 1px rgba(var(--t-secondary-rgb), 0.12), 0 2px 5px rgba(var(--t-secondary-rgb), 0.06);
  --rtx-btn-shadow-hover:
  	inset 0 1px 0 rgba(var(--t-fg-rgb), 0.08), 0 0 0 1px rgba(var(--t-secondary-rgb), 0.18), 0 3px 8px rgba(var(--t-secondary-rgb), 0.08);
  --rtx-btn-shadow-active:
  	inset 0 1px 0 rgba(var(--t-fg-rgb), 0.05), 0 0 0 1px rgba(var(--t-secondary-rgb), 0.14), 0 2px 4px rgba(var(--t-secondary-rgb), 0.05);
}

.btn-sm.btn-link {
  min-height: 0;
  padding: 0;
  margin-top: 0;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: none;
  background: transparent;
  border: 0;
}

.btn-link {
  background: transparent;
  border: 0;
  color: #358e00;
  min-height: 0;
  padding: 0;
  font-size: inherit;
  font-weight: 600;
  letter-spacing: 0;
  box-shadow: none;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  will-change: color, background-color, border-color, filter, box-shadow, transform;
}
.btn-link:hover, .btn-link:focus-visible {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: #358e00;
  text-decoration: underline;
}

.btn:focus:not(:focus-visible),
.btn:active:focus:not(:focus-visible),
.btn-link.nav-link:focus:not(:focus-visible) {
  box-shadow: none;
}

.is-branded .cms-public-page__content a:not(.btn):not([class*=account-nav]):not([class*=site-header]):not([class*=surface-actions]),
.is-branded .surface-panel a:not(.btn):not([class*=account-nav]):not([class*=surface-actions]),
.is-branded .cms-block a:not(.btn) {
  color: var(--t-primary);
}
.is-branded .account-nav__link,
.is-branded .account-nav__utility-link {
  color: var(--t-text);
}
.is-branded .account-nav__link:hover, .is-branded .account-nav__link:focus-visible,
.is-branded .account-nav__utility-link:hover,
.is-branded .account-nav__utility-link:focus-visible {
  color: var(--t-text);
}
.is-branded .account-nav__link.is-active {
  color: var(--t-primary);
}
.is-branded .btn-primary {
  --rtx-btn-bg: var(--t-primary);
  --rtx-btn-bg-hover: var(--t-primary-hover);
  --rtx-btn-bg-active: var(--t-primary-active);
  --rtx-btn-border: var(--t-primary);
  --rtx-btn-border-hover: var(--t-primary-hover);
  --rtx-btn-border-active: var(--t-primary-active);
  --rtx-btn-text: var(--t-primary-contrast-text);
  --rtx-btn-text-hover: var(--t-primary-contrast-text);
  --rtx-btn-shadow: none;
  --rtx-btn-shadow-hover: none;
  --rtx-btn-shadow-active: none;
  --rtx-btn-focus-ring: var(--t-focus-ring);
  background-color: var(--t-primary);
  background-image: none;
}
.is-branded .btn-primary:hover {
  background-color: var(--t-primary-hover);
  background-image: none;
}
.is-branded .btn-primary:active {
  background-color: var(--t-primary-active);
  background-image: none;
}
.is-branded .btn-outline-primary {
  --rtx-btn-bg: transparent;
  --rtx-btn-bg-hover: var(--t-primary-subtle);
  --rtx-btn-bg-active: var(--t-primary-subtle);
  --rtx-btn-border: var(--t-primary);
  --rtx-btn-border-hover: var(--t-primary-hover);
  --rtx-btn-border-active: var(--t-primary-active);
  --rtx-btn-text: var(--t-primary);
  --rtx-btn-text-hover: var(--t-primary-hover);
  --rtx-btn-shadow: none;
  --rtx-btn-shadow-hover: none;
  --rtx-btn-shadow-active: none;
  --rtx-btn-focus-ring: var(--t-focus-ring);
  background-color: transparent;
  background-image: none;
}
.is-branded .btn-outline-primary:hover {
  background-color: var(--t-primary-subtle);
  background-image: none;
}
.is-branded .card {
  background-color: var(--t-surface);
}
.is-branded .site-footer {
  color: var(--t-text-muted);
}
.is-branded .form-control:focus,
.is-branded .form-select:focus,
.is-branded .rtx-select select:focus {
  border-color: var(--t-focus-ring);
  box-shadow: 0 0 0 0.15rem var(--t-focus-ring);
}
.is-branded .surface-panel,
.is-branded .admin-surface,
.is-branded .surface-hero {
  border-color: var(--t-border);
}
.is-branded .account-nav__link.is-active {
  color: var(--t-primary);
}

.card {
  background-color: var(--t-surface);
  border-radius: 10px;
  box-shadow: none;
}

.table {
  --rtx-row-hover: rgba(var(--t-fg-rgb),.045);
  --rtx-row-even: rgba(var(--t-fg-rgb),.014);
  --rtx-head-bg: rgba(var(--t-bg-rgb), .55);
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--t-text);
  font-size: 0.92rem;
}
.table thead th {
  padding: 0.72rem 0.84rem;
  background-color: var(--rtx-head-bg);
  border-bottom: 1px solid rgba(var(--t-fg-rgb), 0.1);
  color: rgba(var(--t-fg-rgb), 0.72);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: middle;
  text-align: left;
}
.table tbody td {
  padding: 0.72rem 0.84rem;
  border-top: 1px solid rgba(var(--t-fg-rgb), 0.06);
  vertical-align: middle;
  color: rgba(var(--t-fg-rgb), 0.9);
  text-align: left;
}
.table thead th.table-col-numeric,
.table tbody td.table-col-numeric {
  text-align: center;
}
.table thead th.table-col-money,
.table tbody td.table-col-money,
.table thead th.table-col-actions,
.table tbody td.table-col-actions {
  text-align: right;
}
.table tbody tr:nth-child(even) {
  background-color: var(--rtx-row-even);
}
.table tbody tr:hover {
  background-color: var(--rtx-row-hover);
}
.table a:not(.btn) {
  color: rgba(var(--t-primary-rgb), 0.9);
}
.table a:not(.btn):hover,
.table a:not(.btn):focus-visible {
  color: rgba(var(--t-primary-rgb), 1);
  text-decoration: none;
}
.table code {
  display: inline-block;
  font-size: 0.8rem;
  color: rgba(var(--t-primary-rgb), 0.9);
  background-color: rgba(var(--t-primary-rgb), 0.1);
  border: 1px solid rgba(var(--t-primary-rgb), 0.24);
  padding: 0.08rem 0.38rem;
  border-radius: 6px;
}

.table-date-range {
  font-size: 0.82rem;
  color: rgba(var(--t-fg-rgb), 0.7);
  white-space: nowrap;
}

.attendees-summary {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: rgba(var(--t-fg-rgb), 0.04);
  border: 1px solid rgba(var(--t-fg-rgb), 0.08);
  border-radius: 8px;
  overflow: hidden;
  margin: 0.5rem 1.1rem 0;
}

.attendees-summary__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.7rem 1.2rem;
  flex: 1 1 auto;
  min-width: 80px;
}

.attendees-summary__item--kids.is-active {
  background: rgba(var(--t-primary-rgb), 0.07);
}
.attendees-summary__item--kids.is-active .attendees-summary__label {
  color: rgba(var(--t-primary-rgb), 0.85);
}
.attendees-summary__item--kids.is-active .attendees-summary__value {
  color: var(--t-primary);
}

.attendees-summary__value {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--t-text);
  line-height: 1;
}

.attendees-summary__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: rgba(var(--t-fg-rgb), 0.55);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.attendees-summary__label svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.attendees-summary__divider {
  width: 1px;
  background: rgba(var(--t-fg-rgb), 0.08);
  flex-shrink: 0;
  margin: 0.5rem 0;
}

.attendees-kids-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.35rem;
  font-size: 0.68rem;
  padding: 0.12rem 0.4rem;
  vertical-align: middle;
}
.attendees-kids-badge svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .attendees-summary {
    margin: 0.5rem 0.75rem 0;
  }
  .attendees-summary__item {
    padding: 0.55rem 0.7rem;
  }
  .attendees-summary__value {
    font-size: 1.1rem;
  }
}
.pos-session {
  margin-bottom: 0.5rem;
}

.checkin-session {
  margin-bottom: 0.5rem;
}
.checkin-session__fields {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 1rem;
}
.checkin-session__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.checkin-session__field[hidden] {
  display: none !important;
}
.checkin-session__station-notice {
  margin-top: 0.5rem;
}
.checkin-session__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.checkin-capacity {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  align-items: center;
  background: linear-gradient(180deg, #1a1c1f 0%, #14161a 100%);
  border: 1px solid rgba(var(--t-fg-rgb), 0.08);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  color: #f0f2f5;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.checkin-capacity[hidden] {
  display: none !important;
}
.checkin-capacity.is-warning {
  border-color: rgba(255, 210, 74, 0.55);
  background: linear-gradient(180deg, #2a2410 0%, #1a1610 100%);
}
.checkin-capacity.is-full {
  border-color: rgba(255, 85, 85, 0.65);
  background: linear-gradient(180deg, #2a1414 0%, #1a1010 100%);
}
@media (max-width: 600px) {
  .checkin-capacity {
    grid-template-columns: 1fr;
  }
}
.checkin-capacity__main {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.checkin-capacity__label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(var(--t-fg-rgb), 0.55);
  font-weight: 600;
}
.checkin-capacity__count {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--t-primary);
  font-variant-numeric: tabular-nums;
}
.is-warning .checkin-capacity__count {
  color: #ffd24a;
}
.is-full .checkin-capacity__count {
  color: #ff5555;
}
.checkin-capacity__cap {
  font-size: 1.4rem;
  font-weight: 600;
  color: rgba(var(--t-fg-rgb), 0.55);
  display: inline-block;
  margin-left: 0.35rem;
}
.checkin-capacity__bar {
  height: 8px;
  background: rgba(var(--t-fg-rgb), 0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 0.5rem;
  max-width: 420px;
}
.checkin-capacity__bar-fill {
  height: 100%;
  background: var(--t-primary);
  transition: width 0.3s ease, background-color 0.2s ease;
}
.is-warning .checkin-capacity__bar-fill {
  background: #ffd24a;
}
.is-full .checkin-capacity__bar-fill {
  background: #ff5555;
}
.checkin-capacity__warning {
  margin-top: 0.35rem;
  font-size: 0.88rem;
  color: #ffd24a;
}
.is-full .checkin-capacity__warning {
  color: #ff8888;
}
.checkin-capacity__controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
@media (max-width: 600px) {
  .checkin-capacity__controls {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }
}
.checkin-capacity__controls-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(var(--t-fg-rgb), 0.5);
  font-weight: 600;
  order: 2;
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0.25rem 0.35rem;
  border-radius: 4px;
  cursor: pointer;
  transition: color 0.12s ease, background 0.12s ease;
}
.checkin-capacity__controls-label:hover {
  color: rgba(var(--t-fg-rgb), 0.9);
  background: rgba(var(--t-fg-rgb), 0.06);
}
.checkin-capacity__controls-label:focus-visible {
  outline: 2px solid rgba(var(--t-primary-rgb), 0.55);
  outline-offset: 2px;
}
@media (max-width: 600px) {
  .checkin-capacity__controls-label {
    order: initial;
  }
}
.checkin-capacity__btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(var(--t-fg-rgb), 0.25);
  background: rgba(var(--t-fg-rgb), 0.06);
  color: #f0f2f5;
  cursor: pointer;
  transition: background 0.12s ease, transform 0.12s ease, border-color 0.12s ease;
}
.checkin-capacity__btn:hover:not(:disabled) {
  background: rgba(var(--t-primary-rgb), 0.14);
  border-color: rgba(var(--t-primary-rgb), 0.55);
  transform: scale(1.04);
}
.checkin-capacity__btn:active:not(:disabled) {
  transform: scale(0.95);
}
.checkin-capacity__btn--minus:hover:not(:disabled) {
  background: rgba(255, 210, 74, 0.14);
  border-color: rgba(255, 210, 74, 0.55);
}

.event-reports__tabs {
  display: flex;
  gap: 0.25rem;
  border-bottom: 1px solid rgba(var(--t-fg-rgb), 0.08);
  margin-bottom: 1.25rem;
  padding-bottom: 0;
  flex-wrap: wrap;
}
.event-reports__tab {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0.65rem 1rem;
  color: rgba(var(--t-fg-rgb), 0.65);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.12s ease, border-color 0.12s ease;
}
.event-reports__tab:hover {
  color: #ffffff;
}
.event-reports__tab.is-active {
  color: var(--t-primary);
  border-bottom-color: var(--t-primary);
}
.event-reports__panels {
  min-height: 200px;
}
.event-reports__panel {
  display: none;
}
.event-reports__panel.is-active {
  display: block;
}
.event-reports__panel-loading {
  padding: 2rem 1rem;
  text-align: center;
  color: rgba(var(--t-fg-rgb), 0.55);
  font-style: italic;
}

.checkin-log-row--adjust td:first-child {
  border-left: 3px solid #ffd24a;
}

.checkin-log-row--scan td:first-child {
  border-left: 3px solid var(--t-primary);
}

body.checkin-open {
  overflow: hidden;
}

.checkin-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.checkin-overlay.is-open {
  display: flex;
  opacity: 1;
}
.checkin-overlay.is-closing {
  display: flex;
  opacity: 0;
}
@media (max-width: 960px) {
  .checkin-overlay {
    padding: 0;
  }
}

body.modal-open .checkin-overlay {
  background: transparent;
  backdrop-filter: none;
}

.checkin-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 1 auto;
  width: 100%;
  max-width: 1100px;
  max-height: calc(100dvh - 48px);
  background: #0f1011;
  border-radius: 14px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  outline: none;
}
@media (max-width: 960px) {
  .checkin-dialog {
    max-width: 100%;
    max-height: 100dvh;
    height: 100dvh;
    border-radius: 0;
    border: none;
  }
}

.checkin-terminal {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  background: #0f1011;
  color: #f0f2f5;
  overflow: hidden;
}
.checkin-terminal__header {
  flex: 0 0 auto;
  background: #14161a;
  border-bottom: 1px solid rgba(var(--t-fg-rgb), 0.08);
  padding: 1rem 1.25rem 0.25rem;
}
.checkin-terminal__title-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
@media (max-width: 480px) {
  .checkin-terminal__title-bar {
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }
}
.checkin-terminal__title-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.checkin-terminal__title-group svg {
  color: var(--t-primary);
}
.checkin-terminal__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
@media (max-width: 480px) {
  .checkin-terminal__title {
    font-size: 1rem;
  }
}
.checkin-terminal__session {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(var(--t-fg-rgb), 0.72);
  flex-wrap: wrap;
}
@media (max-width: 480px) {
  .checkin-terminal__session {
    font-size: 0.8rem;
  }
}
.checkin-terminal__event-name {
  font-weight: 600;
  color: #f0f2f5;
}
.checkin-terminal__station-name {
  color: var(--t-primary);
  font-weight: 600;
}
.checkin-terminal__divider {
  opacity: 0.5;
}
.checkin-terminal__switch {
  margin-left: 0.5rem;
}
.checkin-terminal__close {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0.35rem;
  color: rgba(var(--t-fg-rgb), 0.65);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.12s ease, background 0.12s ease;
  justify-self: end;
}
.checkin-terminal__close:hover {
  color: #ffffff;
  background: rgba(var(--t-fg-rgb), 0.08);
}
.checkin-terminal__methods {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.checkin-terminal__methods::-webkit-scrollbar {
  display: none;
}
.checkin-terminal__method-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  background: transparent;
  color: rgba(var(--t-fg-rgb), 0.65);
  border: 0;
  border-bottom: 2px solid transparent;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.12s ease, border-color 0.12s ease;
}
.checkin-terminal__method-tab svg {
  opacity: 0.8;
  flex-shrink: 0;
}
.checkin-terminal__method-tab:hover {
  color: #ffffff;
}
.checkin-terminal__method-tab.is-active {
  color: var(--t-primary);
  border-bottom-color: var(--t-primary);
}
.checkin-terminal__method-tab.is-active svg {
  opacity: 1;
}
.checkin-terminal__body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
@media (max-width: 720px) {
  .checkin-terminal__body {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
}
.checkin-terminal__recent {
  background: #121316;
  border-right: 1px solid rgba(var(--t-fg-rgb), 0.06);
  padding: 1rem 1.1rem;
  overflow-y: auto;
}
@media (max-width: 720px) {
  .checkin-terminal__recent {
    border-right: 0;
    border-bottom: 1px solid rgba(var(--t-fg-rgb), 0.06);
    max-height: 120px;
  }
}
.checkin-terminal__recent-title {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(var(--t-fg-rgb), 0.55);
  font-weight: 600;
}
.checkin-terminal__recent-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.checkin-terminal__recent-empty {
  font-size: 0.88rem;
  color: rgba(var(--t-fg-rgb), 0.45);
  font-style: italic;
}
.checkin-terminal__recent-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.5rem;
  align-items: baseline;
  padding: 0.5rem 0.65rem;
  background: rgba(var(--t-fg-rgb), 0.04);
  border-radius: 8px;
  border-left: 3px solid var(--t-primary);
  font-size: 0.88rem;
}
.checkin-terminal__recent-time {
  color: rgba(var(--t-fg-rgb), 0.55);
  font-variant-numeric: tabular-nums;
  font-size: 0.8rem;
}
.checkin-terminal__recent-name {
  color: #f0f2f5;
  font-weight: 600;
}
.checkin-terminal__recent-ticket {
  color: rgba(var(--t-fg-rgb), 0.55);
  font-size: 0.78rem;
}
.checkin-terminal__panel {
  position: relative;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
}
@media (max-width: 480px) {
  .checkin-terminal__panel {
    padding: 0.75rem 1rem;
  }
}
.checkin-terminal__method-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1rem;
}
.checkin-terminal__method-panel[hidden] {
  display: none;
}
.checkin-terminal__camera-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  min-height: 300px;
}
@media (max-width: 480px) {
  .checkin-terminal__camera-wrap {
    min-height: 220px;
  }
}
.checkin-terminal__camera {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1/1;
}
.checkin-terminal__camera-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.82);
  text-align: center;
  padding: 1.5rem;
}
.checkin-terminal__camera-fallback[hidden] {
  display: none !important;
}
.checkin-terminal__camera-fallback-msg {
  color: rgba(var(--t-fg-rgb), 0.82);
  max-width: 380px;
  margin: 0;
}
.checkin-terminal__search-input {
  font-size: 1.05rem;
  padding: 0.75rem 1rem;
}
.checkin-terminal__search-results {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  overflow-y: auto;
}
.checkin-terminal__search-empty {
  color: rgba(var(--t-fg-rgb), 0.5);
  font-size: 0.92rem;
  font-style: italic;
  padding: 0.5rem;
}
.checkin-terminal__search-row {
  padding: 0.75rem 0.85rem;
  background: rgba(var(--t-fg-rgb), 0.04);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.12s ease, transform 0.12s ease;
}
.checkin-terminal__search-row:hover {
  background: rgba(var(--t-primary-rgb), 0.08);
  transform: translateY(-1px);
}
.checkin-terminal__search-name {
  font-weight: 600;
  color: #f0f2f5;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.checkin-terminal__search-meta {
  color: rgba(var(--t-fg-rgb), 0.55);
  font-size: 0.82rem;
  margin-top: 0.15rem;
}
.checkin-terminal__search-flag {
  display: inline-block;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.checkin-terminal__search-flag.is-warning {
  background: rgba(255, 196, 0, 0.18);
  color: #ffd24a;
}
.checkin-terminal__search-flag.is-info {
  background: rgba(var(--t-primary-rgb), 0.18);
  color: var(--t-primary);
}
.checkin-terminal__code-row {
  display: flex;
  gap: 0.65rem;
}
.checkin-terminal__code-input {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1rem;
  flex: 1;
}
.checkin-terminal__code-submit {
  padding: 0.85rem 1.5rem;
}
.checkin-terminal__code-hint {
  font-size: 0.82rem;
  color: rgba(var(--t-fg-rgb), 0.5);
  margin: 0;
}
.checkin-terminal__footer {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: #14161a;
  border-top: 1px solid rgba(var(--t-fg-rgb), 0.08);
  font-size: 0.9rem;
  flex-wrap: wrap;
}
.checkin-terminal__footer-status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.checkin-terminal__status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(var(--t-fg-rgb), 0.35);
  flex-shrink: 0;
}
.checkin-terminal__status-dot.is-idle {
  background: rgba(var(--t-fg-rgb), 0.35);
}
.checkin-terminal__status-dot.is-scanning {
  background: var(--t-primary);
  box-shadow: 0 0 0 4px rgba(var(--t-primary-rgb), 0.15);
  animation: checkinPulse 1.4s ease-in-out infinite;
}
.checkin-terminal__status-dot.is-processing {
  background: #ffd24a;
  box-shadow: 0 0 0 4px rgba(255, 210, 74, 0.15);
}
.checkin-terminal__status-dot.is-success {
  background: var(--t-primary);
}
.checkin-terminal__status-dot.is-error {
  background: #ff5555;
  box-shadow: 0 0 0 4px rgba(255, 85, 85, 0.15);
}
.checkin-terminal__status-dot.is-blocked {
  background: #ff5555;
}
.checkin-terminal__footer-lane {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(var(--t-fg-rgb), 0.65);
}
.checkin-terminal__footer-divider {
  opacity: 0.5;
}
.checkin-terminal__result {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
}
.checkin-terminal__result[hidden] {
  display: none !important;
}
.checkin-terminal .checkin-result {
  width: min(480px, 100%);
  max-height: 100%;
  background: rgba(15, 16, 17, 0.98);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  border: 1px solid rgba(var(--t-fg-rgb), 0.12);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42);
  overflow-y: auto;
}
.checkin-terminal .checkin-result.is-success {
  border-color: rgba(var(--t-primary-rgb), 0.4);
}
.checkin-terminal .checkin-result.is-error {
  border-color: rgba(255, 85, 85, 0.4);
}
.checkin-terminal .checkin-result.is-guardian {
  border-color: rgba(255, 210, 74, 0.4);
}
.checkin-terminal .checkin-result__icon {
  color: var(--t-primary);
}
.checkin-terminal .checkin-result.is-error .checkin-result__icon {
  color: #ff5555;
}
.checkin-terminal .checkin-result__title {
  font-size: 1.25rem;
  font-weight: 700;
}
.checkin-terminal .checkin-result__name {
  font-size: 1.05rem;
  font-weight: 600;
  color: #f0f2f5;
}
.checkin-terminal .checkin-result__meta {
  color: rgba(var(--t-fg-rgb), 0.6);
  font-size: 0.9rem;
}
.checkin-terminal .checkin-result__msg {
  color: rgba(var(--t-fg-rgb), 0.82);
  margin: 0.35rem 0;
  max-width: 420px;
}
.checkin-terminal .checkin-result__next {
  margin-top: 0.5rem;
}
.checkin-terminal .checkin-result__guardian {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 210, 74, 0.08);
  border: 1px solid rgba(255, 210, 74, 0.25);
  border-radius: 10px;
  padding: 1rem;
  margin: 0.5rem 0;
  text-align: left;
  max-width: 480px;
  width: 100%;
}
.checkin-terminal .checkin-result__guardian-photo {
  width: 88px;
  height: 88px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #1a1c1f;
  border: 1px solid rgba(var(--t-fg-rgb), 0.1);
}
.checkin-terminal .checkin-result__guardian-photo.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(var(--t-fg-rgb), 0.35);
}
.checkin-terminal .checkin-result__guardian-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.checkin-terminal .checkin-result__guardian-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: #f0f2f5;
}
.checkin-terminal .checkin-result__guardian-line {
  color: rgba(var(--t-fg-rgb), 0.82);
  font-size: 0.88rem;
}
.checkin-terminal .checkin-result__guardian-line span {
  display: inline-block;
  min-width: 70px;
  color: rgba(var(--t-fg-rgb), 0.5);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
  margin-right: 0.25rem;
}
.checkin-terminal .checkin-result__guardian-actions {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

@keyframes checkinPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.6;
  }
}
.pos-session__fields {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.pos-session__field {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.pos-session__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.pos-session__hint {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(var(--t-fg-rgb), 0.7);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.pos-session__hint strong {
  color: rgba(var(--t-fg-rgb), 0.9);
}

.pos-station-form__fields {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem;
  max-width: 40rem;
}

.pos-station-form__field {
  flex: 1 1 12rem;
  min-width: 0;
  max-width: 22rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.pos-station-form__field--code {
  flex: 0 0 7.75rem;
  max-width: 10rem;
}

.pos-station-form__input-code {
  text-transform: uppercase;
}

.pos-stations-table {
  width: 100%;
  min-width: 42rem;
  border-collapse: separate;
}
.pos-stations-table th,
.pos-stations-table td {
  vertical-align: middle;
}
.pos-stations-table th:nth-child(1),
.pos-stations-table td:nth-child(1) {
  min-width: 9rem;
  max-width: 22rem;
  word-break: break-word;
  white-space: normal;
}
.pos-stations-table th:nth-child(2),
.pos-stations-table td:nth-child(2) {
  min-width: 4.5rem;
  white-space: nowrap;
}
.pos-stations-table th:nth-child(3),
.pos-stations-table td:nth-child(3) {
  min-width: 5.5rem;
  white-space: nowrap;
}
.pos-stations-table th:nth-child(4),
.pos-stations-table td:nth-child(4) {
  min-width: 6.5rem;
  white-space: nowrap;
}
.pos-stations-table th:nth-child(5),
.pos-stations-table td:nth-child(5) {
  min-width: 12rem;
  white-space: nowrap;
}

.pos-station-code {
  display: inline-block;
  font-family: monospace;
  font-size: 0.8rem;
  background: rgba(var(--t-fg-rgb), 0.07);
  border: 1px solid rgba(var(--t-fg-rgb), 0.12);
  border-radius: 8px;
  padding: 0.12rem 0.42rem;
  color: rgba(var(--t-fg-rgb), 0.88);
  letter-spacing: 0.4px;
}

.show-mycode-modal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 0.25rem 0;
}
.show-mycode-modal__qr-wrap {
  background: #ffffff;
  padding: 0.75rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.show-mycode-modal__qr {
  display: block;
  width: 220px;
  height: 220px;
  max-width: 100%;
}
.show-mycode-modal__code-block {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.show-mycode-modal__code-label {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(var(--t-fg-rgb), 0.65);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.show-mycode-modal__code {
  margin: 0;
  font-family: "JetBrains Mono", "Fira Code", "Cascadia Code", monospace;
  font-size: 2.1rem;
  letter-spacing: 0.26em;
  color: var(--t-primary);
  font-weight: 700;
}
.show-mycode-modal__expiry {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(var(--t-fg-rgb), 0.55);
}

.pos-station-name-link {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: var(--t-primary);
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  border-bottom: 1px dotted rgba(var(--t-primary-rgb), 0.55);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.pos-station-name-link:hover, .pos-station-name-link:focus-visible {
  color: var(--t-text);
  border-bottom-color: rgba(var(--t-fg-rgb), 0.65);
  outline: none;
}

.pos-station-tx-modal {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.pos-station-tx-modal__copy {
  margin: 0;
  color: rgba(var(--t-fg-rgb), 0.82);
}
.pos-station-tx-modal__table-wrap {
  margin: 0;
  max-height: 50vh;
  overflow-y: auto;
}
.pos-station-tx-modal__table {
  margin: 0;
}
.pos-station-tx-modal__note {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(var(--t-fg-rgb), 0.6);
}
.pos-station-tx-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
}

.refund-dialog {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.refund-dialog__summary {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 0.95rem;
  background: rgba(var(--t-fg-rgb), 0.04);
  border: 1px solid rgba(var(--t-fg-rgb), 0.08);
  border-radius: 10px;
}
.refund-dialog__summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  color: rgba(var(--t-fg-rgb), 0.82);
}
.refund-dialog__summary-row strong {
  color: var(--t-text);
  font-weight: 600;
}
.refund-dialog__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.refund-dialog__field-note {
  margin: 0;
  font-size: 0.8rem;
  color: #ff9e9e;
}
.refund-dialog__breakdown {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}
.refund-dialog__breakdown thead th {
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(var(--t-fg-rgb), 0.55);
  padding: 0.35rem 0.65rem;
  border-bottom: 1px solid rgba(var(--t-fg-rgb), 0.12);
}
.refund-dialog__breakdown tbody td {
  padding: 0.55rem 0.65rem;
  border-top: 1px solid rgba(var(--t-fg-rgb), 0.06);
  vertical-align: top;
}
.refund-dialog__amount {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.refund-dialog__row--primary td {
  color: var(--t-text);
  font-weight: 600;
}
.refund-dialog__row--retained td {
  color: rgba(var(--t-fg-rgb), 0.65);
  font-size: 0.9rem;
}
.refund-dialog__row--total td {
  border-top: 1px solid rgba(var(--t-fg-rgb), 0.2);
  color: var(--t-primary);
  font-weight: 700;
  font-size: 1rem;
  padding-top: 0.7rem;
}
.refund-dialog__row-note {
  display: block;
  font-size: 0.72rem;
  color: rgba(var(--t-fg-rgb), 0.45);
  font-style: italic;
  margin-top: 0.15rem;
}
.refund-dialog__estimate-note {
  margin: 0;
  font-size: 0.78rem;
  font-style: italic;
  color: rgba(var(--t-fg-rgb), 0.58);
}
.refund-dialog__error {
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  background: rgba(255, 60, 60, 0.12);
  color: #ff6b6b;
  border: 1px solid rgba(255, 60, 60, 0.25);
  font-size: 0.85rem;
}
.refund-dialog--success {
  align-items: center;
  text-align: center;
  gap: 0.65rem;
  padding: 0.5rem 0 0.25rem;
}
.refund-dialog__success-icon {
  color: var(--t-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(var(--t-primary-rgb), 0.12);
  border: 1px solid rgba(var(--t-primary-rgb), 0.35);
}
.refund-dialog__success-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--t-text);
  letter-spacing: 0.02em;
}
.refund-dialog__success-msg {
  margin: 0;
  color: rgba(var(--t-fg-rgb), 0.82);
}
.refund-dialog__success-meta {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(var(--t-fg-rgb), 0.65);
}

.pos-invite-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.pos-invite-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--t-surface);
  border: 1px solid var(--t-border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
}

.pos-invite-card__info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.pos-invite-card__title {
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(var(--t-fg-rgb), 0.92);
}

.pos-invite-card__subtitle {
  font-size: 0.82rem;
  color: rgba(var(--t-fg-rgb), 0.55);
}

.pos-invite-card__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.pos-station-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
}

.pos-station-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: rgba(var(--t-fg-rgb), 0.82);
}
.pos-station-checkbox input[type=checkbox] {
  accent-color: var(--t-primary);
}

.pos-station-checkbox__label {
  white-space: nowrap;
}

.pos-session__station-notice {
  font-size: 0.85rem;
  color: rgba(var(--t-secondary-rgb), 0.9);
  margin-top: 0.35rem;
}

.pos-session__active-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: rgba(var(--t-fg-rgb), 0.7);
}
.pos-session__active-info strong {
  color: rgba(var(--t-fg-rgb), 0.92);
}

.table-wrap {
  overflow-x: auto;
  border-radius: 8px;
}

.table-shell {
  background-color: rgba(var(--t-surface-rgb), 0.96);
  border: 1px solid rgba(var(--t-fg-rgb), 0.1);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(var(--t-fg-rgb), 0.05), 0 8px 18px rgba(0, 0, 0, 0.34);
  padding: 0.85rem;
}

.table-shell__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.72rem;
  padding-bottom: 0.62rem;
  border-bottom: 1px solid rgba(var(--t-fg-rgb), 0.08);
}

.table-shell__title {
  margin: 0;
  color: var(--t-text);
  font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.55rem);
}

.table-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.52rem;
}

.table-actions__form {
  display: inline-flex;
}

.table-actions__link {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  color: rgba(var(--t-primary-rgb), 0.9);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  will-change: color, background-color, border-color, filter, box-shadow, transform;
}

.table-actions__link:hover,
.table-actions__link:focus-visible {
  color: rgba(var(--t-primary-rgb), 1);
  text-decoration: underline;
}

.table-actions__link--danger {
  color: rgba(var(--t-secondary-rgb), 0.9);
}

.table-actions__link--danger:hover,
.table-actions__link--danger:focus-visible {
  color: rgba(var(--t-secondary-rgb), 1);
}

.bg-stripes-pink {
  background-image: repeating-linear-gradient(135deg, rgba(255, 0, 216, 0.22) 0, rgba(255, 0, 216, 0.22) 2px, transparent 2px, transparent 16px);
}

.bg-stripes-green {
  background-image: repeating-linear-gradient(135deg, rgba(95, 255, 0, 0.22) 0, rgba(95, 255, 0, 0.22) 2px, transparent 2px, transparent 16px);
}

body.app-shell {
  background-color: var(--t-bg, #0a0d12);
  background-image: radial-gradient(1080px 780px at 75% 6%, rgba(var(--t-fg-rgb), 0.045) 0%, rgba(var(--t-fg-rgb), 0) 58%), radial-gradient(760px 640px at 16% 88%, rgba(132, 162, 196, 0.08) 0%, rgba(132, 162, 196, 0) 62%), linear-gradient(180deg, var(--t-header-from, #0d1118) 0%, var(--t-header-to, #090d13) 100%);
  background-attachment: fixed;
}

body.app-shell .section {
  padding: 0 0 0 0;
}

body.app-shell .site-main {
  padding: 0;
}

.account-app-shell {
  width: 100%;
}

.account-layout {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.account-layout--full {
  width: 100%;
}

.account-layout--full .account-sidebar {
  flex-basis: 280px;
  width: 280px;
}

.account-layout--full .account-content {
  min-width: 0;
}

.site-header-shell {
  position: sticky;
  top: 0;
  z-index: 90;
  flex: 0 0 auto;
}

.account-sidebar {
  position: fixed;
  top: var(--site-header-height);
  align-self: stretch;
  flex: 0 0 280px;
  width: 280px;
  padding: 0;
  background: linear-gradient(180deg, rgba(11, 14, 15, 0.98) 0%, rgba(15, 14, 14, 0.98) 100%);
  isolation: isolate;
  overflow: hidden;
}

.account-sidebar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(540px 380px at 12% 0%, rgba(var(--t-fg-rgb), 0.05) 0%, rgba(var(--t-fg-rgb), 0) 66%);
  pointer-events: none;
}

.account-content {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.95rem 1.8rem 1.35rem calc(280px + 1.6rem);
  background: linear-gradient(180deg, rgba(var(--t-bg-rgb), 0.72) 0%, rgba(var(--t-bg-rgb), 0.4) 100%);
}

.account-app-shell--auth-only {
  min-height: 100%;
}

.account-content--auth-only {
  padding: 1rem;
  background: linear-gradient(180deg, rgba(var(--t-bg-rgb), 0.72) 0%, rgba(var(--t-bg-rgb), 0.4) 100%);
}
@media (min-width: 480px) {
  .account-content--auth-only {
    padding: 1.25rem 1.25rem 1.75rem;
  }
}
@media (min-width: 768px) {
  .account-content--auth-only {
    padding: 1.5rem 1.8rem 2rem;
  }
}
.account-content--auth-only .section .container {
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 480px) {
  .account-content--auth-only .section .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}
@media (min-width: 768px) {
  .account-content--auth-only .section .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.account-nav {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(var(--t-surface-rgb), 0.98) 0%, rgba(var(--t-bg-rgb), 0.94) 100%);
  border-right: 1px solid rgba(var(--t-fg-rgb), 0.09);
  border-radius: 0;
  padding: 0.64rem 0.62rem 0.68rem;
  box-shadow: inset 0 1px 0 rgba(var(--t-fg-rgb), 0.04), 0 10px 24px rgba(0, 0, 0, 0.4);
  min-height: calc(100vh - 100px);
}

.account-nav--event-context {
  border-color: rgba(var(--t-fg-rgb), 0.1);
  background: linear-gradient(180deg, rgba(var(--t-surface-rgb), 0.985) 0%, rgba(var(--t-bg-rgb), 0.95) 100%);
}

.account-nav__context {
  margin-bottom: 0.76rem;
  padding: 0.64rem 0.68rem;
  border-radius: 11px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.11);
  background: linear-gradient(180deg, rgba(var(--t-bg-rgb), 0.46) 0%, rgba(var(--t-bg-rgb), 0.34) 100%);
  box-shadow: inset 0 1px 0 rgba(var(--t-fg-rgb), 0.045);
  overflow: visible;
}

.account-nav__context-eyebrow {
  margin: 0;
  color: rgba(var(--t-primary-rgb), 0.86);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.58px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-nav__context-event {
  margin: 0.28rem 0 0;
  color: rgba(var(--t-fg-rgb), 0.94);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.account-nav-context-view-link {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  color: rgba(var(--t-fg-rgb), 0.95);
  text-decoration: none;
}
.account-nav-context-view-link:hover, .account-nav-context-view-link:focus-visible {
  color: rgba(var(--t-fg-rgb), 0.98);
  text-decoration: none;
}

.account-nav-context-open-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  opacity: 0.7;
}

.account-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
}

.account-nav__section {
  color: rgba(var(--t-fg-rgb), 0.42);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.68px;
  text-transform: uppercase;
  padding: 0.82rem 0.72rem 0.36rem;
}

.account-nav__section--event {
  color: rgba(var(--t-fg-rgb), 0.46);
  letter-spacing: 0.7px;
  padding-top: 0.14rem;
}

.account-nav__item {
  margin: 0 0 1px;
}

.account-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.72rem;
  --rtx-btn-label-gap: .72rem;
  padding: 0.56rem 0.72rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(var(--t-fg-rgb), 0.89);
  font-size: clamp(0.99rem, 0.96rem + 0.08vw, 1.04rem);
  font-weight: 600;
  line-height: 1.2;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  will-change: color, background-color, border-color, filter, box-shadow, transform;
}
.account-nav__link:hover, .account-nav__link:focus-visible {
  background-color: rgba(var(--t-fg-rgb), 0.045);
  border-color: rgba(var(--t-fg-rgb), 0.08);
  color: rgba(var(--t-fg-rgb), 0.98);
  text-decoration: none;
  outline: none;
}
.account-nav__link:focus-visible {
  box-shadow: 0 0 0 0.14rem rgba(var(--t-primary-rgb), 0.14);
}
.account-nav__link.is-active {
  background: linear-gradient(90deg, rgba(var(--t-primary-rgb), 0.2) 0%, rgba(var(--t-primary-rgb), 0.11) 52%, rgba(var(--t-primary-rgb), 0.04) 100%);
  border-color: rgba(var(--t-primary-rgb), 0.22);
  color: rgba(var(--t-primary-rgb), 0.98);
  border-radius: 0 10px 10px 0;
}
.account-nav__link.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  border-radius: 999px;
  background: rgba(var(--t-primary-rgb), 0.9);
  box-shadow: 0 0 8px rgba(var(--t-primary-rgb), 0.2);
}

.account-nav--event-context .account-nav__link {
  border-color: transparent;
}

.account-nav--event-context .account-nav__link:hover,
.account-nav--event-context .account-nav__link:focus-visible {
  background-color: rgba(var(--t-fg-rgb), 0.045);
  border-color: rgba(var(--t-fg-rgb), 0.08);
}

.account-nav__icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  opacity: 0.84;
  color: rgba(var(--t-fg-rgb), 0.86);
}
.account-nav__icon path,
.account-nav__icon circle,
.account-nav__icon rect,
.account-nav__icon line,
.account-nav__icon polyline,
.account-nav__icon polygon {
  stroke: currentColor;
}
.account-nav__icon [fill]:not([fill=none]) {
  fill: currentColor;
}

.account-nav__link.is-active .account-nav__icon {
  opacity: 1;
  color: rgba(var(--t-primary-rgb), 0.92);
}

.account-nav__label {
  line-height: 1.2;
}

.account-nav__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: var(--t-bg);
  background-color: var(--t-primary);
  border-radius: 10px;
}

.account-nav__utilities {
  margin-top: auto;
  padding-top: 0.72rem;
  border-top: 1px solid rgba(var(--t-fg-rgb), 0.08);
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.account-nav__utilities--event-workspace {
  gap: 0;
}

.account-nav__logout-form--sidebar {
  margin: 0;
}

.account-nav__utility-link {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  --rtx-btn-label-gap: .72rem;
  width: 100%;
  padding: 0.56rem 0.72rem;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: rgba(var(--t-fg-rgb), 0.84);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  will-change: color, background-color, border-color, filter, box-shadow, transform;
}
.account-nav__utility-link:hover, .account-nav__utility-link:focus-visible {
  background-color: rgba(var(--t-fg-rgb), 0.045);
  border-color: rgba(var(--t-fg-rgb), 0.08);
  color: rgba(var(--t-fg-rgb), 0.96);
  text-decoration: none;
  outline: none;
}
.account-nav__utility-link:focus-visible {
  box-shadow: 0 0 0 0.14rem rgba(var(--t-primary-rgb), 0.14);
}
.account-nav__utility-link.is-active {
  background: linear-gradient(90deg, rgba(var(--t-primary-rgb), 0.16) 0%, rgba(var(--t-primary-rgb), 0.08) 58%, rgba(var(--t-primary-rgb), 0.03) 100%);
  border-color: rgba(var(--t-primary-rgb), 0.2);
  color: rgba(var(--t-primary-rgb), 0.95);
}

.account-nav__utility-link--logout {
  color: rgba(var(--t-fg-rgb), 0.78);
}

button.account-nav__utility-link {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  text-align: left;
}

.account-nav__footnote {
  display: none;
}

@media (max-width: 960px) {
  .account-layout {
    min-height: 0;
  }
  .account-layout--full .account-sidebar {
    flex-basis: 56px;
    width: 56px;
    max-width: none;
    align-self: stretch;
  }
  .account-sidebar {
    position: fixed;
    top: var(--site-header-height);
    left: 0;
    z-index: 20;
    width: 56px;
    height: calc(100dvh - var(--site-header-height));
    overflow: visible;
    padding: 0;
    border-right: 1px solid rgba(var(--t-fg-rgb), 0.07);
    border-bottom: 0;
    transition: width 0.26s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: width;
  }
  .account-sidebar.is-expanded {
    width: 260px;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.35);
  }
  .account-nav {
    position: static;
    min-height: 0;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
  }
  .account-nav::-webkit-scrollbar {
    display: none;
  }
  .account-content {
    padding: 0.85rem var(--rtx-layout-gutter) 1.2rem calc(56px + var(--rtx-layout-gutter));
    transform: translateX(0);
    transition: transform 0.26s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
  }
  .account-content--auth-only {
    padding-left: var(--rtx-layout-gutter);
    transform: none;
    transition: none;
    will-change: auto;
  }
  .account-sidebar.is-expanded + .account-content {
    transform: translateX(204px);
  }
  .account-app-shell {
    overflow-x: clip;
  }
  body.sidebar-is-open {
    overflow: hidden;
  }
}
.account-dashboard,
.account-payment {
  max-width: 100%;
}

.section.account-dashboard {
  padding-top: 2.4rem;
  padding-bottom: 2.8rem;
}

.account-dashboard__card,
.account-payment__card {
  padding: 1.4rem 1.6rem 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.credits-topup__form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  max-width: 580px;
}

.credits-topup__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  padding-top: 0.25rem;
}

.credits-topup__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}
.credits-topup__loading-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
  max-width: 360px;
}
.credits-topup__loading-title {
  color: var(--t-text);
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}
.credits-topup__loading-sub {
  color: var(--t-text-muted);
  font-size: 0.84rem;
  margin: 0;
  line-height: 1.55;
}

.credits-topup__spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(var(--t-primary-rgb), 0.14);
  border-top-color: var(--t-primary);
  border-radius: 50%;
  animation: rtx-spin 0.85s linear infinite;
  flex-shrink: 0;
}

@keyframes rtx-spin {
  to {
    transform: rotate(360deg);
  }
}
.account-dashboard-events {
  border: 1px solid rgba(var(--t-fg-rgb), 0.09);
  border-radius: 8px;
  background: rgba(var(--t-bg-rgb), 0.44);
  padding: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
  box-shadow: inset 0 1px 0 rgba(var(--t-fg-rgb), 0.05);
}

.account-dashboard-events__header {
  display: flex;
  flex-direction: column;
  gap: 0.26rem;
}

.account-dashboard-events__title {
  margin: 0;
  font-size: 1.2rem;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 700;
  color: var(--t-text);
  letter-spacing: 0.1px;
}

.account-dashboard-events__subtitle {
  margin: 0;
  color: rgba(var(--t-fg-rgb), 0.76);
  font-size: 0.9rem;
}

.account-dashboard-events__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.account-dashboard-events__field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.account-dashboard-events__field label {
  margin: 0;
  color: rgba(var(--t-fg-rgb), 0.86);
  font-size: 0.8rem;
  font-weight: 600;
}

.account-dashboard-events__field .form-control,
.account-dashboard-events__field .ui-dropdown-trigger {
  width: 100%;
  min-height: 42px;
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(var(--t-fg-rgb), 0.14);
  border-radius: 8px;
  background-color: rgba(var(--t-surface-rgb), 0.98);
  color: var(--t-text);
  box-shadow: inset 0 1px 0 rgba(var(--t-fg-rgb), 0.06);
}

.account-dashboard-events__field .form-control::placeholder {
  color: rgba(var(--t-fg-rgb), 0.58);
}

.account-dashboard-events__field .form-control:focus,
.account-dashboard-events__field .ui-dropdown-trigger:focus-visible {
  outline: none;
  border-color: rgba(var(--t-primary-rgb), 0.62);
  box-shadow: 0 0 0 0.15rem rgba(var(--t-primary-rgb), 0.16), inset 0 1px 0 rgba(var(--t-fg-rgb), 0.05);
}

.account-dashboard-events .ui-dropdown-menu {
  top: calc(100% + 2px);
}

.account-dashboard-events .ui-dropdown-option {
  min-height: 36px;
  padding-left: 0.55rem;
  padding-right: 0.55rem;
}

.account-dashboard-events__field--search {
  flex: 1 1 360px;
}

.account-dashboard-events__field--status {
  flex: 0 0 180px;
  min-width: 160px;
}

.account-dashboard-events__summary {
  margin: 0;
  color: rgba(var(--t-fg-rgb), 0.66);
  font-size: 0.84rem;
}

.account-dashboard-events__table-shell {
  border: 1px solid rgba(var(--t-fg-rgb), 0.08);
  border-radius: 8px;
  background: rgba(var(--t-bg-rgb), 0.36);
  overflow: hidden;
}

.account-dashboard-events__table {
  margin: 0;
}
.account-dashboard-events__table thead th {
  font-size: 0.72rem;
  padding: 0.66rem 0.72rem;
}
.account-dashboard-events__table tbody td {
  padding: 0.65rem 0.72rem;
}

.account-dashboard-events__event-title {
  font-weight: 650;
  color: rgba(var(--t-fg-rgb), 0.95);
  line-height: 1.25;
}

.account-dashboard-events__event-slug {
  margin-top: 0.18rem;
  font-size: 0.76rem;
  color: rgba(var(--t-fg-rgb), 0.55);
}

.account-dashboard-events__date-tz {
  margin-top: 0.08rem;
  color: rgba(var(--t-fg-rgb), 0.58);
  font-size: 0.74rem;
}

.account-dashboard-events__actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.account-dashboard-events__action-btn {
  margin-top: 0;
  min-height: 34px;
  padding: 0.42rem 0.68rem;
  font-size: 0.78rem;
}

.account-dashboard-events__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.13rem 0.46rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.24);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.36px;
  text-transform: uppercase;
  color: rgba(var(--t-fg-rgb), 0.88);
  background: rgba(var(--t-fg-rgb), 0.08);
}

.account-dashboard-events__badge.is-live,
.account-dashboard-events__badge.is-active {
  color: #c6ffad;
  border-color: rgba(var(--t-primary-rgb), 0.42);
  background: rgba(var(--t-primary-rgb), 0.16);
}

.account-dashboard-events__badge.is-upcoming {
  color: #b8ebff;
  border-color: rgba(94, 203, 255, 0.34);
  background: rgba(94, 203, 255, 0.13);
}

.account-dashboard-events__badge.is-past {
  color: #ffe4a8;
  border-color: rgba(255, 193, 7, 0.34);
  background: rgba(255, 193, 7, 0.12);
}

.account-dashboard-events__badge.is-draft {
  color: #fdd7ff;
  border-color: rgba(var(--t-secondary-rgb), 0.36);
  background: rgba(var(--t-secondary-rgb), 0.11);
}

.account-dashboard-events__badge.is-paused {
  color: #ffd8bf;
  border-color: rgba(255, 133, 70, 0.38);
  background: rgba(255, 133, 70, 0.12);
}

.account-dashboard-events__badge.is-archived {
  color: rgba(var(--t-fg-rgb), 0.84);
  border-color: rgba(var(--t-fg-rgb), 0.28);
  background: rgba(var(--t-fg-rgb), 0.06);
}

.account-dashboard-events__empty {
  border: 1px dashed rgba(var(--t-fg-rgb), 0.22);
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
  background: rgba(var(--t-bg-rgb), 0.34);
}

.account-dashboard-events__empty-title {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(var(--t-fg-rgb), 0.92);
}

.account-dashboard-events__empty-copy {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: rgba(var(--t-fg-rgb), 0.7);
}

.account-dashboard-events__error-cell {
  color: #ffc8f5;
  font-size: 0.85rem;
}

.account-dashboard-events__pagination {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.account-dashboard-events__page-btn {
  margin-top: 0;
  min-height: 32px;
  padding: 0.35rem 0.56rem;
  font-size: 0.75rem;
}

.account-dashboard-events__page-btn.is-current {
  border-color: rgba(var(--t-primary-rgb), 0.62);
  background: rgba(var(--t-primary-rgb), 0.16);
  color: #d9ffc4;
}

.account-dashboard-events__page-ellipsis {
  color: rgba(var(--t-fg-rgb), 0.66);
  font-size: 0.8rem;
  padding: 0 0.12rem;
}

.account-dashboard-events.is-loading .account-dashboard-events__table-shell {
  opacity: 0.7;
}

.account-dashboard__header {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(var(--t-fg-rgb), 0.08);
}

.account-dashboard__title {
  margin: 0;
  color: var(--t-text);
  font-size: clamp(1.55rem, 1.45rem + 0.4vw, 1.95rem);
  line-height: 1.05;
}

.account-dashboard__subtitle {
  margin: 0;
  color: rgba(var(--t-fg-rgb), 0.78);
  max-width: 72ch;
}

.staff-dashboard .staff-dashboard__hero {
  align-items: flex-start;
}
.staff-dashboard .staff-dashboard__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.8rem;
}
.staff-dashboard .staff-dashboard__grid {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.staff-dashboard .staff-dashboard__tile-wrap {
  display: flex;
  flex: 1 1 230px;
  max-width: 100%;
  min-width: 0;
}
.staff-dashboard .staff-dashboard__tile {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  width: 100%;
  padding: 1rem 1.05rem;
  border-radius: 8px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.1);
  background: rgba(var(--t-bg-rgb), 0.42);
  box-shadow: inset 0 1px 0 rgba(var(--t-fg-rgb), 0.04);
  color: rgba(var(--t-fg-rgb), 0.94);
  text-decoration: none;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.staff-dashboard .staff-dashboard__tile:hover, .staff-dashboard .staff-dashboard__tile:focus-visible {
  border-color: rgba(var(--t-primary-rgb), 0.55);
  background: rgba(var(--t-primary-rgb), 0.07);
  color: var(--t-text);
  box-shadow: inset 0 1px 0 rgba(var(--t-fg-rgb), 0.06), 0 0 0 1px rgba(var(--t-primary-rgb), 0.18);
}
.staff-dashboard .staff-dashboard__tile:focus-visible {
  outline: none;
}
.staff-dashboard .staff-dashboard__tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(var(--t-fg-rgb), 0.04);
  border: 1px solid rgba(var(--t-fg-rgb), 0.08);
  color: var(--t-primary);
}
.staff-dashboard .staff-dashboard__tile-icon svg {
  width: 22px;
  height: 22px;
}
.staff-dashboard .staff-dashboard__tile:hover .staff-dashboard__tile-icon,
.staff-dashboard .staff-dashboard__tile:focus-visible .staff-dashboard__tile-icon {
  border-color: rgba(var(--t-primary-rgb), 0.45);
  background: rgba(var(--t-primary-rgb), 0.12);
}
.staff-dashboard .staff-dashboard__tile-body {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
}
.staff-dashboard .staff-dashboard__tile-title {
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  color: inherit;
}
.staff-dashboard .staff-dashboard__tile-copy {
  font-size: 0.82rem;
  color: rgba(var(--t-fg-rgb), 0.66);
  line-height: 1.35;
}
.staff-dashboard .staff-dashboard__empty {
  flex: 1 1 100%;
  padding: 1rem 1.05rem;
  border-radius: 8px;
  border: 1px dashed rgba(var(--t-fg-rgb), 0.18);
  background: rgba(var(--t-bg-rgb), 0.38);
  color: rgba(var(--t-fg-rgb), 0.72);
  text-align: center;
}
.staff-dashboard .staff-dashboard__empty p {
  margin: 0;
  font-size: 0.9rem;
}
.staff-dashboard .staff-dashboard__footnote {
  margin: 0;
  padding-top: 0.6rem;
  font-size: 0.82rem;
  color: rgba(var(--t-fg-rgb), 0.6);
}
.staff-dashboard .staff-dashboard__footnote a {
  color: rgba(var(--t-primary-rgb), 0.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(var(--t-primary-rgb), 0.35);
  padding-bottom: 1px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.staff-dashboard .staff-dashboard__footnote a:hover, .staff-dashboard .staff-dashboard__footnote a:focus-visible {
  color: var(--t-primary);
  border-bottom-color: var(--t-primary);
}

.account-memberships {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.account-memberships__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.85rem 0.95rem;
  border-radius: 8px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.08);
  background: rgba(var(--t-bg-rgb), 0.4);
}

.account-memberships__main {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
  flex: 1 1 260px;
}

.account-memberships__name {
  margin: 0;
  color: rgba(var(--t-fg-rgb), 0.95);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.account-memberships__meta {
  margin: 0;
  color: rgba(var(--t-fg-rgb), 0.6);
  font-size: 0.8rem;
}

.account-memberships__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.15rem;
}

.account-memberships__action {
  display: inline-flex;
  flex-shrink: 0;
  margin: 0;
}

.account-dns__field {
  max-width: 480px;
}

.account-dns__row {
  display: flex;
  gap: 0.55rem;
  align-items: stretch;
  flex-wrap: wrap;
}

.account-dns__row .form-control {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
}

.account-dns__row .btn {
  flex: 0 0 auto;
  min-height: 0;
  align-self: stretch;
  white-space: nowrap;
}

.account-dns__status {
  margin-top: 0.5rem;
  min-height: 1.2em;
}

.account-dns__note {
  margin-top: 1rem;
}

.account-settings__form-actions {
  margin-top: var(--rtx-space-4, 1rem);
}

.wallet-pin-locked {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.wallet-pin-locked__copy {
  flex: 1 1 18rem;
  min-width: 0;
  line-height: 1.5;
}

.wallet-pin-locked__copy strong {
  color: inherit;
  margin-right: 0.35rem;
}

.wallet-pin-locked__actions {
  flex: 0 0 auto;
}

.account-profile .account-profile-card {
  gap: 1.5rem;
}
.account-profile .account-profile-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.account-profile .account-profile-hero-main {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}
.account-profile .account-profile-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}
.account-profile .account-profile-eyebrow {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(var(--t-primary-rgb), 0.82);
}
.account-profile .account-profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--t-primary-contrast-text);
  background: radial-gradient(circle at 30% 30%, rgba(var(--t-fg-rgb), 0.34), transparent 52%), linear-gradient(135deg, rgba(var(--t-primary-rgb), 0.82) 0%, var(--t-primary) 52%, rgba(var(--t-primary-rgb), 0.68) 100%);
  box-shadow: 0 16px 34px rgba(var(--t-primary-rgb), 0.18), inset 0 1px 0 rgba(var(--t-fg-rgb), 0.3);
}
.account-profile .account-profile-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.account-profile .account-profile-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.56rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.18);
  background: rgba(var(--t-fg-rgb), 0.06);
  color: rgba(var(--t-fg-rgb), 0.86);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.account-profile .account-profile-chip.is-success {
  border-color: rgba(var(--t-primary-rgb), 0.42);
  background: rgba(var(--t-primary-rgb), 0.16);
  color: #cfff9d;
}
.account-profile .account-profile-chip.is-strong {
  border-color: rgba(var(--t-secondary-rgb), 0.34);
  background: rgba(var(--t-secondary-rgb), 0.13);
  color: #ffd2f8;
}
.account-profile .account-profile-chip.is-pending {
  border-color: rgba(255, 193, 7, 0.34);
  background: rgba(255, 193, 7, 0.14);
  color: #ffe5a1;
}
.account-profile .account-profile-chip.is-danger {
  border-color: rgba(255, 110, 154, 0.36);
  background: rgba(255, 110, 154, 0.14);
  color: #ffc4db;
}
.account-profile .account-profile-chip.is-muted {
  border-color: rgba(var(--t-fg-rgb), 0.16);
  background: rgba(var(--t-fg-rgb), 0.04);
  color: rgba(var(--t-fg-rgb), 0.72);
}
.account-profile .account-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
}
.account-profile .account-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.account-profile .account-profile-panel {
  border: 1px solid rgba(var(--t-fg-rgb), 0.09);
  border-radius: 8px;
  background: rgba(var(--t-bg-rgb), 0.4);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: inset 0 1px 0 rgba(var(--t-fg-rgb), 0.05);
}
.account-profile .account-profile-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.account-profile .account-profile-panel-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--t-text);
}
.account-profile .account-profile-panel-copy {
  margin: 0.3rem 0 0;
  color: rgba(var(--t-fg-rgb), 0.7);
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 60ch;
}
.account-profile .account-profile-details,
.account-profile .account-profile-access-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}
.account-profile .account-profile-detail {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.34rem;
  padding: 0.82rem 0.88rem;
  border-radius: 8px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.08);
  background: rgba(var(--t-surface-rgb), 0.54);
}
.account-profile .account-profile-detail-wide {
  grid-column: 1/-1;
}
.account-profile .account-profile-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(var(--t-fg-rgb), 0.55);
}
.account-profile .account-profile-value {
  color: rgba(var(--t-fg-rgb), 0.95);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  word-break: break-word;
}
.account-profile .account-profile-access-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 8px;
  border: 1px dashed rgba(var(--t-fg-rgb), 0.18);
  background: rgba(var(--t-surface-rgb), 0.38);
}
.account-profile .account-profile-access-copy {
  margin: 0;
  color: rgba(var(--t-fg-rgb), 0.76);
  line-height: 1.55;
  max-width: 62ch;
}
.account-profile .account-profile-notice {
  border-radius: 8px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.2);
  padding: 0.72rem 0.82rem;
  font-size: 0.92rem;
}
.account-profile .account-profile-notice.is-success {
  border-color: rgba(var(--t-primary-rgb), 0.45);
  background: rgba(var(--t-primary-rgb), 0.15);
  color: var(--t-primary);
}
.account-profile .account-profile-notice.is-info {
  border-color: rgba(94, 203, 255, 0.34);
  background: rgba(94, 203, 255, 0.13);
  color: #bdeeff;
}
.account-profile .account-profile-notice.is-warning {
  border-color: rgba(255, 193, 7, 0.35);
  background: rgba(255, 193, 7, 0.14);
  color: #ffe6a3;
}

.account-settings .account-settings__recovery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(var(--t-fg-rgb), 0.08);
  border-radius: 8px;
  background: rgba(var(--t-bg-rgb), 0.42);
  box-shadow: inset 0 1px 0 rgba(var(--t-fg-rgb), 0.04);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
  color: rgba(var(--t-fg-rgb), 0.92);
}
.account-settings .account-settings__setup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1rem;
}
.account-settings .account-settings__setup-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(var(--t-fg-rgb), 0.08);
  border-radius: 8px;
  background: rgba(var(--t-bg-rgb), 0.36);
  box-shadow: inset 0 1px 0 rgba(var(--t-fg-rgb), 0.04);
}
.account-settings .account-settings__status-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.account-settings .account-settings__status-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.account-settings .account-settings__subheading {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(var(--t-fg-rgb), 0.96);
}
.account-settings .account-settings__copy,
.account-settings .account-settings__status-copy p {
  margin: 0;
  color: rgba(var(--t-fg-rgb), 0.72);
  line-height: 1.6;
}
.account-settings .account-settings__qr-shell {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.9rem;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}
.account-settings .account-settings__qr-shell img {
  display: block;
  width: 188px;
  max-width: 100%;
  height: auto;
}
.account-settings .account-settings__manual-key {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.account-settings .account-settings__manual-key code {
  display: block;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(var(--t-fg-rgb), 0.08);
  border-radius: 8px;
  background: rgba(var(--t-bg-rgb), 0.6);
  color: rgba(var(--t-fg-rgb), 0.92);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  word-break: break-word;
}
.account-settings .account-settings__manual-key-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(var(--t-fg-rgb), 0.56);
}
.account-settings .account-settings__inline-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0.8rem;
}
.account-settings .account-settings__form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  padding: 0 1.5rem 1rem;
}
@media (max-width: 640px) {
  .account-settings .account-settings__form-grid {
    grid-template-columns: 1fr;
  }
}
.account-settings .account-settings__field {
  min-width: min(100%, 280px);
}
.account-settings .account-settings__field .form-label {
  margin-bottom: 0.45rem;
  color: rgba(var(--t-fg-rgb), 0.84);
  font-weight: 600;
}
.account-settings .account-settings__field .form-control {
  min-height: 48px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.12);
  border-radius: 8px;
  background: rgba(var(--t-bg-rgb), 0.72);
  color: rgba(var(--t-fg-rgb), 0.96);
  box-shadow: inset 0 1px 0 rgba(var(--t-fg-rgb), 0.03);
}
.account-settings .account-settings__field .form-control::placeholder {
  color: rgba(var(--t-fg-rgb), 0.42);
}
.account-settings .account-settings__field .form-control:focus, .account-settings .account-settings__field .form-control:focus-visible {
  border-color: rgba(var(--t-primary-rgb), 0.5);
  box-shadow: 0 0 0 3px rgba(var(--t-primary-rgb), 0.14);
}
.account-settings .account-settings__danger-panel {
  border-color: rgba(255, 110, 154, 0.2);
  background: linear-gradient(180deg, rgba(var(--t-surface-rgb), 0.98) 0%, rgba(68, 15, 32, 0.38) 100%);
}

.surface-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.1rem;
  border: 1px solid rgba(var(--t-fg-rgb), 0.09);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(var(--t-surface-rgb), 0.98) 0%, rgba(var(--t-bg-rgb), 0.9) 100%);
  box-shadow: inset 0 1px 0 rgba(var(--t-fg-rgb), 0.05), 0 10px 24px rgba(0, 0, 0, 0.24);
}

.surface-page {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.surface-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(var(--t-primary-rgb), 0.82);
}

.surface-title {
  margin: 0;
  color: var(--t-text);
  font-size: clamp(1.55rem, 1.42rem + 0.6vw, 2.1rem);
  line-height: 1.05;
}

.surface-subtitle {
  margin: 0.4rem 0 0;
  max-width: 72ch;
  color: rgba(var(--t-fg-rgb), 0.76);
  line-height: 1.55;
}

.surface-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
}
.surface-actions .btn {
  flex-direction: row-reverse;
  gap: 0.55rem;
}
.surface-actions .btn svg.sa-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.surface-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(var(--t-fg-rgb), 0.09);
  border-radius: 10px;
  background: rgba(var(--t-surface-rgb), 0.95);
  box-shadow: inset 0 1px 0 rgba(var(--t-fg-rgb), 0.05), 0 8px 18px rgba(0, 0, 0, 0.28);
}

.surface-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.surface-panel__title {
  margin: 0;
  color: rgba(var(--t-fg-rgb), 0.95);
  font-size: 1.08rem;
  font-weight: 700;
}

.surface-panel__copy {
  margin: 0.28rem 0 0;
  color: rgba(var(--t-fg-rgb), 0.7);
  line-height: 1.5;
  font-size: 0.89rem;
}

.surface-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.surface-metric {
  padding: 0.92rem 0.95rem;
  border-radius: 8px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.08);
  background: rgba(var(--t-bg-rgb), 0.42);
  box-shadow: inset 0 1px 0 rgba(var(--t-fg-rgb), 0.04);
}

.surface-metric__label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(var(--t-fg-rgb), 0.56);
}

.surface-metric__value {
  display: block;
  color: rgba(var(--t-fg-rgb), 0.96);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.1;
}

.surface-metric__hint {
  display: block;
  margin-top: 0.22rem;
  color: rgba(var(--t-fg-rgb), 0.62);
  font-size: 0.8rem;
}

.surface-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.surface-detail {
  display: flex;
  flex-direction: column;
  gap: 0.34rem;
  min-width: 0;
  padding: 0.78rem 0.82rem;
  border-radius: 8px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.08);
  background: rgba(var(--t-bg-rgb), 0.38);
}

.surface-detail__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(var(--t-fg-rgb), 0.56);
}

.surface-detail__value {
  color: rgba(var(--t-fg-rgb), 0.94);
  font-weight: 600;
  line-height: 1.45;
  word-break: break-word;
}

.surface-notice {
  border-radius: 8px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.2);
  padding: 0.8rem 0.9rem;
  font-size: 0.92rem;
}

.surface-notice__title {
  font-weight: 700;
  color: inherit;
}

.surface-notice__copy {
  margin-top: 0.16rem;
  color: inherit;
  opacity: 0.94;
}

.surface-notice.is-success {
  border-color: rgba(var(--t-primary-rgb), 0.45);
  background: rgba(var(--t-primary-rgb), 0.15);
  color: var(--t-primary);
}

.surface-notice.is-info {
  border-color: rgba(94, 203, 255, 0.34);
  background: rgba(94, 203, 255, 0.13);
  color: #bdeeff;
}

.surface-notice.is-warning {
  border-color: rgba(255, 193, 7, 0.35);
  background: rgba(255, 193, 7, 0.14);
  color: #ffe6a3;
}

.surface-notice.is-danger {
  border-color: rgba(var(--t-secondary-rgb), 0.4);
  background: rgba(var(--t-secondary-rgb), 0.14);
  color: #ffc8f5;
}

.surface-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.56rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.18);
  background: rgba(var(--t-fg-rgb), 0.06);
  color: rgba(var(--t-fg-rgb), 0.86);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
}

.surface-badge-cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
}

.surface-badge-cluster .surface-badge {
  align-self: center;
}

.surface-badge.is-success {
  border-color: rgba(var(--t-primary-rgb), 0.42);
  background: rgba(var(--t-primary-rgb), 0.16);
  color: #cfff9d;
}

.surface-badge.is-info {
  border-color: rgba(94, 203, 255, 0.32);
  background: rgba(94, 203, 255, 0.12);
  color: #bdeeff;
}

.surface-badge.is-warning,
.surface-badge.is-pending {
  border-color: rgba(255, 193, 7, 0.34);
  background: rgba(255, 193, 7, 0.14);
  color: #ffe5a1;
}

.surface-badge.is-danger {
  border-color: rgba(var(--t-secondary-rgb), 0.36);
  background: rgba(var(--t-secondary-rgb), 0.13);
  color: #ffc4db;
}

.surface-badge.is-muted {
  border-color: rgba(var(--t-fg-rgb), 0.16);
  background: rgba(var(--t-fg-rgb), 0.04);
  color: rgba(var(--t-fg-rgb), 0.72);
}

.surface-inline-note {
  padding: 0.68rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.08);
  background: rgba(var(--t-bg-rgb), 0.36);
  color: rgba(var(--t-fg-rgb), 0.78);
  line-height: 1.5;
}

.surface-empty {
  padding: 0.9rem 0.95rem;
  border-radius: 8px;
  border: 1px dashed rgba(var(--t-fg-rgb), 0.18);
  background: rgba(var(--t-bg-rgb), 0.34);
  color: rgba(var(--t-fg-rgb), 0.7);
}

.surface-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.surface-list__item {
  padding: 0.85rem 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.08);
  background: rgba(var(--t-bg-rgb), 0.36);
}

.validation-summary-valid {
  display: none;
}

.checkout-page .container {
  max-width: 1280px;
}

.checkout-shell {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.95fr);
  gap: 1rem;
  align-items: start;
}

.checkout-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.checkout-sidebar {
  position: sticky;
  top: 116px;
}

.checkout-summary {
  gap: 1rem;
}

.checkout-recipients-panel__header {
  flex-wrap: wrap;
  align-items: flex-start;
}

.checkout-recipients-panel__actions {
  flex: 0 0 auto;
  align-self: flex-start;
  padding-top: 0.12rem;
}

.checkout-recipients-panel__copy-btn {
  margin-top: 0;
  white-space: nowrap;
}

.checkout-recipients-panel__copy-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 520px) {
  .checkout-recipients-panel__actions {
    width: 100%;
    padding-top: 0.35rem;
  }
  .checkout-recipients-panel__copy-btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}
.checkout-assignment-list,
.checkout-question-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.checkout-assignment-card,
.checkout-question-card {
  padding: 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.08);
  background: rgba(var(--t-bg-rgb), 0.36);
  box-shadow: inset 0 1px 0 rgba(var(--t-fg-rgb), 0.04);
}

.checkout-assignment-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

.checkout-assignment-card__title {
  color: rgba(var(--t-fg-rgb), 0.94);
  font-weight: 700;
}

.checkout-assignment-card__tier {
  margin-left: 0.4rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(var(--t-fg-rgb), 0.64);
}

.checkout-required {
  color: #ff9dc2;
  font-weight: 700;
}

.checkout-rules-panel {
  border-color: rgba(245, 158, 11, 0.32) !important;
  background: rgba(245, 158, 11, 0.04) !important;
}

.checkout-rules-panel__header {
  display: flex;
  align-items: flex-start;
  gap: 0.72rem;
  padding-bottom: 0.72rem;
  border-bottom: 1px solid rgba(245, 158, 11, 0.16);
}

.checkout-rules-panel__icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  color: #f59e0b;
  margin-top: 0.1rem;
}

.checkout-rules-panel__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(var(--t-fg-rgb), 0.95);
}

.checkout-rules-panel__subtitle {
  margin: 0.15rem 0 0;
  font-size: 0.84rem;
  color: rgba(245, 158, 11, 0.82);
}

.checkout-rules-panel__content {
  padding: 0.78rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(245, 158, 11, 0.14);
  background: rgba(var(--t-bg-rgb), 0.5);
  color: rgba(var(--t-fg-rgb), 0.84);
  line-height: 1.6;
  font-size: 0.9rem;
  max-height: 280px;
  overflow-y: auto;
}

.checkout-rules-panel__accept {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.7rem;
  border-radius: 8px;
  border: 1px solid rgba(245, 158, 11, 0.2);
  background: rgba(245, 158, 11, 0.06);
}
.checkout-rules-panel__accept .form-check-label {
  font-weight: 600;
  color: rgba(var(--t-fg-rgb), 0.92);
  font-size: 0.9rem;
  cursor: pointer;
}

.checkout-item-list {
  display: flex;
  flex-direction: column;
  gap: 0.68rem;
}

.checkout-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.68rem;
  border-bottom: 1px solid rgba(var(--t-fg-rgb), 0.08);
}

.checkout-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.checkout-item__name {
  color: rgba(var(--t-fg-rgb), 0.95);
  font-weight: 650;
}

.checkout-item__meta {
  margin-top: 0.18rem;
  color: rgba(var(--t-fg-rgb), 0.58);
  font-size: 0.82rem;
}

.checkout-item__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.12rem;
  color: rgba(var(--t-fg-rgb), 0.84);
  font-size: 0.86rem;
}
.checkout-item__price span {
  font-weight: 700;
  color: rgba(var(--t-fg-rgb), 0.95);
}

.checkout-total-list {
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
}

.checkout-total-list__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  color: rgba(var(--t-fg-rgb), 0.82);
}

.checkout-total-list__row.is-total {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(var(--t-fg-rgb), 0.1);
  color: var(--t-text);
  font-size: 1rem;
}

.checkout-total-list__value {
  text-align: right;
}

.checkout-total-list__hint {
  margin-top: 0.1rem;
  color: rgba(var(--t-fg-rgb), 0.58);
  font-size: 0.78rem;
}

.checkout-summary__meta {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.checkout-payment-panel__element {
  margin-bottom: 0.8rem;
}

.checkout-payment-page .checkout-payment-page__card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.checkout-payment-page .checkout-payment-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.9fr);
  gap: 1rem;
  align-items: start;
}
.checkout-payment-page .checkout-payment-page__summary {
  position: sticky;
  top: 116px;
}
.checkout-payment-page .checkout-payment-panel__element {
  padding: 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.08);
  background: rgba(var(--t-bg-rgb), 0.34);
}

.checkout-success-page .checkout-success-page__card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.checkout-success-page .checkout-success-page__hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}
.checkout-success-page .checkout-success-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.85fr);
  gap: 1rem;
  align-items: start;
}
.checkout-success-page .checkout-success-page__main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.checkout-success-page .checkout-success-page__ticket-grid {
  display: grid;
  gap: 1rem;
}
.checkout-success-page .checkout-success-page__sidebar {
  position: sticky;
  top: 116px;
}
.checkout-success-page .checkout-success-page__summary-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.checkout-success-page .checkout-success-page__summary-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(var(--t-fg-rgb), 0.08);
}
.checkout-success-page .checkout-success-page__summary-row span {
  color: rgba(var(--t-fg-rgb), 0.62);
}
.checkout-success-page .checkout-success-page__summary-row strong {
  color: rgba(var(--t-fg-rgb), 0.96);
  text-align: right;
}
.checkout-success-page .checkout-success-page__cta-group {
  margin-top: 1rem;
}

.checkout-success-ticket {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checkout-success-ticket__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(var(--t-fg-rgb), 0.08);
}

.checkout-success-ticket__body {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.checkout-success-ticket__qr-shell,
.checkout-success-ticket__details {
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.08);
  background: rgba(var(--t-bg-rgb), 0.34);
}

.checkout-success-ticket__qr-frame {
  display: grid;
  place-items: center;
  padding: 1rem;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(var(--t-fg-rgb), 0.96) 0%, rgba(var(--t-fg-rgb), 0.88) 100%);
}

.checkout-success-ticket__qr-image {
  width: 100%;
  max-width: 240px;
  height: auto;
  display: block;
}

.checkout-success-ticket__qr-copy {
  margin: 0.85rem 0 0;
  color: rgba(var(--t-fg-rgb), 0.68);
  line-height: 1.5;
}

.checkout-success-ticket__details {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.checkout-success-ticket__detail {
  display: flex;
  flex-direction: column;
  gap: 0.26rem;
}

.checkout-success-ticket__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(var(--t-fg-rgb), 0.56);
}

.checkout-success-ticket__value {
  color: rgba(var(--t-fg-rgb), 0.94);
  font-weight: 650;
}

.checkout-success-ticket__code {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.3rem 0.52rem;
  border-radius: 0.55rem;
  background: rgba(var(--t-surface-rgb), 0.8);
  border: 1px solid rgba(var(--t-fg-rgb), 0.09);
  color: #d7ffba;
}

.ticket-pass-page {
  max-width: 100%;
}

.ticket-pass {
  gap: 1.25rem;
}

.ticket-pass__hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(var(--t-fg-rgb), 0.08);
}

.ticket-pass__content {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
}

.ticket-pass__qr-shell,
.ticket-pass__details {
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.08);
  background: rgba(var(--t-bg-rgb), 0.36);
}

.ticket-pass__qr-frame {
  display: grid;
  place-items: center;
  padding: 1rem;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(var(--t-fg-rgb), 0.96) 0%, rgba(var(--t-fg-rgb), 0.88) 100%);
}

.ticket-pass__qr-image {
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
}

.ticket-pass__qr-copy {
  margin: 0.9rem 0 0;
  color: rgba(var(--t-fg-rgb), 0.68);
  line-height: 1.5;
}

.ticket-pass__details {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.ticket-pass__detail {
  display: flex;
  flex-direction: column;
  gap: 0.26rem;
  flex: 1 1 auto;
  min-width: 0;
}

.ticket-pass__detail-row {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.ticket-pass__detail-row .ticket-pass__detail {
  flex: 1 1 180px;
}

.ticket-pass__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(var(--t-fg-rgb), 0.56);
}

.ticket-pass__value {
  color: rgba(var(--t-fg-rgb), 0.94);
  font-weight: 650;
}

.ticket-pass__sub {
  color: rgba(var(--t-fg-rgb), 0.68);
  font-size: 0.85rem;
  line-height: 1.42;
}

.ticket-pass__link {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 0.15rem;
  color: var(--t-primary);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dotted rgba(var(--t-primary-rgb), 0.55);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.ticket-pass__link:hover, .ticket-pass__link:focus-visible {
  color: var(--t-text);
  border-bottom-color: rgba(var(--t-fg-rgb), 0.65);
  outline: none;
}

.ticket-pass__code {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.3rem 0.52rem;
  border-radius: 0.55rem;
  background: rgba(var(--t-surface-rgb), 0.8);
  border: 1px solid rgba(var(--t-fg-rgb), 0.09);
  color: #d7ffba;
}

.ticket-pass__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.3rem;
}

.auth-result-page .container,
.private-access-page .container {
  max-width: 720px;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 480px) {
  .auth-result-page .container,
  .private-access-page .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}
@media (min-width: 768px) {
  .auth-result-page .container,
  .private-access-page .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.auth-result-card,
.private-access-card {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.auth-result-card__icon,
.private-access-card__icon {
  display: inline-flex;
  align-self: center;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  height: 84px;
  padding: 0 1.1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(var(--t-primary-rgb), 0.16) 0%, rgba(var(--t-primary-rgb), 0.28) 100%);
  color: var(--t-primary-contrast-text);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(var(--t-fg-rgb), 0.5);
}

.auth-result-card.is-danger .auth-result-card__icon {
  background: linear-gradient(135deg, rgba(var(--t-secondary-rgb), 0.22) 0%, rgba(var(--t-secondary-rgb), 0.36) 100%);
  color: #351120;
}

.auth-result-card__title,
.private-access-card__title {
  margin: 0;
  color: #121826;
  font-size: clamp(1.55rem, 1.42rem + 0.5vw, 2rem);
  line-height: 1.08;
}

.auth-result-card__copy,
.private-access-card__copy {
  margin: 0;
  color: #334155;
  line-height: 1.65;
}

.auth-result-card__hint {
  margin: 0;
  color: #64748b;
  line-height: 1.55;
}

.auth-result-card__actions,
.private-access-card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.private-access-card__form {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}

.auth-result-shell {
  text-align: center;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
@media (min-width: 480px) {
  .auth-result-shell {
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }
}
@media (min-width: 768px) {
  .auth-result-shell {
    padding: 2.25rem 2rem;
    gap: 1.75rem;
  }
}
.auth-result-shell .auth-result-shell__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  height: 96px;
  padding: 0 1.2rem;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t-text);
  box-shadow: inset 0 2px 0 rgba(var(--t-fg-rgb), 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.2);
}
.auth-result-shell.is-success .auth-result-shell__icon {
  background: linear-gradient(160deg, #7dd334 0%, #5cb818 50%, #4a9514 100%);
  color: var(--t-text);
}
.auth-result-shell.is-danger .auth-result-shell__icon {
  background: linear-gradient(160deg, rgba(var(--t-secondary-rgb), 0.85) 0%, rgba(var(--t-secondary-rgb), 0.72) 50%, rgba(var(--t-secondary-rgb), 0.6) 100%);
  color: var(--t-text);
}
.auth-result-shell .auth-result-shell__title {
  margin: 0;
  color: var(--t-text);
  font-size: clamp(1.6rem, 1.5rem + 0.5vw, 2.1rem);
  line-height: 1.12;
  font-weight: 700;
}
.auth-result-shell .auth-result-shell__copy {
  margin: 0;
  color: rgba(var(--t-fg-rgb), 0.82);
  line-height: 1.7;
  max-width: 42ch;
}
.auth-result-shell .auth-result-shell__copy strong {
  color: rgba(var(--t-fg-rgb), 0.95);
  font-weight: 600;
}
.auth-result-shell .auth-result-shell__hint {
  margin: 0;
  color: rgba(var(--t-fg-rgb), 0.62);
  line-height: 1.6;
  max-width: 42ch;
}
.auth-result-shell .auth-result-shell__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
}
.auth-result-shell .auth-result-shell__actions .btn {
  background: linear-gradient(180deg, rgba(var(--t-surface-rgb), 0.92) 0%, rgba(16, 18, 20, 0.9) 100%);
  border: 1px solid rgba(var(--t-primary-rgb), 0.55);
  color: var(--t-text);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 0 12px rgba(var(--t-primary-rgb), 0.18);
  border-radius: 10px;
  padding: 0.6rem 1.25rem 0.65rem;
}
.auth-result-shell .auth-result-shell__actions .btn:hover, .auth-result-shell .auth-result-shell__actions .btn:focus-visible {
  background: linear-gradient(180deg, rgba(var(--t-surface-rgb), 0.96) 0%, rgba(20, 23, 26, 0.94) 100%);
  border-color: rgba(var(--t-primary-rgb), 0.72);
  color: var(--t-text);
  box-shadow: 0 0 16px rgba(var(--t-primary-rgb), 0.28);
}

.account-content--auth-only .section .container {
  padding-left: max(1rem, var(--rtx-layout-gutter));
  padding-right: max(1rem, var(--rtx-layout-gutter));
}

.auth-form-shell {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  padding: 1.25rem 1.25rem;
  border-radius: 12px;
}
@media (min-width: 480px) {
  .auth-form-shell {
    padding: 1.5rem 1.75rem;
  }
}
@media (min-width: 768px) {
  .auth-form-shell {
    padding: 1.75rem 2rem;
  }
}
.auth-form-shell .auth-form-shell__eyebrow {
  margin: 0 0 0.35rem;
  color: rgba(var(--t-primary-rgb), 0.92);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.auth-form-shell .form-control,
.auth-form-shell .form-select {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(var(--t-primary-rgb), 0.35);
  box-sizing: border-box;
}
.auth-form-shell .form-control:focus, .auth-form-shell .form-control:focus-visible,
.auth-form-shell .form-select:focus,
.auth-form-shell .form-select:focus-visible {
  border-color: rgba(var(--t-primary-rgb), 0.85);
  box-shadow: 0 0 0 1px rgba(var(--t-primary-rgb), 0.25);
}
.auth-form-shell .form-actions {
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  align-items: center;
}
.auth-form-shell .form-actions a:not(.btn) {
  color: rgba(var(--t-primary-rgb), 0.78);
  text-decoration: none;
  font-weight: 400;
  font-size: 0.88rem;
  transition: color 0.15s ease;
}
.auth-form-shell .form-actions a:not(.btn):hover, .auth-form-shell .form-actions a:not(.btn):focus-visible {
  color: var(--t-primary);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.auth-form-shell .form-actions__sep {
  color: rgba(var(--t-fg-rgb), 0.2);
  font-size: 0.7rem;
  line-height: 1;
  user-select: none;
}

.auth-form-shell--wide {
  max-width: 560px;
}

.wallet-page__overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.wallet-page__overview-card,
.wallet-page__section {
  gap: 1rem;
}

.wallet-page__balance {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  color: rgba(var(--t-fg-rgb), 0.8);
}
.wallet-page__balance strong {
  font-size: clamp(1.8rem, 1.7rem + 0.3vw, 2.15rem);
  line-height: 1;
  color: var(--t-text);
}

.wallet-page__topup {
  max-width: 360px;
}

.wallet-claim-form {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 420px;
}
.wallet-claim-form .form-control {
  flex: 1 1 auto;
  min-width: 0;
}
.wallet-claim-form .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.wallet-page__overview-card .surface-actions {
  gap: 0.45rem;
}

.wallet-page__overview-card .surface-actions .btn {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.38rem 0.72rem;
  letter-spacing: 0.2px;
}

.wallet-page__overview-card .wallet-page__topup .btn-primary {
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.44rem 0.9rem;
}

.account-credits-qr__layout {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.account-credits-qr__frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.08);
  background: linear-gradient(180deg, rgba(var(--t-fg-rgb), 0.96) 0%, rgba(var(--t-fg-rgb), 0.88) 100%);
}

.account-credits-qr__countdown {
  color: var(--t-bg);
  font-size: 0.75rem;
  text-align: center;
  margin: 0;
  opacity: 0.6;
}

.account-credits-qr__image {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
}

.account-credits-qr__right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.account-credits-qr__details {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.account-credits-qr__token code {
  display: block;
  word-break: break-all;
}

.pos-deduct {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pos-deduct__form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pos-deduct__input-group .form-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
}

.pos-deduct__scan-icon {
  width: 18px;
  height: 18px;
  color: rgba(var(--t-primary-rgb), 0.8);
}

.pos-deduct__field {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}

.pos-deduct__input {
  flex: 1 1 auto;
  min-width: 0;
}

.pos-deduct__btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  font-weight: 600;
  padding-left: 1rem;
  padding-right: 1rem;
}

.pos-deduct__btn-icon {
  width: 16px;
  height: 16px;
}

.pos-deduct__result {
  border-radius: 8px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.1);
  background: rgba(var(--t-bg-rgb), 0.4);
  padding: 0.85rem 0.9rem;
  min-height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.pos-deduct__result.is-success {
  border-color: rgba(var(--t-primary-rgb), 0.4);
  background: rgba(var(--t-primary-rgb), 0.06);
}

.pos-deduct__result.is-error {
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.06);
}

.pos-deduct__result-idle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(var(--t-fg-rgb), 0.5);
  font-size: 0.88rem;
}

.pos-deduct__result-idle-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  opacity: 0.6;
}

.pos-deduct__result-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.pos-deduct__result-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.pos-deduct__result-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.is-success .pos-deduct__result-icon {
  color: var(--t-primary);
}

.is-error .pos-deduct__result-icon {
  color: #ef4444;
}

.pos-deduct__result-title {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(var(--t-fg-rgb), 0.95);
}

.pos-deduct__result-message {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(var(--t-fg-rgb), 0.76);
  line-height: 1.4;
}

.pos-deduct__result-details {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.pos-deduct__result-detail {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.1);
  background: rgba(var(--t-bg-rgb), 0.5);
  flex: 1 1 0;
}

.pos-deduct__result-detail-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: rgba(var(--t-fg-rgb), 0.55);
}

.pos-deduct__result-detail-value {
  font-size: 1.05rem;
  color: rgba(var(--t-fg-rgb), 0.95);
}

.account-guardian-profile {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.account-guardian-profile .account-guardian-profile__header {
  margin: 0;
}
.account-guardian-profile .account-guardian-profile__title {
  margin: 0;
  font-size: 1.2rem;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 700;
  color: var(--t-text);
  letter-spacing: 0.1px;
}
.account-guardian-profile .account-guardian-profile__form {
  margin-top: 0.2rem;
}

.account-stripe-status {
  border: 1px solid rgba(var(--t-fg-rgb), 0.09);
  border-radius: 8px;
  background: rgba(var(--t-bg-rgb), 0.44);
  padding: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
  box-shadow: inset 0 1px 0 rgba(var(--t-fg-rgb), 0.05);
}

.account-stripe-status__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.account-stripe-status__head h2 {
  margin: 0;
  font-size: 1.2rem;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 700;
  color: var(--t-text);
  letter-spacing: 0.1px;
}

.account-stripe-status__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.45px;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.25);
  background: rgba(var(--t-fg-rgb), 0.08);
  color: rgba(var(--t-fg-rgb), 0.88);
}
.account-stripe-status__pill.is-complete {
  color: var(--t-primary);
  border-color: rgba(var(--t-primary-rgb), 0.45);
  background: rgba(var(--t-primary-rgb), 0.2);
}
.account-stripe-status__pill.is-incomplete {
  color: #ffe6a3;
  border-color: rgba(255, 193, 7, 0.35);
  background: rgba(255, 193, 7, 0.15);
}

.account-stripe-status__copy {
  margin: 0;
  color: rgba(var(--t-fg-rgb), 0.84);
}

.account-stripe-status__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.account-stripe-status__check {
  display: inline-flex;
  align-items: center;
  padding: 0.14rem 0.5rem;
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.2px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.22);
  color: rgba(var(--t-fg-rgb), 0.8);
  background: rgba(var(--t-fg-rgb), 0.06);
}
.account-stripe-status__check.is-on {
  border-color: rgba(var(--t-primary-rgb), 0.45);
  color: var(--t-primary);
  background: rgba(var(--t-primary-rgb), 0.18);
}
.account-stripe-status__check.is-off {
  border-color: rgba(var(--t-secondary-rgb), 0.35);
  color: #ffb9f0;
  background: rgba(var(--t-secondary-rgb), 0.14);
}

.account-stripe-status__capabilities {
  margin-top: 0.35rem;
}

.account-stripe-status__capabilities-label {
  font-size: 0.78rem;
  color: rgba(var(--t-fg-rgb), 0.55);
  margin-bottom: 0.3rem;
}

.account-stripe-status__meta,
.account-payment__meta {
  margin: 0;
  color: rgba(var(--t-fg-rgb), 0.72);
  font-size: 0.88rem;
}

.account-stripe-status__meta code {
  font-size: 0.8rem;
  padding: 0.08rem 0.35rem;
  border-radius: 6px;
  background: rgba(var(--t-fg-rgb), 0.08);
  border: 1px solid rgba(var(--t-fg-rgb), 0.18);
}

.account-stripe-status__error {
  margin: 0;
  color: #ffb9f0;
  font-size: 0.88rem;
}

.account-stripe-status__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.68rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(var(--t-fg-rgb), 0.07);
}

.account-stripe-status__actions .btn {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.58rem 1rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.22px;
  text-decoration: none;
  line-height: 1.1;
}
.account-stripe-status__actions .btn:hover, .account-stripe-status__actions .btn:focus-visible, .account-stripe-status__actions .btn:active {
  text-decoration: none;
}

.account-stripe-status__actions .btn:focus-visible {
  box-shadow: 0 0 0 0.2rem rgba(var(--t-primary-rgb), 0.23), 0 0 0 1px rgba(var(--t-fg-rgb), 0.08) inset;
}

@media (max-width: 760px) {
  .account-dashboard__card,
  .account-payment__card {
    padding: 0.75rem;
    gap: 0.85rem;
  }
  .account-stripe-status__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .account-dashboard-events {
    padding: 0.82rem;
  }
  .surface-hero {
    padding: 0.75rem 0.85rem;
  }
  .surface-panel {
    padding: 0.75rem;
  }
  .account-dashboard-events__field--search,
  .account-dashboard-events__field--status {
    flex-basis: 100%;
    min-width: 0;
  }
  .account-dashboard-events__actions {
    width: 100%;
  }
  .account-dashboard-events__action-btn {
    flex: 1 1 100%;
  }
  .account-dashboard-events__pagination {
    width: 100%;
  }
  .account-dashboard-events__page-btn {
    flex: 1 1 auto;
  }
  .account-profile .account-profile-hero,
  .account-profile .account-profile-hero-main,
  .account-profile .account-profile-panel-header,
  .account-profile .account-profile-access-empty {
    flex-direction: column;
    align-items: flex-start;
  }
  .account-profile .account-profile-actions {
    width: 100%;
  }
  .account-profile .account-profile-actions .btn {
    width: 100%;
  }
  .account-profile .account-profile-grid,
  .account-profile .account-profile-details,
  .account-profile .account-profile-access-grid {
    grid-template-columns: 1fr;
  }
  .account-profile .account-profile-avatar {
    width: 64px;
    height: 64px;
    font-size: 1.35rem;
  }
  .account-settings .account-settings__setup-grid {
    grid-template-columns: 1fr;
  }
  .account-settings .account-settings__status-row,
  .account-settings .account-settings__inline-form {
    flex-direction: column;
    align-items: stretch;
  }
  .account-settings .account-settings__inline-form .btn,
  .account-settings .account-settings__status-row .btn {
    width: 100%;
  }
  .account-settings .account-settings__field {
    min-width: 0;
  }
  .surface-hero,
  .surface-panel__header,
  .ticket-pass__hero,
  .auth-result-card__actions,
  .private-access-card__actions,
  .checkout-assignment-card__header {
    flex-direction: column;
    align-items: flex-start;
  }
  .surface-metric-grid,
  .surface-detail-grid,
  .checkout-layout,
  .checkout-payment-page .checkout-payment-page__layout,
  .checkout-success-page .checkout-success-page__layout,
  .checkout-success-ticket__body,
  .ticket-pass__content {
    grid-template-columns: 1fr;
  }
  .checkout-sidebar,
  .checkout-payment-page .checkout-payment-page__summary,
  .checkout-success-page .checkout-success-page__sidebar {
    position: static;
  }
  .checkout-success-page .checkout-success-page__hero-actions,
  .ticket-pass__actions,
  .surface-actions {
    width: 100%;
  }
  .surface-actions {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }
  .surface-actions > .btn,
  .surface-actions > form,
  .surface-actions > form > .btn {
    width: 100%;
  }
  td[data-label] .surface-actions,
  td.table-col-actions .surface-actions {
    flex-direction: column;
  }
  .checkout-success-page .checkout-success-page__hero-actions .btn,
  .checkout-success-page .checkout-success-page__cta-group .btn,
  .ticket-pass__actions .btn,
  .auth-result-card__actions .btn,
  .private-access-card__actions .btn {
    width: 100%;
  }
  .wallet-page__overview,
  .account-credits-qr__layout {
    grid-template-columns: 1fr;
  }
  .pos-deduct__field {
    flex-direction: column;
  }
  .pos-deduct__result-details {
    flex-direction: column;
    gap: 0.5rem;
  }
}
.account-tickets {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.account-tickets__claim,
.account-tickets__tables {
  border: 1px solid rgba(var(--t-fg-rgb), 0.09);
  border-radius: 8px;
  background: rgba(var(--t-bg-rgb), 0.44);
  padding: 0.95rem;
  box-shadow: inset 0 1px 0 rgba(var(--t-fg-rgb), 0.05);
}

.account-tickets__section-title {
  margin-top: 0;
  margin-bottom: 0.65rem;
  color: rgba(var(--t-fg-rgb), 0.9);
}

.account-tickets__section-title--spaced {
  margin-top: 1.4rem;
}

.account-tickets__table thead th {
  border-bottom-color: rgba(var(--t-fg-rgb), 0.16);
}

.account-tickets__table tbody td {
  border-top-color: rgba(var(--t-fg-rgb), 0.08);
}

.account-tickets__table code {
  font-size: 0.86rem;
}

.account-payment__notice {
  border-radius: 8px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.2);
  padding: 0.65rem 0.78rem;
  font-size: 0.9rem;
}

.account-payment__notice.is-success {
  border-color: rgba(var(--t-primary-rgb), 0.45);
  background: rgba(var(--t-primary-rgb), 0.15);
  color: var(--t-primary);
}

.account-payment__notice.is-warning {
  border-color: rgba(255, 193, 7, 0.35);
  background: rgba(255, 193, 7, 0.14);
  color: #ffe6a3;
}

.account-payment__notice.is-error {
  border-color: rgba(var(--t-secondary-rgb), 0.4);
  background: rgba(var(--t-secondary-rgb), 0.14);
  color: #ffc8f5;
}

.site-announcement {
  background: linear-gradient(90deg, rgba(var(--t-primary-rgb), 0.2) 0%, rgba(var(--t-primary-rgb), 0.16) 100%);
  border-bottom: 1px solid rgba(var(--t-fg-rgb), 0.08);
}

.site-announcement__inner {
  padding: 0.7rem 0;
  font-size: 0.92rem;
  color: rgba(var(--t-fg-rgb), 0.96);
}

.site-announcement__inner a {
  color: var(--t-text);
  font-weight: 700;
}

.nav-item-group {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-item-group__menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  min-width: 15rem;
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.55rem;
  border: 1px solid rgba(var(--t-fg-rgb), 0.08);
  border-radius: 8px;
  background: rgba(var(--t-surface-rgb), 0.98);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
  z-index: 20;
}

.nav-item-group:hover .nav-item-group__menu,
.nav-item-group:focus-within .nav-item-group__menu {
  display: flex;
}

.nav-item-group__link {
  display: block;
  padding: 0.55rem 0.65rem;
  border-radius: 0.7rem;
  color: rgba(var(--t-fg-rgb), 0.86);
  text-decoration: none;
}

.nav-item-group__link:hover,
.nav-item-group__link:focus-visible {
  background: rgba(var(--t-fg-rgb), 0.06);
  color: var(--t-text);
}

.site-footer__sublist {
  margin: 0.45rem 0 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.35rem;
}

.cms-public-page__shell {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cms-public-page__content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cms-block {
  padding: 0;
}

.cms-page-hero {
  padding: 4rem 0 2rem;
  background: linear-gradient(180deg, rgba(var(--t-surface-rgb), 0.98) 0%, rgba(var(--t-bg-rgb), 0.9) 100%);
  border-bottom: 1px solid rgba(var(--t-fg-rgb), 0.06);
}

.cms-page-hero__inner {
  display: flex;
  justify-content: center;
}

.cms-page-hero__copy {
  max-width: 52rem;
  text-align: center;
}

.cms-page-hero__eyebrow,
.cms-rich-text__eyebrow,
.cms-cta-group__eyebrow,
.cms-feature-grid__eyebrow,
.cms-media-split__eyebrow,
.cms-faq__eyebrow,
.cms-embed__eyebrow {
  margin: 0 0 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--t-primary, rgba(var(--t-primary-rgb), 0.9));
}

.cms-page-hero__title,
.cms-rich-text__title,
.cms-cta-group__title,
.cms-feature-grid__title,
.cms-media-split__title,
.cms-faq__title,
.cms-event-list__title,
.cms-embed__title {
  margin: 0;
  color: var(--t-text, #ffffff);
  line-height: 1.08;
}

.cms-page-hero__summary,
.cms-banner__summary,
.cms-event-list__summary {
  margin: 1rem 0 0;
  font-size: 1.02rem;
  color: rgba(var(--t-fg-rgb), 0.78);
}

.cms-rich-text,
.cms-feature-grid,
.cms-media-split,
.cms-faq,
.cms-quote,
.cms-embed,
.cms-snippet,
.cms-event-list {
  padding: 2.4rem 0;
}

.cms-rich-text__inner,
.cms-feature-grid .container,
.cms-faq .container,
.cms-embed .container,
.cms-event-list .container {
  max-width: 60rem;
}

.cms-rich-text__body,
.cms-cta-group__body,
.cms-feature-grid__body,
.cms-media-split__body,
.cms-faq__body,
.cms-embed__caption,
.cms-snippet__content {
  color: rgba(var(--t-fg-rgb), 0.8);
  line-height: 1.7;
}

.cms-search {
  padding: 2rem 0 3.5rem;
}
.cms-search .container {
  max-width: 80rem;
}
.cms-search__header {
  margin-bottom: 1.4rem;
}
.cms-search__title {
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
  font-weight: 800;
  color: var(--t-text);
  margin: 0 0 0.35rem;
}
.cms-search__subtitle {
  color: rgba(var(--t-fg-rgb), 0.72);
  margin: 0;
}
.cms-search__bar {
  display: flex;
  gap: 0.85rem;
  align-items: stretch;
  margin-bottom: 1.1rem;
}
.cms-search__field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 56px;
  padding: 0 1rem;
  border-radius: 14px;
  background: rgba(var(--t-fg-rgb), 0.05);
  border: 1px solid rgba(var(--t-fg-rgb), 0.1);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.cms-search__field:focus-within {
  border-color: rgba(var(--t-primary-rgb), 0.6);
  box-shadow: 0 0 0 3px rgba(var(--t-primary-rgb), 0.14);
}
.cms-search__field--search {
  flex: 1 1 auto;
}
.cms-search__field--location {
  flex: 0 1 22rem;
}
.cms-search__field-icon {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: rgba(var(--t-fg-rgb), 0.55);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cms-search__input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--t-text);
  font: inherit;
  font-size: 1rem;
  padding: 0;
  outline: none;
}
.cms-search__input::placeholder {
  color: rgba(var(--t-fg-rgb), 0.5);
}
.cms-search__input::-webkit-search-cancel-button {
  display: none;
}
.cms-search__clear {
  flex: none;
  display: inline-flex;
  padding: 0.25rem;
  border: none;
  background: transparent;
  color: rgba(var(--t-fg-rgb), 0.55);
  cursor: pointer;
  border-radius: 50%;
}
.cms-search__clear svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.cms-search__clear:hover {
  color: var(--t-text);
}
.cms-search__go {
  flex: none;
  min-height: 56px;
  padding: 0 1.9rem;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
}
.cms-search__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
}
.cms-search__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.cms-search__chip {
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  will-change: color, background-color, border-color, filter, box-shadow, transform;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.14);
  background: rgba(var(--t-fg-rgb), 0.03);
  color: rgba(var(--t-fg-rgb), 0.75);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.cms-search__chip:hover {
  border-color: rgba(var(--t-fg-rgb), 0.3);
  color: var(--t-text);
}
.cms-search__chip.is-active {
  border-color: var(--t-primary);
  color: var(--t-primary);
  background: rgba(var(--t-primary-rgb), 0.12);
}
.cms-search__chip-icon {
  font-size: 0.92em;
  line-height: 1;
}
.cms-search__toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.cms-search__sort {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(var(--t-fg-rgb), 0.7);
  white-space: nowrap;
}
.cms-search__sort .rtx-select {
  min-width: 12rem;
}
.cms-search__view {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  border-radius: 12px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.14);
  background: rgba(var(--t-fg-rgb), 0.03);
}
.cms-search__view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 34px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: rgba(var(--t-fg-rgb), 0.55);
  cursor: pointer;
}
.cms-search__view-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cms-search__view-btn:hover {
  color: var(--t-text);
}
.cms-search__view-btn.is-active {
  background: rgba(var(--t-primary-rgb), 0.14);
  color: var(--t-primary);
  box-shadow: inset 0 0 0 1px rgba(var(--t-primary-rgb), 0.5);
}
.cms-search__count {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: rgba(var(--t-fg-rgb), 0.6);
}
.cms-search__count strong {
  color: var(--t-text);
  font-weight: 800;
}
.cms-search__count:empty {
  display: none;
}
.cms-search__results.is-loading {
  opacity: 0.5;
  transition: opacity 0.15s ease;
}
.cms-search__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.cms-search__item {
  margin: 0;
}
.cms-search__card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(var(--t-fg-rgb), 0.035);
  border: 1px solid rgba(var(--t-fg-rgb), 0.09);
  color: var(--t-text);
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.cms-search__card:hover, .cms-search__card:focus-visible {
  border-color: rgba(var(--t-primary-rgb), 0.55);
  text-decoration: none;
}
.cms-search__media {
  position: relative;
  aspect-ratio: 16/10;
  background: rgba(var(--t-fg-rgb), 0.07);
  overflow: hidden;
}
.cms-search__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cms-search__media-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(var(--t-fg-rgb), 0.35);
}
.cms-search__locrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.cms-search__loc {
  font-size: 0.85rem;
  color: rgba(var(--t-fg-rgb), 0.55);
}
.cms-search__distance {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  flex: none;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(var(--t-fg-rgb), 0.65);
}
.cms-search__distance svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cms-search__body {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  padding: 0.9rem 1rem 1rem;
  flex: 1 1 auto;
}
.cms-search__card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--t-text);
}
.cms-search__sub {
  font-size: 0.9rem;
  color: rgba(var(--t-fg-rgb), 0.78);
}
.cms-search__sub--muted {
  color: rgba(var(--t-fg-rgb), 0.55);
  font-size: 0.85rem;
}
.cms-search__meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(var(--t-fg-rgb), 0.65);
}
.cms-search__meta-icon {
  display: inline-flex;
  color: rgba(var(--t-fg-rgb), 0.5);
}
.cms-search__meta-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}
.cms-search__pricerow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.15rem;
  min-height: 1.4rem;
}
.cms-search__price {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--t-text);
}
.cms-search__price--muted {
  font-weight: 600;
  color: rgba(var(--t-fg-rgb), 0.6);
}
.cms-search__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--t-primary);
}
.cms-search__pill svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.cms-search__pill--ext svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cms-search__tag {
  align-self: flex-start;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: rgba(var(--t-fg-rgb), 0.08);
  color: rgba(var(--t-fg-rgb), 0.75);
}
.cms-search__card-link {
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--t-primary);
}
.cms-search__results[data-view=list] .cms-search__grid {
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
.cms-search__results[data-view=list] .cms-search__card {
  flex-direction: row;
  align-items: stretch;
}
.cms-search__results[data-view=list] .cms-search__media {
  aspect-ratio: auto;
  width: 220px;
  flex: none;
}
.cms-search__results[data-view=list] .cms-search__body {
  justify-content: center;
}
.cms-search__empty {
  padding: 2.5rem 0;
  color: rgba(var(--t-fg-rgb), 0.7);
}
.cms-search__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.cms-search__pagination:empty {
  display: none;
}
.cms-search__page-btn {
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  will-change: color, background-color, border-color, filter, box-shadow, transform;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.18);
  background: rgba(var(--t-fg-rgb), 0.04);
  color: var(--t-text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.cms-search__page-btn:hover:not(:disabled) {
  border-color: var(--t-primary);
}
.cms-search__page-btn:disabled {
  opacity: 0.4;
  cursor: default;
}
.cms-search__page-info {
  font-size: 0.9rem;
  color: rgba(var(--t-fg-rgb), 0.7);
}
@media (max-width: 720px) {
  .cms-search__bar {
    flex-wrap: wrap;
  }
  .cms-search__field--search, .cms-search__field--location, .cms-search__go {
    flex: 1 1 100%;
  }
  .cms-search__toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .cms-search__toolbar-right {
    justify-content: space-between;
  }
  .cms-search__results[data-view=list] .cms-search__media {
    width: 120px;
  }
}

.cms-banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 22rem;
  padding: 4rem 0;
  overflow: hidden;
  background: radial-gradient(120% 140% at 0% 0%, rgba(var(--t-primary-rgb), 0.1), transparent 58%), linear-gradient(135deg, rgba(var(--t-surface-rgb), 0.92), rgba(var(--t-bg-rgb), 0.94));
}

.cms-banner .container {
  width: 100%;
}

.cms-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.44);
}

.cms-banner .container {
  position: relative;
  z-index: 1;
}

.cms-banner__content,
.cms-cta-group__panel,
.cms-quote__card {
  border: 1px solid var(--t-border, rgba(var(--t-fg-rgb), 0.08));
  border-radius: 10px;
  background: var(--t-surface, rgba(var(--t-surface-rgb), 0.92));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.cms-banner__content {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 2.4rem;
  text-align: center;
}

.cms-banner__content .cms-banner__cta {
  display: inline-flex;
}

.cms-banner__title {
  margin: 0 0 0.9rem;
  color: var(--t-text, #ffffff);
  font-size: clamp(2rem, 3vw, 3rem);
}

.cms-banner__cta {
  margin-top: 1.15rem;
}

.cms-image {
  margin: 0;
  padding: 2rem 0;
}

.cms-image--left .cms-image__media {
  margin-left: 0;
}

.cms-image--center .cms-image__media {
  margin-left: auto;
  margin-right: auto;
}

.cms-image--right .cms-image__media {
  margin-left: auto;
}

.cms-image__media {
  display: block;
  max-width: min(100%, 62rem);
  border-radius: 10px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.cms-image__caption {
  margin-top: 0.8rem;
  text-align: center;
  color: var(--t-text-muted, rgba(var(--t-fg-rgb), 0.68));
}

.cms-cta-group__panel,
.cms-quote__card {
  padding: 2rem;
}

.cms-cta-group {
  padding: 2.6rem 0;
}

.cms-cta-group__panel {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.cms-cta-group__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 1.2rem;
}

.cms-feature-grid__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.cms-feature-grid__card {
  padding: 1.2rem;
  border: 1px solid var(--t-border, rgba(var(--t-fg-rgb), 0.07));
  border-radius: 8px;
  background: var(--t-surface, rgba(var(--t-surface-rgb), 0.92));
}

.cms-feature-grid__card h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  color: var(--t-text, #ffffff);
}

.cms-feature-grid__card p {
  margin: 0 0 0.8rem;
  color: var(--t-text-muted, rgba(var(--t-fg-rgb), 0.76));
}

.cms-feature-grid__card a {
  color: var(--t-primary, #5fff00);
  font-weight: 700;
}

.cms-media-split__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  align-items: center;
}

.cms-media-split__grid--reverse .cms-media-split__copy {
  order: 2;
}

.cms-media-split__grid--reverse .cms-media-split__media {
  order: 1;
}

.cms-media-split__media img {
  display: block;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.cms-faq__items {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.cms-faq__item {
  border: 1px solid var(--t-border, rgba(var(--t-fg-rgb), 0.1));
  border-radius: 10px;
  background: var(--t-surface, rgba(var(--t-surface-rgb), 0.92));
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.cms-faq__item:hover {
  border-color: rgba(var(--t-primary-rgb), 0.45);
  box-shadow: 0 0 18px rgba(var(--t-primary-rgb), 0.12);
}

.cms-faq__item[open] {
  border-color: var(--t-primary, rgba(var(--t-primary-rgb), 0.8));
  box-shadow: inset 3px 0 0 var(--t-primary, #5fff00), 0 14px 30px rgba(0, 0, 0, 0.3), 0 0 18px rgba(var(--t-primary-rgb), 0.12);
}

.cms-faq__item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.05rem 1.2rem;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--t-text, #ffffff);
}

.cms-faq__item summary::-webkit-details-marker {
  display: none;
}

.cms-faq__item summary::before {
  content: "";
  flex: 0 0 auto;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  border: 1.5px solid rgba(var(--t-primary-rgb), 0.5);
  color: var(--t-primary, #5fff00);
  background: linear-gradient(currentColor, currentColor) center/0.68rem 1.6px no-repeat, linear-gradient(currentColor, currentColor) center/1.6px 0.68rem no-repeat;
  transition: border-color 0.18s ease;
}

.cms-faq__item[open] summary::before {
  background: linear-gradient(currentColor, currentColor) center/0.68rem 1.6px no-repeat;
  border-color: var(--t-primary, #5fff00);
}

.cms-faq__item summary::after {
  content: "";
  flex: 0 0 auto;
  margin-left: auto;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  color: var(--t-text-muted, rgba(var(--t-fg-rgb), 0.6));
  transition: transform 0.2s ease, color 0.2s ease;
}

.cms-faq__item summary:hover::after {
  color: var(--t-primary, #5fff00);
}

.cms-faq__item[open] summary::after {
  transform: rotate(-135deg);
  color: var(--t-primary, #5fff00);
}

.cms-faq__answer {
  padding: 0 1.2rem 1.15rem 3.6rem;
  color: var(--t-text-muted, rgba(var(--t-fg-rgb), 0.82));
  line-height: 1.7;
}

.cms-faq__item[open] .cms-faq__answer {
  margin: 0 1.2rem;
  padding-left: 0;
  padding-right: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(var(--t-fg-rgb), 0.1);
}

.cms-quote__card {
  max-width: 48rem;
  margin: 0 auto;
}

.cms-quote__card blockquote {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.65;
  color: var(--t-text, #ffffff);
}

.cms-quote__meta {
  margin-top: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--t-text-muted, rgba(var(--t-fg-rgb), 0.72));
}

.cms-quote__avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  object-fit: cover;
}

.cms-embed__frame {
  position: relative;
  padding-top: 56.25%;
  margin-top: 1rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.cms-embed__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.cms-snippet__content > :first-child {
  margin-top: 0;
}

.cms-snippet__content > :last-child {
  margin-bottom: 0;
}

.cms-event-list__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.cms-event-list__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.cms-event-list__card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  padding: 1.15rem;
  border: 1px solid var(--t-border, rgba(var(--t-fg-rgb), 0.08));
  border-radius: 8px;
  background: var(--t-surface, rgba(var(--t-surface-rgb), 0.92));
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.cms-event-list__card-media {
  display: block;
  margin: -1.15rem -1.15rem 0;
  aspect-ratio: 16/9;
  background: rgba(var(--t-fg-rgb), 0.05);
}

.cms-event-list__card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-flyer-current {
  margin-bottom: 0.75rem;
}

.event-flyer-current__img {
  display: block;
  max-width: 260px;
  max-height: 200px;
  width: auto;
  height: auto;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--t-border, rgba(var(--t-fg-rgb), 0.12));
}

.help-form__intro {
  margin: 0 0 1.1rem;
  color: rgba(var(--t-fg-rgb), 0.78);
  line-height: 1.55;
}

.help-form__group {
  margin-bottom: 1rem;
}

.help-form__label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--t-text, #ffffff);
}

.help-form__input {
  display: block;
  width: 100%;
  padding: 0.62rem 0.8rem;
  font: inherit;
  color: var(--t-text, #ffffff);
  background: rgba(var(--t-fg-rgb), 0.04);
  border: 1px solid var(--t-border, rgba(var(--t-fg-rgb), 0.16));
  border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.help-form__input::placeholder {
  color: rgba(var(--t-fg-rgb), 0.42);
}
.help-form__input:focus, .help-form__input:focus-visible {
  outline: none;
  border-color: var(--t-primary, rgba(var(--t-primary-rgb), 0.9));
  box-shadow: 0 0 0 3px var(--t-focus-ring, rgba(var(--t-primary-rgb), 0.25));
  background: rgba(var(--t-fg-rgb), 0.06);
}
.help-form__input[readonly] {
  color: rgba(var(--t-fg-rgb), 0.7);
  background: rgba(var(--t-fg-rgb), 0.03);
  cursor: default;
}

.help-form__textarea {
  min-height: 7.5rem;
  resize: vertical;
  line-height: 1.5;
}

.help-form__note {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: rgba(var(--t-fg-rgb), 0.55);
}

.help-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.help-form__error {
  margin: 0.25rem 0 0;
  color: var(--t-secondary, #ff6b6b);
  font-size: 0.9rem;
}

.cms-event-list__card:hover,
.cms-event-list__card:focus-visible {
  border-color: var(--t-primary, rgba(var(--t-primary-rgb), 0.45));
  background: var(--t-surface, rgba(var(--t-surface-rgb), 0.98));
  text-decoration: none;
}
.cms-event-list__card:hover .cms-event-list__link,
.cms-event-list__card:focus-visible .cms-event-list__link {
  text-decoration: underline;
}

.cms-event-list__card-title {
  color: var(--t-text, #ffffff);
}

.cms-event-list__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  color: var(--t-text-muted, rgba(var(--t-fg-rgb), 0.72));
  font-size: 0.92rem;
}

.cms-event-list__link {
  margin-top: auto;
  color: var(--t-primary, #5fff00);
  font-weight: 700;
}

.cms-editor-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(20rem, 0.9fr);
  gap: 1.2rem;
  align-items: start;
}

.cms-email-preview {
  border: 1px solid rgba(var(--t-fg-rgb), 0.08);
  border-radius: 10px;
  background: rgba(var(--t-bg-rgb), 0.78);
  padding: 1rem;
  overflow: auto;
}

.ui-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.ui-tabs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.35rem;
  border: 1px solid rgba(var(--t-fg-rgb), 0.1);
  border-radius: 999px;
  background: rgba(var(--t-fg-rgb), 0.03);
}

.ui-tab-button {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: rgba(var(--t-fg-rgb), 0.72);
  padding: 0.58rem 0.95rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  will-change: color, background-color, border-color, filter, box-shadow, transform;
}
.ui-tab-button:hover, .ui-tab-button:focus-visible {
  color: rgba(var(--t-fg-rgb), 0.95);
  border-color: rgba(var(--t-fg-rgb), 0.16);
  background: rgba(var(--t-fg-rgb), 0.05);
  outline: none;
}
.ui-tab-button.is-active, .ui-tab-button[aria-selected=true] {
  color: var(--t-text);
  border-color: rgba(var(--t-primary-rgb), 0.42);
  background: linear-gradient(180deg, rgba(var(--t-primary-rgb), 0.2) 0%, rgba(var(--t-primary-rgb), 0.12) 100%);
  box-shadow: inset 0 1px 0 rgba(var(--t-fg-rgb), 0.08), 0 0 0 1px rgba(var(--t-primary-rgb), 0.08);
}

.ui-tab-panel {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.ui-tab-panel[hidden] {
  display: none !important;
}

.event-editor-shell {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ui-tabs-viewport {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.ui-tabs-viewport .ui-tabs-list {
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ui-tabs-viewport .ui-tabs-list::-webkit-scrollbar {
  display: none;
}

.ui-tabs-viewport .ui-tab-button {
  white-space: nowrap;
  flex: 0 0 auto;
}

.ui-tabs-arrow {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.14);
  background: rgba(var(--t-fg-rgb), 0.04);
  color: var(--t-text);
  cursor: pointer;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  will-change: color, background-color, border-color, filter, box-shadow, transform;
}

.ui-tabs-arrow[hidden] {
  display: none;
}

.ui-tabs-arrow svg {
  width: 1.05rem;
  height: 1.05rem;
}

.ui-tabs-arrow:hover,
.ui-tabs-arrow:focus-visible {
  background: rgba(var(--t-primary-rgb), 0.14);
  border-color: rgba(var(--t-primary-rgb), 0.42);
  color: var(--t-text);
  outline: none;
}

.event-editor-form {
  display: block;
}

.event-editor-save-notice {
  display: none;
}

.event-editor-save-notice.is-visible {
  display: block;
}

.event-editor-actions {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0.9rem 0 0.6rem;
  margin-top: 0.2rem;
  background: linear-gradient(180deg, rgba(var(--t-bg-rgb), 0) 0%, var(--t-bg) 42%);
}

.event-editor-actions .btn {
  margin-top: 0;
}

@media (max-width: 720px) {
  .event-editor-actions {
    flex-direction: column-reverse;
  }
  .event-editor-actions .btn {
    width: 100%;
  }
}
.settings-tab-content {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

@media (max-width: 980px) {
  .cms-editor-workspace,
  .cms-feature-grid__items,
  .cms-event-list__items,
  .cms-media-split__grid {
    grid-template-columns: 1fr;
  }
  .cms-event-list__header {
    flex-direction: column;
    align-items: start;
  }
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0.55rem 0.82rem;
  border: 1px solid rgba(var(--t-fg-rgb), 0.14);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(14, 17, 24, 0.96) 0%, rgba(10, 13, 18, 0.96) 100%);
  color: rgba(var(--t-fg-rgb), 0.94);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(var(--t-fg-rgb), 0.08), 0 10px 22px rgba(0, 0, 0, 0.32);
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  will-change: color, background-color, border-color, filter, box-shadow, transform;
}
.nav-toggle:hover, .nav-toggle:focus-visible {
  color: var(--t-text);
  border-color: rgba(var(--t-fg-rgb), 0.22);
  background: linear-gradient(180deg, rgba(18, 22, 31, 0.98) 0%, rgba(12, 16, 22, 0.98) 100%);
  outline: none;
}

.nav-toggle__label {
  line-height: 1;
}

.nav-toggle__icon {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle__icon span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-open .nav-toggle__icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle__icon span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open .nav-toggle__icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 860px) {
  .site-header .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }
  .site-header .header-wrapper .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    width: min(85vw, 350px);
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: calc(var(--site-header-height) + 1rem) 1.15rem 2rem;
    background: linear-gradient(180deg, var(--t-header-from, #0b0b0b) 0%, var(--t-header-to, #151515) 100%);
    border-left: 1px solid var(--t-border, rgba(var(--t-fg-rgb), 0.1));
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.55);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.28s ease, visibility 0.28s ease;
  }
  .site-header .header-wrapper .nav-menu.is-open {
    transform: translateX(0);
    visibility: visible;
  }
  body.has-site-nav-open {
    overflow: hidden;
  }
  body.has-site-nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1150;
    background: rgba(0, 0, 0, 0.55);
  }
  .site-header .header-wrapper .nav-menu .nav-primary {
    position: static;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .site-header .header-wrapper .nav-menu .nav-link {
    display: block;
    width: 100%;
    padding: 0.9rem 0.3rem;
    border-bottom: 1px solid rgba(var(--t-fg-rgb), 0.08);
    font-weight: 600;
    font-size: 1.05rem;
  }
  .site-header .header-wrapper .nav-menu .nav-link::after {
    display: none;
  }
  .site-header .header-wrapper .nav-menu .nav-item-group {
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(var(--t-fg-rgb), 0.08);
  }
  .site-header .header-wrapper .nav-menu .nav-item-group .nav-link {
    border-bottom: none;
  }
  .site-header .header-wrapper .nav-menu .nav-item-group__menu {
    position: static;
    display: flex;
    flex-direction: column;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    min-width: 0;
    margin: 0;
    padding: 0 0 0.6rem 0.9rem;
    border: none;
    background: transparent;
    box-shadow: none;
  }
  .site-header .header-wrapper .nav-menu .nav-item-group__link {
    padding: 0.6rem 0.3rem;
    font-size: 0.98rem;
  }
  .site-header .header-wrapper .nav-menu .nav-item {
    display: block;
    width: 100%;
    margin-top: 0.75rem;
    text-align: center;
  }
  .site-header .header-wrapper .nav-menu .nav-account {
    width: 100%;
    margin-top: 1rem;
  }
  .site-header .header-wrapper .nav-menu .nav-account__trigger {
    width: 100%;
    justify-content: flex-start;
  }
  .site-header .header-wrapper .nav-menu .nav-account__menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    width: 100%;
    min-width: 0;
    margin-top: 0.4rem;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
  }
}
.sidebar-rail-tab {
  display: none;
}

.account-nav__mobile-toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.82rem 0.9rem;
  border: 1px solid rgba(var(--t-fg-rgb), 0.1);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(var(--t-surface-rgb), 0.98) 0%, rgba(var(--t-bg-rgb), 0.92) 100%);
  color: rgba(var(--t-fg-rgb), 0.95);
  font: inherit;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(var(--t-fg-rgb), 0.05), 0 10px 24px rgba(0, 0, 0, 0.28);
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  will-change: color, background-color, border-color, filter, box-shadow, transform;
}
.account-nav__mobile-toggle:hover, .account-nav__mobile-toggle:focus-visible {
  border-color: rgba(var(--t-fg-rgb), 0.16);
  color: var(--t-text);
  outline: none;
}

.account-nav__mobile-toggle-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  text-align: left;
}

.account-nav__mobile-toggle-label {
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.2;
}

.account-nav__mobile-toggle-hint {
  font-size: 0.77rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(var(--t-fg-rgb), 0.62);
}

.account-nav__mobile-toggle-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: rgba(var(--t-fg-rgb), 0.84);
  transition: transform 0.25s ease;
}

.account-nav__mobile-toggle[aria-expanded=true] .account-nav__mobile-toggle-icon {
  transform: rotate(180deg);
}

.auth-form-page .container {
  max-width: 760px;
}

.auth-form-card {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-form-card__header {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.auth-form-card__eyebrow {
  margin: 0;
  color: rgba(var(--t-primary-rgb), 0.82);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-form-card__title {
  margin: 0;
  color: #121826;
  font-size: clamp(1.7rem, 1.55rem + 0.5vw, 2.15rem);
  line-height: 1.08;
}

.auth-form-card__copy {
  margin: 0;
  color: #475569;
  line-height: 1.6;
}

.auth-form-card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.auth-form-card__actions a {
  color: #0f766e;
  font-weight: 600;
  text-decoration: none;
}

.auth-form-card__actions a:hover,
.auth-form-card__actions a:focus-visible {
  color: #115e59;
  text-decoration: underline;
}

.surface-list__item-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.surface-list__item-copy {
  display: flex;
  flex-direction: column;
  gap: 0.24rem;
  min-width: 0;
}

.surface-list__item-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.surface-toggle-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.35rem;
}

.table.table--responsive tbody td[data-label]::before {
  content: none;
}

.account-credits-qr__token code,
.wallet-page__topup form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.wallet-page__topup .mb-3 {
  margin-bottom: 0 !important;
}

@media (max-width: 960px) {
  .account-nav {
    flex-direction: column;
    align-items: stretch;
    border: none;
    border-radius: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .account-nav__list {
    flex: 0 0 auto;
    flex-grow: 0;
    min-height: 0;
    padding: 6px 0;
  }
  .account-nav__utilities {
    margin-top: auto;
    flex-shrink: 0;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(var(--t-fg-rgb), 0.07);
  }
  .account-nav__link {
    justify-content: center;
    padding: 10px 0;
    gap: 0;
  }
  .account-nav__utility-link {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
    gap: 0;
  }
  .account-nav__label {
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    transition: max-width 0.22s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.16s ease;
  }
  .account-nav__badge {
    opacity: 0;
    position: absolute;
    top: 5px;
    right: 5px;
    min-width: 14px;
    height: 14px;
    font-size: 9px;
    padding: 0 4px;
    transition: opacity 0.16s ease;
  }
  .account-nav__section {
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    transition: max-height 0.22s ease, opacity 0.18s ease, padding 0.22s ease;
  }
  .account-nav__context {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-bottom: 0;
    padding: 0 0.68rem;
    border-width: 0;
    transition: max-height 0.26s ease, opacity 0.2s ease, margin 0.24s ease, padding 0.24s ease, border-width 0.22s ease;
  }
  .account-sidebar.is-expanded .account-nav__link {
    justify-content: flex-start;
    padding: 0.56rem 0.72rem;
    gap: 0.72rem;
  }
  .account-sidebar.is-expanded .account-nav__utility-link {
    justify-content: flex-start;
    padding-left: 0.72rem;
    padding-right: 0.72rem;
    gap: 0.72rem;
  }
  .account-sidebar.is-expanded .account-nav__label {
    max-width: 200px;
    opacity: 1;
    pointer-events: auto;
  }
  .account-sidebar.is-expanded .account-nav__badge {
    opacity: 1;
    position: static;
    min-width: 20px;
    height: 20px;
    font-size: 11px;
    padding: 0 6px;
  }
  .account-sidebar.is-expanded .account-nav__section {
    max-height: 40px;
    opacity: 1;
    padding-top: 0.82rem;
    padding-bottom: 0.36rem;
  }
  .account-sidebar.is-expanded .account-nav__context {
    max-height: 160px;
    overflow: visible;
    opacity: 1;
    margin-bottom: 0.76rem;
    padding: 0.64rem 0.68rem;
    border-width: 1px;
  }
  .sidebar-rail-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 14px;
    height: 52px;
    padding: 0;
    background: var(--t-surface);
    border: 1px solid rgba(var(--t-fg-rgb), 0.1);
    border-left: none;
    border-radius: 0 8px 8px 0;
    color: rgba(var(--t-fg-rgb), 0.4);
    cursor: pointer;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.28);
    transition: color 0.25s ease, background-color 0.25s ease;
  }
  .sidebar-rail-tab:hover {
    color: rgba(var(--t-fg-rgb), 0.8);
    background: rgba(var(--t-fg-rgb), 0.06);
  }
  .sidebar-rail-tab svg {
    width: 6px;
    height: 10px;
    flex-shrink: 0;
    transition: transform 0.26s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .account-sidebar.is-expanded .sidebar-rail-tab svg {
    transform: rotate(180deg);
  }
}
@media (max-width: 760px) {
  .table-shell {
    padding: 0.75rem;
  }
  .table.table--responsive thead {
    display: none;
  }
  .table.table--responsive tbody {
    display: grid;
    gap: 0.75rem;
  }
  .table.table--responsive tbody tr {
    display: block;
    border: 1px solid rgba(var(--t-fg-rgb), 0.1);
    border-radius: 14px;
    background: rgba(var(--t-bg-rgb), 0.44);
    box-shadow: inset 0 1px 0 rgba(var(--t-fg-rgb), 0.04);
    overflow: hidden;
  }
  .table.table--responsive tbody tr:nth-child(even) {
    background: rgba(var(--t-bg-rgb), 0.44);
  }
  .table.table--responsive tbody td {
    display: grid;
    grid-template-columns: minmax(0, 6.75rem) minmax(0, 1fr);
    gap: 0.7rem;
    padding: 0.68rem 0.78rem;
    border-top: 1px solid rgba(var(--t-fg-rgb), 0.08);
  }
  .table.table--responsive tbody td:first-child {
    border-top: 0;
  }
  .table.table--responsive tbody td[data-label]::before {
    content: attr(data-label);
    color: rgba(var(--t-fg-rgb), 0.56);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.35;
  }
  .table.table--responsive tbody td.table-col-money[data-label]::before,
  .table.table--responsive tbody td.table-col-numeric[data-label]::before,
  .table.table--responsive tbody td.table-col-actions[data-label]::before {
    text-align: start;
  }
  .table.table--responsive tbody td[data-label=Actions],
  .table.table--responsive tbody td.table-col-actions {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
  .table.table--responsive tbody td[data-label=Actions] .surface-actions,
  .table.table--responsive tbody td[data-label=Actions] .table-actions,
  .table.table--responsive tbody td.table-col-actions .surface-actions,
  .table.table--responsive tbody td.table-col-actions .table-actions {
    display: grid;
    gap: 0.55rem;
  }
  .table.table--responsive tbody td[data-label=Actions] .surface-actions,
  .table.table--responsive tbody td[data-label=Actions] .table-actions,
  .table.table--responsive tbody td[data-label=Actions] form,
  .table.table--responsive tbody td[data-label=Actions] .btn,
  .table.table--responsive tbody td.table-col-actions .surface-actions,
  .table.table--responsive tbody td.table-col-actions .table-actions,
  .table.table--responsive tbody td.table-col-actions form,
  .table.table--responsive tbody td.table-col-actions .btn {
    width: 100%;
  }
  .table.table--responsive tbody td[data-label=Actions] form,
  .table.table--responsive tbody td.table-col-actions form {
    margin: 0;
  }
  .modal-actions {
    width: 100%;
    justify-content: stretch;
  }
  .modal-actions .btn {
    flex: 1 1 100%;
  }
  .auth-form-card {
    padding: 1.1rem;
  }
  .auth-form-card__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .auth-form-card__actions a {
    width: 100%;
  }
  .checkout-payment-panel .btn,
  .account-credits-qr__layout .btn {
    width: 100%;
  }
  .account-credits-qr__frame {
    padding: 0.8rem;
  }
  .surface-list__item-content {
    flex-direction: column;
    align-items: stretch;
  }
  .surface-list__item-actions {
    width: 100%;
  }
  .surface-list__item-actions .btn,
  .surface-list__item-actions form {
    width: 100%;
  }
  .surface-toggle-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}
.tf-table {
  --tf-cols: 32px 42px minmax(5rem, 1.35fr) minmax(3.25rem, 0.55fr) minmax(4.5rem, 0.65fr) minmax(5.5rem, 0.95fr) minmax(2.75rem, 0.4fr) minmax(4.75rem, 0.5fr) 76px;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

.tf-table__head {
  display: grid;
  align-items: center;
  column-gap: 0.65rem;
  grid-template-columns: var(--tf-cols);
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(var(--t-fg-rgb), 0.1);
  width: 100%;
  min-width: 0;
}
.tf-table__head .tf-table__cell {
  color: rgba(var(--t-fg-rgb), 0.5);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  min-width: 0;
}

.tf-table__body {
  display: flex;
  flex-direction: column;
  padding-bottom: 2px;
  width: 100%;
  min-width: 0;
}

.tf-table__row {
  display: grid;
  align-items: center;
  column-gap: 0.65rem;
  grid-template-columns: var(--tf-cols);
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(var(--t-fg-rgb), 0.06);
  transition: background-color 0.15s ease;
  width: 100%;
  min-width: 0;
}
.tf-table__row:last-child {
  border-bottom: 0;
}
.tf-table__row:hover {
  background: rgba(var(--t-fg-rgb), 0.025);
}
.tf-table__row.is-dragging {
  opacity: 0.4;
}

.tf-table__placeholder {
  grid-column: 1/-1;
  border: 2px dashed rgba(var(--t-primary-rgb), 0.4);
  background: rgba(var(--t-primary-rgb), 0.04);
  border-radius: 8px;
  min-height: 42px;
  margin: 2px 0;
  padding: 0;
}

.tf-table__cell {
  padding: 0;
  font-size: 0.88rem;
  color: rgba(var(--t-fg-rgb), 0.88);
  min-width: 0;
}

.tf-table__cell--order {
  text-align: center;
  color: rgba(var(--t-fg-rgb), 0.4);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.tf-table__cell--drag {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.tf-table__cell--name {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: start;
}

.tf-table__cell--type {
  text-align: start;
}

.tf-table__cell--rate {
  text-align: end;
  font-variant-numeric: tabular-nums;
}

.tf-table__cell--flags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  text-align: start;
}

.tf-table__cell--assignments {
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.tf-table__cell--status {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.tf-table__cell--actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
}

.tf-drag-icon {
  width: 14px;
  height: 14px;
  color: rgba(var(--t-fg-rgb), 0.3);
  cursor: grab;
  transition: color 0.15s ease;
}
.tf-drag-icon:hover {
  color: rgba(var(--t-fg-rgb), 0.6);
}
.tf-drag-icon:active {
  cursor: grabbing;
}

.tf-flag {
  display: inline-block;
  padding: 0.1rem 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: 4px;
  background: rgba(var(--t-fg-rgb), 0.07);
  color: rgba(var(--t-fg-rgb), 0.6);
  white-space: nowrap;
}

.tf-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(var(--t-fg-rgb), 0.1);
  border-radius: 6px;
  background: transparent;
  color: rgba(var(--t-fg-rgb), 0.5);
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.tf-action-btn svg {
  width: 14px;
  height: 14px;
}
.tf-action-btn:hover, .tf-action-btn:focus-visible {
  color: rgba(var(--t-fg-rgb), 0.9);
  background: rgba(var(--t-fg-rgb), 0.06);
  border-color: rgba(var(--t-fg-rgb), 0.18);
}
.tf-action-btn:focus-visible {
  outline: 2px solid rgba(var(--t-primary-rgb), 0.5);
  outline-offset: 1px;
}

.tf-dialog-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.tf-dialog-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tf-dialog-field {
  flex: 1 1 160px;
  min-width: 0;
}
.tf-dialog-field.tf-dialog-field--wide {
  flex-basis: 100%;
}

.tf-dialog-checks {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.tf-dialog-error {
  margin: 0;
  min-height: 1.1rem;
  color: var(--t-secondary);
  font-size: 0.82rem;
  font-weight: 600;
}

@media (max-width: 680px) {
  .tf-table__head {
    display: none;
  }
  .tf-table__row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    padding: 0.65rem 0.4rem;
    column-gap: 0.5rem;
  }
  .tf-table__placeholder {
    flex: 1 1 100%;
    width: 100%;
    grid-column: auto;
  }
  .tf-table__cell--order {
    display: none;
  }
  .tf-table__cell--drag {
    flex: 0 0 28px;
  }
  .tf-table__cell--name {
    flex: 1 1 12rem;
    min-width: 0;
    max-width: none;
  }
  .tf-table__cell--type,
  .tf-table__cell--rate,
  .tf-table__cell--flags,
  .tf-table__cell--assignments {
    flex: 0 0 auto;
    font-size: 0.8rem;
  }
  .tf-table__cell--status {
    flex: 0 0 auto;
  }
  .tf-table__cell--actions {
    flex: 0 0 auto;
    margin-left: auto;
  }
}
/* â”€â”€ Staff management (event staff page) â”€â”€ */
.staff-invite-form {
  padding: 0;
}

.staff-invite-form__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem;
}

.staff-invite-form__field {
  flex: 1 1 220px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.staff-invite-form__field--select {
  flex: 1 1 16rem;
}

.staff-invite-form__field .rtx-select {
  width: 100%;
}

.staff-invite-form .form-control,
.staff-invite-form .rtx-select .form-select {
  min-height: 42px;
  line-height: 1.25;
}

.staff-invite-form__submit {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  gap: 0;
}

.staff-invite-form__submit-label {
  margin-bottom: 0.5rem;
  min-height: 0;
  line-height: 1.2;
  visibility: hidden;
}

.staff-invite-form__btn {
  margin-top: 0;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.staff-table th,
.staff-table td {
  vertical-align: middle;
}
.staff-table th:nth-child(1),
.staff-table td:nth-child(1) {
  min-width: 11rem;
  max-width: 22rem;
  word-break: break-word;
  white-space: normal;
}
.staff-table th:nth-child(2),
.staff-table td:nth-child(2) {
  min-width: 5.5rem;
}
.staff-table th:nth-child(3),
.staff-table td:nth-child(3) {
  min-width: 7rem;
}
.staff-table th:nth-child(4),
.staff-table td:nth-child(4) {
  min-width: 5.5rem;
}
.staff-table th:nth-child(5),
.staff-table td:nth-child(5) {
  min-width: 6.5rem;
  white-space: nowrap;
}
.staff-table th:nth-child(6),
.staff-table td:nth-child(6) {
  min-width: 6.5rem;
  white-space: nowrap;
}

.staff-accept-card {
  padding: 1.5rem;
  text-align: center;
}

.staff-accept-card__text {
  color: rgba(var(--t-fg-rgb), 0.72);
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.staff-accept-card__btn {
  margin-top: 0.75rem;
}

@media (max-width: 680px) {
  .staff-invite-form__row {
    flex-direction: column;
    align-items: stretch;
  }
  .staff-invite-form__submit {
    flex: 1 1 100%;
  }
  .staff-invite-form__submit-label {
    display: none;
  }
  .staff-invite-form__btn {
    width: 100%;
  }
}
.pin-pad-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s ease;
  padding: 16px;
}
.pin-pad-overlay.is-open {
  opacity: 1;
}
.pin-pad-overlay.is-closing {
  opacity: 0;
}

.pin-pad {
  background: var(--t-surface);
  border: 1px solid var(--t-border);
  border-radius: 14px;
  width: 100%;
  max-width: 340px;
  padding: 28px 24px 20px;
  text-align: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.35);
}

.pin-pad__header {
  margin-bottom: 20px;
}

.pin-pad__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--t-text);
  margin: 0 0 4px;
}

.pin-pad__message {
  font-size: 0.875rem;
  color: var(--t-text-muted);
  margin: 0;
  line-height: 1.4;
}

.pin-pad__status {
  font-size: 0.8125rem;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 16px;
}
.pin-pad__status.is-error {
  background: rgba(255, 60, 60, 0.12);
  color: #ff6b6b;
  border: 1px solid rgba(255, 60, 60, 0.25);
}
.pin-pad__status.is-info {
  background: rgba(var(--t-primary-rgb), 0.08);
  color: var(--t-primary);
  border: 1px solid rgba(var(--t-primary-rgb), 0.2);
}

.pin-pad__dots {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}
.pin-pad__dots.is-shaking {
  animation: pin-shake 0.4s ease;
}

.pin-pad__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--t-text-muted);
  background: transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.pin-pad__dot.is-filled {
  background: var(--t-primary);
  border-color: var(--t-primary);
  transform: scale(1.15);
}

.pin-pad__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.pin-pad__key {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--t-text);
  background: rgba(var(--t-fg-rgb), 0.06);
  border: 1px solid rgba(var(--t-fg-rgb), 0.08);
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  will-change: color, background-color, border-color, filter, box-shadow, transform;
}
.pin-pad__key:hover {
  background: rgba(var(--t-fg-rgb), 0.1);
  border-color: rgba(var(--t-fg-rgb), 0.15);
}
.pin-pad__key:active {
  background: rgba(var(--t-primary-rgb), 0.15);
  border-color: rgba(var(--t-primary-rgb), 0.3);
  transform: scale(0.95);
}
.pin-pad__key svg {
  width: 22px;
  height: 22px;
}
.pin-pad__key--clear, .pin-pad__key--backspace {
  color: var(--t-text-muted);
  background: rgba(var(--t-fg-rgb), 0.03);
}
.pin-pad__key--clear:hover, .pin-pad__key--backspace:hover {
  color: var(--t-text);
}

.pin-pad__cancel {
  display: inline-block;
  padding: 10px 28px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--t-text-muted);
  background: none;
  border: 1px solid var(--t-border);
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  will-change: color, background-color, border-color, filter, box-shadow, transform;
}
.pin-pad__cancel:hover {
  color: var(--t-text);
  border-color: rgba(var(--t-fg-rgb), 0.2);
}

@keyframes pin-shake {
  0%, 100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-8px);
  }
  40% {
    transform: translateX(8px);
  }
  60% {
    transform: translateX(-6px);
  }
  80% {
    transform: translateX(6px);
  }
}
@media (min-width: 380px) {
  .pin-pad__key {
    height: 64px;
    font-size: 1.5rem;
  }
}
.account-profile-chip.is-danger {
  background: rgba(255, 60, 60, 0.15);
  color: #ff6b6b;
  border: 1px solid rgba(255, 60, 60, 0.25);
}

.merchant-inventory__loading {
  padding: 32px;
  text-align: center;
  color: var(--t-text-muted);
}

.merchant-inventory__empty {
  padding: 48px 24px;
  text-align: center;
  color: var(--t-text-muted);
}
.merchant-inventory__empty p {
  margin: 12px 0 20px;
}

.merchant-inventory__empty-icon {
  width: 48px;
  height: 48px;
  color: var(--t-text-muted);
  opacity: 0.5;
}

.merchant-inventory__item {
  display: grid;
  grid-template-columns: 1fr auto auto auto auto;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--t-border);
}
.merchant-inventory__item:last-child {
  border-bottom: none;
}

.merchant-inventory__item-name {
  font-weight: 600;
  color: var(--t-text);
}

.merchant-inventory__item-desc {
  font-size: 0.8125rem;
  color: var(--t-text-muted);
  margin-top: 2px;
}

.merchant-inventory__credits {
  font-weight: 600;
  color: var(--t-primary);
}

.merchant-inventory__nzd {
  font-size: 0.8125rem;
  color: var(--t-text-muted);
  margin-left: 4px;
}

.merchant-inventory__item-stock {
  font-size: 0.8125rem;
  color: var(--t-text-muted);
}

.merchant-inventory__item-actions {
  display: flex;
  gap: 6px;
}

@media (max-width: 768px) {
  .merchant-inventory__item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .merchant-inventory__item-actions {
    justify-content: flex-end;
  }
}
.merchant-pos__search-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px 20px;
}

.merchant-pos__search-field {
  flex: 1;
  position: relative;
}

.merchant-pos__or {
  color: var(--t-text-muted);
  font-size: 0.875rem;
  flex-shrink: 0;
}

.merchant-pos__search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--t-surface);
  border: 1px solid var(--t-border);
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.35);
  max-height: 240px;
  overflow-y: auto;
  margin-top: 4px;
}

.merchant-pos__search-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 10px 14px;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(var(--t-fg-rgb), 0.04);
  color: var(--t-text);
  cursor: pointer;
  text-align: left;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  will-change: color, background-color, border-color, filter, box-shadow, transform;
}
.merchant-pos__search-item:hover {
  background: rgba(var(--t-primary-rgb), 0.06);
}
.merchant-pos__search-item:last-child {
  border-bottom: none;
}

.merchant-pos__search-item-name {
  font-weight: 600;
  color: var(--t-text);
}

.merchant-pos__search-item-email {
  font-size: 0.8125rem;
  color: var(--t-text-muted);
}

.merchant-pos__search-empty {
  padding: 16px;
  text-align: center;
  color: var(--t-text-muted);
  font-size: 0.875rem;
}

.merchant-pos__selected-customer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(var(--t-primary-rgb), 0.06);
  border-top: 1px solid var(--t-border);
}

.merchant-pos__customer-info {
  display: flex;
  flex-direction: column;
}

.merchant-pos__customer-name {
  font-weight: 600;
  color: var(--t-text);
}

.merchant-pos__customer-email {
  font-size: 0.8125rem;
  color: var(--t-text-muted);
}

.merchant-pos__items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  padding: 0 20px 16px;
}

.merchant-pos__item-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  background: rgba(var(--t-fg-rgb), 0.04);
  border: 1px solid rgba(var(--t-fg-rgb), 0.08);
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  will-change: color, background-color, border-color, filter, box-shadow, transform;
}
.merchant-pos__item-card:hover:not(.is-disabled) {
  background: rgba(var(--t-primary-rgb), 0.08);
  border-color: rgba(var(--t-primary-rgb), 0.2);
}
.merchant-pos__item-card:active:not(.is-disabled) {
  transform: scale(0.97);
}
.merchant-pos__item-card.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.merchant-pos__item-card-name {
  font-weight: 600;
  color: var(--t-text);
  font-size: 0.875rem;
  margin-bottom: 4px;
}

.merchant-pos__item-card-price {
  font-size: 0.8125rem;
  color: var(--t-primary);
  font-weight: 500;
}

.merchant-pos__item-card-stock {
  font-size: 0.75rem;
  color: #ff6b6b;
  margin-top: 4px;
}

.merchant-pos__no-items {
  grid-column: 1/-1;
  text-align: center;
  color: var(--t-text-muted);
  padding: 16px;
}

.merchant-pos__custom-amount {
  padding: 0 20px 16px;
}

.merchant-pos__custom-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px;
  margin-top: 6px;
}

.merchant-pos__cart-summary {
  padding: 16px 20px;
  border-top: 1px solid var(--t-border);
}

.merchant-pos__cart-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 0.875rem;
  color: var(--t-text);
  gap: 8px;
}

.merchant-pos__cart-remove {
  background: none;
  border: none;
  color: #ff6b6b;
  cursor: pointer;
  font-size: 1.125rem;
  padding: 0 4px;
  line-height: 1;
}

.merchant-pos__cart-total {
  display: flex;
  justify-content: space-between;
  padding: 10px 0 0;
  border-top: 1px solid var(--t-border);
  margin-top: 8px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--t-text);
}

.merchant-pos__waiting-panel {
  text-align: center;
  padding: 48px 24px;
}

.merchant-pos__waiting-icon {
  margin-bottom: 20px;
}

.merchant-pos__spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(var(--t-fg-rgb), 0.1);
  border-top-color: var(--t-primary);
  border-radius: 50%;
  margin: 0 auto;
  animation: pos-spin 1s linear infinite;
}

@keyframes pos-spin {
  to {
    transform: rotate(360deg);
  }
}
.merchant-pos__waiting-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--t-text);
  margin: 0 0 8px;
}

.merchant-pos__waiting-copy {
  color: var(--t-text-muted);
  margin: 0 0 20px;
}

.merchant-pos__waiting-timer {
  font-size: 0.875rem;
  color: var(--t-text-muted);
  margin-bottom: 20px;
}

.merchant-pos__pin-notice {
  color: #ff6b6b;
  font-size: 0.875rem;
  margin-top: 8px;
}

.merchant-pos__result-panel {
  text-align: center;
  padding: 48px 24px;
}
.merchant-pos__result-panel.is-success .merchant-pos__result-icon {
  color: var(--t-primary);
}
.merchant-pos__result-panel.is-error .merchant-pos__result-icon {
  color: #ff6b6b;
}

.merchant-pos__result-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--t-text);
  margin: 16px 0 8px;
}

.merchant-pos__result-copy {
  color: var(--t-text-muted);
  margin: 0 0 24px;
}

@media (max-width: 600px) {
  .merchant-pos__search-row {
    flex-direction: column;
  }
  .merchant-pos__custom-row {
    grid-template-columns: 1fr;
  }
}
.txn-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  padding: 16px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.txn-overlay.is-open {
  opacity: 1;
}
.txn-overlay.is-closing {
  opacity: 0;
}

.txn-dialog {
  background: var(--t-surface);
  border: 1px solid var(--t-border);
  border-radius: 14px;
  width: 100%;
  max-width: 400px;
  padding: 28px 24px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.35);
}

.txn-dialog__merchant {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--t-text);
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--t-border);
}

.txn-dialog__merchant-icon {
  color: var(--t-primary);
  flex-shrink: 0;
}

.txn-dialog__items {
  margin-bottom: 12px;
}

.txn-dialog__item {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.875rem;
  color: var(--t-text);
}

.txn-dialog__desc {
  font-size: 0.8125rem;
  color: var(--t-text-muted);
  margin: 0 0 12px;
}

.txn-dialog__total {
  display: flex;
  justify-content: space-between;
  padding: 14px 0 6px;
  border-top: 1px solid var(--t-border);
  font-weight: 700;
  color: var(--t-text);
  margin-bottom: 18px;
}

.txn-dialog__total-amount {
  color: var(--t-primary);
}

.txn-dialog__nzd {
  font-size: 0.8125rem;
  color: var(--t-text-muted);
  text-align: right;
  margin: 0 0 16px;
}

.txn-dialog__status {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.8125rem;
  margin: 4px 0 14px;
}
.txn-dialog__status.is-error {
  background: rgba(255, 60, 60, 0.12);
  color: #ff6b6b;
  border: 1px solid rgba(255, 60, 60, 0.25);
}
.txn-dialog__status.is-info {
  background: rgba(var(--t-primary-rgb), 0.08);
  color: var(--t-primary);
  border: 1px solid rgba(var(--t-primary-rgb), 0.2);
}

.txn-dialog__timer {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--t-text-muted);
  margin-bottom: 16px;
}

.txn-dialog__actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.txn-dialog__actions .btn {
  flex: 1;
}

.txn-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 10001;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--t-surface);
  border: 1px solid var(--t-border);
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.35);
  font-size: 0.875rem;
  color: var(--t-text);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  max-width: 480px;
  width: 90%;
}
.txn-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.txn-toast.is-success {
  border-color: rgba(var(--t-primary-rgb), 0.3);
}
.txn-toast.is-success .txn-toast__icon {
  color: var(--t-primary);
}
.txn-toast.is-error {
  border-color: rgba(255, 60, 60, 0.3);
}
.txn-toast.is-error .txn-toast__icon {
  color: #ff6b6b;
}

.qr-scanner-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
  padding: 16px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.qr-scanner-overlay.is-open {
  opacity: 1;
}
.qr-scanner-overlay.is-closing {
  opacity: 0;
}

.qr-scanner {
  background: var(--t-surface);
  border: 1px solid var(--t-border);
  border-radius: 14px;
  width: 100%;
  max-width: 400px;
  padding: 24px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.35);
}

.qr-scanner__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.qr-scanner__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--t-text);
  margin: 0;
}

.qr-scanner__close {
  background: none;
  border: none;
  color: var(--t-text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}
.qr-scanner__close:hover {
  color: var(--t-text);
}

.qr-scanner__reader {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}
.qr-scanner__reader video {
  border-radius: 10px;
}

.qr-scanner__status {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--t-text-muted);
  margin-bottom: 16px;
}

.qr-scanner__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.qr-scanner__divider::before, .qr-scanner__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--t-border);
}
.qr-scanner__divider span {
  font-size: 0.75rem;
  color: var(--t-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.qr-scanner__manual {
  display: flex;
  gap: 8px;
}
.qr-scanner__manual .form-control {
  flex: 1;
}

.merchant-pos__method-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 20px 16px;
  align-items: center;
}

.merchant-pos__method-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.merchant-pos__shortcode-field {
  display: flex;
  gap: 6px;
  flex: 1;
  min-width: 180px;
  max-width: 280px;
}

.merchant-pos__shortcode-input {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.merchant-pos__nfc-icon {
  text-align: center;
  padding: 24px;
  color: var(--t-text-muted);
}

.merchant-pos__paycode-panel {
  text-align: center;
  padding: 32px 20px;
}

.merchant-pos__paycode-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--t-text);
  margin: 0 0 8px;
}

.merchant-pos__paycode-copy {
  color: var(--t-text-muted);
  font-size: 0.875rem;
  margin-bottom: 24px;
}

.merchant-pos__paycode-display {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 12px;
  color: var(--t-primary);
  padding: 20px;
  background: rgba(var(--t-primary-rgb), 0.08);
  border: 2px solid rgba(var(--t-primary-rgb), 0.3);
  border-radius: 14px;
  margin-bottom: 16px;
  user-select: all;
}

.merchant-pos__paycode-details {
  color: var(--t-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 16px;
}
.merchant-pos__paycode-details strong {
  color: var(--t-text);
}

.account-credits-qr__shortcode {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  background: rgba(var(--t-primary-rgb), 0.06);
  border: 1px solid rgba(var(--t-primary-rgb), 0.2);
  border-radius: 10px;
}

.account-credits-qr__shortcode-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--t-text-muted);
}

.account-credits-qr__shortcode-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-credits-qr__shortcode-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 6px;
  color: var(--t-primary);
  user-select: all;
  flex: 1;
}

.account-credits-qr__shortcode-copy {
  background: none;
  border: none;
  color: var(--t-text-muted);
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 8px;
  transition: color 0.25s ease, background 0.25s ease;
  flex-shrink: 0;
}
.account-credits-qr__shortcode-copy:hover {
  color: var(--t-text);
  background: rgba(var(--t-fg-rgb), 0.08);
}

.nfc-devices__list {
  padding: 0 20px 20px;
}

.nfc-devices__empty {
  color: var(--t-text-muted);
  font-size: 0.875rem;
  margin: 0;
}

.nfc-devices__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--t-border);
  gap: 12px;
}
.nfc-devices__item:last-child {
  border-bottom: none;
}

.nfc-devices__item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.nfc-devices__item-label {
  font-weight: 600;
  color: var(--t-text);
  font-size: 0.9375rem;
}

.nfc-devices__item-meta {
  font-size: 0.75rem;
  color: var(--t-text-muted);
}

.nfc-devices__item-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.credits-paycode__form {
  display: flex;
  gap: 8px;
  padding: 0 20px 16px;
}

.credits-paycode__input {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 1.25rem;
  letter-spacing: 6px;
  text-align: center;
  font-weight: 600;
  max-width: 200px;
}

.credits-paycode__status {
  padding: 0 20px 16px;
  font-size: 0.8125rem;
}
.credits-paycode__status.is-error {
  color: #ff6e9a;
}
.credits-paycode__status.is-info {
  color: var(--t-text-muted);
}

.credits-paycode__confirm-item {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 0.875rem;
  color: var(--t-text);
}

.nfc-admin__stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.nfc-admin__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 20px;
  background: var(--t-surface);
  border: 1px solid var(--t-border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--t-text);
  min-width: 90px;
  transition: border-color 0.15s, background 0.15s;
}
.nfc-admin__stat:hover {
  border-color: #51c00f;
}
.nfc-admin__stat.is-active {
  border-color: #51c00f;
  background: rgba(var(--t-primary-rgb), 0.08);
}

.nfc-admin__stat-count {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.nfc-admin__stat-label {
  font-size: 0.75rem;
  color: var(--t-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.nfc-admin__token {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.8125rem;
  background: var(--t-surface);
  padding: 2px 6px;
  border-radius: 4px;
  word-break: break-all;
}

.nfc-admin__bulk-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--t-surface);
  border: 1px solid var(--t-border);
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: 0.875rem;
  font-weight: 500;
}

.nfc-admin__generate-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
}
.nfc-admin__generate-overlay.is-open {
  display: flex;
}

.nfc-admin__generate-dialog {
  background: var(--t-surface);
  border: 1px solid var(--t-border);
  border-radius: 14px;
  padding: 28px;
  max-width: 400px;
  width: 90vw;
}
.nfc-admin__generate-dialog h3 {
  margin: 0 0 8px;
  font-size: 1.125rem;
}
.nfc-admin__generate-dialog p {
  color: var(--t-text-muted);
  font-size: 0.875rem;
  margin: 0 0 20px;
}

.nfc-admin__generate-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.table-col-check {
  width: 40px;
  text-align: center;
}

.pos-invite-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 20px 20px;
}

.pos-invite-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(var(--t-fg-rgb), 0.03);
  border: 1px solid var(--t-border);
  border-radius: 10px;
  gap: 12px;
}

.pos-station-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 20px 16px;
}

.pos-station-checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(var(--t-fg-rgb), 0.03);
  border: 1px solid var(--t-border);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--t-text);
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  will-change: color, background-color, border-color, filter, box-shadow, transform;
}
.pos-station-checkbox:hover {
  border-color: rgba(var(--t-fg-rgb), 0.15);
}
.pos-station-checkbox input[type=checkbox] {
  accent-color: var(--t-primary);
}

/* Stations picker explanatory notice. The base is a normal .surface-notice
   (variant class added at runtime); these overrides just give it a top margin
   so it tucks neatly under the station <select>. */
.pos-session__station-notice {
  margin-top: 10px;
  font-size: 0.875rem;
}
.pos-session__station-notice a {
  color: inherit;
  text-decoration: underline;
}

.pos-session__active-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 0.875rem;
  color: var(--t-primary);
  background: rgba(var(--t-primary-rgb), 0.06);
  border-radius: 8px;
  margin: 0 20px 16px;
}

.merchant-dashboard__open-pos {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.pos-open {
  overflow: hidden;
}

.pos-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.pos-overlay.is-open {
  display: flex;
  opacity: 1;
}
.pos-overlay.is-closing {
  display: flex;
  opacity: 0;
}
@media (max-width: 960px) {
  .pos-overlay {
    padding: 0;
  }
}

body.modal-open .pos-overlay {
  background: transparent;
  backdrop-filter: none;
}

.pos-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 1 auto;
  width: 100%;
  max-width: 960px;
  max-height: calc(100dvh - 48px);
  background: var(--t-surface);
  border-radius: 14px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  outline: none;
}
@media (max-width: 960px) {
  .pos-dialog {
    max-width: 100%;
    max-height: 100dvh;
    height: 100dvh;
    border-radius: 0;
    border: none;
  }
}

.pos-dialog__header {
  flex: 0 0 auto;
  background: var(--t-bg);
  border-bottom: 1px solid var(--t-border);
  position: sticky;
  top: 0;
  z-index: 5;
}

.pos-dialog__title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--t-border);
}

.pos-dialog__title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--t-text-muted);
}

.pos-dialog__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--t-text);
  margin: 0;
  letter-spacing: 0.01em;
}

.pos-dialog__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--t-border);
  background: transparent;
  color: var(--t-text-muted);
  cursor: pointer;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  will-change: color, background-color, border-color, filter, box-shadow, transform;
}
.pos-dialog__close:hover {
  color: var(--t-text);
  border-color: rgba(var(--t-fg-rgb), 0.2);
}

.pos-dialog__methods {
  display: flex;
  gap: 6px;
  padding: 10px 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.pos-dialog__methods::-webkit-scrollbar {
  display: none;
}

.pos-dialog__method-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--t-border);
  background: transparent;
  color: var(--t-text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  will-change: color, background-color, border-color, filter, box-shadow, transform;
}
.pos-dialog__method-tab svg {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.25s ease;
}
.pos-dialog__method-tab:hover {
  color: var(--t-text);
  border-color: rgba(var(--t-fg-rgb), 0.18);
}
.pos-dialog__method-tab:hover svg {
  opacity: 1;
}
.pos-dialog__method-tab.is-active {
  background: rgba(var(--t-primary-rgb), 0.1);
  border-color: rgba(var(--t-primary-rgb), 0.35);
  color: var(--t-primary);
  font-weight: 600;
}
.pos-dialog__method-tab.is-active svg {
  opacity: 1;
}

.pos-dialog__body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pos-dialog__identify {
  padding: 16px 20px;
  border-bottom: 1px solid var(--t-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pos-dialog__method-panel:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pos-method-hint:not([hidden]) {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(var(--t-fg-rgb), 0.03);
  border: 1px solid rgba(var(--t-fg-rgb), 0.07);
  border-radius: 10px;
  color: var(--t-text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}
.pos-method-hint:not([hidden]) svg {
  flex-shrink: 0;
  opacity: 0.55;
  margin-top: 1px;
}
.pos-method-hint:not([hidden]) strong {
  color: var(--t-text);
}

.pos-nfc-pulse {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(var(--t-primary-rgb), 0.1);
  animation: pos-pulse 1.8s ease-in-out infinite;
  margin: 4px auto;
}
.pos-nfc-pulse svg {
  color: var(--t-primary);
}

@keyframes pos-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(var(--t-primary-rgb), 0.25);
  }
  50% {
    box-shadow: 0 0 0 16px rgba(var(--t-primary-rgb), 0);
  }
}
.pos-dialog__method-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 12px 0 4px;
}
.pos-dialog__method-cta--info {
  flex-direction: row;
  align-items: flex-start;
  padding: 10px 14px;
  background: rgba(var(--t-primary-rgb), 0.05);
  border: 1px solid rgba(var(--t-primary-rgb), 0.15);
  border-radius: 10px;
  gap: 14px;
}

.pos-dialog__method-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  font-size: 1rem;
}

.pos-dialog__method-hint {
  font-size: 0.8125rem;
  color: var(--t-text-muted);
  margin: 0;
  text-align: center;
  max-width: 360px;
}
.pos-dialog__method-cta--info .pos-dialog__method-hint {
  text-align: left;
  color: var(--t-text);
}

.pos-dialog__search-wrap {
  position: relative;
}

.pos-dialog__search-input {
  width: 100%;
}

.pos-dialog__search-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--t-surface);
  border: 1px solid var(--t-border);
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.35);
  max-height: 220px;
  overflow-y: auto;
}

.pos-dialog__search-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--t-text);
  cursor: pointer;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  will-change: color, background-color, border-color, filter, box-shadow, transform;
}
.pos-dialog__search-item:hover {
  background: rgba(var(--t-fg-rgb), 0.04);
}
.pos-dialog__search-item + .pos-dialog__search-item {
  border-top: 1px solid var(--t-border);
}

.pos-dialog__search-item-name {
  font-size: 0.9rem;
  font-weight: 500;
}

.pos-dialog__search-item-email {
  font-size: 0.8rem;
  color: var(--t-text-muted);
}

.pos-dialog__search-empty {
  padding: 12px 14px;
  font-size: 0.875rem;
  color: var(--t-text-muted);
}

.pos-dialog__code-row {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 400px;
}
.pos-dialog__code-row input {
  flex: 1;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: monospace;
  font-size: 1.1rem;
}

/*
 * Unified content wrapper for every dialog spawned by the POS terminal
 * (Search, NFC, Scan QR, Enter Code, Pay Code). Keeps the inner layout
 * consistent across identification methods so the terminal feels like one
 * coherent surface rather than five ad-hoc dialogs.
 */
.pos-modal {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 160px;
}

.pos-modal__hint {
  margin: 0;
  color: var(--t-text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: center;
}

.pos-modal__subtle {
  margin: 0;
  color: var(--t-text-muted);
  font-size: 0.8rem;
  min-height: 1rem;
  text-align: center;
}

.pos-modal__title-line {
  margin: 0;
  color: var(--t-text);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.02em;
}

.pos-modal__input {
  width: 100%;
}

.pos-modal__input-row {
  display: flex;
  gap: 8px;
  width: 100%;
}

.pos-modal__input-row .pos-modal__input {
  flex: 1 1 auto;
}

.pos-modal__input-btn {
  flex: 0 0 auto;
  min-width: 96px;
}

.pos-modal__input--code {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-family: monospace;
  font-size: 1.25rem;
  text-align: center;
}

.pos-modal__divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--t-text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.pos-modal__divider::before, .pos-modal__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(var(--t-fg-rgb), 0.1);
}

/* Search dialog â€” results render *inline* below the input (not as a
   floating dropdown like the legacy .pos-dialog__search-results). */
.pos-modal__search-results {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--t-border);
  border-radius: 10px;
  background: rgba(var(--t-fg-rgb), 0.02);
  max-height: 360px;
  overflow-y: auto;
}

/* QR camera reader â€” capped width so the dialog stays compact. */
.pos-modal__qr-reader {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
}

/* NFC pulse / unavailable icon. */
.pos-modal__icon {
  width: 88px;
  height: 88px;
  margin: 6px auto 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(var(--t-fg-rgb), 0.04);
  border: 1px solid rgba(var(--t-fg-rgb), 0.08);
  color: var(--t-text);
}

.pos-modal__icon--pulse {
  color: var(--t-primary);
  background: rgba(var(--t-primary-rgb), 0.08);
  border-color: rgba(var(--t-primary-rgb), 0.28);
  animation: pos-modal-pulse 1.6s ease-in-out infinite;
}

.pos-modal__icon--muted {
  color: var(--t-text-muted);
  opacity: 0.7;
}

@keyframes pos-modal-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(var(--t-primary-rgb), 0.35);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 0 0 14px rgba(var(--t-primary-rgb), 0);
  }
}
.pos-dialog__customer-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(var(--t-primary-rgb), 0.06);
  border: 1px solid rgba(var(--t-primary-rgb), 0.2);
  border-radius: 10px;
}

.pos-dialog__customer-chip-info {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--t-primary);
  font-size: 0.9rem;
}

.pos-dialog__customer-chip-name {
  font-weight: 600;
}

.pos-dialog__customer-chip-email {
  color: var(--t-text-muted);
  font-size: 0.8125rem;
}

.pos-dialog__invoice {
  padding: 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pos-dialog__invoice-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pos-dialog__invoice-title {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--t-text-muted);
  margin: 0;
}

.pos-dialog__items-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pos-dialog__item-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 14px;
  background: var(--t-bg);
  border: 1px solid var(--t-border);
  border-radius: 10px;
  color: var(--t-text);
  cursor: pointer;
  text-align: left;
  min-width: 120px;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  will-change: color, background-color, border-color, filter, box-shadow, transform;
}
.pos-dialog__item-card:hover:not(:disabled) {
  border-color: rgba(var(--t-primary-rgb), 0.3);
  background: rgba(var(--t-primary-rgb), 0.04);
}
.pos-dialog__item-card.is-disabled, .pos-dialog__item-card:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.pos-dialog__item-name {
  font-size: 0.875rem;
  font-weight: 600;
}

.pos-dialog__item-price {
  font-size: 0.8125rem;
  color: var(--t-primary);
}

.pos-dialog__item-price-nzd {
  font-size: 0.75rem;
  color: var(--t-text-muted);
}

.pos-dialog__item-stock {
  font-size: 0.75rem;
  color: var(--t-secondary);
}

.pos-dialog__items-empty,
.pos-dialog__items-loading {
  font-size: 0.875rem;
  color: var(--t-text-muted);
  padding: 8px 0;
}

.pos-dialog__custom-row {
  padding: 0;
}

.pos-dialog__custom-fields {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pos-dialog__custom-field {
  min-width: 120px;
  flex: 0 0 auto;
}
.pos-dialog__custom-field--wide {
  flex: 1 1 220px;
}

.pos-dialog__custom-label {
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.pos-dialog__invoice-table-wrap {
  overflow-x: auto;
}

.pos-dialog__invoice-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.pos-dialog__invoice-table thead th {
  padding: 6px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--t-text-muted);
  border-bottom: 1px solid var(--t-border);
  text-align: left;
}
.pos-dialog__invoice-table tbody td {
  padding: 9px 8px;
  color: var(--t-text);
  border-bottom: 1px solid var(--t-border);
  vertical-align: middle;
}
.pos-dialog__invoice-table tbody tr:last-child td {
  border-bottom: none;
}
.pos-dialog__invoice-table tfoot td {
  padding: 10px 8px;
  border-top: 1px solid var(--t-border);
  font-size: 0.9rem;
}

.pos-col-qty {
  text-align: center;
  width: 48px;
}

.pos-col-num {
  text-align: right;
  white-space: nowrap;
}

.pos-col-action {
  width: 36px;
  text-align: right;
}

.pos-unit {
  font-size: 0.75em;
  color: var(--t-text-muted);
}

.pos-dialog__invoice-total-row td {
  color: var(--t-text);
}

.pos-dialog__invoice-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--t-text-muted);
  cursor: pointer;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  will-change: color, background-color, border-color, filter, box-shadow, transform;
}
.pos-dialog__invoice-remove:hover {
  color: var(--t-secondary);
  border-color: rgba(var(--t-secondary-rgb), 0.3);
  background: rgba(var(--t-secondary-rgb), 0.06);
}

.pos-dialog__invoice-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 20px;
  color: var(--t-text-muted);
  text-align: center;
}
.pos-dialog__invoice-empty p {
  margin: 0;
  font-size: 0.875rem;
}

.pos-dialog__footer {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  background: var(--t-bg);
  border-top: 1px solid var(--t-border);
  position: sticky;
  bottom: 0;
  z-index: 5;
}

.pos-dialog__footer-total {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pos-dialog__footer-nzd {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--t-text);
  line-height: 1.1;
}

.pos-dialog__submit {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 28px;
  min-width: 200px;
  justify-content: center;
}
@media (max-width: 480px) {
  .pos-dialog__submit {
    min-width: 0;
    padding: 12px 20px;
  }
}

@keyframes pos-spin {
  to {
    transform: rotate(360deg);
  }
}
.surface-panel__header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.surface-panel__footer-link {
  padding: 10px 20px;
  border-top: 1px solid var(--t-border);
  font-size: 0.875rem;
}
.surface-panel__footer-link a {
  color: var(--t-text-muted);
  text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  will-change: color, background-color, border-color, filter, box-shadow, transform;
}
.surface-panel__footer-link a:hover {
  color: var(--t-text);
}

.merchant-tx__filters {
  padding: 0 0 4px;
}

.merchant-tx__filter-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.merchant-tx__filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
}
.merchant-tx__filter-group--action {
  flex-direction: row;
  align-items: flex-end;
  gap: 8px;
  min-width: auto;
}

.merchant-tx__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 0 4px;
  border-top: 1px solid var(--t-border);
  margin-top: 4px;
}

.merchant-tx__page-info {
  font-size: 0.875rem;
  color: var(--t-text-muted);
  min-width: 100px;
  text-align: center;
}

.tc-picker {
  position: relative;
  display: block;
}

.tc-picker__display {
  padding-right: 4.5rem;
}

.tc-picker__clear,
.tc-picker__chevron {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--t-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 8px;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.tc-picker__clear:hover,
.tc-picker__chevron:hover {
  color: var(--t-text);
  background-color: rgba(var(--t-fg-rgb), 0.06);
}
.tc-picker__clear:focus-visible,
.tc-picker__chevron:focus-visible {
  outline: 2px solid var(--t-focus-ring, rgba(var(--t-primary-rgb), 0.5));
  outline-offset: 1px;
}

.tc-picker__clear {
  right: 2.5rem;
  display: none;
}

.tc-picker__chevron {
  right: 0.5rem;
}
.tc-picker__chevron .rtx-chevron {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.18s ease;
}

.tc-picker--open .tc-picker__chevron .rtx-chevron {
  transform: rotate(180deg);
}

.tc-picker__dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 30;
  background: var(--t-surface);
  border: 1px solid var(--t-border);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  max-height: 320px;
  overflow: auto;
  padding: 0.4rem 0;
}
.is-branded .tc-picker__dropdown {
  background: var(--t-surface, #0f0f10);
  border-color: var(--t-border, #222);
}

.tc-picker__dropdown-header {
  padding: 0.35rem 0.75rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--t-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(var(--t-fg-rgb), 0.06);
  margin-bottom: 0.25rem;
}

.tc-picker__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tc-picker__list--children {
  padding-left: 1rem;
  border-left: 1px solid rgba(var(--t-fg-rgb), 0.06);
  margin-left: 0.75rem;
}

.tc-picker__item {
  display: block;
}

.tc-picker__node {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  color: var(--t-text);
  gap: 0.1rem;
}
.tc-picker__node:hover, .tc-picker__node:focus-visible {
  background: rgba(var(--t-fg-rgb), 0.06);
  outline: none;
}

.tc-picker__node-title {
  font-weight: 500;
  font-size: 0.925rem;
}

.tc-picker__node-path {
  font-size: 0.8rem;
  color: var(--t-text-muted);
}

.tc-picker__loading,
.tc-picker__empty,
.tc-picker__error {
  padding: 0.75rem;
  font-size: 0.875rem;
  color: var(--t-text-muted);
}

.tc-picker__error {
  color: #f59e0b;
}

.venue-picker {
  position: relative;
  display: block;
}

.venue-picker__display {
  padding-right: 2.5rem;
}

.venue-picker__clear {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--t-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 8px;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.venue-picker__clear:hover {
  color: var(--t-text);
  background-color: rgba(var(--t-fg-rgb), 0.06);
}
.venue-picker__clear:focus-visible {
  outline: 2px solid var(--t-focus-ring, rgba(var(--t-primary-rgb), 0.5));
  outline-offset: 1px;
}

.venue-picker__dropdown,
.band-lineup__dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 30;
  background: var(--t-surface);
  border: 1px solid var(--t-border);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  max-height: 280px;
  overflow: auto;
  padding: 0.4rem 0;
}

.venue-picker__option,
.band-lineup__option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
  color: var(--t-text);
  gap: 0.1rem;
}
.venue-picker__option:hover, .venue-picker__option:focus-visible,
.band-lineup__option:hover,
.band-lineup__option:focus-visible {
  background: rgba(var(--t-fg-rgb), 0.06);
  outline: none;
}

.venue-picker__option--create,
.band-lineup__option--create {
  border-top: 1px solid rgba(var(--t-fg-rgb), 0.08);
  color: var(--t-primary);
}
.venue-picker__option--create .venue-picker__option-name,
.venue-picker__option--create .band-lineup__option-name,
.band-lineup__option--create .venue-picker__option-name,
.band-lineup__option--create .band-lineup__option-name {
  color: var(--t-primary);
  font-weight: 600;
}

.venue-picker__option-name,
.band-lineup__option-name {
  font-weight: 500;
  font-size: 0.925rem;
}

.venue-picker__option-meta,
.band-lineup__option-meta {
  font-size: 0.8rem;
  color: var(--t-text-muted);
}

.venue-picker__empty,
.band-lineup__empty {
  padding: 0.75rem;
  font-size: 0.875rem;
  color: var(--t-text-muted);
}

.band-lineup {
  display: block;
}

.band-lineup__search {
  position: relative;
  display: block;
}

.band-lineup__list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.band-lineup__list:empty {
  display: none;
}

.band-lineup__chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--t-border);
  border-radius: 8px;
  background: rgba(var(--t-surface-rgb), 0.6);
}
.band-lineup__chip.is-dragging {
  opacity: 0.5;
}
.band-lineup__chip.is-drop-target {
  border-color: var(--t-primary, rgba(var(--t-primary-rgb), 0.8));
  box-shadow: 0 0 0 1px var(--t-primary, rgba(var(--t-primary-rgb), 0.8));
}

.band-lineup__chip-handle {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  cursor: grab;
  color: var(--t-text-muted);
  border-radius: 8px;
}
.band-lineup__chip-handle:active {
  cursor: grabbing;
}
.band-lineup__chip-handle svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.band-lineup__chip-order {
  flex: 0 0 auto;
  min-width: 1.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--t-text-muted);
  text-align: center;
}

.band-lineup__chip-name {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 500;
  color: var(--t-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.band-lineup__chip-remove {
  flex: 0 0 auto;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--t-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 8px;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.band-lineup__chip-remove:hover {
  color: var(--t-text);
  background-color: rgba(var(--t-fg-rgb), 0.06);
}
.band-lineup__chip-remove:focus-visible {
  outline: 2px solid var(--t-focus-ring, rgba(var(--t-primary-rgb), 0.5));
  outline-offset: 1px;
}

.guardian-id {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.12);
  background: rgba(var(--t-surface-rgb), 0.6);
  box-shadow: inset 0 1px 0 rgba(var(--t-fg-rgb), 0.05);
}

.guardian-id__photo {
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(var(--t-fg-rgb), 0.14);
  background: rgba(var(--t-fg-rgb), 0.04);
  display: grid;
  place-items: center;
}
.guardian-id__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.guardian-id__photo-placeholder {
  color: rgba(var(--t-fg-rgb), 0.3);
  display: grid;
  place-items: center;
}

.guardian-id__details {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.guardian-id__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--t-text);
  line-height: 1.3;
}

.guardian-id__field {
  display: flex;
  gap: 0.45rem;
  align-items: baseline;
  font-size: 0.85rem;
  line-height: 1.4;
}

.guardian-id__field-label {
  font-weight: 600;
  color: rgba(var(--t-fg-rgb), 0.5);
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  flex: 0 0 auto;
  min-width: 4.5rem;
}

.guardian-id__field-value {
  color: rgba(var(--t-fg-rgb), 0.9);
  word-break: break-word;
}

.guardian-id__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.25rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid rgba(var(--t-primary-rgb), 0.36);
  background: rgba(var(--t-primary-rgb), 0.12);
  color: #cfff9d;
  width: fit-content;
}

.guardian-id--compact {
  padding: 0.75rem;
  gap: 0.75rem;
}
.guardian-id--compact .guardian-id__photo {
  width: 56px;
  height: 56px;
}
.guardian-id--compact .guardian-id__name {
  font-size: 0.92rem;
}

.guardian-profile-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(var(--t-fg-rgb), 0.1);
  background: rgba(var(--t-surface-rgb), 0.45);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.guardian-profile-toggle:hover {
  border-color: rgba(var(--t-fg-rgb), 0.2);
  background: rgba(var(--t-surface-rgb), 0.6);
}

.guardian-profile-toggle__copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.guardian-profile-toggle__title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--t-text);
}

.guardian-profile-toggle__subtitle {
  font-size: 0.82rem;
  color: rgba(var(--t-fg-rgb), 0.6);
}

.profile-picture-upload {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile-picture-upload__preview {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(var(--t-fg-rgb), 0.14);
  background: rgba(var(--t-fg-rgb), 0.04);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.profile-picture-upload__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-picture-upload__button {
  cursor: pointer;
}

.profile-picture-upload__note {
  margin-top: 0.35rem;
}

.ticket-pass__guardian {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(var(--t-fg-rgb), 0.1);
}
