:root {
  --bg: #ecf7fb;
  --shell: #063c4a;
  --shell-2: #087b8f;
  --surface: #ffffff;
  --surface-soft: #f2fbfd;
  --ink: #111827;
  --muted: #5f6f7c;
  --line: #cfe3eb;
  --gold: #ffb000;
  --gold-soft: #fff1c7;
  --cyan: #00a7c8;
  --coral: #ff5a5f;
  --ok: #079455;
  --ok-soft: #dcfae6;
  --warn: #d97706;
  --warn-soft: #fff2d6;
  --bad: #d92d20;
  --bad-soft: #fff0ee;
  --shadow: 0 22px 60px rgba(8, 58, 71, 0.16);
  --shadow-soft: 0 10px 28px rgba(8, 58, 71, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 167, 200, 0.22), transparent 30%),
    radial-gradient(circle at 88% 4%, rgba(255, 176, 0, 0.18), transparent 26%),
    linear-gradient(180deg, #fbfdff 0, var(--bg) 360px),
    var(--bg);
  color: var(--ink);
}

.hidden {
  display: none !important;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: 0;
}

h2 {
  font-size: 18px;
  line-height: 1.2;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.brand-logo {
  display: block;
  object-fit: contain;
}

.login-logo {
  width: 132px;
  aspect-ratio: 1;
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 18px 44px rgba(6, 43, 49, 0.16);
}

.brand-lockup {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.topbar-logo {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  border-radius: 8px;
  padding: 0;
}

.login-view {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 25% 16%, rgba(255, 176, 0, 0.32), transparent 25%),
    radial-gradient(circle at 74% 22%, rgba(0, 167, 200, 0.28), transparent 28%),
    linear-gradient(135deg, #04313d 0%, #087b8f 48%, #f3fbfd 100%);
}

.login-card {
  width: min(440px, 100%);
  display: grid;
  gap: 18px;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.26);
}

.login-message {
  min-height: 20px;
  color: var(--bad);
  font-size: 14px;
  font-weight: 800;
}

.app-shell {
  min-height: 100vh;
}

.topbar {
  display: grid;
  grid-template-columns: minmax(210px, 0.9fr) minmax(280px, 1fr) auto minmax(330px, 1.1fr);
  gap: 18px;
  align-items: center;
  padding: 24px 36px;
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 176, 0, 0.2), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent),
    linear-gradient(135deg, #04313d, #087b8f);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 48px rgba(8, 47, 53, 0.22);
}

.event-switcher {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.event-switcher label {
  color: rgba(255, 255, 255, 0.72);
}

.topbar select,
#logoutButton {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.topbar select option {
  color: var(--ink);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(96px, 1fr));
  gap: 10px;
}

.stats div {
  min-height: 72px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
}

.stats strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.tabs {
  display: flex;
  gap: 8px;
  padding: 18px 36px 0;
}

.tab,
button,
.button-link {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 15px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 140ms ease,
    border-color 140ms ease,
    transform 140ms ease,
    box-shadow 140ms ease;
}

.tab:not(.active) {
  background: rgba(255, 255, 255, 0.84);
}

.tab:hover,
button:hover,
.button-link:hover {
  border-color: #b7c4cf;
  box-shadow: var(--shadow-soft);
}

.tab:active,
button:active,
.button-link:active {
  transform: translateY(1px);
}

.tab.active,
.primary {
  border-color: var(--shell-2);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent),
    linear-gradient(135deg, #063c4a, #0891a8);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(8, 47, 53, 0.22);
}

.primary:hover {
  box-shadow: 0 14px 34px rgba(0, 127, 151, 0.28);
}

main {
  padding: 22px 36px 38px;
}

.panel {
  display: none;
}

.panel.active {
  display: block;
}

.work-grid,
.event-grid {
  display: grid;
  gap: 18px;
}

.work-grid {
  grid-template-columns: minmax(360px, 0.9fr) minmax(320px, 1.1fr);
}

.event-grid {
  grid-template-columns: minmax(330px, 0.75fr) minmax(420px, 1.25fr);
}

.surface {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.94)),
    var(--surface);
  border: 1px solid rgba(217, 225, 232, 0.92);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 18px;
}

.section-heading span,
.hint {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.checkin-form,
.events-list {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0, 167, 200, 0.17);
}

#queryInput {
  min-height: 64px;
  border-width: 2px;
  font-size: 22px;
  font-weight: 850;
}

textarea {
  min-height: 240px;
  resize: vertical;
  font-family: Consolas, monospace;
  line-height: 1.45;
}

.check-option,
.event-print-toggle {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
}

.check-option input,
.event-print-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--shell-2);
}

.check-option.compact {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  font-weight: 850;
}

.result {
  margin-top: 16px;
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--muted);
  line-height: 1.55;
}

.result strong {
  color: var(--ink);
  font-size: 20px;
}

.result.ok,
.auto-status.ok {
  border-color: rgba(20, 114, 74, 0.35);
  background: var(--ok-soft);
  color: var(--ok);
}

.result.ok strong,
.auto-status.ok strong {
  color: var(--ok);
}

.result.warn,
.auto-status.warn {
  border-color: rgba(154, 95, 0, 0.38);
  background: var(--warn-soft);
  color: var(--warn);
}

.result.warn strong,
.auto-status.warn strong {
  color: var(--warn);
}

.result.bad,
.auto-status.bad {
  border-color: rgba(179, 38, 30, 0.38);
  background: var(--bad-soft);
  color: var(--bad);
}

.result.bad strong,
.auto-status.bad strong {
  color: var(--bad);
}

.usb-panel {
  display: grid;
  align-content: start;
}

.usb-status {
  display: grid;
  gap: 13px;
  min-height: 330px;
  align-content: center;
  justify-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 167, 200, 0.2), transparent 36%),
    radial-gradient(circle at 12% 20%, rgba(255, 176, 0, 0.16), transparent 28%),
    linear-gradient(145deg, #ffffff, #f7fafb);
  padding: 30px;
  text-align: center;
}

.usb-status::before {
  content: "";
  width: 78px;
  height: 78px;
  border: 7px solid rgba(18, 63, 71, 0.12);
  border-top-color: var(--cyan);
  border-radius: 50%;
}

.usb-status strong {
  color: var(--shell);
  font-size: 35px;
  line-height: 1.05;
}

.usb-status span {
  max-width: 390px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.actions,
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.toolbar {
  align-items: center;
  margin-bottom: 14px;
}

.toolbar input {
  max-width: 440px;
}

.import-card,
.participant-form {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.import-card {
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: end;
}

.participant-form {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.participant-form button {
  align-self: end;
}

.event-row {
  position: relative;
  min-height: 148px;
  display: grid;
  gap: 8px;
  justify-items: start;
  width: 100%;
  padding: 22px;
  border: 1px solid rgba(217, 225, 232, 0.95);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 167, 200, 0.13), transparent 32%),
    linear-gradient(145deg, #ffffff, #f7fcfe);
  text-align: left;
  box-shadow: var(--shadow-soft);
}

.event-row::before {
  content: "";
  width: 48px;
  height: 5px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), var(--coral), var(--cyan));
}

.event-row strong {
  color: var(--ink);
  font-size: 23px;
}

.event-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.event-row small {
  color: var(--shell-2);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.event-row em {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e9eef2;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.event-row b {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 90, 95, 0.12);
  color: var(--coral);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.event-row.active {
  border-color: rgba(0, 167, 200, 0.55);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 176, 0, 0.18), transparent 34%),
    linear-gradient(145deg, #ffffff, #edfaff);
}

.event-row.sold-out {
  border-color: rgba(255, 90, 95, 0.35);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 90, 95, 0.16), transparent 34%),
    linear-gradient(145deg, #ffffff, #fff5f5);
}

.event-row.sold-out::before {
  background: linear-gradient(90deg, var(--coral), var(--gold));
}

.event-row.finished {
  opacity: 0.5;
  background: #f5f7f8;
}

.event-row.finished:hover {
  opacity: 0.74;
}

.event-row.finished::before {
  background: #a6b1bc;
}

.event-print-toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 14px;
}

th {
  background: #f3f6f8;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

tbody tr:hover {
  background: #fbfcfd;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 260px;
}

.table-actions button {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 12px;
}

.table-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.management-heading {
  margin-top: 28px;
}

.user-table-wrap {
  margin-top: 16px;
}

.badge {
  display: inline-flex;
  min-width: 94px;
  justify-content: center;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.badge.ok {
  background: var(--ok-soft);
  color: var(--ok);
}

.badge.pending,
.badge.free {
  background: #eef2f5;
  color: var(--muted);
}

.badge.paid {
  background: var(--gold-soft);
  color: #9a5f00;
}

.badge.pending {
  background: #e9f7fb;
  color: #087b8f;
}

body.auto-mode {
  background: #edf3f2;
}

body.auto-mode .topbar,
body.auto-mode .tabs {
  display: none;
}

body.auto-mode main {
  min-height: 100vh;
  padding: 0;
}

body.auto-mode #auto {
  min-height: 100vh;
}

.auto-layout {
  display: grid;
  gap: 18px;
  min-height: calc(100vh - 180px);
}

body.auto-mode .auto-layout {
  min-height: 100vh;
  grid-template-rows: auto 1fr auto auto;
  padding: 18px;
}

.auto-topline,
.auto-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.auto-status {
  display: grid;
  gap: 12px;
  justify-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, #ffffff, #f9fbfc);
  padding: 44px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

body.auto-mode .auto-status {
  align-content: center;
  min-height: 50vh;
  border-width: 3px;
}

.auto-status p {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
}

.auto-status strong {
  color: var(--ink);
  font-size: 42px;
  line-height: 1.05;
}

body.auto-mode .auto-status strong {
  font-size: clamp(46px, 7vw, 92px);
}

.auto-status span {
  color: inherit;
  font-size: 20px;
}

.auto-confirm-card {
  display: grid;
  gap: 16px;
  justify-items: center;
  width: min(100%, 980px);
  margin: 0 auto;
}

.auto-confirm-card p {
  margin: 0;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(20, 114, 74, 0.1);
  color: var(--ok);
  font-size: clamp(16px, 2.1vw, 28px);
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.auto-confirm-card strong {
  color: var(--ink);
  font-size: clamp(44px, 8vw, 118px);
  line-height: 0.95;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.auto-confirm-card > span {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 30px);
  font-weight: 800;
}

.auto-confirm-card.warn p {
  background: rgba(154, 95, 0, 0.12);
  color: var(--warn);
}

.auto-confirm-illustration {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(96px, 12vw, 168px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #ffffff 0 44%, transparent 45%),
    conic-gradient(from 20deg, var(--gold), var(--cyan), #19b87a, var(--gold));
  box-shadow: 0 22px 60px rgba(20, 114, 74, 0.22);
}

.auto-confirm-illustration::before {
  content: "";
  position: absolute;
  inset: -14px;
  border: 2px solid rgba(20, 114, 74, 0.16);
  border-radius: inherit;
}

.auto-confirm-illustration span {
  width: 42%;
  height: 24%;
  border-left: clamp(8px, 1vw, 15px) solid var(--ok);
  border-bottom: clamp(8px, 1vw, 15px) solid var(--ok);
  transform: rotate(-45deg) translate(4%, -12%);
}

.auto-confirm-card.warn .auto-confirm-illustration {
  background:
    radial-gradient(circle at 50% 50%, #ffffff 0 44%, transparent 45%),
    conic-gradient(from 20deg, var(--gold), #ffcf5f, var(--warn), var(--gold));
  box-shadow: 0 22px 60px rgba(154, 95, 0, 0.2);
}

.auto-confirm-card.warn .auto-confirm-illustration::before {
  border-color: rgba(154, 95, 0, 0.18);
}

.auto-confirm-card.warn .auto-confirm-illustration span {
  width: 46%;
  height: clamp(8px, 1vw, 14px);
  border: 0;
  border-radius: 999px;
  background: var(--warn);
  transform: none;
}

.auto-scan-form {
  max-width: 760px;
  width: 100%;
  justify-self: center;
}

.auto-scan-form input {
  height: 62px;
  border-width: 2px;
  text-align: center;
  font-size: 23px;
  font-weight: 900;
}

.auto-footer {
  display: none;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
}

.auto-footer div {
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.auto-footer strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.auto-footer span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.auto-recent {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  padding: 12px 14px;
}

.auto-recent h2 {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.auto-recent-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.auto-recent-item {
  min-height: 50px;
  border-radius: 8px;
  background: #f6f8fa;
  border: 1px solid #edf1f4;
  padding: 8px 10px;
  overflow: hidden;
}

.auto-recent-item strong,
.auto-recent-item span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auto-recent-item strong {
  color: var(--ink);
  font-size: 16px;
}

.auto-recent-item span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 1120px) {
  .topbar {
    grid-template-columns: 1fr;
  }

  .event-switcher,
  .stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .work-grid,
  .event-grid,
  .participant-form,
  .import-card {
    grid-template-columns: 1fr;
  }

  .section-heading {
    flex-direction: column;
    align-items: stretch;
  }

  .tabs {
    overflow-x: auto;
    padding-inline: 20px;
  }

  main {
    padding: 18px 20px 28px;
  }

  .auto-recent-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 24px;
  }

  .auto-footer {
    grid-template-columns: 1fr;
  }

  .auto-recent-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.public-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 176, 0, 0.28), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(0, 167, 200, 0.3), transparent 30%),
    linear-gradient(145deg, #04313d 0%, #087b8f 46%, #ecf7fb 100%);
}

.public-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(420px, 1fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: center;
  width: min(1160px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 32px 0;
}

.public-hero {
  color: #ffffff;
  min-width: 0;
}

.public-logo {
  width: min(220px, 58vw);
  aspect-ratio: 1;
  margin-bottom: 24px;
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
}

.public-hero h1 {
  max-width: 100%;
  font-size: clamp(40px, 5.1vw, 72px);
  line-height: 1;
  overflow-wrap: anywhere;
}

.public-hero span {
  display: block;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 800;
}

.public-card,
.public-result {
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.public-card {
  position: relative;
  z-index: 2;
  padding: clamp(20px, 3vw, 34px);
}

.public-form {
  display: grid;
  gap: 15px;
}

.public-result {
  display: grid;
  gap: 16px;
  justify-items: center;
  padding: clamp(24px, 4vw, 44px);
  text-align: center;
}

.public-result p {
  color: var(--ok);
  font-size: 17px;
  font-weight: 950;
  text-transform: uppercase;
}

.public-result strong {
  color: var(--ink);
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1;
}

.public-result span {
  color: var(--muted);
  font-size: 17px;
  font-weight: 750;
}

.public-result img {
  width: min(280px, 74vw);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
}

.public-result code {
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--shell);
  font-size: 16px;
  font-weight: 900;
}

.public-result.bad p,
.public-result.sold-out p {
  color: var(--coral);
}

.public-check {
  display: grid;
  place-items: center;
  width: 92px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #ffffff 0 44%, transparent 45%),
    conic-gradient(from 20deg, var(--gold), var(--cyan), #19b87a, var(--gold));
}

.public-check span {
  width: 42%;
  height: 24%;
  border-left: 9px solid var(--ok);
  border-bottom: 9px solid var(--ok);
  transform: rotate(-45deg) translate(4%, -12%);
}

@media (max-width: 840px) {
  .public-shell {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 22px;
  }

  .public-hero h1 {
    font-size: clamp(36px, 11vw, 58px);
  }
}

@media (max-width: 640px) {
  .brand-lockup {
    align-items: flex-start;
  }

  .topbar-logo {
    width: 58px;
    height: 58px;
  }

  .login-logo {
    width: 112px;
  }
}
