:root {
  --pp-navy: #172847;
  --pp-gold: #c9a227;
  --pp-footer-h: 84px;
}
body.pp-app { background: #eef3fb; }
body.pp-app nav.navigation {
  position: sticky;
  top: 0;
  background: #fff !important;
  box-shadow: 0 8px 26px rgba(23,40,71,.08);
  z-index: 50;
}
body.pp-app nav.navigation.logo_on_fixed .brand-logo {
  display: inline-block !important;
}
.pp-app .brand-logo {
  font-size: 18px !important;
  font-weight: 800;
  color: var(--pp-navy) !important;
  max-height: none;
}
.pp-app nav .nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pp-app nav #logoutLink.right {
  float: right;
  position: relative;
  z-index: 2;
  margin: 10px 0 0 auto;
}
.pp-app nav #logoutLink i { font-size: 22px; }
.pp-hero { background: linear-gradient(135deg, #172847, #2b4b7c); color: #fff; border-radius: 22px; padding: 22px; margin: 12px 0 18px; }
.pp-hero h3, .pp-hero h4, .pp-hero p { color: #fff; }
.pp-card { background: #fff; border-radius: 18px; padding: 16px; margin-bottom: 12px; box-shadow: 0 10px 28px rgba(23,40,71,.08); }
.pp-card h5 { margin-top: 0; color: #172847; }
.pp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pp-menu { border: 0; width: 100%; text-align: left; background: #fff; border-radius: 18px; padding: 16px; box-shadow: 0 10px 28px rgba(23,40,71,.08); }
.pp-menu i { font-size: 28px; color: #c9a227; }
.pp-btn { background: #172847 !important; }
.pp-btn.gold { background: #c9a227 !important; color: #111 !important; }
.pp-alert { padding: 12px; border-radius: 12px; margin-bottom: 12px; }
.pp-alert.danger { background: #fee4e2; color: #b42318; }
.pp-alert.success { background: #e8f8ef; color: #0b7a3b; }
.pp-alert.warn { background: #fff4cc; color: #8a6500; }
.pp-muted { color: #6f7b8f; }
.pp-badge { display: inline-flex; padding: 4px 8px; border-radius: 99px; background: #e8edf5; font-size: 12px; font-weight: 700; }
#qr-reader { width: 100%; min-height: 240px; border-radius: 16px; overflow: hidden; background: #111; margin-bottom: 10px; }
.pp-modal { position: fixed; inset: 0; background: rgba(12,24,43,.62); z-index: 80; display: grid; place-items: center; padding: 18px; }
.pp-dialog { position: relative; width: min(460px, 100%); background: #fff; border-radius: 20px; padding: 20px; }
.pp-dialog.center { text-align: center; }
.pp-dialog .btn { margin-top: 8px; }
.pp-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #e8f8ef;
  color: #0b7a3b;
  display: grid;
  place-items: center;
  font-size: 32px;
  font-weight: 800;
}
.pp-photos { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.pp-photos img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; margin: 0; }
.pp-point {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid #eef2f7;
}
.pp-point:last-child { border-bottom: 0; }
.pp-point-mark {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e8edf5;
  color: #172847;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.pp-point.is-current .pp-point-mark { background: #c9a227; color: #111; }
.pp-point.is-done .pp-point-mark { background: #0b7a3b; color: #fff; }
.pp-point.is-violated .pp-point-mark { background: #f79009; color: #fff; }
.pp-ok { display: inline-block; margin-top: 2px; color: #0b7a3b; font-size: 12px; font-weight: 700; }
.pp-now { display: block; margin-top: 2px; color: #8a6500; font-size: 12px; font-weight: 700; }
.pp-warn { display: block; margin-top: 4px; color: #b42318; font-size: 12px; font-weight: 700; }
.pp-viol { padding: 10px 0; border-bottom: 1px solid #eef2f7; }
.pp-viol:last-child { border-bottom: 0; }
.pp-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}
.login-bg.access-login { background: linear-gradient(135deg, #172847, #20375f) !important; }
.pp-hidden { display: none !important; }
.pp-full { width: 100%; }
.pp-list-item { display: block; width: 100%; text-align: left; border: 0; background: #fff; border-radius: 16px; padding: 14px; margin-bottom: 10px; box-shadow: 0 8px 20px rgba(23,40,71,.06); }

body.pp-app:not(.isfullscreen) .content-area {
  padding-bottom: calc(var(--pp-footer-h) + env(safe-area-inset-bottom, 0px) + 24px);
  min-height: calc(100vh - 64px);
}
body.pp-app.isfullscreen .content-area {
  padding-bottom: 0;
}

body.pp-app .footer-menu {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: auto;
  min-height: var(--pp-footer-h);
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px));
  background: #fff !important;
  box-shadow: 0 -8px 24px rgba(23,40,71,.12);
  z-index: 40;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
body.pp-app .footer-menu ul {
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  width: 100%;
  padding: 0;
  margin: 0;
}
body.pp-app .footer-menu li {
  float: none;
  flex: 1 1 0;
  width: auto;
  height: auto;
}
body.pp-app .footer-menu li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  min-height: 58px;
  color: #6f7b8f;
  padding: 4px 2px;
}
body.pp-app .footer-menu li a.active,
body.pp-app .footer-menu.boxed li a.active {
  margin-top: 0;
  color: var(--pp-navy);
}
body.pp-app .footer-menu li a.active i,
body.pp-app .footer-menu.boxed li a.active i,
body.pp-app .footer-menu.circular li a.active i {
  margin-top: 0;
  height: auto;
  width: auto;
  line-height: 1;
  background: transparent;
  color: var(--pp-gold);
  box-shadow: none;
  border: 0;
  font-size: 24px;
}
body.pp-app .footer-menu li i {
  display: block;
  font-size: 22px;
  line-height: 1;
}
body.pp-app .footer-menu li span {
  font-size: 11px;
  line-height: 14px;
  font-weight: 700;
}
body.pp-app.isfullscreen .footer-menu,
body.pp-app .footer-menu.pp-hidden {
  display: none !important;
}

@media (max-width: 600px) { .pp-grid { grid-template-columns: 1fr; } }
