@font-face {
  font-family: "Mercenary Display";
  src: url("/brand/big-shoulders-800.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
:root {
  font-family: Arial, sans-serif;
  color: #102a40;
  background: #fafafa;
  font-synthesis: none;
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
header,
footer {
  width: 100%;
  max-width: 1100px;
  margin: auto;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
header {
  border-bottom: 1px solid #e0e6eb;
  background: #fff;
  min-height: 88px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 22px;
  text-decoration: none;
  font-weight: 600;
}
.brand img {
  width: 175px;
  height: 44px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(13%) sepia(23%) saturate(1600%)
    hue-rotate(165deg);
}
.brand span {
  border-left: 1px solid #c6d3dd;
  padding-left: 22px;
}
main {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  flex: 1;
  padding: 64px 32px;
}
h1,
h2 {
  font-family: "Mercenary Display", Impact, sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
h1 {
  font-size: 56px;
  margin: 0 0 24px;
}
h2 {
  font-size: 32px;
}
.intro {
  max-width: 680px;
  line-height: 1.625;
  color: #536678;
  font-size: 18px;
}
.actions {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
button,
.button {
  border: 1px solid transparent;
  border-radius: 999px;
  background: #146fad;
  color: white;
  padding: 14px 24px;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
button:hover,
.button:hover {
  background: #105788;
}
button:disabled {
  opacity: 0.6;
  cursor: default;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
form {
  max-width: 680px;
  margin-top: 32px;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
label {
  display: block;
  font-size: 16px;
  margin: 22px 0 10px;
}
input,
textarea,
select {
  font: inherit;
  width: 100%;
  border: 1px solid #afbfcc;
  background: #fff;
  border-radius: 6px;
  padding: 14px;
  color: #102a40;
}
textarea {
  min-height: 160px;
  resize: vertical;
}
:focus-visible {
  outline: 3px solid #168ad4;
  outline-offset: 4px;
}
.hint,
footer,
.ticket-number {
  font-size: 16px;
  color: #536678;
  line-height: 1.6;
  max-width: 680px;
}
.status {
  display: inline-block;
  background: #e3eff8;
  color: #174d74;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 16px;
}
.message {
  padding: 24px 0;
  border-bottom: 1px solid #e0e6eb;
}
.message p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.7;
}
.message small {
  font-size: 16px;
  color: #536678;
}
.error {
  color: #963c27;
  line-height: 1.6;
}
footer {
  max-width: 1100px;
  border-top: 1px solid #e0e6eb;
}
.compact main {
  padding-top: 24px;
}
.compact header,
.compact footer {
  display: none;
}
@media (max-width: 650px) {
  header,
  footer {
    padding: 20px;
    gap: 16px;
  }
  header {
    flex-wrap: wrap;
  }
  .brand {
    gap: 14px;
  }
  .brand span {
    padding-left: 14px;
  }
  .brand img {
    width: 150px;
    height: 40px;
  }
  main {
    padding: 40px 24px;
  }
  .row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  footer {
    align-items: start;
    flex-direction: column;
  }
  h1 {
    font-size: 40px;
  }
  h2 {
    font-size: 28px;
  }
  .actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
nav a {
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
nav a[aria-current="page"] {
  border-color: #146fad;
  color: #146fad;
}
nav a:hover {
  text-decoration: underline;
}
main > .button {
  margin-top: 16px;
}
#events {
  max-width: 680px;
}
#refresh,
#logout {
  margin: 8px 12px 0 0;
}
.compact main {
  flex: none;
}
@media (max-width: 650px) {
  header nav {
    width: 100%;
    gap: 24px;
  }
}
