:root {
  --blue: #0965ff;
  --blue-dark: #004dda;
  --ink: #0c1231;
  --muted: #596481;
  --line: #dde4f0;
  --bg: #f7faff;
  --pale: #eaf2ff;
  --green: #009951;
  --amber: #995a00;
  --red: #b22435;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
  background: var(--bg);
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  background: #afc9fa !important;
  color: #20355b !important;
  border-color: transparent !important;
}
button,
.button {
  border: 0;
  border-radius: 9px;
  min-height: 46px;
  padding: 11px 17px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
}
button.primary,
.button.primary {
  background: var(--blue);
  color: #fff;
}
button.primary:hover,
.button.primary:hover {
  background: var(--blue-dark);
}
button.secondary,
.button.secondary {
  background: white;
  color: var(--blue);
  border: 1px solid #a6bcdf;
}
button.link {
  color: var(--blue);
  background: transparent;
  padding: 6px;
  min-height: 40px;
}
button.danger {
  color: var(--red);
  background: #fff5f5;
  border: 1px solid #e7b9c0;
}
.wide {
  width: 100%;
}
a {
  color: var(--blue);
  overflow-wrap: anywhere;
}
:focus-visible {
  outline: 3px solid #e79b00;
  outline-offset: 3px;
}
.skip {
  position: fixed;
  top: -90px;
  left: 10px;
  background: #fff;
  padding: 12px;
  z-index: 30;
}
.skip:focus {
  top: 5px;
}
.mobile-header {
  background: var(--blue);
  color: white;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 61px;
  padding: 10px max(18px, calc((100vw - 640px) / 2));
  font-size: 21px;
  font-weight: 600;
}
.logo {
  width: 36px;
  height: 36px;
  display: inline-flex;
  border-radius: 50%;
  background: white;
  color: var(--blue);
  justify-content: center;
  align-items: center;
  font-size: 17px;
  font-weight: 700;
  flex-shrink: 0;
}
.header-back,
.header-close {
  background: transparent;
  color: white;
  padding: 0;
  min-width: 25px;
  font-weight: 400;
}
.header-back {
  font-size: 40px;
  line-height: 1;
}
.header-close {
  font-size: 13px;
  margin-left: auto;
}
main {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 18px 105px;
  min-height: calc(100dvh - 105px);
}
h1 {
  font-size: 29px;
  line-height: 1.15;
  letter-spacing: -0.6px;
  margin: 0 0 10px;
  font-weight: 700;
}
h2 {
  font-size: 22px;
  line-height: 1.25;
  margin: 24px 0 12px;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 18px;
  margin: 0 0 8px;
}
p {
  margin: 0 0 15px;
}
.intro {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.42;
  margin-bottom: 23px;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 13px;
}
.center {
  text-align: center;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 14px 0;
  padding: 18px;
}
.card.flush {
  padding: 0;
  overflow: hidden;
}
.card p:last-child {
  margin-bottom: 0;
}
.booking-card h2 {
  font-size: 21px;
  margin: 0 0 10px;
}
.booking-card p {
  color: var(--muted);
  margin: 4px 0;
}
.divider {
  border-top: 1px solid var(--line);
  margin-top: 15px;
  padding-top: 12px;
}
.row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.row.spread {
  justify-content: space-between;
}
.grow {
  flex: 1;
  min-width: 0;
}
.avatar {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e5edff;
  color: var(--blue);
  font-size: 21px;
  font-weight: 700;
}
.guest-row {
  padding: 17px 15px;
  border-bottom: 1px solid var(--line);
}
.guest-row:last-child {
  border-bottom: 0;
}
.guest-row strong {
  display: block;
  font-size: 17px;
}
.guest-row .link {
  font-size: 14px;
  padding: 0;
}
.badge {
  display: inline-block;
  border-radius: 20px;
  background: #edf0f5;
  color: #53607b;
  padding: 3px 10px;
  font-size: 12px;
  margin: 4px 3px 0 0;
}
.badge.blue {
  background: #e9efff;
  color: #064ce6;
}
.badge.green {
  background: #e4f7e9;
  color: #087238;
}
.badge.amber {
  background: #fff0d8;
  color: #985700;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 7px;
}
.progress {
  height: 9px;
  background: #e4e8f0;
  border-radius: 9px;
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--blue);
  border-radius: 9px;
}
.progress-wrap {
  margin: 16px 0 24px;
}
.step-label {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 7px;
}
.notice {
  display: flex;
  gap: 10px;
  padding: 14px;
  background: var(--pale);
  border: 1px solid #d7e5ff;
  color: #355780;
  border-radius: 9px;
  margin: 16px 0;
  font-size: 14px;
}
.notice.warning {
  background: #fff8e8;
  border-color: #f0d293;
  color: #855100;
}
.notice.success {
  background: #edf9f3;
  border-color: #b4e0ca;
  color: #00864b;
}
.notice svg {
  flex-shrink: 0;
}
.icon {
  width: 23px;
  height: 23px;
  vertical-align: middle;
  flex-shrink: 0;
}
.hero-icon {
  background: var(--pale);
  border-radius: 50%;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  margin: 4px auto 15px;
  color: var(--blue);
}
.hero-icon .icon {
  width: 46px;
  height: 46px;
}
.choice-card {
  text-align: center;
  padding: 24px 18px;
}
.choice-card h2 {
  margin: 6px 0;
}
.choice-card .intro {
  font-size: 17px;
  margin: 10px 0 18px;
}
.or {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  margin: 20px 0;
}
.or:before,
.or:after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}
.bottom-action {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  padding: 10px max(15px, calc((100vw - 604px) / 2))
    max(12px, env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -3px 12px #24385108;
}
.bottom-action button {
  font-size: 18px;
  min-height: 51px;
  width: 100%;
}
.app-footer {
  max-width: 640px;
  margin: 0 auto 85px;
  padding: 0 18px;
  color: #67758d;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
}
#notice:not([hidden]) {
  max-width: 640px;
  position: sticky;
  top: 0;
  margin: 10px auto;
  padding: 12px 18px;
  z-index: 15;
  background: #fff2d6;
  border: 1px solid #e7c477;
  color: #784b03;
  font-size: 14px;
}
#notice.error {
  background: #ffedf0;
  color: #9b1e30;
  border-color: #ecc4ca;
}
#notice.success {
  background: #e4f7e9;
  color: #076d38;
  border-color: #b4ddc0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 12px;
}
.field {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
.field input,
.field select {
  margin-top: 4px;
  width: 100%;
  border: 1px solid #c7d2e5;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 11px 9px;
  min-height: 45px;
  font-size: 16px;
  min-width: 0;
}
.field.full {
  grid-column: 1/-1;
}
.field input:invalid:not(:placeholder-shown) {
  border-color: #be8d43;
}
.form-card {
  padding: 15px;
}
.form-card h2 {
  margin: 0 0 14px;
}
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
}
.check input {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  accent-color: var(--blue);
  margin: 0;
}
.document-box {
  max-height: 360px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 15px;
  white-space: pre-wrap;
  font-size: 15px;
  line-height: 1.5;
  color: #465273;
  margin: 15px 0 10px;
  scrollbar-width: auto;
}
.document-full {
  white-space: pre-wrap;
  line-height: 1.6;
  font-size: 16px;
}
.document-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}
.document-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.document-heading h3 {
  margin: 0;
}
.document-heading button {
  font-size: 12px;
  min-height: 36px;
  padding: 6px 10px;
}
.signature-frame {
  background: #fff;
  border: 1px solid #b8cce9;
  border-radius: 9px;
  position: relative;
  margin: 16px 0;
  padding: 0 12px 10px;
}
.signature-frame canvas {
  display: block;
  width: 100%;
  height: 230px;
  touch-action: none;
}
.signature-guide {
  border-top: 1px solid #ced7e7;
  color: #8b97ae;
  text-align: center;
  font-size: 13px;
  padding-top: 5px;
}
.signature-frame button {
  display: flex;
  margin-left: auto;
}
.signature-instructions {
  color: var(--muted);
  font-size: 13px;
}
.success-circle {
  margin: 5px auto 25px;
  background: #0ca84c;
  color: white;
  border-radius: 50%;
  height: 86px;
  width: 86px;
  display: grid;
  place-items: center;
}
.success-circle .icon {
  width: 50px;
  height: 50px;
}
.download-row {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
}
.download-row:last-child {
  border: 0;
}
.camera-box {
  position: relative;
  background: #162233;
  aspect-ratio: 1.2;
  border-radius: 12px;
  overflow: hidden;
  margin: 18px 0;
  color: white;
}
.camera-box video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.camera-guide {
  position: absolute;
  border: 3px solid #5fa9ff;
  border-radius: 12px;
  width: 90%;
  aspect-ratio: 1.586;
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 100px #0002;
  pointer-events: none;
}
.camera-hint {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 15px;
  text-align: center;
  font-size: 13px;
}
.shutter {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 4px solid var(--blue);
  background: #fff;
  box-shadow: inset 0 0 0 5px white;
  display: block;
  margin: 10px auto;
}
.shutter:before {
  content: "";
  width: 44px;
  height: 44px;
  background: var(--blue);
  border-radius: 50%;
}
.camera-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 15px 0;
}
.file-label {
  display: inline-flex;
  cursor: pointer;
  color: var(--blue);
  padding: 10px;
  font-weight: 600;
}
.file-label input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.file-label:focus-within {
  outline: 3px solid #e79b00;
}
.lang {
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid #7596ff;
  background: #edf3ff;
  padding: 16px;
  border-radius: 10px;
  font-size: 18px;
}
.flag {
  width: 34px;
  height: 34px;
  background: linear-gradient(
    90deg,
    #00a753 33%,
    white 33%,
    white 66%,
    #ed3038 66%
  );
  border-radius: 50%;
}
.lang input {
  margin-left: auto;
  width: 22px;
  height: 22px;
  accent-color: var(--blue);
}
dialog {
  border: 1px solid #c7d4e8;
  border-radius: 13px;
  padding: 22px;
  max-width: min(760px, 94vw);
  max-height: 88dvh;
  width: 680px;
  color: var(--ink);
}
dialog::backdrop {
  background: #17294799;
}
.dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 22px;
  position: sticky;
  top: -22px;
  background: #fff;
  padding-top: 10px;
}
.dialog-heading h2 {
  margin: 0;
}
.document-full {
  overflow: auto;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.wrap {
  overflow-wrap: anywhere;
}
.hidden,
[hidden] {
  display: none !important;
}
.otp-code {
  font-size: 25px;
  letter-spacing: 6px;
  font-weight: 700;
}
.definition {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-size: 14px;
}
.definition dt {
  color: var(--muted);
}
.definition dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.loading {
  padding: 30px;
  color: var(--muted);
}
@media (min-width: 720px) {
  main {
    padding-top: 36px;
  }
  h1 {
    font-size: 34px;
  }
  .mobile-header {
    min-height: 72px;
  }
  .card {
    padding: 22px;
  }
  .card.flush {
    padding: 0;
  }
  .document-box {
    max-height: 430px;
  }
  .signature-frame canvas {
    height: 270px;
  }
}
@media (max-width: 359px) {
  .guest-row {
    gap: 8px;
    padding: 12px 10px;
  }
  .avatar {
    width: 40px;
    height: 40px;
    font-size: 17px;
  }
  .mobile-header {
    font-size: 18px;
    gap: 9px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 26px;
  }
}
.comparison {
  overflow-x: auto;
  white-space: normal;
}
.comparison table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
.comparison th,
.comparison td {
  text-align: left;
  padding: 7px;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
  min-width: 110px;
}
main:focus {
  outline: none;
}
.skip {
  top: 0;
  opacity: 0;
  pointer-events: none;
  clip-path: inset(50%);
}
.skip:focus {
  opacity: 1;
  pointer-events: auto;
  clip-path: none;
}
