@font-face {
  font-family: Manrope;
  src: url("/fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  --paper: #f4f3ef;
  --white: #fff;
  --ink: #16181a;
  --muted: #656563;
  --line: #dcdcd7;
  --green: #0d7a5a;
  --green-dark: #095a43;
  --green-soft: #e8f2ed;
  --blue: #326693;
  --blue-soft: #eaf0f7;
  --amber: #8b6527;
  --amber-soft: #f6f0e3;
  --red: #a03932;
  --red-soft: #f9ecea;
  --radius: 12px;
  --mono: "IBM Plex Mono", monospace;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    13px/1.6 Manrope,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
button {
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button,
a,
input,
select {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--green);
}
[hidden] {
  display: none !important;
}
.muted {
  color: var(--muted);
}
.mono,
.eyebrow,
.section-index {
  font-family: var(--mono);
}
.eyebrow,
.section-index {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  max-width: 1440px;
  margin: auto;
  height: 72px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
}
.monogram {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: 18px;
  font-weight: 600;
}
.brand strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
}
.brand small {
  display: block;
  font: 8px/1.8 var(--mono);
  letter-spacing: 0.12em;
}
.brand-divider {
  height: 24px;
  width: 1px;
  background: var(--line);
}
.event-label {
  font-size: 12px;
  color: var(--muted);
}
.event-label span {
  padding: 0 8px;
  color: var(--muted);
}
.top-right {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}
.clock {
  text-align: right;
  font: 12px var(--mono);
}
.clock small {
  font:
    10px/1.8 Manrope,
    sans-serif;
  display: block;
  color: var(--muted);
}
.sync {
  border-radius: 100px;
  background: var(--green-soft);
  color: var(--green-dark);
  font: 9px var(--mono);
  letter-spacing: 0.05em;
  padding: 8px 12px;
  white-space: nowrap;
}
.sync:before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  margin-right: 7px;
}
.sync.pending {
  background: var(--amber-soft);
  color: var(--amber);
}
main {
  max-width: 1440px;
  padding: 40px;
  margin: 0 auto;
  outline: 0;
}
h1 {
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.primary,
.secondary,
.quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 9px;
  min-height: 40px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 12px;
  transition:
    background 0.15s,
    transform 0.15s;
}
.primary {
  background: var(--ink);
  color: var(--paper);
}
.primary:hover {
  background: var(--green-dark);
}
.primary:active {
  transform: translateY(1px);
}
.secondary {
  background: var(--white);
  border: 1px solid var(--line);
}
.secondary:hover,
.quiet:hover {
  background: #e9e8e3;
}
.quiet {
  background: transparent;
  color: var(--muted);
  padding: 8px 10px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin: 0 0 32px;
}
.page-heading .eyebrow {
  margin-bottom: 12px;
}
.page-heading h1 {
  margin-bottom: 10px;
}
.sheet-tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  margin-bottom: 12px;
}
.sheet-tab {
  flex: none;
  background: none;
  border-bottom: 2px solid transparent;
  padding: 12px 2px 15px;
  font-weight: 600;
  color: var(--muted);
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sheet-tab[aria-current="true"] {
  border-color: var(--ink);
  color: var(--ink);
}
.sheet-tab .tab-index {
  font: 10px var(--mono);
  margin-right: 9px;
  opacity: 0.6;
}
.date-rail {
  display: flex;
  gap: 7px;
  overflow: auto;
  padding: 12px 2px 18px;
  scrollbar-width: thin;
}
.date-button {
  flex: none;
  min-width: 58px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  text-align: center;
  line-height: 1.35;
}
.date-button:first-child {
  min-width: 86px;
}
.date-button span {
  display: block;
  font: 9px var(--mono);
  color: var(--muted);
  margin-bottom: 4px;
}
.date-button strong {
  font-size: 16px;
  font-weight: 600;
}
.date-button small {
  display: block;
  font: 9px var(--mono);
  margin-top: 5px;
  color: var(--muted);
}
.date-button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.date-button[aria-pressed="true"] span,
.date-button[aria-pressed="true"] small {
  color: #c9c9c2;
}
.date-button:hover:not([aria-pressed="true"]) {
  background: var(--white);
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 0 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid #cecec7;
  border-radius: 9px;
  padding: 0 12px;
  flex: 1;
  min-width: 210px;
  max-width: 320px;
}
.search-wrap span {
  font-size: 23px;
  line-height: 1;
  color: var(--muted);
}
.search-wrap input {
  border: 0;
  background: none;
  padding: 10px 0;
  min-width: 0;
  width: 100%;
  font-size: 12px;
}
.search-wrap:focus-within {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.search-wrap input:focus {
  outline: none;
}
.filter-label {
  display: flex;
  gap: 6px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0 10px;
  min-height: 40px;
  max-width: 220px;
}
.filter-label > span {
  font: 8px var(--mono);
  letter-spacing: 0.1em;
  color: var(--muted);
}
select {
  border: 0;
  background: transparent;
  max-width: 160px;
  padding: 8px 2px;
  font-size: 11px;
  font-weight: 600;
}
.view-toggle {
  display: flex;
  padding: 3px;
  border-radius: 9px;
  background: #e9e8e3;
  margin-left: auto;
}
.view-toggle button {
  background: transparent;
  padding: 7px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
.view-toggle button[aria-pressed="true"] {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 1px 3px #0000000c;
}
.result-count {
  font-size: 11px;
  color: var(--muted);
  margin-left: auto;
  white-space: nowrap;
}
.journey-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
}
.journey-group {
  margin-bottom: 26px;
}
.group-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
}
.group-heading:after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}
.group-heading small {
  font: 10px var(--mono);
  color: var(--muted);
  order: 2;
}
.journey-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1.6fr) minmax(0, 1fr) auto;
  align-items: center;
  text-align: left;
  gap: 14px;
  width: 100%;
  padding: 17px 16px;
  margin-bottom: 7px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.journey-card:hover {
  border-color: #a5b6ac;
}
.journey-card[aria-pressed="true"] {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green);
}
.journey-time {
  border-left: 3px solid var(--accent, var(--muted));
  padding-left: 9px;
  white-space: nowrap;
}
.journey-time strong {
  display: block;
  font: 11px var(--mono);
}
.journey-time small {
  display: block;
  font: 9px var(--mono);
  color: var(--muted);
  margin-top: 5px;
}
.journey-guest,
.journey-driver {
  min-width: 0;
}
.journey-guest strong {
  display: block;
  font-size: 13px;
  font-weight: 650;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.journey-guest small,
.journey-driver small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-top: 3px;
}
.journey-driver strong {
  font-size: 11px;
  font-weight: 500;
}
.journey-driver small {
  font: 9px var(--mono);
  margin-top: 6px;
}
.status {
  font-size: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  background: #f0f0ee;
  color: var(--muted);
  padding: 5px 9px;
  border-radius: 100px;
}
.status:before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
}
.on-duty {
  --accent: var(--green);
}
.assigned {
  --accent: var(--blue);
}
.confirmed {
  --accent: var(--amber);
}
.cancelled {
  --accent: var(--red);
}
.status.on-duty {
  background: var(--green-soft);
  color: var(--green-dark);
}
.status.assigned {
  background: var(--blue-soft);
  color: var(--blue);
}
.status.confirmed {
  background: var(--amber-soft);
  color: var(--amber);
}
.status.cancelled {
  background: var(--red-soft);
  color: var(--red);
}
.details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 120px);
  overflow: auto;
  scrollbar-width: thin;
}
.detail-heading {
  padding: 24px;
  border-bottom: 1px solid var(--line);
}
.detail-heading .detail-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.detail-heading h2 {
  font-size: 23px;
  letter-spacing: -0.025em;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.detail-heading p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin-top: 8px;
}
.detail-date {
  padding: 16px 24px;
  background: var(--green-soft);
  color: var(--green-dark);
}
.detail-date small {
  display: block;
  font-size: 10px;
}
.detail-date strong {
  display: block;
  margin-top: 3px;
  font-size: 16px;
}
.detail-fields {
  padding: 20px 24px;
}
.detail-fields > .eyebrow {
  margin-bottom: 16px;
}
.detail-fields dl {
  margin: 0;
  display: grid;
  grid-template-columns: 95px minmax(0, 1fr);
  gap: 12px;
}
.detail-fields dt {
  color: var(--muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}
.detail-fields dd {
  margin: 0;
  font-size: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.detail-fields dd a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.detail-placeholder {
  padding: 40px 24px;
  color: var(--muted);
  text-align: center;
}
.detail-close {
  display: none;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
th,
td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  min-width: 130px;
  max-width: 320px;
  overflow-wrap: anywhere;
}
th {
  background: #eeeee8;
  white-space: nowrap;
  font-size: 10px;
}
th button {
  background: none;
  font: inherit;
  font-weight: 600;
  padding: 0;
  text-align: left;
  width: 100%;
}
td {
  vertical-align: top;
  white-space: pre-wrap;
}
tbody tr:hover {
  background: #fafaf7;
}
caption {
  padding: 12px;
  text-align: left;
  font-size: 11px;
  color: var(--muted);
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 24px 0;
  font-size: 11px;
}
.pagination button:disabled {
  cursor: default;
}
.portal-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 36px;
  padding-top: 18px;
  font-size: 10px;
}
.portal-footer > span:first-child {
  font: 10px var(--mono);
}
.empty-state {
  text-align: center;
  padding: 70px 24px;
  background: #ffffff66;
  border: 1px dashed var(--line);
  border-radius: 12px;
}
.empty-symbol {
  font-size: 32px;
  color: var(--muted);
}
.empty-state h2 {
  font-size: 20px;
  margin: 8px 0;
}
.empty-state p {
  color: var(--muted);
  font-size: 12px;
}
.error-banner {
  background: var(--red-soft);
  color: var(--red);
  padding: 14px 18px;
  border-radius: 9px;
  margin: 16px 0;
}
.loading-state {
  padding: 32px 0;
  color: var(--muted);
}
.skeleton {
  height: 78px;
  background: linear-gradient(90deg, #eaeae4, #fafaf7, #eaeae4);
  background-size: 200% 100%;
  border-radius: 12px;
  margin-top: 12px;
  animation: shimmer 1.5s infinite;
}
.loader {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 2px solid var(--line);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}
.boot {
  text-align: center;
  padding: 100px 0;
  color: var(--muted);
}
.auth-layout {
  min-height: calc(100vh - 160px);
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 80px;
  max-width: 1100px;
  margin: auto;
}
.auth-intro h1 {
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.05em;
  margin: 24px 0;
}
.auth-intro > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.auth-route {
  display: flex;
  align-items: center;
  max-width: 290px;
  margin: 64px 0 24px;
}
.auth-route span {
  width: 9px;
  height: 9px;
  border: 2px solid var(--green);
  border-radius: 50%;
}
.auth-route span:last-child {
  background: var(--green);
}
.auth-route i {
  height: 1px;
  background: var(--line);
  flex: 1;
}
.auth-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 36px;
  border-radius: 16px;
  box-shadow: 0 8px 28px #16181a04;
}
.auth-card h2 {
  font-size: 28px;
  letter-spacing: -0.035em;
  margin: 28px 0 12px;
  line-height: 1.2;
}
.auth-card > p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.auth-card form {
  margin-top: 26px;
}
.auth-card label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 8px;
}
.auth-card input {
  width: 100%;
  border: 1px solid #c9cbc5;
  padding: 12px 14px;
  border-radius: 8px;
  background: #fdfdfb;
}
.auth-card .primary {
  width: 100%;
  justify-content: space-between;
  margin-top: 14px;
  min-height: 46px;
}
.auth-foot {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 28px;
  font-size: 10px !important;
}
.message {
  padding: 12px;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green-dark) !important;
  margin-top: 18px;
}
.message.failure {
  background: var(--red-soft);
  color: var(--red) !important;
}
#verify-box {
  margin-top: 24px;
}
#different-email {
  width: 100%;
  margin-top: 10px;
}
#portal,
.auth-layout {
  animation: appear 0.35s ease-out;
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1500px) {
  .journey-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
  }
}
@media (max-width: 1150px) {
  .journey-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 16px;
  }
  .journey-card {
    grid-template-columns: 70px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 16px 12px;
  }
  .journey-driver {
    display: none;
  }
  .top-inner {
    gap: 16px;
  }
  .sync {
    display: none;
  }
  .auth-layout {
    gap: 40px;
  }
  .auth-intro h1 {
    font-size: 52px;
  }
  .detail-fields {
    padding: 20px;
  }
  .detail-heading {
    padding: 20px;
  }
}
@media (max-width: 800px) {
  .top-inner {
    height: 64px;
    padding: 0 20px;
  }
  .event-label,
  .brand-divider {
    display: none;
  }
  main {
    padding: 28px 20px;
  }
  .page-heading h1 {
    font-size: 34px;
  }
  .page-heading {
    align-items: start;
    margin-bottom: 24px;
  }
  .page-heading .compact {
    font-size: 0;
    padding: 10px 14px;
    gap: 0;
  }
  .page-heading .compact span {
    font-size: 20px;
  }
  .journey-layout {
    grid-template-columns: 1fr;
  }
  .details {
    position: relative;
    top: 0;
    max-height: none;
    order: -1;
  }
  .details:not(.mobile-open) {
    display: none;
  }
  .detail-close {
    display: inline-flex;
    float: right;
  }
  .journey-card {
    grid-template-columns: 70px minmax(0, 1fr) auto;
  }
  .journey-driver {
    display: none;
  }
  .auth-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: 0;
    max-width: 440px;
    margin: 20px auto;
  }
  .auth-intro h1 {
    font-size: 44px;
    margin: 16px 0;
  }
  .auth-intro > p:not(.eyebrow) {
    font-size: 13px;
  }
  .auth-route,
  .auth-intro > p:last-child {
    display: none;
  }
  .auth-card {
    padding: 28px;
  }
  .portal-footer {
    flex-direction: column;
    gap: 6px;
  }
  .clock {
    font-size: 11px;
  }
  .clock small {
    font-size: 9px;
  }
  .top-right {
    gap: 8px;
  }
  .top-right .quiet {
    font-size: 10px;
    padding: 6px;
  }
  .toolbar {
    gap: 8px;
  }
  .search-wrap {
    max-width: none;
    flex-basis: 100%;
  }
  .view-toggle {
    margin-left: 0;
  }
  .result-count {
    font-size: 10px;
  }
  .filter-label {
    flex: 1;
    max-width: calc(50% - 4px);
    padding: 0 8px;
  }
  .filter-label select {
    max-width: 100%;
    min-width: 0;
  }
  .filter-label > span {
    display: none;
  }
  .sheet-tabs {
    gap: 24px;
  }
  .sheet-tab {
    font-size: 12px;
  }
  .date-button {
    min-width: 55px;
  }
  .journey-guest strong {
    font-size: 12px;
  }
  .journey-guest small {
    font-size: 10px;
  }
  .status {
    font-size: 9px;
    padding: 4px 7px;
  }
  .journey-card {
    padding: 15px 10px;
    gap: 8px;
  }
  .journey-time strong {
    font-size: 10px;
  }
  .journey-time small {
    font-size: 8px;
  }
  .group-heading {
    font-size: 11px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .page-heading > div > p:last-child {
    font-size: 11px;
  }
  .page-heading .eyebrow {
    margin-bottom: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* F1 event identity, using the owner's existing Sepang event imagery. */
:root {
  --navy: #181b2c;
  --gold: #b99a52;
  --on-navy: #f4f4ef;
  --on-navy-muted: #c0c4cf;
}
.auth-layout {
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 1fr);
  max-width: 1280px;
  gap: 64px;
  min-height: calc(100vh - 152px);
}
.auth-intro {
  background: var(--navy);
  border-radius: 16px;
  overflow: hidden;
  color: var(--on-navy);
}
.race-photo {
  position: relative;
  aspect-ratio: 1.9;
  overflow: hidden;
}
.race-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  display: block;
}
.race-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #10152270, transparent 45%, #181b2c90);
}
.race-photo-top {
  position: absolute;
  z-index: 1;
  top: 24px;
  left: 28px;
  right: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.race-photo-top .race-logo {
  width: 106px;
  height: auto;
  max-height: 46px;
  object-fit: contain;
}
.race-year {
  font: 9px var(--mono);
  letter-spacing: 0.12em;
  color: var(--on-navy);
}
.race-copy {
  padding: 32px 36px 28px;
}
.race-copy .eyebrow {
  color: var(--gold);
  font-size: 9px;
}
.race-copy h1 {
  font-size: 42px;
  letter-spacing: -0.035em;
  margin: 16px 0;
  line-height: 1.12;
}
.race-copy > p:not(.eyebrow) {
  color: var(--on-navy-muted);
  font-size: 12px;
  line-height: 1.8;
  max-width: 430px;
}
.race-venue {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid #ffffff26;
  margin-top: 28px;
  padding-top: 20px;
}
.race-venue strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
}
.race-venue div > span {
  font: 9px var(--mono);
  letter-spacing: 0.08em;
  color: var(--gold);
}
.race-venue a {
  margin-left: auto;
  font-size: 10px;
  white-space: nowrap;
  color: var(--on-navy-muted);
}
.race-venue a:hover {
  color: var(--on-navy);
  text-decoration: underline;
}
.checkered {
  width: 24px;
  height: 24px;
  flex: none;
  background: conic-gradient(
    var(--on-navy) 25%,
    transparent 0 50%,
    var(--on-navy) 0 75%,
    transparent 0
  );
  background-size: 12px 12px;
  opacity: 0.8;
}
.auth-card {
  padding: 32px;
}
.auth-card h2 {
  font-size: 27px;
}
@media (max-width: 1100px) {
  .auth-layout {
    gap: 32px;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 1fr);
  }
  .race-copy {
    padding: 28px;
  }
  .race-copy h1 {
    font-size: 34px;
  }
  .race-venue {
    gap: 10px;
  }
  .race-venue a {
    font-size: 9px;
  }
  .race-photo {
    aspect-ratio: 1.6;
  }
}
@media (max-width: 800px) {
  .auth-layout {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
    gap: 24px;
  }
  .race-photo {
    aspect-ratio: 2.15;
  }
  .race-photo-top {
    top: 16px;
    left: 20px;
    right: 20px;
  }
  .race-photo-top .race-logo {
    width: 80px;
    max-height: 32px;
  }
  .race-year {
    font-size: 8px;
  }
  .race-copy {
    padding: 24px;
  }
  .race-copy h1 {
    font-size: 30px;
    margin: 12px 0;
  }
  .race-copy > p:not(.eyebrow) {
    font-size: 11px;
  }
  .race-copy .eyebrow {
    font-size: 8px;
    letter-spacing: 0.1em;
  }
  .race-venue {
    padding-top: 16px;
    margin-top: 20px;
    gap: 10px;
  }
  .race-venue strong {
    font-size: 10px;
  }
  .race-venue div > span {
    font-size: 8px;
  }
  .checkered {
    width: 20px;
    height: 20px;
    background-size: 10px 10px;
  }
  .race-venue a {
    font-size: 9px;
  }
  .auth-card {
    padding: 24px;
  }
  .auth-card h2 {
    font-size: 25px;
    margin-top: 20px;
  }
}
@media (max-width: 800px) {
  .race-copy {
    padding: 20px 24px;
  }
  .race-copy h1 {
    font-size: 27px;
  }
  .race-copy > p:not(.eyebrow) {
    display: none;
  }
  .race-photo {
    aspect-ratio: 2.5;
  }
  .race-venue {
    margin-top: 16px;
    padding-top: 14px;
  }
}
.details {
  scroll-margin-top: 84px;
}
