.app-panel.hidden {
  display: none !important;
}

.f7-legal-banner {
  position: sticky;
  top: 0;
  z-index: 55;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.55rem 1rem;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  background: linear-gradient(90deg, rgba(61, 8, 16, 0.97), rgba(30, 30, 30, 0.96));
  border-bottom: 1px solid rgba(255, 77, 38, 0.28);
}

.f7-legal-banner strong {
  color: #fda4af;
  font-weight: 800;
}

.f7-legal-banner a {
  color: #93c5fd;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.f7-legal-banner--cadastro {
  position: relative;
  top: auto;
  color: var(--text-muted);
  background: rgba(255, 248, 246, 0.95);
  border-bottom: 1px solid var(--field-border);
}

.f7-legal-banner--cadastro strong {
  color: var(--f7-red-dark);
}

.f7-legal-banner--cadastro a {
  color: #2563eb;
}

.anx-license {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(253, 164, 175, 0.35);
  background: rgba(255, 40, 0, 0.1);
}

.anx-license-title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fda4af;
}

.anx-license-text {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.anx-license-btn {
  align-self: flex-start;
  padding: 0.55rem 0.9rem;
  border: 0;
  border-radius: 0.65rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--f7-red-light), var(--f7-red));
  cursor: pointer;
}

.anx-license-btn:hover:not(:disabled) {
  filter: brightness(1.06);
}

.anx-license-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.f7-portal-consent {
  max-width: 28rem;
  margin: 0 auto 1.5rem;
  padding: 1.1rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid rgba(253, 164, 175, 0.35);
  background: rgba(255, 40, 0, 0.1);
}

.f7-portal-consent-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #fda4af;
}

.f7-portal-consent-lead {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.f7-portal-consent-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.f7-portal-consent-item {
  padding: 0.8rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
}

.f7-portal-consent-item legend,
.f7-portal-consent-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
}

.f7-portal-consent-desc {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}

.f7-portal-consent-desc a {
  color: #93c5fd;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.f7-portal-consent-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}

.f7-portal-consent-radio {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}

.f7-portal-consent-radio input {
  accent-color: #ff2800;
  width: 1rem;
  height: 1rem;
  cursor: pointer;
}

.f7-portal-consent-actions {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.f7-portal-consent-btn {
  align-self: flex-start;
  padding: 0.65rem 1rem;
  border: 0;
  border-radius: 0.65rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--f7-red-light), var(--f7-red));
  cursor: pointer;
}

.f7-portal-consent-btn:hover:not(:disabled) {
  filter: brightness(1.06);
}

.f7-portal-consent-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.f7-portal-consent-err {
  margin: 0;
  min-height: 1.1rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fca5a5;
}

/* Consent pendente: esconde painéis (não semi-opaco + pointer-events — isso matava o cadastro). */
body.f7-consent-pending .app-dock {
  pointer-events: none;
  opacity: 0.35;
}

body.f7-consent-pending .app-panel:not(#panel-home) {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

body.f7-consent-pending #f7PortalMain {
  pointer-events: none;
  opacity: 0.35;
}

.f7-portal-consent.hidden {
  display: none !important;
}

.f7-install-section {
  margin-top: 0;
}

.f7-install-panel {
  padding: 1.15rem 1.2rem 1rem;
  border-radius: 1.15rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 18px 40px -24px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
}

.f7-install-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.f7-install-sub {
  margin: 0.25rem 0 0;
  font-size: clamp(0.78rem, 0.7rem + 0.2vw, 0.86rem);
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.62);
}

.f7-install-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.f7-install-title {
  margin: 0;
  font-size: clamp(1.12rem, 1rem + 0.45vw, 1.28rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 1px 8px rgba(255, 40, 0, 0.25);
}

.f7-install-tile--disabled {
  opacity: 0.45;
  pointer-events: none;
}

a.app-home-tile {
  text-decoration: none;
  color: inherit;
}

.f7-install-lead {
  margin: 0 0 0.65rem;
  font-size: 0.74rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.f7-install-lead--warn {
  color: rgba(254, 202, 202, 0.95);
}

.f7-install-lead--note {
  margin-bottom: 0.85rem;
  color: rgba(191, 219, 254, 0.88);
}

.f7-install-version {
  margin: 0.75rem 0 0;
  padding: 0.5rem 0.75rem;
  border-radius: 0.65rem;
  font-size: 0.72rem;
  line-height: 1.45;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.f7-install-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.f7-install-flow__item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.7rem 0.75rem;
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.66rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
}

.f7-install-flow__item strong {
  display: block;
  margin-bottom: 0.12rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
}

.f7-install-flow__num {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255, 80, 40, 0.85), rgba(180, 30, 20, 0.9));
  font-weight: 800;
  font-size: 0.68rem;
  color: #fff;
  box-shadow: 0 4px 12px -4px rgba(255, 40, 0, 0.55);
}

.f7-install-flow__item--warn {
  border-color: rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.07);
}

.f7-install-flow__item--warn .f7-install-flow__num {
  background: linear-gradient(145deg, rgba(251, 191, 36, 0.95), rgba(217, 119, 6, 0.9));
  box-shadow: 0 4px 12px -4px rgba(251, 191, 36, 0.45);
}

.f7-install-extras {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 720px) {
  .f7-install-flow {
    grid-template-columns: 1fr;
  }
}

.f7-install-steps {
  margin: 0 0 0.85rem;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.45rem;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.f7-install-steps li {
  padding-left: 0.15rem;
}

.f7-install-steps strong {
  color: #fff;
  font-weight: 800;
}

.f7-install-badge {
  flex-shrink: 0;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.f7-install-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.f7-install-grid--single {
  grid-template-columns: 1fr;
}

.f7-install-card--hero {
  margin-bottom: 0;
  padding: 1rem 1.1rem;
  border-color: rgba(255, 80, 40, 0.65);
  background:
    linear-gradient(145deg, rgba(255, 40, 0, 0.32) 0%, rgba(82, 16, 24, 0.45) 100%);
  box-shadow:
    0 12px 32px -8px rgba(255, 40, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.f7-install-card--hero .f7-install-name {
  font-size: 1.05rem;
}

.f7-install-more {
  margin-top: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
}

.f7-install-more summary {
  cursor: pointer;
  padding: 0.45rem 0;
  user-select: none;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
}

.f7-install-more .f7-install-grid {
  margin-top: 0.65rem;
}

@media (max-width: 540px) {
  .f7-install-grid {
    grid-template-columns: 1fr;
  }
}

.f7-install-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.85rem;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.f7-install-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.f7-install-card--anuncios::before {
  background: linear-gradient(135deg, rgba(24, 119, 242, 0.22), transparent 58%);
}

.f7-install-card--agente::before {
  background: linear-gradient(135deg, rgba(255, 40, 0, 0.24), transparent 58%);
}

.f7-install-card--completo::before {
  background: linear-gradient(135deg, rgba(255, 40, 0, 0.2), rgba(24, 119, 242, 0.18) 55%, transparent 85%);
}

.f7-install-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 14px 32px -18px rgba(0, 0, 0, 0.55);
}

.f7-install-card:hover::before {
  opacity: 1;
}

.f7-install-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.f7-install-icon svg {
  width: 1.2rem;
  height: 1.2rem;
  color: #fff;
}

.f7-install-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-width: 0;
}

.f7-install-name {
  font-size: 0.86rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.f7-install-meta {
  flex-shrink: 0;
  margin-top: 0;
  padding: 0.16rem 0.45rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
}

.f7-install-arrow {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.45);
  transition: transform 0.2s ease, color 0.2s ease;
}

.f7-install-card:hover .f7-install-arrow {
  transform: translateY(2px);
  color: #fff;
}

/* —— Portal home (organização estilo produto) —— */
.portal-home-wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: min(80rem, calc(100vw - 1.5rem));
  margin-inline: auto;
  padding-inline: clamp(0.75rem, 2vw, 1.25rem);
}

.portal-home-shell {
  background:
    radial-gradient(ellipse 100% 70% at 50% -15%, rgba(255, 223, 0, 0.28), transparent 58%),
    radial-gradient(ellipse 60% 55% at 0% 90%, rgba(0, 255, 140, 0.22), transparent 52%),
    radial-gradient(ellipse 55% 50% at 100% 15%, rgba(255, 60, 30, 0.18), transparent 50%),
    radial-gradient(ellipse 45% 40% at 85% 85%, rgba(0, 200, 90, 0.2), transparent 48%),
    linear-gradient(180deg, #0c3218 0%, #126832 22%, #1a8040 48%, #145c2e 72%, #0a2818 100%);
  animation: f7-home-bg-pulse 8s ease-in-out infinite alternate;
}

@keyframes f7-home-bg-pulse {
  0% {
    filter: brightness(1) saturate(1.05);
  }
  100% {
    filter: brightness(1.08) saturate(1.15);
  }
}

.portal-home-shell::after {
  opacity: 0.16;
}

.portal-topbar {
  position: relative;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.portal-topbar-brand {
  display: block;
  flex-shrink: 0;
}

.portal-topbar-account {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.portal-topbar-user {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 12rem;
}

.portal-topbar-logout {
  flex-shrink: 0;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.portal-topbar-logout:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

.portal-home {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.portal-home-intro {
  max-width: min(48rem, 100%);
}

.portal-home-kicker {
  margin: 0;
  font-size: clamp(0.68rem, 0.55rem + 0.35vw, 0.78rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffb199;
  text-shadow: 0 0 18px rgba(255, 40, 0, 0.45);
}

.portal-home-title {
  margin: 0.55rem 0 0;
  font-size: clamp(1.85rem, 2.5vw + 0.5rem, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
  filter: drop-shadow(0 2px 12px rgba(255, 40, 0, 0.35));
}

.portal-home-lead {
  margin: 0.55rem 0 0;
  font-size: clamp(0.95rem, 1.1vw + 0.35rem, 1.08rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: min(42rem, 100%);
}

.portal-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.portal-section-title {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 180, 150, 0.95);
  text-shadow: 0 0 12px rgba(255, 40, 0, 0.25);
}

.portal-shortcuts {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

a.app-home-featured {
  text-decoration: none;
  color: inherit;
}

.app-home-featured__icon svg {
  width: 1.55rem;
  height: 1.55rem;
  color: #fff;
}

.app-home-featured--painel {
  border: 1.5px solid rgba(251, 191, 36, 0.55);
  background:
    linear-gradient(145deg, rgba(251, 191, 36, 0.28) 0%, rgba(255, 255, 255, 0.12) 45%, rgba(82, 16, 24, 0.55) 100%);
  box-shadow:
    0 18px 40px -16px rgba(251, 191, 36, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.app-home-featured--painel:hover {
  border-color: rgba(253, 224, 71, 0.78);
  background:
    linear-gradient(145deg, rgba(251, 191, 36, 0.38) 0%, rgba(255, 255, 255, 0.16) 45%, rgba(82, 16, 24, 0.62) 100%);
  box-shadow:
    0 24px 48px -14px rgba(251, 191, 36, 0.45),
    0 0 20px -6px rgba(251, 191, 36, 0.3);
}

.portal-section--install {
  padding-top: 0.35rem;
  border-top: 1px solid rgba(255, 120, 90, 0.28);
}

.portal-install-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .portal-install-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .portal-topbar-user {
    max-width: 16rem;
  }
}

@media (min-width: 720px) {
  .portal-shortcuts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

/* Um único menu inferior — remove duplicatas de cache/iframe/legado */
body.app-unified .app-dock ~ .app-dock {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.app-dock {
  position: fixed;
  left: 50%;
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(0);
  z-index: 120;
  isolation: isolate;
  contain: layout style;
  display: flex;
  align-items: flex-end;
  flex-wrap: nowrap;
  gap: 0.28rem;
  padding: 0.42rem 0.55rem 0.5rem;
  max-width: calc(100vw - 0.75rem);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-radius: 1.65rem;
  background:
    linear-gradient(155deg, rgba(18, 10, 14, 0.88) 0%, rgba(8, 14, 12, 0.92) 55%, rgba(12, 8, 10, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 24px 50px -18px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 40, 0, 0.12) inset,
    0 0 40px -12px rgba(255, 40, 0, 0.22);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  transition:
    transform 0.38s cubic-bezier(0.32, 0.72, 0, 1),
    opacity 0.28s ease,
    visibility 0.28s ease,
    box-shadow 0.32s ease;
}

.app-dock::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255, 90, 50, 0.55) 0%,
    rgba(52, 211, 153, 0.45) 42%,
    rgba(96, 165, 250, 0.35) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.75;
}

.app-dock::-webkit-scrollbar {
  display: none;
}

.app-dock--hidden {
  transform: translateX(-50%) translateY(calc(100% + 1.25rem));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.app-dock--peek {
  box-shadow:
    0 16px 36px -16px rgba(0, 0, 0, 0.75),
    0 0 28px -10px rgba(16, 185, 129, 0.35);
}

body.f7-site-bg > .app-dock {
  position: fixed;
  z-index: 120;
}

.app-dock-btn {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  flex: 0 0 auto;
  min-width: 3.55rem;
  max-width: 4.35rem;
  padding: 0.42rem 0.28rem 0.36rem;
  border-radius: 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.56rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.22s cubic-bezier(0.32, 0.72, 0, 1),
    box-shadow 0.22s ease,
    border-color 0.2s ease;
}

.app-dock-label {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.1;
}

.app-dock-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
}

.app-dock-btn--home:hover {
  background: rgba(255, 40, 0, 0.22);
}

.app-dock-btn--cadastro:hover {
  background: rgba(255, 80, 40, 0.24);
}

.app-dock-btn--plate:hover {
  background: rgba(14, 165, 233, 0.22);
}

.app-dock-btn--veicular:hover {
  background: rgba(16, 185, 129, 0.22);
}

.app-dock-btn--anuncios:hover {
  background: rgba(24, 119, 242, 0.24);
}

.app-dock-btn--rifa:hover {
  background: rgba(124, 58, 237, 0.28);
}

.app-dock-btn.active {
  color: #fff;
  transform: translateY(-2px);
}

.app-dock-btn--home.active,
.app-dock-btn[data-app-nav="home"].active {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(148, 163, 184, 0.12));
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 10px 24px -10px rgba(148, 163, 184, 0.45);
}

.app-dock-btn--cadastro.active,
.app-dock-btn[data-app-nav="cadastro"].active {
  background: linear-gradient(145deg, rgba(255, 80, 40, 0.42), rgba(220, 38, 38, 0.32));
  border-color: rgba(255, 180, 120, 0.45);
  box-shadow: 0 12px 28px -8px rgba(255, 40, 0, 0.55);
}

.app-dock-btn--painel.active,
.app-dock-btn[data-app-nav="painel"].active,
.app-dock-btn.local-agent-ui.active {
  background: linear-gradient(145deg, rgba(251, 191, 36, 0.35), rgba(217, 119, 6, 0.28));
  border-color: rgba(253, 224, 71, 0.42);
  box-shadow: 0 12px 28px -8px rgba(251, 191, 36, 0.45);
}

.app-dock-btn--hub.active {
  background: linear-gradient(145deg, rgba(52, 211, 153, 0.55), rgba(5, 150, 105, 0.45));
  border-color: rgba(167, 243, 208, 0.55);
  box-shadow:
    0 14px 32px -10px rgba(16, 185, 129, 0.65),
    0 0 24px -6px rgba(52, 211, 153, 0.55);
}

.app-dock-btn svg {
  width: 1.35rem;
  height: 1.35rem;
}

.app-dock-logo {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.28));
}

.app-dock-btn--avaliacao:hover {
  border-color: rgba(251, 146, 60, 0.45);
}

.app-dock-btn--sinal:hover {
  border-color: rgba(251, 191, 36, 0.45);
}

.app-dock-btn--locked {
  opacity: 0.4;
  cursor: not-allowed;
}

@media (max-width: 480px) {
  .app-dock {
    gap: 0.2rem;
    padding: 0.45rem 0.4rem;
    max-width: calc(100vw - 0.75rem);
  }

  .app-dock-btn {
    min-width: 2.65rem;
    max-width: 3.35rem;
    font-size: 0.46rem;
    padding: 0.38rem 0.1rem;
  }

  .app-dock-btn svg {
    width: 1.2rem;
    height: 1.2rem;
  }
}

html.f7-mobile #homeAnunciosFeatured {
  display: none !important;
}

body.f7-public-dock .main,
body.app-unified.f7-site-bg .main {
  padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
}

/* Consultas grátis — mesmo dock do portal (Anúncios), largura só dos botões */
body.app-unified.f7-site-bg .app-dock {
  width: max-content;
  max-width: calc(100vw - 0.75rem);
}

html.f7-mobile body.app-unified.f7-site-bg .app-dock {
  gap: 0.28rem;
  padding: 0.55rem 0.5rem;
}

html.f7-mobile body.app-unified.f7-site-bg .app-dock-btn {
  min-width: 3.35rem;
  max-width: 4.1rem;
  min-height: 3.35rem;
  font-size: 0.52rem;
  padding: 0.45rem 0.2rem;
}

html.f7-mobile body.app-unified.f7-site-bg .app-dock-btn svg {
  width: 1.45rem;
  height: 1.45rem;
}

html.f7-mobile .app-dock {
  gap: 0.28rem;
  padding: 0.55rem 0.5rem;
}

html.f7-mobile .app-dock-btn {
  min-width: 3.35rem;
  max-width: 4.1rem;
  min-height: 3.35rem;
  font-size: 0.52rem;
  padding: 0.45rem 0.2rem;
}

html.f7-mobile .app-dock-btn svg {
  width: 1.45rem;
  height: 1.45rem;
}

.cadastro-subnav {
  display: flex;
  gap: 0.5rem;
  margin: 0 0 1rem;
  flex-wrap: wrap;
}

.cadastro-subnav-btn {
  border: 1px solid var(--field-border, rgba(0, 0, 0, 0.12));
  background: rgba(255, 255, 255, 0.8);
  border-radius: 9999px;
  padding: 0.45rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-main, #1c1917);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.cadastro-subnav-btn:hover {
  background: #fff;
}

.cadastro-subnav-btn.active {
  background: var(--f7-red, #ff2800);
  border-color: var(--f7-red, #ff2800);
  color: #fff;
}

#panel-historico.cadastro-historico-view {
  display: none;
}

#cadastroEquipeView.cadastro-equipe-view {
  display: none;
}

body.cadastro-tab-historico #cadastroFormView {
  display: none;
}

body.cadastro-tab-historico #panel-historico.cadastro-historico-view {
  display: block;
}

body.cadastro-tab-equipe #cadastroFormView {
  display: none;
}

body.cadastro-tab-equipe #panel-historico.cadastro-historico-view {
  display: none;
}

body.cadastro-tab-equipe #cadastroEquipeView.cadastro-equipe-view {
  display: block;
  padding-bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
}

html.f7-mobile #panel-cadastro #submitBtn {
  width: 100%;
  min-height: 3rem;
  padding: 0.85rem 1.25rem;
  font-size: 0.92rem;
  border-radius: 0.85rem;
}

html.f7-mobile #panel-cadastro .cadastro-input,
html.f7-mobile #panel-cadastro .field-input {
  min-height: 2.85rem;
  font-size: 1rem;
}

html.f7-mobile #panel-cadastro .cadastro-lookup-card {
  min-height: 2.85rem;
  padding: 0.65rem 0.85rem;
}

html.f7-mobile #panel-cadastro .submit-area {
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
}

html.f7-mobile #panel-cadastro .cadastro-toolbar {
  flex-wrap: wrap;
  gap: 0.45rem;
}

html.f7-mobile #panel-cadastro .cadastro-toolbar a,
html.f7-mobile #panel-cadastro .cadastro-toolbar button {
  min-height: 2.65rem;
  padding: 0.55rem 0.85rem;
}

html.f7-mobile body.app-unified {
  padding-bottom: 6.25rem;
}

html.f7-mobile #readingModeBtn,
html.f7-mobile .app-home-featured--veicular {
  display: none !important;
}

html.f7-mobile #panel-cadastro main {
  padding-bottom: 7rem;
}

html.f7-mobile #panel-cadastro .submit-area {
  position: sticky;
  bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
  z-index: 45;
  margin-top: 1.25rem;
  background: var(--submit-area);
  box-shadow: 0 -8px 24px -12px rgba(15, 23, 42, 0.18);
}

html.f7-mobile #panel-cadastro .bank-targets-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

html.f7-mobile #panel-cadastro .bank-target-card {
  min-height: 5.35rem;
  padding: 0.7rem 0.35rem 0.55rem;
}

html.f7-mobile #panel-cadastro .bank-target-check {
  width: 1.12rem;
  height: 1.12rem;
  top: 0.35rem;
  left: 0.35rem;
}

html.f7-mobile #panel-cadastro .bank-target-logo-wrap {
  width: 5.1rem;
  height: 5.1rem;
}

html.f7-mobile #panel-cadastro .bank-target-logo {
  width: 100%;
  height: 100%;
}

html.f7-mobile #panel-cadastro .bank-target-name {
  font-size: 0.68rem;
  line-height: 1.2;
}

html.f7-mobile #panel-cadastro .bank-target-card[data-cid="santander_auto"] .bank-target-name,
html.f7-mobile #panel-cadastro .bank-target-card[data-cid="santander"] .bank-target-name,
html.f7-mobile #panel-cadastro .bank-target-card[data-cid="bradesco_auto"] .bank-target-name,
html.f7-mobile #panel-cadastro .bank-target-card[data-cid="safra_auto"] .bank-target-name,
html.f7-mobile #panel-cadastro .bank-target-card[data-cid="simpala"] .bank-target-name {
  font-size: 0.78rem;
}

html.f7-mobile #panel-cadastro .bank-targets-toolbar button {
  min-height: 2.55rem;
  padding: 0.5rem 0.8rem;
  font-size: 0.78rem;
}

html.f7-mobile #panel-cadastro .cadastro-step-head h2 {
  font-size: 1rem;
}

html.f7-mobile #panel-cadastro .cadastro-label {
  font-size: 0.82rem;
}

html.f7-mobile .app-home-featured {
  min-height: 6.75rem;
  padding: 1.1rem 1rem;
}

html.f7-mobile .app-home-featured--cadastro {
  border-width: 2px;
}

html.f7-mobile .app-home-featured-stack {
  grid-template-columns: 1fr;
}

body.app-unified {
  padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
}

.app-home-featured-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 560px) {
  .app-home-featured-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.app-home-featured {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem 1rem;
  width: 100%;
  min-height: 7.25rem;
  padding: 1.25rem 1.15rem;
  border-radius: 1.35rem;
  text-align: left;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.app-home-featured__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, transparent 38%, rgba(255, 255, 255, 0.08) 100%);
  pointer-events: none;
  z-index: 0;
}

.app-home-featured__icon {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 3.65rem;
  height: 3.65rem;
  border-radius: 1.1rem;
  box-shadow: 0 10px 28px -12px rgba(0, 0, 0, 0.45);
}

.app-home-featured__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.app-home-featured__title {
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: #fff;
}

.app-home-featured__sub {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
}

.app-home-featured__go {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  font-size: 1.45rem;
  font-weight: 300;
  line-height: 1;
  color: rgba(255, 255, 255, 0.72);
  transition:
    transform 0.22s ease,
    color 0.22s ease,
    opacity 0.22s ease;
}

@media (min-width: 560px) {
  .app-home-featured {
    min-height: 9.25rem;
    padding: 1.45rem 1.3rem;
  }

  .app-home-featured__icon {
    width: 4rem;
    height: 4rem;
  }

  .app-home-featured__title {
    font-size: 1.08rem;
  }
}

.app-home-featured:hover {
  transform: translateY(-4px) scale(1.015);
}

.app-home-featured:hover .app-home-featured__go {
  color: rgba(255, 255, 255, 0.95);
  transform: translateX(4px);
}

.app-home-featured--cadastro {
  border: 1.5px solid rgba(255, 140, 100, 0.85);
  background:
    linear-gradient(145deg, rgba(255, 70, 25, 0.58) 0%, rgba(160, 30, 45, 0.62) 50%, rgba(80, 12, 22, 0.72) 100%);
  box-shadow:
    0 22px 50px -14px rgba(255, 40, 0, 0.65),
    0 0 0 1px rgba(255, 120, 90, 0.15) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.app-home-featured--cadastro:hover {
  border-color: rgba(255, 220, 200, 0.95);
  background:
    linear-gradient(145deg, rgba(255, 90, 40, 0.68) 0%, rgba(180, 35, 50, 0.72) 50%, rgba(80, 12, 22, 0.78) 100%);
  box-shadow:
    0 32px 60px -12px rgba(255, 40, 0, 0.75),
    0 0 24px -4px rgba(255, 40, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.app-home-featured--plate {
  border: 1.5px solid rgba(125, 200, 255, 0.72);
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.48) 0%, rgba(37, 99, 235, 0.38) 50%, rgba(30, 58, 138, 0.52) 100%);
  box-shadow:
    0 20px 44px -14px rgba(37, 99, 235, 0.58),
    0 0 0 1px rgba(147, 197, 253, 0.12) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.app-home-featured--plate:hover {
  border-color: rgba(191, 219, 254, 0.92);
  background:
    linear-gradient(145deg, rgba(56, 189, 248, 0.58) 0%, rgba(37, 99, 235, 0.48) 50%, rgba(30, 58, 138, 0.62) 100%);
  box-shadow:
    0 28px 54px -12px rgba(37, 99, 235, 0.68),
    0 0 24px -4px rgba(37, 99, 235, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.app-home-featured--veicular {
  border: 1.5px solid rgba(110, 231, 183, 0.72);
  background:
    linear-gradient(145deg, rgba(16, 185, 129, 0.5) 0%, rgba(5, 150, 105, 0.42) 50%, rgba(6, 95, 70, 0.55) 100%);
  box-shadow:
    0 20px 44px -14px rgba(5, 150, 105, 0.55),
    0 0 0 1px rgba(167, 243, 208, 0.12) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.app-home-featured--veicular:hover {
  border-color: rgba(167, 243, 208, 0.92);
  background:
    linear-gradient(145deg, rgba(52, 211, 153, 0.62) 0%, rgba(5, 150, 105, 0.52) 50%, rgba(6, 95, 70, 0.65) 100%);
  box-shadow:
    0 28px 54px -12px rgba(5, 150, 105, 0.65),
    0 0 24px -4px rgba(16, 185, 129, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.app-home-featured--fb {
  border: 1.5px solid rgba(96, 165, 250, 0.78);
  background:
    linear-gradient(145deg, rgba(24, 119, 242, 0.52) 0%, rgba(12, 99, 212, 0.42) 50%, rgba(30, 64, 175, 0.58) 100%);
  box-shadow:
    0 20px 44px -14px rgba(24, 119, 242, 0.55),
    0 0 0 1px rgba(147, 197, 253, 0.12) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.app-home-featured--fb:hover {
  border-color: rgba(147, 197, 253, 0.92);
  background:
    linear-gradient(145deg, rgba(59, 130, 246, 0.62) 0%, rgba(12, 99, 212, 0.52) 50%, rgba(30, 64, 175, 0.68) 100%);
  box-shadow:
    0 28px 54px -12px rgba(24, 119, 242, 0.65),
    0 0 24px -4px rgba(24, 119, 242, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.app-home-featured--sinal {
  border: 1.5px solid rgba(251, 191, 36, 0.75);
  background:
    linear-gradient(145deg, rgba(217, 119, 6, 0.45) 0%, rgba(5, 150, 105, 0.42) 55%, rgba(6, 78, 59, 0.58) 100%);
  box-shadow:
    0 20px 44px -14px rgba(5, 150, 105, 0.5),
    0 0 0 1px rgba(253, 224, 71, 0.1) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.app-home-featured--sinal:hover {
  border-color: rgba(253, 224, 71, 0.92);
  background:
    linear-gradient(145deg, rgba(245, 158, 11, 0.55) 0%, rgba(16, 185, 129, 0.52) 50%, rgba(6, 95, 70, 0.65) 100%);
  box-shadow:
    0 28px 54px -12px rgba(5, 150, 105, 0.6),
    0 0 24px -4px rgba(251, 191, 36, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.app-home-featured--avaliacao {
  border: 1.5px solid rgba(251, 146, 60, 0.75);
  background:
    linear-gradient(145deg, rgba(234, 88, 12, 0.48) 0%, rgba(194, 65, 12, 0.42) 55%, rgba(69, 26, 3, 0.58) 100%);
  box-shadow:
    0 20px 44px -14px rgba(234, 88, 12, 0.48),
    0 0 0 1px rgba(253, 186, 116, 0.1) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.app-home-featured--avaliacao:hover {
  border-color: rgba(253, 186, 116, 0.92);
  background:
    linear-gradient(145deg, rgba(249, 115, 22, 0.58) 0%, rgba(234, 88, 12, 0.52) 50%, rgba(124, 45, 18, 0.65) 100%);
  box-shadow:
    0 28px 54px -12px rgba(234, 88, 12, 0.58),
    0 0 24px -4px rgba(251, 146, 60, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.app-home-featured__icon--logo {
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}

.app-home-featured__icon--logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.42));
}

.app-home-featured--locked {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.app-home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 640px) {
  .app-home-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

/* Removidos da home — fallback se o HTML estiver em cache antigo */
[data-open-panel="painel"],
[data-open-panel="historico"] {
  display: none !important;
}

.app-home-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 9.5rem;
  padding: 1.35rem 0.85rem;
  border-radius: 1.5rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 40, 0, 0.08) 100%);
  border: 1px solid rgba(255, 140, 110, 0.25);
  text-align: center;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.app-home-tile:hover {
  transform: translateY(-4px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 40, 0, 0.2) 100%);
  border-color: rgba(255, 40, 0, 0.45);
  box-shadow: 0 16px 36px -12px rgba(255, 40, 0, 0.45);
}

.app-home-tile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1.15rem;
}

.app-home-tile-icon svg {
  width: 1.65rem;
  height: 1.65rem;
}

.cadastro-welcome {
  margin-bottom: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: var(
    --cadastro-welcome-bg,
    linear-gradient(135deg, rgba(255, 40, 0, 0.08) 0%, rgba(255, 237, 232, 0.65) 100%)
  );
  border: 1.5px solid var(--cadastro-welcome-border, rgba(255, 40, 0, 0.16));
  box-shadow: var(--cadastro-welcome-shadow, 0 8px 24px -16px rgba(255, 40, 0, 0.25));
}

.cadastro-welcome-kicker {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cadastro-welcome-kicker, var(--f7-red-dark));
}

.cadastro-welcome-title {
  margin: 0.35rem 0 0;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
}

.cadastro-welcome-title span {
  color: var(--cadastro-welcome-accent, var(--f7-red));
}

.cadastro-welcome-sub {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.cadastro-mobile-banner {
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.85rem;
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--text-main);
  background: rgba(59, 130, 246, 0.08);
  border: 1.5px solid rgba(59, 130, 246, 0.22);
}

.cadastro-mobile-banner strong {
  font-weight: 800;
  color: #1d4ed8;
}

.app-panel-frame {
  width: 100%;
  min-height: calc(100vh - 8rem);
  border: 0;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.2);
}

.app-embed-panel {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1rem 0;
}

/* —— Anúncios num Clique (painel refinado) —— */
.anx-page {
  max-width: 26rem;
  margin: 0 auto;
}

.anx-head {
  margin-bottom: 1.25rem;
}

.anx-title {
  margin: 0.35rem 0 0;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.anx-lead {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 500;
}

.anx-build-hint {
  margin: 0.35rem 0 0;
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 200, 180, 0.75);
}

.anx-build-hint--warn {
  color: #fcd34d;
}

.anx-alert {
  margin-bottom: 1rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(255, 248, 220, 0.95);
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.anx-card {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
}

.anx-card--status {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}

.anx-status {
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.8);
}

.anx-status--ok {
  color: #a7f3d0;
}

.anx-status--warn {
  color: #fde68a;
}

.anx-link-btn {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: none;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fda4af;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.anx-link-btn:hover:not(:disabled) {
  color: #fff;
}

.anx-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  width: 100%;
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
  border: 0;
  border-radius: 1rem;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(145deg, #ff6b4a 0%, var(--f7-red) 42%, #c41e0a 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 16px 40px -12px rgba(255, 40, 0, 0.65);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.15s;
}

.anx-cta:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 20px 48px -10px rgba(255, 40, 0, 0.7);
}

.anx-cta:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
}

.anx-cta-label {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.anx-cta-sub {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.88;
}

.anx-section-label {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.anx-portals-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.anx-portals-count {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  text-align: right;
}

.anx-portals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6.8rem, 1fr));
  gap: 0.55rem;
  max-height: 16rem;
  overflow-y: auto;
  margin-bottom: 0.75rem;
  padding-right: 0.1rem;
}

.anx-portal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.55rem 0.4rem 0.45rem;
  border-radius: 0.85rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s, transform 0.15s;
}

.anx-portal-card:hover:not(.anx-portal-card--disabled) {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.anx-portal-card--selected {
  border-color: rgba(255, 107, 74, 0.65);
  background: linear-gradient(145deg, rgba(255, 107, 74, 0.22), rgba(220, 38, 38, 0.14));
  box-shadow: 0 0 0 1px rgba(255, 107, 74, 0.2), 0 8px 24px -10px rgba(220, 38, 38, 0.45);
}

.anx-portal-card--auto.anx-portal-card--selected {
  border-color: rgba(255, 140, 100, 0.7);
}

.anx-portal-check {
  position: absolute;
  top: 0.35rem;
  left: 0.35rem;
  width: 0.9rem;
  height: 0.9rem;
  accent-color: #ff6b4a;
  cursor: pointer;
}

.anx-portal-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.anx-portal-card--auto .anx-portal-badge {
  background: linear-gradient(145deg, #ff6b4a, #dc2626);
  border-color: rgba(255, 255, 255, 0.15);
}

.anx-portal-name {
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.92);
}

.anx-portal-mode {
  font-size: 0.58rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
}

.anx-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.anx-chip {
  flex: 1;
  min-height: 2.5rem;
  padding: 0.45rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.anx-chip:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.anx-chip:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.anx-chip--danger {
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.35);
  background: rgba(220, 38, 38, 0.14);
}

.anx-chip--danger:hover:not(:disabled) {
  background: rgba(220, 38, 38, 0.24);
  border-color: rgba(248, 113, 113, 0.5);
}

.anx-toast {
  min-height: 1.1rem;
  margin: 0 0 1rem;
  font-size: 0.76rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.anx-toast--ok {
  color: #86efac;
}

.anx-toast--err {
  color: #fca5a5;
}

.anx-toast--busy {
  color: rgba(255, 200, 180, 0.95);
}

.anx-drawers {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.anx-drawer {
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.anx-drawer[open] {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.18);
}

.anx-drawer > summary {
  list-style: none;
  cursor: pointer;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  user-select: none;
}

.anx-drawer > summary::-webkit-details-marker {
  display: none;
}

.anx-drawer > summary::after {
  content: "+";
  float: right;
  font-weight: 400;
  opacity: 0.5;
}

.anx-drawer[open] > summary::after {
  content: "−";
}

.anx-drawer--danger > summary {
  color: #fecaca;
}

.anx-drawer-text {
  margin: 0 1rem 0.65rem;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.5);
}

.anx-config {
  display: flex;
  flex-direction: column;
  padding: 0 0.5rem 0.5rem;
}

.anx-settings {
  gap: 0.4rem;
}

.anx-field-label {
  margin: 0.35rem 0.5rem 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.anx-field-input {
  margin: 0 0.5rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8rem;
  font-family: inherit;
}

.anx-field-input:focus {
  outline: 2px solid rgba(220, 38, 38, 0.45);
  outline-offset: 1px;
}

.anx-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.25rem 0.5rem;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.82);
}

.anx-row-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 0;
  border-radius: 0.55rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s;
}

.anx-row-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
}

.anx-row-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.anx-row-btn--danger {
  color: #fecaca;
}

.anx-delete-panel {
  padding: 0 0.5rem 0.5rem;
}

.anx-delete-store {
  margin: 0 0.5rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}

.anx-delete-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin: 0.55rem 0.5rem 0.65rem;
}

.anx-delete-tool {
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
}

.anx-delete-tool:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
}

.anx-delete-count {
  margin-left: auto;
  font-size: 0.66rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
}

.anx-delete-filter {
  display: block;
  margin: 0 0.5rem 0.55rem;
}

.anx-delete-filter-label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.anx-delete-filter-input {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  outline: none;
}

.anx-delete-filter-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.anx-delete-filter-input:focus {
  border-color: rgba(248, 113, 113, 0.45);
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.12);
}

.anx-delete-filter-input:disabled {
  opacity: 0.45;
}

.anx-delete-filter-hint {
  margin: 0 0.5rem 0.45rem;
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.5);
}

.anx-delete-filter-hint.hidden {
  display: none !important;
}

.anx-delete-item.is-hidden {
  display: none !important;
}

.anx-delete-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: 14rem;
  overflow-y: auto;
  margin: 0 0.5rem 0.75rem;
  padding: 0.35rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.16);
}

.anx-delete-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.55rem 0.6rem;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.anx-delete-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.anx-delete-item--duplicate {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.28);
}

.anx-delete-item--duplicate:hover {
  background: rgba(248, 113, 113, 0.18);
}

.anx-delete-item-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.05rem 0.35rem;
  border-radius: 0.35rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fecaca;
  background: rgba(248, 113, 113, 0.22);
  vertical-align: middle;
}

.anx-delete-item input {
  margin-top: 0.15rem;
  accent-color: #f87171;
  flex-shrink: 0;
}

.anx-delete-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.anx-delete-item-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.35;
}

.anx-delete-item-meta {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.45);
}

.anx-tag {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
}

.anx-dl-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  padding: 0 0.75rem 0.85rem;
}

.anx-dl {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.anx-dl:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
}

.anx-dl-name {
  font-size: 0.76rem;
  font-weight: 800;
}

.anx-dl-meta {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
}

.anx-dl--muted {
  opacity: 0.92;
}

.app-header-btn {
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.5rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  transition: background 0.15s, border-color 0.15s;
}

.app-header-btn:hover {
  background: rgba(255, 40, 0, 0.22);
  border-color: rgba(255, 120, 80, 0.4);
}

.anx-shell::after {
  opacity: 0.06;
}

.anx-page--pro {
  max-width: 42rem;
}

.anx-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
}

.anx-tab {
  flex-shrink: 0;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.anx-tab:hover {
  background: rgba(255, 255, 255, 0.1);
}

.anx-tab.active {
  background: linear-gradient(145deg, rgba(255, 107, 74, 0.35), rgba(220, 38, 38, 0.22));
  border-color: rgba(255, 107, 74, 0.55);
  color: #fff;
}

.anx-tab--danger {
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.32);
}

.anx-tab--danger.active {
  background: linear-gradient(145deg, rgba(248, 113, 113, 0.35), rgba(185, 28, 28, 0.28));
  border-color: rgba(248, 113, 113, 0.55);
  color: #fff;
}

.anx-tab-panel.hidden {
  display: none !important;
}

.anx-panel-intro {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.68);
}

.anx-flow {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.anx-flow-step {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}

.anx-flow-step--active {
  color: rgba(255, 255, 255, 0.92);
}

.anx-flow-num {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
}

.anx-flow-step--active .anx-flow-num {
  background: linear-gradient(145deg, #ff6b4a, #dc2626);
  color: #fff;
}

.anx-flow-text strong {
  font-weight: 700;
  color: inherit;
}

.anx-prep {
  margin-top: 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.anx-prep > summary {
  cursor: pointer;
  padding: 0.65rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
  list-style: none;
}

.anx-prep > summary::-webkit-details-marker {
  display: none;
}

.anx-prep > summary::after {
  content: "▾";
  float: right;
  opacity: 0.55;
}

.anx-prep[open] > summary::after {
  transform: rotate(180deg);
}

.anx-prep-body {
  padding: 0 0.85rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.anx-action-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.anx-action-card--block {
  flex-direction: column;
  align-items: stretch;
  margin-bottom: 0.75rem;
}

.anx-action-card--block .anx-action-card-btn {
  align-self: flex-start;
}

.anx-action-card-text {
  min-width: 0;
  flex: 1;
}

.anx-action-card-title {
  margin: 0 0 0.2rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.anx-action-card-hint {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.52);
}

.anx-delete-intro {
  margin-bottom: 0.65rem;
}

.anx-action-card-btn {
  flex-shrink: 0;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.anx-action-card-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
}

.anx-action-card-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.anx-action-card-btn--ok {
  border-color: rgba(110, 231, 183, 0.55);
  background: rgba(16, 185, 129, 0.22);
  color: #a7f3d0;
}

.anx-stock-status {
  margin: 0.45rem 0 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.48);
  min-height: 1.1em;
}

.anx-stock-status--idle {
  color: rgba(255, 255, 255, 0.58);
}

.anx-stock-status--ok {
  color: #6ee7b7;
  font-weight: 700;
}

.anx-action-card--stock-ok {
  border-color: rgba(110, 231, 183, 0.35);
  background: rgba(16, 185, 129, 0.08);
}

.anx-settings-block {
  margin-bottom: 1.25rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.anx-settings-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.anx-settings-heading {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
}

.anx-inline-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
}

.anx-inline-sep {
  color: rgba(255, 255, 255, 0.28);
}

.anx-link-action {
  padding: 0;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.anx-link-action:hover:not(:disabled) {
  color: #fff;
}

.anx-link-action:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.anx-link-action--danger {
  color: #fca5a5;
}

.anx-mais-block {
  margin-bottom: 0.65rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.anx-mais-block > summary {
  cursor: pointer;
  padding: 0.7rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  list-style: none;
}

.anx-mais-block > summary::-webkit-details-marker {
  display: none;
}

.anx-mais-block > summary::after {
  content: "▾";
  float: right;
  opacity: 0.55;
}

.anx-mais-block[open] > summary::after {
  transform: rotate(180deg);
}

.anx-mais-block > .anx-action-card-hint,
.anx-mais-block > .anx-drawer-text,
.anx-mais-block > .anx-delete-store,
.anx-mais-block > .anx-row-btn,
.anx-mais-block > .anx-config,
.anx-mais-block > .anx-delete-toolbar,
.anx-mais-block > .anx-delete-filter,
.anx-mais-block > .anx-delete-filter-hint,
.anx-mais-block > .anx-delete-list,
.anx-mais-block > .anx-form-actions {
  margin-left: 0.85rem;
  margin-right: 0.85rem;
}

.anx-mais-block > .anx-form-actions,
.anx-mais-block > .anx-delete-list {
  margin-bottom: 0.85rem;
}

.anx-link-action--ok {
  color: #6ee7b7 !important;
  font-weight: 800;
}

.anx-form-grid {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.anx-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.anx-field-textarea {
  min-height: 4.5rem;
  resize: vertical;
  line-height: 1.45;
}

.anx-field-hint {
  margin: -0.15rem 0 0.35rem;
  font-size: 0.68rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.48);
}

.anx-copy-layout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 720px) {
  .anx-copy-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 1rem;
    align-items: start;
  }
}

.anx-chat {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 18rem;
}

.anx-chat-hint {
  margin: 0.25rem 0 0;
  font-size: 0.7rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.5);
}

.anx-chat-log {
  flex: 1;
  min-height: 8rem;
  max-height: 14rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.35rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.04);
}

.anx-chat-msg {
  max-width: 92%;
  padding: 0.5rem 0.65rem;
  border-radius: 0.75rem;
  font-size: 0.74rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

.anx-chat-msg--user {
  align-self: flex-end;
  background: rgba(255, 107, 74, 0.22);
  border: 1px solid rgba(255, 107, 74, 0.35);
}

.anx-chat-msg--assistant {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.anx-chat-form {
  display: flex;
  gap: 0.45rem;
}

.anx-chat-form .anx-field-input {
  flex: 1;
}

.anx-chat-preview {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.anx-delete-panel--tab {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Guia visual — instalar F7 no Windows (setas) */
.f7-install-help {
  margin-top: 0;
  border-radius: 0.75rem;
  border: 1px solid rgba(251, 191, 36, 0.3);
  background: rgba(15, 23, 42, 0.4);
  overflow: hidden;
}

.f7-install-help-summary {
  cursor: pointer;
  padding: 0.55rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(253, 230, 138, 0.92);
  list-style: none;
  user-select: none;
}

.f7-install-help-summary::-webkit-details-marker {
  display: none;
}

.f7-install-help-summary::before {
  content: "▸ ";
  display: inline-block;
  transition: transform 0.15s ease;
}

.f7-install-help[open] .f7-install-help-summary::before {
  transform: rotate(90deg);
}

.f7-install-help-body {
  padding: 0 1rem 1rem;
  border-top: 1px solid rgba(251, 191, 36, 0.2);
}

.f7-install-help-intro,
.f7-install-help-foot {
  margin: 0.75rem 0 0;
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

.f7-install-help-foot {
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.f7-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.65rem;
}

@media (max-width: 720px) {
  .f7-guide-grid {
    grid-template-columns: 1fr;
  }
}

.f7-guide-card {
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.f7-guide-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
}

.f7-guide-num {
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  font-size: 0.68rem;
  background: linear-gradient(135deg, #ee2400, #ff6b4a);
  color: #fff;
}

.f7-guide-text {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

.f7-guide-text--after {
  margin-top: 0.45rem;
  margin-bottom: 0;
}

.f7-guide-steps {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.f7-mock {
  position: relative;
  border-radius: 0.55rem;
  overflow: visible;
  min-height: 5.5rem;
}

.f7-mock--browser {
  padding: 0.55rem;
  background: #e8eaed;
}

.f7-mock-browser-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.55rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #dadce0;
  font-size: 0.62rem;
  color: #202124;
  font-family: "Segoe UI", system-ui, sans-serif;
}

.f7-mock-browser-url strong {
  color: #1a73e8;
}

.f7-mock--dialog {
  padding: 0.65rem 0.75rem 0.75rem;
  background: #fff;
  color: #1f1f1f;
  font-family: "Segoe UI", system-ui, sans-serif;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.f7-mock-dialog-title {
  margin: 0 0 0.35rem;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.35;
}

.f7-mock-dialog-body {
  margin: 0 0 0.55rem;
  font-size: 0.55rem;
  line-height: 1.4;
  color: #444;
}

.f7-mock-dialog-actions {
  display: flex;
  justify-content: flex-start;
}

.f7-mock-btn {
  display: inline-block;
  padding: 0.25rem 0.85rem;
  border-radius: 0.25rem;
  font-size: 0.58rem;
  font-weight: 600;
}

.f7-mock-btn--primary {
  background: #107c10;
  color: #fff;
  outline: 2px solid #ee2400;
  outline-offset: 2px;
}

.f7-mock--props {
  padding: 0.65rem 0.75rem;
  background: #f3f3f3;
  color: #1f1f1f;
  font-family: "Segoe UI", system-ui, sans-serif;
  border: 1px solid #ccc;
}

.f7-mock-props-title {
  font-size: 0.58rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.f7-mock-check {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.58rem;
  outline: 2px solid #ee2400;
  outline-offset: 3px;
  width: fit-content;
  padding: 0.15rem;
}

.f7-mock-props-hint {
  margin: 0.35rem 0 0;
  font-size: 0.52rem;
  color: #666;
}

.f7-mock--site {
  padding: 0.45rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.f7-mock-site-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.5rem;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 0.35rem;
}

.f7-mock-site-row--highlight {
  color: #fde68a;
  font-weight: 700;
}

.f7-mock-site-row--card {
  margin-top: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  outline: 2px solid #ee2400;
  outline-offset: 1px;
}

.f7-mock-dl {
  color: #ff6b4a;
  font-weight: 800;
}

.f7-guide-arrow {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  color: #ee2400;
  pointer-events: none;
  z-index: 2;
  animation: f7GuidePulse 1.4s ease-in-out infinite;
}

.f7-guide-arrow span {
  font-size: 0.52rem;
  font-weight: 800;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  color: #fecaca;
}

.f7-guide-arrow--down-right {
  right: 0.35rem;
  top: 0.15rem;
}

.f7-guide-arrow--on-ok {
  left: 0.5rem;
  bottom: -0.15rem;
}

.f7-guide-arrow--on-check {
  right: -0.15rem;
  top: 50%;
  transform: translateY(-50%);
  animation-name: f7GuidePulseSide;
}

.f7-guide-arrow--inline {
  position: static;
  animation: none;
}

@keyframes f7GuidePulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

@keyframes f7GuidePulseSide {
  0%,
  100% {
    transform: translateY(-50%) translateX(0);
  }
  50% {
    transform: translateY(-50%) translateX(-4px);
  }
}

/* Reportar problema — portal */
.f7-support-fab {
  position: fixed;
  left: max(0.75rem, env(safe-area-inset-left));
  bottom: max(5.25rem, calc(env(safe-area-inset-bottom) + 4.5rem));
  z-index: 115;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.92));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.55);
  cursor: pointer;
}

.f7-support-fab svg {
  width: 1.15rem;
  height: 1.15rem;
  color: #fda4af;
}

.f7-support-fab:hover {
  border-color: rgba(253, 164, 175, 0.55);
  transform: translateY(-1px);
}

.f7-support-dialog {
  width: min(24rem, calc(100vw - 1.5rem));
  max-height: calc(100vh - 2rem);
  margin: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  background: #0f172a;
  color: #e2e8f0;
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.65);
}

.f7-support-dialog::backdrop {
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(4px);
}

.f7-support-form {
  padding: 1rem 1.1rem 1.1rem;
}

.f7-support-form__head {
  position: relative;
  margin-bottom: 0.85rem;
  padding-right: 2rem;
}

.f7-support-form__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.f7-support-form__sub {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(226, 232, 240, 0.72);
}

.f7-support-form__close {
  position: absolute;
  top: 0;
  right: 0;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: #94a3b8;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.f7-support-form__label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(226, 232, 240, 0.88);
}

.f7-support-form__input,
.f7-support-form__textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 0.65rem;
  background: rgba(15, 23, 42, 0.85);
  color: #f8fafc;
  font: inherit;
  font-weight: 500;
}

.f7-support-form__textarea {
  resize: vertical;
  min-height: 6.5rem;
}

.f7-support-form__msg {
  min-height: 1.25rem;
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  color: #fda4af;
}

.f7-support-form__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.f7-support-form__btn {
  padding: 0.55rem 0.9rem;
  border-radius: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.f7-support-form__btn--ghost {
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: transparent;
  color: #cbd5e1;
}

.f7-support-form__btn--primary {
  border: 0;
  background: linear-gradient(145deg, #e11d48, #be123c);
  color: #fff;
}

html.f7-mobile .f7-support-fab__label {
  display: none;
}

html.f7-mobile .f7-support-fab {
  padding: 0.6rem;
  border-radius: 999px;
}

/* —— Hub único + instalador timeline —— */
.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;
}

.f7-launch-hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.15rem 1.25rem;
  border: 1.5px solid rgba(255, 200, 120, 0.55);
  border-radius: 1.25rem;
  background:
    linear-gradient(135deg, rgba(255, 90, 40, 0.55) 0%, rgba(220, 38, 38, 0.45) 40%, rgba(20, 80, 45, 0.65) 100%);
  box-shadow:
    0 24px 48px -16px rgba(255, 40, 0, 0.55),
    0 0 40px -8px rgba(255, 180, 60, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.f7-launch-hero:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 230, 180, 0.85);
  box-shadow:
    0 32px 56px -14px rgba(255, 40, 0, 0.65),
    0 0 48px -6px rgba(255, 200, 80, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.f7-launch-hero__glow {
  position: absolute;
  inset: -40% auto auto -20%;
  width: 55%;
  height: 180%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 65%);
  pointer-events: none;
  animation: f7-launch-shimmer 4s ease-in-out infinite;
}

@keyframes f7-launch-shimmer {
  0%,
  100% {
    opacity: 0.35;
    transform: translateX(0);
  }
  50% {
    opacity: 0.75;
    transform: translateX(12%);
  }
}

.f7-launch-hero__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.f7-launch-hero__icon svg {
  width: 1.65rem;
  height: 1.65rem;
}

.f7-launch-hero__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.f7-launch-hero__text strong {
  font-size: clamp(1.12rem, 1rem + 0.35vw, 1.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.f7-launch-hero__text span {
  font-size: clamp(0.82rem, 0.75rem + 0.2vw, 0.92rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}

.f7-launch-hero__chev {
  font-size: 1.75rem;
  font-weight: 300;
  opacity: 0.85;
}

.f7-launch-hub-dialog {
  padding: 0;
  border: 0;
  max-width: min(42rem, calc(100vw - 1.5rem));
  width: 100%;
  background: transparent;
  color: #fff;
}

.f7-launch-hub-dialog::backdrop {
  background: rgba(2, 12, 8, 0.72);
  backdrop-filter: blur(8px);
}

.f7-launch-hub {
  padding: 1.1rem 1.15rem 1.25rem;
  border-radius: 1.35rem;
  background:
    linear-gradient(165deg, rgba(12, 48, 28, 0.97) 0%, rgba(8, 28, 18, 0.98) 100%);
  border: 1px solid rgba(255, 180, 100, 0.35);
  box-shadow:
    0 32px 64px -20px rgba(0, 0, 0, 0.75),
    0 0 60px -20px rgba(255, 80, 40, 0.35);
}

.f7-launch-hub__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.f7-launch-hub__kicker {
  margin: 0;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffb199;
}

.f7-launch-hub__title {
  margin: 0.25rem 0 0;
  font-size: 1.25rem;
  font-weight: 800;
}

.f7-launch-hub__close {
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.f7-launch-hub__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 540px) {
  .f7-launch-hub__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.f7-launch-hub__grid .app-home-featured {
  min-height: 4.5rem;
}

.app-dock-btn--primary:not(.active) {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
}

.app-dock-btn--hub {
  margin-top: -0.85rem;
  min-width: 3.85rem;
  max-width: 3.85rem;
  min-height: 3.85rem;
  padding: 0.5rem 0.35rem 0.4rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 28px -12px rgba(0, 0, 0, 0.65);
}

.app-dock-btn--hub:hover:not(.active) {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(110, 231, 183, 0.32);
  box-shadow:
    0 0 18px -8px rgba(16, 185, 129, 0.35),
    0 14px 28px -12px rgba(0, 0, 0, 0.65);
}

.app-dock-btn--hub::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 0%, rgba(167, 243, 208, 0.22), transparent 65%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.app-dock-btn--hub.active::after {
  opacity: 0.85;
}

.app-dock-btn--hub svg {
  width: 1.55rem;
  height: 1.55rem;
}

.app-dock-btn--hub .app-dock-label {
  font-weight: 800;
  letter-spacing: 0.04em;
}

body.app-cadastro-view:not(.f7-dock-hidden) #panel-cadastro main {
  padding-bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
}

body.app-cadastro-view.f7-dock-hidden #panel-cadastro main {
  padding-bottom: 2.75rem;
}

@media (prefers-reduced-motion: reduce) {
  .app-dock,
  .app-dock-btn {
    transition: none;
  }

  .app-dock--hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(calc(100% + 1.25rem));
  }
}

.f7-install-panel--neo {
  background:
    linear-gradient(165deg, rgba(0, 0, 0, 0.45) 0%, rgba(10, 40, 24, 0.55) 100%);
  border: 1px solid rgba(110, 231, 183, 0.28);
  box-shadow:
    0 24px 48px -20px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 40px -16px rgba(16, 185, 129, 0.25);
}

.f7-install-kicker {
  margin: 0;
  font-size: clamp(0.65rem, 0.55rem + 0.25vw, 0.74rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(110, 231, 183, 0.95);
}

.f7-install-badge--neon {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(52, 211, 153, 0.45);
  color: #a7f3d0;
  box-shadow: 0 0 20px -6px rgba(16, 185, 129, 0.55);
}

.f7-install-timeline {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0 0 0 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.f7-install-timeline::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 80, 40, 0.8), rgba(52, 211, 153, 0.7), rgba(59, 130, 246, 0.6));
  border-radius: 2px;
}

.f7-install-timeline__step {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.85rem;
  padding: 0.85rem 0;
  position: relative;
}

.f7-install-timeline__idx {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.5);
}

.f7-install-timeline__step--primary .f7-install-timeline__idx {
  background: linear-gradient(145deg, #ff5028, #dc2626);
  border-color: rgba(255, 200, 150, 0.5);
  box-shadow: 0 8px 24px -8px rgba(255, 40, 0, 0.65);
}

.f7-install-timeline__step--warn .f7-install-timeline__idx {
  background: linear-gradient(145deg, #fbbf24, #d97706);
}

.f7-install-timeline__step--done .f7-install-timeline__idx {
  background: linear-gradient(145deg, #34d399, #059669);
}

.f7-install-timeline__body strong {
  display: block;
  font-size: clamp(0.9rem, 0.82rem + 0.25vw, 0.98rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.2rem;
}

.f7-install-timeline__body p {
  margin: 0;
  font-size: clamp(0.8rem, 0.72rem + 0.2vw, 0.88rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.f7-install-timeline__cta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  margin-top: 0.65rem;
  padding: 0.65rem 1rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(255, 80, 40, 0.9), rgba(220, 38, 38, 0.85));
  border: 1px solid rgba(255, 200, 150, 0.45);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 28px -10px rgba(255, 40, 0, 0.65);
  transition: transform 0.15s, box-shadow 0.15s;
}

.f7-install-timeline__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -10px rgba(255, 40, 0, 0.75);
}

.f7-install-timeline__cta svg {
  width: 1.1rem;
  height: 1.1rem;
}

.f7-install-timeline__meta {
  font-size: 0.65rem;
  font-weight: 700;
  opacity: 0.85;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
}

.f7-install-simple {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.f7-install-timeline__cta--hero {
  font-size: 1.05rem;
  padding: 1rem 1.25rem;
  justify-content: center;
}

.f7-install-timeline__cta--inline {
  display: inline-flex;
  margin-top: 0.65rem;
  font-size: 0.85rem;
  padding: 0.55rem 1rem;
}

.f7-install-simple-steps {
  margin: 0;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  line-height: 1.45;
}

.f7-install-simple-note {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.f7-install-section .f7-action-hint {
  color: rgba(255, 255, 255, 0.78);
}
.f7-install-section .f7-action-hint strong {
  color: rgba(255, 255, 255, 0.95);
}
.f7-install-section .f7-action-progress {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(15, 23, 42, 0.55);
}
.f7-install-section .f7-action-progress__title {
  color: rgba(255, 255, 255, 0.55);
}
.f7-install-section .f7-action-progress__step {
  color: rgba(255, 255, 255, 0.65);
}
.f7-install-section .f7-action-progress__step--active {
  color: rgba(255, 255, 255, 0.95);
}
.f7-install-section .f7-action-progress__step--done {
  color: #6ee7b7;
}
.f7-install-section .f7-action-progress__foot {
  color: rgba(255, 255, 255, 0.9);
}
.f7-install-section .f7-action-progress--ok {
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(6, 78, 59, 0.35);
}
.f7-install-section .f7-action-progress--ok .f7-action-progress__foot {
  color: #6ee7b7;
}
.f7-install-section .f7-action-progress--err {
  border-color: rgba(244, 63, 94, 0.45);
  background: rgba(127, 29, 29, 0.35);
}
.f7-install-section .f7-action-progress--err .f7-action-progress__foot {
  color: #fda4af;
}

.f7-guide-grid--compact {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .f7-guide-grid--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.portal-home-lead {
  color: rgba(255, 255, 255, 0.92);
}

.portal-home-kicker {
  color: #ffd4a8;
  text-shadow: 0 0 22px rgba(255, 120, 60, 0.55);
}

