:root{--bg:#f3f4f6;--card:#ffffff;--ink:#1f2937;--muted:#6b7280;--line:#e5e7eb;--green:#1fa463;--green2:#147a49;--red:#d43f3f;--shadow:0 16px 40px rgba(0,0,0,.08)}
*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:linear-gradient(180deg,#f8fafc,#eef2f7)}
.header{background:#111827;color:#fff;border-bottom:6px solid var(--green)}.header-inner{max-width:1280px;margin:0 auto;padding:22px 24px;display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap}.brand small{display:block;color:#cbd5e1;text-transform:uppercase;letter-spacing:.08em}.brand-title{margin:4px 0 0;font-size:30px;font-weight:800}.brand-title span{color:#4fd28f}.nav a{color:#fff;text-decoration:none;background:rgba(255,255,255,.08);padding:10px 14px;border-radius:12px;margin-left:8px;display:inline-block}
.wrap{max-width:1280px;margin:24px auto;padding:0 24px 34px}.layout{display:grid;grid-template-columns:1.35fr .85fr;gap:22px;align-items:start}.card{background:var(--card);border:1px solid var(--line);border-radius:22px;padding:22px;box-shadow:var(--shadow)}
.row{display:flex;gap:14px;flex-wrap:wrap}.col{flex:1;min-width:220px}label{display:block;margin-bottom:8px;font-weight:700}input[type=text],input[type=password],input[type=number],textarea,select{width:100%;padding:12px 14px;border:1px solid #d1d5db;border-radius:14px;font-size:15px;background:#fff;color:var(--ink)}textarea{min-height:100px;resize:vertical}input[type=file]{width:100%;padding:10px;border:1px dashed #cbd5e1;border-radius:14px;background:#fff}
.btn{display:inline-block;border:0;border-radius:14px;padding:12px 16px;font-weight:800;cursor:pointer;text-decoration:none}.btn.primary{background:linear-gradient(90deg,var(--green),var(--green2));color:#fff}.btn.secondary{background:linear-gradient(90deg,#3b82f6,#5b6fd6);color:#fff}.btn.danger{background:linear-gradient(90deg,#e05151,#c92d2d);color:#fff}.btn.ghost{background:#fff;border:1px solid #d1d5db;color:var(--ink)}
.muted{color:var(--muted)}.flash{padding:14px 16px;border-radius:14px;margin-bottom:18px;font-weight:700}.flash.ok{background:#ecfdf5;color:#166534;border:1px solid #bbf7d0}.flash.error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}
.chips{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 0}.chip{background:#effaf4;color:#0f7a47;border:1px solid #caeddc;padding:7px 11px;border-radius:999px;font-size:13px;font-weight:700}
.mode-boxes{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.mode{border:1px solid #d1d5db;border-radius:16px;padding:14px;background:#fafafa}.mode strong{display:block;margin-bottom:6px}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}.tab{padding:10px 14px;border-radius:12px;text-decoration:none;border:1px solid #d1d5db;color:#1f2937;background:#fff}.tab.active{background:#111827;color:#fff;border-color:#111827}
.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:14px}th,td{padding:10px 8px;border-bottom:1px solid #e5e7eb;text-align:left;vertical-align:top}th{font-size:13px;text-transform:uppercase;color:#667085}.thumb{width:72px;height:72px;object-fit:contain;border:1px solid #e5e7eb;border-radius:10px;background:#fff}.badge{display:inline-block;padding:5px 10px;border-radius:999px;font-size:12px;font-weight:700}.badge.ok{background:#ecfdf5;color:#166534;border:1px solid #bbf7d0}.badge.off{background:#f3f4f6;color:#4b5563;border:1px solid #d1d5db}
.timer{min-width:120px;text-align:center;font-size:38px;font-weight:900;color:#8a6300;background:#fff6d8;border:1px solid #efd487;border-radius:18px;padding:12px 16px}.timer.low{background:#d43f3f;color:#fff;border-color:#b82f2f}.progress{height:14px;background:#eef2f7;border:1px solid #dde3ea;border-radius:999px;overflow:hidden;margin:12px 0 18px}.bar{height:100%;background:linear-gradient(90deg,var(--green),#58d28e)}.qtitle{font-size:30px;line-height:1.25;margin-bottom:8px}.sign-box{margin:18px 0 10px;display:flex;justify-content:center;align-items:center;min-height:250px;background:linear-gradient(180deg,#fbfbfc,#f1f4f8);border:1px dashed #cbd5e1;border-radius:20px;padding:16px}.sign-img{max-width:100%;max-height:220px;object-fit:contain}.options{display:grid;gap:12px;margin-top:18px}.opt{border:1px solid #d1d5db;border-radius:16px;padding:15px;background:#fff;cursor:pointer;transition:.15s ease}.opt:hover{background:#f8fafc;border-color:#8fa7cf}
.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:16px 0 22px}.kpi{background:#fafafa;border:1px solid #e5e7eb;border-radius:16px;padding:14px}.kpi .v{font-size:30px;font-weight:900;margin-top:6px}.review-item{border:1px solid #e5e7eb;border-radius:18px;padding:16px;background:#fff;margin-bottom:14px}.small{font-size:13px}.topline{display:flex;justify-content:space-between;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.actions a{margin-right:6px}code{background:#f3f4f6;padding:2px 6px;border-radius:6px}.hint{background:#fffbeb;border:1px solid #fde68a;padding:12px 14px;border-radius:14px;margin-top:12px}
.seo-intro{margin-bottom:22px}.seo-intro h1{font-size:34px;line-height:1.15;margin:0 0 10px}.seo-intro p{max-width:900px;line-height:1.65}.seo-section{margin-top:22px;background:#fff;border:1px solid var(--line);border-radius:22px;padding:24px;box-shadow:var(--shadow)}.seo-section h2{margin-top:0}.seo-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.seo-box{background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;padding:18px}.seo-box h3{margin-top:0}.seo-list{margin:0;padding-left:20px;line-height:1.75}.disclaimer{margin-top:18px;padding:14px 16px;background:#fff7ed;border:1px solid #fed7aa;border-radius:14px;color:#7c2d12;line-height:1.55}
@media (max-width: 960px){.layout{grid-template-columns:1fr}.mode-boxes,.kpis,.seo-grid{grid-template-columns:1fr}.qtitle{font-size:24px}.seo-intro h1{font-size:28px}}

/* ===== V2 visual refresh ===== */
:root{
  --navy:#0b1627;--navy2:#14233a;--green:#16a36a;--green2:#0d7c50;--mint:#eaf8f1;
  --ink:#172033;--muted:#667085;--line:#e5e9ef;--bg:#f5f7fa;--card:#fff;
  --amber:#f4b740;--blue:#356ad8;--red:#d84a4a;--radius:24px;--shadow:0 18px 55px rgba(27,39,59,.09)
}
html{scroll-behavior:smooth}
body{background:radial-gradient(circle at 85% -10%,rgba(22,163,106,.12),transparent 28%),linear-gradient(180deg,#fbfcfd 0,#f4f7fa 420px,#eef2f6 100%);min-height:100vh;line-height:1.55}
a{color:#1769aa}a:hover{color:#0d4f83}.header{position:sticky;top:0;z-index:30;background:rgba(11,22,39,.96);backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.12);box-shadow:0 8px 28px rgba(11,22,39,.12)}
.header-inner{max-width:1200px;padding:15px 24px}.brand{display:flex;align-items:center;gap:11px}.brand-badge{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(145deg,#2bc883,#0e8f5b);box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 6px 18px rgba(22,163,106,.28);font-size:22px}.brand-title{font-size:21px;line-height:1.15}.brand small{font-size:10px}.nav{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.nav a{margin:0;background:transparent;border:1px solid transparent;padding:9px 12px;border-radius:11px;color:#e9eef5;font-size:14px;font-weight:700}.nav a:hover,.nav a.active{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.12);color:#fff}.nav a.nav-admin{color:#b9c6d8}
.wrap{max-width:1200px;margin:28px auto;padding:0 24px 54px}.card,.seo-section,.hero-card{border-radius:var(--radius);box-shadow:var(--shadow);border:1px solid var(--line)}
.hero-home{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,.75fr);gap:24px;align-items:stretch;margin-bottom:24px}.hero-card{position:relative;overflow:hidden;background:linear-gradient(135deg,#0c192c 0%,#122b3c 55%,#0d7150 130%);color:#fff;padding:38px}.hero-card:after{content:"";position:absolute;right:-85px;bottom:-95px;width:300px;height:300px;border-radius:50%;background:radial-gradient(circle,rgba(55,218,151,.25),rgba(55,218,151,0) 67%)}.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#a9f1cf;background:rgba(31,198,127,.12);border:1px solid rgba(78,222,157,.26);border-radius:999px;padding:7px 11px}.hero-card h1{font-size:42px;line-height:1.08;letter-spacing:-.025em;margin:15px 0 13px;max-width:790px}.hero-card .lead{font-size:18px;line-height:1.65;color:#d5dfeb;max-width:780px;margin:0}.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.btn{transition:transform .15s ease,box-shadow .15s ease,background .15s ease}.btn:hover{transform:translateY(-1px)}.btn.primary{background:linear-gradient(135deg,#26bd7c,#108954);box-shadow:0 10px 25px rgba(16,137,84,.25)}.btn.hero-secondary{background:rgba(255,255,255,.1);color:#fff;border:1px solid rgba(255,255,255,.2)}.btn.hero-secondary:hover{background:rgba(255,255,255,.16);color:#fff}.hero-points{display:flex;gap:16px;flex-wrap:wrap;margin-top:23px;color:#dfe8f1;font-size:13px}.hero-points span:before{content:"✓";color:#56dfa2;font-weight:900;margin-right:6px}
.stats-card{background:#fff;padding:24px;display:flex;flex-direction:column;justify-content:center}.stats-card h2{font-size:17px;margin:0 0 14px}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.stat{background:#f7faf9;border:1px solid #e2eee8;border-radius:17px;padding:16px}.stat b{display:block;font-size:27px;color:#0d7950;line-height:1.1}.stat span{display:block;color:var(--muted);font-size:12px;margin-top:4px}.source-mini{margin-top:14px;color:var(--muted);font-size:12px;line-height:1.5}
.resource-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:22px 0}.resource-card{display:block;text-decoration:none;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:20px;padding:20px;box-shadow:0 10px 32px rgba(29,42,62,.06);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.resource-card:hover{color:var(--ink);transform:translateY(-3px);border-color:#b7dcca;box-shadow:0 16px 38px rgba(29,42,62,.1)}.resource-icon{width:45px;height:45px;border-radius:15px;display:grid;place-items:center;background:var(--mint);font-size:22px;margin-bottom:14px}.resource-card h3{margin:0 0 6px;font-size:18px}.resource-card p{margin:0;color:var(--muted);font-size:14px}.resource-card .more{display:block;margin-top:12px;color:#0d7950;font-weight:800;font-size:13px}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:16px}.section-heading h2{margin:0;font-size:25px}.section-heading p{margin:5px 0 0;color:var(--muted)}
.exam-start-card{padding:27px}.layout{grid-template-columns:minmax(0,1.35fr) minmax(300px,.7fr)}.mode{cursor:pointer;transition:.15s;border:1px solid #dce3e9;background:#fafcfd}.mode:hover{border-color:#9ed1b9;background:#f5fbf8}.mode input{accent-color:var(--green)}input[type=text],input[type=password],input[type=number],textarea,select{border-color:#d7dde5;background:#fbfcfd;transition:border-color .15s,box-shadow .15s}input:focus,textarea:focus,select:focus{outline:0;border-color:#6ec49a;box-shadow:0 0 0 4px rgba(22,163,106,.1);background:#fff}.chip{background:#edf9f3;border-color:#d3efdf;color:#126f4b}
.leaderboard-card{overflow:hidden}.leaderboard-row{display:flex;align-items:center;gap:11px;padding:10px 0;border-bottom:1px solid #edf0f3}.leaderboard-row:last-child{border-bottom:0}.rank{width:29px;height:29px;border-radius:10px;display:grid;place-items:center;background:#f0f4f7;font-weight:900;color:#4d5d70;font-size:12px}.leaderboard-name{flex:1;font-weight:700}.leaderboard-mode{font-size:11px;color:var(--muted)}.leaderboard-score{font-weight:900;color:#0d7950}
.public-hero{background:linear-gradient(135deg,#0c192c,#143b4b);color:#fff;border-radius:28px;padding:36px;box-shadow:var(--shadow);position:relative;overflow:hidden}.public-hero:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;right:-90px;top:-80px;background:radial-gradient(circle,rgba(39,201,128,.28),transparent 70%)}.public-hero h1{font-size:39px;line-height:1.1;letter-spacing:-.02em;margin:12px 0}.public-hero .lead{color:#d9e5ee;font-size:17px;max-width:850px}.breadcrumbs{font-size:12px;color:#6e7d90;margin:0 0 12px}.breadcrumbs a{color:#55718d;text-decoration:none}.breadcrumbs span{margin:0 6px}.public-hero .breadcrumbs,.public-hero .breadcrumbs a{color:#b8c6d5}
.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;margin-top:22px}.sticky-side{position:sticky;top:92px}.toc a{display:block;padding:8px 0;color:#43556b;text-decoration:none;border-bottom:1px solid #edf0f3;font-size:14px}.toc a:hover{color:#0c7a50}.content-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:25px;box-shadow:var(--shadow);margin-bottom:18px}.content-card h2{margin-top:0;font-size:25px}.content-card h3{font-size:19px}.study-category{scroll-margin-top:96px}.qa-list{display:grid;gap:12px}.qa-item{border:1px solid #e2e7ed;border-radius:17px;background:#fff;overflow:hidden}.qa-item summary{cursor:pointer;list-style:none;padding:16px 18px;font-weight:800;display:flex;gap:12px;align-items:flex-start}.qa-item summary::-webkit-details-marker{display:none}.qa-num{flex:0 0 30px;height:30px;border-radius:10px;display:grid;place-items:center;background:#eef8f3;color:#0d7950;font-size:12px}.qa-item summary:after{content:"+";margin-left:auto;color:#7a8797;font-size:20px;line-height:1}.qa-item[open] summary:after{content:"−"}.qa-answer{padding:0 18px 18px 60px;color:#425166}.qa-answer b{color:#0c7650}.qa-answer .answer-pill{display:inline-block;background:#eaf8f1;color:#0b704a;border:1px solid #ccebdc;border-radius:10px;padding:8px 11px;font-weight:800;margin-top:6px}
.signal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.signal-card{background:#fff;border:1px solid var(--line);border-radius:21px;padding:17px;box-shadow:0 8px 26px rgba(29,42,62,.05)}.signal-media{height:190px;border-radius:17px;background:linear-gradient(180deg,#fbfcfd,#f2f5f8);display:flex;align-items:center;justify-content:center;padding:12px;border:1px solid #edf0f3}.signal-media img{max-width:100%;max-height:165px;object-fit:contain}.signal-card h3{font-size:17px;margin:13px 0 5px}.signal-card p{font-size:13px;color:var(--muted);margin:0}.tag{display:inline-block;font-size:11px;font-weight:800;border-radius:999px;padding:5px 9px;margin-top:10px;background:#eef4fb;color:#3a5e8d}.tag.preventivas{background:#fff7d8;color:#8a6800}.tag.restrictivas{background:#fff0f0;color:#a73d3d}.tag.informativas{background:#eef3ff;color:#365ea9}.tag.semaforos{background:#edf8f1;color:#14704c}
.cta-strip{display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(135deg,#eaf8f1,#f7fbf9);border:1px solid #d7eee1;border-radius:22px;padding:23px;margin-top:20px}.cta-strip h2,.cta-strip h3{margin:0}.cta-strip p{margin:4px 0 0;color:var(--muted)}
.site-footer{margin-top:35px;background:#0b1627;color:#b7c4d3}.site-footer .footer-inner{max-width:1200px;margin:auto;padding:28px 24px;display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:24px}.site-footer h3{color:#fff;margin:0 0 9px;font-size:16px}.site-footer p,.site-footer a{font-size:13px;color:#b7c4d3}.site-footer a{display:block;text-decoration:none;margin:6px 0}.site-footer a:hover{color:#fff}.footer-bottom{border-top:1px solid rgba(255,255,255,.1);max-width:1200px;margin:auto;padding:14px 24px 22px;color:#8797aa;font-size:12px}.notice{border-left:4px solid #f0b735;background:#fff9e8;padding:13px 15px;border-radius:0 13px 13px 0;color:#665019;font-size:13px}
.image-note{font-size:12px;color:var(--muted);margin-top:8px}.search-box{display:flex;gap:8px;margin:16px 0}.search-box input{flex:1}.empty-search{display:none;padding:20px;color:var(--muted);text-align:center}.hide-search{display:none!important}

@media(max-width:1020px){.hero-home{grid-template-columns:1fr}.hero-card h1{font-size:36px}.content-grid{grid-template-columns:1fr}.sticky-side{position:static}.signal-grid{grid-template-columns:repeat(2,1fr)}.site-footer .footer-inner{grid-template-columns:1fr 1fr}.resource-grid{grid-template-columns:1fr}.nav{width:100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px}.nav a{white-space:nowrap}}
@media(max-width:650px){.header{position:relative}.header-inner{padding:14px 16px}.wrap{padding:0 15px 38px;margin-top:18px}.brand-title{font-size:18px}.hero-card,.public-hero{padding:25px 20px;border-radius:22px}.hero-card h1,.public-hero h1{font-size:30px}.hero-card .lead,.public-hero .lead{font-size:15px}.hero-home{gap:14px}.stats-card{padding:19px}.stat-grid{grid-template-columns:1fr 1fr}.resource-grid{margin:15px 0}.layout{gap:15px}.card{padding:18px;border-radius:19px}.mode-boxes{grid-template-columns:1fr}.signal-grid{grid-template-columns:1fr}.signal-media{height:180px}.qa-answer{padding-left:18px}.qa-item summary{padding:14px}.qa-num{display:none}.cta-strip{align-items:flex-start;flex-direction:column}.site-footer .footer-inner{grid-template-columns:1fr;padding:24px 18px}.site-footer .footer-bottom{padding:14px 18px 20px}.qtitle{font-size:22px}.timer{font-size:31px;min-width:98px}}

.study-question-image{margin:10px 0 14px;display:flex;justify-content:center}.study-question-image img{max-width:240px;max-height:220px;object-fit:contain;border:1px solid #e5e7eb;border-radius:16px;background:#fff;padding:8px}
