/* Adapted from the supplied shadcn Figma Navigation Menu, node 17086:206718.
   Direct-link variant: existing routing, branding and candidate colors remain native.
   The kit's 36px triggers are enlarged to 44px for touch accessibility. */
:root{--ui-background:#fff;--ui-accent:#f5f5f5;--ui-border:#e5e5e5;--ui-radius-sm:6px;--ui-radius-md:8px;--ui-space-1:4px;--ui-space-2:8px;--ui-space-4:16px;--ui-shadow-sm:0 1px 3px #0000001a,0 1px 2px #0000001a}
.masthead{min-height:72px;gap:var(--ui-space-4)}
.masthead nav.experience-tabs{gap:var(--ui-space-1)}
.masthead nav.experience-tabs a{min-height:44px;padding:8px 16px;border-radius:var(--ui-radius-md);font-size:14px;font-weight:500;line-height:20px;transition:background .15s,color .15s}
.masthead nav.experience-tabs a:hover{background:var(--ui-accent);box-shadow:none;text-decoration:none;color:var(--ink)}
.masthead nav.experience-tabs a[aria-selected=true]{background:var(--forest);color:white}
.masthead #text-size{min-height:44px;border-color:var(--ui-border);border-radius:var(--ui-radius-md);box-shadow:0 1px 2px #0000000d}
.masthead #text-size:hover{background:var(--ui-accent)}
.sticky-navigation{box-shadow:0 1px 2px #0000000d}
.topic-subnav{background:var(--ui-background);padding-block:var(--ui-space-2);border-color:var(--ui-border)}
.topic-subnav #topics{gap:var(--ui-space-1);padding:0}
.topic-subnav .topic-button,.topic-subnav .proximity-theme-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 16px;border:0;border-radius:var(--ui-radius-md);font-size:14px;font-weight:500;line-height:20px;transition:background .15s,color .15s}
.topic-subnav .topic-button[aria-pressed=true],.topic-subnav .proximity-theme-button[aria-pressed=true]{background:var(--ui-accent);color:var(--forest);font-weight:600;box-shadow:inset 0 -2px var(--forest)}
.topic-subnav .topic-button:hover:not([aria-pressed=true]),.topic-subnav .proximity-theme-button:hover:not([aria-pressed=true]){background:var(--ui-accent);color:var(--ink)}
#reference-candidates{gap:var(--ui-space-2);padding:8px 0 0}
.reference-chip{min-height:44px;border-color:var(--ui-border);border-radius:var(--ui-radius-md);box-shadow:0 1px 2px #0000000d}
.reference-chip:hover{background:var(--ui-accent)}
.reference-chip[aria-pressed=true]{background:#edf2e9;border-color:#668274;box-shadow:inset 0 0 0 1px #668274}
.home-topic-button{min-height:44px;padding:8px 16px;border-color:var(--ui-border);border-radius:var(--ui-radius-md);font-size:14px;font-weight:500;line-height:20px;box-shadow:0 1px 2px #0000000d}
.home-topic-button:hover{background:var(--ui-accent);border-color:var(--ui-border)}
.home-discover-links{gap:var(--ui-space-2);padding:var(--ui-space-2);border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-background);box-shadow:var(--ui-shadow-sm)}
.home-discover-links a{gap:var(--ui-space-1);padding:var(--ui-space-4);border:0;border-radius:var(--ui-radius-sm);background:transparent}
.home-discover-links a:hover{background:var(--ui-accent)}
.home-discover-links strong{font-size:14px;font-weight:600;line-height:20px}
.home-discover-links span{font-size:13px;line-height:20px}
.search input,.faq-controls input,.faq-controls select,.history-pair-filter select,.proximity-controls select{border-color:var(--ui-border);border-radius:var(--ui-radius-md);box-shadow:0 1px 2px #0000000d}
.masthead nav.experience-tabs a:focus-visible,.topic-subnav button:focus-visible,.reference-chip:focus-visible,.home-topic-button:focus-visible,.home-discover-links a:focus-visible{outline:2px solid var(--forest);outline-offset:-2px}
@media(max-width:760px){.masthead{min-height:64px;gap:8px}.masthead nav.experience-tabs a{padding:8px;font-size:12px}.topic-subnav .topic-button,.topic-subnav .proximity-theme-button{padding:8px 12px;font-size:13px}.home-topic-button{font-size:13px;padding:8px 12px}.home-discover-links a{padding:12px}.home-discover-links strong{font-size:13px}.home-discover-links span{font-size:12px}.large-text .masthead nav.experience-tabs a{font-size:16px}}
@media(prefers-reduced-motion:reduce){.masthead nav.experience-tabs a,.topic-subnav button{transition:none}}

/* Other plans: choose the person before the subject. */
body[data-experience=proximidade] #reference-candidates{order:0;flex-basis:100%;padding:0 0 8px;gap:16px}
body[data-experience=proximidade] .topic-subnav #topics{order:1;gap:24px;border-top:1px solid var(--ui-border)}
body[data-experience=proximidade] .reference-chip{padding:6px 10px 6px 6px;gap:8px;background:transparent;border:1px solid transparent;box-shadow:none;border-radius:8px;min-height:48px}
body[data-experience=proximidade] .reference-chip[aria-pressed=true]{background:#edf2e9;border-color:#bdcec4;box-shadow:none}
body[data-experience=proximidade] .reference-chip:hover{background:#f5f5f5}
body[data-experience=proximidade] .reference-avatar{width:36px;height:36px;object-fit:cover;object-position:center 25%;background:#eee;border-radius:50%;flex:0 0 36px}
body[data-experience=proximidade] .proximity-theme-button{padding:10px 0;border-radius:0;border-bottom:2px solid transparent;background:transparent;box-shadow:none;font-weight:400}
body[data-experience=proximidade] .proximity-theme-button[aria-pressed=true]{background:transparent;box-shadow:none;border-bottom-color:var(--forest);color:var(--forest);font-weight:600}
body[data-experience=proximidade] .proximity-theme-button:hover:not([aria-pressed=true]){background:transparent;color:var(--forest)}
@media(max-width:760px){body[data-experience=proximidade] #reference-candidates{gap:8px}body[data-experience=proximidade] .reference-chip{font-size:12px;min-height:48px}body[data-experience=proximidade] .topic-subnav #topics{gap:20px}}

/* Anchor titles clear the full measured header and both filter rows. */
#proximidade,#trajetoria,#duvidas,#fontes,#termos,#cargos{scroll-margin-top:calc(var(--navigation-height,180px) + 20px)}
body[data-experience=proximidade] .topic-subnav{padding-bottom:0}
body[data-experience=proximidade] .topic-subnav #topics{margin-bottom:-1px;scrollbar-width:none}
body[data-experience=proximidade] .topic-subnav #topics::-webkit-scrollbar{display:none}

/* Clear section titles and balanced evidence cards. */
main section> .section-heading h2>.section-symbol,.intro h1>.section-symbol,.sources h2>.section-symbol,.glossary-section h2>.section-symbol{display:none}
.proximity-overview{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:start;margin:16px 0 24px}
.proximity-overview>.proximity-intro{margin:0}
#proximity-chart{border:1px solid var(--ui-border);border-radius:8px;padding:20px;background:#fafbf9;min-width:0}
#proximity-chart h3{font-size:17px;margin:0 0 8px;line-height:1.4}
#proximity-chart>p{font-size:12px;line-height:1.6;margin:0 0 16px;color:var(--muted)}
.proximity-bar-row{margin:16px 0}.proximity-bar-heading{display:flex;justify-content:space-between;gap:12px;font-size:14px;line-height:1.5}.proximity-bar-heading small{font-size:12px;font-weight:400}
.proximity-bar-track{height:8px;border-radius:8px;background:#e6ebe8;overflow:hidden;margin:8px 0}.proximity-bar-track span{display:block;height:100%;background:var(--person-accent);border-radius:8px}.proximity-bar-row p{font-size:11px;line-height:1.6;color:var(--muted);margin:0}
#proximity-chart .proximity-chart-note{border-top:1px solid var(--ui-border);padding-top:12px;margin:16px 0 0;font-size:11px}
.proximity-point{padding:24px;margin-block:24px;border-radius:12px}.proximity-pair{gap:20px;align-items:stretch}.proximity-result{padding:20px;border:1px solid var(--person-edge);border-radius:8px;background:var(--person-surface)}
.proximity-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}.proximity-card-heading .comparison-person{margin:0}.proximity-card-heading .proximity-label{font-size:11px;padding:4px 8px;max-width:100%}.proximity-result>p{margin:0 0 18px}.proximity-result details{border-color:var(--person-edge)}
@media(max-width:760px){.proximity-overview{grid-template-columns:1fr;gap:20px}.proximity-point{padding:16px}.proximity-pair{grid-template-columns:1fr;gap:16px}.proximity-result{padding:16px}.proximity-card-heading{align-items:flex-start;flex-direction:column;gap:10px}#proximity-chart{padding:16px}}
.reading-help{display:none}
#proximity-plan-links{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:16px}#proximity-plan-links a{font-size:13px;min-height:44px;display:inline-flex;align-items:center}
.glossary-trigger{display:inline;padding:0;border:0;border-bottom:1px dotted currentColor;border-radius:0;background:transparent;color:inherit;font:inherit;line-height:inherit;text-align:inherit;cursor:help}.glossary-trigger:hover{background:#edf2e9}.glossary-trigger:focus-visible{outline:2px solid var(--forest);outline-offset:2px}
.context-tooltip{position:fixed;z-index:100;max-width:min(340px,calc(100vw - 24px));padding:14px 16px;background:white;color:var(--ink);border:1px solid var(--ui-border);border-radius:8px;box-shadow:var(--ui-shadow-sm);font-size:14px;line-height:1.6;pointer-events:none}
.context-sheet{max-width:480px;width:calc(100% - 32px);padding:24px;border:1px solid var(--ui-border);border-radius:16px;color:var(--ink);background:#fff}.context-sheet::backdrop{background:#102e2b80}.context-sheet h2{font-size:22px;line-height:1.4;margin:20px 0 12px}.context-sheet p{font-size:16px;line-height:1.7}.context-sheet-close{display:block;margin-left:auto;min-height:44px;padding:8px 12px;border:1px solid var(--ui-border);border-radius:8px;background:white;color:var(--ink);font:inherit}.proximity-label[data-help-status]{cursor:help;font-family:inherit;text-align:left}
body[data-experience=proximidade] .proximity-theme-button[aria-current=location]{color:var(--forest);font-weight:600;border-bottom-color:var(--forest)}
body[data-experience=proximidade] #topics:has([aria-current=location]) .proximity-theme-button[data-theme=all]{border-bottom-color:transparent;font-weight:400}
@media(max-width:760px){.context-sheet{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:80dvh;overflow-y:auto;border-radius:20px 20px 0 0;padding:20px 24px calc(24px + env(safe-area-inset-bottom))}.context-tooltip{display:none}}

.proximity-evidence{border-top:1px solid var(--person-edge);padding-top:16px}.proximity-evidence p{margin:0 0 12px}.proximity-evidence .source-ref{display:inline-flex;align-items:center;min-height:44px}

/* Candidate tabs share the understated selected underline used by subjects. */
body[data-experience=proximidade] #reference-candidates{padding-bottom:0;gap:24px}
body[data-experience=proximidade] .reference-chip{border:0;border-bottom:2px solid transparent;border-radius:0;padding:8px 0 10px;background:transparent;box-shadow:none}
body[data-experience=proximidade] .reference-chip[aria-pressed=true]{border-color:var(--forest);background:transparent;box-shadow:none;color:var(--forest)}
body[data-experience=proximidade] .reference-chip:hover{background:transparent;color:var(--forest)}
body[data-experience=proximidade] .reference-chip:focus-visible{outline:2px solid var(--forest);outline-offset:-2px}
@media(max-width:760px){body[data-experience=proximidade] #reference-candidates{gap:20px}}

/* Consistent subject navigation in both comparison views. */
body[data-experience=comparar] .topic-subnav{padding-bottom:0}
body[data-experience=comparar] .topic-subnav #topics{gap:24px;scrollbar-width:none;margin-bottom:-1px}
body[data-experience=comparar] .topic-subnav #topics::-webkit-scrollbar{display:none}
body[data-experience=comparar] .topic-button{padding:10px 0;border-radius:0;border-bottom:2px solid transparent;background:transparent;box-shadow:none;font-weight:400}
body[data-experience=comparar] .topic-button[aria-pressed=true]{background:transparent;box-shadow:none;border-bottom-color:var(--forest);font-weight:600}
body[data-experience=comparar] .topic-button:hover:not([aria-pressed=true]){background:transparent;color:var(--forest)}
section.detail-block{padding:20px 0;margin:24px 0;border-block:1px solid var(--ui-border)}
section.detail-block .detail-inner{padding:0}
.analysis-table-wrap{overflow-x:auto;border:1px solid var(--ui-border);border-radius:12px;isolation:isolate;margin:16px 0 24px;scrollbar-width:thin}
.analysis-table{width:100%;min-width:760px;border-collapse:separate;border-spacing:0;table-layout:fixed}
.analysis-table caption{text-align:left;padding:16px 20px;font-size:13px;font-weight:600;background:#fff;color:var(--muted)}
.analysis-table .criterion-column{width:22%}
.analysis-table th,.analysis-table td{padding:14px 12px;border:0;border-bottom:1px solid var(--ui-border);line-height:1.5;vertical-align:middle}
.analysis-table thead tr:first-child th[data-person]{font-size:15px;padding:16px 12px;text-align:center}
.analysis-table thead tr:nth-child(2) th{font-size:12px;font-weight:500;text-align:left;vertical-align:top;line-height:1.5}
.analysis-table thead th:first-child{width:auto;min-width:0}
.analysis-table thead tr:first-child>th:first-child{position:sticky;left:0;z-index:3;background:#f5f7f5;font-size:13px;text-align:left}
.analysis-table tbody th{font-size:13px;font-weight:600;background:#f5f7f5;box-shadow:1px 0 var(--ui-border)}
.analysis-table .criterion-label{gap:8px;align-items:center}.analysis-table .criterion-label svg{width:16px;height:16px;flex:0 0 16px}.analysis-table abbr{text-decoration:none;cursor:help}
.analysis-table .commitment-number{display:inline-grid;place-items:center;width:22px;height:22px;margin:0 6px 6px 0;border-radius:6px;background:#ffffffa6;font-size:11px;font-weight:700}
.analysis-table td{text-align:center;background:#fff}.analysis-table tbody tr:nth-child(even) td{background:#fafbf9}
.analysis-table tbody td:nth-child(4),.analysis-table thead tr:nth-child(2) th:nth-child(3){border-left:2px solid var(--ui-border)}
.analysis-table td>span[aria-hidden]{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;font-size:18px;background:#f0f4ed;color:#315943}
.analysis-table td.status-no>span[aria-hidden]{background:#f3f4f3;color:#69736f}
.analysis-table tbody tr:last-child>*{border-bottom:0}
@media(max-width:760px){body[data-experience=comparar] .topic-subnav #topics{gap:20px}.analysis-table{min-width:720px}.analysis-table th,.analysis-table td{padding:12px 10px}.analysis-table caption{padding:12px}.analysis-table .criterion-column{width:24%}}
/* Home: a clear invitation to compare, followed by a compact topic catalog. */
.intro.home-landing{display:block;padding-block:48px 32px}
.home-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:56px;align-items:center;padding-bottom:48px}
.home-landing .intro-eyebrow{font-size:11px;letter-spacing:.14em;margin-bottom:18px}
.home-landing h1{font-size:clamp(34px,4.1vw,54px);line-height:1.13;letter-spacing:-.045em;max-width:17ch;margin:0 0 22px;text-wrap:balance}
.home-landing h1 em{font-style:normal;color:#52734c}
.home-landing .home-lead{font-size:17px;line-height:1.7;max-width:45ch;margin:0 0 24px;color:var(--muted)}
.home-primary{display:inline-flex;align-items:center;justify-content:space-between;gap:32px;min-height:52px;padding:13px 20px;border-radius:8px;background:var(--forest);color:#fff;font-size:15px;font-weight:600;text-decoration:none;transition:background .15s}.home-primary:hover{background:#29584e}.home-primary span{font-size:20px}
.home-landing .home-trust{font-size:11px;line-height:1.7;margin:14px 0 0;color:var(--muted)}
.home-candidate-showcase{padding:20px 20px 0;background:#f5f7f3;border:1px solid #e3e8df;border-radius:20px;overflow:hidden}
.home-candidate-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.home-candidate{min-width:0;border-radius:10px;overflow:hidden;background:var(--person-surface);border:1px solid var(--person-edge)}
.home-candidate img{display:block;width:100%;height:210px;object-fit:cover;object-position:center 22%}
.home-candidate>div{padding:14px 12px;min-height:78px;display:flex;flex-direction:column;justify-content:center}
.home-candidate strong{font-size:14px;line-height:1.4}.home-candidate span{font-size:11px;color:var(--person-accent);margin-top:4px}
.home-landing .home-candidate-showcase>p{text-align:center;font-size:12px;margin:18px 0;line-height:1.6}
.home-proof{display:grid;grid-template-columns:1fr 1fr;gap:12px;border-top:1px solid var(--line);padding:16px 0;color:var(--muted)}
.home-proof>span{display:flex;gap:8px;align-items:center;font-size:11px}.home-proof strong{font-size:24px;color:var(--ink);line-height:1.2}
.home-landing .home-topic-picker{margin:0;padding:32px 0;border-top:1px solid var(--line);scroll-margin-top:calc(var(--navigation-height,72px) + 16px)}
.home-block-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:22px}
.home-kicker{display:block;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:8px}
.home-landing .home-block-heading h2{font-size:26px;line-height:1.3;letter-spacing:-.025em;margin:0}
.home-landing .home-block-heading>p{font-size:13px;max-width:30ch;margin:0;line-height:1.6;color:var(--muted)}
.home-landing #home-topics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.home-landing .home-topic-button{justify-content:flex-start;min-height:64px;padding:16px;gap:12px;font-size:14px;background:white;border:1px solid var(--ui-border);box-shadow:none;text-align:left;line-height:1.4;transition:border-color .15s,background .15s}
.home-landing .home-topic-button .ui-icon{width:22px;height:22px;flex:0 0 22px;color:var(--green)}
.home-landing .home-topic-button:hover{background:#f1f5eb;border-color:#9bab91}
#home-topics:not(.home-topics-expanded) .home-topic-button:nth-child(n+7){display:none}
#home-more-topics{display:flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:10px 16px;margin:16px auto 0;border:0;background:transparent;color:var(--forest);font:inherit;font-size:13px;text-decoration:underline;text-underline-offset:4px}
.home-landing .topic-order-note{font-size:10px;line-height:1.7;margin:12px auto 0;max-width:80ch;text-align:center;color:var(--muted)}
.home-landing .home-discover{margin:18px 0 0;padding:32px 0;border-top:1px solid var(--line)}
.home-landing .home-discover-links{padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;gap:20px}
.home-landing .home-discover-links a{padding:26px;border:1px solid var(--line);border-radius:12px;background:#f5f7f3;gap:12px;transition:background .15s}
.home-landing .home-discover-links a:hover{background:#edf2e6}
.home-landing .home-discover-links strong{font-size:22px;line-height:1.35;max-width:27ch;font-family:Manrope,sans-serif;letter-spacing:-.02em}
.home-landing .home-discover-links a>span{font-size:14px;line-height:1.7}
.home-landing .home-discover-links .home-card-eyebrow{display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--forest)}
.home-landing .home-discover-links .home-card-action{font-size:13px;font-weight:600;color:var(--forest);padding-top:8px;margin-top:auto}
.home-landing .home-footer-note{font-size:12px;line-height:1.7;margin:8px 0 0;max-width:none;color:var(--muted)}.home-footer-note>span{display:block;font-size:11px;margin-top:8px}
@media(max-width:900px){.home-hero{gap:28px}.home-candidate img{height:180px}.home-candidate-showcase{padding:14px 14px 0}.home-candidate strong{font-size:13px}}
@media(max-width:760px){.intro.home-landing{padding-block:28px 24px}.home-hero{grid-template-columns:1fr;gap:24px;padding-bottom:28px}.home-landing h1{font-size:36px;max-width:20ch;margin-bottom:16px}.home-landing .home-lead{font-size:15px;margin-bottom:20px}.home-landing .intro-eyebrow{font-size:10px;margin-bottom:14px}.home-primary{width:100%;min-height:50px}.home-candidate-showcase{max-width:480px;width:100%;justify-self:center}.home-candidate img{height:140px;object-position:center 25%}.home-candidate>div{min-height:64px;padding:10px 12px}.home-proof{padding:12px 0}.home-landing .home-candidate-showcase>p{margin:12px 0}.home-block-heading{display:block;margin-bottom:18px}.home-landing .home-block-heading h2{font-size:24px}.home-landing .home-block-heading>p{margin-top:8px;max-width:none}.home-landing #home-topics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.home-landing .home-topic-button{min-height:72px;padding:12px;font-size:13px;gap:10px}.home-landing .home-topic-picker{padding:24px 0}.home-landing .home-discover{padding:24px 0;margin-top:0}.home-landing .home-discover-links{grid-template-columns:1fr;gap:12px}.home-landing .home-discover-links a{padding:22px}.home-landing .home-discover-links strong{font-size:21px}.home-landing .home-trust{font-size:10px}.home-proof>span{font-size:11px}}
.large-text .home-landing .home-lead,.large-text .home-landing .home-topic-button,.large-text .home-landing .home-discover-links a>span{font-size:18px}.large-text .home-landing h1{font-size:clamp(38px,4.5vw,60px)}
@media(prefers-reduced-motion:reduce){.home-primary,.home-landing .home-topic-button,.home-landing .home-discover-links a{transition:none}}
/* Trajectories: choose people first, then navigate their career stages. */
#trajetoria .history-controls{margin:24px 0 16px!important}
#trajetoria .history-pair-filter{max-width:none;display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,1fr);gap:8px 24px;align-items:center;padding:20px;border:1px solid var(--ui-border);border-radius:12px;background:#f7f9f5}
#trajetoria .history-pair-filter label{margin:0;font-size:16px}
#trajetoria .history-pair-filter select{grid-column:2;grid-row:1/3;min-height:48px;background:white;font-size:15px}
#trajetoria .history-pair-filter p{margin:0;font-size:12px;line-height:1.6}
#trajetoria .history-pair-filter p a{display:inline;min-height:0;padding:0}
.history-guidance{margin:0 0 24px;border-bottom:1px solid var(--ui-border)}
.history-guidance>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;padding:10px 0;font-size:13px;color:var(--muted);cursor:pointer;list-style:none}
.history-guidance>summary::-webkit-details-marker{display:none}.history-guidance>div{padding:0 16px 16px;background:#fafbf9;border-radius:8px}
#history-profiles{gap:20px}#history-profiles .history-profile{padding:20px;border:1px solid var(--person-edge);border-radius:12px;background:var(--person-surface)}
#history-profiles .profile-person{margin-bottom:16px}#history-profiles .profile-person span{display:block;margin-top:4px;line-height:1.5}
#history-profiles .career-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#history-profiles .career-stats>div{display:flex;flex-direction:column;gap:4px;border:0;padding:10px;background:#ffffff80;border-radius:6px}
#history-profiles .career-stats dt{font-size:12px}#history-profiles .career-stats dd{font-size:16px;font-weight:600;white-space:normal}
#history-profiles .portrait-credit{font-size:10px!important;min-height:32px!important;padding-top:4px}
#history-count{margin:24px 0 20px;padding-top:20px;border-top:1px solid var(--ui-border);font-size:13px}
.career-timelines{gap:32px}.career-person{margin-bottom:16px;font-size:18px}
.career-jump{display:block;font-size:12px;font-weight:600;margin:0 0 28px;color:var(--muted)}
.career-jump select{display:block;width:100%;min-height:44px;font:inherit;font-size:14px;font-weight:400;color:var(--ink);padding:10px 12px;margin-top:6px;background:#fff;border:1px solid var(--person-edge);border-radius:8px}
.career-stage>h3{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;font-size:14px;line-height:1.5;scroll-margin-top:calc(var(--navigation-height,72px) + 20px)}
.career-stage>h3 small{font-size:12px;white-space:nowrap;font-weight:500}
.career-stage .history-event{padding-bottom:32px}.career-event-heading h4{font-size:18px;line-height:1.4}.career-event-heading .history-date{font-size:12px;font-weight:600;color:var(--person-accent)}
.career-context{display:grid;grid-template-columns:1fr 1fr;gap:16px}.career-context>div{margin:0}.career-context dt{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin-bottom:5px}.career-context dd{font-size:13px;line-height:1.7}
.career-stage .career-limit{border-left:2px solid var(--person-edge);border-radius:0;padding:10px 12px;background:#f5f7f4}
.career-stage .history-sources a{min-height:44px;line-height:1.5;padding:10px 0}
#history-list{scroll-margin-top:calc(var(--navigation-height,72px) + 16px)}
@media(max-width:760px){#trajetoria .history-pair-filter{display:block;padding:16px}#trajetoria .history-pair-filter select{margin-top:10px;font-size:16px}#trajetoria .history-pair-filter p{margin-top:10px}#history-profiles{gap:12px}#history-profiles .history-profile{padding:16px}.career-switch{top:var(--navigation-height,64px);z-index:25;margin:0 -4px 20px;padding:8px 4px;background:#fff;border-bottom:1px solid var(--ui-border);gap:12px}.career-switch button{border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;min-height:52px;padding:8px 0}.career-switch button[aria-pressed=true]{background:transparent;outline:0;border-bottom-color:var(--person-accent)}.career-switch button:focus-visible{outline:2px solid var(--forest);outline-offset:-2px}.career-stage>h3{scroll-margin-top:calc(var(--navigation-height,64px) + 92px);padding:12px;font-size:14px}.career-context{grid-template-columns:1fr;gap:12px}.career-event-heading h4{font-size:18px}.career-jump select{font-size:16px}.career-person{font-size:18px}.history-guidance>summary{font-size:12px}.career-stage .history-event>p{font-size:15px}}

/* Quantitative reading cards: number, category, observed period and evidence. */
#history-profiles .career-stats{gap:12px;align-items:start}
#history-profiles .career-stats>.career-metric{padding:18px 16px;background:#ffffffb3;border:1px solid var(--person-edge);border-radius:8px;display:block;min-width:0}
#history-profiles .career-metric dt{min-height:36px;font-size:11px;text-transform:uppercase;letter-spacing:.055em;color:var(--person-accent);font-weight:700;line-height:1.6}
#history-profiles .career-metric dd{margin:8px 0 0;display:block;font-weight:400}
.career-metric-value{display:block;font-family:Manrope,sans-serif;font-size:clamp(44px,5vw,64px);letter-spacing:-.045em;line-height:1.1;color:var(--person-accent)}
.career-metric-unit{display:block;font-size:12px;line-height:1.6;margin-top:10px}.career-metric-period{display:block;font-size:11px;line-height:1.6;color:var(--muted);margin:8px 0 0}
.career-metric-sources{margin-top:12px;border-top:1px solid var(--person-edge)}.career-metric-sources summary{font-size:11px;line-height:1.6;padding:10px 0;cursor:pointer;min-height:44px}.career-metric-sources ul{list-style:none;margin:0;padding:0}.career-metric-sources li{border-top:1px solid var(--person-edge);padding:10px 0;font-size:11px;line-height:1.6;overflow-wrap:anywhere}.career-metric-sources li>span{display:block;font-weight:600}.career-metric-sources a{display:block;min-height:44px;padding:8px 0;font-size:11px}
@media(max-width:360px){#history-profiles .career-stats{grid-template-columns:1fr}}
