@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/plus-jakarta-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
:root {
  --ink: #10224A;
  --ink-soft: #1C335C;
  --paper: #F6F3EE;
  --surface: #FFFFFF;
  --muted: #4A5568;
  --accent: #0D6E6E;
  --accent-hover: #0A5757;
  --teal-soft: #E6F3F2;
  --rule: #E4DED4;
  --focus: #E3B341;
  --success: #1B7A4A;
  --warning: #9A6700;
  --danger: #B42318;
  --danger-soft: #F8E8E6;
  --night: #0B1628;
  --teal-light: #7EC8C3;
  --font: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  --radius-card: 20px;
  --radius-field: 12px;
  --radius-pill: 999px;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px; --space-20: 80px;
  --tap-size: 48px;
  /* Existing task and article styles consume these aliases. */
  --ct-fonte: var(--font); --ct-papel: var(--paper); --ct-paper: var(--paper);
  --ct-noite: var(--ink); --ct-gelo: var(--teal-soft); --ct-branco: var(--surface);
  --ct-cobalto: var(--accent); --ct-cobalto-forte: var(--accent-hover); --ct-linha: var(--rule);
  --ct-texto-secundario: var(--muted); --ct-foco: var(--focus);
  --ct-sucesso: var(--success); --ct-alerta: var(--warning);
  --blue: var(--accent); --deep: var(--accent-hover); --pale: var(--teal-soft);
  --line: var(--rule); --white: var(--surface); --ct-raio-painel: var(--radius-card);
  --ct-encaixe-tempo: 180ms;
  color-scheme: light;
  font-family: var(--font);
  font-synthesis: none;
  font-size: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { -webkit-tap-highlight-color: transparent; }
body { margin: 0; font-family: var(--font); line-height: 1.5; }
[hidden] { display: none !important; }
:root :focus-visible { outline: 3px solid var(--focus) !important; outline-offset: 3px; }
a.skip {
  position: fixed; z-index: 30; top: 0; bottom: auto; left: var(--space-4); transform: translateY(-140%);
  min-height: var(--tap-size); padding: var(--space-3) var(--space-4); color: var(--ink); background: var(--surface);
}
a.skip:focus { transform: none; }
.ui-icon {
  display: block; width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.cg-header, body footer.cg-footer {
  position: relative; margin: 0; padding: 0; color: var(--ink); background: var(--paper); font-family: var(--font);
}
.cg-header { z-index: 5; border-bottom: 1px solid var(--rule); }
.cg-bar {
  width: min(100%, 80rem); margin-inline: auto; padding-inline: clamp(16px, 4vw, 48px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.cg-header .cg-bar { min-height: 63px; }
.cg-header a, .cg-footer a { color: var(--ink); text-decoration: none; }
.cg-signature {
  display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; min-height: 48px;
}
.cg-signature img { width: 28px; height: 28px; }
.cg-menu { position: relative; }
.cg-menu summary {
  display: flex; align-items: center; justify-content: center; min-height: 48px; padding-inline: 20px;
  border: 1.5px solid var(--rule); border-radius: 999px; background: white; cursor: pointer; font-size: 15px; font-weight: 600;
}
.cg-menu summary::-webkit-details-marker { display: none; }
.cg-menu nav {
  position: absolute; z-index: 1; top: calc(100% + 8px); right: 0; width: max-content;
  padding: 8px 16px; background: white; border: 1px solid var(--rule); border-radius: 16px;
}
.cg-menu nav a, .cg-main-links a { display: flex; align-items: center; min-height: 48px; font-size: 15px; font-weight: 600; }
.cg-header .cg-emergency { color: var(--danger); }
.cg-header a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }
.cg-main-links { display: none; }
body[data-scoped-review] :is(.cg-header, .cg-footer) { display: none; }
body footer.cg-footer { margin-top: auto; border-top: 1px solid var(--rule); }
.cg-footer .cg-bar { flex-direction: column; align-items: flex-start; gap: 8px; padding: 32px 24px; }
.cg-footer .cg-signature { min-height: 0; font-size: 15px; }
.cg-footer .cg-contact { display: block; color: var(--muted); font-size: 13px; }
.cg-footer nav { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 4px; color: var(--muted); font: 500 13px/18px var(--font); }
.cg-footer nav a { display: inline-flex; align-items: baseline; min-height: 24px; color: inherit; white-space: nowrap; }
@media (max-width: 375px) {
  .cg-footer .cg-bar { padding-inline: 16px; }
}
@media (min-width: 900px) {
  .cg-footer .cg-bar { flex-direction: row; align-items: center; padding-inline: 48px; }
  .cg-menu { display: none; }
  .cg-header .cg-bar { min-height: 71px; }
  .cg-main-links { display: flex; align-items: center; gap: 32px; }
}
body:is(.care-page,.review-page,.education-page,.information-page,.checkup-page) {
  background: var(--paper); color: var(--ink); font-family: var(--font);
}
:where(.care-page,.review-page,.education-page,.information-page,.checkup-page) :is(h1,h2,h3,h4,legend) { font-weight: 500; }
:where(.care-page,.review-page,.education-page,.information-page,.checkup-page) :is(button,.button) { font-family: var(--font); }
:is(.care-page,.review-page,.education-page,.checkup-page) .button,
.review-page .review-primary { min-height: 52px; padding: 12px 24px; border-radius: var(--radius-pill); font-weight: 600; }
.care-page .care-intro, .education-page .guide-index-hero, .review-page .review-aside { background: var(--ink); color: var(--surface); }
.care-intro .care-wrap, .guide-index-hero .wrap { position: relative; }
:is(.care-intro,.guide-index-hero) .section-photo { display: none; }
.checkup-aside .account-photo { display: block; width: 100%; max-height: 220px; object-fit: cover; border-radius: var(--radius-field); }

.plan-notice { margin-top: var(--space-8); padding: var(--space-6) 0; border-top: 1px solid var(--rule); color: var(--ink); }
.plan-notice h2 { margin: 0 0 var(--space-2); font-size: 1.25rem; font-weight: 500; }
.plan-notice p { margin: var(--space-2) 0 var(--space-4); }
.plan-notice form { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: flex-end; }
.plan-notice label { display: grid; gap: var(--space-1); font-weight: 500; }
.plan-notice input {
  width: 100%; min-width: 0; max-width: 22rem; min-height: var(--tap-size); padding: var(--space-3);
  color: var(--ink); border: 1px solid var(--muted); border-radius: var(--radius-field); font: inherit;
}
.plan-notice button {
  min-height: 52px; padding: var(--space-3) var(--space-6); border: 1.5px solid var(--rule); border-radius: 16px;
  background: white; color: var(--ink); font: 600 1rem/1.25 var(--font); cursor: pointer;
}
.plan-notice a { display: inline-flex; align-items: center; min-height: var(--tap-size); color: var(--accent); }
.plan-notice p:empty { display: none; }
/* The choices arrive with the flow module. Static guides and the emergency
   contacts are already server-rendered, so they never enter a loading state. */
@media (scripting: enabled) {
  #flow-hint:has(+ #flow-form[hidden])::after {
    content: ""; display: block; height: 64px; border-radius: var(--radius-card);
    background: var(--teal-soft); margin: var(--space-4) 0 var(--space-20);
    box-shadow: 0 calc(64px + var(--space-2)) 0 var(--teal-soft);
  }
}
.offline-page { width: min(36rem, 100%); margin-inline: auto; padding: var(--space-12) var(--space-6); }
.offline-page h1 { font-weight: 500; letter-spacing: -.035em; line-height: 1.1; }
.offline-page a { display: inline-flex; align-items: center; min-height: var(--tap-size); color: var(--accent); }
@media (min-width: 900px) {
  .care-page .care-intro .care-wrap, .education-page .guide-index-hero .wrap { padding-right: 37%; }
  :is(.care-intro,.guide-index-hero) .section-photo {
    display: block; position: absolute; right: 0; top: 0; width: 33%; height: 100%; border-radius: var(--radius-card); object-fit: cover;
  }
}
@media (hover: hover) and (min-width: 900px) {
  .cg-bar nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
}
@media print {
  .cg-header, footer.cg-footer { display: none !important; }
}

/* Main flow disclosures share a marker; the navigation menu has its own control. */
:is(.shield-flow, .resultado-page, .sos-page, .plans-faq) details > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 16px 0; border-top: 1px solid var(--rule); list-style: none;
  font: 700 16px/24px var(--font); cursor: pointer;
}
:is(.shield-flow, .resultado-page, .sos-page, .plans-faq) details > summary::-webkit-details-marker { display: none; }
:is(.shield-flow, .resultado-page, .sos-page, .plans-faq) details > summary::after {
  content: "+";
  content: "+" / "";
  flex: none;
}
