/* ===== KINELIO CORE R10.4 — QR BOOTSTRAP GATE ===== */
.qr-bootstrap-shell {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 84px) 0 72px;
}

.qr-bootstrap-card {
  max-width: 620px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 44px);
  border: 1px solid var(--k-border, #dedede);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .07);
}

.qr-bootstrap-card h1 {
  margin: 8px 0 12px;
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.03;
  letter-spacing: -.035em;
}

.qr-bootstrap-lead {
  max-width: 520px;
  margin: 0 0 28px;
  color: var(--k-text-2, #555);
  font-size: 18px;
  line-height: 1.55;
}

.qr-bootstrap-form {
  display: grid;
  gap: 20px;
}

.qr-pin-field {
  display: grid;
  gap: 8px;
}

.qr-pin-field > span {
  font-size: 14px;
  font-weight: 800;
}

.qr-pin-field input {
  width: 100%;
  min-height: 58px;
  padding: 12px 16px;
  border: 1px solid #bfc3c8;
  border-radius: 10px;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 25px;
  font-weight: 750;
  letter-spacing: .18em;
}

.qr-pin-field input:focus {
  border-color: #111;
  outline: 3px solid rgba(17, 17, 17, .12);
  outline-offset: 1px;
}

.qr-pin-field small {
  color: var(--k-text-2, #666);
  font-size: 13px;
  line-height: 1.45;
}

.qr-pin-field small.error,
.qr-bootstrap-card .form-errors {
  color: #8c1d18;
}

.qr-bootstrap-card .form-errors {
  padding: 12px 14px;
  border: 1px solid #e7c2bf;
  border-radius: 10px;
  background: #fff7f6;
  font-weight: 650;
}

.qr-bootstrap-card .form-errors p {
  margin: 0;
}

.qr-bootstrap-submit {
  min-height: 52px;
  justify-content: center;
}

.qr-bootstrap-note {
  margin: 22px 0 0;
  color: var(--k-text-2, #666);
  font-size: 13px;
  line-height: 1.6;
}

.qr-bootstrap-success-mark {
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}

.qr-bootstrap-status {
  margin: 24px 0 0;
  padding: 15px 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-radius: 10px;
  background: #f5f5f2;
}

.qr-bootstrap-status span {
  color: var(--k-text-2, #666);
}

.qr-ready-shell .lead {
  max-width: 720px;
}

@media (max-width: 640px) {
  .qr-bootstrap-shell {
    width: min(100% - 24px, 760px);
    padding-top: 28px;
  }

  .qr-bootstrap-card {
    padding: 24px 20px;
    border-radius: 14px;
  }

  .qr-bootstrap-status {
    display: grid;
    gap: 4px;
  }

  .qr-pin-field input {
    font-size: 23px;
  }
}
/* ===== END KINELIO CORE R10.4 — QR BOOTSTRAP GATE ===== */
