:root {
  --blue: #2d76e2;
  --blue-dark: #1d5bb8;
  --ink: #232323;
  --bg: #f3f5f8;
  --muted: #6b7280;
  --line: #e6e9ee;
  --danger: #e03636;
  --active: #1f9d57;
  --maintenance: #e09a12;
  --offline: #6d7580;
  --card: #ffffff;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  height: 100%;
  max-width: 100%;
  overflow-x: clip;
  overscroll-behavior-x: none;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

button, input { font-family: inherit; }

button { cursor: pointer; }

button:disabled { opacity: .55; cursor: default; }

#app {
  width: 100%;
  max-width: 100%;
  height: 100dvh;
  margin: 0;
  position: relative;
  overflow-x: clip;
  overflow-y: hidden;
  background: var(--bg);
}

[v-cloak] { display: none; }

.pg-splash,
.pg-login {
  height: 100%;
  background:
    radial-gradient(120% 80% at 100% -10%, rgba(255, 255, 255, .28), transparent 46%),
    linear-gradient(165deg, #8ebcff 0%, #2d76e2 42%, #1a56b5 78%, #143f86 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.pg-splash {
  position: absolute;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.pg-splash-logo {
  width: min(260px, 74%);
  height: auto;
  animation: pg-splash-in .85s cubic-bezier(.2, .8, .2, 1) both;
}

.pg-splash-out-leave-active {
  transition: opacity .35s ease;
}

.pg-splash-out-leave-to { opacity: 0; }

.pg-login {
  overflow-x: clip;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .45) transparent;
}

.pg-login-inner {
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(28px + env(safe-area-inset-top)) 22px calc(28px + env(safe-area-inset-bottom));
}

.pg-logo {
  width: min(250px, 78%);
  height: auto;
  margin: 0 auto 28px;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(12, 42, 92, .28));
}

.pg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}

.pg-orb-a {
  width: 220px;
  height: 220px;
  right: 0;
  top: 0;
  background: rgba(255, 255, 255, .22);
  animation: pg-float 13s ease-in-out infinite;
}

.pg-orb-b {
  width: 260px;
  height: 260px;
  left: 0;
  bottom: 8%;
  background: rgba(120, 176, 255, .45);
  animation: pg-float 16s ease-in-out infinite reverse;
}

.pg-orb-c {
  width: 120px;
  height: 120px;
  right: 18%;
  bottom: 22%;
  background: rgba(255, 255, 255, .12);
  animation: pg-float 11s ease-in-out infinite;
}

.pg-login::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .22) 1.1px, transparent 1.1px);
  background-size: 20px 20px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .75), transparent 78%);
  pointer-events: none;
}

.pg-login-card {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .32);
  box-shadow: 0 18px 40px rgba(16, 48, 102, .22);
  backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 18px 16px 16px;
}

.pg-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }

.pg-field label,
.pg-label { font-size: 13px; font-weight: 600; }

.pg-login .pg-field label { color: #fff; }

.pg-field input,
.pg-password input {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 14px;
  padding: 0 14px;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.pg-field input:focus,
.pg-password input:focus { box-shadow: 0 0 0 3px rgba(45, 118, 226, .28); }

.pg-password { position: relative; }

.pg-password input { padding-right: 84px; }

.pg-password button,
.pg-text-btn {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
}

.pg-password button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  height: 36px;
  padding: 0 8px;
}

.pg-login-btn,
.pg-btn,
.pg-hero-btn {
  width: 100%;
  height: 50px;
  border-radius: 14px;
  border: 0;
  font-size: 16px;
  font-weight: 700;
}

.pg-login-btn {
  margin-top: 6px;
  background: #fff;
  color: var(--blue-dark);
  box-shadow: 0 8px 18px rgba(16, 48, 102, .18);
}

.pg-btn {
  margin-top: 16px;
  background: var(--blue);
  color: #fff;
}

.pg-btn.is-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.pg-btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }

.pg-btn-row .pg-btn { margin-top: 0; }

.pg-login-error,
.pg-error,
.pg-ok {
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.35;
  margin: 0 0 12px;
}

.pg-login-error { background: rgba(255, 255, 255, .94); color: #9f1239; }

.pg-error { background: #fde8e8; color: #9f1239; }

.pg-ok { background: #e7f7ee; color: #166534; }

.pg-install {
  height: 100%;
  overflow-x: clip;
  overflow-y: auto;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(28px + env(safe-area-inset-top)) 22px calc(28px + env(safe-area-inset-bottom));
  background:
    radial-gradient(120% 80% at 100% -10%, rgba(255, 255, 255, .28), transparent 46%),
    linear-gradient(165deg, #8ebcff 0%, #2d76e2 42%, #1a56b5 78%, #143f86 100%);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .45) transparent;
}

.pg-install-card {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .32);
  box-shadow: 0 18px 40px rgba(16, 48, 102, .22);
  backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 20px 16px 16px;
}

.pg-install-card h1 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
}

.pg-install-card p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.45;
}

.pg-install .pg-logo { margin-bottom: 22px; }

.pg-install .pg-steps { color: #fff; margin-bottom: 0; }

.pg-install .pg-login-btn { margin-top: 0; }

.pg-shell {
  height: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  overflow-y: hidden;
  background: var(--bg);
}

.pg-header {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  min-height: 56px;
  padding: calc(8px + env(safe-area-inset-top)) 10px 8px 8px;
  background: var(--ink);
  color: #fff;
  flex: none;
  overflow: hidden;
}

.pg-header-logo {
  height: 28px;
  width: auto;
  display: block;
}

.pg-icon-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
}

.pg-icon-btn svg { width: 22px; height: 22px; }

.pg-main {
  flex: 1;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  overflow-x: clip;
  overflow-y: auto;
  padding: 16px 16px 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(35, 35, 35, .28) transparent;
}

.pg-lead { margin: 2px 0 14px; color: var(--muted); font-size: 14px; line-height: 1.45; }

.pg-empty { color: var(--muted); font-size: 14px; line-height: 1.45; }

.pg-nav {
  flex: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: var(--ink);
  padding: 6px 2px calc(6px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.pg-nav button {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .62);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  line-height: 1.15;
  letter-spacing: -.02em;
  padding: 4px 1px 2px;
}

.pg-nav button.is-active { color: #fff; }

.pg-nav svg { width: 22px; height: 22px; display: block; }

.pg-nav button.is-active svg { color: #9ec2ff; }

.pg-nav-icon { position: relative; width: 22px; height: 22px; }

.pg-badge {
  position: absolute;
  top: -7px;
  right: -11px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--danger);
  color: #fff;
  border: 2px solid var(--ink);
  font-size: 9px;
  font-weight: 800;
  line-height: 12px;
  text-align: center;
}

.pg-plate {
  position: relative;
  width: 100%;
  max-width: 100%;
  text-align: left;
  overflow-wrap: anywhere;
  background: var(--card);
  border: 0;
  border-radius: 18px;
  padding: 14px 14px 13px;
  margin-bottom: 12px;
  box-shadow: 0 8px 22px rgba(22, 34, 51, .06);
  color: var(--ink);
}

.pg-plate::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 0;
  height: 4px;
  border-radius: 0 0 6px 6px;
  background: var(--blue);
}

.pg-plate.is-active::before { background: var(--active); }
.pg-plate.is-maintenance::before { background: var(--maintenance); }
.pg-plate.is-offline::before { background: var(--offline); }

.pg-plate-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-right: 34px;
}

.pg-plate-head strong { font-size: 16px; }

.pg-meta { margin: 8px 0 0; color: #4b5563; font-size: 13px; line-height: 1.4; }

.pg-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(45, 118, 226, .12);
  color: var(--blue-dark);
}

.is-active .pg-pill,
.pg-pill.is-active { background: rgba(31, 157, 87, .14); color: #157a42; }
.is-maintenance .pg-pill,
.pg-pill.is-maintenance { background: rgba(224, 154, 18, .18); color: #8a5b00; }
.is-offline .pg-pill,
.pg-pill.is-offline { background: rgba(109, 117, 128, .16); color: #4b5563; }

.pg-alert-dot {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--danger);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(224, 54, 54, .35);
}

.pg-section-title {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

.pg-alerts-row {
  display: flex;
  gap: 12px;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 2px 2px 8px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.pg-alerts-row::-webkit-scrollbar { display: none; }

.pg-alert-card {
  flex: 0 0 min(280px, 84%);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-height: 148px;
  background: var(--danger);
  color: #fff;
  border: 0;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(224, 54, 54, .22);
}

.pg-alerts-row:has(.pg-alert-card:only-child) .pg-alert-card { flex-basis: 100%; }

.pg-alert-kicker {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .86);
}

.pg-alert-card strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.pg-alert-card time,
.pg-note time,
.pg-log time { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }

.pg-alert-card time { color: rgba(255, 255, 255, .86); }

.pg-alert-card button {
  width: 100%;
  height: 38px;
  margin-top: auto;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--danger);
  font-size: 14px;
  font-weight: 700;
}

.pg-ack {
  display: inline-flex;
  margin-top: 12px;
  color: #157a42;
  font-size: 13px;
  font-weight: 700;
}

.pg-hero {
  position: relative;
  border-radius: 20px;
  padding: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #eceff3;
  box-shadow: 0 8px 20px rgba(22, 34, 51, .05);
}

.pg-edit-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #eef3fb;
  color: var(--blue);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(45, 118, 226, .12);
}

.pg-edit-btn svg { width: 18px; height: 18px; }

.pg-hero .pg-pill { max-width: calc(100% - 48px); }

.pg-hero h2 { margin: 10px 48px 4px 0; font-size: 22px; }

.pg-hero .pg-serial { margin: 0; color: var(--muted); font-size: 13px; }

.pg-address-label {
  margin: 14px 0 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
}

.pg-hero .pg-address { margin: 6px 0 0; font-size: 14px; line-height: 1.45; }

.pg-hero-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }

.pg-hero-btn {
  background: #f4f7fb;
  color: var(--ink);
  border: 1px solid var(--line);
}

.pg-hero-btn.is-solid {
  background: var(--blue);
  color: #fff;
  border-color: transparent;
}

.pg-logs { margin-top: 22px; }

.pg-tabs {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  border-bottom: 1px solid #e4e9f2;
  margin: 0 0 14px;
}

.pg-tabs button {
  border: 0;
  background: transparent;
  color: #8b95a7;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  padding: 8px 4px 12px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.pg-tabs button.is-active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.pg-filters {
  background: #fff;
  border: 1px solid #d5e2f5;
  border-radius: 18px;
  padding: 14px;
  margin-bottom: 14px;
}

.pg-filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pg-filters-head strong { font-size: 16px; }

.pg-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px 0 14px;
  border-radius: 999px;
  border: 1px solid #c9d7ee;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
}

.pg-filter-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform .18s ease;
}

.pg-filter-toggle svg.is-up { transform: rotate(180deg); }

.pg-filters-body { padding-top: 4px; }

.pg-filter-label {
  margin: 14px 0 8px;
  font-size: 14px;
  font-weight: 700;
}

.pg-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.pg-chip {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1.5px solid var(--blue);
  background: #fff;
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
}

.pg-chip.is-on {
  background: var(--blue);
  color: #fff;
}

.pg-filter-grid {
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  gap: 10px;
}

.pg-filter-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.pg-filter-field span { font-size: 13px; font-weight: 600; color: #374151; }

.pg-filter-field input {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #d5deee;
  padding: 0 10px;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
}

.pg-filter-field input:focus { outline: none; box-shadow: 0 0 0 3px rgba(45, 118, 226, .22); }

.pg-filter-error { margin-top: 12px; margin-bottom: 0; }

.pg-log {
  display: flex;
  gap: 10px;
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 8px;
}

.pg-log-dot {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
}

.pg-log-dot.is-gate_broken { background: var(--danger); }
.pg-log-dot.is-plaque_problem,
.pg-log-dot.is-need_maintenance { background: var(--maintenance); }
.pg-log-dot.is-gate_open,
.pg-log-dot.is-gate_close,
.pg-log-dot.is-gate_closed { background: var(--active); }
.pg-log-dot.is-heartbeat,
.pg-log-dot.is-ping { background: var(--offline); }

.pg-log strong { display: block; font-size: 14px; }

.pg-log small { color: var(--muted); font-size: 12px; }

.pg-sentinel { height: 1px; }

.pg-more { margin-top: 8px; }

.pg-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, .48);
  z-index: 40;
}

.pg-drawer {
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(86%, 340px);
  background: #fff;
  z-index: 41;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 30px rgba(0, 0, 0, .22);
}

.pg-drawer.is-left { left: 0; animation: pg-in-left .22s ease; }
.pg-drawer.is-right { right: 0; animation: pg-in-right .22s ease; }

.pg-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(12px + env(safe-area-inset-top)) 12px 12px 16px;
  background: var(--ink);
  color: #fff;
}

.pg-drawer-head h2 { margin: 0; font-size: 16px; }

.pg-drawer-body {
  flex: 1;
  min-height: 0;
  min-width: 0;
  overflow-x: clip;
  overflow-y: auto;
  padding: 8px 0 16px;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: rgba(35, 35, 35, .28) transparent;
}

.pg-userbox {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px;
}

.pg-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  flex: none;
}

.pg-userbox strong, .pg-userbox span { display: block; }
.pg-userbox span { color: var(--muted); font-size: 13px; margin-top: 2px; }

.pg-menu-btn {
  width: calc(100% - 24px);
  margin: 6px 12px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  text-align: left;
  padding: 0 14px;
  font-weight: 700;
  color: var(--ink);
}

.pg-menu-btn.is-danger { color: var(--danger); border-color: #f5c2c2; margin-top: auto; }

.pg-note {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  text-align: left;
  padding: 12px 16px;
  color: var(--ink);
}

.pg-note.is-unread { box-shadow: inset 3px 0 0 var(--danger); }

.pg-note strong, .pg-note span { display: block; }
.pg-note span { color: #4b5563; font-size: 13px; margin-top: 3px; }

.pg-overlay {
  position: absolute;
  inset: 0;
  z-index: 60;
  background: rgba(17, 24, 39, .5);
  display: flex;
  align-items: flex-end;
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
}

.pg-sheet {
  width: 100%;
  max-width: 100%;
  max-height: min(88dvh, 100%);
  overflow-x: clip;
  overflow-y: auto;
  background: #fff;
  color: var(--ink);
  border-radius: 22px;
  padding: 18px 16px 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(35, 35, 35, .28) transparent;
}

.pg-sheet.is-sticky {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.pg-sheet-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: min(88dvh, 100%);
}

.pg-sheet.is-sticky h2 { margin: 0; padding: 18px 16px 0; }

.pg-sheet-error { margin: 12px 16px 0; }

.pg-sheet-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: clip;
  overflow-y: auto;
  padding: 12px 16px 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(35, 35, 35, .28) transparent;
}

.pg-main::-webkit-scrollbar,
.pg-drawer-body::-webkit-scrollbar,
.pg-sheet::-webkit-scrollbar,
.pg-sheet-scroll::-webkit-scrollbar,
.pg-login::-webkit-scrollbar {
  width: 6px;
}

.pg-main::-webkit-scrollbar-thumb,
.pg-drawer-body::-webkit-scrollbar-thumb,
.pg-sheet::-webkit-scrollbar-thumb,
.pg-sheet-scroll::-webkit-scrollbar-thumb {
  background: rgba(35, 35, 35, .28);
  border-radius: 999px;
}

.pg-login::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .45);
  border-radius: 999px;
}

.pg-main::-webkit-scrollbar-track,
.pg-drawer-body::-webkit-scrollbar-track,
.pg-sheet::-webkit-scrollbar-track,
.pg-sheet-scroll::-webkit-scrollbar-track,
.pg-login::-webkit-scrollbar-track { background: transparent; }

.pg-sheet-foot {
  flex: none;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.pg-sheet-foot .pg-btn-row { margin-top: 0; }

.pg-sheet h2 { margin: 0 0 8px; font-size: 18px; }

.pg-sheet p { margin: 0 0 12px; color: #374151; font-size: 14px; line-height: 1.45; }

.pg-inline { display: flex; gap: 8px; }
.pg-inline input { flex: 1; }
.pg-inline .pg-btn { width: auto; margin-top: 0; padding: 0 14px; }

.pg-grid { display: grid; grid-template-columns: 1fr 88px; gap: 10px; }

.pg-steps { margin: 0 0 14px; padding-left: 18px; color: #374151; }
.pg-steps li { margin: 8px 0; }

.pg-toast {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: calc(78px + env(safe-area-inset-bottom));
  z-index: 70;
  margin: 0;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .25);
}

.pg-spinner {
  width: 28px;
  height: 28px;
  margin: 28px auto;
  border-radius: 50%;
  border: 3px solid rgba(45, 118, 226, .2);
  border-top-color: var(--blue);
  animation: pg-spin .7s linear infinite;
}

.pg-spinner.is-light {
  border-color: rgba(255, 255, 255, .28);
  border-top-color: #fff;
  margin: 0;
}

.pg-shell.is-locked .pg-main { overflow: hidden; }

.select2-container { width: 100% !important; z-index: 30; }

.select2-container--default .select2-selection--single {
  height: 52px;
  border-radius: 14px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 50px;
  color: var(--ink);
  padding-left: 14px;
  font-size: 16px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow { height: 50px; right: 8px; }

.select2-container--default .select2-selection--single .select2-selection__placeholder { color: #9ca3af; }

.select2-dropdown {
  border-color: var(--line);
  border-radius: 14px;
  overflow: hidden;
  z-index: 80;
}

.select2-search__field { font-size: 16px !important; }

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background: var(--blue);
}

.select2-container--open { z-index: 80; }

@keyframes pg-spin { to { transform: rotate(360deg); } }

@keyframes pg-splash-in {
  from { opacity: 0; transform: translateY(14px) scale(.94); }
  to { opacity: 1; transform: none; }
}

@keyframes pg-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, 16px, 0); }
}

@keyframes pg-in-left {
  from { transform: translateX(-16px); opacity: .6; }
  to { transform: none; opacity: 1; }
}

@keyframes pg-in-right {
  from { transform: translateX(16px); opacity: .6; }
  to { transform: none; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .pg-orb, .pg-drawer, .pg-spinner, .pg-splash-logo, .pg-splash-out-leave-active { animation: none; transition: none; }
}
