@font-face {
  font-family: Barlow;
  src: url('/assets/barlow-latin-400-normal.woff2');
}
@font-face {
  font-family: Barlow;
  src: url('/assets/barlow-latin-700-normal.woff2');
  font-weight: 700;
}
@font-face {
  font-family: Condensed;
  src: url('/assets/barlow-condensed-latin-700-normal.woff2');
  font-weight: 700;
}
:root {
  color-scheme: dark;
  --night: #080e1b;
  --panel: #111b2c;
  --line: #344059;
  --gold: #ffdc92;
  --paper: #f6f4eb;
  --muted: #b8c3d5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font:
    17px/1.5 Barlow,
    Arial,
    sans-serif;
}
header {
  height: 72px;
  padding: 0 clamp(16px, 5vw, 88px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
a {
  color: var(--gold);
  text-underline-offset: 0.18em;
}
header a,
.brand {
  text-decoration: none;
}
header > span,
header > a:last-child {
  font-size: 15px;
}
.brand {
  font:
    700 23px/0.92 Condensed,
    Arial,
    sans-serif;
  letter-spacing: -0.025em;
  color: var(--paper);
}
.brand strong {
  color: var(--gold);
}
main {
  max-width: 1440px;
  margin: auto;
  padding: clamp(18px, 3vw, 56px);
}
.consumer {
  max-width: 1120px;
}
.stageintro {
  position: relative;
  padding: clamp(24px, 5vw, 64px);
  isolation: isolate;
  overflow: hidden;
  min-height: 200px;
  display: grid;
  align-items: end;
  border-bottom: 2px solid var(--gold);
  margin-bottom: 30px;
  background: #101b34;
}
.stageintro img {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  z-index: -2;
}
.stageintro:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #080e1bf2, #080e1bd9 30%, #080e1b11);
  z-index: -1;
}
.stageintro div {
  max-width: 480px;
}
p {
  margin: 0 0 0.8em;
}
h1,
h2,
h3 {
  font-family: Condensed, Arial, sans-serif;
  line-height: 1.04;
  margin: 0 0 0.4em;
}
h1 {
  font-size: clamp(42px, 6vw, 82px);
}
h2 {
  font-size: clamp(28px, 3.6vw, 40px);
}
h3 {
  font-size: 24px;
}
.kicker,
.eyebrow {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.16em;
  font-weight: 700;
}
.muted,
small,
.help {
  color: var(--muted);
}
.card,
.login,
.ticket,
.strip {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: clamp(16px, 2.6vw, 32px);
  border-radius: 6px;
}
.strip {
  margin: 0.8rem 0;
}
.card + .card,
.ticket + .ticket {
  margin-top: 1em;
}
.login {
  max-width: 530px;
  margin: 36px auto;
}
.twocol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}
.twocol > .login {
  margin: 0;
  width: 100%;
}
button,
.button {
  font:
    700 16px Barlow,
    Arial,
    sans-serif;
  border: 1px solid transparent;
  background: var(--gold);
  color: #201805;
  border-radius: 4px;
  padding: 12px 17px;
  line-height: 1.1;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
}
button:hover,
.button:hover {
  filter: brightness(1.1);
}
button:disabled {
  cursor: default;
  opacity: 0.55;
}
.sub,
.navitem {
  background: transparent;
  border-color: var(--line);
  color: var(--paper);
}
.danger {
  background: #402233;
  color: #ffdce5;
  border-color: #a95e75;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.actions,
.tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0.8em 0;
}
.tabs button {
  font-size: 15px;
}
.tabs .selected,
.navitem.selected {
  color: var(--gold);
  border-color: var(--gold);
  background: #383326;
}
label {
  display: grid;
  gap: 5px;
  font-weight: 700;
  font-size: 15px;
  margin: 0.85em 0;
}
input,
textarea,
select {
  width: 100%;
  font: inherit;
  font-weight: 400;
  background: #080f1e;
  border: 1px solid #526079;
  border-radius: 4px;
  color: var(--paper);
  padding: 11px;
  min-height: 42px;
}
textarea {
  min-height: 100px;
  resize: vertical;
}
input[type='checkbox'] {
  width: 20px;
  height: 20px;
  min-height: 0;
  accent-color: var(--gold);
}
label.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-weight: 400;
}
input:focus-visible,
button:focus-visible,
a:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #86c6ff;
  outline-offset: 3px;
}
.workspace {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 26px;
}
.workspace nav {
  display: grid;
  align-content: start;
  gap: 4px;
}
.navitem {
  width: 100%;
  justify-content: flex-start;
  border-color: transparent;
}
.identity {
  padding: 15px 2px;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.pane {
  min-width: 0;
}
.tablewrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 5px;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 15px;
}
th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  font-size: 13px;
  color: var(--muted);
  background: #141f32;
}
td {
  max-width: 380px;
  overflow-wrap: anywhere;
}
tr:last-child td {
  border-bottom: 0;
}
.gridfields,
.metrics {
  display: grid;
  gap: 8px 16px;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
}
.metrics > div {
  padding: 16px 18px;
  border-left: 2px solid var(--gold);
  background: var(--panel);
}
.metrics strong {
  display: block;
  font: 700 35px Condensed;
}
.wide {
  grid-column: 1/-1;
}
.ticket {
  border-left: 4px solid var(--gold);
}
code,
.mono {
  font-family: Consolas, monospace;
  overflow-wrap: anywhere;
}
.amount {
  font: 700 36px Condensed;
}
.status {
  font-size: 14px;
  color: var(--gold);
}
#notice:not(:empty) {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: max-content;
  max-width: 90vw;
  background: #f7e8bf;
  color: #231e16;
  border-radius: 5px;
  box-shadow: 0 8px 32px #0008;
  padding: 12px 20px;
}
.tablewrap button {
  min-height: 36px;
  font-size: 14px;
  padding: 6px 12px;
}
.tabcontent {
  margin: 1.2rem 0;
}
.art {
  width: 100%;
  aspect-ratio: 2.8;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 12px;
}
.receipt {
  max-width: 640px;
}
.receipt dl {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5px;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
details {
  border-top: 1px solid var(--line);
  margin: 12px 0;
  padding-top: 10px;
}
summary {
  cursor: pointer;
}
.preview {
  border-left: 3px solid var(--gold);
  padding-left: 15px;
}
.preview img {
  max-width: 240px;
}
audio {
  max-width: 100%;
}
@media (max-width: 740px) {
  header {
    height: 58px;
  }
  .twocol,
  .workspace {
    grid-template-columns: 1fr;
  }
  .workspace nav {
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .navitem {
    width: auto;
    white-space: nowrap;
  }
  .identity {
    display: none;
  }
  .workspace {
    gap: 12px;
  }
  .consumer {
    padding: 16px;
  }
  .login {
    margin: 1em auto;
  }
  .stageintro {
    min-height: 165px;
  }
}
@media print {
  header,
  .stageintro,
  #app > *:not(.receipt),
  button,
  .actions,
  #notice {
    display: none !important;
  }
  body,
  .receipt {
    background: white;
    color: black;
    border: 0;
  }
  .receipt {
    display: block !important;
    color: black;
  }
}
@media (max-width: 740px) {
  .stageintro:after {
    background: linear-gradient(90deg, #080e1bf7 0%, #080e1be8 48%, #080e1b99 80%, #080e1b66);
  }
  .stageintro img {
    object-position: 76% 50%;
  }
}
