@font-face {
  font-family: "Montserrat";
  src: url(../fonts/inter-latin-wght-normal.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #f4f3fa;
  --surface: #ffffff;
  --surface-2: #faf9fe;
  --field: #ffffff;
  --field-h: #fbfaff;
  --tint: #efecfb;
  --tint-2: #e5e0f8;
  --line: #e4e0f1;
  --line-strong: #cdc6e5;
  --ink: #16112e;
  --ink-2: #3b3461;
  --muted: #5f5884;
  --indigo: #302478;
  --indigo-2: #3c2e99;
  --deep: #1a153c;
  --gold: #feb803;
  --gold-2: #ffc935;
  --gold-ink: #1a153c;
  --primary: #302478;
  --primary-h: #3c2e99;
  --primary-ink: #ffffff;
  --link: #302478;
  --sel: #302478;
  --sel-bg: #f1eefd;
  --ring: 0 0 0 3px rgba(48, 36, 120, .18);
  --req: #d0302f;
  --ok: #11795a;
  --ok-bg: #e3f5ec;
  --danger: #c0262d;
  --danger-bg: #fdeced;
  --shadow: 0 1px 2px rgba(22, 17, 46, .05), 0 4px 8px -3px rgba(22, 17, 46, .07);
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235f5884' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --ease: cubic-bezier(.22, 1, .36, 1);
  --r: 10px;
  --r-lg: 16px;
  color-scheme: light;
}
:root[data-theme=dark] {
  --bg: #0e0a1f;
  --surface: #17122e;
  --surface-2: #1c1638;
  --field: #1d1739;
  --field-h: #231c45;
  --tint: #241c4a;
  --tint-2: #2c2357;
  --line: #2c2453;
  --line-strong: #463b7e;
  --ink: #f4f1ff;
  --ink-2: #d2cbee;
  --muted: #a59dcc;
  --primary: #feb803;
  --primary-h: #ffc935;
  --primary-ink: #1a153c;
  --link: #feb803;
  --sel: #feb803;
  --sel-bg: #2a2160;
  --ring: 0 0 0 3px rgba(254, 184, 3, .3);
  --req: #ff8f8a;
  --ok: #72e0aa;
  --ok-bg: rgba(114, 224, 170, .12);
  --danger: #ff9b9b;
  --danger-bg: rgba(255, 110, 110, .1);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 8px -3px rgba(0, 0, 0, .35);
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23a59dcc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  color-scheme: dark;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 120px;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font:
    500 15px/1.55 "Montserrat",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: var(--link);
}
h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.15;
  text-wrap: balance;
}
p {
  margin: 0;
}
button {
  font: inherit;
  color: inherit;
}
.ic {
  flex: none;
}
.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 60;
  padding: 10px 14px;
  border-radius: var(--r);
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.muted {
  color: var(--muted);
}
.req {
  margin-left: 3px;
  color: var(--req);
  font-weight: 800;
}
.opt {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 7px;
  border-radius: 6px;
  background: var(--tint);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  vertical-align: 1px;
}
.link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--link);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.top {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
  padding: 0 clamp(16px, 3vw, 36px);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.brands {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  border-radius: 10px;
  text-decoration: none;
}
.brands img {
  height: 34px;
  width: auto;
}
.brands-sep {
  width: 1px;
  height: 30px;
  background: var(--line-strong);
}
:root[data-theme=dark] .brands {
  padding: 8px 14px;
  background: #fff;
}
:root[data-theme=dark] .brands-sep {
  background: #dcd7ec;
}
.top-right {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.top-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 4px 18px;
}
.top-contact a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-2);
  text-decoration: none;
}
.top-contact a:hover {
  color: var(--ink);
}
.top-contact .ic {
  color: var(--indigo);
}
:root[data-theme=dark] .top-contact .ic {
  color: var(--gold);
}
.top-right .top-call {
  display: none;
}
.top-out {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}
.top-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 170px;
  color: var(--ink);
  font-weight: 700;
  font-size: 13.5px;
}
.top-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--indigo);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
:root[data-theme=dark] .avatar {
  background: var(--gold);
  color: var(--gold-ink);
}
.when-dark,
:root[data-theme=dark] .when-light {
  display: none;
}
:root[data-theme=dark] .when-dark {
  display: inline-flex;
}
.when-light {
  display: inline-flex;
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--r);
  background: none;
  color: var(--muted);
  cursor: pointer;
  transition: background .15s, color .15s;
  text-decoration: none;
}
.icon-btn:hover {
  background: var(--tint);
  color: var(--ink);
}
.icon-btn:focus-visible,
.btn:focus-visible,
.link:focus-visible,
.tabs button:focus-visible,
.ptabs button:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: #1a153c url(../campus-1280.webp) center 42% / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      100deg,
      rgba(18, 13, 44, .95) 0%,
      rgba(26, 21, 60, .9) 45%,
      rgba(26, 21, 60, .66) 70%,
      rgba(26, 21, 60, .42) 100%);
}
.hero-in {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) clamp(16px, 3vw, 36px) clamp(34px, 4vw, 52px);
}
.view-gate .hero-in,
.view-verify .hero-in {
  max-width: 1112px;
  padding-bottom: 132px;
}
.view-gate .hero h1 {
  max-width: 22ch;
}
.view-apps .hero-in {
  max-width: 860px;
}
.view-done .hero-in {
  max-width: 1000px;
}
@media (min-width: 1100px) {
  .hero {
    background-size: 120% auto;
    background-position: left 30vw top 42%;
  }
  .hero::before {
    background:
      linear-gradient(
        90deg,
        rgb(18, 13, 44) 0%,
        rgb(20, 15, 48) 30vw,
        rgba(26, 21, 60, .72) calc(30vw + 280px),
        rgba(26, 21, 60, .4) 100%);
  }
}
.hero-copy {
  max-width: 720px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
}
.kicker .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5fe0a2;
  box-shadow: 0 0 0 4px rgba(95, 224, 162, .2);
}
.kicker .dot.is-off {
  background: #b9b0de;
  box-shadow: none;
}
.hero h1 {
  font-size: clamp(30px, 4.4vw, 54px);
  font-weight: 800;
  letter-spacing: -.028em;
  max-width: 18ch;
}
.hero-sub {
  margin-top: 14px;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .84);
}
.hero-sub a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.hero-sub a:hover {
  text-decoration: underline;
}
.hero-meta {
  display: grid;
  gap: 10px;
  flex: none;
  margin: 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  min-width: 260px;
}
.hero-meta dt {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}
.hero-meta dd {
  margin: 2px 0 0;
  font-size: 14.5px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.hero-meta [data-app-id] {
  font-family:
    ui-monospace,
    "SF Mono",
    Menlo,
    Consolas,
    monospace;
  color: var(--gold);
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.card-ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--indigo);
}
.card-ic.is-gold {
  background: #fff3cf;
  color: #7a5600;
}
:root[data-theme=dark] .card-ic {
  color: var(--gold);
}
:root[data-theme=dark] .card-ic.is-gold {
  background: rgba(254, 184, 3, .14);
  color: var(--gold);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    background .15s,
    border-color .15s,
    color .15s,
    transform .2s var(--ease),
    box-shadow .2s;
}
.btn:active {
  transform: scale(.98);
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-ink);
}
.btn-primary:hover {
  background: var(--primary-h);
}
.btn-gold {
  background: var(--gold);
  color: var(--gold-ink);
}
.btn-gold:hover {
  background: var(--gold-2);
}
.btn-primary .ic,
.btn-gold .ic {
  transition: transform .25s var(--ease);
}
.btn-primary:hover .ic,
.btn-gold:hover .ic {
  transform: translateX(3px);
}
.btn-ghost {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--ink-2);
}
.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--sel);
}
.btn-quiet {
  border-color: var(--line);
  background: transparent;
  color: var(--ink-2);
}
.btn-quiet:hover {
  background: var(--tint);
  color: var(--ink);
}
.btn-sm {
  min-height: 36px;
  padding: 0 12px;
  gap: 7px;
  font-size: 13px;
  border-radius: 9px;
}
.btn-block {
  width: 100%;
}
.btn[aria-busy=true] {
  cursor: progress;
  filter: saturate(.8);
}
.btn[aria-busy=true] .ic {
  display: none;
}
.f {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.f > label:not(.drop):not(.tick),
.f > legend,
.statement-top > label,
.sub-h {
  display: block;
  margin-bottom: 7px;
  padding: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-2);
}
.f > label .sub,
.f > legend .sub {
  display: block;
  margin-top: 1px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
input:not([type=checkbox]):not([type=radio]):not([type=file]),
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--field);
  color: var(--ink);
  font:
    500 15.5px/1.4 "Montserrat",
    system-ui,
    sans-serif;
  transition:
    border-color .15s,
    box-shadow .15s,
    background .15s;
  -webkit-appearance: none;
  appearance: none;
}
textarea {
  resize: vertical;
  min-height: 84px;
  line-height: 1.6;
}
select {
  padding-right: 42px;
  background-image: var(--chev);
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: .85;
}
input:hover,
select:hover,
textarea:hover {
  border-color: var(--sel);
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--sel);
  box-shadow: var(--ring);
}
input[readonly] {
  color: var(--muted);
  background-color: var(--surface-2);
}
input[type=date]::-webkit-calendar-picker-indicator {
  opacity: .65;
  cursor: pointer;
}
:root[data-theme=dark] input[type=date]::-webkit-calendar-picker-indicator {
  filter: invert(.85);
}
.hint {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted);
}
.err {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--danger);
}
.err .ic {
  margin-top: 2px;
}
[aria-invalid=true] {
  border-color: var(--danger) !important;
}
.is-bad > .seg span,
.is-bad .tile-in,
.is-bad .prog {
  border-color: var(--danger);
}
.tick {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
}
.tick input {
  flex: none;
  width: 19px;
  height: 19px;
  margin: 1px 0 0;
  accent-color: var(--indigo);
  cursor: pointer;
}
:root[data-theme=dark] .tick input {
  accent-color: var(--gold);
}
.seg {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.seg label {
  position: relative;
}
.seg input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.seg span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 9px 15px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--field);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  transition:
    background .15s,
    border-color .15s,
    color .15s;
  cursor: pointer;
}
.seg label:hover span {
  border-color: var(--sel);
  color: var(--ink);
}
.seg input:checked + span {
  border-color: var(--sel);
  background: var(--sel-bg);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--sel);
}
.seg input:checked + span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sel);
}
.seg input:focus-visible + span {
  box-shadow: var(--ring);
}
.pw {
  position: relative;
}
.pw input:not([type=checkbox]) {
  padding-right: 78px;
}
.pw-eye {
  position: absolute;
  top: 50%;
  right: 6px;
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--link);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transform: translateY(-50%);
}
.pw-eye:hover {
  background: var(--tint);
}
.pw-eye:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.drop {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 84px;
  padding: 16px 18px;
  border: 1.5px dashed var(--line-strong);
  border-radius: 14px;
  background: var(--surface-2);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.drop:hover,
.drop.is-over {
  border-color: var(--sel);
  background: var(--sel-bg);
}
.drop:focus-within {
  border-color: var(--sel);
  box-shadow: var(--ring);
}
.drop-ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--indigo);
}
:root[data-theme=dark] .drop-ic {
  color: var(--gold);
}
.drop-tx {
  display: grid;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.drop-tx strong {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}
.drop-tx em {
  font-style: normal;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
}
.drop-tx small {
  font-size: 12.5px;
  color: var(--muted);
}
.drop-go {
  flex: none;
  padding: 9px 14px;
  border-radius: 9px;
  background: var(--primary);
  color: var(--primary-ink);
  font-size: 13.5px;
  font-weight: 700;
}
.drop-file {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 12px 12px 14px;
  border: 1.5px solid var(--ok);
  border-radius: 14px;
  background: var(--ok-bg);
}
.drop-file .thumb {
  display: grid;
  place-items: center;
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
  color: var(--indigo);
}
.drop-file .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.drop-file .meta {
  display: grid;
  gap: 1px;
  flex: 1;
  min-width: 0;
}
.drop-file .fname {
  font-size: 14px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.drop-file .fsize {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--ok);
  font-weight: 600;
}
.has-file .drop {
  display: none;
}
.drop-field.is-bad .drop {
  border-color: var(--danger);
}
.drop-small {
  min-height: 72px;
  padding: 12px 14px;
}
.photo-field {
  position: relative;
  display: flex;
  flex-direction: column;
}
.photo-field > .drop,
.photo-field > .drop-file {
  flex: 1;
}
.drop-photo {
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-height: 236px;
  padding: 18px 12px;
  text-align: center;
}
.drop-photo .drop-ic {
  width: 58px;
  height: 58px;
  border-radius: 50%;
}
.drop-photo .drop-go {
  margin-top: 4px;
}
.photo-field.has-file .drop-file {
  flex-direction: column;
  justify-content: center;
  min-height: 236px;
  padding: 14px 10px;
  text-align: center;
  gap: 8px;
}
.photo-field .drop-file .thumb {
  width: 104px;
  height: 130px;
  border-radius: 12px;
}
.photo-field .drop-file .meta {
  flex: none;
  justify-items: center;
  max-width: 100%;
}
.photo-field .drop-file .icon-btn {
  position: absolute;
  top: 6px;
  right: 6px;
}
.page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 36px) 80px;
}
.page-gate {
  position: relative;
  z-index: 2;
  margin-top: -96px;
}
.gate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 1040px;
  margin: 0 auto;
  align-items: start;
}
.panel {
  padding: 28px clamp(20px, 3vw, 34px) 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 2px 4px rgba(22, 17, 46, .06), 0 8px 8px -6px rgba(22, 17, 46, .1);
}
.panel-h {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.panel-h h2 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.panel-h p {
  margin-top: 3px;
  font-size: 14px;
  color: var(--muted);
}
.gate-form {
  display: grid;
  gap: 16px;
}
.gate-msg {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}
.gate-msg .ic {
  flex: none;
  margin-top: 2px;
}
.gate-msg.is-err {
  background: var(--danger-bg);
  color: var(--danger);
}
.gate-msg.is-ok {
  background: var(--ok-bg);
  color: var(--ok);
}
.gate-switch {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
}
.gate-switch a {
  font-weight: 700;
}
.code-row {
  display: flex;
  gap: 8px;
}
.code-row input:not([type=checkbox]) {
  flex: 1;
  min-width: 0;
  letter-spacing: .28em;
  font-variant-numeric: tabular-nums;
}
.code-row input:placeholder-shown {
  letter-spacing: normal;
}
.code-row .btn {
  flex: none;
  min-height: 48px;
  padding: 0 16px;
  font-size: 14px;
}
.code-row .btn:disabled {
  cursor: default;
  opacity: .7;
}
.how {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1040px;
  margin: 36px auto 0;
  padding: 0;
  list-style: none;
}
.how li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.how-n {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--deep);
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
}
:root[data-theme=dark] .how-n {
  background: var(--tint-2);
}
.how strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
}
.how span:not(.how-n) {
  font-size: 13.5px;
  color: var(--muted);
}
.page-apps {
  max-width: 860px;
  padding-top: 32px;
}
.apps {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.app {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 6px 16px;
  padding: 18px 20px;
}
.app-main {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.app-no {
  font:
    600 12.5px/1.3 ui-monospace,
    "SF Mono",
    Menlo,
    Consolas,
    monospace;
  letter-spacing: .03em;
  color: var(--indigo);
}
:root[data-theme=dark] .app-no {
  color: var(--gold);
}
.app-main strong {
  font-size: 16px;
  font-weight: 700;
}
.app-main small {
  font-size: 13px;
  color: var(--muted);
}
.chip {
  padding: 5px 10px;
  border-radius: 7px;
  background: var(--tint);
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}
.chip-gold,
.chip-act {
  background: #fff1c7;
  color: #6b4c00;
}
.chip-good {
  background: var(--ok-bg);
  color: var(--ok);
}
.chip-bad {
  background: var(--danger-bg);
  color: var(--danger);
}
:root[data-theme=dark] .chip-gold,
:root[data-theme=dark] .chip-act {
  background: rgba(254, 184, 3, .14);
  color: var(--gold);
}
.app-action {
  grid-column: 2 / -1;
  display: flex;
  gap: 9px;
  margin: 8px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
}
.app-action .ic {
  flex: none;
  margin-top: 2px;
  color: var(--indigo);
}
.apps-actions,
.done-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.apps-note {
  margin-top: 16px;
  max-width: 62ch;
  font-size: 13.5px;
}
.tabs {
  position: sticky;
  top: 0;
  z-index: 25;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 8px -6px rgba(22, 17, 46, .12);
}
.tabs ol {
  display: flex;
  justify-content: center;
  gap: 6px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px clamp(16px, 3vw, 36px);
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.tabs ol::-webkit-scrollbar {
  display: none;
}
.tabs li {
  flex: none;
  scroll-snap-align: center;
}
.tabs button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 16px 0 7px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background .2s var(--ease),
    color .2s,
    border-color .2s;
  white-space: nowrap;
}
.tabs button:disabled {
  cursor: default;
  opacity: .55;
}
.tabs button:not(:disabled):hover {
  border-color: var(--sel);
  color: var(--ink);
}
.t-n {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--tint);
  color: var(--indigo);
  font-size: 12.5px;
  font-weight: 800;
}
:root[data-theme=dark] .t-n {
  color: var(--gold);
}
.t-ok {
  display: none;
}
.tabs li.is-current button {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-ink);
}
.tabs li.is-current .t-n {
  background: rgba(255, 255, 255, .18);
  color: inherit;
}
:root[data-theme=dark] .tabs li.is-current .t-n {
  background: rgba(26, 21, 60, .16);
}
.tabs li.is-done:not(.is-current) .t-n {
  background: var(--ok);
  color: #fff;
}
:root[data-theme=dark] .tabs li.is-done:not(.is-current) .t-n {
  color: #0e0a1f;
}
.tabs li.is-done .t-num {
  display: none;
}
.tabs li.is-done .t-ok {
  display: grid;
}
.tabs li.is-bad:not(.is-current) button {
  border-color: var(--danger);
}
.tabs li.is-bad:not(.is-current) .t-n {
  background: var(--danger-bg);
  color: var(--danger);
}
.tabs li.is-bad .t-num {
  display: inline;
}
.tabs li.is-bad .t-ok {
  display: none;
}
.tabs-bar {
  height: 3px;
  background: var(--line);
}
.tabs-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
  transition: width .5s var(--ease);
}
.wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 32px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px clamp(16px, 3vw, 36px) 96px;
  align-items: start;
}
.main {
  min-width: 0;
}
.form {
  display: block;
}
.js .step {
  display: none;
}
.js .step.is-on {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}
.no-js .step {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}
.step > * {
  min-width: 0;
}
.no-js .step + .step {
  margin-top: 48px;
}
.step.enter {
  animation: stepIn .45s var(--ease);
}
@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.step-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.step-no {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  order: 2;
}
.step-head h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -.025em;
}
.step > .card {
  padding: 22px clamp(18px, 2.4vw, 28px) 26px;
}
.card-h {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.card-t {
  flex: 1;
  min-width: 0;
}
.card-t h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.card-t p {
  margin-top: 2px;
  font-size: 13.5px;
  color: var(--muted);
}
.card-st {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--tint);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.card-st:empty {
  display: none;
}
.card-st.is-ok {
  background: var(--ok-bg);
  color: var(--ok);
}
.note {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.55;
}
.note .ic {
  margin-top: 1px;
  color: var(--indigo);
}
:root[data-theme=dark] .note .ic {
  color: var(--gold);
}
.note strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 13.5px;
}
.note ul,
.note ol {
  margin: 4px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 3px;
}
.note .req-line {
  color: var(--req);
  font-weight: 700;
}
.grid {
  display: grid;
  gap: 20px 18px;
}
.g3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.g2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.span-2 {
  grid-column: span 2;
}
.span-3 {
  grid-column: 1 / -1;
}
.drop-pair {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.drop-pair > .drop-field {
  grid-column: auto;
}
.basic {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}
.block {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.block + .block {
  margin-top: 26px;
}
.block > legend {
  margin-bottom: 12px !important;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.tile {
  position: relative;
}
.tile input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.tile-in {
  position: relative;
  display: grid;
  gap: 1px;
  padding: 13px 15px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: var(--field);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.tile-in strong {
  padding-right: 20px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-wrap: balance;
}
.tile-in small {
  font-size: 12.5px;
  color: var(--muted);
}
.tile-ok {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-ink);
  opacity: 0;
  transform: scale(.6);
  transition: opacity .2s, transform .25s var(--ease);
}
.tile:hover .tile-in {
  border-color: var(--sel);
}
.tile input:checked + .tile-in {
  border-color: var(--sel);
  background: var(--sel-bg);
  box-shadow: inset 0 0 0 1px var(--sel);
}
.tile input:checked + .tile-in .tile-ok {
  opacity: 1;
  transform: none;
}
.tile input:focus-visible + .tile-in {
  box-shadow: var(--ring);
}
.campus-pick {
  margin-top: 16px;
}
.ptabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--tint);
  overflow-x: auto;
  scrollbar-width: none;
}
.ptabs::-webkit-scrollbar {
  display: none;
}
.ptabs button {
  position: relative;
  flex: 1 0 auto;
  padding: 10px 14px;
  border: 0;
  border-radius: 9px;
  background: none;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s var(--ease), color .2s;
}
.ptabs button:hover {
  color: var(--ink);
}
.ptabs button[aria-selected=true] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(22, 17, 46, .12);
}
.ptabs i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 7px;
  vertical-align: 2px;
  border-radius: 50%;
  background: var(--gold);
}
.js .ppanel {
  display: none;
}
.js .ppanel.is-on {
  display: block;
}
.no-js .ppanel + .ppanel {
  margin-top: 18px;
}
.no-js .ptabs {
  display: none;
}
.js .no-city .ptabs,
.js .no-city .ppanel.is-on,
.no-js [data-city-first] {
  display: none;
}
.pnote {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.plist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.prog {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 15px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: var(--field);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.prog input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.prog:hover {
  border-color: var(--sel);
}
.prog-dot {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  transition: border-color .15s, border-width .2s var(--ease);
}
.prog-tx {
  display: grid;
  gap: 1px;
  flex: 1;
  min-width: 0;
}
.prog-tx strong {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
}
.prog-tx small {
  font-size: 12.5px;
  color: var(--muted);
}
.flag {
  justify-self: start;
  margin-top: 5px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-style: normal;
  font-weight: 700;
  background: #fff1c7;
  color: #6b4c00;
}
:root[data-theme=dark] .flag {
  background: rgba(254, 184, 3, .14);
  color: var(--gold);
}
.prog-yrs {
  flex: none;
  align-self: flex-start;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--tint);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
}
.prog:has(input:checked) {
  border-color: var(--sel);
  background: var(--sel-bg);
  box-shadow: inset 0 0 0 1px var(--sel);
}
.prog:has(input:checked) .prog-dot {
  border-color: var(--sel);
  border-width: 6px;
}
.prog:has(input:focus-visible) {
  box-shadow: var(--ring);
}
.note-warn {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 13px 15px;
  border-radius: 12px;
  background: #fff6dc;
  color: #5e4300;
  font-size: 14px;
}
:root[data-theme=dark] .note-warn {
  background: rgba(254, 184, 3, .12);
  color: var(--ink-2);
}
.note-warn .ic {
  margin-top: 1px;
}
.qentry {
  padding: 18px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
}
.qentry > .err {
  margin: 12px 0 0;
}
.btn-add {
  width: 100%;
  margin-top: 16px;
  background: var(--primary);
  color: var(--primary-ink);
}
.btn-add:hover {
  background: var(--primary-h);
}
.qual-field {
  margin-top: 18px;
}
.qtable-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.qtable {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.qtable th {
  padding: 11px 12px;
  background: var(--tint);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}
.qtable td {
  padding: 12px;
  border-top: 1px solid var(--line);
  font-weight: 600;
  vertical-align: middle;
}
.qtable .qn {
  color: var(--muted);
  font-weight: 700;
  width: 36px;
}
.qtable tr.qrow-new td {
  animation: rowIn .8s var(--ease);
}
@keyframes rowIn {
  from {
    background: var(--sel-bg);
  }
}
.q-file {
  white-space: nowrap;
}
.q-fname {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ok);
}
.q-file.is-bad .link {
  color: var(--danger);
}
.q-del {
  width: 46px;
  text-align: right;
}
.qempty {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1.5px dashed var(--line-strong);
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
}
.qual-field.is-bad .qempty {
  border-color: var(--danger);
  color: var(--danger);
}
.qual-plain + .qual-plain {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.have {
  margin-top: 22px;
}
.have ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.have li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--ink-2);
}
.have li .ic {
  color: var(--ok);
}
.statement-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
}
.statement-top > label {
  margin: 0 !important;
}
.wc {
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--tint);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.wc.is-good {
  background: var(--ok-bg);
  color: var(--ok);
}
.wc.is-over {
  background: var(--danger-bg);
  color: var(--danger);
}
.statement-field textarea {
  min-height: 220px;
}
.words {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}
.words-bar {
  position: relative;
  height: 6px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}
.words-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 25%;
  background: rgba(17, 121, 90, .18);
}
.words-bar i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-radius: inherit;
  background: var(--muted);
  transition: width .25s var(--ease), background .2s;
}
.words.is-good .words-bar i {
  background: var(--ok);
}
.words.is-over .words-bar i {
  background: var(--danger);
}
.words-tx {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}
.referral {
  margin-top: 18px;
  max-width: 420px;
}
.statement-field + .choice {
  margin-top: 26px;
}
.pass-slot:empty {
  display: none;
}
.review {
  display: grid;
  gap: 16px;
}
.rv {
  overflow: hidden;
}
.rv-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px 12px 20px;
  background: var(--deep);
  color: #fff;
}
:root[data-theme=dark] .rv-bar {
  background: var(--tint-2);
}
.rv-bar h3 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .01em;
}
.rv-edit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.rv-edit:hover {
  background: rgba(255, 255, 255, .1);
}
.rv-edit.is-fix {
  border-color: var(--gold);
  color: var(--gold);
}
.rv-body {
  display: flex;
  gap: 22px;
  padding: 20px;
}
.rv-photo {
  flex: none;
  width: 92px;
  height: 115px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--tint);
}
.rv-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rv dl {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 0;
}
.rv dl > div {
  min-width: 0;
}
.rv dl .wide {
  grid-column: 1 / -1;
}
.rv dt {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.rv dd {
  margin: 2px 0 0;
  font-size: 14.5px;
  font-weight: 600;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.rv dd.none {
  color: var(--muted);
  font-weight: 500;
}
.rv dd.bad {
  color: var(--danger);
}
.rv-extra {
  padding: 0 20px 20px;
}
.declare {
  padding: 4px;
}
.tick-lg {
  margin: 0;
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}
.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}
.actions [data-next],
.actions [data-submit] {
  margin-left: auto;
  min-width: 200px;
}
.actions .saved {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  font-size: 12.5px;
  color: var(--muted);
}
.actions .saved + .btn {
  margin-left: 12px;
}
.no-js .actions [data-back],
.no-js .actions [data-next] {
  display: none;
}
.js .actions [data-submit] {
  display: none;
}
.js .actions.is-last [data-submit] {
  display: inline-flex;
}
.js .actions.is-last [data-next] {
  display: none;
}
.js .actions.is-first [data-back] {
  visibility: hidden;
}
.side {
  position: sticky;
  top: 92px;
}
.side-in {
  display: grid;
  gap: 16px;
}
.progress {
  padding: 18px 18px 16px;
}
.progress-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-2);
}
.progress-row strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.progress-bar {
  height: 7px;
  margin: 10px 0 14px;
  border-radius: 4px;
  background: var(--line);
  overflow: hidden;
}
.progress-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--gold);
  transition: width .6s var(--ease);
}
.checklist {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ck {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--line-strong);
  color: transparent;
  transition:
    background .2s,
    border-color .2s,
    color .2s;
}
.checklist li.is-done {
  color: var(--ink);
}
.checklist li.is-done .ck {
  background: var(--ok);
  border-color: var(--ok);
  color: #fff;
}
.ready {
  padding: 16px 18px;
}
.ready ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--ink-2);
}
.ready li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ready .ic {
  color: var(--indigo);
}
:root[data-theme=dark] .ready .ic {
  color: var(--gold);
}
.pass {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1.586;
  padding: 18px 20px 16px;
  border-radius: 18px;
  color: #fff;
  background:
    linear-gradient(
      140deg,
      #352a7e 0%,
      #211a52 55%,
      #170f3b 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 6px 8px -4px rgba(22, 17, 46, .35);
}
.pass::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--gold);
}
.pass .sheen {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      105deg,
      transparent 35%,
      rgba(255, 255, 255, .14) 50%,
      transparent 65%);
  transform: translateX(-110%);
  pointer-events: none;
}
.pass.flash .sheen {
  animation: sheen 1.1s var(--ease);
}
@keyframes sheen {
  to {
    transform: translateX(110%);
  }
}
.pass-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.pass-top img {
  width: 30px;
  height: auto;
}
.pass-top span {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: right;
  color: #c7bfe4;
  line-height: 1.35;
}
.pass-top b {
  font-weight: 700;
  color: #fff;
  letter-spacing: .02em;
}
.pass-mid {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.pass-photo {
  display: grid;
  place-items: center;
  flex: none;
  width: 60px;
  height: 75px;
  border-radius: 9px;
  overflow: hidden;
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  color: #c7bfe4;
}
.pass-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pass-initials {
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 800;
}
.pass-who {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.pass-name {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.01em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow-wrap: anywhere;
}
.pass-prog {
  font-size: 12.5px;
  font-weight: 600;
  color: #e6e0fb;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.pass-city {
  font-size: 11.5px;
  color: #b9b0de;
}
.pass-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pass-no {
  font:
    600 13px/1 ui-monospace,
    "SF Mono",
    Menlo,
    Consolas,
    monospace;
  letter-spacing: .04em;
  color: #fff;
}
.pass-state {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .12);
  color: #e6e0fb;
}
.pass.is-final .pass-state {
  background: var(--gold);
  color: var(--gold-ink);
}
.pass.is-empty .pass-name,
.pass.is-empty .pass-prog {
  color: #a39ad0;
}
.page-done {
  max-width: 1000px;
  padding-top: 32px;
}
.done-wrap {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  padding: clamp(20px, 3vw, 34px);
}
.main .done-wrap {
  grid-template-columns: 1fr;
}
.done-copy h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -.025em;
}
.done-copy .lead {
  margin-top: 10px;
  font-size: 16px;
  color: var(--ink-2);
}
.done-l {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.done-no {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 6px 0 8px;
}
.done-no .no {
  font:
    700 clamp(26px, 3.4vw, 36px)/1.1 ui-monospace,
    "SF Mono",
    Menlo,
    Consolas,
    monospace;
  letter-spacing: .02em;
  color: var(--indigo);
}
:root[data-theme=dark] .done-no .no {
  color: var(--gold);
}
.done-copy .next-h {
  margin: 28px 0 4px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
}
.next {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  counter-reset: n;
}
.next li {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 14px 0 14px 46px;
  border-bottom: 1px solid var(--line);
  counter-increment: n;
}
.next li::before {
  content: counter(n);
  position: absolute;
  left: 0;
  top: 13px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--deep);
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}
.next strong {
  font-size: 15px;
}
.next span {
  font-size: 13.5px;
  color: var(--muted);
}
.main .done-wrap {
  animation: stepIn .5s var(--ease);
}
.banner {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--danger-bg);
  color: var(--ink);
  font-size: 14px;
}
.banner .ic {
  color: var(--danger);
  margin-top: 2px;
}
.banner ul {
  margin: 6px 0;
  padding-left: 18px;
  color: var(--ink-2);
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  max-width: min(560px, calc(100vw - 32px));
  padding: 12px 10px 12px 18px;
  border-radius: 12px;
  background: var(--deep);
  color: #f5f2ff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 8px -6px rgba(0, 0, 0, .35);
  transform: translateX(-50%);
  animation: toastIn .35s var(--ease);
}
:root[data-theme=dark] .toast {
  background: #f5f2ff;
  color: #17122f;
}
.toast .link {
  color: var(--gold);
}
:root[data-theme=dark] .toast .link {
  color: #302478;
}
.toast .icon-btn {
  color: inherit;
  width: 32px;
  height: 32px;
}
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
}
.reauth {
  width: min(420px, calc(100vw - 32px));
  padding: 24px 26px 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink);
}
.reauth::backdrop {
  background: rgba(14, 10, 31, .6);
}
.reauth-h {
  font-size: 19px;
  font-weight: 800;
}
.reauth-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.page-verify .panel.verify {
  max-width: 560px;
  margin: 0 auto;
}
.vf-row.is-done label {
  color: var(--muted);
}
.vf-ok {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ok-bg);
  color: var(--ok);
  font-size: 14px;
  font-weight: 700;
}
.vf-cancel {
  margin-top: 16px;
}
.photo-tools {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 10px;
}
.photo-tools .btn {
  width: 100%;
}
.photo-white {
  margin: 0;
}
.photo-note {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
}
.cam {
  width: min(520px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: var(--surface);
  color: var(--ink);
  overflow: auto;
}
.cam::backdrop {
  background: rgba(14, 10, 31, .75);
}
.cam-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 12px;
}
.cam-head h2 {
  font-size: 18px;
  font-weight: 800;
}
.cam-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 62dvh;
  margin: 0 18px;
  border-radius: 14px;
  overflow: hidden;
  background: #0e0a1f;
}
.cam-stage video,
.cam-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cam-stage video {
  transform: scaleX(-1);
}
.cam-guide {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 54%;
  aspect-ratio: 3 / 4;
  transform: translate(-50%, -50%);
  border: 2.5px dashed rgba(255, 255, 255, .8);
  border-radius: 50%;
  box-shadow: 0 0 0 999px rgba(14, 10, 31, .35);
  pointer-events: none;
}
.cam-msg {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(14, 10, 31, .82);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
}
.cam-tips {
  display: grid;
  gap: 2px;
  margin: 12px 18px 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--ink-2);
}
.cam-actions {
  display: grid;
  gap: 12px;
  padding: 14px 18px 18px;
}
.cam-actions .tick {
  margin: 0;
}
.cam-btns {
  display: flex;
  gap: 10px;
}
.cam-btns .btn {
  flex: 1;
}
.block + .choice,
.choice + .block {
  margin-top: 26px;
}
.done-mail {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--ok-bg);
  color: var(--ok);
  font-size: 14px;
  font-weight: 600;
}
.done-mail .ic {
  margin-top: 2px;
}
@media (max-width: 1199px) {
  .top-contact {
    display: none;
  }
  .top-right .top-call {
    display: inline-grid;
  }
}
@media (max-width: 1099px) {
  .wrap {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 24px;
    padding-bottom: 120px;
  }
  .side {
    display: none;
  }
  .tabs ol {
    justify-content: flex-start;
  }
  .actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    margin: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--surface);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 8px -6px rgba(22, 17, 46, .15);
  }
  .actions .saved {
    display: none !important;
  }
  .actions .btn {
    flex: 1;
    min-width: 0 !important;
  }
  .actions .btn-ghost {
    flex: 0 0 auto;
  }
  .js .actions.is-first [data-back] {
    display: none;
  }
  .toast {
    bottom: calc(88px + env(safe-area-inset-bottom));
  }
  .pass-slot .pass {
    margin: 0 auto;
  }
  .hero-meta {
    display: none;
  }
  .page-done .done-wrap {
    grid-template-columns: 1fr;
  }
  .page-done .pass {
    margin: 0 auto;
  }
}
@media (max-width: 860px) {
  .gate-grid {
    grid-template-columns: 1fr;
  }
  .panel-up {
    order: -1;
  }
  .how {
    grid-template-columns: 1fr;
  }
  .g3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .g3 > .span-2 {
    grid-column: 1 / -1;
  }
  .plist {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 14.5px;
  }
  .top {
    height: 62px;
  }
  .brands img {
    height: 22px;
  }
  .brands {
    gap: 9px;
  }
  .brands-sep {
    height: 20px;
  }
  :root[data-theme=dark] .brands {
    padding: 6px 9px;
  }
  .top-right {
    gap: 4px;
  }
  .top-name,
  .top-out .btn span {
    display: none;
  }
  .top-out {
    padding-left: 4px;
    border-left: 0;
    gap: 4px;
  }
  .top-out .btn {
    min-height: 38px;
    padding: 0 10px;
  }
  .hero-in {
    padding-top: 30px;
    padding-bottom: 28px;
  }
  .view-gate .hero-in,
  .view-verify .hero-in {
    padding-bottom: 92px;
  }
  .page-gate {
    margin-top: -64px;
  }
  .hero {
    background-image: url(../campus-800.webp);
  }
  .hero::before {
    background:
      linear-gradient(
        180deg,
        rgba(18, 13, 44, .82) 0%,
        rgba(26, 21, 60, .9) 100%);
  }
  .hero-sub {
    font-size: 14.5px;
  }
  .grid,
  .g3,
  .g2 {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .span-2,
  .span-3,
  .g3 > .span-2 {
    grid-column: auto;
  }
  .drop-pair {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
  .basic {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .drop-photo,
  .photo-field.has-file .drop-file {
    min-height: 170px;
  }
  .drop-go {
    display: none;
  }
  .drop-photo .drop-go {
    display: inline-block;
  }
  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .step > .card {
    padding: 18px 16px 20px;
    border-radius: 14px;
  }
  .card-h {
    gap: 12px;
  }
  .card-ic {
    width: 38px;
    height: 38px;
  }
  .qentry {
    padding: 14px;
  }
  .qtable thead {
    display: none;
  }
  .qtable,
  .qtable tbody,
  .qtable tr,
  .qtable td {
    display: block;
    width: 100%;
  }
  .qtable-wrap {
    border: 0;
    overflow: visible;
  }
  .qtable tr {
    position: relative;
    margin-bottom: 10px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
  }
  .qtable td {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 0;
    border: 0;
    text-align: right;
  }
  .qtable td[data-l]::before {
    content: attr(data-l);
    color: var(--muted);
    font-weight: 600;
    text-align: left;
  }
  .qtable .qn {
    display: none;
  }
  .qtable .q-del {
    position: absolute;
    top: 4px;
    right: 4px;
    width: auto;
    padding: 0;
  }
  .qtable td:nth-child(2) {
    padding-right: 40px;
  }
  .rv-body {
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }
  .rv dl {
    grid-template-columns: 1fr;
  }
  .app {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .app > .card-ic {
    display: none;
  }
  .app-action {
    grid-column: 1 / -1;
  }
  .panel {
    padding: 22px 18px 24px;
    border-radius: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
