.ppm-checkin-shell,
.ppm-info-card {
  --ppm-primary: #0f3428;
  --ppm-secondary: #f7f3ea;
  --ppm-accent: #c9a35b;
  --ppm-background: #f7f3ea;
  --ppm-button: #0f3428;
  --ppm-text: #1c1c1c;
}
.ppm-checkin-shell {
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 42px 18px;
  background-color: var(--ppm-background);
  background-size: cover;
  background-position: center;
  color: var(--ppm-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.ppm-kiosk-shell { min-height: 100vh; padding: 56px 22px; }
.ppm-checkin-card {
  width: min(100%, 520px);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 24px 70px rgba(15, 52, 40, .2);
  border: 1px solid rgba(15, 52, 40, .08);
  text-align: center;
}
.ppm-kiosk-shell .ppm-checkin-card { width: min(100%, 680px); padding: 48px; }
.ppm-checkin-logo { max-height: 86px; max-width: 220px; object-fit: contain; display: block; margin: 0 auto 16px; }
.ppm-car-icon { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 18px; background: var(--ppm-primary); color: white; display: grid; place-items: center; box-shadow: 0 10px 20px rgba(15,52,40,.18); }
.ppm-car-icon::before { content: '🚗'; font-size: 24px; }
.ppm-car-icon { font-size: 0; }
.ppm-checkin-eyebrow { color: var(--ppm-primary); font-weight: 800; letter-spacing: .18em; text-transform: uppercase; font-size: 13px; margin: 0 0 8px; }
.ppm-checkin-card h2 { margin: 0 0 12px; color: var(--ppm-text); font-size: clamp(28px, 5vw, 42px); line-height: 1.05; letter-spacing: -0.04em; }
.ppm-checkin-intro { margin: 0 auto 26px; max-width: 420px; color: rgba(28,28,28,.7); font-size: 16px; }
.ppm-checkin-form { text-align: left; }
.ppm-checkin-form label { display: block; font-weight: 700; margin: 0 0 10px; color: var(--ppm-text); }
.ppm-reg-field-wrap { display: flex; align-items: stretch; border: 2px solid rgba(15,52,40,.14); border-radius: 18px; overflow: hidden; background: #fff; margin-bottom: 16px; }
.ppm-reg-field-wrap span { display: grid; place-items: center; padding: 0 17px; background: var(--ppm-primary); color: #fff; font-weight: 800; letter-spacing: .08em; font-size: 13px; }
.ppm-public-reg-input { width: 100%; border: 0 !important; outline: none !important; box-shadow: none !important; padding: 20px 18px !important; min-height: 70px; font-size: clamp(28px, 7vw, 48px) !important; line-height: 1 !important; text-transform: uppercase; letter-spacing: .08em; font-weight: 850; text-align: center; color: #242424; background: #fff !important; }
.ppm-checkin-button { width: 100%; border: 0; border-radius: 18px; padding: 20px 22px; background: var(--ppm-button); color: #fff; font-size: 18px; font-weight: 800; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 14px 30px rgba(15,52,40,.25); transition: transform .18s ease, box-shadow .18s ease; }
.ppm-checkin-button:hover { transform: translateY(-1px); box-shadow: 0 18px 38px rgba(15,52,40,.28); }
.ppm-success-box,
.ppm-error-box { margin: 18px 0; border-radius: 18px; padding: 16px; text-align: center; }
.ppm-success-box { background: #eaf7ef; color: #12633f; display: grid; gap: 8px; }
.ppm-success-box small { display: block; color: rgba(18,99,63,.82); font-weight: 700; }
.ppm-success-box span { width: 46px; height: 46px; display: grid; place-items: center; margin: 0 auto; border-radius: 50%; background: #12633f; color: #fff; font-weight: 900; }
.ppm-error-box { background: #fdecec; color: #a33131; font-weight: 700; }
.ppm-checkin-footer { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(15,52,40,.1); color: rgba(28,28,28,.66); }
.ppm-checkin-footer p { margin: 0 0 8px; font-weight: 650; }
.ppm-checkin-footer small { display: block; line-height: 1.4; }
.ppm-public-message { border-radius: 12px; padding: 14px 16px; background: #f5f5f5; }
.ppm-public-message.ppm-error { background: #fdecec; color: #a33131; }
.ppm-info-card { background: var(--ppm-secondary); border: 1px solid rgba(15,52,40,.12); border-radius: 24px; padding: 30px; color: var(--ppm-text); max-width: 620px; margin: 20px auto; box-shadow: 0 18px 50px rgba(15,52,40,.12); }
.ppm-info-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--ppm-primary); color: #fff; display: grid; place-items: center; font-size: 28px; font-weight: 900; margin-bottom: 16px; }
.ppm-info-card h2 { color: var(--ppm-primary); margin-top: 0; }
.ppm-info-card ol { margin-left: 20px; }
@media (max-width: 640px) { .ppm-checkin-card { padding: 24px 18px; border-radius: 22px; } .ppm-public-reg-input { min-height: 62px; } }

.ppm-confirm-vehicle-box { margin: 18px 0 0; text-align: center; }
.ppm-confirm-title { margin: 0 0 10px; color: rgba(28,28,28,.74); font-weight: 800; }
.ppm-confirm-reg { display: inline-flex; align-items: center; justify-content: center; background: #ffd84d; color: #111; border: 3px solid #111; border-radius: 10px; padding: 12px 18px; font-size: clamp(28px, 7vw, 48px); font-weight: 900; letter-spacing: .08em; line-height: 1; margin: 4px auto 18px; box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.ppm-vehicle-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 18px; }
.ppm-vehicle-details div { background: rgba(15,52,40,.06); border: 1px solid rgba(15,52,40,.1); border-radius: 14px; padding: 12px; }
.ppm-vehicle-details dt { margin: 0 0 4px; font-size: 12px; color: rgba(28,28,28,.58); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.ppm-vehicle-details dd { margin: 0; color: var(--ppm-text); font-size: 18px; font-weight: 850; }
.ppm-secondary-link { display: inline-block; margin-top: 14px; color: var(--ppm-primary); font-weight: 800; text-decoration: none; }
.ppm-secondary-link:hover { text-decoration: underline; }
@media (max-width: 640px) { .ppm-vehicle-details { grid-template-columns: 1fr; } }

.ppm-terms-box,
.ppm-terms-lite {
  margin: 14px 0 18px;
  border: 1px solid rgba(15,52,40,.12);
  border-radius: 16px;
  background: rgba(15,52,40,.04);
  padding: 14px;
  text-align: left;
}
.ppm-terms-open {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ppm-primary);
  font-weight: 850;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  font: inherit;
}
.ppm-terms-open:hover { opacity: .82; }
.ppm-terms-content {
  margin-top: 12px;
  color: rgba(28,28,28,.76);
  font-size: 14px;
  line-height: 1.55;
  max-height: min(56vh, 430px);
  overflow: auto;
  padding-right: 8px;
  text-align: left;
}
.ppm-terms-content p { margin: 0 0 10px; }
.ppm-terms-checkbox {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 0 !important;
  font-size: 14px;
  line-height: 1.45;
}
.ppm-terms-checkbox input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.ppm-terms-accepted-note {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #eaf7ef;
  color: #12633f;
  font-weight: 800;
  text-align: center;
}

.ppm-terms-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}
.ppm-terms-modal.is-open { display: flex; }
.ppm-terms-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(6px);
}
.ppm-terms-modal-panel {
  position: relative;
  width: min(100%, 680px);
  max-height: min(90vh, 760px);
  overflow: hidden;
  background: #fff;
  color: var(--ppm-text);
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(0,0,0,.34);
  padding: 30px;
  text-align: left;
}
.ppm-terms-modal-panel h3 {
  margin: 0 44px 12px 0;
  color: var(--ppm-text);
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.ppm-terms-modal-eyebrow {
  margin: 0 44px 8px 0;
  color: var(--ppm-primary);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 900;
}
.ppm-terms-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(15,52,40,.08);
  color: var(--ppm-text);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.ppm-terms-modal-close:hover { background: rgba(15,52,40,.14); }
.ppm-terms-modal-done {
  width: 100%;
  margin-top: 18px;
  border: 0;
  border-radius: 16px;
  padding: 15px 18px;
  background: var(--ppm-button);
  color: #fff;
  font-weight: 850;
  cursor: pointer;
}
body.ppm-modal-open { overflow: hidden; }
@media (max-width: 640px) {
  .ppm-terms-modal { padding: 12px; }
  .ppm-terms-modal-panel { padding: 24px 18px; border-radius: 20px; }
  .ppm-terms-content { max-height: 58vh; }
}
