@font-face {
  font-family: Lexend;
  src: url('/assets/lexend.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #1a1a1a;
  --secondary: #5e5e5e;
  --muted: #757575;
  --line: #e6e6e6;
  --lavender: #e9dbff;
  --purple: #6929c2;
  --navy: #17184b;
  --surface: #f2f2f2;
  --radius: 16px;
  font-family: Lexend, system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
  border: 0;
  border-radius: 8px;
  background: var(--surface);
  padding: 12px 16px;
  color: var(--ink);
  font-weight: 600;
  min-height: 48px;
  transition:
    background 0.15s,
    box-shadow 0.15s;
}
button:hover {
  box-shadow: inset 0 0 0 100px #0000000b;
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
button img {
  flex: none;
}
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #a982e1;
  outline-offset: 3px;
}
.primary,
.blue,
.green {
  background: var(--ink);
  color: white;
}
.danger {
  background: #ffe6e6;
  color: #c70e0e;
}
.outline {
  background: white;
  border: 1px solid #c9c9c9;
}
.layout {
  display: flex;
  min-height: 100vh;
}
.side {
  width: 232px;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 0 16px 24px;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.brand {
  height: 126px;
  background: var(--ink);
  margin: 0 -16px 28px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.brand span {
  font-size: 12px;
  color: #d3dee7;
  letter-spacing: 1.5px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  margin-bottom: 8px;
  background: transparent;
  color: var(--secondary);
  font-size: 13px;
  padding: 12px;
  line-height: 20px;
}
.nav.selected {
  background: var(--lavender);
  color: var(--ink);
}
.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: none;
}
.controller-icon {
  font-size: 24px;
}
.side small {
  display: block;
  margin: 24px 12px 0;
  line-height: 1.9;
  color: var(--muted);
  font-size: 11px;
}
.operator-button {
  margin-top: auto;
  text-align: left;
  background: #f2f2f2;
  font-size: 12px;
}
.workspace {
  min-width: 0;
  flex: 1;
}
.topbar {
  height: 80px;
  background: var(--ink);
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.topbar-caption {
  color: #d3dee7;
  font-size: 13px;
}
.wallet-link {
  margin-left: auto;
  background: var(--lavender);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  min-height: 40px;
  padding: 8px 12px;
}
.main {
  min-width: 0;
  padding: 32px 40px 48px;
  max-width: 1600px;
  margin: auto;
  width: 100%;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -0.6px;
}
h2 {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
}
h3 {
  margin: 12px 0;
  font-size: 16px;
}
p {
  line-height: 1.6;
}
.header p {
  margin: 8px 0 0;
  font-size: 14px;
}
.eyebrow {
  font-size: 11px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: 1.4px;
  color: var(--secondary);
  margin-bottom: 8px;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
  line-height: 20px;
}
.dashboard-hero {
  padding: 32px;
  border-radius: var(--radius);
  background: linear-gradient(115deg, #e9dbff 5%, #d9c3f6 65%, #bd95eb 100%);
  min-height: 224px;
}
.dashboard-hero h1 {
  font-size: 34px;
  line-height: 44px;
}
.dashboard-hero .muted {
  color: #4c3b61;
}
.hero-mark {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 40px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.card,
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  min-width: 0;
}
.card > .muted {
  font-size: 13px;
  color: var(--secondary);
}
.metric {
  font-weight: 700;
  font-size: 30px;
  line-height: 40px;
  margin: 12px 0 4px;
  overflow-wrap: anywhere;
}
.two {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
}
.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stack {
  display: grid;
  gap: 16px;
}
.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
label {
  display: grid;
  gap: 8px;
  font-weight: 500;
  font-size: 13px;
  line-height: 22px;
}
input,
select {
  border: 1px solid #c9c9c9;
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  width: 100%;
  min-height: 48px;
  background: white;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.actions > button {
  flex: 1;
}
.scroll {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  line-height: 20px;
}
th,
td {
  text-align: left;
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
th {
  color: var(--muted);
  font-weight: 500;
}
td {
  font-weight: 400;
}
tr:last-child td {
  border-bottom: 0;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 11px;
  line-height: 20px;
  background: #e3fce5;
  color: #008720;
  font-weight: 500;
  white-space: nowrap;
}
.pill.off {
  background: #ffe6e6;
  color: #c70e0e;
}
.tapbox {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.tapbox:last-child {
  border-bottom: 0;
}
.tapbox b {
  font-size: 14px;
  font-weight: 600;
}
.dot {
  height: 8px;
  width: 8px;
  flex: none;
  border-radius: 50%;
  background: #008720;
}
.dot.off {
  background: #c70e0e;
}
.bar {
  height: 8px;
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  max-width: 269px;
}
.bar i {
  height: 100%;
  background: var(--purple);
  display: block;
  transition: width 0.25s;
}
.kiosk {
  background: #fff;
  padding: 24px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  color: var(--ink);
}
.kiosk-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.serving-pill {
  background: var(--lavender);
  color: var(--purple);
}
.kioskcontent {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: 692px;
  padding: 24px 16px;
}
.beerArt {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}
.tap-illustration {
  width: 272.651px;
  height: 490px;
  object-fit: cover;
  max-width: 100%;
}
.volume-readout {
  color: #959494;
  font-size: 26px;
  font-weight: 600;
  line-height: 36px;
}
.volume-readout.is-serving {
  color: var(--ink);
}
.kiosk-details {
  text-align: center;
  max-width: 506.5px;
  width: 100%;
  justify-self: center;
}
.product-brand {
  height: 128px;
  width: 128px;
  border-radius: 16px;
  background: #f7f5f5;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}
.product-brand span {
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--navy);
}
.product-title {
  font-size: 30px;
  line-height: 40px;
  font-weight: 700;
  margin-bottom: 16px;
}
.product-specs {
  margin-bottom: 24px;
}
.product-specs p {
  font-size: 16px;
  line-height: 24px;
  color: var(--secondary);
  margin: 8px 0;
}
.product-specs strong {
  font-weight: 600;
  color: var(--ink);
}
.session-greeting {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.info-cell {
  background: var(--surface);
  border-radius: 8px;
  padding: 16px;
  font-size: 12px;
  line-height: 20px;
  color: var(--secondary);
}
.info-cell b {
  display: block;
  font-size: 22px;
  line-height: 32px;
  margin-top: 4px;
  color: var(--ink);
  font-weight: 600;
}
.qr-label {
  text-align: left;
  margin-top: 24px;
}
.bigbtn {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.kiosk-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: var(--muted);
  font-size: 11px;
  line-height: 20px;
}
.tap-picker-label {
  min-width: 160px;
}
.hint {
  background: var(--surface);
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
  font-size: 13px;
  line-height: 22px;
}
.message {
  position: fixed;
  right: 24px;
  bottom: 24px;
  max-width: min(430px, 90vw);
  background: var(--ink);
  color: #fff;
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 20px #0002;
  z-index: 40;
  font-size: 13px;
  line-height: 22px;
}
.red {
  color: #c70e0e;
}
.textgreen {
  color: #008720;
}
.tools {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.tools button {
  background: white;
  color: var(--secondary);
}
.tools button.on {
  background: var(--lavender);
  color: var(--ink);
}
.notice {
  padding: 16px;
  border: 1px solid #ded2ed;
  border-radius: 8px;
  background: #f7f2ff;
  color: #554469;
  font-size: 12px;
  line-height: 22px;
  margin-bottom: 24px;
}
.balance-banner {
  background: conic-gradient(from 125deg at 65% 65%, #6929c2, #e9dbff 32%, #c9aff0 70%, #6929c2);
  min-height: 180px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px;
  border-radius: 16px;
  margin-bottom: 24px;
  color: var(--navy);
}
.balance-banner > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.balance-banner b {
  font-size: 34px;
  line-height: 44px;
}
.balance-banner span {
  font-size: 14px;
}
.balance-banner .small {
  font-size: 12px;
}
@media (min-width: 1500px) {
  .kioskcontent {
    gap: 48px;
  }
  .product-title {
    font-size: 34px;
    line-height: 44px;
  }
  .product-specs p {
    font-size: 22px;
    line-height: 32px;
  }
}
@media (max-width: 1180px) {
  .side {
    width: 208px;
  }
  .main {
    padding: 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .two,
  .three {
    grid-template-columns: 1fr;
  }
  .kiosk {
    padding: 24px;
  }
  .kioskcontent {
    gap: 24px;
    padding: 24px 0;
  }
  .tap-illustration {
    width: 218px;
    height: 392px;
  }
  .product-title {
    font-size: 26px;
    line-height: 36px;
  }
}
@media (max-width: 760px) {
  .layout {
    display: block;
  }
  .side {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    border: 0;
    box-shadow: 0 -1px 12px #00000014;
    background: white;
    z-index: 30;
    flex-direction: row;
    justify-content: space-around;
    padding: 8px 4px max(8px, env(safe-area-inset-bottom));
    gap: 2px;
  }
  .brand,
  .side small,
  .side .operator-button {
    display: none;
  }
  .nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px 2px;
    margin: 0;
    width: 20%;
    font-size: 9px;
    line-height: 16px;
    border-radius: 0;
    color: var(--secondary);
    min-height: 60px;
    justify-content: flex-start;
  }
  .nav.selected {
    background: white;
    color: var(--ink);
    font-weight: 600;
  }
  .nav-icon {
    width: 48px;
    height: 28px;
    border-radius: 16px;
    padding: 2px 12px;
  }
  .nav.selected .nav-icon {
    background: var(--lavender);
  }
  .controller-icon {
    font-size: 22px;
  }
  .topbar {
    height: 72px;
    padding: 0 16px;
    gap: 12px;
  }
  .topbar-caption {
    display: none;
  }
  .wallet-link {
    font-size: 11px;
    min-height: 36px;
    padding: 6px 10px;
  }
  .main {
    padding: 24px 16px 104px;
  }
  .header {
    gap: 16px;
  }
  .header h1 {
    font-size: 26px;
    line-height: 36px;
  }
  .header p {
    font-size: 12px;
  }
  .dashboard-hero {
    padding: 24px;
    align-items: flex-start;
  }
  .dashboard-hero h1 {
    font-size: 28px;
    line-height: 38px;
  }
  .hero-mark {
    gap: 16px;
    align-items: flex-start;
  }
  .cards {
    gap: 12px;
  }
  .card,
  .panel {
    padding: 16px;
  }
  .card > .muted {
    font-size: 11px;
  }
  .metric {
    font-size: 26px;
    line-height: 36px;
  }
  .small {
    font-size: 11px;
  }
  .kiosk {
    padding: 16px;
  }
  .kioskcontent {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 32px;
    padding: 24px 0;
  }
  .tap-illustration {
    width: 163.59px;
    height: 294px;
  }
  .beerArt {
    gap: 16px;
  }
  .volume-readout {
    font-size: 22px;
    line-height: 32px;
  }
  .product-brand {
    height: 104px;
    width: 104px;
    margin-bottom: 16px;
  }
  .kiosk-details {
    max-width: 420px;
  }
  .product-title {
    font-size: 26px;
    line-height: 36px;
  }
  .kiosk-footer {
    font-size: 10px;
  }
  .kiosk-top .small {
    font-size: 10px;
  }
  .tap-picker-label {
    width: 100%;
    min-width: 0;
  }
  .two {
    gap: 24px;
  }
  .balance-banner {
    min-height: 160px;
    padding: 16px;
  }
  .balance-banner b {
    font-size: 30px;
  }
  .message {
    bottom: 96px;
    right: 16px;
  }
  .tools {
    gap: 4px;
  }
  .tools button {
    padding: 10px 12px;
    font-size: 12px;
    min-height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
  }
}
