/* Virtuos Pass — consumer health wallet. The functional form layer stays in styles.css. */
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('/static/pass/fonts/montserrat-latin.woff2') format('woff2');
}
:root {
  color-scheme: light;
  --pp-navy: #071b2e;
  --pp-blue: #075b8c;
  --pp-cyan: #4dd0ff;
  --pp-bg: #f5f8fa;
  --pp-card: #fff;
  --pp-ink: #121820;
  --pp-muted: #536477;
  --pp-line: #dce5ec;
  --pp-radius: 22px;
  --vp-accent: #00b4ff;
  --vp-soft: #e5f7ff;
  --vp-nav-height: 76px;
  --vp-keyboard-offset: 0px;
  --pp-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-bottom: 130px; }
body { font-size: 1rem; line-height: 1.5; background: var(--pp-bg); overflow-wrap: anywhere; }
[hidden] { display: none !important; }
button, a, input, textarea, select, summary { touch-action: manipulation; }
button { cursor: pointer; }
button, input, textarea, select { min-width: 0; }
button, a, summary { -webkit-tap-highlight-color: rgba(0, 180, 255, .12); }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid #0579b4; outline-offset: 4px;
}
input, textarea, select { font-size: 1rem; min-height: 48px; line-height: 1.5; border-radius: 14px; background: #fff; padding: 12px 14px; }
textarea { min-height: 112px; }
img { max-width: 100%; }
h1, h2, h3, .vp-section-heading { font-family: Montserrat, var(--pp-font); color: var(--pp-navy); letter-spacing: -.035em; }
.vp-icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.vp-unisciente-mark { width: 34px; height: 22px; flex: none; object-fit: contain; mix-blend-mode: multiply; }
.vp-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; clip: rect(0,0,0,0); overflow: hidden; white-space: nowrap; border: 0; }
.pp-main { width: 100%; max-width: 704px; margin: 0 auto; padding: 16px 16px calc(var(--vp-nav-height) + 24px + env(safe-area-inset-bottom)); }
.pp-view { min-width: 0; }
#ppApp { background: linear-gradient(180deg, #fcfeff, var(--pp-bg) 80%); }
.pp-topbar { position: sticky; top: 0; z-index: 40; width: 100%; padding: env(safe-area-inset-top) 0 0; background: #fcfeff; border-bottom: 0; box-shadow: none; backdrop-filter: none; }
.vp-topbar-inner { width: 100%; max-width: 704px; min-height: 64px; margin: auto; padding: 8px 16px; display: flex; align-items: center; gap: 8px; }
.vp-brand { min-height: 48px; border: 0; padding: 0; display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--pp-navy); text-decoration: none; }
.vp-brand-logo { display: inline-flex; align-items: center; gap: 8px; width: auto; height: 36px; flex: none; background: transparent; }
.vp-brand-symbol { display: block; width: 34px; height: 34px; flex: none; }
.vp-brand-wordmark { display: block; width: 126px; height: auto; aspect-ratio: 769 / 94; flex: none; }
.vp-brand-defs { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.vp-brand-pass { white-space: nowrap; flex: none; color: #057ca7; font-family: Montserrat, var(--pp-font); font-size: 1.2rem; font-weight: 600; line-height: 1; letter-spacing: -.035em; transform: translateY(1px); }
.vp-avatar { margin-left: auto; width: 44px; min-width: 44px; height: 44px; border-radius: 50%; border: 0; background: #c9f3ff; color: var(--pp-navy); display: grid; place-items: center; font-size: .875rem; font-weight: 700; }
.vp-icon-button { width: 44px; min-width: 44px; height: 48px; border: 0; background: transparent; display: grid; place-items: center; color: var(--pp-navy); border-radius: 12px; }
.vp-welcome { margin: 0 0 18px; }
.vp-date { margin: 0 0 4px; text-transform: uppercase; color: var(--pp-muted); font-size: .6875rem; font-weight: 500; letter-spacing: .015em; }
.pp-greeting { margin: 0; font-size: clamp(1.65rem, 7vw, 1.9rem); line-height: 1.2; font-weight: 700; }
.vp-welcome > p:last-child { margin: 4px 0 0; color: var(--pp-muted); font-size: .9375rem; line-height: 1.4; }
.vp-page-title { margin: 0 0 18px; font-size: clamp(1.55rem, 5.6vw, 1.9rem); line-height: 1.3; font-weight: 700; }
.vp-page-description { margin: -8px 0 22px; color: var(--pp-muted); font-size: 1rem; }
.vp-section-heading { margin: 18px 0 10px; font-size: 1.125rem; line-height: 1.35; font-weight: 700; }
.vp-wallet, .pp-card.vp-wallet { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; width: 100%; min-width: 0; border: 1px solid #125472; border-radius: 20px; padding: 20px; color: #fff; text-align: left; background: radial-gradient(ellipse at 98% 0%, rgba(0,180,255,.19), transparent 44%), linear-gradient(140deg, #103d58, #031727 72%); box-shadow: 0 4px 9px rgba(7, 27, 46, .15); }
.vp-wallet::before { content: ''; position: absolute; top: 0; right: 0; width: 62%; height: 2px; background: linear-gradient(90deg, transparent, #4dd0ff); opacity: .85; pointer-events: none; }
.vp-wallet::after { content: ''; position: absolute; z-index: -1; inset: 0; background: url('/static/pass/wallet-waves.svg') center bottom / 100% 100% no-repeat; pointer-events: none; }
.vp-home-wallet { min-height: 174px; padding: 18px; }
.vp-wallet-mark { position: absolute; top: 20px; right: 20px; width: 64px; height: 64px; object-fit: contain; pointer-events: none; }
.vp-wallet > .vp-wallet-description, .vp-wallet #ppIdentityName, .vp-wallet #ppIdentityRecord { max-width: calc(100% - 80px); }
.vp-wallet-main { display: grid; grid-template-columns: minmax(0, 1fr) 64px; align-items: start; gap: 14px; width: 100%; min-width: 0; }
.vp-wallet-copy { display: flex; flex-direction: column; min-width: 0; gap: 3px; }
.vp-home-wallet .vp-wallet-mark { position: static; width: 64px; height: 64px; }
.vp-home-wallet #ppHomeIdentityName { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 0; color: #fff; font-family: Montserrat, var(--pp-font); font-size: clamp(1.25rem, 5.8vw, 1.55rem); font-weight: 700; line-height: 1.25; letter-spacing: -.035em; }
.vp-home-wallet .vp-wallet-description { font-size: .875rem; font-style: italic; }
.vp-eyebrow { font-size: .65rem; font-weight: 600; letter-spacing: .025em; text-transform: uppercase; color: #e6f7ff; margin-bottom: 8px; }
.vp-wallet > strong, .vp-wallet h2 { display: block; max-width: 100%; color: #fff; font-family: Montserrat, var(--pp-font); font-size: clamp(1.3rem, 5.5vw, 1.8rem); font-weight: 700; line-height: 1.3; letter-spacing: -.035em; margin: 0 0 5px; }
.vp-wallet-description { color: #e1ecf5; font-size: .95rem; }
.vp-wallet-footer { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; font-size: .9375rem; font-weight: 600; color: #72e5f5; }
.vp-wallet-note { font-size: .875rem; color: #e0edf5; margin: 12px 0 6px; }
.pp-identity-card #ppIdentityRecord { font-size: .75rem; color: #c9dce9; margin-top: 6px; }
.vp-wallet-share { color: #83e6ff; background: transparent; border: 0; min-height: 48px; display: inline-flex; align-items: center; gap: 10px; align-self: flex-end; padding: 8px 0 0 8px; font-size: .95rem; font-weight: 600; }
.vp-quick-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: 12px; }
.vp-quick-action { min-height: 58px; padding: 10px 12px; display: flex; align-items: center; justify-content: center; gap: 10px; text-align: left; border: 1px solid #d3dfe8; border-radius: 14px; color: var(--pp-navy); background: #fff; font-size: .8125rem; font-weight: 600; line-height: 1.3; }
.vp-quick-action .vp-icon { width: 27px; height: 27px; }
.pp-card { padding: 20px; margin-bottom: 14px; border: 1px solid var(--pp-line); border-radius: 20px; box-shadow: 0 2px 4px rgba(7, 27, 46, .025); background: #fff; }
.pp-card-title { font-size: 1rem; line-height: 1.4; font-weight: 650; color: var(--pp-navy); letter-spacing: -.01em; }
.pp-muted, .pp-empty { color: var(--pp-muted); font-size: .9375rem; line-height: 1.55; }
.pp-btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 12px 17px; border-radius: 14px; font-size: .9375rem; font-weight: 600; line-height: 1.4; text-decoration: none; max-width: 100%; }
.pp-btn-primary { background: var(--pp-navy); color: #fff; border: 1px solid var(--pp-navy); }
.pp-btn-primary:hover { background: #123c57; }
.pp-btn-soft { background: #eef5f8; color: var(--pp-navy); border: 1px solid #dce7ee; }
.pp-full { display: flex; }
.pp-link-btn { min-height: 44px; color: #075b8c; font-size: .9375rem; }
.pp-today-card { padding: 14px; border-radius: 16px; margin-bottom: 0; }
.pp-today-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; }
/* Grid neutralizes the legacy flex-basis:100% that forced the action into a second column. */
.pp-today-item { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; min-width: 0; width: 100%; margin: 0; padding: 16px 0 0; border: 0; border-top: 1px solid var(--pp-line); gap: 10px; font-size: .9375rem; }
.pp-today-item:first-child { padding-top: 0; border-top: 0; }
.pp-today-item strong { color: var(--pp-navy); font-size: .9375rem; font-weight: 650; line-height: 1.35; }
.pp-today-item small { color: var(--pp-muted); font-size: .8125rem; line-height: 1.4; margin-top: 3px; }
.vp-appointment-heading { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: start; gap: 12px; width: 100%; min-width: 0; }
.vp-appointment-copy { min-width: 0; padding-left: 12px; border-left: 1px solid var(--pp-line); }
.vp-date-badge { min-width: 0; display: grid; justify-items: center; background: linear-gradient(145deg, #d9f6ff, #b7f0ff); color: var(--pp-navy); border-radius: 10px; padding: 7px; line-height: 1.1; }
.vp-date-badge b { font-size: 1.4rem; font-weight: 650; }
.vp-date-badge span { font-size: .7rem; text-transform: uppercase; margin-top: 4px; }
.pp-today-consult > .pp-btn, .pp-today-consult > .pp-chip-btn { width: 100%; max-width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; white-space: normal; border-radius: 10px; }
.pp-today-consult { flex-wrap: initial; background: transparent; border-radius: 0; }
.pp-today-consult > div { min-width: 0; }
.pp-today-consult .vp-appointment-status { font-size: .75rem; color: #28546b; }
.vp-ask-shortcut { margin-top: 12px; margin-bottom: 0; padding: 13px 14px; border-radius: 15px; display: flex; align-items: center; gap: 12px; background: #f1faff; border-color: #d3eaf4; width: 100%; min-width: 0; text-align: left; }
.vp-ask-shortcut > span { flex: 1; min-width: 0; }
.pp-ask-card strong { font-size: .875rem; line-height: 1.35; }
.pp-ask-card small { display: block; font-size: .75rem; line-height: 1.4; color: var(--pp-muted); margin-top: 3px; }
.vp-segments { display: flex; gap: 4px; padding: 4px; background: #e9eff4; border-radius: 16px; margin: 18px 0; }
.vp-segments button { flex: 1; border: 0; border-radius: 12px; background: transparent; color: var(--pp-muted); min-height: 44px; padding: 10px 6px; font-size: .875rem; font-weight: 600; }
.vp-segments button[aria-current="page"] { background: #b8efff; color: var(--pp-navy); }
.vp-summary-row { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; background: #fff; padding: 17px; margin-bottom: 12px; border-radius: 19px; border: 1px solid var(--pp-line); color: var(--pp-navy); }
.vp-summary-row > span { flex: 1; min-width: 0; }
.vp-summary-row strong { display: block; font-size: 1rem; font-weight: 650; line-height: 1.35; }
.vp-summary-row span > span, .vp-summary-row small { display: block; color: var(--pp-muted); font-size: .875rem; line-height: 1.5; margin-top: 3px; }
.vp-summary-row small { font-size: .75rem; }
.vp-summary-row > .vp-icon:last-child { width: 18px; }
.vp-summary { padding: 0; overflow: hidden; }
.vp-summary > summary { list-style: none; min-height: 60px; display: flex; align-items: center; gap: 14px; padding: 17px; cursor: pointer; color: var(--pp-navy); font-weight: 650; font-size: 1rem; }
.vp-summary > summary::-webkit-details-marker { display: none; }
.vp-summary > summary > span { flex: 1; }
.vp-summary > summary small { display: block; font-size: .8125rem; color: var(--pp-muted); font-weight: 400; margin-top: 3px; }
.vp-summary[open] > summary { border-bottom: 1px solid var(--pp-line); }
.vp-summary[open] > summary > .vp-icon:last-child { transform: rotate(90deg); }
.vp-summary > :not(summary) { margin: 0; padding: 16px 18px; }
.vp-summary > .pp-identity-meta { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; color: var(--pp-muted); font-size: .875rem; }
.vp-summary .pp-chip { background: var(--vp-soft); color: var(--pp-navy); }
.pp-chip { font-size: .8125rem; line-height: 1.45; }
.pp-chip-btn { min-height: 44px; padding: 10px 12px; }
.pp-chip-ok { background: #e7f4ec; color: #21583d; }
.vp-privacy-note, .vp-source-note { display: flex; align-items: flex-start; justify-content: center; gap: 10px; padding: 13px 15px; margin: 18px 0; border-radius: 15px; background: var(--vp-soft); color: #173e57; font-size: .875rem; }
.vp-privacy-note .vp-icon, .vp-source-note .vp-icon { width: 20px; height: 20px; }
.vp-account-actions { display: grid; gap: 14px; padding: 4px 0; }
.vp-account-actions a { padding: 10px; text-align: center; font-size: .875rem; color: #075b8c; }
.pp-switch { align-items: flex-start; gap: 10px; }
.pp-switch input { width: 22px; height: 22px; min-height: 22px; flex: none; accent-color: var(--pp-blue); margin-top: 3px; }
.pp-tabbar { left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 6px max(8px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); gap: 4px; border: 0; border-top: 1px solid #214358; border-radius: 0; background: #071b2e; box-shadow: 0 -3px 14px rgba(7, 27, 46, .12); z-index: 60; max-width: 704px; margin: 0 auto; }
.pp-tab { min-width: 0; min-height: 56px; padding: 4px 1px; color: #dbe9f2; gap: 3px; border-radius: 14px; font-weight: 500; background: transparent; justify-content: center; }
.pp-tab .vp-tab-label { font-size: .6875rem; line-height: 1.2; white-space: nowrap; letter-spacing: -.025em; }
.vp-tab-icon { width: 44px; height: 28px; display: grid; place-items: center; border-radius: 12px; }
.pp-tab.active { color: var(--pp-navy); background: linear-gradient(145deg, #e0faff, #b9effb); font-weight: 700; }
.pp-tab.active .vp-tab-icon { background: transparent; }
.pp-tabbar .pp-tab:focus-visible { outline-color: var(--pp-cyan); outline-offset: 1px; }
.pp-tab .vp-icon { width: 23px; height: 23px; }
.pp-tab .vp-unisciente-mark { width: 29px; height: 20px; }
.pp-tab[data-nav="ask"] .vp-tab-icon { background: #f5f8fa; border-radius: 10px; }
.vp-assistant-heading { margin: 2px 0 18px; }
.vp-assistant-heading h1 { font-size: 1.55rem; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0; }
.vp-assistant-heading p { text-align: center; color: var(--pp-muted); margin: 8px 0 0; font-size: .9375rem; }
.pp-view[data-view="ask"].active { min-height: calc(100dvh - 240px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); display: flex; flex-direction: column; }
.vp-source-note { margin: 0 0 18px; justify-content: flex-start; font-size: .875rem; }
.pp-ask-thread { display: flex; flex-direction: column; gap: 14px; margin: 0 0 16px; flex: 1; }
.pp-ask-thread:empty::before { content: 'Encontre informações nos seus exames, medicamentos e consultas. A Unisciente mostra as fontes disponíveis e avisa quando não encontra uma resposta.'; color: var(--pp-muted); padding: 18px; background: #fff; border: 1px solid var(--pp-line); border-radius: 20px; font-size: 1rem; line-height: 1.6; }
.pp-bubble { max-width: 96%; margin: 0; padding: 17px; line-height: 1.6; font-size: 1rem; overflow-wrap: anywhere; }
.pp-bubble-user { align-self: flex-end; color: var(--pp-navy); background: #dff2ff; border-radius: 20px 20px 5px 20px; }
.pp-bubble-uni { align-self: flex-start; color: var(--pp-ink); background: #fff; border: 1px solid var(--pp-line); border-radius: 20px 20px 20px 5px; box-shadow: 0 2px 5px rgba(7, 27, 46, .025); }
.vp-bubble-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--pp-navy); font-size: .8125rem; font-weight: 650; }
.vp-bubble-brand .vp-unisciente-mark { width: 27px; height: 18px; }
.pp-bubble .pp-chip-list { margin-top: 14px; }
.pp-chip-src { background: #f0f7fb; color: #274a63; border-radius: 10px; padding: 8px 10px; font-size: .8125rem; display: inline-flex; align-items: center; gap: 6px; }
.pp-chip-src .vp-icon { width: 17px; height: 17px; }
.pp-ask-suggest { margin: 0 0 14px; padding: 2px 0 4px; flex-wrap: wrap; overflow: visible; display: flex; gap: 8px; }
.pp-ask-suggest .pp-chip-suggest { font-size: .8125rem; min-height: 44px; padding: 10px 12px; border: 1px solid #cfe4ef; background: #f2faff; color: #173e57; white-space: normal; }
.pp-ask-form { position: sticky; bottom: calc(var(--vp-nav-height) + 15px + env(safe-area-inset-bottom)); width: 100%; margin: auto 0 0; padding: 8px; border: 1px solid var(--pp-line); border-radius: 20px; box-shadow: 0 4px 20px rgba(7, 27, 46, .06); background: #fff; gap: 8px; display: flex; align-items: center; }
.pp-ask-form input { flex: 1; width: 0; min-width: 0; height: 48px; background: #fff; border: 0; box-shadow: none; padding: 10px 8px; font-size: 1rem; }
.pp-ask-form .pp-btn { width: 48px; min-width: 48px; height: 48px; padding: 0; background: var(--pp-cyan); color: var(--pp-navy); border: 0; }
.pp-ask-form input:focus-visible { outline-offset: -3px; }
html[data-vp-keyboard="open"] .pp-tabbar { visibility: hidden; pointer-events: none; }
html[data-vp-keyboard="open"] .pp-ask-form { bottom: calc(var(--vp-keyboard-offset) + 10px); }
.pp-ficha-head h1 { margin: 0 0 8px; }
.pp-ficha-picker { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin: 0 0 12px; }
.pp-ficha-picker select { max-width: 100%; text-overflow: ellipsis; }
.pp-ficha { grid-template-columns: minmax(0, 1fr); }
.pp-ficha-panel { min-width: 0; }
.pp-ficha-panel h2 { margin: 0 0 16px; font-size: 1.1rem; line-height: 1.35; }
.pp-ficha-panel h2, .pp-ficha-panel :is(input, select, textarea), #ppFichaEditor .pp-saved-card {
  scroll-margin-block-start: calc(76px + env(safe-area-inset-top));
}
.pp-ficha-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
.pp-ficha-actions .pp-btn-primary { grid-column: 1 / -1; }
.pp-ficha-actions button:disabled { opacity: .55; cursor: default; }
.pp-ficha-exams { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.pp-ficha-exams .pp-btn { overflow-wrap: normal; }
@media (max-width: 480px) {
  .pp-ficha-exams { grid-template-columns: minmax(0, 1fr); }
}
.pp-scale { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-opt-scale { min-width: 44px; min-height: 48px; padding: 10px; }
.pp-opt { min-height: 48px; font-weight: 500; font-size: .9375rem; }
.pp-opt.selected { background: #ccf1ff; color: var(--pp-navy); border-color: #6bc7eb; box-shadow: none; }
.pp-uni-avatar { animation: none; background: #e5f7ff; box-shadow: none; width: 48px; height: 48px; flex: none; }
.pp-uni-avatar .vp-unisciente-mark { width: 36px; height: 24px; }
.pp-interview { background: #fff; backdrop-filter: none; box-shadow: none; }
.pp-insight { background: #edf9ff; color: var(--pp-navy); }
.pp-timeline-list { padding-left: 20px; border-left: 2px solid #c8dce8; margin-left: 8px; }
.pp-timeline-item { padding: 17px; background: #fff; border: 1px solid var(--pp-line); border-radius: 16px; margin-bottom: 14px; }
.pp-timeline-item strong { font-size: 1rem; }
.pp-timeline-item small, .pp-doc-item small { color: var(--pp-muted); font-size: .875rem; }
.pp-doc-item { padding: 18px; border: 1px solid var(--pp-line); border-radius: 18px; box-shadow: none; background: #fff; }
.pp-doc-item strong { font-size: 1rem; }
.pp-doc-item p, .pp-timeline-item p { font-size: .9375rem; line-height: 1.6; }
.pp-upload-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.pp-qr-card img, .pp-pay-box img { display: block; max-width: min(100%, 260px); height: auto; margin: 0 auto; }
.pp-share-row { gap: 12px; flex-wrap: wrap; font-size: .875rem; }
.pp-doc-picker label { min-height: 48px; font-size: .9375rem; }
.pp-doc-picker input { width: 22px; height: 22px; min-height: 22px; flex: none; }
.pp-identity-block strong, .pp-sub { font-size: .8125rem; }
.vp-notice { padding: 14px; border: 1px solid #cbdce8; border-radius: 14px; color: #274a63; background: #eff7fc; font-size: .875rem; }
.pp-toast { max-width: calc(100vw - 32px); width: max-content; height: auto; top: calc(env(safe-area-inset-top, 0px) + 14px); bottom: auto; border-radius: 14px; font-size: .875rem; line-height: 1.4; } /* topo (como em styles.css): top e bottom juntos esticavam o aviso na tela inteira */
#ppLogin, #ppRegister, #ppActivateView, #ppChangePassView { background: radial-gradient(ellipse at 100% 0, #e1f7ff, transparent 60%), var(--pp-bg); padding: max(24px, env(safe-area-inset-top)) 22px max(28px, env(safe-area-inset-bottom)); }
.pp-auth-hero { color: var(--pp-navy); width: 100%; max-width: 420px; margin: 0 auto 24px; }
.vp-auth-brand { display: flex; align-items: center; gap: 6px; margin: 12px 0 20px; }
.vp-auth-brand .vp-brand-logo { height: 48px; }
.vp-auth-brand .vp-brand-symbol { width: 44px; height: 44px; }
.vp-auth-brand .vp-brand-wordmark { width: 152px; }
.vp-auth-brand .vp-brand-pass { font-size: 1.45rem; }
.pp-auth-hero .pp-eyebrow, .pp-shared-header .pp-eyebrow { color: #41617b; }
.pp-auth-hero h1 { font-size: clamp(1.5rem, 5.7vw, 1.9rem); line-height: 1.35; }
.pp-auth-form { box-shadow: 0 6px 22px rgba(7,27,46,.04); }
.pp-auth-form label { font-size: .875rem; font-weight: 600; color: #364d61; }
.pp-first-hint, .pp-auth-note { color: var(--pp-muted); font-size: .875rem; line-height: 1.55; }
.pp-shared-header { background: #fff; color: var(--pp-navy); border-bottom: 1px solid var(--pp-line); padding: 18px 22px; }
.pp-shared-header .vp-auth-brand { margin: 0 0 6px; }
.pp-shared-content { width: 100%; max-width: 704px; margin: auto; padding: 20px; }
.pp-legal-body { font-size: .9375rem; line-height: 1.65; }
.pp-ro-head .pp-card-title { font-size: 1.25rem; }
.pp-ro-badge { background: #e7f7ff; color: #164c6e; }
.pp-consent-check { font-size: .9375rem; }
.pp-consent-check input { min-height: 22px; }
.pp-paywall-actions { grid-template-columns: 1fr; }
@media (min-width: 620px) {
  .pp-main { padding: 30px 26px calc(var(--vp-nav-height) + 40px + env(safe-area-inset-bottom)); }
  .vp-topbar-inner { padding-left: 26px; padding-right: 26px; }
  .vp-home-wallet { min-height: 188px; padding: 22px; }
  .vp-quick-action { min-height: 68px; font-size: 1rem; }
  .pp-tabbar { left: 16px; right: 16px; bottom: 12px; border: 1px solid #214358; border-radius: 20px; padding: 6px 8px; max-width: 652px; }
  .pp-tab .vp-tab-label { font-size: .8125rem; }
  .pp-paywall-actions { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 359px) {
  .pp-main { padding-left: 14px; padding-right: 14px; }
  .vp-topbar-inner { padding-left: 12px; padding-right: 12px; gap: 4px; }
  .vp-brand-logo { height: 32px; gap: 6px; }
  .vp-brand-symbol { width: 28px; height: 28px; }
  .vp-brand-wordmark { width: 104px; }
  .vp-brand-pass { font-size: 1.0625rem; }
  .vp-wallet-mark { width: 56px; height: 56px; right: 16px; top: 16px; }
  .vp-wallet > .vp-wallet-description, .vp-wallet #ppIdentityName, .vp-wallet #ppIdentityRecord { max-width: calc(100% - 70px); }
  .vp-wallet-main { grid-template-columns: minmax(0, 1fr) 56px; gap: 10px; }
  .vp-home-wallet .vp-wallet-mark { width: 56px; height: 56px; }
  .vp-quick-action { padding: 10px 8px; gap: 7px; font-size: .8125rem; }
  .pp-tabbar { gap: 1px; padding-left: 4px; padding-right: 4px; }
  .pp-tab .vp-tab-label { font-size: .65625rem; letter-spacing: -.035em; }
  .vp-wallet, .pp-card.vp-wallet { padding: 16px; }
  .pp-card { padding: 16px; }
  .pp-today-card { padding: 12px; }
  .vp-appointment-heading { grid-template-columns: 46px minmax(0, 1fr); gap: 10px; }
  .vp-appointment-copy { padding-left: 10px; }
  .vp-summary { padding: 0; }
}
@media (orientation: landscape) and (max-height: 500px) {
  :root { --vp-nav-height: 70px; }
  .vp-topbar-inner { min-height: 60px; padding-top: 2px; padding-bottom: 2px; }
  .pp-tab { min-height: 52px; }
  .vp-tab-icon { height: 26px; }
  .pp-view[data-view="ask"].active { min-height: 320px; }
}
@media (min-width: 280px) and (max-width: 319px) {
  .vp-topbar-inner .vp-brand-symbol { width: 26px; height: 26px; }
  .vp-topbar-inner .vp-brand-wordmark { width: 82px; }
  .vp-topbar-inner .vp-brand-pass { font-size: 1rem; }
}
@media (max-width: 279px) {
  :root { --vp-nav-height: 145px; }
  .pp-tabbar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vp-quick-actions { grid-template-columns: minmax(0, 1fr); }
  .vp-brand-symbol { width: 26px; height: 26px; }
  .vp-brand-wordmark { width: 70px; }
  .vp-brand-pass { font-size: .875rem; }
  .vp-auth-brand .vp-brand-wordmark { width: 110px; }
  .vp-auth-brand .vp-brand-pass { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media (min-width: 360px) and (max-width: 389px) {
  .vp-topbar-inner .vp-brand-symbol { width: 32px; height: 32px; }
  .vp-topbar-inner .vp-brand-wordmark { width: 118px; }
  .vp-topbar-inner .vp-brand-pass { font-size: 1.125rem; }
}
/* Telas estreitas (390px ou menos): a palavra Pass não quebra em "Pa/ss" e a marca encolhe um pouco */
@media (max-width: 420px) { .vp-topbar-inner { gap: 4px; padding-left: 8px; padding-right: 12px; } .vp-brand-wordmark { width: 104px; } }
