:root{
    --bg:#07100e;
    --bg-2:#0a1512;
    --panel:#0e1b17;
    --panel-2:#12221d;
    --line:#1e352d;
    --text:#eef6f2;
    --muted:#91a79d;
    --green:#38e08f;
    --green-2:#1db66d;
    --amber:#f5b84b;
    --orange:#f07a3d;
    --red:#ff5c5c;
    --blue:#5db5ff;
    --max:1280px;
    --radius:14px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
button{font:inherit}
.container{width:min(calc(100% - 40px),var(--max));margin:0 auto}
.container.narrow{width:min(calc(100% - 40px),820px)}
.site-header{position:sticky;top:0;z-index:50;background:rgba(7,16,14,.94);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}
.header-inner{max-width:var(--max);margin:auto;min-height:72px;display:flex;align-items:center;gap:24px;padding:0 20px}
.brand{display:flex;align-items:center;gap:10px;font-weight:900;letter-spacing:.08em;white-space:nowrap}
.brand-logo-wrap{width:40px;height:40px;display:grid;place-items:center;overflow:hidden;border-radius:8px;border:1px solid #1f5b45;background:#07100e}.brand-logo{width:100%;height:100%;object-fit:contain}
.brand-mark{width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--green);border-radius:7px;color:var(--green);font-weight:900}
.brand-text{font-size:15px}
.main-nav{display:flex;align-items:center;gap:18px;margin-left:auto;font-size:13px;color:#cfe0d8;white-space:nowrap}
.main-nav a:hover{color:var(--green)}
.nav-group{position:relative}
.nav-group summary{list-style:none;cursor:pointer;color:#cfe0d8;transition:color .18s ease}
.nav-group summary::-webkit-details-marker{display:none}
.nav-group summary::after{content:" ▾";font-size:10px;color:var(--muted)}
.nav-group summary:hover,.nav-group[open] summary{color:var(--green)}
.nav-dropdown{display:none;position:absolute;top:calc(100% + 14px);left:-14px;min-width:165px;padding:8px;background:#08120f;border:1px solid var(--line);border-radius:8px;box-shadow:0 18px 40px rgba(0,0,0,.28);z-index:60}
.nav-group[open] .nav-dropdown{display:flex;flex-direction:column;gap:2px}
.nav-dropdown a{padding:8px 10px;border-radius:6px}
.nav-dropdown a:hover{background:rgba(56,224,143,.06)}
.section-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.header-cta,.button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--green);border-radius:8px;padding:10px 15px;font-weight:800;font-size:13px}
.header-cta{color:var(--green)}
.button.primary{background:var(--green);color:#04110c;border-color:var(--green)}
.button.full{width:100%}
.nav-toggle{display:none;background:transparent;border:0;padding:8px}
.nav-toggle span{display:block;width:24px;height:2px;background:var(--text);margin:5px 0}
.hero{padding:68px 0 42px;background:radial-gradient(circle at 80% 0%,rgba(56,224,143,.12),transparent 34%),linear-gradient(180deg,#091411 0%,#07100e 100%);border-bottom:1px solid var(--line)}
.eyebrow,.section-kicker{font-size:11px;font-weight:900;letter-spacing:.16em;color:var(--green)}
.hero-grid{display:grid;grid-template-columns:1.55fr .8fr;gap:70px;align-items:end}
.hero h1{font-size:clamp(42px,5.3vw,78px);line-height:.98;letter-spacing:-.05em;margin:22px 0}
.hero h1 span{color:var(--green)}
.hero-copy{max-width:680px;color:var(--muted);font-size:18px}
.hero-status{display:block;background:linear-gradient(180deg,rgba(18,34,29,.80),rgba(14,27,23,.76));border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:0 25px 60px rgba(0,0,0,.25);cursor:pointer;transition:border-color .18s ease,background .18s ease,transform .18s ease,box-shadow .18s ease}

.hero-status:hover{border-color:rgba(105,222,158,.48);background:linear-gradient(180deg,rgba(18,34,29,.74),rgba(14,27,23,.70));transform:translateY(-1px);box-shadow:0 28px 66px rgba(0,0,0,.28)}
.hero-status:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.status-caption{font-size:11px;letter-spacing:.12em;color:var(--muted);font-weight:900}
.global-risk{display:flex;align-items:baseline;margin:8px 0 -4px}
.global-risk strong{font-size:72px;line-height:1;font-weight:950}
.global-risk span{font-size:26px;color:var(--muted)}
.risk-word{font-weight:900;letter-spacing:.12em;margin-bottom:12px}
.hero-status p{color:#c8d8d1;margin:8px 0}
.updated{border-top:1px solid var(--line);padding-top:12px;margin-top:16px;font-size:12px;color:var(--muted)}
.risk-section,.featured-section,.content-section,.reports-section,.topics-section,.archive-section{padding:54px 0}
.risk-section{background:var(--bg-2);border-bottom:1px solid var(--line)}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}
.section-heading.compact{align-items:center}
.section-heading h2{font-size:30px;margin:4px 0 0;letter-spacing:-.02em}
.section-link{font-size:13px;color:var(--green);font-weight:800}
.scale-key{display:flex;gap:12px;font-size:11px;color:var(--muted);flex-wrap:wrap;justify-content:flex-end}
.risk-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.risk-card{display:block;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:17px;color:inherit;text-decoration:none;cursor:pointer;transition:border-color .18s ease,transform .18s ease,background .18s ease}
.risk-card:hover{border-color:rgba(105,222,158,.5);background:#10231c;transform:translateY(-1px)}
.risk-card:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.risk-card-top{display:flex;gap:8px;align-items:center;color:#cfddd7;font-size:11px;font-weight:800;min-height:32px}
.risk-icon{color:var(--green);display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;flex:0 0 16px}.risk-icon svg{display:block;width:16px;height:16px;overflow:visible}
.risk-value{display:flex;align-items:baseline;margin:14px 0 11px}
.risk-value strong{font-size:33px;line-height:1}
.risk-value span{font-size:14px;color:var(--muted)}
.risk-trend{font-size:11px;font-weight:700;color:#b9d2c7;line-height:1.4;min-height:16px;margin:-3px 0 10px;white-space:normal}
.risk-meter{display:grid;grid-template-columns:repeat(5,1fr);gap:4px}
.risk-meter span{height:4px;background:#263a33;border-radius:9px}
.risk-level-1{--risk:#48d597}.risk-level-2{--risk:#a4d65e}.risk-level-3{--risk:#f5b84b}.risk-level-4{--risk:#f07a3d}.risk-level-5{--risk:#ff5c5c}
.risk-level-1 .risk-word,.risk-level-2 .risk-word,.risk-level-3 .risk-word,.risk-level-4 .risk-word,.risk-level-5 .risk-word,
.risk-level-1 .risk-value strong,.risk-level-2 .risk-value strong,.risk-level-3 .risk-value strong,.risk-level-4 .risk-value strong,.risk-level-5 .risk-value strong,
.risk-level-1.global-risk strong,.risk-level-2.global-risk strong,.risk-level-3.global-risk strong,.risk-level-4.global-risk strong,.risk-level-5.global-risk strong{color:var(--risk)}
.risk-level-1 .risk-meter span:nth-child(-n+1),
.risk-level-2 .risk-meter span:nth-child(-n+2),
.risk-level-3 .risk-meter span:nth-child(-n+3),
.risk-level-4 .risk-meter span:nth-child(-n+4),
.risk-level-5 .risk-meter span:nth-child(-n+5){background:var(--risk)}
.sitrep-feature{display:grid;grid-template-columns:1.2fr .8fr;background:linear-gradient(135deg,#102019,#0b1713);border:1px solid #244738;border-radius:var(--radius);overflow:hidden}
.sitrep-main{padding:34px}
.sitrep-meta,.post-card-kicker,.article-meta{display:flex;gap:12px;align-items:center;font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
.sitrep-meta span:nth-child(2){color:var(--green);font-weight:900}
.signal-dot{width:7px;height:7px;background:var(--green);border-radius:50%;box-shadow:0 0 14px var(--green)}
.sitrep-feature h2{font-size:36px;line-height:1.1;margin:16px 0 14px;letter-spacing:-.025em}
.sitrep-feature p{color:#aebfb7;max-width:720px}
.sitrep-image{min-height:320px}
.sitrep-image img{width:100%;height:100%;object-fit:cover}
.feature-actions{display:flex;gap:14px;align-items:center;margin-top:26px}
.topic-label{font-size:11px;border:1px solid var(--line);border-radius:999px;padding:8px 12px;color:var(--muted)}
.empty-state{padding:32px;border:1px dashed var(--line);border-radius:var(--radius);color:var(--muted);background:var(--panel)}
.empty-state.wide{grid-column:1/-1}
.content-with-rail{display:grid;grid-template-columns:1fr 300px;gap:28px}
.posts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.post-card{background:var(--panel);border:1px solid var(--line);border-radius:12px;overflow:hidden;transition:.2s transform,.2s border-color}
.post-card:hover{transform:translateY(-3px);border-color:#325b4b}
.post-card-link{display:block;padding:22px;height:100%}
.post-card-kicker{justify-content:space-between}
.post-card-kicker span{color:var(--green);font-weight:800}
.post-card h3{font-size:20px;line-height:1.2;margin:16px 0 10px}
.post-card p{font-size:14px;color:var(--muted)}
.read-link{font-size:12px;color:var(--green);font-weight:900}
.side-rail{display:flex;flex-direction:column;gap:16px}
.monitoring-grid{align-items:start}
.monitoring-list{height:var(--monitoring-list-height,540px);overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:#315b4a #0b1713}
.monitoring-list::-webkit-scrollbar{width:8px}
.monitoring-list::-webkit-scrollbar-track{background:#0b1713}
.monitoring-list::-webkit-scrollbar-thumb{background:#315b4a;border-radius:999px}
.monitoring-list-row{min-height:50px}
.monitoring-type{color:var(--green)}
.monitoring-empty{height:100%;display:flex;flex-direction:column;justify-content:center;border:0;border-radius:0}
.ad-slot{display:flex;min-height:250px;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:repeating-linear-gradient(135deg,#0b1512,#0b1512 10px,#0d1915 10px,#0d1915 20px);border:1px dashed #29453a;border-radius:12px;color:var(--muted)}
.ad-slot span{font-size:9px;letter-spacing:.18em;margin-bottom:10px}
.ad-slot strong{color:#bbcbc4;font-size:14px}
.ad-slot small{margin-top:5px}
.newsletter-card{background:linear-gradient(180deg,#14271f,#0d1915);border:1px solid #28513f;border-radius:12px;padding:22px}
.newsletter-card h3{font-size:24px;line-height:1.1;margin:10px 0}
.newsletter-card p{color:var(--muted);font-size:14px}
.reports-section{background:var(--bg-2);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.analysis-subsection{margin-top:36px;padding-top:30px;border-top:1px solid var(--line)}
.analysis-subheading{margin-bottom:18px}
.analysis-subheading h3{font-size:30px;line-height:1.1;margin:8px 0 0}
.analysis-list{overflow:hidden;background:rgba(10,22,18,.45);border:1px solid var(--line);border-radius:12px}
.analysis-list-row{display:grid;grid-template-columns:108px minmax(0,1fr) auto 18px;align-items:center;gap:16px;padding:14px 16px;border-top:1px solid var(--line);transition:background .18s ease,border-color .18s ease}
.analysis-list-row:first-child{border-top:0}
.analysis-list-row:hover{background:rgba(56,224,143,.07)}
.analysis-list-row.is-latest{background:linear-gradient(90deg,rgba(56,224,143,.09),rgba(14,27,23,.42))}
.analysis-list-row.is-latest:hover{background:linear-gradient(90deg,rgba(56,224,143,.13),rgba(14,27,23,.58))}
.analysis-row-label{font-size:10px;font-weight:900;letter-spacing:.1em;color:var(--muted);white-space:nowrap;text-transform:uppercase}
.analysis-list-row.is-latest .analysis-row-label{color:var(--green)}
.analysis-row-title{min-width:0;font-size:15px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.analysis-row-meta{font-size:11px;color:var(--muted);white-space:nowrap}
.analysis-row-arrow{font-size:16px;font-weight:900;color:var(--green);transition:transform .18s ease}
.analysis-list-row:hover .analysis-row-arrow{transform:translateX(3px)}
.topic-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.topic-card{display:grid;grid-template-columns:44px 1fr;grid-template-rows:auto auto;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:20px;gap:2px 12px}
.topic-card>span{grid-row:1/3;display:grid;place-items:center;width:44px;height:44px;border-radius:9px;background:#122c22;color:var(--green);font-size:21px}
.topic-card strong{font-size:15px;line-height:1.2}
.topic-card small{color:var(--muted)}
.topic-card:hover{border-color:#37604f}
.ad-band{padding:8px 0 50px}
.ad-slot.horizontal{min-height:110px}
.archive-hero{padding:58px 0 36px;background:var(--bg-2);border-bottom:1px solid var(--line)}
.archive-hero h1{font-size:48px;margin:8px 0;letter-spacing:-.04em}
.archive-hero p{color:var(--muted)}
.archive-grid{grid-template-columns:repeat(3,1fr)}
.pagination-wrap{margin-top:30px}
.pagination{display:flex;justify-content:space-between;color:var(--green)}
.article-header{padding:64px 0 24px;background:var(--bg-2);border-bottom:1px solid var(--line)}
.article-meta a{color:var(--green)}
.article h1{font-size:clamp(40px,5vw,68px);line-height:1.03;letter-spacing:-.045em;margin:14px 0}
.article-deck{font-size:20px;color:var(--muted);max-width:760px}
.feature-image{margin:36px 0 0}
.feature-image img{width:100%;max-height:650px;object-fit:cover;border-radius:12px}
.feature-image figcaption{color:var(--muted);font-size:12px;margin-top:8px}
.article-layout{display:grid;grid-template-columns:minmax(0,820px) 300px;justify-content:center;gap:54px;padding-top:48px;padding-bottom:40px}
.article-rail{display:flex;flex-direction:column;gap:16px}
.compact-card h3{font-size:20px}
.gh-content{font-size:18px;color:#dce7e2}
.gh-content p,.gh-content ul,.gh-content ol,.gh-content blockquote{margin:0 0 1.35em}
.gh-content h2,.gh-content h3{color:var(--text);line-height:1.2;margin-top:1.7em}
.gh-content a{color:var(--green);text-decoration:underline;text-underline-offset:3px}
.gh-content blockquote{border-left:3px solid var(--green);padding-left:20px;color:#b9cbc2}
.gh-content img{border-radius:10px}
.gh-content table{width:100%;border-collapse:collapse;font-size:14px}
.gh-content th,.gh-content td{border:1px solid var(--line);padding:10px;text-align:left}
.article-footer{padding-bottom:60px}
.tag-list a{display:inline-block;border:1px solid var(--line);border-radius:999px;padding:6px 10px;margin:0 6px 6px 0;font-size:12px;color:var(--muted)}
.page-article{padding-bottom:60px}
.site-footer{border-top:1px solid var(--line);padding:52px 20px 22px;background:#050b09}
.footer-grid{max-width:var(--max);margin:auto}
.footer-institutional{display:grid;grid-template-columns:minmax(220px,1.25fr) repeat(4,minmax(145px,1fr));gap:34px;align-items:start}
.footer-intro{padding-right:16px}
.footer-brand{font-weight:950;letter-spacing:.09em;color:var(--text)}
.footer-grid p{color:var(--muted);font-size:13px;line-height:1.6;margin:10px 0 0}
.footer-independent{font-size:11px!important;color:#6f847b!important}
.footer-column{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#aebfb7}
.footer-heading{font-size:10px;font-weight:950;letter-spacing:.15em;text-transform:uppercase;color:var(--green);margin-bottom:4px}
.footer-column a{line-height:1.4;transition:color .18s ease}
.footer-column a:hover{color:var(--green)}
.footer-bottom{max-width:var(--max);margin:38px auto 0;padding-top:18px;border-top:1px solid var(--line);font-size:11px;color:#6f847b;display:flex;justify-content:space-between;gap:20px}

@media (max-width:1120px){
    .main-nav{position:absolute;display:none;left:0;right:0;top:72px;background:#08120f;border-bottom:1px solid var(--line);padding:20px;flex-direction:column;align-items:flex-start}
    .main-nav.is-open{display:flex}
    .nav-group{width:100%}
    .nav-group summary{width:100%}
    .nav-dropdown{position:static;display:none;min-width:0;margin-top:8px;padding:4px 0 4px 14px;background:transparent;border:0;border-left:1px solid var(--line);border-radius:0;box-shadow:none}
    .nav-group[open] .nav-dropdown{display:flex}
    .nav-dropdown a{padding:6px 0}
    .nav-toggle{display:block;margin-left:auto}
    .header-cta{display:none}
    .risk-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
    .hero-grid{grid-template-columns:1.25fr .75fr;gap:30px}
}
@media (max-width:820px){
    .container,.container.narrow{width:min(calc(100% - 28px),var(--max))}
    .footer-institutional{grid-template-columns:repeat(2,minmax(0,1fr));}
    .footer-intro{grid-column:1/-1;max-width:620px}
    .hero{padding-top:44px}
    .hero-grid,.sitrep-feature,.content-with-rail,.article-layout{grid-template-columns:1fr}
    .hero-status{max-width:none}
    .risk-grid{grid-template-columns:repeat(2,1fr)}
    .posts-grid,.archive-grid{grid-template-columns:1fr}
    .topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .side-rail,.article-rail{display:grid;grid-template-columns:1fr 1fr}
    .monitoring-list{height:360px;max-height:360px;-webkit-overflow-scrolling:touch;touch-action:pan-y}
    .sitrep-image{min-height:220px}
    .section-heading{align-items:flex-start}
    .analysis-list-row{grid-template-columns:96px minmax(0,1fr) 18px;gap:10px 12px}
    .analysis-row-meta{grid-column:2/3;font-size:10px}
    .analysis-row-arrow{grid-column:3/4;grid-row:1/3}
    .scale-key{display:none}
    .article-layout{padding-top:32px}
}
@media (max-width:560px){
    .topic-grid{grid-template-columns:1fr}
    .footer-institutional{grid-template-columns:1fr}
    .footer-intro{grid-column:auto}
    .header-inner{min-height:64px}
    .main-nav{top:64px}
    .hero h1{font-size:42px}
    .hero-grid{gap:22px}
    .risk-grid{grid-template-columns:1fr 1fr}
    .risk-card{padding:14px}
    .sitrep-main{padding:22px}
    .sitrep-feature h2{font-size:28px}
    .side-rail,.article-rail{grid-template-columns:1fr}
    .monitoring-list{height:420px;max-height:420px}
    .footer-institutional{grid-template-columns:1fr;gap:26px}
    .footer-intro{grid-column:auto;padding-right:0}
    .footer-bottom{flex-direction:column;gap:6px}
    .article h1{font-size:40px}
    .analysis-list-row{grid-template-columns:1fr 18px;padding:13px 14px;gap:4px 10px}
    .analysis-row-label{grid-column:1/-1}
    .analysis-row-title{grid-column:1/2;white-space:normal;overflow:visible;text-overflow:clip}
    .analysis-row-meta{grid-column:1/2}
    .analysis-row-arrow{grid-column:2/3;grid-row:2/4;align-self:center}
}


/* Ghost Koenig editor layout classes required by GScan */
.kg-width-wide{
    width:min(1100px, calc(100vw - 40px));
    max-width:none;
    margin-left:50%;
    transform:translateX(-50%);
}
.kg-width-full{
    width:100vw;
    max-width:none;
    margin-left:50%;
    transform:translateX(-50%);
}
.gh-content .kg-width-wide img,
.gh-content .kg-width-full img{
    width:100%;
}

.methodology-link{
    display:inline-block;
    margin-top:6px;
    font-size:12px;
    font-weight:800;
    color:var(--green);
}
.methodology-link:hover{
    text-decoration:underline;
    text-underline-offset:3px;
}

.brand-text{
    font-weight:950;
    letter-spacing:.09em;
}
@media (max-width:560px){
    .topic-grid{grid-template-columns:1fr}
    .brand-logo-wrap{width:36px;height:36px}
    .brand-text{font-size:13px}
}


/* PREPPERS.PT header brand — v1.0.8 */
.brand{
    display:flex;
    align-items:center;
    flex:0 0 auto;
}
.brand-header-logo{
    display:block;
    width:auto;
    height:64px;
    max-width:335px;
    object-fit:contain;
}
.header-inner{
    min-height:92px;
}
@media (max-width:820px){
    .brand-header-logo{
        height:54px;
        max-width:275px;
    }
    .header-inner{
        min-height:80px;
    }
}
@media (max-width:560px){
    .topic-grid{grid-template-columns:1fr}
    .brand-header-logo{
        height:44px;
        max-width:225px;
    }
    .header-inner{
        min-height:72px;
    }
}


/* Nota institucional abaixo da descrição principal */
.official-notice{
    display:flex;
    align-items:flex-start;
    gap:10px;
    max-width:760px;
    margin-top:18px;
    padding:12px 14px;
    border-left:3px solid var(--green);
    background:rgba(56,224,143,.06);
    border-radius:0 8px 8px 0;
}
.official-notice-label{
    flex:0 0 auto;
    font-size:9px;
    font-weight:950;
    letter-spacing:.16em;
    color:var(--green);
    padding-top:2px;
}
.official-notice p{
    margin:0;
    color:#aebfb7;
    font-size:12px;
    line-height:1.55;
}


.official-notice-link{
    color:var(--green);
    font-weight:800;
    text-decoration:underline;
    text-underline-offset:3px;
}
.official-notice-link:hover{
    opacity:.85;
}


/* PREPPERS.PT live operational activity — v1.0.23 */
.hero{
    position:relative;
    overflow:hidden;
    isolation:isolate;
}

/* Oversized tactical radar scope.
   Unlike the previous viewport-sized conic gradient, this is a real,
   large circular plotting surface, so the sweep visibly reaches far
   beyond the content card and across the full hero. */
.radar-scope{
    --sweep-angle:0deg;
    position:absolute;
    left:74%;
    top:43%;
    width:max(1900px,165vw);
    aspect-ratio:1/1;
    transform:translate(-50%,-50%);
    z-index:0;
    pointer-events:none;
    border-radius:50%;
    opacity:.48;
    background:
        /* centre glow */
        radial-gradient(circle at 50% 50%, rgba(187,207,132,.28) 0 1px, transparent 1px 100%),

        /* long-range rings */
        repeating-radial-gradient(circle at 50% 50%,
            rgba(130,151,91,.105) 0 1px,
            transparent 1px 72px),

        /* crosshair */
        linear-gradient(90deg,
            transparent 49.96%,
            rgba(130,151,91,.09) 50%,
            transparent 50.04%),
        linear-gradient(
            transparent 49.96%,
            rgba(130,151,91,.09) 50%,
            transparent 50.04%),

        /* subtle phosphor field */
        radial-gradient(circle at 50% 50%,
            rgba(84,108,55,.045) 0,
            rgba(65,86,43,.018) 42%,
            rgba(7,14,10,.12) 70%,
            rgba(7,14,10,.55) 100%);
}

/* Fine azimuth ticks, independent of the sweep */
.radar-scope::before{
    content:"";
    position:absolute;
    inset:0;
    border-radius:50%;
    background:
        repeating-conic-gradient(
            from 0deg,
            rgba(147,168,102,.14) 0deg .22deg,
            transparent .22deg 5deg
        );
    opacity:.42;
    -webkit-mask:radial-gradient(circle at 50% 50%,
        transparent 0 37%,
        #000 37.2% 49.7%,
        transparent 50%);
    mask:radial-gradient(circle at 50% 50%,
        transparent 0 37%,
        #000 37.2% 49.7%,
        transparent 50%);
}

/* The sweep occupies the whole oversized scope, so the beam travels
   to the most distant visible rings. Rotation is driven by JS so the
   contacts use the exact same angle. */
.radar-sweep{
    position:absolute;
    inset:0;
    border-radius:50%;
    background:
        conic-gradient(
            from 0deg at 50% 50%,
            transparent 0deg 337deg,
            rgba(105,136,73,0) 337deg,
            rgba(115,149,80,.025) 343deg,
            rgba(145,174,98,.07) 348deg,
            rgba(184,207,124,.20) 352.5deg,
            rgba(128,160,88,.08) 356deg,
            transparent 360deg
        );
    transform:rotate(0deg);
    transform-origin:50% 50%;
    /* Avoid a continuously animated filter over the oversized radar layer. */
}

/* small central tactical reticle */
.radar-center-mark{
    position:absolute;
    left:50%;
    top:50%;
    width:18px;
    height:18px;
    transform:translate(-50%,-50%) rotate(45deg);
    border:1px solid rgba(181,202,128,.30);
}
.radar-center-mark::before,
.radar-center-mark::after{
    content:"";
    position:absolute;
    background:rgba(181,202,128,.25);
}
.radar-center-mark::before{
    left:8px;
    top:-7px;
    width:1px;
    height:30px;
}
.radar-center-mark::after{
    left:-7px;
    top:8px;
    width:30px;
    height:1px;
}

.hero > .container{
    position:relative;
    z-index:4;
}

/* bearing references */
.radar-bearing-overlay{
    position:absolute;
    inset:0;
    z-index:2;
    pointer-events:none;
    color:rgba(172,193,121,.34);
    font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
    font-size:9px;
    font-weight:800;
    letter-spacing:.08em;
}
.bearing{position:absolute}
.bearing-000{left:73.4%;top:4.8%}
.bearing-090{right:1.7%;top:41.2%}
.bearing-180{left:73.1%;bottom:4.8%}
.bearing-270{left:47.7%;top:41.2%}

/* Contacts are positioned in hero coordinates.
   Their illumination is no longer independently animated: JS calculates
   each bearing from the real rendered centre and lights the contact only
   when the same sweep angle reaches it. */
.radar-blips{
    position:absolute;
    inset:0;
    z-index:3;
    pointer-events:none;
}
.radar-blip{
    position:absolute;
    width:6px;
    height:6px;
    border-radius:50%;
    background:#742b2b;
    border:1px solid rgba(158,73,73,.78);
    opacity:0;
    box-shadow:0 0 0 0 rgba(116,43,43,0),0 0 8px rgba(116,43,43,0);
}
.radar-blip::after{
    content:"";
    position:absolute;
    inset:-6px;
    border:1px solid rgba(139,58,58,.28);
    border-radius:50%;
    opacity:0;
    transform:scale(.45);
}

/* Wider distribution — several contacts sit on the outer half of the scope */
.radar-blip-1{left:54%;top:18%}
.radar-blip-2{left:64%;top:29%}
.radar-blip-3{left:82%;top:15%}
.radar-blip-4{left:94%;top:31%}
.radar-blip-5{left:92%;top:65%}
.radar-blip-6{left:79%;top:76%}
.radar-blip-7{left:62%;top:68%}
.radar-blip-8{left:55%;top:49%}

.radar-blip.is-detected{
    animation:radar-hit .92s ease-out forwards;
}
.radar-blip.is-detected::after{
    animation:radar-hit-ring .92s ease-out forwards;
}

@keyframes radar-hit{
    0%{
        opacity:0;
        box-shadow:0 0 0 0 rgba(116,43,43,0),0 0 7px rgba(116,43,43,0);
    }
    10%{
        opacity:1;
        box-shadow:0 0 0 0 rgba(116,43,43,.24),0 0 11px rgba(116,43,43,.34);
    }
    36%{opacity:.88}
    62%{opacity:.62}
    82%{opacity:.30}
    100%{
        opacity:0;
        box-shadow:0 0 0 0 rgba(116,43,43,0),0 0 8px rgba(116,43,43,0);
    }
}
@keyframes radar-hit-ring{
    0%{opacity:0;transform:scale(.45)}
    12%{opacity:.40;transform:scale(.72)}
    42%{opacity:.28;transform:scale(1.02)}
    76%{opacity:.14;transform:scale(1.48)}
    100%{opacity:0;transform:scale(1.95)}
}

.ops-livebar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin:-3px 0 17px;
    padding:9px 11px;
    border:1px solid rgba(56,224,143,.22);
    border-radius:8px;
    background:rgba(5,14,11,.58);
    box-shadow:inset 0 0 24px rgba(56,224,143,.025);
}
.ops-live-state{
    display:flex;
    align-items:center;
    gap:8px;
    color:var(--green);
    font-size:9px;
    font-weight:950;
    letter-spacing:.13em;
    white-space:nowrap;
}
.ops-pulse{
    width:7px;
    height:7px;
    border-radius:50%;
    background:var(--green);
    box-shadow:0 0 0 0 rgba(56,224,143,.42);
    animation:ops-pulse 1.8s ease-out infinite;
}
@keyframes ops-pulse{
    0%{box-shadow:0 0 0 0 rgba(56,224,143,.40)}
    68%{box-shadow:0 0 0 8px rgba(56,224,143,0)}
    100%{box-shadow:0 0 0 0 rgba(56,224,143,0)}
}
.ops-live-clock{
    color:#c7ddd3;
    font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
    font-size:10px;
    font-weight:800;
    letter-spacing:.045em;
    white-space:nowrap;
}
@media (max-width:560px){
    .ops-livebar{
        align-items:flex-start;
        flex-direction:column;
        gap:5px;
    }
    .ops-live-clock{
        font-size:9px;
    }
}
@media (prefers-reduced-motion:reduce){
    .ops-pulse,
    .radar-blip.is-detected,
    .radar-blip.is-detected::after{
        animation:none;
    }
}

/* v1.0.48 — Áreas de Vigilância */
.watch-area-hero{padding:58px 0 42px;background:linear-gradient(180deg,var(--bg-2),var(--bg));border-bottom:1px solid var(--line)}
.watch-area-label{font-size:11px;font-weight:900;letter-spacing:.16em;color:var(--green);margin-bottom:10px}
.watch-area-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px}
.watch-area-heading h1{font-size:48px;line-height:1;margin:0 0 14px;letter-spacing:-.04em}
.watch-area-heading p{max-width:820px;margin:0;color:var(--muted);font-size:16px;line-height:1.65}
.watch-area-status{display:flex;align-items:center;gap:9px;white-space:nowrap;border:1px solid var(--line);background:var(--panel);border-radius:999px;padding:9px 13px;font-size:10px;font-weight:800;letter-spacing:.1em;color:var(--muted)}
.watch-area-dot{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 12px var(--green)}
.watch-area-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:24px}
.watch-area-section-head h2{margin:7px 0 0;font-size:30px;letter-spacing:-.025em}
.watch-area-count{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
.watch-area-empty{border:1px solid var(--line);background:var(--panel);border-radius:12px;padding:28px}
.watch-area-empty strong{display:block;font-size:18px;margin-bottom:8px}
.watch-area-empty p{margin:0;color:var(--muted)}
@media(max-width:760px){.watch-area-heading{display:block}.watch-area-heading h1{font-size:38px}.watch-area-status{display:inline-flex;margin-top:24px}.watch-area-section-head{align-items:flex-start;flex-direction:column}.watch-area-count{margin-top:-8px}}

/* v1.0.50 — Avaliação actual por Área de Vigilância */
.watch-area-assessment-wrap{padding:28px 0 10px;background:var(--bg)}
.watch-area-assessment{border:1px solid var(--line);border-left:3px solid var(--green);background:linear-gradient(135deg,rgba(13,31,24,.96),rgba(7,18,14,.94));border-radius:12px;padding:24px 26px;box-shadow:inset 0 0 34px rgba(56,224,143,.025)}
.watch-area-assessment-top{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}
.watch-area-assessment-top h2{margin:6px 0 0;font-size:24px;letter-spacing:-.02em}
.watch-area-risk-badge{display:flex;align-items:center;gap:12px;min-width:150px;justify-content:flex-end}
.watch-area-risk-number{font-size:32px;line-height:1;font-weight:950;color:var(--green)}
.watch-area-risk-number small{font-size:14px;color:var(--muted);font-weight:800}
.watch-area-risk-word{font-size:11px;font-weight:950;letter-spacing:.12em;color:#d9ebe2}
.watch-area-assessment-body{max-width:880px;margin-top:17px}
.watch-area-assessment-body p{margin:0;color:#c4d4cd;font-size:15px;line-height:1.65}
.watch-area-assessment-meta{display:flex;gap:28px;flex-wrap:wrap;margin-top:18px;padding-top:15px;border-top:1px solid var(--line);font-size:11px;color:var(--muted);letter-spacing:.025em}
.watch-area-assessment-meta strong{color:#d9ebe2}
.trend-stable{color:var(--green);font-weight:850}
@media(max-width:620px){.watch-area-assessment{padding:20px}.watch-area-assessment-top{gap:14px}.watch-area-risk-badge{min-width:auto;display:block;text-align:right}.watch-area-risk-word{display:block;margin-top:5px}.watch-area-assessment-meta{display:block}.watch-area-assessment-meta span{display:block;margin-top:7px}}

/* v1.0.51 — Risco Actual */
.risk-current-hero{padding:64px 0 42px;background:linear-gradient(180deg,rgba(14,34,27,.72),rgba(5,19,15,.18));border-bottom:1px solid var(--line)}
.risk-current-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-top:8px}
.risk-current-heading h1{margin:0;font-size:clamp(2.2rem,6vw,4.6rem);line-height:.98}
.risk-current-badge{display:flex;flex-direction:column;align-items:flex-end;min-width:120px}
.risk-current-number{font-size:3.6rem;font-weight:800;line-height:1}.risk-current-number small{font-size:1.15rem;color:var(--muted);font-weight:500}.risk-current-badge strong{letter-spacing:.12em;margin-top:5px}
.risk-current-summary{max-width:760px;font-size:1.18rem;line-height:1.6;color:#d2dfd9;margin:28px 0 20px}
.risk-current-meta{display:flex;gap:28px;flex-wrap:wrap;padding-top:16px;border-top:1px solid var(--line);font-size:.82rem;color:var(--muted)}
.risk-current-analysis{padding-top:46px;padding-bottom:48px}.risk-current-analysis .gh-content{margin-top:14px}
.risk-current-areas{padding:44px 0 58px;border-top:1px solid var(--line);background:rgba(4,16,12,.28)}
.risk-current-links{display:flex;gap:24px;flex-wrap:wrap;margin-top:26px}.risk-current-links a{color:var(--green);font-weight:700}
@media(max-width:700px){.risk-current-hero{padding:42px 0 30px}.risk-current-heading{align-items:flex-start}.risk-current-badge{min-width:88px}.risk-current-number{font-size:2.7rem}.risk-current-summary{font-size:1rem}.risk-current-meta{gap:10px;flex-direction:column}}

/* v1.0.53 — Fundamentação das Áreas de Vigilância */
.watch-area-rationale-wrap{padding:12px 0 18px;background:var(--bg)}
.watch-area-rationale{border:1px solid var(--line);background:rgba(8,20,15,.72);border-radius:12px;padding:24px 26px}
.watch-area-rationale-head{padding-bottom:14px;margin-bottom:16px;border-bottom:1px solid var(--line)}
.watch-area-rationale-content{max-width:920px;color:#c4d4cd;font-size:15px;line-height:1.72}
.watch-area-rationale-content>*:first-child{margin-top:0}
.watch-area-rationale-content>*:last-child{margin-bottom:0}
.watch-area-rationale-content h2,.watch-area-rationale-content h3{color:#edf8f2;margin:22px 0 9px}
.watch-area-rationale-content a{color:var(--green);text-decoration:underline;text-underline-offset:3px}
.watch-area-rationale-content ul,.watch-area-rationale-content ol{padding-left:22px}
@media(max-width:620px){.watch-area-rationale{padding:20px}}

.watch-area-updated{text-transform:uppercase}

/* PREPPERS.PT mobile article overflow fix — v1.0.63
   Prevents long source URLs / Koenig content from widening the article grid
   and shifting the mobile viewport so the beginning of the page is hidden. */
.article-layout,
.gh-content,
.article-header,
.article-header .container,
.article-footer{
    min-width:0;
}
.gh-content{
    width:100%;
    max-width:100%;
    overflow-wrap:anywhere;
    word-break:normal;
}
.gh-content a{
    overflow-wrap:anywhere;
    word-break:break-word;
}
.gh-content pre,
.gh-content code{
    max-width:100%;
    white-space:pre-wrap;
    overflow-wrap:anywhere;
}
.gh-content table{
    display:block;
    max-width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
}

@media (max-width:820px){
    html,body,.site-shell,main,.article{
        max-width:100%;
        overflow-x:hidden;
    }
    .article-header{
        padding-top:40px;
    }
    .article-layout{
        width:min(calc(100% - 28px),var(--max));
        min-width:0;
        gap:28px;
    }
    .gh-content .kg-width-wide,
    .gh-content .kg-width-full{
        width:100%;
        max-width:100%;
        margin-left:0;
        transform:none;
    }
}

@media (max-width:560px){
    .article-header{
        padding-top:32px;
    }
    .article h1{
        font-size:clamp(32px,10vw,40px);
        overflow-wrap:anywhere;
    }
    .article-meta{
        flex-wrap:wrap;
    }
}

/* v1.0.66 — classificação robusta da secção Actualidade.
   A classe de cada tag é escrita directamente na linha pelo Ghost;
   assim a etiqueta não depende do helper #has. */
.monitoring-label{display:none}
.monitoring-list-row.tag-alerta .monitoring-label-alerta{display:inline}
.monitoring-list-row.tag-noticia:not(.tag-alerta) .monitoring-label-noticia{display:inline}
.monitoring-list-row.tag-actualizacao:not(.tag-alerta):not(.tag-noticia) .monitoring-label-actualizacao{display:inline}

/* v1.0.67 — scroll táctil na caixa Actualidade. */
@media (hover:none) and (pointer:coarse){
  .monitoring-list{scrollbar-width:none}
  .monitoring-list::-webkit-scrollbar{display:none}
}


/* v1.0.68 — Actualidade: viewport de scroll real e independente.
   A altura é limitada para garantir que o histórico é navegável por rato/trackpad/toque. */
.monitoring-list{
    height:420px !important;
    max-height:420px !important;
    min-height:0;
    overflow-y:scroll !important;
    overflow-x:hidden !important;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-y:contain;
    touch-action:pan-y !important;
    scrollbar-gutter:stable;
}
@media (max-width:820px){
    .monitoring-list{height:390px !important;max-height:390px !important;}
}
@media (max-width:560px){
    .monitoring-list{height:360px !important;max-height:360px !important;}
}
@media (hover:none) and (pointer:coarse){
    .monitoring-list{scrollbar-width:none;}
    .monitoring-list::-webkit-scrollbar{display:none;}
}


/* v1.1.13 — Actualidade: 15 linhas visíveis no desktop, scroll próprio.
   A coluna lateral só contém a subscrição; o espaço inferior fica vazio. */
@media (min-width:821px){
  .monitoring-grid{align-items:start;}
  .monitoring-list{
    height:825px !important;
    max-height:825px !important;
    overflow-y:auto !important;
  }
  .monitoring-list-row{
    height:55px;
    min-height:55px;
    box-sizing:border-box;
  }
}

/* v1.0.70 — Template oficial de Relatórios PREPPERS.PT */
.report-article{--report-accent:var(--green)}
.report-hero{padding:52px 0 30px;background:radial-gradient(circle at 82% 8%,rgba(56,224,143,.10),transparent 30%),linear-gradient(180deg,#0a1713 0%,#07100e 100%);border-bottom:1px solid var(--line)}
.report-hero-inner{position:relative}
.report-identity{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:10px;font-weight:950;letter-spacing:.15em;color:var(--report-accent)}
.report-signal{width:7px;height:7px;border-radius:50%;background:var(--report-accent);box-shadow:0 0 14px rgba(56,224,143,.8)}
.report-classification{color:var(--muted);padding-left:10px;border-left:1px solid var(--line)}
.report-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:48px;align-items:end;margin-top:28px}
.report-meta{margin-bottom:13px}.report-meta a{color:var(--report-accent);font-weight:900}
.report-hero h1{max-width:930px;margin:0;font-size:clamp(38px,5.2vw,68px);line-height:1.02;letter-spacing:-.045em}
.report-deck{max-width:820px;margin:20px 0 0;color:#b9cbc3;font-size:18px;line-height:1.6}
.report-stamp{border:1px solid #2d5d49;border-radius:12px;padding:20px;background:rgba(9,24,18,.72);text-align:right;box-shadow:inset 0 0 32px rgba(56,224,143,.035)}
.report-stamp span,.report-stamp small{display:block;font-size:9px;letter-spacing:.15em;color:var(--muted);font-weight:900}.report-stamp strong{display:block;margin:5px 0;color:var(--report-accent);font-size:22px;letter-spacing:.08em}
.report-cover-wrap{margin-top:32px}.report-cover{margin:0;max-height:540px;overflow:hidden;border:1px solid var(--line);border-radius:14px}.report-cover img{width:100%;max-height:500px;object-fit:cover}
.report-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:44px;align-items:start;padding-top:46px}
.report-content{min-width:0}.report-rail{position:sticky;top:96px;display:flex;flex-direction:column;gap:16px}
.report-rail-card{border:1px solid var(--line);border-radius:12px;background:var(--panel);padding:20px}.report-rail-card>strong{display:block;margin:7px 0 16px;font-size:16px}
.report-rail-card dl{margin:0}.report-rail-card dl>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid var(--line);font-size:11px}.report-rail-card dt{color:var(--muted)}.report-rail-card dd{margin:0;color:#d8e7e0;font-weight:800;text-align:right;text-transform:uppercase}
.report-rail-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:14px}.report-rail-tags a{border:1px solid var(--line);border-radius:999px;padding:4px 8px;font-size:9px;color:var(--muted)}
.report-method-card p{font-size:12px;line-height:1.6;color:var(--muted)}.report-text-link{display:block;margin-top:9px;color:var(--report-accent);font-size:11px;font-weight:850}
.report-content h2{margin-top:56px;padding-top:18px;border-top:1px solid var(--line);font-size:30px;letter-spacing:-.025em}.report-content h3{margin-top:32px;font-size:21px}.report-content h2:first-child{margin-top:0}
.report-content a{color:var(--report-accent);text-decoration:underline;text-underline-offset:3px}.report-content strong{color:#f4fbf7}
.report-content blockquote{margin:30px 0;padding:18px 22px;border-left:3px solid var(--report-accent);background:rgba(56,224,143,.045);color:#d5e5dd}
.report-footer{margin-top:50px;padding-top:24px;border-top:1px solid var(--line)}.report-footer p{margin-top:20px;color:var(--muted);font-size:10px;letter-spacing:.12em;text-transform:uppercase}

/* Componentes reutilizáveis em cartões HTML do editor Ghost */
.report-docbar{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 28px;padding:14px 16px;border:1px solid var(--line);border-left:3px solid var(--report-accent);border-radius:10px;background:#0b1713;font-size:11px;text-transform:uppercase;letter-spacing:.08em}.report-docbar strong{color:var(--report-accent)}
.report-assessment{margin:34px 0;border:1px solid #2a5141;border-radius:14px;background:linear-gradient(135deg,rgba(14,34,27,.98),rgba(7,18,14,.96));overflow:hidden}.report-assessment-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 22px;border-bottom:1px solid var(--line)}.report-assessment-head span{font-size:10px;font-weight:950;letter-spacing:.15em;color:var(--report-accent)}.report-risk-score{font-size:34px;font-weight:950;line-height:1;color:var(--report-accent)}.report-risk-score small{font-size:13px;color:var(--muted)}
.report-assessment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.report-assessment-item{padding:17px 22px;border-bottom:1px solid var(--line)}.report-assessment-item:nth-child(odd){border-right:1px solid var(--line)}.report-assessment-item span{display:block;font-size:9px;font-weight:900;letter-spacing:.12em;color:var(--muted);text-transform:uppercase}.report-assessment-item strong{display:block;margin-top:5px;font-size:15px}
.report-scale{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;padding:18px 22px}.report-scale span{height:6px;border-radius:999px;background:#263a33}.report-scale.risk-1 span:nth-child(-n+1),.report-scale.risk-2 span:nth-child(-n+2),.report-scale.risk-3 span:nth-child(-n+3),.report-scale.risk-4 span:nth-child(-n+4),.report-scale.risk-5 span:nth-child(-n+5){background:var(--report-accent)}
.report-note{margin:28px 0;padding:18px 20px;border:1px solid var(--line);border-radius:11px;background:rgba(11,25,20,.75)}.report-note-label{display:block;margin-bottom:7px;font-size:9px;font-weight:950;letter-spacing:.15em;color:var(--report-accent)}.report-note p:last-child{margin-bottom:0}.report-note.fact{border-left:3px solid var(--blue)}.report-note.fact .report-note-label{color:var(--blue)}.report-note.assessment{border-left:3px solid var(--green)}.report-note.scenario{border-left:3px solid var(--amber)}.report-note.scenario .report-note-label{color:var(--amber)}
.report-timeline{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;margin:30px 0;overflow-x:auto;padding-bottom:8px}.report-time{min-width:125px;position:relative;padding:30px 12px 14px;border-top:2px solid #315b4a}.report-time:before{content:"";position:absolute;top:-6px;left:12px;width:10px;height:10px;border-radius:50%;background:var(--report-accent);box-shadow:0 0 12px rgba(56,224,143,.5)}.report-time strong{display:block;color:var(--report-accent);font-size:13px}.report-time span{display:block;margin-top:6px;color:var(--muted);font-size:11px;line-height:1.45}
.report-cascade{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin:30px 0;padding:22px;border:1px solid var(--line);border-radius:12px;background:#091511}.report-cascade span{padding:8px 10px;border:1px solid #29483c;border-radius:8px;font-size:10px;font-weight:850;letter-spacing:.04em}.report-cascade i{font-style:normal;color:var(--report-accent)}
.report-download{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:34px 0;padding:20px 22px;border:1px solid #2b5b47;border-radius:12px;background:linear-gradient(135deg,#10241c,#0a1713);text-decoration:none!important}.report-download span{display:block;color:var(--muted);font-size:10px;letter-spacing:.1em;text-transform:uppercase}.report-download strong{display:block;margin-top:3px;color:#eff9f4}.report-download b{flex:none;border:1px solid var(--report-accent);border-radius:8px;padding:9px 12px;color:var(--report-accent);font-size:11px}
@media(max-width:900px){.report-layout{grid-template-columns:1fr}.report-rail{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.report-rail .ad-slot,.report-rail .newsletter-card{display:none}}
@media(max-width:680px){.report-hero{padding-top:36px}.report-hero-grid{grid-template-columns:1fr;gap:24px}.report-stamp{display:none}.report-classification{width:100%;padding:5px 0 0;border:0}.report-deck{font-size:16px}.report-layout{width:min(calc(100% - 28px),var(--max));padding-top:30px}.report-rail{grid-template-columns:1fr}.report-content h2{font-size:25px;margin-top:44px}.report-assessment-grid{grid-template-columns:1fr}.report-assessment-item:nth-child(odd){border-right:0}.report-download{align-items:flex-start;flex-direction:column}}
\n\n/* v1.0.71 — Relatórios: fluxo editorial simples + PDF automático */
.report-download-card p{margin:0 0 14px;color:var(--muted);font-size:12px;line-height:1.55}
.report-pdf-button{width:100%;cursor:pointer;font:inherit}
/* O corpo do relatório usa apenas conteúdo normal do editor Ghost. */
.report-content>p:first-child{font-size:17px;line-height:1.75;color:#c8d8d1}
.report-content hr{margin:44px 0;border:0;border-top:1px solid var(--line)}
.report-content ul,.report-content ol{padding-left:1.35em}.report-content li{margin:.42em 0}
.report-content h2+blockquote,.report-content h3+blockquote{margin-top:18px}
@media print{
  @page{size:A4;margin:17mm 15mm 18mm}
  body{background:#fff!important;color:#111!important;font-size:10.5pt}
  .site-header,.site-footer,.report-rail,.article-footer,.report-cover-wrap,.report-stamp{display:none!important}
  .report-hero{padding:0 0 18px!important;background:none!important;border-bottom:2px solid #111!important}
  .report-identity,.report-meta,.report-classification{color:#333!important}
  .report-signal{background:#111!important;box-shadow:none!important}
  .report-hero h1{color:#000!important;font-size:28pt!important;line-height:1.05!important}
  .report-deck{color:#333!important;font-size:12pt!important}
  .report-layout{display:block!important;width:100%!important;max-width:none!important;padding-top:22px!important}
  .report-content{max-width:none!important;color:#111!important}
  .report-content p,.report-content li{color:#111!important;line-height:1.5!important}
  .report-content h2,.report-content h3,.report-content strong{color:#000!important}
  .report-content h2{break-after:avoid;border-top:1px solid #bbb!important;margin-top:26px!important;padding-top:12px!important}
  .report-content h3{break-after:avoid}
  .report-content blockquote{background:#f4f4f4!important;color:#111!important;border-left:3px solid #333!important;break-inside:avoid}
  .report-content a{color:#111!important;text-decoration:none!important;overflow-wrap:anywhere}
  .report-content a[href^="http"]::after{content:" (" attr(href) ")";font-size:8pt;color:#555}
  .report-content img{max-width:100%!important;break-inside:avoid}
}


/* Comments — v1.0.73 */
.comments-section {
    margin-top: 28px;
    margin-bottom: 56px;
    padding-top: 28px;
    border-top: 1px solid var(--border, rgba(255,255,255,.12));
}
.comments-heading {
    margin-bottom: 18px;
}
.comments-heading h2 {
    margin: 6px 0 8px;
    font-size: clamp(1.5rem, 3vw, 2rem);
}
.comments-heading p {
    margin: 0;
    max-width: 720px;
    color: var(--muted, #a8b0ba);
    line-height: 1.6;
}

/* PREPPERS.PT v1.0.79 — Recursos directory */
.resources-hero{padding:64px 0 34px;background:radial-gradient(circle at 88% 0%,rgba(56,224,143,.10),transparent 32%),var(--bg-2);border-bottom:1px solid var(--line)}
.resources-hero h1{font-size:clamp(44px,6vw,70px);line-height:1;letter-spacing:-.045em;margin:10px 0 14px}
.resources-hero p{max-width:790px;margin:0;color:#b7cac1;font-size:18px}
.resources-hero-meta{display:flex;gap:20px;flex-wrap:wrap;margin-top:24px;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.08em}
.resources-hero-meta strong{color:var(--green)}
.resources-container{padding-top:34px;padding-bottom:64px}
.resources-toolbar{display:grid;gap:16px;padding:18px;background:rgba(14,27,23,.72);border:1px solid var(--line);border-radius:14px;position:sticky;top:88px;z-index:20;backdrop-filter:blur(14px)}
.resource-search-wrap{position:relative;display:block}
.resource-search-icon{position:absolute;left:15px;top:50%;transform:translateY(-52%);font-size:21px;color:var(--green);pointer-events:none}
.resource-search{width:100%;height:46px;padding:0 15px 0 44px;border:1px solid #29483c;border-radius:9px;background:#08120f;color:var(--text);outline:none;font:inherit}
.resource-search::placeholder{color:#72877e}
.resource-search:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(56,224,143,.08)}
.resource-filters{display:flex;gap:8px;flex-wrap:wrap}
.resource-filter{border:1px solid var(--line);border-radius:999px;background:#0a1612;color:#9eb1a8;padding:7px 12px;font-size:10px;font-weight:900;letter-spacing:.07em;text-transform:uppercase;cursor:pointer;transition:.16s ease}
.resource-filter:hover{border-color:#37604f;color:var(--text)}
.resource-filter.is-active{background:rgba(56,224,143,.12);border-color:var(--green);color:var(--green)}
.resources-status{margin:20px 2px 12px;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.08em}
.resources-status [data-resource-visible]{color:var(--green);font-weight:900}
.resources-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.resource-card{display:flex;flex-direction:column;min-height:300px;padding:20px;background:linear-gradient(180deg,rgba(18,34,29,.88),rgba(12,25,21,.86));border:1px solid var(--line);border-radius:12px;transition:transform .16s ease,border-color .16s ease,background .16s ease}
.resource-card:hover{transform:translateY(-2px);border-color:#37604f;background:linear-gradient(180deg,rgba(20,39,32,.96),rgba(12,25,21,.92))}
.resource-card[hidden]{display:none!important}
.resource-card-top{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:15px}
.resource-kind{display:inline-flex;align-items:center;min-height:22px;border:1px solid currentColor;border-radius:999px;padding:3px 8px;font-size:9px;font-weight:950;letter-spacing:.10em}
.kind-official{color:#5db5ff}.kind-association{color:#38e08f}.kind-community{color:#f5b84b}.kind-tool{color:#c897ff}
.resource-scope{font-size:9px;font-weight:900;letter-spacing:.10em;color:#71877d}
.resource-card h2{font-size:20px;line-height:1.2;letter-spacing:-.015em;margin:0 0 10px}
.resource-card p{font-size:13px;line-height:1.55;color:#9fb2a9;margin:0 0 16px}
.resource-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:auto;padding-top:5px}
.resource-tags span{border-radius:5px;background:#0a1713;border:1px solid #203b31;color:#82988e;padding:4px 7px;font-size:9px}
.resource-link{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:18px;padding-top:14px;border-top:1px solid var(--line);color:var(--green);font-size:10px;font-weight:950;letter-spacing:.08em}
.resource-link span{font-size:14px;transition:transform .16s ease}
.resource-link:hover span{transform:translate(2px,-2px)}
.resources-empty{margin:25px 0;padding:35px;text-align:center;background:var(--panel);border:1px dashed #315044;border-radius:12px;color:var(--muted)}
.resources-empty strong{display:block;color:var(--text);margin-bottom:4px}
.resources-note{margin-top:38px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:34px;align-items:center;padding:28px;background:linear-gradient(100deg,rgba(56,224,143,.07),rgba(14,27,23,.64));border:1px solid #27493c;border-radius:14px}
.resources-note h2{font-size:25px;line-height:1.15;margin:8px 0}
.resources-note p{max-width:850px;margin:0;color:var(--muted);font-size:13px}
.resources-note .button{white-space:nowrap;color:var(--green)}
.resources-page-content{margin:42px auto 0;max-width:820px;padding-top:30px;border-top:1px solid var(--line)}
@media (max-width:1020px){.resources-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.resources-toolbar{top:80px}}
@media (max-width:680px){.resources-hero{padding:44px 0 28px}.resources-hero p{font-size:15px}.resources-container{padding-top:20px}.resources-toolbar{position:static;padding:13px}.resource-filters{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}.resource-filter{flex:0 0 auto}.resources-grid{grid-template-columns:1fr}.resource-card{min-height:0}.resources-note{grid-template-columns:1fr;gap:20px;padding:22px}.resources-note .button{width:100%}}

/* PREPPERS.PT v1.0.80 — dynamic resource directory */
.resource-kind-group{display:flex;gap:6px;flex-wrap:wrap;min-width:0}
.kind-community{border-color:rgba(107,170,255,.45);color:#9ec9ff;background:rgba(107,170,255,.08)}
.kind-radio{border-color:rgba(76,201,240,.45);color:#8fe4ff;background:rgba(76,201,240,.08)}
.kind-training{border-color:rgba(255,190,82,.45);color:#ffd28a;background:rgba(255,190,82,.08)}
.resources-empty-initial{grid-column:1/-1}
.resources-empty code{color:var(--green);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}
.resource-detail-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:26px}
.resource-detail-actions .button{display:inline-flex;align-items:center;justify-content:center}
@media (max-width:680px){.resource-detail-actions .button{width:100%}}

/* Homepage — recursos em destaque */
.home-resources-section{padding:58px 0;border-top:1px solid rgba(255,255,255,.035);background:linear-gradient(180deg,rgba(7,18,15,.08),rgba(14,27,23,.34))}
.home-resources-heading{align-items:flex-start;margin-bottom:22px}
.home-resources-heading>div{max-width:860px}
.home-resources-intro{max-width:820px;margin:10px 0 0;color:var(--muted);font-size:13px;line-height:1.65}
.home-resources-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.home-resources-grid .resource-card{min-height:270px}
.home-resources-grid .resource-card h2{font-size:18px}
.home-resources-grid .resource-card p{font-size:12px}
.home-resources-actions{display:flex;justify-content:flex-end;margin-top:22px}
.home-resources-actions .button{min-width:220px;text-align:center}
.home-resources-empty{grid-column:1/-1}
@media (max-width:1020px){.home-resources-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:680px){.home-resources-section{padding:42px 0}.home-resources-grid{grid-template-columns:1fr}.home-resources-actions{justify-content:stretch}.home-resources-actions .button{width:100%}}


/* PREPPERS.PT v1.0.84 — Diretório: featured 3x2 + sugestão */
.home-resources-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.home-resources-grid .resource-card{aspect-ratio:1/1;min-height:0;height:auto;padding:20px;overflow:hidden}
.home-resources-grid .resource-card h2{font-size:18px;line-height:1.18;margin-bottom:9px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.home-resources-grid .resource-card p{font-size:12px;line-height:1.5;margin-bottom:12px;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}
.home-resources-grid .resource-link{margin-top:auto}
.home-resources-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:22px}
.home-resources-actions .button{min-width:220px;text-align:center}
.resource-suggest-button{border-color:#315044;color:var(--text);background:rgba(14,27,23,.55)}
.resource-suggest-button:hover{border-color:var(--green);color:var(--green)}
@media (max-width:1020px){
  .home-resources-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:680px){
  .home-resources-grid{grid-template-columns:1fr}
  .home-resources-grid .resource-card{aspect-ratio:auto;min-height:245px}
  .home-resources-actions{flex-direction:column;align-items:stretch}
  .home-resources-actions .button{width:100%;min-width:0}
}


/* PREPPERS.PT v1.0.85 — cartões Featured rectangulares e compactos */
.home-resources-grid .resource-card{aspect-ratio:auto;min-height:190px;height:auto;padding:18px}
.home-resources-grid .resource-card h2{font-size:17px;line-height:1.2;margin-bottom:7px;-webkit-line-clamp:2}
.home-resources-grid .resource-card p{font-size:11.5px;line-height:1.45;margin-bottom:9px;-webkit-line-clamp:3}
@media (max-width:1020px){
  .home-resources-grid .resource-card{min-height:185px}
}
@media (max-width:680px){
  .home-resources-grid .resource-card{min-height:175px;padding:16px}
  .home-resources-grid .resource-card h2{font-size:16px}
  .home-resources-grid .resource-card p{font-size:11px;-webkit-line-clamp:3}
}

/* v1.0.86: slightly tighter menu spacing to accommodate grouped navigation. */
@media (min-width:1121px){.main-nav{gap:15px;font-size:12px}.nav-dropdown{min-width:198px}}
@media (max-width:1120px){.main-nav{max-height:calc(100dvh - 72px);overflow-y:auto}}
@media (max-width:820px){.main-nav{max-height:calc(100dvh - 64px)}}

/* v1.0.89 - Paginação do arquivo agregado de Actualidade */
#actualidade-posts .post-card[hidden], #actualidade-pagination[hidden] { display: none !important; }
.actualidade-pagination-links { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.actualidade-pagination-links a { color: var(--green); }

/* v1.0.93 — Sem publicidade no modelo das páginas institucionais.
   O banner mantém-se nos arquivos, publicações e páginas especiais. */
.site-shell:has(main .page-article) > .ad-band { display: none; }

/* v1.0.94 — navegação do Diretório de Recursos */
.resources-grid [data-resource-item][hidden], .resources-pagination[hidden], .resources-empty[hidden] {display:none !important}
.resources-pagination{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:26px 0 8px;color:var(--green);font-size:13px}
.resources-pagination a{color:var(--green);text-decoration:none;padding:9px 12px;border:1px solid var(--line);border-radius:8px;min-width:36px;text-align:center}
.resources-pagination a:hover,.resources-pagination a[aria-current="page"]{background:rgba(56,224,143,.10);border-color:var(--green)}
.resources-pagination a[aria-current="page"]{font-weight:800}
.resources-pagination-numbers{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap}
@media(max-width:680px){.resources-pagination{justify-content:center}.resources-pagination-numbers{order:-1;width:100%}}

/* PREPPERS.PT v1.0.95 — navegação homogénea para todos os arquivos */
.preppers-pagination, .resources-pagination, .actualidade-pagination-links {
  display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;gap:12px;width:100%;margin:28px 0 8px;
  color:var(--green);font-size:13px;
}
.preppers-pagination-prev {justify-self:start;min-width:0}
.preppers-pagination-next {justify-self:end;min-width:0}
.preppers-pagination-numbers {display:flex;justify-content:center;align-items:center;gap:6px;flex-wrap:wrap}
.preppers-pagination a, .resources-pagination a, .actualidade-pagination-links a {
  text-decoration:none;color:var(--green);display:inline-flex;align-items:center;
  justify-content:center;min-height:38px;border:1px solid transparent;
  border-radius:7px;padding:8px 10px;
}
.preppers-pagination-numbers a {min-width:36px}
.preppers-pagination a:hover, .resources-pagination a:hover, .actualidade-pagination-links a:hover,
.preppers-pagination a[aria-current="page"], .resources-pagination a[aria-current="page"], .actualidade-pagination-links a[aria-current="page"] {
  background:rgba(56,224,143,.10);border-color:var(--line);
}
.preppers-pagination a[aria-current="page"], .resources-pagination a[aria-current="page"], .actualidade-pagination-links a[aria-current="page"] {font-weight:800}
.preppers-pagination-ellipsis {padding:0 3px;color:var(--muted)}
.preppers-pagination[hidden], .resources-pagination[hidden], .actualidade-pagination-links[hidden] {display:none!important}
@media(max-width:580px) {
  .preppers-pagination, .resources-pagination, .actualidade-pagination-links {grid-template-columns:1fr auto;row-gap:8px}
  .preppers-pagination-numbers {grid-column:1/-1;grid-row:1}
  .preppers-pagination-prev {grid-column:1;grid-row:2}
  .preppers-pagination-next {grid-column:2;grid-row:2}
}

/* v1.0.96: arquivos temáticos */
.watch-area-paged-archive [data-watch-area-item][hidden]{display:none!important}
.watch-area-paged-archive [data-watch-area-item]{min-width:0}
.watch-area-paged-archive [data-watch-area-pagination]{margin-top:30px}

/* v1.0.97 — conteúdo flui sob a coluna lateral depois das caixas */
@media (min-width:821px){
  .article-layout{display:flow-root;max-width:var(--max);padding-top:48px;padding-bottom:40px}
  .article-layout>.article-rail{float:right;display:flex;width:300px;max-width:36%;margin:0 0 22px 54px}
}
@media (min-width:901px){
  .report-layout{display:flow-root;padding-top:46px}
  .report-layout>.report-rail{float:right;position:static;display:flex;width:300px;max-width:36%;margin:0 0 22px 44px}
}
@media (max-width:820px){
  .article-layout{display:flex;flex-direction:column}
  .article-layout>.gh-content{order:0}
  .article-layout>.article-rail{order:1}
}
@media (min-width:821px) and (max-width:900px){
  .report-layout{display:flex;flex-direction:column}
  .report-layout>.report-content{order:0}
  .report-layout>.report-rail{order:1}
}
@media print{
  .report-layout>.report-rail{display:none!important;float:none!important}
}

/* v1.0.99 — Publicidade e subscrição nas avaliações de risco.
   O texto flui a toda a largura depois de terminar a barra lateral. */
.risk-editorial-flow{display:flow-root;margin-top:14px}
.risk-editorial-flow>.risk-editorial-rail{
    float:right;display:flex;flex-direction:column;
    width:300px;max-width:36%;margin:0 0 22px 44px;
}
.risk-editorial-flow>.gh-content{min-width:0}
.risk-current-analysis>.section-kicker{display:block}
.watch-area-rationale-flow{margin-top:0}
@media(max-width:820px){
    .risk-editorial-flow{display:flex;flex-direction:column;gap:24px}
    .risk-editorial-flow>.gh-content{order:0}
    .risk-editorial-flow>.risk-editorial-rail{
        float:none;order:1;width:100%;max-width:none;margin:0;
        display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;
    }
}
@media(max-width:560px){
    .risk-editorial-flow>.risk-editorial-rail{grid-template-columns:1fr}
}

/* v1.1.00 — Identidade SITREP e impressão A4, herdada dos Relatórios */
.sitrep-article{--report-accent:var(--green)}
.sitrep-article .report-stamp strong{letter-spacing:.11em}
@media print{
  .sitrep-article .comments-section, .sitrep-article .ad-band,
  .sitrep-article .newsletter-card {display:none!important}
  .sitrep-article .report-hero, .sitrep-article .report-layout{break-inside:auto}
  .sitrep-article .report-content table{width:100%;border-collapse:collapse;font-size:9pt}
  .sitrep-article .report-content tr{break-inside:avoid}
}

/* v1.1.10 — tendência nacional na homepage e Risco Actual */
.global-trend{font-size:12px;line-height:1.5;color:var(--muted);margin:2px 0 8px}
.global-trend strong{font-weight:800}
.global-trend-label{color:var(--green);font-weight:850}

/* PREPPERS.PT v1.1.15 — listas editoriais independentes, sem alterar o radar v1.1.14 */
.reports-scroll-list,.opinion-scroll-list{
  overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;
  scrollbar-width:thin;scrollbar-color:#315b4a #0b1713;
  -webkit-overflow-scrolling:touch;
}
.reports-scroll-list::-webkit-scrollbar,.opinion-scroll-list::-webkit-scrollbar{width:8px}
.reports-scroll-list::-webkit-scrollbar-thumb,.opinion-scroll-list::-webkit-scrollbar-thumb{background:#315b4a;border-radius:8px}
/* Linhas uniformes para que a janela mostre exactamente 5 relatórios e 3 artigos no desktop. */
@media (min-width:821px){
 .reports-scroll-list .analysis-list-row,.opinion-scroll-list .analysis-list-row{
   box-sizing:border-box;height:57px;min-height:57px;
 }
 .reports-scroll-list{height:285px;max-height:285px}
 .opinion-scroll-list{height:171px;max-height:171px}
}
@media (max-width:820px){
 .reports-scroll-list{max-height:350px}
 .opinion-scroll-list{max-height:225px}
}
@media (max-width:560px){
 .reports-scroll-list{max-height:360px}
 .opinion-scroll-list{max-height:270px}
}

/* v1.1.18: texto editorial integral nas paginas individuais de recursos */
.resource-detail-content{padding-top:28px;padding-bottom:28px}

/* v1.1.19: whole resource card opens internal resource page; external CTA remains independent. */
.resource-card{position:relative;cursor:pointer}
.resource-card-internal{position:absolute;inset:0;z-index:1;border-radius:inherit}
.resource-card-internal:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.resource-card .resource-link{position:relative;z-index:2}

/* PREPPERS.PT v1.1.20: autenticação de membros no cabeçalho */
.member-menu{position:relative;flex-shrink:0}
.member-trigger{list-style:none;cursor:pointer;gap:8px;max-width:220px;white-space:nowrap}
.member-trigger::-webkit-details-marker{display:none}
.member-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:145px}
.member-icon{font-size:13px}
.member-chevron{font-size:11px;opacity:.75}
.member-menu[open]>.member-trigger{background:rgba(56,224,143,.09)}
.member-dropdown{position:absolute;right:0;top:calc(100% + 10px);width:max-content;min-width:220px;max-width:min(85vw,290px);z-index:100;display:flex;flex-direction:column;gap:4px;background:#0b1b15;border:1px solid #2b5440;border-radius:10px;box-shadow:0 18px 35px rgba(0,0,0,.38);padding:10px}
.member-dropdown-title{font-size:12px;font-weight:800;color:#e5f4ed;overflow-wrap:anywhere;padding:7px 10px;border-bottom:1px solid #234034}
.member-dropdown a{padding:9px 10px;border-radius:6px;color:#d5e4dc;font-size:13px;text-decoration:none}
.member-dropdown a:hover,.member-dropdown a:focus-visible{background:rgba(56,224,143,.12);color:var(--green)}
.member-dropdown a:last-child{border-top:1px solid #234034;border-radius:0;padding-top:12px}
.member-menu summary:focus-visible,.member-login:focus-visible{outline:2px solid var(--green);outline-offset:3px}
@media(max-width:1120px){.member-menu,.member-login{display:block}.member-trigger{padding:8px 10px}.member-login{padding:8px 12px}.member-label{max-width:110px}}
@media(max-width:420px){.header-inner{gap:10px}.member-label{max-width:72px}.member-trigger{gap:5px}.member-icon{display:none}}

@media(max-width:1120px){.header-cta.member-trigger,.header-cta.member-login{display:inline-flex}}

/* v1.1.21 — FIT integral da featured image dos SITREPs (desktop e mobile). */
.sitrep-feature .sitrep-image{display:flex;align-items:center;justify-content:center;min-width:0;background:#081610}
.sitrep-feature .sitrep-image img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.sitrep-article .report-cover{max-height:none;overflow:visible}
.sitrep-article .report-cover img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}


/* v1.1.23 — recursos documentais / ações internas */
.resource-actions{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0}
.resource-actions .resource-btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 20px;border:1px solid var(--green);border-radius:8px;font-size:13px;font-weight:800;line-height:1.2;text-transform:uppercase;text-decoration:none!important;transition:opacity .16s ease,background .16s ease,color .16s ease}
.resource-actions .resource-btn-primary{background:var(--green);color:#04110c!important}
.resource-actions .resource-btn-primary:hover{opacity:.88}
.resource-actions .resource-btn-secondary{background:transparent;color:#fff!important}
.resource-actions .resource-btn-secondary:hover{background:rgba(57,223,143,.08)}
@media (max-width:680px){.resource-actions{display:grid;grid-template-columns:1fr}.resource-actions .resource-btn{width:100%}}

/* v1.1.24 — Observatório de serviços essenciais */
.se-home{padding:36px 0 44px;background:#091611;border-bottom:1px solid var(--line)}
.se-panel{background:#0c1b15;border:1px solid #294638;border-radius:14px;padding:24px}
.se-heading{display:flex;align-items:center;justify-content:space-between;gap:24px}
.se-heading h2{font-size:clamp(22px,3vw,30px);line-height:1.2;margin:7px 0}
.se-heading p,.se-page-header p{color:var(--muted);margin:6px 0}
.se-button{white-space:nowrap}.se-categories{display:flex;gap:9px;flex-wrap:wrap;margin:20px 0}
.se-categories > button{font-size:12px;background:#12271d;border:1px solid #294638;border-radius:7px;padding:7px 12px;color:#bfe3ce}
.se-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.se-record{border:1px solid #284436;background:#10241a;border-radius:10px;padding:15px;min-width:0}
.se-record-top,.se-record-links{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:space-between}
.se-service,.se-type{font-size:11px;font-weight:800}.se-service{color:#80d5a2}.se-service-agua{color:#8dcfff}.se-service-comunicacoes{color:#c9b7ff}
.se-type{color:#b9cbbf}.se-record-title{font-size:16px;line-height:1.35;margin:14px 0 6px;overflow-wrap:anywhere}
.se-record-place,.se-record-status{font-size:12px;color:#b5c9bb;margin:6px 0}.se-record-time{font-size:13px;font-weight:800;color:#f1f7f2;margin:12px 0}
.se-record-links{border-top:1px solid #284436;margin-top:12px;padding-top:10px;font-size:12px;color:#6dd699}
.se-record-links a:hover{text-decoration:underline}.se-empty{grid-column:1/-1;color:#bdcfc4;padding:10px 0}
.se-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-top:18px;color:var(--muted);font-size:12px}.se-footer a{color:var(--green);font-weight:800}
.se-page{padding:42px 0 70px}.se-page-header{max-width:900px;margin-bottom:24px}.se-page-header h1{font-size:clamp(32px,5vw,54px);letter-spacing:-.035em;margin:8px 0}
.se-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}
.se-filters label{display:flex;flex-direction:column;gap:5px;font-weight:700;font-size:12px;color:#c5d9ca}
.se-filters select,.se-filters input{width:100%;min-width:0;background:#10251b;border:1px solid #365044;border-radius:8px;color:#eff7f0;font:inherit;font-weight:400;padding:11px 10px}
.se-filters select:focus-visible,.se-filters input:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.se-count,.se-disclaimer{font-size:12px;color:var(--muted)}.se-page .se-results{margin-top:14px}.se-method{max-width:900px;margin:30px 0;color:#b7c9bd;font-size:14px}.se-method h2{color:var(--text);font-size:23px}
@media(max-width:900px){.se-results{grid-template-columns:repeat(2,minmax(0,1fr))}.se-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.se-panel{padding:16px}.se-heading{display:block}.se-heading .se-button{margin-top:12px}.se-results,.se-filters{grid-template-columns:1fr}.se-record{padding:14px}}

/* v1.1.27 — contador de ocorrências e paginação do Observatório */
.se-headline-count{font-size:13px;color:#bce5ca;margin:16px 0 0;font-weight:650}
.se-pagination{margin-top:28px}
.se-pagination[hidden]{display:none!important}

/* v1.1.29 — O cartão inteiro abre a ficha informativa, sem link directo à fonte */
a.se-record-clickable{display:block;color:inherit;text-decoration:none!important;cursor:pointer;transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease}
a.se-record-clickable:visited{color:inherit}
a.se-record-clickable:hover{background:#142b1f;border-color:#4c9569;box-shadow:0 5px 18px rgba(0,0,0,.14)}
a.se-record-clickable:focus-visible{outline:2px solid var(--green);outline-offset:3px;border-color:var(--green)}
a.se-record-clickable .se-record-title{color:var(--text)}
a.se-record-clickable .se-record-links{color:#6dd699}
a.se-record-clickable:hover .se-record-links{color:#a2f6bf;text-decoration:underline}
.se-record-unlinked{opacity:.75}
.se-record-unlinked .se-record-links{color:var(--muted)}
@media (prefers-reduced-motion:reduce){a.se-record-clickable{transition:none}}

/* v1.1.30 — Símbolos do Observatório: gota azul e antena de comunicações */
.se-categories > button{display:inline-flex;align-items:center;gap:5px}
.se-categories .se-category-symbol{display:inline-block;width:14px;height:14px;flex-shrink:0;vertical-align:middle}
.se-categories .se-category-water .se-category-symbol{color:#69bdf4}
.se-categories .se-category-comms .se-category-symbol{color:#b8a5f6}

/* v1.1.31 — ícone eléctrico alinhado; badges apenas nos elementos directos */
.se-categories .se-category-electricity .se-category-symbol{color:#f0b454}

/* v1.1.35 — Observatório: orientação da pesquisa junto ao acesso completo */
.se-heading-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex:0 0 auto}
.se-heading .se-heading-hint{margin:0;color:var(--muted);font-size:12px;line-height:1.45;text-align:right;max-width:none;white-space:nowrap}
@media(max-width:600px){.se-heading-actions{align-items:flex-start;margin-top:12px}.se-heading .se-heading-actions .se-button{margin-top:0}.se-heading .se-heading-hint{text-align:left}}

/* Em ecrãs estreitos, evitar que a nota ultrapasse a largura disponível. */
@media(max-width:900px){.se-heading .se-heading-hint{white-space:normal}}

/* v1.1.38 — interactive category filters in the homepage services preview */
.se-categories > button{font-family:inherit;line-height:1.35;cursor:pointer;transition:background .18s ease,border-color .18s ease,color .18s ease}
.se-categories > button:hover{background:#183c2b;border-color:#4c8c6b;color:#f0fff6}
.se-categories > button[aria-pressed="true"]{background:#183c2b;border-color:var(--green);color:#f0fff6;box-shadow:inset 0 0 0 1px rgba(48,217,139,.14)}
.se-categories > button:focus-visible{outline:2px solid var(--green);outline-offset:3px}

/* v1.1.42 — member-only search UI; public home preview unchanged */
.se-member-gate{max-width:900px;background:#0c1b15;border:1px solid #294638;border-radius:14px;padding:28px 30px}
.se-member-gate h2{font-size:clamp(23px,3vw,30px);letter-spacing:-.025em;margin:12px 0 16px;color:var(--text)}
.se-member-gate p{font-size:15px;line-height:1.7;color:#b7c9bd;margin:0 0 12px}
.se-member-gate-actions{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0 16px}
.se-member-gate-actions .button{display:inline-flex;align-items:center;justify-content:center;min-height:42px}
.se-member-gate .se-member-gate-note{font-size:12px;margin-bottom:0;color:var(--muted)}
@media(max-width:600px){.se-member-gate{padding:20px 16px}.se-member-gate-actions .button{flex:1 1 100%}}

/* Actualidade documental V2.0 */
.actualidade-documental-body { padding-top: 1.5rem; padding-bottom: 2rem; }
.documental-notice { padding: 1rem 1.2rem; border-left: 3px solid #328b60; background: rgba(50,139,96,.08); font-size: .9rem; line-height: 1.55; }
