/* FatoForma home dashboard (v0.38, Phase 1). Loaded ONLY by index.html, after theme.css.
   Layout of the home "dash-top" grid: hero + search · evidence index · personal dashboard, then the Saúde/Exercício portals.
   Desktop ≥1180px: 3 columns · tablet 761–1179px: hero full width, evidence + panel side by side · phones: the approved
   mobile layout (hero, search, portal cards), with the personal panel stacked below the cards. Tokens only (tokens.css). */

/* ---------- grid ---------- */
.dash-top{display:grid;gap:16px;align-items:start;margin-top:8px}
.dash-top>.hero{display:block;padding:28px 0 0}
.personal-dash:empty{display:none}
body[data-page="home"] .edition-line,body[data-page="home"] .hero .button-row,body[data-page="home"] .hero-search-label,body[data-page="home"] .hero-search-kbd{display:none}
@media(min-width:1180px){
.dash-top{grid-template-columns:minmax(0,1.72fr) minmax(0,1fr) minmax(0,1fr);grid-template-areas:"hero ev dash" "paths paths paths";column-gap:18px;row-gap:22px}
.dash-top>.hero{grid-area:hero}.dash-top>.hero-score{grid-area:ev;margin-top:26px}.dash-top>.personal-dash{grid-area:dash;margin-top:26px}.dash-top>.paths{grid-area:paths}
}
@media(min-width:761px) and (max-width:1179px){
.dash-top{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"hero hero" "ev dash" "paths paths"}
.dash-top>.hero{grid-area:hero}.dash-top>.hero-score{grid-area:ev}.dash-top>.personal-dash{grid-area:dash}.dash-top>.paths{grid-area:paths}
}
@media(min-width:761px){
body[data-page="home"] .dash-top .hero h1{font-size:clamp(2.6rem,4.3vw,4.35rem)}
body[data-page="home"] .hero h1 .br-mobile{display:none}
body[data-page="home"] .hero-description{font-size:1.1rem;max-width:44ch;margin-top:14px}
.dash-top .hero-search{margin-top:26px}
}
@media(max-width:760px){
.dash-top{display:flex;flex-direction:column;gap:0}
.dash-top>.paths{order:2}.dash-top>.personal-dash{order:3;margin:14px 0 6px}
.dash-top>.hero{padding:0}
}

/* ---------- Evidence index card (the existing evidence bar inside; data-score on .hero-meter) ---------- */
@media(min-width:761px){
.dash-top>.hero-score{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:24px 26px 22px;border-radius:22px;background:rgba(255,255,255,.86)}
.dash-top>.hero-score .score-question{font-family:var(--serif);font-size:1.75rem;line-height:1.1;margin:14px 0 18px}
.dash-top>.hero-score .score-caption{display:none}
.dash-top>.hero-score .score-explanation{margin-top:16px;padding-top:16px;border-top:1px solid var(--line);font-size:.92rem}
.dash-top>.hero-score .text-link{margin-top:4px}
.dash-top>.hero-score .micro{margin-top:6px;line-height:1.5}
}

/* ---------- Personal dashboard widgets ---------- */
.personal-dash{display:grid;gap:10px}
.dw{position:relative;padding:14px 18px;border:1px solid rgba(23,50,71,.05);border-radius:20px;background:var(--card-bg);box-shadow:var(--card-shadow)}
.dw-head{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:22px}
.dw .dw-title{margin:0;font:700 .7rem/1.2 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.dw-link{display:inline-flex;align-items:center;gap:4px;font-size:.8rem;font-weight:700;color:var(--health-dark);white-space:nowrap}
.dw-demo{padding:2px 8px;border-radius:var(--radius-pill);background:var(--soft);color:var(--muted);font-size:.62rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.dw-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--muted)}
.dw-icon-btn[aria-disabled="true"]{opacity:.55;cursor:default}
.dw-icon-btn:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.dw-badge{display:inline-flex;flex:none;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;background:var(--health-soft);color:var(--health-primary)}
.dw-badge-ex{background:var(--exercise-soft);color:var(--exercise-primary)}
.dw-user-row,.dw-workout-row{display:flex;align-items:center;gap:14px;margin-top:8px}
.dw-hello{font-family:var(--serif);font-size:1.12rem;font-weight:700;line-height:1.2;color:var(--ink);letter-spacing:-.02em}
.dw-strong{font-family:var(--serif);font-size:1.02rem;font-weight:700;line-height:1.25;color:var(--ink);letter-spacing:-.01em}
.dw-sub{margin-top:3px;font-size:.84rem;line-height:1.4;color:var(--muted)}
.dw-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:10px 0 0;padding:0;list-style:none}
.dw-day{display:flex;flex-direction:column;align-items:center;gap:8px}
.dw-day-l{font-size:.68rem;font-weight:700;color:var(--muted)}
.dw-day-dot{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;border:1.5px solid var(--line-strong);background:var(--paper);color:#fff}
.dw-day.is-done .dw-day-dot{border:0;background:var(--health-primary)}
.dw-day.is-today .dw-day-dot{box-shadow:0 0 0 3px var(--health-light)}
.dw-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dw-metric{padding:14px 16px}
.dw-metric-top{display:flex;align-items:center;gap:8px}
.dw-metric-ico{display:inline-flex;color:var(--health-primary)}
.dw-cal .dw-metric-ico,.dw-cal .dw-bars{color:var(--exercise-primary)}
.dw-value{margin-top:6px;font-family:var(--serif);font-size:1.4rem;font-weight:700;line-height:1.1;color:var(--ink);letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.dw-unit{font-family:var(--sans);font-size:.8rem;font-weight:600;color:var(--muted);letter-spacing:0}
.dw-metric-foot{display:flex;align-items:flex-end;justify-content:space-between;gap:6px;margin-top:4px;min-height:28px}
.dw-change{font-size:.76rem;font-weight:700;color:var(--health-dark);white-space:nowrap}
.dw-change[data-dir="up"]{color:var(--exercise-dark)}
.dw-spark{width:62px;height:26px;color:var(--health-primary);margin-left:auto}
.dw-bars{width:78px;height:26px;margin-left:auto}
.dw-bars rect{fill:currentColor}
.dw-metric-link{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;margin:-4px -6px -4px auto;border-radius:50%;color:var(--exercise-dark)}
.dw-metric-link:hover{background:var(--exercise-soft)}
.dw-metric-link:focus-visible{outline:2px solid var(--focus);outline-offset:1px}
.dw-link:focus-visible,.header-account:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:6px}
@media(max-width:1179px) and (min-width:761px){.personal-dash{grid-template-columns:1fr}}
@media(max-width:760px){.dw{padding:14px 16px;border-radius:18px}.dw-hello{font-size:1.02rem}}

/* ---------- Saúde / Exercício portals: main link + sub-links (no nested anchors; the main link covers the card) ---------- */
.path-main{display:flex;flex-direction:column;gap:10px;color:inherit;text-decoration:none}
.path-main:hover{text-decoration:none}
.path-main::after{content:'';position:absolute;inset:0;border-radius:inherit}
.path-main:focus-visible{outline:none}
.path-card:has(.path-main:focus-visible){outline:3px solid var(--focus);outline-offset:3px}
.path-links{display:none}
@media(min-width:761px){
.dash-top .paths{display:grid;grid-template-columns:minmax(0,.76fr) minmax(0,1fr);gap:16px;margin:4px 0 8px}
.dash-top .path-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,250px);align-items:center;gap:20px;min-height:0;padding:24px 24px 24px 24px;background-size:min(300px,52%) auto,auto}
.dash-top .path-main{display:grid;grid-template-columns:64px minmax(0,1fr);column-gap:16px;row-gap:6px;align-items:center}
.dash-top .path-main .path-icon{grid-row:1;grid-column:1;margin:0}
.dash-top .path-main h2{grid-row:1;grid-column:2;font-size:clamp(1.7rem,2.3vw,2.1rem)}
.dash-top .path-main>p:not(.eyebrow){grid-column:2;font-size:.98rem;max-width:26ch}
.dash-top .path-link{position:static;grid-column:1;margin-top:18px}
.path-links{position:relative;z-index:1;display:grid;gap:8px;margin:0;padding:0;list-style:none}
.path-sub{white-space:nowrap;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:38px;padding:0 14px;border:1px solid rgba(255,255,255,.3);border-radius:12px;background:rgba(255,255,255,.1);color:#fff;font-size:.88rem;font-weight:600;text-decoration:none;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
a.path-sub:hover{background:rgba(255,255,255,.2);text-decoration:none}
a.path-sub:focus-visible{outline:2px solid #fff;outline-offset:2px}
.path-sub-arrow{font-size:1.25rem;line-height:1}
.path-sub.is-soon{color:rgba(255,255,255,.72);border-style:dashed;cursor:default}
.path-sub.is-soon small{font-size:.62rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;opacity:.9}
}
@media(min-width:761px) and (max-width:1023px){.dash-top .paths{grid-template-columns:1fr}}

/* ---------- "Mito ou fato?": compact claim rows (same pattern as the approved mobile rows), 3 per line on desktop ---------- */
@media(min-width:761px){
body[data-page="home"] #saude .investigation-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
body[data-page="home"] #saude .investigation-card{position:relative;min-height:0;padding:16px 48px 14px 22px;border-left:4px solid var(--health-primary)}
body[data-page="home"] #saude .investigation-card>p,body[data-page="home"] #saude .index-number,body[data-page="home"] #saude .card-warning,
body[data-page="home"] #saude .evidence-track,body[data-page="home"] #saude .evidence-num,body[data-page="home"] #saude .evidence-scale{display:none}
body[data-page="home"] #saude .investigation-card h3{font-size:1.12rem;line-height:1.25;margin:4px 0 0}
body[data-page="home"] #saude .card-bottom{margin-top:8px;padding-top:0;border:0}
body[data-page="home"] #saude .evidence-bar{display:block}
body[data-page="home"] #saude .evidence-label{display:flex;margin:0}
body[data-page="home"] #saude .card-arrow{position:absolute;right:16px;top:50%;transform:translateY(-50%);border:0;font-size:0;width:24px;height:24px}
body[data-page="home"] #saude .card-arrow::after{content:'›';font-size:1.7rem;line-height:24px;color:var(--ink)}
}
@media(min-width:761px) and (max-width:1023px){body[data-page="home"] #saude .investigation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){a.path-sub,.header-account{transition:none}}
@media(min-width:1180px){.dash-top>.hero{padding-top:52px}.dash-top .hero-search{margin-top:36px}body[data-page="home"] .dash-top .hero-description{margin-top:20px}.dash-top .hero-search-examples{margin-top:18px}}

/* ---------- Phones (v0.43): the mobile version of the approved desktop dashboard ----------
   Same components and data as desktop (hero, search, evidence bar, personal panel, portal cards, claim rows);
   only layout, order and density change. Order: hero + search → Saúde/Exercício → Seu painel → Índice de Evidência → claims. */
@media(max-width:760px){
/* background: the desktop leaf art (lighter) + one soft mint shape further down */
body[data-page="home"]{background:var(--art-hero) no-repeat right -90px top -84px/300px auto,radial-gradient(360px 320px at -60px 860px,rgba(191,227,219,.42),transparent 70%) no-repeat,var(--paper)}
/* hero: kicker back, headline on two lines like desktop, compact */
body[data-page="home"] .dash-top>.hero{padding:16px 0 0}
.dash-top>*,.dash-top .hero-copy,.dash-top .hero-search{min-width:0;max-width:100%}
body[data-page="home"] .dash-top .hero .eyebrow{display:flex;align-items:center;gap:8px;margin:0 0 10px;font-size:.64rem;letter-spacing:.16em;color:var(--health-dark)}
body[data-page="home"] .dash-top .hero h1{font-size:clamp(2.05rem,9.8vw,2.6rem);line-height:1.03}
body[data-page="home"] .hero h1 .br-mobile{display:none}
body[data-page="home"] .dash-top .hero-description{font-size:.92rem;line-height:1.5;margin-top:10px;max-width:none}
body[data-page="home"] .dash-top .hero-search{margin-top:18px}
/* quick chips: one row that scrolls sideways */
body[data-page="home"] .dash-top .hero-search-examples{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;overflow-x:auto;margin:12px calc(var(--gutter) * -1) 0;padding:2px var(--gutter) 4px;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
body[data-page="home"] .dash-top .hero-search-examples::-webkit-scrollbar{display:none}
body[data-page="home"] .dash-top .hero-search-examples>*{flex:none}
body[data-page="home"] .dash-top .hero-search-examples button{min-height:36px;padding:0 14px;font-size:.82rem}
/* Saúde / Exercício: the card is the main link; its real sub-links sit under it as pills ("Em breve" items stay desktop-only) */
.dash-top .paths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px;row-gap:8px;margin:18px 0 0}
.dash-top .path-card{display:contents}
.dash-top .path-main{position:relative;overflow:hidden;min-height:176px;padding:16px 14px 60px;border-radius:20px;gap:6px;color:#fff;background:var(--art) no-repeat right -18px bottom -22px/78% auto,var(--grad);box-shadow:0 10px 22px #0f58561f}
.dash-top .path-card[data-path="exercicio"]>.path-main{box-shadow:0 10px 22px #bf4f3c24}
.dash-top .path-main:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.dash-top .path-card[data-path="saude"]>.path-main{grid-column:1;grid-row:1}
.dash-top .path-card[data-path="saude"]>.path-links{grid-column:1;grid-row:2}
.dash-top .path-card[data-path="exercicio"]>.path-main{grid-column:2;grid-row:1}
.dash-top .path-card[data-path="exercicio"]>.path-links{grid-column:2;grid-row:2}
.dash-top .path-links{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.dash-top .path-links li:has(.is-soon),.dash-top .path-sub.is-soon{display:none}
.dash-top a.path-sub{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:38px;padding:0 12px;border:1px solid var(--line);border-radius:12px;background:var(--card-bg);box-shadow:var(--card-shadow);color:var(--health-dark);font-size:.8rem;font-weight:700;text-decoration:none;white-space:nowrap}
.dash-top .path-card[data-path="exercicio"] a.path-sub{color:var(--exercise-dark)}
.dash-top a.path-sub:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.dash-top .path-sub-arrow{font-size:1.1rem;line-height:1}
/* personal panel: same widgets, compact rhythm */
.dash-top>.personal-dash{margin:20px 0 0;gap:10px}
.dw{padding:14px 16px}
.dw-badge{width:42px;height:42px}
.dw-user-row,.dw-workout-row{gap:12px}
.dw-days{margin-top:10px}
.dw-day-dot{width:28px;height:28px}
/* Índice de Evidência: full-width compact card (score, scale, preliminary tag, link, the one-line caveat) */
body[data-page="home"] .dash-top>.hero-score{order:4;display:flex;flex-direction:column;gap:10px;margin:20px 0 0;padding:16px 18px;border-radius:20px;background:var(--card-bg);box-shadow:var(--card-shadow)}
.dash-top>.hero-score{text-align:left;align-items:stretch}
.dash-top>.hero-score .score-topline{display:flex;justify-content:space-between;align-items:center;gap:8px}
.dash-top>.hero-score .text-link{align-self:flex-start}
.dash-top>.hero-score .score-question{margin:0;font-size:1.18rem;line-height:1.2}
.dash-top>.hero-score .score-question br{display:none}
.dash-top>.hero-score .score-caption,.dash-top>.hero-score .score-explanation{display:none}
.dash-top>.hero-score .text-link{min-height:36px;font-size:.86rem}
.dash-top>.hero-score .micro{margin:0;font-size:.68rem;line-height:1.45;color:var(--muted)}
/* "Mito ou fato?": the same compact rows as desktop (category · question · rating · arrow) */
body[data-page="home"] #saude .evidence-track,body[data-page="home"] #saude .evidence-num,body[data-page="home"] #saude .evidence-scale{display:none}
body[data-page="home"] #saude .investigation-card{padding:14px 44px 12px 16px}
body[data-page="home"] #saude .card-bottom{margin-top:6px}
body[data-page="home"] .investigation-section{margin-top:28px}
}
@media(max-width:380px){
.dash-top .path-main{min-height:168px;padding:14px 12px 56px}
.dash-top a.path-sub{padding:0 10px;font-size:.76rem}
.dw-day-dot{width:26px;height:26px}
body[data-page="home"] .hero-search input{font-size:.88rem}
}

/* ---------- UI polish (2026-09-27): tighter home. The Saúde/Exercício portals sit right below the tallest column, so the
   right-hand cards (evidence index + personal panel) are slightly denser and the row gaps smaller; the hero keeps its
   spacing so the portals end up close to the "Experimente" chips. No content removed. ---------- */
@media(min-width:1180px){
.dash-top{row-gap:14px}
.dash-top>.hero-score,.dash-top>.personal-dash{margin-top:14px}
.dash-top>.hero{padding-top:44px}
}
@media(min-width:761px){
.dash-top>.hero-score{padding:20px 24px 18px}
.dash-top>.hero-score .score-question{margin:10px 0 14px}
.dash-top>.hero-score .score-explanation{margin-top:12px;padding-top:12px}
.personal-dash{gap:8px}
.dw{padding:12px 18px}
.dw-user-row,.dw-workout-row{margin-top:6px}
.dw-days{margin-top:8px}
.dw-day{gap:6px}
.dash-top .paths{margin-top:0}
body[data-page="home"] .investigation-section{padding-top:20px}
body[data-page="home"] .prototype-note{margin:14px 0}
body[data-page="home"] .community-block{margin-top:var(--s4)}
}
@media(max-width:760px){
.dash-top .paths{margin-top:14px}
.dash-top>.personal-dash{margin-top:16px}
body[data-page="home"] .dash-top>.hero-score{margin-top:16px}
}

/* ---------- Hero ↔ portals alignment (2026-09-27, 2nd pass). Desktop only (≥1180px).
   The hero column is shorter than the evidence/panel columns, which left an empty band under the "Experimente"
   chips. Now: (1) the right-hand stack is a little denser; (2) the hero column stretches to the row height and the
   search + chips sit at its bottom, so the chips end on the same line as the right-hand cards and the Saúde/Exercício
   portals follow one consistent row gap. Headline stays at the top, level with the cards. No content removed. ---------- */
@media(min-width:1180px){
.dash-top>.hero{align-self:stretch;display:flex;flex-direction:column;padding-top:34px}
.dash-top>.hero>.hero-copy{flex:1;display:flex;flex-direction:column;width:100%;max-width:none;margin:0}
.dash-top>.hero .hero-search{margin-top:auto;padding-top:28px}
.dash-top>.hero-score,.dash-top>.personal-dash{margin-top:12px}
.dash-top{row-gap:18px}
.personal-dash{gap:7px}
.dw{padding:11px 16px}
.dw-badge{width:42px;height:42px}
.dw-user-row,.dw-workout-row{gap:12px;margin-top:4px}
.dw-days{margin-top:6px}
.dw-day{gap:5px}
.dw-metrics{gap:7px}
.dw-metric{padding:11px 14px}
.dw-value{margin-top:4px}
.dash-top>.hero-score{padding:18px 22px 16px}
.dash-top>.hero-score .score-question{margin:8px 0 12px}
.dash-top>.hero-score .score-explanation{margin-top:10px;padding-top:10px}
}
@media(min-width:1180px) and (max-width:1379px){
/* narrower screens: give the two card columns a little more width so their text wraps less (shorter stack) */
.dash-top{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr)}
}

/* ---------- Three pillars (v0.55): Saúde · Exercício · Alimentação as 3 equal cards ----------
   Same card language as before (gradient + botanical/motion art, white text, round arrow, pill sub-links); Alimentação uses
   the sage/olive --grad-food. Desktop/tablet: 3 equal columns, sub-links as wrapping pills at the bottom of each card.
   Phones: 3 equal compact rows (icon · title · text · arrow) with the card's live sub-links inside ("Em breve" stays desktop-only). */
.path-card[data-path="alimentacao"]{--path:var(--food-block);--grad:var(--grad-food);--art:var(--art-health);box-shadow:0 14px 30px #46612f24}
@media(min-width:761px){
.dash-top .paths{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
.dash-top .path-card{display:flex;flex-direction:column;gap:16px;padding:22px 22px 20px;min-height:0;background-size:min(240px,60%) auto,auto;background-position:right -26px bottom -34px,0 0}
.dash-top .path-card:hover{background-size:min(240px,60%) auto,auto;background-position:right -26px bottom -34px,0 0}
.dash-top .path-main{display:grid;grid-template-columns:52px minmax(0,1fr) auto;column-gap:14px;row-gap:8px;align-items:center}
.dash-top .path-main .path-icon{grid-row:1;grid-column:1;width:52px;height:52px;margin:0}
.dash-top .path-main h2{grid-row:1;grid-column:2;font-size:clamp(1.45rem,1.9vw,1.9rem);overflow-wrap:anywhere}
.dash-top .path-main>p:not(.eyebrow){grid-row:2;grid-column:1 / -1;max-width:none;font-size:.95rem;line-height:1.45}
.dash-top .path-link{position:static;grid-row:1;grid-column:3;margin:0}
.dash-top .path-arrow{width:40px;height:40px}
.dash-top .path-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}
.dash-top .path-sub{min-height:36px;padding:0 12px;gap:8px;font-size:.84rem}
.dash-top .path-sub.is-soon small{font-size:.58rem}
}
@media(min-width:761px) and (max-width:1179px){
.dash-top .paths{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.dash-top .path-card{padding:18px 16px 16px;gap:14px}
.dash-top .path-main{grid-template-columns:minmax(0,1fr) auto}
.dash-top .path-main .path-icon{width:44px;height:44px}
.dash-top .path-main h2{grid-row:2;grid-column:1 / -1;font-size:1.4rem}
.dash-top .path-main>p:not(.eyebrow){grid-row:3;font-size:.88rem}
.dash-top .path-link{grid-column:2}
.dash-top .path-sub{font-size:.78rem;padding:0 10px}
}
@media(max-width:760px){
.dash-top .paths{display:flex;flex-direction:column;gap:10px}
.dash-top .path-card{display:flex;flex-direction:column;gap:10px;position:relative;overflow:hidden;min-height:0;padding:14px 14px 14px;border-radius:20px;background:var(--art) no-repeat right -20px bottom -40px/150px auto,var(--grad);box-shadow:0 10px 22px #0f58561f}
.dash-top .path-card[data-path="exercicio"]{box-shadow:0 10px 22px #bf4f3c24}
.dash-top .path-card[data-path="alimentacao"]{box-shadow:0 10px 22px #46612f24}
.dash-top .path-card>.path-main,.dash-top .path-card[data-path]>.path-main{position:static;display:grid;grid-template-columns:40px minmax(0,1fr) auto;column-gap:12px;row-gap:2px;align-items:center;min-height:0;padding:0;overflow:visible;border-radius:0;background:none;box-shadow:none}
.dash-top .path-main .path-icon{grid-row:1 / span 2;grid-column:1;width:40px;height:40px;margin:0}
.dash-top .path-main .path-icon .ico{width:22px;height:22px}
.dash-top .path-main h2{grid-row:1;grid-column:2;font-size:1.15rem}
.dash-top .path-main>p:not(.eyebrow){grid-row:2;grid-column:2;font-size:.78rem;line-height:1.35}
.dash-top .path-link{position:static;grid-row:1 / span 2;grid-column:3}
.dash-top .path-arrow{width:36px;height:36px}
.dash-top .path-links{display:flex;flex-wrap:wrap;gap:6px;padding-left:52px}
.dash-top .path-links li.path-extra{display:none}
.dash-top a.path-sub,.dash-top .path-card[data-path] a.path-sub{min-height:34px;padding:0 12px;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.14);box-shadow:none;color:#fff;font-size:.78rem}
.dash-top a.path-sub:focus-visible{outline:2px solid #fff}
}
@media(max-width:380px){.dash-top .path-links{padding-left:0}.dash-top .path-card{padding:12px}}

/* ---------- "Mito ou fato?" (v0.55): only 2 rows of cards on the home (3 per row on desktop, 2 on tablets, 1 on phones);
   "Todas as afirmações" leads to the rest. The Calculadoras section follows right after. ---------- */
@media(min-width:1024px){body[data-page="home"] #home-investigations>:nth-child(n+7){display:none}}
@media(min-width:761px) and (max-width:1023px){body[data-page="home"] #home-investigations>:nth-child(n+5){display:none}}
@media(max-width:760px){body[data-page="home"] #home-investigations>:nth-child(n+3){display:none}}

/* ---------- Meu Dia band (v0.58): the personal hub, right under the three pillars (navy + the three pillar colours) ---------- */
@media(min-width:1180px){.dash-top{grid-template-areas:"hero ev dash" "paths paths paths" "band band band"}}
@media(min-width:761px) and (max-width:1179px){.dash-top{grid-template-areas:"hero hero" "ev dash" "paths paths" "band band"}}
.dash-top>.md-band{grid-area:band}
.md-band{position:relative;overflow:hidden;display:flex;align-items:center;gap:16px;padding:16px 20px;border-radius:var(--radius-lg);background:radial-gradient(360px 200px at 100% 0,#26506a 0,transparent 70%),var(--brand-navy);color:#fff;text-decoration:none;box-shadow:0 12px 26px #17324724;transition:transform .2s,box-shadow .2s}
.md-band::after{content:'';position:absolute;left:0;right:0;bottom:0;height:4px;background:linear-gradient(90deg,var(--health-primary) 0 33.3%,var(--exercise-primary) 33.3% 66.6%,var(--food-block) 66.6%)}
.md-band:hover{text-decoration:none;transform:translateY(-2px);box-shadow:0 18px 34px #1732472e}
.md-band:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.md-band-ico{flex:none;display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:14px;background:rgba(255,255,255,.12);box-shadow:inset 0 0 0 1px rgba(255,255,255,.2)}
.md-band-ico .ico{width:26px;height:26px}
.md-band-txt{flex:1;min-width:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 12px}
.md-band-k{flex-basis:100%;font:700 .68rem/1.2 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:#b9cbd6}
.md-band-txt strong{font:800 1.35rem/1.15 var(--serif);letter-spacing:-.02em}
.md-band-p{font-size:.92rem;color:#dbe6ec}
.md-band-dots{display:flex;gap:6px}
.md-band-dots i{width:10px;height:10px;border-radius:50%}
.md-band-dots .d-sa{background:var(--health-primary)}.md-band-dots .d-ex{background:var(--exercise-primary)}.md-band-dots .d-al{background:var(--food-block)}
.md-band-go{flex:none;display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 16px;border-radius:var(--radius-pill);background:#fff;color:var(--brand-navy);font-weight:800;font-size:.9rem}
@media(max-width:760px){
.dash-top>.md-band{order:2;margin-top:10px}
.md-band{padding:14px;gap:12px;border-radius:20px}
.md-band-ico{width:40px;height:40px;border-radius:12px}
.md-band-txt strong{font-size:1.15rem}
.md-band-p{font-size:.8rem}
.md-band-dots{display:none}
.md-band-go{min-height:36px;padding:0 12px;font-size:.82rem}
}
@media(prefers-reduced-motion:reduce){.md-band{transition:none}.md-band:hover{transform:none}}
