@import url("https://cdngovbr-ds.estaleiro.serpro.gov.br/design-system/fonts/rawline/css/rawline.css");

:root {
  --govbr-blue: #1351b4;
  --govbr-blue-dark: #0c326f;
  --govbr-yellow: #ffcd07;
  --govbr-gray-bg: #f0f0f0;
  --govbr-text: #333333;
  --pgmei-border: #e6e6e6;
  --pgmei-shadow: 0 1px 2px rgba(0,0,0,0.08);
  --z-dialog: 1000;
  --z-profile: 1100;
  --z-toast: 2000;
  --z-maintenance: 3000;
  --z-splash: 4000;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; width: 100%; }
body {
  background: #fff;
  color: #333;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.43;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }

.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 0 8px;
  font-family: "Rawline", sans-serif;
  transition: transform 0.48s cubic-bezier(0.32, 0.72, 0, 1);
}
.app-inner { display: flex; flex-direction: column; flex: 1; background: #fff; }

/* Header gov.br — proporções medidas em gov.br/pt-br @ 390px (site-header ≈ 154.7px) */
.gov-header { background: #fff; margin: 0 -8px; font-size: 16px; }

.header-utils {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  min-height: 42px;
  padding: 10px 16px 2px;
  box-sizing: border-box;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--govbr-blue);
  font-weight: 600;
  font-size: 16px;
  padding: 0;
  min-height: 32px;
}

.header-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--govbr-blue);
  padding: 0;
  width: 32px;
  height: 32px;
}

.header-main {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 4px 16px 19px;
  box-sizing: border-box;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.gov-logo { height: 28px; width: auto; }

.header-divider {
  width: 1px;
  height: 24px;
  background: #ccc;
}

.header-kebab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--govbr-blue);
  width: 32px;
  height: 32px;
  padding: 0;
}

.btn-atalhos {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  margin-left: auto;
  justify-content: center;
  min-height: 32px;
  padding: 4px 12px;
  border: 1px solid var(--govbr-blue);
  border-radius: 9999px;
  background: #fff;
  color: var(--govbr-blue);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.user-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  padding: 0;
}

.user-pill--login {
  background: var(--govbr-blue);
  color: #fff;
  min-height: 32px;
  padding: 6px 12px;
  gap: 6px;
}

.user-pill-logged {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--govbr-gray-bg);
  border: 1px solid #ddd;
  border-radius: 9999px;
  padding: 4px 10px 4px 4px;
  color: var(--govbr-text);
}

.user-pill-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.user-pill--logged.user-pill--login {
  background: transparent;
  padding: 0;
}

.user-avatar-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ccc;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  min-height: 56px;
  padding: 0 16px;
  box-sizing: border-box;
  border-bottom: 1px solid var(--pgmei-border);
  color: var(--govbr-text);
}

.header-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--govbr-blue);
  width: 32px;
  height: 32px;
  padding: 0;
}

.header-nav-title {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.36;
}

.breadcrumb { padding: 10px 16px; border-bottom: 1px solid var(--pgmei-border); background: #f8f8f8; }
.breadcrumb ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
  color: var(--govbr-blue); font-size: 14px;
}
.breadcrumb li.last { font-weight: 600; }

/* Profile modal gov.br */
.profile-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-profile);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 56px 0 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.profile-overlay.profile-overlay--visible {
  opacity: 1;
}

.profile-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transform: translateY(-12px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
}

.profile-overlay.profile-overlay--visible .profile-card {
  transform: translateY(0);
  opacity: 1;
}

.profile-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--govbr-blue);
  font-size: 18px;
  font-weight: 400;
  padding: 0;
  background: none;
  border: none;
}

.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 20px 16px;
  text-align: center;
}

.profile-avatar-lg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #ccc;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  box-shadow: 0 0 0 4px var(--govbr-yellow), 0 0 0 6px #fff, 0 0 0 8px #ddd;
  margin-bottom: 12px;
}

.profile-account {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  font-size: 13px;
  color: var(--govbr-text);
  margin-bottom: 8px;
}

.profile-account strong { font-weight: 700; }

.profile-saiba {
  color: var(--govbr-blue);
  font-weight: 600;
  font-size: 13px;
  margin-left: 4px;
  padding: 0;
  background: none;
  border: none;
  text-decoration: underline;
  cursor: pointer;
}

.profile-name {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--govbr-text);
  line-height: 1.35;
  max-width: 320px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--govbr-blue);
  border-radius: 9999px;
  background: #fff;
  color: var(--govbr-blue);
  font-size: 14px;
  font-weight: 600;
}

.profile-area-btn { width: auto; }
.profile-area-btn .profile-area-icon {
  flex-shrink: 0;
  display: block;
}

.profile-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--pgmei-border);
}

.profile-menu li { border-bottom: 1px solid var(--pgmei-border); }

.profile-menu button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 20px;
  color: var(--govbr-blue);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  background: #fff;
}

.profile-footer {
  border-top: 1px solid var(--pgmei-border);
  padding: 4px 0 8px;
}

.profile-footer button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 20px;
  color: var(--govbr-blue);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  background: #fff;
}

body.profile-open {
  overflow: hidden;
}

/* Main */
main { flex: 1; padding: 8px 0 16px; }
.section { background: #fff; border-radius: 4px; padding: 16px; }
.section + .section { margin-top: 16px; }
.box-cnpj { border: 1px solid var(--pgmei-border); padding: 8px 16px; box-shadow: 0 2px 4px rgba(0,0,0,0.12); margin: 0 0 16px; }
.box-cnpj p { margin: 4px 0; font-size: 14px; }
.result-row-nome { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }

/* Skeleton loading */
@keyframes skeleton-shimmer {
  0% { background-position: -220px 0; }
  100% { background-position: calc(220px + 100%) 0; }
}

.skeleton {
  display: block;
  border-radius: 4px;
  background: linear-gradient(90deg, #e8e8e8 0%, #f4f4f4 50%, #e8e8e8 100%);
  background-size: 220px 100%;
  animation: skeleton-shimmer 1.15s ease-in-out infinite;
}

.skeleton-text { height: 14px; width: min(100%, 220px); }
.skeleton-text--lg { height: 16px; width: min(100%, 280px); }
.skeleton-text--md { height: 16px; width: min(100%, 240px); flex: 1; }
.skeleton-text--sm { height: 12px; width: 88px; }
.skeleton-text--xs { height: 10px; width: min(100%, 180px); }
.skeleton-inline { display: inline-block; vertical-align: middle; margin-left: 4px; }
.skeleton-circle { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; }
.skeleton-btn { height: 44px; width: 100%; border-radius: 9999px; }
.skeleton-btn-inner { height: 14px; width: min(70%, 220px); margin: 0 auto; border-radius: 9999px; background: rgba(255,255,255,0.35); animation: skeleton-shimmer 1.15s ease-in-out infinite; }
.skeleton-textarea { height: 72px; width: 100%; border-radius: 4px; }
.skeleton-qr { width: 200px; height: 200px; margin: 12px auto 0; border-radius: 4px; }

.muni-title-skeleton { justify-content: center; margin-bottom: 0; }

.btn-pagar--loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.user-pill--skeleton {
  position: relative;
}

.user-pill--skeleton .user-pill-login,
.user-pill--skeleton .user-pill-logged { visibility: hidden; }

.user-pill--skeleton::before {
  content: "";
  position: absolute;
  inset: 4px 8px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #e0e0e0 0%, #efefef 50%, #e0e0e0 100%);
  background-size: 220px 100%;
  animation: skeleton-shimmer 1.15s ease-in-out infinite;
}

.user-pill--login.user-pill--skeleton {
  background: var(--govbr-gray-bg);
  border: 1px solid #ddd;
  min-width: 72px;
  min-height: 32px;
  position: relative;
}

.pix-skeleton { width: 100%; }
.pix-loading-label {
  color: #3c763d;
  font-size: 13px;
  margin: 12px 0 0;
  text-align: center;
}

.error-text { color: #a94442; font-size: 13px; }

.alert-red {
  background: #fdecea; border: 2px solid #d9534f; padding: 12px;
  border-radius: 4px; color: #a94442; text-align: left;
}
.alert-red p { margin: 4px 0; }
.alert-red .title { font-weight: 700; }
.alert-category {
  font-size: 13px;
  font-weight: 600;
  color: #8a6d3b;
  margin: 2px 0 0;
}
.alert-conversion .alert-amount {
  font-size: 28px;
  font-weight: 700;
  color: #a94442;
  margin: 8px 0 12px;
  line-height: 1.1;
}
.alert-conversion .alert-relief {
  font-size: 14px;
  font-weight: 600;
  color: #3c763d;
  margin-top: 8px;
}
.alert-conversion .alert-fine-note {
  font-size: 12px;
  color: #8a6d3b;
  margin-top: 8px;
}
.cta-subtext {
  text-align: center;
  font-size: 12px;
  color: #666;
  margin: 6px 0 0;
}
.alvara-desc {
  text-align: left;
  font-size: 14px;
  color: #333;
  margin: 0 0 8px;
  line-height: 1.5;
}
.section-title { font-size: 18px; font-weight: 700; text-align: center; }
.muni-title { display: flex; align-items: center; justify-content: center; gap: 12px; }
.muni-title h2 { font-size: 16px; font-weight: 700; color: #333; margin: 0; }
.muni-title img { height: 36px; width: auto; }

.btn-primary {
  width: 100%; padding: 12px 16px;
  border-radius: 9999px; background: var(--govbr-blue);
  color: #fff; font-weight: 600; font-size: 15px;
  box-shadow: var(--pgmei-shadow);
}
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.sticky-cta { position: sticky; bottom: 8px; z-index: 10; background: #fff; padding-top: 8px; margin-top: 16px; }

/* CNPJ form */
.identify { padding: 24px 20px; color: #333; }
.identify h2 { font-size: 18px; font-weight: 700; margin: 0 0 16px; }
.identify .row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.identify p { font-size: 14px; margin: 0 0 12px; }
.identify label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.identify input {
  width: 100%; padding: 12px 16px; border: 1px solid #888;
  border-radius: 4px; font-size: 14px; font-style: italic; color: #555;
  outline: none;
}
.identify input.invalid { border-color: #a94442; }
.identify .options { margin-top: 0; padding: 0; list-style: none; }
.identify .options li { padding: 12px 0; border-top: 1px solid #ddd; display: flex; align-items: center; gap: 12px; font-size: 14px; }
.identify .options li:first-child { border-top: 0; }
.identify-details {
  margin-top: 32px;
  border-top: 1px solid #ddd;
}
.identify-details summary {
  padding: 12px 0;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.identify-details summary::-webkit-details-marker { display: none; }
.identify-details summary::after {
  content: "▾";
  float: right;
  color: var(--govbr-blue);
  font-size: 12px;
}
.identify-details[open] summary::after { content: "▴"; }
.identify .options .badge {
  margin-left: 8px; font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 4px; background: #168821; color: #fff;
}
.identify .help { margin-top: 32px; text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.identify .help a { font-size: 14px; color: var(--govbr-blue); font-weight: 600; }

/* PIX dialog */
.pix-dialog-card {
  max-width: 360px;
  overflow: visible;
}

.pix-dialog-body {
  padding: 20px 16px 16px;
}

.pix-loading {
  text-align: center;
  padding: 24px 0;
}

.pix-loading p {
  color: #3c763d;
  font-size: 13px;
  margin: 8px 0 0;
}

.pix-title { text-align: center; color: #3c763d; font-size: 16px; font-weight: 700; margin: 0 0 4px; }
.pix-amount { text-align: center; color: #3c763d; font-size: 13px; margin: 0 0 4px; }
.pix-payer { text-align: center; color: #333; font-size: 13px; margin: 0 0 16px; }

.pix-plan-intro {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-align: center;
}
.pix-plan-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin: 0 0 10px;
  padding: 14px 14px 12px;
  text-align: left;
  background: #fff;
  border: 1px solid #d5d5d5;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.pix-plan-option--offer {
  border-color: #1351b4;
  background: #f5f8fc;
}
.pix-plan-badge {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 8px;
  border-radius: 9999px;
  background: #1351b4;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.pix-plan-title {
  font-size: 15px;
  font-weight: 700;
  color: #0c326f;
}
.pix-plan-desc {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.4;
  color: #555;
}
.pix-plan-breakdown {
  margin-top: 8px;
  font-size: 12px;
  color: #666;
}
.pix-plan-price {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 700;
  color: #1351b4;
}
.pix-plan-back {
  display: inline-block;
  margin: 0 0 12px;
  padding: 0;
  color: var(--govbr-blue);
  font-size: 13px;
  font-weight: 600;
}
#pix-cpf-step input {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 16px;
  margin-bottom: 12px;
  box-sizing: border-box;
}
#pix-cpf-step input.invalid { border-color: #a94442; }
.pix-gerar-btn { margin-top: 4px; }
.pix-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.pix-copy-primary { margin-top: 12px; margin-bottom: 8px; }
.pix-copy-hint {
  font-size: 13px;
  color: #3c763d;
  text-align: center;
  margin: 0 0 12px;
  font-weight: 600;
}
.pix-textarea { width: 100%; border: 1px solid #ccc; padding: 8px; border-radius: 4px; font-family: monospace; font-size: 11px; word-break: break-all; resize: none; margin-top: 4px; box-sizing: border-box; }
.pix-copy { width: 100%; padding: 10px 16px; border-radius: 9999px; background: #5cb85c; color: #fff; font-weight: 600; font-size: 14px; margin-top: 8px; }
.pix-copy.copied { background: #3c763d; }
.pix-qr { display: flex; justify-content: center; padding: 12px; border: 1px solid #e0e0e0; border-radius: 4px; background: #fff; margin-top: 0; }
.pix-qr img, .pix-qr canvas { width: 200px; height: 200px; max-width: 100%; }
.pix-await { text-align: center; font-size: 12px; color: #666; margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.pix-error { text-align: center; padding: 16px 0; color: #a94442; }
.pix-error h3 { font-size: 15px; font-weight: 700; margin: 0 0 8px; }
.pix-error p { font-size: 13px; margin: 0 0 12px; }
.pix-retry-btn { background: #5cb85c !important; max-width: 240px; margin: 0 auto; width: 100%; }
.pix-dialog-card .pix-retry-btn { margin: 12px auto 0; width: calc(100% - 0px); }
.spinner { display: inline-block; width: 20px; height: 20px; border: 3px solid #cfe6cf; border-top-color: #3c763d; border-radius: 50%; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Footer */
.gov-footer { background: #0c326f; padding: 24px 16px; margin: 16px -8px 0; color: #fff; font-family: "Rawline", sans-serif; }
.gov-footer img { height: 28px; filter: brightness(0) invert(1); margin-bottom: 24px; }
.gov-footer h3 { font-size: 16px; font-weight: 700; margin: 0 0 12px; }
.gov-footer ul { list-style: none; padding: 0; margin: 0 0 24px; font-size: 14px; }
.gov-footer ul li { margin-bottom: 12px; }

/* Aprovado */
.approved-card { padding: 24px; background: #fff; border-radius: 4px; box-shadow: var(--pgmei-shadow); text-align: center; }
.approved-icon { display: inline-flex; padding: 12px; background: #dff0d8; border: 2px solid #5cb85c; border-radius: 50%; }
.approved-icon svg { width: 40px; height: 40px; color: #3c763d; }
.approved h2 { color: #3c763d; font-size: 20px; font-weight: 700; }
.approved p { font-size: 14px; color: #333; }
.approved .warn { background: #fcf8e3; border: 2px solid #f0ad4e; border-radius: 4px; padding: 16px; text-align: left; color: #8a6d3b; }
.approved .warn .title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.approved .warn p { color: #8a6d3b; font-size: 13px; margin: 0; }

.receipt {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid var(--pgmei-border);
  border-radius: 4px;
  background: #fafafa;
  text-align: left;
}
.receipt h3 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: #333;
}
.receipt dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  font-size: 13px;
}
.receipt dt { color: #666; font-weight: 600; }
.receipt dd { margin: 0; color: #333; word-break: break-all; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  padding: 10px 16px;
  background: #333;
  color: #fff;
  font-size: 13px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: var(--z-toast);
}
.toast.hidden { display: none; }

.identify .options li.maintenance-trigger { cursor: pointer; }
.identify .help .maintenance-trigger { cursor: pointer; }
.maintenance-footer li { cursor: pointer; }

#maintenance-dialog.maintenance-overlay {
  z-index: var(--z-maintenance);
}

.maintenance-card {
  padding: 24px 20px 20px;
  text-align: center;
}

.maintenance-close {
  color: var(--govbr-blue);
  border: none;
  background: none;
  box-shadow: none;
}

.maintenance-title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--govbr-text);
}

.maintenance-text {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}

.maintenance-card .btn-primary {
  margin: 0;
  width: 100%;
}

.hidden { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-dialog);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.dialog-overlay.dialog-overlay--visible {
  opacity: 1;
}

.dialog-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  background: #fff;
  border: 1px solid var(--pgmei-border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  transform: translateY(10px) scale(0.98);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.dialog-overlay.dialog-overlay--visible .dialog-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.dialog-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  width: 28px;
  height: 28px;
  border: 1px solid #ccc;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.dialog-card img {
  width: 100%;
  border-radius: 8px 8px 0 0;
  background: #eef2f6;
}

.dialog-card img.dialog-banner--ready {
  background: transparent;
}

.dialog-card .btn-primary {
  margin: 16px;
  width: calc(100% - 32px);
}

body.dialog-open,
body.boot-splash-open {
  overflow: hidden;
}

body.boot-splash-open .app {
  transform: translateX(100%);
}

.boot-splash {
  position: fixed;
  inset: 0;
  z-index: var(--z-splash);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f3f3f3;
  transition: transform 0.48s cubic-bezier(0.32, 0.72, 0, 1);
}
.boot-splash-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.boot-splash-dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
}
.boot-splash-loader {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.boot-splash-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(255, 255, 255, 0.22);
  border-top-color: #1351b4;
  border-radius: 50%;
  animation: boot-spin 0.75s linear infinite;
}
.boot-splash-loader p {
  margin: 0;
  color: #fff;
  font-family: "Rawline", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.boot-splash--hide {
  transform: translateX(-100%);
  pointer-events: none;
}
@keyframes boot-spin {
  to { transform: rotate(360deg); }
}

/* Bloqueio de zoom */
html { overflow-x: hidden; touch-action: pan-x pan-y; -ms-touch-action: pan-x pan-y; -ms-content-zooming: none; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { touch-action: pan-x pan-y; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
