/* Interface compartilhada por todas as rotas; as campanhas mantêm as cores originais. */
:root{color-scheme:light}
.masthead-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;width:min(490px,48%);margin-left:auto;min-width:0}
.masthead-actions .masthead-search{width:auto;flex:1;min-width:0;margin:0}
.theme-toggle{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:10px;border:1px solid #ffffff45;border-radius:50%;background:#ffffff08;color:#ffbf2d;cursor:pointer;align-self:flex-end;margin-bottom:8px}
.theme-toggle[hidden]{display:none}
.theme-toggle:hover{background:#ffae0022;border-color:#ffae00}
.theme-toggle:focus-visible{outline:3px solid #ffbf2d;outline-offset:4px}
.theme-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.theme-toggle .theme-sun{display:none}
[data-theme=dark] .theme-toggle .theme-sun{display:block}
[data-theme=dark] .theme-toggle .theme-moon{display:none}
html[data-theme=dark]{--ink:#eeeff2;--muted:#b4b8c0;--paper:#17191c;--soft:#212429;--line:#373b43;--green:#ffc34a;--brand-dark:#ffc34a;color-scheme:dark}
[data-theme=dark] body{background:var(--paper);color:var(--ink)}
[data-theme=dark] .preview-note{background:#202226;color:#eee}
[data-theme=dark] :is(.primary-menu-label>a,.primary-menu-label>button,.unified-menu-toggle){color:#282828}
[data-theme=dark] .primary-submenu{background:#22252a;border-color:var(--line);border-top-color:var(--brand)}
[data-theme=dark] .primary-submenu :is(a,button){color:var(--ink)}
[data-theme=dark] .primary-submenu .primary-menu-label:hover{background:#353024}
[data-theme=dark] .primary-submenu :is(a,button):hover{color:#ffcb5a}
[data-theme=dark] :is(.search-suggest,.site-header .search-suggest,.error-search .search-suggest){background:var(--soft);color:var(--ink);border-color:var(--line)}
[data-theme=dark] .error-search .search-suggest a{color:var(--ink)}
[data-theme=dark] :is(.search-form,.masthead-search .search-form,.site-header .masthead .search-form:focus-within,.error-search .search-form){background:#25282e;color:var(--ink);border-color:#454a54}
[data-theme=dark] :is(.search-form input,.error-search .search-form input){color:var(--ink)}
[data-theme=dark] .search-form input::placeholder,
[data-theme=dark] .masthead-search .search-form input::placeholder,
[data-theme=dark] .error-search .search-form input::placeholder,
[data-theme=dark] .contact-field input::placeholder,
[data-theme=dark] .contact-field textarea::placeholder{color:#b9bdc5;opacity:1}
[data-theme=dark] .search-form .icon-button{color:#282828;background:var(--brand)}
[data-theme=dark] :is(.pill,.share a,.share button,.semed-expand,.filterbar select,.date-filter input,.contact-field input,.contact-field textarea){background:var(--soft);color:var(--ink);border-color:var(--line)}
[data-theme=dark] :is(.pill:hover,.share a:hover,.share button:hover,.semed-expand:hover,.topic-links a:hover,.error-explore a:hover){background:#343025;border-color:#c08b23;color:#ffe0a0}
[data-theme=dark] :is(.pill--green,.pill--green:hover,.pagination .current){background:var(--brand);color:#282828;border-color:var(--brand)}
[data-theme=dark] .filterbar .search-filter-field select{background-color:var(--soft);color:var(--ink);border-color:var(--line);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23eeeff2' stroke-width='1.8'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}
[data-theme=dark] .home-section[data-home-section=poderes]{--band-bg:#25231e}
[data-theme=dark] .home-section[data-home-section=cotidiano]{--band-bg:var(--paper)}
[data-theme=dark] :is(.mosaic-two,.mosaic-three:has([data-home-section=economia])){--band-bg:#1e2126}
[data-theme=dark] .home-section[data-home-section=cotidiano] .eyebrow{color:var(--brand-dark)}
[data-theme=dark] :is(.tce-queue,.tce-queue-heading,.market-cell,.financial-grid .market-cell>a){background:var(--soft);color:var(--ink);border-color:var(--line)}
[data-theme=dark] :is(.tce-item.is-current,.tce-item:hover){background:#3a3020;color:var(--ink)}
[data-theme=dark] :is(.tce-item-text time,.tce-queue-heading>span,.team-role em,.institutional-contact-strip p,.contact-intro,.contact-channel small,.contact-form-bottom>a){color:var(--muted)}
[data-theme=dark] .tce-items{scrollbar-color:#6c717b #25282e}
[data-theme=dark] .site-preloader{background:var(--paper)}
[data-theme=dark] .preloader-brand img{filter:url(#header-logo-white)}
[data-theme=dark] .preloader-label{color:var(--muted)}
[data-theme=dark] .preloader-track{background:var(--line)}
[data-theme=dark] .team-role{background:var(--soft);border-color:var(--line)}
[data-theme=dark] .team-role--lead{background:#282828}
[data-theme=dark] :is(.contact-form-panel,.contact-channel,.contact-layout,.institutional-section){border-color:var(--line)}
[data-theme=dark] .institutional-contact-strip:before{background:#28251e;box-shadow:0 0 0 100vmax #28251e}
[data-theme=dark] :is(.institutional-contact-actions span,.contact-channel>span>span,.culture-voices>a>span:last-child,.error-explore a>span,.error-news>header>a>span){color:#ffce72}
[data-theme=dark] .contact-channel-icon{background:#3a3020;color:#ffce72}
[data-theme=dark] .contact-channel:hover strong{color:#ffce72}
[data-theme=dark] .contact-field :is(input,textarea):focus{background:#292d34;border-color:#ffbf2d}
[data-theme=dark] .contact-form-status{background:var(--soft)}
[data-theme=dark] .contact-form-status.is-error{background:#41251f;color:#ffc3a6}
[data-theme=dark] .contact-form-status.is-success{background:#203b2a;color:#b6e4bd}
[data-theme=dark] .privacy-copy p{color:#d0d3d9}
[data-theme=dark] .privacy-version{color:#ffce72!important}
[data-theme=dark] .editorial-hero--gossip:before{background:linear-gradient(115deg,#302335,#201d27 52%,#17191c 85%)}
[data-theme=dark] .gossip-home:before{background:#211c29;box-shadow:0 0 0 100vmax #211c29}
[data-theme=dark] .gossip-home-brand p{color:#f0e6f6}
[data-theme=dark] :is(.gossip-home-brand>div>span,.gossip-home-grid>.story>.eyebrow,.gossip-home-grid>.story>h3 a:hover){color:#dbabff}
[data-theme=dark] .gossip-home-grid>.story:first-child>.eyebrow{color:white}
[data-theme=dark] .gossip-home-grid>.story:first-child>h3 a:hover{color:#ffcf58}
[data-theme=dark] .gossip-home-more{color:#e7c5ff;border-color:#74528d}
[data-theme=dark] .gossip-home-more:hover{color:white;background:#8230ce}
[data-theme=dark] .gossip-home-grid>.story>.meta{color:#bfb2c7}
[data-theme=dark] .gossip-home-grid>.story{border-color:#493b53}
[data-theme=dark] :is(.dcd-banner,.dcd-dialog,.dcd-reopen,.dcd-external-placeholder,.dcd-market-notice,.dcd-noscript){background:var(--soft);color:var(--ink);border-color:var(--line)}
[data-theme=dark] :is(.dcd-banner p,.dcd-dialog>p,.dcd-option p,.dcd-option>span>span,.dcd-always,.dcd-retention,.dcd-external-placeholder p){color:var(--muted)}
[data-theme=dark] :is(.dcd-kicker,.dcd-banner a,.dcd-dialog a){color:#ffce72}
[data-theme=dark] :is(.dcd-banner button,.dcd-dialog-actions button,.dcd-dialog>header>button,.dcd-external-placeholder button,.dcd-market-notice button){background:#2b2f36;color:var(--ink);border-color:#626977}
[data-theme=dark] .dcd-dialog-actions button[type=submit]{background:var(--brand);color:#282828;border-color:var(--brand)}
[data-theme=dark] .dcd-option{border-color:var(--line)}
[data-theme=dark] .ad.hz-campaign>.ad-label{color:#b4b8c0}
@media(max-width:760px){
 .masthead-actions{width:auto;flex-shrink:0;gap:18px}
 .masthead-actions .masthead-search{flex:0 0 44px}
 .masthead-actions .masthead-search:not(:focus-within) .search-form{gap:0}
 .masthead-actions .masthead-search:not(:focus-within) input[type=search]{flex:0 0 0;width:0;padding:0}
 .theme-toggle{margin:0;align-self:center}
 .masthead-actions .masthead-search:focus-within{width:auto}
 .masthead-actions:has(.masthead-search:focus-within) .theme-toggle{visibility:hidden}
 [data-theme=dark] .masthead-search .search-form{background:transparent}
 [data-theme=dark] .masthead-search:focus-within .search-form{background:#25282e}
}
@media(max-width:359px){
 .site-header .masthead{gap:8px}
 .site-header .masthead .masthead-branding{gap:10px}
 .site-header .masthead .header-seal{padding-left:10px;width:49px}
 .masthead-actions{gap:14px}
}
