/* Visual adaptation from https://transparenciave.org/ (reviewed 2026-10-26).
   Orange #f7941d is the rendered article-heading color, not a claimed brand manual.
   Logo: https://transparenciave.org/wp-content/uploads/2025/03/logo_TV_exilio.png
   Original 697 × 491 PNG retained byte-for-byte, including its full lettering.
   Analytical category/relationship colors retain their existing distinctions. */
:root,body.portal{
  --tv-orange:#f7941d;--tv-orange-ink:#9b4b00;--tv-charcoal:#292929;
  --ink:#292929;--ink2:#454545;--muted:#626262;--quiet:#757575;
  --bg:#f6f6f5;--surface:#fff;--line:#dededb;--line2:#eeeeeb;
  --navy:#292929;--navy2:#3b3b3b;--orange:#f7941d;--teal:#9b4b00;
  --cream:#f6f6f5;--paper:#fff;--slate:#626262;--apricot:#f7941d;--rule:#dededb;
}
/* Institutional logo stays separate from the project title and home link. */
.portal-brand-group,.brand-block{display:flex;align-items:center;gap:22px;min-width:0}
.tv-brand{display:inline-flex;align-items:center;flex:0 0 auto;line-height:0}
.tv-brand img{display:block;width:134px;height:auto;max-width:100%;object-fit:contain}
.portal-brand-group .portal-logo,.brand-words{border-left:1px solid #dededb;padding-left:22px}
.portal-header{padding-top:13px;padding-bottom:13px}
.site-header{height:auto;min-height:122px;padding-top:13px;padding-bottom:13px;gap:24px}
.portal-nav a:hover,.portal-nav a[aria-current=page]{color:var(--tv-orange-ink);border-color:var(--tv-orange)}
.site-nav-inside{background:var(--tv-charcoal)}
.site-nav-inside span{color:#d0d0d0}
.site-nav-inside a{color:#f2f2f2}
.site-nav-inside a:hover,.site-nav-inside a[aria-current=page]{color:#ffbc68;background:#ffffff13}
.cover,.hero,.p2-heading{background:linear-gradient(120deg,#252525 0%,#343434 65%,#463726)}
.cover:before,.p2-heading:after{filter:grayscale(1)}
.hero-texture{background:repeating-radial-gradient(circle at 68% 43%,transparent 0 43px,rgba(255,225,188,.07) 44px,transparent 45px,transparent 76px)}
.cover .overline,.eyebrow.pale,.p2-topline{color:#e0d6c9}
.cover .lead,.hero-copy p,.p2-heading>p{color:#e0e0dd}
.cover-disclaimer,.hero-bottom,.p2-intro-note{color:#dededb;border-top-color:#ffffff35}
.cover h1 em,.hero h1 em,.p2-heading h2 em{color:#ffae49}
.primary-cta,.hero-cta{background:var(--tv-orange);color:#292929!important}
.primary-cta:hover,.hero-cta:hover{background:#ffb04f}
.cover-disclaimer .mark,.warning-mark,.p2-intro-note>span{border-color:#ffae49;color:#ffae49}
.p2-topline i{background:var(--tv-orange)}
.portal-footer,.site-footer{background:#292929;color:#dededb}
.portal-footer a{color:#ffbc68}
/* Warm orange accents for navigation and document actions; dark enough on white. */
.feature-card .go,.source-card .source-action,.feature-strip .feature-pdf-links a,
.feature-strip .feature-main:hover,.feature-strip .feature-main:focus-visible,
.p2-overline,.p2-readme-no,.p2-meta,.p2-actor-row button,.p2-analysis-label,
.p2-analysis-question a{color:var(--tv-orange-ink)}
.link-line{color:var(--tv-orange-ink)!important}
.feature-card:hover{border-color:#e2a65e}
.feature-card .teaser span,.archive-links a{background:#fff8ef;color:var(--tv-orange-ink);border-color:#edcfaa}
.reading blockquote,.matrix-selection-note,.p2-mechanisms-lead{background:#fff6e9;color:#56412c;border-left-color:var(--tv-orange)}
.p2-shell{background:#f6f6f5;border-top-color:var(--tv-charcoal)}
.p2-route-btn.is-active{background:#fff3e1;border-color:#e7b271}
.p2-route-btn.is-active .p2-route-number{color:var(--tv-orange-ink)}
.p2-scope{background:#fff6e9;color:#74471d;border-color:#edcfaa}
.p2-route-btn:hover,.panel-step-2:hover{background:#fff8ef;border-color:#edcfaa}
.panel-step-2{background:#fafaf8;border-color:#dededb}
.p2-graph-foot{background:#f5f5f2;color:#535353;border-left-color:#b8b8b0}
.doc-badge{background:#ededeb;color:#454545}
.doc-badge.s5{background:#fff1dc;color:#8b4604}
.version-card.is-selected .version-type{color:#ffd6a5}
.version-card.is-selected .version-date{color:#dededb}
.version-card.is-selected .version-foot{color:#ffbc68}
body.portal a:focus-visible,body.portal button:focus-visible,body.portal summary:focus-visible,
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,
.site-nav-inside a:focus-visible,.feature-strip a:focus-visible{outline-color:var(--tv-orange-ink)}
.cover a:focus-visible,.hero a:focus-visible,.hero button:focus-visible,
.site-nav-inside a:focus-visible,.portal-footer a:focus-visible{outline-color:#ffbc68}
@media(max-width:1050px){.site-header .header-state{display:none}.portal-brand-group,.brand-block{gap:17px}.portal-brand-group .portal-logo,.brand-words{padding-left:17px}}
@media(max-width:820px){.portal-header{gap:12px}.portal-nav{column-gap:20px}.tv-brand img{width:120px}.site-header{min-height:110px}.header-right{gap:12px}}
@media(max-width:510px){.tv-brand img{width:105px}.portal-brand-group,.brand-block{gap:13px}.portal-brand-group .portal-logo,.brand-words{padding-left:13px}.portal-logo-text strong,.brand-words strong{font-size:12px;letter-spacing:.07em}.portal-logo-text small,.brand-words small{line-height:1.5;letter-spacing:0}.site-header{gap:8px;padding-left:20px;padding-right:20px}.portal-nav{column-gap:16px}.header-link{padding:8px 0}.site-header .tv-brand img{width:94px}}
/* Preserve the matrix's semantic colors and soften purely editorial surfaces. */
.legend-symbol.explicit{color:#138b91}
.result-count{background:#fff3e1}
.case-study{background:#fff6e9;color:#56412c}
.page-title{background:linear-gradient(120deg,#252525 0%,#343434 65%,#463726)}
.page-title .overline{color:#e0d6c9}
.page-title p{color:#e0e0dd}
