:root,
:root[data-theme=dark] {
  color-scheme: dark;
  --surface-page: #000000;
  --surface-raised: #0D0B0B;
  --surface-sunken: #060505;
  --surface-overlay: #141111;
  --surface-input: #141111;
  --surface-hover: #1C1817;
  --text-strong: #FBF7EF;
  --text-primary: #E8D8BC;
  --text-secondary: rgba(232, 216, 188, 0.66);
  --text-muted: rgba(232, 216, 188, 0.42);
  --text-on-accent: #FBF7EF;
  --border-subtle: rgba(232, 216, 188, 0.1);
  --border-default: rgba(232, 216, 188, 0.18);
  --border-strong: rgba(232, 216, 188, 0.34);
  --accent: #991216;
  --accent-hover: rgb(85.0526315789%, 10.0061919505%, 12.2297901617%);
  --accent-press: rgb(45.6842105263%, 5.3746130031%, 6.5689714482%);
  --accent-text: rgb(85.0526315789%, 10.0061919505%, 12.2297901617%);
  --accent-soft: rgba(153, 18, 22, 0.2);
  --accent-glow: rgba(153, 18, 22, 0.45);
  --highlight: rgb(79.2978850929%, 63.1125952564%, 34.5060364757%);
  --highlight-soft: rgba(174, 131, 55, 0.18);
  --highlight-border: rgba(174, 131, 55, 0.45);
  --danger: rgb(85.0526315789%, 10.0061919505%, 12.2297901617%);
  --success: #6FBF73;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.7);
  --grain-opacity: 0.055;
  --hero-vignette: rgba(0, 0, 0, 0.86);
  --logo-glow: rgba(232, 216, 188, 0.12);
}

:root[data-theme=light] {
  color-scheme: light;
  --surface-page: #FBF7EF;
  --surface-raised: #FFFFFF;
  --surface-sunken: #F3ECDF;
  --surface-overlay: #FFFFFF;
  --surface-input: #FFFFFF;
  --surface-hover: #F3ECDF;
  --text-strong: #000000;
  --text-primary: #1A1614;
  --text-secondary: rgba(26, 22, 20, 0.68);
  --text-muted: rgba(26, 22, 20, 0.46);
  --text-on-accent: #FBF7EF;
  --border-subtle: rgba(26, 22, 20, 0.09);
  --border-default: rgba(26, 22, 20, 0.16);
  --border-strong: rgba(26, 22, 20, 0.3);
  --accent: #991216;
  --accent-hover: rgb(45.6842105263%, 5.3746130031%, 6.5689714482%);
  --accent-press: rgb(45.6842105263%, 5.3746130031%, 6.5689714482%);
  --accent-text: #991216;
  --accent-soft: rgba(153, 18, 22, 0.1);
  --accent-glow: rgba(153, 18, 22, 0.22);
  --highlight: rgb(49.9994862574%, 37.6432913777%, 15.8044353112%);
  --highlight-soft: rgba(174, 131, 55, 0.16);
  --highlight-border: rgba(174, 131, 55, 0.55);
  --danger: #991216;
  --success: #2E7D32;
  --shadow-sm: 0 1px 2px rgba(26, 22, 20, 0.08);
  --shadow-md: 0 8px 24px rgba(26, 22, 20, 0.10);
  --shadow-lg: 0 24px 64px rgba(26, 22, 20, 0.16);
  --grain-opacity: 0.035;
  --hero-vignette: rgba(0, 0, 0, 0.9);
  --logo-glow: rgba(232, 216, 188, 0.2);
}

html:not(.theme-ready) body {
  visibility: hidden;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes slide-in-right {
  from {
    transform: translateX(100%);
  }
  to {
    transform: none;
  }
}
@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes drift-a {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(24vw, 16vh, 0) scale(1.18);
  }
}
@keyframes drift-b {
  from {
    transform: translate3d(0, 0, 0) scale(1.1);
  }
  to {
    transform: translate3d(-22vw, -14vh, 0) scale(0.92);
  }
}
@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 var(--accent-glow);
  }
  70% {
    box-shadow: 0 0 0 10px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}
@keyframes eq-bounce {
  from {
    height: 10%;
  }
  to {
    height: 100%;
  }
}
@keyframes scroll-hint {
  0%, 100% {
    opacity: 0.25;
    transform: translateY(-4px);
  }
  50% {
    opacity: 1;
    transform: translateY(4px);
  }
}
@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes shimmer {
  from {
    background-position: -320px 0;
  }
  to {
    background-position: 320px 0;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

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

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

ul[class],
ol[class] {
  list-style: none;
  padding: 0;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

dialog {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100dvh;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  background-color: var(--surface-page);
  color: var(--text-primary);
  transition: background-color 240ms cubic-bezier(0.22, 1, 0.36, 1), color 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

h1, h2, h3, h4 {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.011em;
  color: var(--text-strong);
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.25rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 1.75rem);
}

h3 {
  font-size: 1.375rem;
}

h4 {
  font-size: 1.125rem;
}

h5, h6 {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--highlight);
}

a {
  color: var(--accent-text);
  text-decoration: none;
  transition: color 140ms cubic-bezier(0.22, 1, 0.36, 1);
}
a:hover {
  color: var(--highlight);
}

p {
  max-width: 68ch;
}

strong {
  color: var(--text-strong);
  font-weight: 650;
}

hr {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 2rem 0;
}

code {
  font-family: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
  font-size: 0.9em;
  background: var(--surface-sunken);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

::selection {
  background: var(--accent);
  color: #FBF7EF;
}

:focus-visible {
  outline: 2px solid var(--highlight);
  outline-offset: 2px;
  border-radius: 4px;
}

:focus:not(:focus-visible) {
  outline: none;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--surface-sunken);
}

::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border: 3px solid var(--surface-sunken);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 400;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #FBF7EF;
  border-radius: 4px;
  transition: top 140ms cubic-bezier(0.22, 1, 0.36, 1);
}
.skip-link:focus {
  top: 1rem;
  color: #FBF7EF;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.app-main {
  flex: 1 0 auto;
  padding-top: 68px;
  padding-bottom: calc(56px + 2rem);
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 768px) {
  .container {
    padding-inline: 2rem;
  }
}

.container--narrow {
  max-width: 760px;
}

.container--wide {
  max-width: 1440px;
}

.section {
  padding-block: 3rem;
}
@media (min-width: 768px) {
  .section {
    padding-block: 4rem;
  }
}

.section--tight {
  padding-block: 2rem;
}

.section-head {
  margin-bottom: 2rem;
}
.section-head__eyebrow {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--highlight);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.section-head__eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--highlight-border), transparent);
}
.section-head__title {
  margin-bottom: 0.75rem;
}
.section-head__lead {
  color: var(--text-secondary);
  font-size: 1.125rem;
}

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

.stack--tight {
  gap: 0.5rem;
}

.stack--loose {
  gap: 2rem;
}

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

.row--between {
  justify-content: space-between;
}

.row--end {
  justify-content: flex-end;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 560px) {
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.page-header {
  position: relative;
  overflow: hidden;
  padding-block: 4rem 2rem;
  border-bottom: 1px solid var(--border-subtle);
  background: radial-gradient(120% 140% at 50% -20%, var(--accent-soft), transparent 60%), var(--surface-sunken);
}
.page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.page-header__inner {
  position: relative;
  z-index: 1;
}
.page-header__inner--split {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .page-header__inner--split {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 3rem;
  }
}
.page-header__eyebrow {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--highlight);
  margin-bottom: 0.75rem;
}
.page-header__lead {
  margin-top: 0.75rem;
  color: var(--text-secondary);
  font-size: 1.125rem;
}

.topnav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 68px;
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--surface-page) 88%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 240ms cubic-bezier(0.22, 1, 0.36, 1), border-color 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.topnav::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--highlight), var(--accent), transparent);
  opacity: 0.7;
}
.topnav--scrolled {
  background: color-mix(in srgb, var(--surface-page) 97%, transparent);
  box-shadow: var(--shadow-md);
}
.topnav__inner {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 768px) {
  .topnav__inner {
    padding-inline: 2rem;
  }
}
.topnav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary);
  flex-shrink: 0;
}
.topnav__brand:hover {
  color: var(--text-primary);
}
.topnav__brand:hover .topnav__mark {
  transform: rotate(-6deg) scale(1.06);
}
.topnav__mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
  background: #000000;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.topnav__wordmark {
  display: none;
  line-height: 1.05;
}
@media (min-width: 560px) {
  .topnav__wordmark {
    display: block;
  }
}
.topnav__name {
  font-family: "Bodoni MT", "Didot", "Playfair Display", "Hoefler Text", Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.015em;
  font-size: 1.375rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.topnav__tagline {
  font-family: "Bodoni MT", "Didot", "Playfair Display", "Hoefler Text", Georgia, "Times New Roman", serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--highlight);
  margin-top: 1px;
}
.topnav__links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
@media (min-width: 1024px) {
  .topnav__links {
    display: flex;
  }
}
.topnav__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}
@media (min-width: 1024px) {
  .topnav__actions {
    margin-left: 1rem;
  }
}
.topnav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid var(--border-default);
  color: var(--text-primary);
}
.topnav__toggle:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}
@media (min-width: 1024px) {
  .topnav__toggle {
    display: none;
  }
}

.navlink {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 140ms cubic-bezier(0.22, 1, 0.36, 1), background-color 140ms cubic-bezier(0.22, 1, 0.36, 1);
}
.navlink::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 6px;
  height: 2px;
  background: var(--accent);
  transition: left 240ms cubic-bezier(0.22, 1, 0.36, 1), right 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.navlink:hover {
  color: var(--text-strong);
  background: var(--surface-hover);
}
.navlink.active {
  color: var(--text-strong);
}
.navlink.active::after {
  left: 1rem;
  right: 1rem;
}
.navlink--admin {
  color: var(--highlight);
  border: 1px solid var(--highlight-border);
}
.navlink--admin:hover, .navlink--admin.active {
  color: var(--highlight);
  background: var(--highlight-soft);
}
.navlink--admin::after {
  background: var(--highlight);
}

.navdrawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: 1fr min(84vw, 340px);
}
.navdrawer__scrim {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  animation: fade-in 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.navdrawer__panel {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  background: var(--surface-raised);
  border-left: 1px solid var(--border-default);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  animation: slide-in-right 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.navdrawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}
.navdrawer__title {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--highlight);
}
.navdrawer .navlink {
  justify-content: flex-start;
  padding: 0.75rem 1rem;
  font-size: 1rem;
}
.navdrawer .navlink::after {
  display: none;
}
.navdrawer .navlink.active {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
}
@media (min-width: 1024px) {
  .navdrawer {
    display: none;
  }
}

.account {
  position: relative;
}
.account__button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.5rem 0.25rem 0.25rem;
  border-radius: 999px;
  border: 1px solid var(--border-default);
  transition: border-color 140ms cubic-bezier(0.22, 1, 0.36, 1);
}
.account__button:hover {
  border-color: var(--highlight-border);
}
.account__name {
  display: none;
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding-right: 0.25rem;
}
@media (min-width: 768px) {
  .account__name {
    display: block;
  }
}
.account__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  min-width: 220px;
  padding: 0.5rem;
  background: var(--surface-overlay);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  animation: pop-in 140ms cubic-bezier(0.22, 1, 0.36, 1);
}
.account__meta {
  padding: 0.5rem 0.75rem 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 0.5rem;
}
.account__meta-name {
  font-weight: 600;
  color: var(--text-strong);
}
.account__meta-role {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--highlight);
  font-size: 0.75rem;
  margin-top: 2px;
}
.account__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  text-align: left;
  font-size: 0.875rem;
  color: var(--text-primary);
}
.account__item:hover {
  background: var(--surface-hover);
  color: var(--text-strong);
}

.appfooter {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 100;
  height: 56px;
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--surface-page) 92%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  border-top: 1px solid var(--border-subtle);
}
.appfooter::before {
  content: "";
  position: absolute;
  inset: -1px 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--highlight-border), transparent);
}
.appfooter__inner {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 768px) {
  .appfooter__inner {
    padding-inline: 2rem;
  }
}
.appfooter__copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.appfooter__spacer {
  flex: 1;
}
.appfooter__links {
  display: none;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 768px) {
  .appfooter__links {
    display: flex;
  }
}
.appfooter__links a {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.appfooter__links a:hover {
  color: var(--highlight);
}

.themeswitch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.themeswitch__label {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-size: 0.6875rem;
  display: none;
}
@media (min-width: 560px) {
  .themeswitch__label {
    display: block;
  }
}
.themeswitch__track {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 62px;
  height: 30px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--border-default);
  background: var(--surface-sunken);
  transition: border-color 240ms cubic-bezier(0.22, 1, 0.36, 1), background-color 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.themeswitch__track:hover {
  border-color: var(--highlight-border);
}
.themeswitch__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #FBF7EF;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 0 2px 6px var(--accent-glow);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), background-color 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.themeswitch__thumb svg {
  width: 13px;
  height: 13px;
}
.themeswitch__icons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-inline: 5px;
  color: var(--text-muted);
}
.themeswitch__icons svg {
  width: 13px;
  height: 13px;
}
.themeswitch[data-theme=light] .themeswitch__thumb, .themeswitch--light .themeswitch__thumb {
  transform: translateX(32px);
  background: var(--highlight);
  color: #000000;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 140ms cubic-bezier(0.22, 1, 0.36, 1), border-color 140ms cubic-bezier(0.22, 1, 0.36, 1), color 140ms cubic-bezier(0.22, 1, 0.36, 1), transform 140ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 140ms cubic-bezier(0.22, 1, 0.36, 1);
}
.btn:active:not(:disabled) {
  transform: translateY(1px);
}
.btn:disabled, .btn[aria-disabled=true] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--accent);
  color: #FBF7EF;
  box-shadow: 0 2px 12px var(--accent-glow);
}
.btn--primary:hover:not(:disabled) {
  background: var(--accent-hover);
  box-shadow: 0 4px 20px var(--accent-glow);
  color: #FBF7EF;
}

.btn--ghost {
  border-color: var(--border-default);
  color: var(--text-primary);
}
.btn--ghost:hover:not(:disabled) {
  border-color: var(--text-strong);
  background: var(--surface-hover);
  color: var(--text-strong);
}

.btn--highlight {
  border-color: var(--highlight-border);
  color: var(--highlight);
  background: var(--highlight-soft);
}
.btn--highlight:hover:not(:disabled) {
  background: var(--highlight);
  color: #000000;
  border-color: var(--highlight);
}

.btn--danger {
  border-color: color-mix(in srgb, var(--danger) 45%, transparent);
  color: var(--danger);
}
.btn--danger:hover:not(:disabled) {
  background: var(--danger);
  color: #FBF7EF;
}

.btn--quiet {
  padding: 0.5rem 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
}
.btn--quiet:hover:not(:disabled) {
  color: var(--text-strong);
  background: var(--surface-hover);
}

.btn--lg {
  padding: 1rem 3rem;
  font-size: 1rem;
}

.btn--sm {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
}

.btn--block {
  width: 100%;
}

.btn--icon {
  padding: 0.5rem;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  letter-spacing: 0;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 4px 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border-default);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-secondary);
  white-space: nowrap;
}
.chip svg {
  width: 13px;
  height: 13px;
}

.chip--accent {
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  background: var(--accent-soft);
  color: var(--accent-text);
}

.chip--highlight {
  border-color: var(--highlight-border);
  background: var(--highlight-soft);
  color: var(--highlight);
}

.chip--muted {
  color: var(--text-muted);
  border-color: var(--border-subtle);
}

.chip--band {
  border-color: var(--highlight-border);
  color: var(--highlight);
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.spinner--lg {
  width: 34px;
  height: 34px;
  border-width: 3px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.field__label {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.field__required {
  color: var(--accent-text);
  font-size: 0.875rem;
  line-height: 1;
}
.field__hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.field__error {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--danger);
}
.field__error svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.field--inline {
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

.input,
.textarea,
.select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--surface-input);
  color: var(--text-primary);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  transition: border-color 140ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 140ms cubic-bezier(0.22, 1, 0.36, 1);
}
.input::placeholder,
.textarea::placeholder,
.select::placeholder {
  color: var(--text-muted);
}
.input:hover:not(:disabled),
.textarea:hover:not(:disabled),
.select:hover:not(:disabled) {
  border-color: var(--border-strong);
}
.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.input:disabled,
.textarea:disabled,
.select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.invalid.input,
.invalid.textarea,
.invalid.select {
  border-color: var(--danger);
}
.invalid.input:focus,
.invalid.textarea:focus,
.invalid.select:focus {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 22%, transparent);
}

.textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
  font-family: inherit;
}

.select {
  appearance: none;
  padding-right: 3rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23AE8337' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.select option {
  background: var(--surface-overlay);
  color: var(--text-primary);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.75rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  transition: border-color 140ms cubic-bezier(0.22, 1, 0.36, 1), background-color 140ms cubic-bezier(0.22, 1, 0.36, 1);
}
.checkbox:hover {
  border-color: var(--border-default);
  background: var(--surface-hover);
}
.checkbox input[type=checkbox] {
  appearance: none;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  background: var(--surface-input);
  cursor: pointer;
  transition: background-color 140ms cubic-bezier(0.22, 1, 0.36, 1), border-color 140ms cubic-bezier(0.22, 1, 0.36, 1);
}
.checkbox input[type=checkbox]:checked {
  background: var(--accent);
  border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M2.5 7.5L5.5 10.5L11.5 3.5' stroke='%23FBF7EF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.checkbox input[type=checkbox]:focus-visible {
  outline: 2px solid var(--highlight);
  outline-offset: 2px;
}
.checkbox__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.checkbox__title {
  font-weight: 550;
  color: var(--text-strong);
}
.checkbox__hint {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.field-row {
  display: grid;
  gap: 0 1rem;
}
@media (min-width: 560px) {
  .field-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-default);
  background: var(--surface-sunken);
  font-size: 0.875rem;
}
.alert svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}
.alert__body {
  flex: 1;
}
.alert__body p {
  max-width: none;
}
.alert__title {
  font-weight: 650;
  color: var(--text-strong);
  margin-bottom: 2px;
}
.alert ul {
  margin: 0.5rem 0 0;
  padding-left: 1.5rem;
}

.alert--error {
  border-color: color-mix(in srgb, var(--danger) 45%, transparent);
  background: color-mix(in srgb, var(--danger) 10%, var(--surface-sunken));
  color: var(--danger);
}

.alert--success {
  border-color: color-mix(in srgb, var(--success) 45%, transparent);
  background: color-mix(in srgb, var(--success) 10%, var(--surface-sunken));
  color: var(--success);
}

.alert--highlight {
  border-color: var(--highlight-border);
  background: var(--highlight-soft);
  color: var(--highlight);
}

.validation-message,
.validation-errors {
  color: var(--danger);
  font-size: 0.875rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.progress {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-sunken);
  border: 1px solid var(--border-subtle);
}
.progress__bar {
  height: 100%;
  background: var(--accent);
  border-radius: inherit;
  transition: width 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.card {
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
}

.card--flush {
  padding: 0;
  overflow: hidden;
}

.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.card__title {
  font-size: 1.125rem;
}

.card__body {
  padding: 1.5rem;
}

.eventcard {
  position: relative;
  display: grid;
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), border-color 240ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 768px) {
  .eventcard {
    grid-template-columns: 300px 1fr;
  }
}
.eventcard:hover {
  transform: translateY(-3px);
  border-color: var(--border-default);
  box-shadow: var(--shadow-md);
}
.eventcard:hover .eventcard__img {
  transform: scale(1.04);
}
.eventcard__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #000000;
  border-radius: 14px 14px 0 0;
}
@media (min-width: 768px) {
  .eventcard__media {
    aspect-ratio: auto;
    min-height: 220px;
    border-radius: 14px 0 0 0;
  }
}
.eventcard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}
.eventcard__img--fallback {
  object-fit: contain;
  padding: 1.5rem;
  background: #000000;
}
.eventcard__datebadge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: grid;
  place-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  background: color-mix(in srgb, #000000 82%, transparent);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(232, 216, 186, 0.18);
  text-align: center;
  line-height: 1.05;
}
.eventcard__month {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #AE8337;
  font-size: 0.6875rem;
}
.eventcard__day {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  line-height: 1.1;
  font-size: 1.75rem;
  color: #FBF7EF;
}
.eventcard__year {
  font-size: 0.6875rem;
  color: rgba(232, 216, 186, 0.55);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}
.eventcard__body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
}
.eventcard__venue {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.011em;
  font-size: 1.75rem;
}
.eventcard__city {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--highlight);
}
.eventcard__address {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.eventcard__address svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent-text);
}
.eventcard__details {
  color: var(--text-secondary);
  font-size: 0.875rem;
}
.eventcard__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.75rem;
}

.upnext {
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.upnext__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface-sunken);
}
.upnext__head svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
}
.upnext__title {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.upnext__count {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  padding: 0.1em 0.5em;
  border-radius: 999px;
  background: var(--accent);
  color: #FBF7EF;
}
.upnext__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 19rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.upnext__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  text-decoration: none;
  color: inherit;
  transition: background-color 140ms cubic-bezier(0.22, 1, 0.36, 1);
}
.upnext__item:hover, .upnext__item:focus-visible {
  background: var(--surface-hover);
}
.upnext__list > li:last-child .upnext__item {
  border-bottom: none;
}
.upnext__date {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.75rem;
  padding: 0.2rem 0;
  border-radius: 4px;
  background: var(--accent-soft);
  line-height: 1.05;
}
.upnext__mon {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: 0.5625rem;
}
.upnext__day {
  font-size: 1.125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text-strong);
}
.upnext__where {
  min-width: 0;
}
.upnext__venue {
  display: block;
  font-weight: 650;
  color: var(--text-strong);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.upnext__city {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eventcard--next {
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: 0 0 0 1px var(--accent-soft), var(--shadow-md);
}

.eventcard--open:hover {
  transform: none;
}

.eventposts {
  grid-column: 1/-1;
  border-top: 1px solid var(--border-subtle);
  background: var(--surface-sunken);
  border-radius: 0 0 14px 14px;
}
.eventposts__toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1.5rem;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 140ms cubic-bezier(0.22, 1, 0.36, 1), background-color 140ms cubic-bezier(0.22, 1, 0.36, 1);
}
.eventposts__toggle:hover {
  color: var(--text-strong);
  background: var(--surface-hover);
}
.eventposts__toggle:last-child {
  border-radius: 0 0 14px 14px;
}
.eventposts__toggle svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: var(--accent-text);
}
.eventposts__chevron {
  margin-left: auto;
  display: grid;
  place-items: center;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.eventposts__chevron svg {
  color: var(--text-muted);
}
.eventposts__chevron--open {
  transform: rotate(90deg);
}
.eventposts__body {
  border-top: 1px solid var(--border-subtle);
  animation: slide-up 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 4rem 1.5rem;
  text-align: center;
  border: 1px dashed var(--border-default);
  border-radius: 14px;
  background: var(--surface-sunken);
}
.empty__mark {
  width: 84px;
  height: 84px;
  object-fit: contain;
  opacity: 0.35;
  filter: grayscale(0.4);
}
.empty__title {
  font-size: 1.375rem;
}
.empty__text {
  color: var(--text-muted);
  max-width: 46ch;
}

.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 4rem;
  color: var(--text-muted);
}
.loading .spinner--lg {
  color: var(--accent-text);
}

.skeleton {
  border-radius: 8px;
  background: linear-gradient(90deg, var(--surface-sunken) 0%, var(--surface-hover) 50%, var(--surface-sunken) 100%);
  background-size: 320px 100%;
  animation: shimmer 1.4s linear infinite;
}

.hero {
  position: relative;
  min-height: min(92vh, 880px);
  display: grid;
  grid-template-rows: auto 1fr;
  background: #000000;
  color: #E8D8BC;
}
.hero__badge {
  display: grid;
  place-items: center;
  padding-block: clamp(2rem, 7vh, 6rem);
  padding-inline: 1rem;
}
.hero__lit {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding-block: 3rem 6rem;
  background: #000000;
}
.hero__lit::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__stage {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(58% 44% at 50% 38%, rgba(153, 18, 22, 0.3), transparent 68%), radial-gradient(90% 70% at 50% 120%, rgba(174, 131, 55, 0.16), transparent 70%), #000000;
}
.hero__spot {
  position: absolute;
  z-index: -1;
  width: 62vmax;
  height: 62vmax;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  mix-blend-mode: screen;
  will-change: transform;
}
.hero__spot--red {
  background: radial-gradient(circle, rgba(153, 18, 22, 0.55), transparent 62%);
  top: -18vmax;
  left: -14vmax;
  animation: drift-a 26s cubic-bezier(0.65, 0, 0.35, 1) infinite alternate;
}
.hero__spot--gold {
  background: radial-gradient(circle, rgba(174, 131, 55, 0.34), transparent 62%);
  bottom: -22vmax;
  right: -16vmax;
  animation: drift-b 34s cubic-bezier(0.65, 0, 0.35, 1) infinite alternate;
}
.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(70% 60% at 50% 45%, transparent 40%, var(--hero-vignette) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  padding-inline: 1rem;
  max-width: 900px;
}
.hero__logo {
  width: min(74vw, 400px);
  height: auto;
  filter: drop-shadow(0 0 60px var(--logo-glow));
  animation: hero-rise 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero__tagline {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #AE8337;
  font-size: 1rem;
  letter-spacing: 0.16em;
  animation: hero-rise 900ms 160ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero__line {
  font-family: "Bodoni MT", "Didot", "Playfair Display", "Hoefler Text", Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.015em;
  font-size: clamp(1.5rem, 4.2vw, 2.75rem);
  color: #FBF7EF;
  text-wrap: balance;
  animation: hero-rise 900ms 240ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero__line em {
  font-style: italic;
  color: rgb(85.0526315789%, 10.0061919505%, 12.2297901617%);
}
.hero__blurb {
  max-width: 58ch;
  color: rgba(232, 216, 186, 0.72);
  font-size: 1.125rem;
  animation: hero-rise 900ms 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
  animation: hero-rise 900ms 400ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(232, 216, 186, 0.45);
  font-size: 0.6875rem;
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, rgba(232, 216, 186, 0.45), transparent);
  animation: scroll-hint 2.4s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@media (max-width: 767px) {
  .hero__scroll {
    display: none;
  }
}

.equalizer {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 96px;
  padding-inline: 1rem;
  opacity: 0.5;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.equalizer__bar {
  width: clamp(3px, 0.9vw, 9px);
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, #991216, rgba(174, 131, 55, 0.5));
  animation: eq-bounce 1.1s cubic-bezier(0.65, 0, 0.35, 1) infinite alternate;
}

@media (prefers-reduced-motion: reduce) {
  .equalizer__bar {
    height: 22px !important;
  }
}
.ticket {
  position: relative;
  display: grid;
  gap: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--highlight-border);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--highlight-soft), transparent 55%), var(--surface-raised);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
@media (min-width: 768px) {
  .ticket {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 3rem;
  }
}
.ticket::before {
  content: "";
  position: absolute;
  inset: 1rem auto 1rem auto;
  display: none;
}
@media (min-width: 768px) {
  .ticket::before {
    display: block;
    right: 232px;
    width: 1px;
    background: repeating-linear-gradient(180deg, var(--highlight-border) 0 6px, transparent 6px 12px);
  }
}
.ticket__eyebrow {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--highlight);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.ticket__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: pulse-dot 2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.ticket__venue {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.011em;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}
.ticket__where {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}
.ticket__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ticket__countdown {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}
.ticket__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 62px;
  padding: 0.75rem 0.5rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-sunken);
}
.ticket__value {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  line-height: 1.1;
  font-size: 1.75rem;
  color: var(--highlight);
}
.ticket__unit-label {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
}

.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 1rem;
  border-block: 1px solid var(--border-subtle);
  background: var(--surface-sunken);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee-scroll 42s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee__item {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.011em;
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  font-style: italic;
}
.marquee__item::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
  }
}
.welcome {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .welcome {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }
}
.welcome__body p + p {
  margin-top: 1rem;
}
.welcome__body p {
  color: var(--text-secondary);
  font-size: 1.125rem;
}
.welcome__body > p:first-of-type::first-letter {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.011em;
  float: left;
  font-size: 3.4rem;
  line-height: 0.9;
  padding: 4px 0.75rem 0 0;
  color: var(--accent-text);
}
.welcome__aside {
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  background: linear-gradient(160deg, var(--accent-soft), transparent 50%), var(--surface-raised);
}
.welcome__aside-title {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--highlight);
  margin-bottom: 1rem;
}
.welcome__facts {
  display: grid;
  gap: 1rem;
}
.welcome__fact {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: baseline;
}
.welcome__fact-num {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  line-height: 1.1;
  font-size: 1.75rem;
  color: var(--highlight);
}
.welcome__fact-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.offer {
  position: relative;
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 2rem 1.5rem 1.5rem;
  overflow: hidden;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), border-color 240ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.offer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--highlight));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}
.offer:hover {
  transform: translateY(-4px);
  border-color: var(--border-default);
  box-shadow: var(--shadow-md);
}
.offer:hover::before {
  transform: scaleX(1);
}
.offer__num {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--highlight);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}
.offer__title {
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
}
.offer__text {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.lineup {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.lineup__card {
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 1rem;
  text-align: center;
}
.lineup__avatar {
  display: flex;
  margin: 0 auto 0.75rem;
}
.lineup__name {
  font-weight: 600;
  color: var(--text-strong);
}
.lineup__role {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--highlight);
  font-size: 0.75rem;
  margin-top: 2px;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: 4rem;
  text-align: center;
  background: #000000;
  color: #E8D8BC;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 100% at 50% 100%, rgba(153, 18, 22, 0.35), transparent 70%);
}
.cta-band__inner {
  position: relative;
  z-index: 1;
}
.cta-band__title {
  color: #FBF7EF;
  margin-bottom: 0.75rem;
}
.cta-band__text {
  margin: 0 auto 1.5rem;
  color: rgba(232, 216, 186, 0.7);
}

.pastevent {
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}
.pastevent__head {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  background: var(--surface-sunken);
  border-bottom: 1px solid var(--border-subtle);
  border-radius: 14px 14px 0 0;
}
@media (min-width: 560px) {
  .pastevent__head {
    grid-template-columns: 92px 1fr auto;
    align-items: center;
  }
}
.pastevent__thumb {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: #000000;
}
.pastevent__thumb--fallback {
  object-fit: contain;
  padding: 0.5rem;
}
.pastevent__venue {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.011em;
  font-size: 1.375rem;
}
.pastevent__where {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--highlight);
  margin-top: 2px;
}
.pastevent__when {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}
.pastevent__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}
@media (min-width: 560px) {
  .pastevent__aside {
    align-items: flex-end;
  }
}
.pastevent__feed {
  padding: 1rem;
}

.avatar {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface-hover);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  line-height: 1;
  user-select: none;
}
.avatar__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avatar--band {
  background: var(--accent);
  border-color: var(--accent);
  color: #FBF7EF;
}
.avatar--sm {
  width: 32px;
  height: 32px;
  font-size: 0.75rem;
}
.avatar--lg {
  width: 56px;
  height: 56px;
  font-size: 1.125rem;
}
.avatar--xl {
  width: 96px;
  height: 96px;
  font-size: 1.75rem;
}

.composer {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--surface-sunken);
  transition: border-color 140ms cubic-bezier(0.22, 1, 0.36, 1);
}
.composer:focus-within {
  border-color: var(--accent);
}
.composer__input {
  width: 100%;
  min-height: 64px;
  padding: 0.5rem 0;
  background: none;
  border: none;
  color: var(--text-primary);
  resize: vertical;
  font-family: inherit;
  line-height: 1.6;
}
.composer__input::placeholder {
  color: var(--text-muted);
}
.composer__input:focus {
  outline: none;
}
.composer__bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}
.composer__count {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.composer__count--over {
  color: var(--danger);
}
.composer__attach {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1px dashed var(--border-default);
  color: var(--text-secondary);
  font-size: 0.875rem;
  cursor: pointer;
  transition: border-color 140ms cubic-bezier(0.22, 1, 0.36, 1), color 140ms cubic-bezier(0.22, 1, 0.36, 1);
}
.composer__attach:hover {
  border-color: var(--highlight-border);
  color: var(--highlight);
}
.composer__attach svg {
  width: 16px;
  height: 16px;
}
.composer__attach input[type=file] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.composer__previews {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.composer__preview {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.5rem 0.5rem 0.75rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-raised);
  font-size: 0.75rem;
  max-width: 220px;
}
.composer__preview span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.composer__preview button {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.composer__preview button:hover {
  color: var(--danger);
  background: var(--surface-hover);
}

.composer-prompt {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px dashed var(--border-default);
  border-radius: 14px;
  color: var(--text-muted);
  font-size: 0.875rem;
}
.composer-prompt svg {
  width: 18px;
  height: 18px;
  color: var(--highlight);
  flex-shrink: 0;
}

.post {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.75rem;
  padding: 1rem 0;
  animation: slide-up 240ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.post + .post {
  border-top: 1px solid var(--border-subtle);
}
.post__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.post__author {
  font-weight: 650;
  color: var(--text-strong);
}
.post__handle, .post__realname, .post__time {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.post__role {
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.post__realname {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.post__dot {
  color: var(--text-muted);
}
.post__menu {
  margin-left: auto;
}
.post__body {
  color: var(--text-primary);
  white-space: pre-wrap;
  max-width: none;
}
.post__media {
  display: grid;
  gap: 3px;
  margin-top: 0.75rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}
.post__media[data-count="1"] {
  grid-template-columns: 1fr;
}
.post__media[data-count="2"] {
  grid-template-columns: 1fr 1fr;
}
.post__media[data-count="3"] {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.post__media[data-count="3"] > *:first-child {
  grid-row: span 2;
}
.post__media[data-count="4"] {
  grid-template-columns: 1fr 1fr;
}
.post__media[data-count="5"], .post__media[data-count="6"], .post__media[data-count="7"], .post__media[data-count="8"] {
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}
.post__thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #000000;
  cursor: pointer;
  border: none;
  padding: 0;
}
.post__thumb img,
.post__thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), opacity 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.post__thumb:hover img, .post__thumb:hover video {
  transform: scale(1.03);
  opacity: 0.88;
}
.post__thumb:focus-visible {
  outline: 2px solid var(--highlight);
  outline-offset: -2px;
}
.post__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.post__play span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: color-mix(in srgb, #000000 66%, transparent);
  border: 1px solid rgba(232, 216, 186, 0.4);
  color: #FBF7EF;
  backdrop-filter: blur(4px);
}
.post__play svg {
  width: 20px;
  height: 20px;
  margin-left: 3px;
}
.post__actions {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
}

.sharemenu {
  position: relative;
}
.sharemenu__panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 300;
  min-width: 250px;
  padding: 0.5rem;
  background: var(--surface-overlay);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  animation: pop-in 140ms cubic-bezier(0.22, 1, 0.36, 1);
}
.sharemenu__heading {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.5rem 0.75rem;
}
.sharemenu__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  text-align: left;
  font-size: 0.875rem;
  color: var(--text-primary);
  transition: background-color 140ms cubic-bezier(0.22, 1, 0.36, 1), color 140ms cubic-bezier(0.22, 1, 0.36, 1);
}
.sharemenu__item:hover {
  background: var(--surface-hover);
  color: var(--text-strong);
}
.sharemenu__item svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.sharemenu__note {
  padding: 0.5rem 0.75rem 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.sharemenu__divider {
  height: 1px;
  margin: 0.5rem 0;
  background: var(--border-subtle);
}
.sharemenu__toast {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0.25rem 0;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 0.75rem;
}
.sharemenu__toast svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.feed-empty {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.pager__page {
  min-width: 38px;
  height: 38px;
  padding-inline: 0.5rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
  transition: border-color 140ms cubic-bezier(0.22, 1, 0.36, 1), color 140ms cubic-bezier(0.22, 1, 0.36, 1);
}
.pager__page:hover:not(:disabled) {
  border-color: var(--border-strong);
  color: var(--text-strong);
}
.pager__page--current {
  background: var(--accent);
  border-color: var(--accent);
  color: #FBF7EF;
}
.pager__page--current:hover {
  color: #FBF7EF;
}
.pager__page:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.pager__info {
  margin-inline: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  animation: fade-in 140ms cubic-bezier(0.22, 1, 0.36, 1);
}
.modal__panel {
  position: relative;
  width: min(100%, 620px);
  max-height: calc(100dvh - 4rem);
  display: flex;
  flex-direction: column;
  background: var(--surface-overlay);
  border: 1px solid var(--border-default);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  animation: pop-in 240ms cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}
.modal__panel > form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}
.modal__panel--wide {
  width: min(100%, 900px);
}
.modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}
.modal__title {
  font-size: 1.375rem;
}
.modal__subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.modal__body {
  padding: 1.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  flex: 1 1 auto;
  min-height: 0;
}
.modal__foot {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--surface-sunken);
  flex-shrink: 0;
}
.modal__close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 8px;
  color: var(--text-muted);
  transition: color 140ms cubic-bezier(0.22, 1, 0.36, 1), background-color 140ms cubic-bezier(0.22, 1, 0.36, 1);
}
.modal__close:hover {
  color: var(--text-strong);
  background: var(--surface-hover);
}
.modal__close svg {
  width: 18px;
  height: 18px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: rgba(0, 0, 0, 0.94);
  animation: fade-in 140ms cubic-bezier(0.22, 1, 0.36, 1);
  color: #E8D8BC;
}
.lightbox__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(232, 216, 186, 0.12);
}
.lightbox__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.lightbox__name {
  font-weight: 650;
  color: #FBF7EF;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lightbox__meta {
  font-size: 0.75rem;
  color: rgba(232, 216, 186, 0.5);
}
.lightbox__counter {
  margin-left: auto;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(232, 216, 186, 0.55);
  font-variant-numeric: tabular-nums;
}
.lightbox__close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(232, 216, 186, 0.2);
  color: #E8D8BC;
}
.lightbox__close:hover {
  background: rgba(232, 216, 186, 0.1);
  border-color: #AE8337;
  color: #AE8337;
}
.lightbox__close svg {
  width: 18px;
  height: 18px;
}
.lightbox__stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 1rem;
  min-height: 0;
}
.lightbox__media {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8);
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(232, 216, 186, 0.2);
  color: #E8D8BC;
  backdrop-filter: blur(4px);
  transition: background-color 140ms cubic-bezier(0.22, 1, 0.36, 1), border-color 140ms cubic-bezier(0.22, 1, 0.36, 1);
}
.lightbox__nav:hover:not(:disabled) {
  background: #991216;
  border-color: #991216;
  color: #FBF7EF;
}
.lightbox__nav:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}
.lightbox__nav svg {
  width: 20px;
  height: 20px;
}
.lightbox__nav--prev {
  left: 1rem;
}
.lightbox__nav--next {
  right: 1rem;
}
.lightbox__foot {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(232, 216, 186, 0.12);
}
.lightbox__caption {
  max-width: 76ch;
  color: rgba(232, 216, 186, 0.82);
  font-size: 0.875rem;
  white-space: pre-wrap;
}
.lightbox__strip {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}
.lightbox__thumb {
  width: 62px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid transparent;
  opacity: 0.5;
  transition: opacity 140ms cubic-bezier(0.22, 1, 0.36, 1), border-color 140ms cubic-bezier(0.22, 1, 0.36, 1);
  padding: 0;
  background: #000000;
}
.lightbox__thumb img,
.lightbox__thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lightbox__thumb:hover {
  opacity: 0.85;
}
.lightbox__thumb--active {
  opacity: 1;
  border-color: #AE8337;
}

.confirm__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--danger) 16%, transparent);
  color: var(--danger);
}
.confirm__icon svg {
  width: 22px;
  height: 22px;
}
.confirm__text {
  color: var(--text-secondary);
}

.admin {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .admin {
    grid-template-columns: 232px 1fr;
  }
}
.admin__side {
  position: sticky;
  top: calc(68px + 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
@media (max-width: 1023px) {
  .admin__side {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
  }
}
.admin__sidetitle {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--highlight);
  padding: 0.5rem 0.75rem 0.75rem;
}
@media (max-width: 1023px) {
  .admin__sidetitle {
    width: 100%;
    padding-bottom: 0.5rem;
  }
}
.admin__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: color 140ms cubic-bezier(0.22, 1, 0.36, 1), background-color 140ms cubic-bezier(0.22, 1, 0.36, 1);
}
.admin__link svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.admin__link:hover {
  background: var(--surface-hover);
  color: var(--text-strong);
}
.admin__link.active {
  background: var(--accent-soft);
  color: var(--text-strong);
  box-shadow: inset 3px 0 0 var(--accent);
}
.admin__badge {
  margin-left: auto;
  min-width: 22px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #FBF7EF;
  font-size: 0.6875rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.admin__main {
  min-width: 0;
}

.stats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 2rem;
}

.stat {
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.stat__label {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.stat__value {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  line-height: 1.1;
  font-size: 2.25rem;
  color: var(--text-strong);
}
.stat__note {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.stat--attention {
  border-color: var(--highlight-border);
  background: linear-gradient(150deg, var(--highlight-soft), transparent 60%), var(--surface-raised);
}
.stat--attention .stat__value {
  color: var(--highlight);
}

.adminnav {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.admincard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--surface-raised);
  box-shadow: var(--shadow-sm);
  color: var(--text-primary);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), border-color 240ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.admincard:hover {
  transform: translateY(-3px);
  border-color: var(--border-default);
  box-shadow: var(--shadow-md);
  color: var(--text-primary);
}
.admincard:hover .admincard__go {
  transform: translateX(3px);
  color: var(--highlight);
}
.admincard__top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.admincard__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-text);
}
.admincard__icon svg {
  width: 20px;
  height: 20px;
}
.admincard__title {
  font-size: 1.125rem;
  color: var(--text-strong);
}
.admincard__count {
  margin-left: auto;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  line-height: 1.1;
  font-size: 1.375rem;
  color: var(--text-muted);
}
.admincard__text {
  color: var(--text-secondary);
  font-size: 0.875rem;
  max-width: none;
  flex: 1;
}
.admincard__go {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--accent-text);
  transition: transform 140ms cubic-bezier(0.22, 1, 0.36, 1), color 140ms cubic-bezier(0.22, 1, 0.36, 1);
}
.admincard__go svg {
  width: 15px;
  height: 15px;
}
.admincard--attention {
  border-color: var(--highlight-border);
  background: linear-gradient(150deg, var(--highlight-soft), transparent 55%), var(--surface-raised);
}
.admincard--attention .admincard__icon {
  background: var(--highlight-soft);
  color: var(--highlight);
}
.admincard--attention .admincard__count {
  color: var(--highlight);
}

.tablewrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 0;
}

.table {
  min-width: 640px;
  font-size: 0.875rem;
}
.table th {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-default);
  white-space: nowrap;
  background: var(--surface-sunken);
  position: sticky;
  top: 0;
  z-index: 1;
}
.table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}
.table tbody tr {
  transition: background-color 140ms cubic-bezier(0.22, 1, 0.36, 1);
}
.table tbody tr:hover {
  background: var(--surface-hover);
}
.table tbody tr:last-child td {
  border-bottom: none;
}
.table__primary {
  font-weight: 600;
  color: var(--text-strong);
}
.table__sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.table__actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  align-items: center;
}
.table__row--attention {
  box-shadow: inset 3px 0 0 var(--highlight);
  background: var(--highlight-soft);
}
.table__num {
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.table__row--selected {
  box-shadow: inset 3px 0 0 var(--accent);
  background: var(--surface-hover);
}
.table__tick {
  width: 1%;
  padding-right: 0;
  text-align: center;
}
.table__tick input {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.table__nowrap {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.table__ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 22ch;
}
.table__clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 34ch;
  color: var(--text-secondary);
}

.table--rows-quiet tbody tr:hover {
  background: transparent;
}

.table--media {
  min-width: 940px;
}

.media__thumb {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface-sunken);
  border: 1px solid var(--border-subtle);
}
.media__thumb img,
.media__thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media__thumb:hover {
  border-color: var(--accent);
}
.media__thumbplay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #FBF7EF;
  background: rgba(0, 0, 0, 0.35);
}
.media__thumbplay svg {
  width: 20px;
  height: 20px;
}

.filetype {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.filetype__icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 4px;
}
.filetype__icon svg {
  width: 15px;
  height: 15px;
}
.filetype__icon--image {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}
.filetype__icon--video {
  color: var(--highlight);
  background: color-mix(in srgb, var(--highlight) 16%, transparent);
}
.filetype__label {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.toolbar__search {
  position: relative;
  flex: 1 1 220px;
  max-width: 340px;
}
.toolbar__search svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}
.toolbar__search input {
  padding-left: calc(0.75rem + 24px);
}
.toolbar__spacer {
  flex: 1;
}

.request {
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 1rem 1.5rem;
  display: grid;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  border-left: 3px solid var(--accent);
}
.request--handled {
  border-left-color: var(--border-default);
  opacity: 0.72;
}
.request__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem;
}
.request__name {
  font-weight: 650;
  color: var(--text-strong);
  font-size: 1.125rem;
}
.request__when {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: auto;
}
.request__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
}
.request__contacts a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.request__contacts svg {
  width: 14px;
  height: 14px;
}
.request__details {
  white-space: pre-wrap;
  color: var(--text-secondary);
  max-width: none;
}
.request__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

.profile__avatar-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.signin {
  display: grid;
  place-items: center;
  min-height: calc(100dvh - 68px - 56px);
  padding: 3rem 1rem;
}
.signin__panel {
  width: min(100%, 420px);
  padding: 2rem;
  border: 1px solid var(--border-default);
  border-radius: 14px;
  background: var(--surface-raised);
  box-shadow: var(--shadow-lg);
}
.signin__mark {
  width: 96px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: #000000;
}
.signin__title {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}
.signin__lead {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: 0 auto 1.5rem;
}
.signin__hint {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px dashed var(--highlight-border);
  background: var(--highlight-soft);
  font-size: 0.75rem;
  color: var(--highlight);
  text-align: center;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-default);
}
.tabs__tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  color: var(--text-secondary);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: color 140ms cubic-bezier(0.22, 1, 0.36, 1), border-color 140ms cubic-bezier(0.22, 1, 0.36, 1);
}
.tabs__tab svg {
  width: 16px;
  height: 16px;
}
.tabs__tab:hover {
  color: var(--text-strong);
}
.tabs__tab--active {
  color: var(--text-strong);
  border-bottom-color: var(--accent);
}
.tabs__count {
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  padding: 0 0.4em;
  border-radius: 999px;
  background: var(--surface-hover);
  color: var(--text-muted);
}

.chip--xs {
  font-size: 0.625rem;
  padding: 0.1em 0.45em;
}

.setbuilder {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}
@media (min-width: 768px) {
  .setbuilder {
    grid-template-columns: 1fr 1fr;
  }
}
.setbuilder__pane {
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 1rem;
  min-width: 0;
}
.setbuilder__panehead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
  font-weight: 650;
  color: var(--text-strong);
}
.setbuilder__total {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}
.setbuilder__hint {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}
.setbuilder__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 46vh;
  overflow-y: auto;
}
.setbuilder__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}
.setbuilder__item:last-child {
  border-bottom: none;
}
.setbuilder__num {
  flex-shrink: 0;
  width: 1.75rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.setbuilder__text {
  display: block;
  min-width: 0;
  flex: 1;
}
.setbuilder__title {
  display: block;
  font-weight: 600;
  color: var(--text-strong);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.setbuilder__sub {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.setbuilder__controls {
  display: flex;
  gap: 0.15rem;
  flex-shrink: 0;
}

.setlistpanel {
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.setlistpanel + .setlistpanel {
  margin-top: 0.5rem;
}
.setlistpanel__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.setlistpanel__head:hover {
  background: var(--surface-hover);
}
.setlistpanel__head svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--accent);
}
.setlistpanel__name {
  font-weight: 650;
  color: var(--text-strong);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.setlistpanel__meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.setlistpanel__chevron {
  margin-left: auto;
  display: grid;
  place-items: center;
  transition: transform 140ms cubic-bezier(0.22, 1, 0.36, 1);
}
.setlistpanel--open .setlistpanel__chevron {
  transform: rotate(90deg);
}
.setlistpanel__body {
  padding: 0 1rem 1rem;
  border-top: 1px solid var(--border-subtle);
}
.setlistpanel__songs {
  margin: 0.75rem 0 0;
  padding-left: 1.6rem;
}
.setlistpanel__song {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0 0.75rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border-subtle);
}
.setlistpanel__song:last-child {
  border-bottom: none;
}
.setlistpanel__songname {
  font-weight: 600;
  color: var(--text-strong);
}
.setlistpanel__songartist {
  grid-column: 1;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.setlistpanel__songlength {
  grid-row: 1/span 2;
  grid-column: 2;
  align-self: center;
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
}
.setlistpanel__foot {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.eventsets {
  margin: 1rem 0;
}

.printpage {
  min-height: 100vh;
  padding: 1.5rem;
  background: var(--surface-base);
}

.printsetup {
  max-width: 1180px;
  margin: 0 auto;
}
.printsetup__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.printsetup__grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .printsetup__grid {
    grid-template-columns: 360px 1fr;
  }
}
.printsetup__previewhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-weight: 650;
  color: var(--text-strong);
}
.printsetup__value {
  min-width: 4.5rem;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  color: var(--text-strong);
}
.printsetup__warn {
  display: block;
  margin-top: 0.25rem;
  color: var(--highlight);
}

.printpreview {
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 1rem;
  overflow: hidden;
}
.printpreview__scaler {
  --preview-scale: .34;
  width: calc(7.5in * var(--preview-scale));
  max-width: 100%;
  overflow: hidden;
}

.sheet {
  --sheet-header: 24pt;
  --sheet-song: 28pt;
  color: #000;
  background: #fff;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.sheet__page {
  box-sizing: border-box;
  width: 7.5in;
  min-height: 10in;
  padding: 0;
  background: #fff;
}
.sheet__page + .sheet__page {
  break-before: page;
  page-break-before: always;
}
.sheet__title {
  margin: 0 0 0.5em;
  font-family: "Bodoni MT", "Didot", "Playfair Display", "Hoefler Text", Georgia, "Times New Roman", serif;
  font-size: var(--sheet-header);
  line-height: 1.1;
  text-align: center;
  letter-spacing: 0.02em;
  border-bottom: 2px solid #000;
  padding-bottom: 0.25em;
  color: #000;
}
.sheet__songs {
  margin: 0;
  padding-left: 2.2em;
  font-size: var(--sheet-song);
  line-height: 1.55;
}
.sheet__song {
  display: flex;
  align-items: baseline;
  gap: 0.75em;
  break-inside: avoid;
}
.sheet__songname {
  flex: 1;
  font-weight: 650;
}
.sheet__songlength {
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  font-size: 0.6em;
  opacity: 0.75;
}
.sheet--preview {
  transform: scale(var(--preview-scale));
  transform-origin: top left;
  width: 7.5in;
}
.sheet--preview .sheet__page {
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
  margin-bottom: calc(0.4in / var(--preview-scale));
  padding: 0.5in;
  width: 8.5in;
  min-height: 11in;
}

.mediagrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 0.5rem;
}
.mediagrid__item {
  position: relative;
  aspect-ratio: 16/9;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface-base);
  border: 2px solid var(--border-subtle);
  border-radius: 8px;
}
.mediagrid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: opacity 140ms cubic-bezier(0.22, 1, 0.36, 1);
}
.mediagrid__item:hover img, .mediagrid__item:focus-visible img {
  opacity: 0.85;
}
.mediagrid__item--chosen {
  border-color: var(--accent);
}
.mediagrid__item--chosen img {
  opacity: 1;
}
.mediagrid__item {
  outline: 2px solid var(--highlight);
  outline-offset: 2px;
}
.mediagrid__check {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  color: #fff;
  background: var(--accent);
  border-radius: 50%;
}

.photopicker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 1rem;
  align-items: start;
}
@media (max-width: 767px) {
  .photopicker {
    grid-template-columns: minmax(0, 1fr);
  }
}
.photopicker__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 22rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}
.photopicker__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  text-align: left;
  cursor: pointer;
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 140ms cubic-bezier(0.22, 1, 0.36, 1);
}
.photopicker__row:hover {
  background: var(--surface-hover);
}
.photopicker__row--active {
  background: var(--surface-hover);
  box-shadow: inset 3px 0 0 var(--accent);
}
.photopicker__row img {
  width: 52px;
  height: 38px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 4px;
  background: var(--surface-base);
}
.photopicker__row {
  outline: 2px solid var(--highlight);
  outline-offset: 2px;
}
.photopicker__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.photopicker__name {
  font-size: 0.875rem;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.photopicker__meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.photopicker__preview {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-sunken);
}
.photopicker__image {
  width: 100%;
  max-height: 16rem;
  object-fit: contain;
  border-radius: 4px;
  background: #000000;
}
.photopicker__hint {
  margin: auto;
  padding: 2rem 0;
  color: var(--text-muted);
  font-size: 0.875rem;
  text-align: center;
}

.printonly {
  display: none;
}

@media print {
  .printhide {
    display: none !important;
  }
  .printpage {
    padding: 0;
    background: #fff;
    min-height: 0;
  }
  .printonly {
    display: block;
  }
  .sheet__page {
    width: auto;
    min-height: 0;
    padding: 0;
  }
}
@page {
  size: letter;
  margin: 0.5in;
}
.lookup {
  position: relative;
}
.lookup__menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.25rem;
  list-style: none;
  max-height: 17rem;
  overflow-y: auto;
  background: var(--surface-overlay);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}
.lookup__option {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: none;
  border: none;
  border-radius: 4px;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.lookup__option:hover, .lookup__option--active {
  background: var(--surface-hover);
}
.lookup__primary {
  display: block;
  font-weight: 600;
  color: var(--text-strong);
}
.lookup__secondary {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invlines {
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 1rem;
  margin-top: 1rem;
}
.invlines__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
  font-weight: 650;
  color: var(--text-strong);
}
.invlines__row, .invlines__legend {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5rem 7rem 6.5rem 2.25rem;
  gap: 0.5rem;
  align-items: center;
}
.invlines__row {
  margin-bottom: 0.5rem;
}
.invlines__legend {
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.invlines__qty, .invlines__amount, .invlines__total {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.invlines__total {
  font-weight: 650;
  color: var(--text-strong);
}
@media (max-width: 767px) {
  .invlines__row {
    grid-template-columns: 1fr 1fr;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
  }
  .invlines__desc {
    grid-column: 1/-1;
  }
  .invlines__legend {
    display: none;
  }
}

.invtotals {
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 1rem;
  margin-top: 1rem;
  margin-left: auto;
  max-width: 22rem;
}
.invtotals__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.3rem 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}
.invtotals__row--grand {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 2px solid var(--accent);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-strong);
}

.invoice {
  --ink: #1A1614;
  --ink-soft: rgba(26, 22, 20, .62);
  --hairline: rgba(26, 22, 20, .14);
  --brand-red: #991216;
  --brand-gold: #AE8337;
  box-sizing: border-box;
  width: 100%;
  max-width: 7.5in;
  margin: 0 auto;
  padding: 2rem;
  background: #fff;
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 11pt;
  line-height: 1.5;
}
.invoice--compact {
  font-size: 9.5pt;
  padding: 1.5rem;
}
.invoice__masthead {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}
.invoice__logo {
  width: 74px;
  height: 74px;
  display: block;
  background: #000;
  border-radius: 4px;
}
.invoice__wordmark {
  font-family: "Bodoni MT", "Didot", "Playfair Display", "Hoefler Text", Georgia, "Times New Roman", serif;
  font-size: 1.55em;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.1;
}
.invoice__tagline {
  font-size: 0.72em;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brand-gold);
  font-weight: 700;
}
.invoice__origin {
  font-size: 0.78em;
  color: var(--ink-soft);
  padding-top: 2px;
}
.invoice__ref {
  text-align: right;
}
.invoice__reflabel {
  font-size: 0.68em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-gold);
  font-weight: 700;
}
.invoice__refnumber {
  font-size: 1.4em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.invoice__stamp {
  display: inline-block;
  margin-top: 0.3em;
  padding: 0.1em 0.5em;
  border: 2px solid currentcolor;
  border-radius: 4px;
  font-size: 0.68em;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.invoice__stamp--paid {
  color: #1F6B33;
}
.invoice__stamp--void {
  color: var(--ink-soft);
}
.invoice__rule {
  height: 3px;
  background: var(--brand-red);
  margin: 1rem 0 1.5rem;
}
.invoice__parties {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 560px) {
  .invoice__parties {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}
.invoice__blocklabel {
  font-size: 0.68em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-gold);
  font-weight: 700;
}
.invoice__customer {
  font-size: 1.15em;
  font-weight: 700;
  padding-top: 2px;
}
.invoice__blockline {
  color: var(--ink-soft);
  font-size: 0.92em;
}
.invoice__block--dates {
  text-align: right;
}
.invoice__daterow {
  padding-bottom: 0.45em;
}
.invoice__datevalue {
  display: block;
  font-size: 0.95em;
}
.invoice__items {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}
.invoice__items th {
  padding: 0.5em 0.75em 0.5em 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.68em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-gold);
  font-weight: 700;
  text-align: left;
}
.invoice__items td {
  padding: 0.6em 0.75em 0.6em 0;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}
.invoice__num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.invoice__linetotal {
  font-weight: 700;
}
.invoice__empty {
  color: var(--ink-soft);
  font-style: italic;
}
.invoice__totals {
  margin-left: auto;
  max-width: 21rem;
}
.invoice__totalrow {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.3em 0;
  font-size: 0.95em;
  color: var(--ink-soft);
}
.invoice__totalrow--grand {
  margin-top: 0.3em;
  padding-top: 0.5em;
  border-top: 2px solid var(--brand-red);
  font-size: 1.25em;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.invoice__reason {
  display: block;
  font-size: 0.82em;
  font-style: italic;
}
.invoice__notes {
  margin-top: 1.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--hairline);
}
.invoice__notes p {
  margin: 0.25em 0 0;
  color: var(--ink-soft);
  font-size: 0.92em;
  white-space: pre-wrap;
}
.invoice__foot {
  margin-top: 1.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.82em;
  color: var(--ink-soft);
}
.invoice__sent {
  display: block;
  padding-top: 0.2em;
}

.invoicepage {
  padding: 1.5rem 0;
}
.invoicepage .invoice {
  box-shadow: var(--shadow-lg);
  border-radius: 8px;
}

.invoicepreview {
  background: var(--surface-sunken);
}
.invoicepreview .invoice {
  box-shadow: var(--shadow-md);
  border-radius: 4px;
}

@media print {
  .invoicepage {
    padding: 0;
  }
  .invoice {
    max-width: none;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
  }
}
:root,
:root[data-theme=dark] {
  --series-invoiced: #be161b;
  --series-collected: #ae8b37;
  --funnel-draft: #8c1014;
  --funnel-sent: #c7171d;
  --funnel-paid: #eb9a9d;
  --funnel-out: #6b6157;
  --chart-grid: rgba(232, 216, 188, 0.09);
  --chart-axis: rgba(232, 216, 188, 0.2);
  --chart-track: rgba(232, 216, 188, 0.06);
  --chart-ink: #9d9384;
}

:root[data-theme=light] {
  --series-invoiced: #991216;
  --series-collected: #AE8337;
  --funnel-draft: #e59a9c;
  --funnel-sent: #c54a4e;
  --funnel-paid: #991216;
  --funnel-out: #8C7A5C;
  --chart-grid: rgba(26, 22, 20, 0.08);
  --chart-axis: rgba(26, 22, 20, 0.18);
  --chart-track: rgba(26, 22, 20, 0.06);
  --chart-ink: #6b6357;
}

.hero-figure {
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  padding: 1.5rem 2rem;
  margin-bottom: 1rem;
  background: radial-gradient(120% 140% at 100% 0%, var(--accent-soft), transparent 58%), var(--surface-raised);
}
.hero-figure__label {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.hero-figure__value {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-size: clamp(2.5rem, 7vw, 3.75rem);
  color: var(--text-strong);
}
.hero-figure__note {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.hero-figure__aside {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.hero-figure__mini {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-figure__minilabel {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-figure__minivalue {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  line-height: 1.1;
  font-size: 1.125rem;
  color: var(--text-primary);
}

.reportbar {
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
}
.reportbar__presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.reportbar__custom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem;
  margin-left: auto;
}
.reportbar__field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.reportbar__field label {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.reportbar__field input {
  min-width: 150px;
}

.chartgrid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .chartgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.chartcard {
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1rem 1.5rem 1.5rem;
}
@media (min-width: 1024px) {
  .chartcard--wide {
    grid-column: 1/-1;
  }
}
.chartcard__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.chartcard__heading {
  min-width: 0;
  flex: 1 1 220px;
}
.chartcard__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  color: var(--text-strong);
}
.chartcard__titleicon {
  width: 17px;
  height: 17px;
  color: var(--accent-text);
  flex-shrink: 0;
}
.chartcard__subtitle {
  margin-top: 2px;
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: none;
}
.chartcard__tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.chartcard__body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.chartcard__grid {
  border: none;
  box-shadow: none;
  background: transparent;
}
.chartcard__grid .table {
  min-width: 420px;
}
.chartcard__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}
.chartcard__empty {
  padding: 2rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.serieskey {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.serieskey__mark {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}
.serieskey--invoiced .serieskey__mark {
  background: var(--series-invoiced);
}
.serieskey--collected .serieskey__mark {
  background: var(--series-collected);
}

.chartplot {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.chartplot__svg {
  display: block;
  width: 100%;
  min-width: 560px;
  height: auto;
}
.chartplot__grid {
  stroke: var(--chart-grid);
  stroke-width: 1;
}
.chartplot__axis {
  stroke: var(--chart-axis);
  stroke-width: 1;
}
.chartplot__ytick, .chartplot__xtick {
  fill: var(--chart-ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.chartplot__bar {
  transition: opacity 140ms cubic-bezier(0.22, 1, 0.36, 1);
}
.chartplot__bar--primary {
  fill: var(--series-invoiced);
}
.chartplot__bar--secondary {
  fill: var(--series-collected);
}
.chartplot__band {
  fill: var(--surface-hover);
  opacity: 0.55;
  pointer-events: none;
}
.chartplot__hit {
  fill: transparent;
  cursor: pointer;
}
.chartplot__hit:focus-visible {
  outline: 2px solid var(--highlight);
  outline-offset: -2px;
}

.charttip {
  position: absolute;
  top: 0;
  transform: translate(-50%, -6px);
  z-index: 2;
  min-width: 168px;
  padding: 0.75rem;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  background: var(--surface-overlay);
  box-shadow: var(--shadow-md);
  pointer-events: none;
}
.charttip__label {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.charttip__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.charttip__row strong {
  margin-left: auto;
  color: var(--text-strong);
  font-variant-numeric: tabular-nums;
}
.charttip__key {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}
.charttip__key--primary {
  background: var(--series-invoiced);
}
.charttip__key--secondary {
  background: var(--series-collected);
}
.charttip__detail {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.rankbars {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.rankbars__row {
  display: grid;
  grid-template-columns: minmax(96px, 34%) 1fr auto;
  align-items: center;
  gap: 0.75rem;
}
.rankbars__label {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.rankbars__name {
  font-size: 0.875rem;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.25;
}
.rankbars__detail {
  font-size: 0.75rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rankbars__track {
  height: 18px;
  border-radius: 0 4px 4px 0;
  background: var(--chart-track);
}
.rankbars__fill {
  height: 100%;
  border-radius: 0 4px 4px 0;
  background: var(--series-invoiced);
  min-width: 2px;
  transition: width 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.rankbars__value {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  line-height: 1.1;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-strong);
  white-space: nowrap;
}

.donut {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}
.donut__figure {
  position: relative;
  width: 190px;
  flex-shrink: 0;
}
.donut__figure svg {
  display: block;
  width: 100%;
  height: auto;
}
.donut__track {
  fill: none;
  stroke: var(--chart-track);
  stroke-width: 24;
}
.donut__arc {
  fill: none;
  stroke-width: 24;
  stroke-linecap: butt;
  transform: rotate(-90deg);
  transform-origin: 110px 110px;
}
.donut__centre {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}
.donut__centrevalue {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}
.donut__centrelabel {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.donut__legend {
  flex: 1 1 200px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.donut__key {
  display: grid;
  grid-template-columns: 12px 1fr auto auto;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}
.donut__key:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.donut__swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}
.donut__keylabel {
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.donut__keycount {
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  font-size: 0.75rem;
}
.donut__keyvalue {
  font-variant-numeric: tabular-nums;
  color: var(--text-strong);
  font-weight: 600;
}

.split__meter {
  padding: 1rem;
  border-radius: 8px;
  background: var(--surface-sunken);
  border: 1px solid var(--border-subtle);
  margin-bottom: 1rem;
}
.split__figures {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
}
.split__figure {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.split__figurelabel {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.split__figurevalue {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  line-height: 1.1;
  font-size: 1.375rem;
  color: var(--text-strong);
}
.split__track {
  height: 10px;
  border-radius: 999px;
  background: var(--chart-track);
  overflow: hidden;
}
.split__fill {
  height: 100%;
  border-radius: 999px;
  background: var(--series-collected);
  transition: width 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.split--over .split__fill {
  background: var(--danger);
}
.split__warning {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--danger);
}
.split__warning svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.split__rows {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.split__row {
  display: grid;
  gap: 0.75rem;
  align-items: start;
  grid-template-columns: 1fr;
  padding: 0.75rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-raised);
}
@media (min-width: 768px) {
  .split__row {
    grid-template-columns: 1.4fr 0.8fr 0.9fr auto;
  }
}
.split__who {
  min-width: 0;
}
.split__name {
  font-weight: 600;
  color: var(--text-strong);
  font-size: 0.875rem;
}
.split__detail {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.split__note {
  font-size: 0.75rem;
  color: var(--text-secondary);
  white-space: pre-wrap;
}
.split__amount {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  line-height: 1.1;
  font-size: 1rem;
  color: var(--text-strong);
}

.kindchip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 1px 0.5rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.kindchip svg {
  width: 12px;
  height: 12px;
}
.kindchip--member {
  background: var(--accent-soft);
  color: var(--accent-text);
}
.kindchip--contact {
  background: var(--highlight-soft);
  color: var(--highlight);
}

.text-muted {
  color: var(--text-muted);
}

.text-secondary {
  color: var(--text-secondary);
}

.text-strong {
  color: var(--text-strong);
}

.text-accent {
  color: var(--accent-text);
}

.text-highlight {
  color: var(--highlight);
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-sm {
  font-size: 0.875rem;
}

.text-xs {
  font-size: 0.75rem;
}

.eyebrow {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--highlight);
}

.nowrap {
  white-space: nowrap;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

.mt-0 {
  margin-top: 0;
}

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

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-5 {
  margin-top: 1.5rem;
}

.mt-6 {
  margin-top: 2rem;
}

.mb-0 {
  margin-bottom: 0;
}

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

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-5 {
  margin-bottom: 1.5rem;
}

.mb-6 {
  margin-bottom: 2rem;
}

.ml-auto {
  margin-left: auto;
}

.full-width {
  width: 100%;
}

.max-none {
  max-width: none;
}

@media (max-width: 559px) {
  .hide-sm {
    display: none;
  }
}

#blazor-error-ui {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 400;
  display: none;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: #991216;
  color: #FBF7EF;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.5);
  font-size: 0.875rem;
}
#blazor-error-ui .dismiss {
  margin-left: auto;
  cursor: pointer;
  font-size: 1.375rem;
  line-height: 1;
  opacity: 0.8;
}
#blazor-error-ui .dismiss:hover {
  opacity: 1;
}
#blazor-error-ui a {
  color: #FBF7EF;
  text-decoration: underline;
}

.loading-progress {
  position: relative;
  display: block;
  width: 8rem;
  height: 8rem;
  margin: 20vh auto 1rem;
}
.loading-progress circle {
  fill: none;
  stroke: rgba(232, 216, 186, 0.14);
  stroke-width: 0.5rem;
  transform-origin: 50% 50%;
  transform: rotate(-90deg);
}
.loading-progress circle:last-child {
  stroke: #991216;
  stroke-dasharray: calc(3.1415926536 * var(--blazor-load-percentage, 0%) * 0.8) 500%;
  transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
  position: absolute;
  text-align: center;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.2em;
  font-size: 0.875rem;
  inset: calc(20vh + 3.25rem) 0 auto 0;
  color: #E8D8BC;
}
.loading-progress-text::after {
  content: var(--blazor-load-percentage-text, "Loading");
}

/*# sourceMappingURL=app.css.map */
