/* Plataforma de conhecimento agronômico — tons de verde, branco e neutros. */
:root {
  --verde-900: #12391f;
  --verde-700: #1f5f34;
  --verde-600: #2a7a43;
  --verde-100: #e4f1e7;
  --verde-50: #f2f8f3;
  --terra: #8a5a2b;
  --bg: #f6f8f5;
  --surface: #ffffff;
  --ink: #18241b;
  --muted: #5b6b5f;
  --line: #d8e1d9;
  --danger: #a3341f;
  --danger-bg: #fbeae6;
  --warn: #8a5a00;
  --warn-bg: #fdf3dc;
  --ok-bg: #e4f1e7;
  --radius: 10px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--font); }
a { color: var(--verde-700); }
a:hover { color: var(--verde-900); }
:focus-visible { outline: 3px solid var(--verde-600); outline-offset: 2px; }
code { font-family: var(--mono); font-size: .92em; background: var(--verde-50); padding: 1px 5px; border-radius: 4px; }
h1, h2 { line-height: 1.15; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); letter-spacing: -.01em; }
h2 { font-size: 1.15rem; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 16px; }
.main { display: flex; flex-direction: column; gap: 24px; padding-block: 28px 48px; min-height: 70vh; }
.footer { padding-block: 20px 32px; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.lede { color: var(--muted); font-size: 1.05rem; max-width: 60ch; }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--verde-600); }

/* Topo */
.topbar { background: var(--verde-900); color: #fff; }
.topbar-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.2rem; }
.brand:hover { color: #fff; }
.logo-mark { width: 28px; height: 28px; color: #8fd19e; }
.nav { display: flex; flex-wrap: wrap; gap: 4px; }
.nav a { color: #d8ecdc; text-decoration: none; padding: 6px 10px; border-radius: 6px; font-size: .95rem; }
.nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav a[aria-current="page"] { background: rgba(255,255,255,.14); color: #fff; }
.logout { display: flex; align-items: center; gap: 10px; }
.who { color: #b9d6bf; font-size: .85rem; }
.topbar .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.topbar .btn-ghost:hover { background: rgba(255,255,255,.1); }

/* Navegação de localização */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }

/* Blocos */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.narrow { max-width: 620px; display: flex; flex-direction: column; gap: 16px; }
.block { display: flex; flex-direction: column; gap: 12px; }
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.page-head > div { display: flex; flex-direction: column; gap: 6px; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; align-items: start; }
.cols > * { min-width: 0; }
.empty { text-align: left; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: 600 .95rem var(--font); padding: 9px 16px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; text-decoration: none; min-height: 40px; }
.btn:hover { border-color: var(--verde-600); color: var(--ink); }
.btn-primary { background: var(--verde-700); border-color: var(--verde-700); color: #fff; }
.btn-primary:hover { background: var(--verde-900); border-color: var(--verde-900); color: #fff; }
.btn-danger { color: var(--danger); border-color: #e5b7ad; }
.btn-danger:hover { background: var(--danger-bg); border-color: var(--danger); color: var(--danger); }
.btn-ghost { background: transparent; }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.actions form { margin: 0; }

/* Formulários */
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field label, .field legend, .field .label { font-weight: 600; font-size: .92rem; }
.field legend { margin-bottom: 4px; }
.opt { font-weight: 400; color: var(--muted); }
input:not([type]), input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="url"], input[type="number"], input[type="date"], select, textarea {
  font: 1rem var(--font); padding: 9px 11px; border: 1px solid #c3cfc5; border-radius: 8px; background: #fff; color: var(--ink); width: 100%; min-height: 42px; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--verde-600); }
.check { display: flex; gap: 8px; align-items: center; font-weight: 400 !important; }
.check input { width: 18px; height: 18px; accent-color: var(--verde-700); }
.help { font-size: .85rem; color: var(--muted); }
.error { font-size: .85rem; color: var(--danger); font-weight: 600; }
.has-error input, .has-error select { border-color: var(--danger); }

/* Mensagens */
.flashes { display: flex; flex-direction: column; gap: 10px; }
.flash { padding: 12px 14px; border-radius: 8px; border: 1px solid; display: flex; flex-direction: column; gap: 6px; }
.flash-ok { background: var(--ok-bg); border-color: #b5d8bd; }
.flash-erro { background: var(--danger-bg); border-color: #e5b7ad; color: #6f2213; }
.secret { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.secret span { font-size: .85rem; font-weight: 600; }
.secret code { font-size: 1.15rem; padding: 4px 10px; background: #fff; border: 1px dashed var(--verde-600); user-select: all; letter-spacing: .04em; }

/* Login */
.login { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 32px; align-items: center; padding-block: 16px; }
.login-intro { display: flex; flex-direction: column; gap: 14px; }
.login-intro h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); color: var(--verde-900); }
.login-intro > p { color: var(--muted); font-size: 1.05rem; max-width: 52ch; }
.access-note { border-left: 4px solid var(--terra); padding: 4px 0 4px 14px; display: flex; flex-direction: column; gap: 6px; max-width: 52ch; }
.access-note h2 { font-size: 1rem; }
.login-card { display: flex; flex-direction: column; gap: 14px; max-width: 420px; width: 100%; justify-self: center; box-shadow: 0 10px 30px rgba(18,57,31,.08); }
.login-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--verde-900); }
.login-brand .logo-mark { color: var(--verde-600); }

/* Início */
.hello { display: flex; flex-direction: column; gap: 4px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.tile { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.tile:hover { border-color: var(--verde-600); background: var(--verde-50); color: var(--ink); }
.tile-k { font-weight: 700; color: var(--verde-700); }
.tile-n { font-size: 2rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; }
.tile-d { font-size: .9rem; color: var(--muted); }

/* Filtros e tabelas */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; padding: 16px; }
.filters .grow { flex: 1 1 220px; }
.filters .field:not(.grow) { flex: 0 1 180px; }
.filter-actions { display: flex; gap: 8px; }
.table-wrap { overflow-x: auto; padding: 0; }
table { border-collapse: collapse; width: 100%; min-width: 640px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; background: var(--verde-50); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pill { display: inline-block; font-size: .75rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.pill-ativo { background: var(--ok-bg); color: var(--verde-700); }
.pill-bloqueado { background: var(--danger-bg); color: var(--danger); }
.pill-aviso { background: var(--warn-bg); color: var(--warn); }

/* Matriz de permissões */
.matrix { min-width: 560px; }
.matrix td { text-align: center; }
.matrix tbody th { font-weight: 500; }
.matrix tr.group th { background: var(--bg); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.matrix input { width: 20px; height: 20px; accent-color: var(--verde-700); }
.role-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.role-card { display: flex; flex-direction: column; gap: 6px; padding: 16px; }

/* Propriedades e histórico */
.props { display: flex; flex-direction: column; gap: 0; margin: 0; }
.props > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.props > div:last-child { border-bottom: 0; }
.props dt { color: var(--muted); font-size: .9rem; }
.props dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.history { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: .92rem; }
.history li { display: flex; flex-direction: column; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.history li:last-child { border-bottom: 0; padding-bottom: 0; }

@media (max-width: 560px) {
  .topbar-in { gap: 8px; }
  .nav { order: 3; flex-basis: 100%; }
  .top-search { order: 4; flex-basis: 100%; max-width: none; }
  .top-actions .btn-admin { font-size: .85rem; padding: 7px 10px; }
  .hero { padding: 20px 16px; }
  .props > div { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ============ Etapa 2: área dos usuários e painel ============ */
:root { --admin-bg: #eef1ee; --admin-side: #1b2a20; --admin-side-ink: #cfe1d3; --amarelo: #c99a2e; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 8px 12px; border-radius: 6px; z-index: 20; }
.skip:focus { left: 8px; }
.nav { flex: 0 1 auto; }
.top-search { flex: 1 1 220px; max-width: 360px; margin-left: auto; }
.top-search input { min-height: 38px; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: #fff; }
.top-search input::placeholder { color: #b9d6bf; }
.top-search input:focus { background: #fff; color: var(--ink); }
.top-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.top-search + .top-actions { margin-left: 0; }
.btn-admin { background: var(--amarelo); border-color: var(--amarelo); color: #1d1606; }
.btn-admin:hover { background: #b3871f; border-color: #b3871f; color: #1d1606; }
.flash-aviso { background: var(--warn-bg); border-color: #ecd49a; color: #5a3d00; }

/* Início */
.hero { display: flex; flex-direction: column; gap: 14px; padding: 28px 24px; border-radius: 14px;
  background: linear-gradient(135deg, var(--verde-900), var(--verde-700)); color: #fff; }
.hero .eyebrow { color: #a9dcb4; }
.hero h1 { color: #fff; max-width: 26ch; }
.hero .examples { color: #cfe5d4; font-size: .92rem; }
.hero .examples a { color: #fff; }
.search { display: flex; gap: 8px; max-width: 680px; }
.search input { flex: 1; min-width: 0; }
.search-big input { min-height: 50px; font-size: 1.05rem; border: 0; }
.search-big .btn { min-height: 50px; padding-inline: 22px; background: var(--amarelo); border-color: var(--amarelo); color: #1d1606; }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.crop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.crop-card { display: flex; flex-direction: column; gap: 2px; padding: 16px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.crop-card:hover { border-color: var(--verde-600); transform: translateY(-2px); color: var(--ink); }
.crop-icon { width: 40px; height: 40px; color: var(--verde-600); flex: none; }
.crop-icon-sm { width: 24px; height: 24px; }
.crop-icon-md { width: 48px; height: 48px; }
.crop-icon-lg { width: 72px; height: 72px; }
.crop-card .crop-icon { margin-bottom: 8px; }
.crop-name { font-weight: 700; font-size: 1.1rem; }
.crop-sci { font-style: italic; color: var(--muted); font-size: .88rem; }
.crop-count { margin-top: 6px; font-size: .82rem; color: var(--verde-700); font-weight: 600; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 28px; }
.two-col > * { min-width: 0; }
.link-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.link-list li { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.link-list li:last-child { border-bottom: 0; }
.link-list a { font-weight: 600; text-decoration: none; }
.link-list a:hover { text-decoration: underline; }
.about { background: var(--verde-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.about p { max-width: 62ch; }

/* Página da cultura */
.crop-head { display: flex; gap: 18px; align-items: flex-start; }
.crop-head > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.crop-head .crop-sci { font-size: 1rem; }
.toc { list-style: none; counter-reset: toc; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 8px; }
.toc-item { counter-increment: toc; }
.toc-item > a, .toc-item.pending { display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 12px 14px 12px 46px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--surface); position: relative; text-decoration: none; color: var(--ink); }
.toc-item::before { content: counter(toc, decimal-leading-zero); position: absolute; top: 14px; left: 14px; font: 700 .8rem var(--mono); color: var(--verde-600); z-index: 1; }
.toc-item { position: relative; }
.toc-item > a:hover { border-color: var(--verde-600); background: var(--verde-50); }
.toc-title { font-weight: 600; }
.toc-sum { font-size: .88rem; color: var(--muted); }
.toc-item.pending { background: transparent; border-style: dashed; color: var(--muted); flex-direction: row; justify-content: space-between; align-items: center; gap: 8px; }
.toc-item.pending::before { color: #a3b1a6; }
.pill-prep { background: #edf0ed; color: #6b786e; font-weight: 600; }
.toc-section { scroll-margin-top: 16px; }

/* Página do tópico */
.main-wide { max-width: 1120px; }
.topic-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 36px; align-items: start; }
.topic { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.topic-head { display: flex; flex-direction: column; gap: 6px; }
.prose { max-width: 70ch; font-size: 1.04rem; line-height: 1.7; display: flex; flex-direction: column; gap: 14px; }
.prose h2 { font-size: 1.3rem; margin-top: 12px; color: var(--verde-900); }
.prose h3 { font-size: 1.08rem; margin: 6px 0 0; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 4px; }
.prose table { min-width: 0; font-size: .95rem; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.table-scroll table { min-width: 420px; }
.note { border-left: 4px solid var(--amarelo); background: var(--warn-bg); padding: 10px 14px; border-radius: 0 8px 8px 0; font-size: .95rem; }
.refs { border-top: 2px solid var(--verde-100); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.refs h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.refs ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: .92rem; }
.refs-missing { font-size: .9rem; color: var(--warn); background: var(--warn-bg); padding: 10px 14px; border-radius: 8px; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pager a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); text-decoration: none; font-weight: 600; }
.pager a span { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.pager-next { text-align: right; grid-column: 2; }
.topic-side { position: sticky; top: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; font-size: .9rem; }
.topic-side h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.topic-side ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 5px; }
.topic-side a { text-decoration: none; }
.topic-side a[aria-current="page"] { font-weight: 700; color: var(--verde-900); }
.topic-side li.pending { color: #9aa79d; }
@media (max-width: 860px) { .topic-layout { grid-template-columns: 1fr; } .topic-side { position: static; } }

/* Busca */
.results { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.results li { display: flex; flex-direction: column; gap: 3px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.results a { font-weight: 700; font-size: 1.05rem; }
.results p { color: #3d4a40; font-size: .95rem; }
mark { background: #f8e3a3; color: inherit; padding: 0 2px; border-radius: 3px; }

/* ===== Painel do administrador ===== */
.area-admin { background: var(--admin-bg); }
.admin-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; background: var(--admin-side); color: #fff; }
.admin-top .brand { font-size: 1.1rem; flex-wrap: wrap; }
.badge-admin { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--amarelo); color: #1d1606; padding: 3px 8px; border-radius: 4px; }
.admin-top .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.admin-top .btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.admin-shell { display: grid; grid-template-columns: 230px minmax(0, 1fr); min-height: calc(100vh - 58px); }
.admin-nav { background: var(--admin-side); padding: 12px 10px 24px; display: flex; flex-direction: column; gap: 2px; }
.admin-nav a { color: var(--admin-side-ink); text-decoration: none; padding: 8px 12px; border-radius: 6px; font-size: .95rem; }
.admin-nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.admin-nav a[aria-current="page"] { background: var(--verde-700); color: #fff; font-weight: 600; }
.nav-group { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #7f9a86; padding: 14px 12px 4px; }
.admin-main { padding: 24px clamp(16px, 3vw, 36px) 48px; display: flex; flex-direction: column; gap: 22px; min-width: 0; max-width: 1200px; }
@media (max-width: 760px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-nav { flex-direction: row; overflow-x: auto; padding: 6px 10px; gap: 4px; }
  .admin-nav a { white-space: nowrap; }
  .nav-group { display: none; }
}
.tile-n small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.tile-warn { border-color: #ecd49a; background: #fffaf0; }
.progress-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.progress-list li { display: grid; grid-template-columns: minmax(110px, 1fr) 2fr auto; gap: 12px; align-items: center; }
.progress-list a { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; }
progress { appearance: none; -webkit-appearance: none; width: 100%; height: 8px; border: 0; border-radius: 99px; background: var(--line); overflow: hidden; vertical-align: middle; }
progress::-webkit-progress-bar { background: var(--line); border-radius: 99px; }
progress::-webkit-progress-value { background: var(--verde-600); border-radius: 99px; }
progress::-moz-progress-bar { background: var(--verde-600); border-radius: 99px; }
td progress { width: 80px; margin-right: 6px; }
.crop-cell { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.crop-title { display: flex; align-items: center; gap: 12px; }
.move { display: flex; gap: 4px; justify-content: flex-end; }
.move form { margin: 0; }
.btn-icon { width: 32px; height: 32px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: .95rem; color: var(--muted); }
.btn-icon:hover { border-color: var(--verde-600); color: var(--verde-700); }
.pill-arquivado { background: #ececec; color: #666; }
.pill-vazio { background: #f1f3f1; color: #7a867d; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.icon-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.icon-opt { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 92px; padding: 10px 6px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-weight: 400 !important; font-size: .8rem; text-align: center; background: var(--surface); }
.icon-opt input { position: absolute; opacity: 0; }
.icon-opt:has(input:checked) { border-color: var(--verde-600); background: var(--verde-50); box-shadow: 0 0 0 2px var(--verde-100); }
.icon-opt:has(input:focus-visible) { outline: 3px solid var(--verde-600); }
.add-topic { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; padding-top: 6px; border-top: 1px solid var(--line); }
.add-topic .grow { flex: 1 1 260px; }
.add-topic .full { flex-basis: 100%; }
.topics-table { min-width: 600px; }
.topics-table tr.child td:first-child { padding-left: 34px; position: relative; }
.topics-table tr.child td:first-child::before { content: "└"; position: absolute; left: 16px; color: #a9b6ac; }
.topics-table tr.archived td { opacity: .55; }
.editor { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; align-items: start; }
.editor-main { min-width: 0; }
.editor-side { position: sticky; top: 16px; font-size: .9rem; }
textarea.code { font: .95rem/1.55 var(--mono); }
.format-help { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.format-help div { display: flex; flex-direction: column; gap: 1px; }
.format-help dd { margin: 0; color: var(--muted); font-size: .82rem; }
.format-help code { font-size: .8rem; white-space: normal; overflow-wrap: anywhere; }
.sticky-actions { position: sticky; bottom: 0; background: var(--admin-bg); padding: 10px 0; border-top: 1px solid var(--line); }
.danger-zone { border-color: #ecd0c8; }
@media (max-width: 900px) { .editor { grid-template-columns: 1fr; } .editor-side { position: static; } }

/* ajustes de alinhamento */
.page-head > .actions, .page-head > .crop-title { flex-direction: row; align-items: center; }
.block-head a { white-space: nowrap; }
.toc-item.pending { align-items: flex-start; }
.toc-item.pending .pill { flex: none; }

/* Marcações de confiabilidade do conteúdo */
.tag { display: inline-block; font-size: .72rem; font-weight: 700; line-height: 1.5; padding: 0 7px; border-radius: 4px; vertical-align: .1em; white-space: normal; }
.tag-pesquisa { background: #e1ebf7; color: #24507d; }
.tag-recomendacao { background: var(--ok-bg); color: var(--verde-700); }
.tag-geral { background: #eeeeea; color: #5d5d55; }
.tag-atencao { background: var(--warn-bg); color: var(--warn); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: .85rem; }
.legend div { display: flex; align-items: center; gap: 6px; }
.legend dd { margin: 0; color: var(--muted); }

/* Imagens dos tópicos */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; max-width: 70ch; }
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: var(--verde-50); display: block; }
.gallery figcaption { font-size: .88rem; color: var(--ink); display: flex; flex-direction: column; gap: 2px; }
.gallery .credit { font-size: .78rem; color: var(--muted); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.image-admin { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.image-admin li { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 8px; padding: 8px; }
.image-admin img { width: 96px; height: 72px; object-fit: cover; border-radius: 6px; background: var(--verde-50); }
.image-admin div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.image-forms { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.image-forms h3 { margin: 0; font-size: 1rem; }
.image-preview { max-width: 240px; border-radius: 6px; border: 1px solid var(--line); }
.btn-small { padding: 4px 10px; font-size: .85rem; }
@media (max-width: 560px) { .image-admin li { grid-template-columns: 72px minmax(0, 1fr); } .image-admin form { grid-column: 1 / -1; } }
@media (max-width: 560px) {
  /* No celular, as fotos ficam lado a lado com rolagem horizontal, para o texto não ficar lá embaixo. */
  .gallery { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .gallery figure { scroll-snap-align: start; }
}

/* ===== Página da cultura: estudo por módulos ===== */
.small { font-size: .88rem; }
.block { display: block; }
.btn-lg { min-height: 48px; padding-inline: 22px; font-size: 1rem; }
.crop-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: stretch;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.crop-hero.has-cover { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.crop-hero-text { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.crop-hero-title { display: flex; gap: 14px; align-items: center; }
.crop-hero-title h1 { margin: 0; font-size: clamp(1.7rem, 3.4vw, 2.3rem); color: var(--verde-900); line-height: 1.15; }
.crop-hero .crop-sci { margin: 2px 0 0; font-size: 1rem; }
.crop-hero .lede { margin: 0; }
.crop-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 10px 18px; margin: 0;
  padding-top: 12px; border-top: 1px solid var(--line); }
.crop-facts div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.crop-facts dt { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.crop-facts dd { margin: 0; font-size: .95rem; }
.crop-cover { margin: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.crop-cover img { width: 100%; height: 100%; min-height: 200px; max-height: 300px; object-fit: cover; border-radius: 10px; background: var(--verde-50); display: block; }
.crop-cover figcaption { font-size: .78rem; color: var(--muted); }

.study-progress { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px;
  background: var(--verde-50); border: 1px solid #c9dfcd; border-radius: 12px; padding: 16px 20px; }
.study-progress-text { display: flex; flex-direction: column; gap: 6px; flex: 1 1 260px; }
.study-progress h2 { margin: 0; font-size: 1rem; color: var(--verde-900); }
.study-progress p { margin: 0; }
.study-progress progress { height: 10px; max-width: 420px; }
.study-next { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.done-msg { margin: 0; font-weight: 600; color: var(--verde-700); }
.scope-note { margin: 0; font-size: .88rem; color: #3d4a40; border-left: 4px solid var(--verde-600); background: var(--surface); padding: 10px 14px; border-radius: 0 8px 8px 0; }

.study-filters { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: flex-end; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.study-filters .field { flex: 1 1 170px; min-width: 0; }
.study-filters .field.grow { flex: 2 1 240px; }
.study-filters label { font-size: .85rem; }
.filter-actions { display: flex; gap: 8px; }

.modules { display: flex; flex-direction: column; gap: 12px; }
.module { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.module[open] { border-color: #c2d6c6; }
.module > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 20px; align-items: center;
  padding: 16px 48px 16px 18px; position: relative; border-radius: 12px; }
.module > summary::-webkit-details-marker { display: none; }
.module > summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--verde-700); border-bottom: 2px solid var(--verde-700); transform: rotate(45deg); transition: transform .15s; }
.module[open] > summary::after { transform: rotate(225deg); margin-top: -2px; }
.module > summary:hover { background: var(--verde-50); }
.module > summary:focus-visible { outline: 3px solid var(--verde-600); outline-offset: -3px; }
.module-head { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.module-n { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--verde-600); }
.module-title { font-size: 1.12rem; font-weight: 700; color: var(--verde-900); }
.module-desc { font-size: .9rem; color: var(--muted); }
.module-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: .85rem; color: var(--muted); white-space: nowrap; }
.module-meta progress { width: 140px; }
.module-flat { background: transparent; border: 0; }
.lessons { list-style: none; margin: 0; padding: 4px 14px 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 8px; }
.module-flat .lessons { padding: 0; }
.lesson-link { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "num body" "num status"; gap: 4px 12px; height: 100%;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); text-decoration: none; color: var(--ink); }
a.lesson-link:hover { border-color: var(--verde-600); background: var(--verde-50); color: var(--ink); }
.lesson-num { grid-area: num; font: 700 .85rem var(--mono); color: var(--verde-700); background: var(--verde-50); border: 1px solid var(--verde-100);
  border-radius: 8px; width: 34px; height: 34px; display: grid; place-items: center; }
.lesson-body { grid-area: body; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lesson-title { font-weight: 650; line-height: 1.3; }
.lesson-sum { font-size: .86rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lesson-meta { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.lesson-link > .lesson-status, .lesson-link > .pill { grid-area: status; justify-self: start; }
.chip { display: inline-block; font-size: .72rem; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: #eef1ee; color: #4a574d; }
.chip-kind { background: var(--verde-100); color: var(--verde-900); }
.chip-material { background: #f1ebe2; color: #6b4a22; }
.chip-exercicio, .chip-questionario { background: #e6eef8; color: #24507d; }
.chip-quiz { background: #e6eef8; color: #24507d; }
.lesson-status { font-size: .78rem; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.status-concluida { color: var(--verde-700); }
.status-andamento { color: var(--warn); }
.status-nao-iniciada { color: var(--muted); font-weight: 600; }
.lesson-concluida .lesson-num { background: var(--verde-700); color: #fff; border-color: var(--verde-700); }
.lesson.pending .lesson-link { border-style: dashed; background: transparent; color: var(--muted); }
.lesson.pending .lesson-num { color: #94a397; background: transparent; }

/* ===== Página da aula ===== */
.topic-head h1 { margin: 0; line-height: 1.2; }
.topic-num { color: var(--verde-600); font-weight: 700; }
.topic-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin: 4px 0 0; font-size: .88rem; color: var(--muted); }
.lesson-toc { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; max-width: 70ch; }
.lesson-toc h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 6px; }
.lesson-toc ol { margin: 0; padding-left: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3px 18px; font-size: .92rem; }
.lesson-sec { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 16px; }
.lesson-sec h2 { scroll-margin-top: 16px; }
.lesson-case { background: #fbf7ee; border: 1px solid #ecdcb8; border-radius: 12px; padding: 4px 18px 16px; }
.lesson-quiz { background: #f3f7fc; border: 1px solid #d3e0ef; border-radius: 12px; padding: 4px 18px 16px; }
.quiz-help { font-size: .9rem; color: var(--muted); margin: 0; }
.quiz { list-style: none; padding: 0 !important; margin: 0; display: flex; flex-direction: column; gap: 10px !important; }
.quiz-item { background: var(--surface); border: 1px solid #d3e0ef; border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.quiz-q { margin: 0; font-weight: 600; }
.quiz-n { color: #24507d; }
.answer { border-top: 1px dashed var(--line); padding-top: 8px; }
.answer > summary { cursor: pointer; font-weight: 600; color: var(--verde-700); font-size: .95rem; width: fit-content; }
.answer > summary:focus-visible { outline: 3px solid var(--verde-600); outline-offset: 2px; border-radius: 4px; }
.answer-body { margin-top: 8px; padding: 10px 12px; background: var(--verde-50); border-radius: 8px; display: flex; flex-direction: column; gap: 8px; }
.answer-body p { margin: 0; }
.complete-box { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; padding: 14px 16px;
  border: 1px solid #c9dfcd; background: var(--verde-50); border-radius: 10px; max-width: 70ch; }
.complete-box p { margin: 0; flex: 1 1 260px; }
.complete-box.is-done { background: var(--surface); }
.side-progress { margin: 0 0 10px; display: flex; flex-direction: column; gap: 6px; }
.side-module { border-top: 1px solid var(--line); padding: 8px 0; }
.side-module > summary { cursor: pointer; font-weight: 700; font-size: .85rem; color: var(--verde-900); }
.topic-side .side-module ol { list-style: none; padding: 6px 0 0; gap: 4px; }
.topic-side .side-module li a, .topic-side .side-module li.pending { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 6px; }
.side-mark { color: var(--muted); }
.side-concluida .side-mark { color: var(--verde-700); font-weight: 700; }
.side-andamento .side-mark { color: var(--warn); }
.plain-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.topics-table tr.module-row td { background: var(--verde-50); font-weight: 600; }
.topics-table tr.module-row .help { font-weight: 400; }
.cover-fields { display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.narrow-form { max-width: 720px; }

@media (max-width: 860px) {
  .crop-hero.has-cover { grid-template-columns: 1fr; }
  .crop-cover { order: -1; }
  .crop-cover img { max-height: 200px; min-height: 0; aspect-ratio: 16 / 7; }
}
@media (max-width: 560px) {
  .crop-hero { padding: 14px; border-radius: 12px; }
  .crop-cover img { aspect-ratio: 16 / 8; }
  .module > summary { grid-template-columns: 1fr; padding: 14px 42px 14px 14px; }
  .module-meta { align-items: flex-start; }
  .module-meta progress { width: 100%; }
  .lessons { padding: 2px 8px 10px; }
  .study-next, .study-next .btn { width: 100%; }
  .filter-actions { width: 100%; }
  .filter-actions .btn { flex: 1; }
  .lesson-case, .lesson-quiz { padding: 2px 12px 12px; }
}
.crop-facts .fact-wide { grid-column: 1 / -1; }
.st-half { display: inline-block; width: .8em; height: .8em; border-radius: 50%; border: 2px solid currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); vertical-align: -.05em; box-sizing: border-box; }
@media (max-width: 560px) {
  .study-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; padding: 12px; }
  .study-filters .field.grow, .study-filters .field:has(#f-modulo), .filter-actions { grid-column: 1 / -1; }
  .study-filters label { font-size: .8rem; }
  .study-filters select { font-size: .92rem; padding-inline: 8px; }
}

/* ===== Página inicial ===== */
.home-hero { display: grid; grid-template-columns: minmax(0, 1fr); border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, var(--verde-900), var(--verde-700)); color: #fff; }
.home-hero-text { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 4vw, 40px) clamp(18px, 4vw, 40px) 22px; }
.home-hero .eyebrow { color: #e9c766; }
.home-hero h1 { color: #fff; margin: 0; font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.08; letter-spacing: -.01em; }
.home-hero-lede { margin: 0; max-width: 66ch; color: #dcebdf; font-size: 1.04rem; }
.search-label { display: block; font-weight: 700; color: #fff; margin-bottom: 6px; font-size: 1.05rem; }
.search-row { display: flex; gap: 8px; }
.search-row input { flex: 1; min-width: 0; }
.search-big { max-width: 760px; }
.home-hero .examples { margin: 0; color: #cfe5d4; font-size: .92rem; }
.home-hero .examples a { color: #fff; }
.home-hero-media { margin: 0; position: relative; }
.home-hero-media img { display: block; width: 100%; height: clamp(110px, 16vw, 190px); object-fit: cover; background: var(--verde-700); }
.home-hero-media figcaption { position: absolute; right: 8px; bottom: 6px; font-size: .7rem; color: #fff; background: rgba(0,0,0,.45); padding: 1px 6px; border-radius: 4px; }
.home-hero-media figcaption a { color: #fff; }

.shortcuts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 10px; }
.shortcut { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  text-decoration: none; color: var(--ink); border-top: 3px solid var(--verde-600); }
a.shortcut:hover { border-color: var(--verde-600); background: var(--verde-50); color: var(--ink); }
.shortcut strong { color: var(--verde-900); }
.shortcut span { font-size: .85rem; color: var(--muted); }
.shortcut-soon { border-top-color: var(--amarelo); background: #fffdf7; }
.shortcut-soon span { color: var(--warn); font-weight: 600; }

.continue-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 14px; align-items: start; }
.continue-last { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 12px; text-decoration: none; color: var(--ink);
  background: var(--verde-50); border: 1px solid #c9dfcd; }
.continue-last:hover { border-color: var(--verde-600); color: var(--ink); }
.continue-title { font-size: 1.2rem; font-weight: 700; color: var(--verde-900); }
.continue-last .btn { align-self: flex-start; margin-top: 6px; }
.study-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.study-list li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.study-list p { margin: 0; }
.study-row-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.milestone { color: var(--verde-700); font-weight: 600; }
.starter-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 10px; }
.starter-list a { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); height: 100%; }
.starter-list a:hover { border-color: var(--verde-600); background: var(--verde-50); color: var(--ink); }

.crop-grid2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.crop-card2 { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.crop-card2:hover { border-color: #b9d2be; box-shadow: 0 4px 14px rgba(18, 57, 31, .08); }
.crop-card2-media { display: block; aspect-ratio: 16 / 9; background: var(--verde-50); }
.crop-card2-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.crop-card2-icon { display: grid; place-items: center; height: 100%; }
.crop-card2-icon .crop-icon { width: 64px; height: 64px; }
.crop-card2-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.crop-card2-title { margin: 0; font-size: 1.2rem; }
.crop-card2-title a { color: var(--verde-900); text-decoration: none; }
.crop-card2-title a:hover { text-decoration: underline; }
.crop-card2 .crop-sci { margin: 0; }
.crop-card2-sum { margin: 0; font-size: .9rem; color: #3d4a40; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.crop-card2-count { margin: 0; font-size: .85rem; font-weight: 600; color: var(--verde-700); }
.crop-card2-progress { margin: 0; display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); }
.crop-card2-progress progress { flex: 1; }
.btn-block { width: 100%; margin-top: auto; }

.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px; }
.theme-card { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--amarelo);
  border-radius: 10px; text-decoration: none; color: var(--ink); }
.theme-card:hover { border-color: var(--verde-600); border-left-color: var(--amarelo); background: var(--verde-50); color: var(--ink); }
.theme-title { font-weight: 700; color: var(--verde-900); }
.theme-desc { font-size: .86rem; color: var(--muted); }
.theme-count { font-size: .8rem; font-weight: 700; color: var(--verde-700); margin-top: auto; }
.theme-lessons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 8px; }
.theme-lessons a { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); height: 100%; }
.theme-lessons a:hover { border-color: var(--verde-600); background: var(--verde-50); color: var(--ink); }
.theme-group h2 { font-size: 1.15rem; }

/* ===== Aula: blocos estruturados ===== */
.lesson-box { border-radius: 12px; padding: 14px 18px; max-width: 70ch; display: flex; flex-direction: column; gap: 6px; }
.lesson-box h2 { margin: 0; font-size: 1.05rem; color: var(--verde-900); }
.lesson-box ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.lesson-box p { margin: 0; }
.lesson-objectives { background: var(--verde-50); border: 1px solid #c9dfcd; }
.lesson-summary { background: #fffaf0; border: 1px solid #ecd49a; }
.lesson-glossary { background: var(--surface); border: 1px solid var(--line); }
.lesson-glossary dl { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.lesson-glossary dt { font-weight: 700; }
.lesson-glossary dd { margin: 0; color: #3d4a40; font-size: .95rem; }

/* ===== Painel: editor e revisão ===== */
.block-bar { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; background: var(--verde-50); border: 1px solid var(--line); border-radius: 8px 8px 0 0; border-bottom: 0; }
.block-bar + textarea { border-top-left-radius: 0; border-top-right-radius: 0; }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: .88rem; }
.checklist .ok span { color: var(--verde-700); font-weight: 700; }
.checklist .missing { color: var(--muted); }
.review-fields { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; background: var(--surface); }
.review-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.review-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.review-list li:last-child { border-bottom: 0; }
.review-note { flex-basis: 100%; color: var(--warn); }

@media (max-width: 760px) {
  .continue-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .search-row { flex-direction: column; }
  .search-row .btn { width: 100%; }
  .home-hero-text { padding: 20px 16px 16px; }
  .shortcuts { grid-template-columns: 1fr 1fr; }
  .shortcut { padding: 10px 12px; }
  .crop-card2-media { aspect-ratio: 16 / 7; }
}
.search { display: block; }
@media (max-width: 560px) {
  /* Celular: cartões compactos, com foto pequena ao lado, para a página não ficar longa demais. */
  .crop-grid2 { gap: 10px; }
  .crop-card2 { display: grid; grid-template-columns: 96px minmax(0, 1fr); }
  .crop-card2-media { aspect-ratio: auto; height: 100%; min-height: 120px; }
  .crop-card2-body { padding: 10px 12px 12px; gap: 4px; }
  .crop-card2-title { font-size: 1.05rem; }
  .crop-card2-sum { display: none; }
  .crop-card2 .crop-sci { font-size: .8rem; }
  .crop-card2 .btn-block { min-height: 38px; font-size: .9rem; padding: 6px 10px; margin-top: 4px; }
  .theme-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .theme-card { padding: 10px 12px; }
  .theme-desc { display: none; }
  .starter-list { grid-template-columns: 1fr 1fr; gap: 8px; }
  .starter-list a { padding: 10px 12px; }
  .home-hero-lede { font-size: .95rem; }
}

/* ===== Preparação Profissional ===== */
.shortcut-new { border-top-color: var(--amarelo); }
.shortcut-new span { color: var(--verde-700); font-weight: 600; }
.career-hero { display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 4vw, 34px); border-radius: 16px; color: #fff;
  background: linear-gradient(135deg, var(--verde-900), #24603a 70%, #3b6b2a); }
.career-hero h1 { color: #fff; margin: 0; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.1; }
.career-hero .eyebrow { color: #e9c766; }
.career-hero .lede { color: #dcebdf; margin: 0; max-width: 70ch; }
.career-hero .small, .career-hero .career-meta { color: #cfe5d4; }
.career-hero a { color: #fff; }
.career-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.career-cta .btn-primary { background: var(--amarelo); border-color: var(--amarelo); color: #1d1606; }
.career-hero .done-msg { color: #fff; }
.disclaimer { margin: 0; font-size: .88rem; padding: 10px 14px; border-radius: 8px; background: #fff8e6; color: #5a3d00; border: 1px solid #ecd49a; max-width: 80ch; }
.career-hero .disclaimer { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: #fff; }

.xp-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; align-items: stretch; }
.xp-item { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.xp-wide { grid-column: span 2; }
.xp-k { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.xp-v { font-size: 1.6rem; font-weight: 800; color: var(--verde-900); line-height: 1.1; }
.xp-d { font-size: .82rem; color: var(--muted); }
.xp-link { align-self: center; justify-self: start; }

.career-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.career-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--amarelo); border-radius: 12px; }
.career-card h3 { margin: 0; font-size: 1.2rem; }
.career-card h3 a { color: var(--verde-900); text-decoration: none; }
.career-card p { margin: 0; }
.career-card .btn { align-self: flex-start; margin-top: auto; }
.career-meta { color: var(--verde-700); font-weight: 600; }

.career-tabs { display: flex; flex-wrap: wrap; gap: 6px; position: sticky; top: 0; z-index: 5; background: var(--bg); padding: 8px 0; }
.career-tabs a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 600; font-size: .9rem; }
.career-tabs a:hover { border-color: var(--verde-600); }
.career-section { scroll-margin-top: 56px; }
.section-title { font-size: 1.5rem; color: var(--verde-900); }

.stages { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; counter-reset: none; }
.stage { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.stage-done { border-color: #b9d6bf; background: #fbfdfb; }
.stage-head { display: flex; gap: 12px; align-items: flex-start; }
.stage-head h3 { margin: 0; font-size: 1.15rem; color: var(--verde-900); }
.stage-head p { margin: 2px 0 0; }
.stage-n { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--verde-700); color: #fff; }
.stage-done .stage-n { background: var(--amarelo); color: #1d1606; }
.stage-about > summary { cursor: pointer; font-weight: 600; color: var(--verde-700); }
.stage-about .prose { margin-top: 8px; font-size: .97rem; }
.stage-refs { margin: 4px 0 0; padding-left: 18px; }
.missions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 8px; }
.mission-link { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; padding: 12px 14px; height: 100%; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); background: var(--surface); }
.mission-link:hover { border-color: var(--verde-600); background: var(--verde-50); color: var(--ink); }
.mission-num { font: 700 .85rem var(--mono); color: var(--verde-700); background: var(--verde-50); border: 1px solid var(--verde-100); border-radius: 8px; width: 34px; height: 34px; display: grid; place-items: center; }
.mission-aprovada .mission-num { background: var(--verde-700); color: #fff; border-color: var(--verde-700); }
.mission-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mission-title { font-weight: 650; line-height: 1.3; }
.mission-sum { font-size: .86rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mission-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .78rem; color: var(--muted); }
.diff { color: #8a5a00; white-space: nowrap; }
.diff span[aria-hidden] { letter-spacing: 1px; }
.mission-status { font-size: .78rem; font-weight: 700; }
.mission-status.status-aprovada { color: var(--verde-700); }
.mission-status.status-tentada { color: var(--warn); }
.mission-status.status-nova { color: var(--muted); font-weight: 600; }

.comp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.comp { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; display: flex; flex-direction: column; gap: 4px; }
.comp-head { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.comp-state { font-size: .8rem; font-weight: 700; color: var(--muted); }
.comp-consolidada .comp-state { color: var(--verde-700); }
.comp-desenvolvimento .comp-state { color: #24507d; }
.comp-lacuna { border-color: #ecd49a; background: #fffcf3; }
.comp-lacuna .comp-state { color: var(--warn); }

.mission-page { display: flex; flex-direction: column; gap: 18px; max-width: 860px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.mission-form { display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(14px, 3vw, 22px); }
.mission-form h2 { margin: 0; }
.question { border: 1px solid #d3e0ef; background: #f7faff; border-radius: 10px; padding: 12px 14px; margin: 0; }
.question legend { font-weight: 650; padding: 0 4px; line-height: 1.4; }
.options { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.option { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; font-weight: 400; }
.option:hover { border-color: var(--verde-600); }
.option:has(input:checked) { border-color: var(--verde-600); background: var(--verde-50); }
.option input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--verde-700); flex: none; }
.numeric input { max-width: 220px; margin-top: 8px; }
.deliverable textarea { font-size: 1rem; }
.result-box { border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.result-box h2 { margin: 0; }
.result-box p { margin: 0; }
.result-ok { background: var(--ok-bg); border: 1px solid #b5d8bd; }
.result-retry { background: var(--warn-bg); border: 1px solid #ecd49a; }
.corrections { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.correction { border: 1px solid var(--line); border-left-width: 5px; border-radius: 10px; padding: 12px 14px; background: var(--surface); display: flex; flex-direction: column; gap: 6px; }
.correction p { margin: 0; }
.is-correct { border-left-color: var(--verde-600); }
.is-wrong { border-left-color: var(--danger); }
.challenges { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.challenges li.done { color: var(--verde-700); font-weight: 600; }
.badges { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 8px; }
.badge { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); }
.badge > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.badge-icon { font-size: 1.4rem; line-height: 1; color: var(--amarelo); }
.badge-off { opacity: .6; }
.badge-off .badge-icon { color: #a3b1a6; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px; }
.portfolio { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.portfolio-item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; break-inside: avoid; }
.portfolio-item h2 { margin: 0 0 4px; font-size: 1.15rem; }
.portfolio-text { white-space: pre-wrap; margin-top: 8px; line-height: 1.6; }
@media (max-width: 560px) {
  .xp-wide { grid-column: 1 / -1; }
  .xp-strip { grid-template-columns: 1fr 1fr; }
  .xp-link { grid-column: 1 / -1; width: 100%; }
}
@media print {
  .topbar, .crumbs, .footer, .skip, .flashes { display: none !important; }
  body { background: #fff; }
  .portfolio-item, .disclaimer { border-color: #999; }
}
/* Menu com mais itens: a busca encolhe antes de quebrar a linha. */
.topbar-in { gap: 10px 14px; }
.top-search { flex: 1 1 120px; max-width: 300px; }
.nav a { padding: 6px 9px; }

/* ---------- Curso prático e ferramentas ---------- */
.inline-link { font-weight: 600; }
.chip-test { background: var(--verde-50); color: var(--verde-700); box-shadow: inset 0 0 0 1px var(--verde-600); }
.chip-pass { background: var(--ok-bg); color: var(--verde-900); box-shadow: inset 0 0 0 1px var(--verde-600); }
.chip-retry { background: var(--warn-bg); color: var(--warn); box-shadow: inset 0 0 0 1px #e5c77a; }
.practice-banner { display: grid; gap: 4px; margin: 0 0 18px; padding: 16px 18px; border: 1px solid var(--verde-600); border-left-width: 6px; border-radius: var(--radius); background: var(--verde-50); color: var(--ink); text-decoration: none; }
.practice-banner strong { color: var(--verde-700); font-size: 1.05rem; }
.practice-banner:hover { background: var(--verde-100); color: var(--ink); }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; margin-top: 18px; }
.tool-card { display: grid; gap: 6px; align-content: start; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; }
.tool-card strong { font-size: 1.05rem; color: var(--verde-700); }
.tool-card span:last-child { color: var(--muted); font-size: .92rem; }
.tool-card .chip { justify-self: start; }
.tool-card:hover { border-color: var(--verde-600); box-shadow: 0 2px 8px rgba(18, 57, 31, .08); }
.figure-note { display: inline-block; margin: 0 0 12px; padding: 4px 10px; border-radius: 6px; background: var(--warn-bg); color: var(--warn); font-size: .88rem; }

.plant-layout { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 24px; align-items: start; }
.plant-figure { margin: 0; position: sticky; top: 12px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.plant-svg { display: block; width: 100%; height: auto; }
.svg-part { cursor: pointer; }
.svg-part:hover > *, .svg-part:focus > * { stroke: #f2b705; stroke-width: 3; }
.part-index { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.part-index a { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .9rem; text-decoration: none; }
.part-card { padding: 12px 16px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.part-card h2 { margin: 0 0 4px; font-size: 1.05rem; }
.part-card p { margin: 0 0 4px; }
.part-card:target { border-color: var(--verde-600); background: var(--verde-50); box-shadow: 0 0 0 3px var(--verde-100); }

.timeline { list-style: none; margin: 18px 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 25px; top: 0; bottom: 0; width: 3px; background: var(--line); }
.tl-item { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 14px; margin-bottom: 14px; position: relative; }
.tl-marker { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--verde-700); color: #fff; z-index: 1; }
.tl-r .tl-marker { background: var(--terra); }
.tl-card { padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.tl-card h2 { margin: 0 0 4px; font-size: 1.05rem; }
.tl-card p { margin: 0 0 6px; }
.tl-code { color: var(--muted); font-weight: 700; }
.tl-manage { color: var(--verde-900); background: var(--verde-50); padding: 4px 8px; border-radius: 6px; }
.tl-photo { margin: 8px 0 0; }
.tl-photo img { width: 100%; max-width: 420px; height: auto; border-radius: 8px; display: block; }
.tl-photo figcaption { font-size: .82rem; color: var(--muted); }
.photo-missing { font-size: .85rem; color: var(--muted); font-style: italic; }

.calc-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 20px; align-items: start; }
.calc-layout > * { min-width: 0; }
.result-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 0; }
.result-grid > div { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--verde-50); }
.result-grid dt { font-size: .82rem; color: var(--muted); }
.result-grid dd { margin: 2px 0 0; font-size: 1.25rem; font-weight: 700; color: var(--verde-900); }
.result-grid > .ok { background: var(--ok-bg); border-color: var(--verde-600); }
.result-grid > .bad { background: var(--danger-bg); border-color: #e4a99b; }
.result-grid > .bad dd { color: var(--danger); }
.calc-steps { margin: 0; padding-left: 20px; font-family: var(--mono); font-size: .88rem; }
.calc-steps li { margin-bottom: 4px; overflow-wrap: anywhere; }
.row-low td { background: var(--warn-bg); }
.distances { display: flex; flex-wrap: wrap; gap: 6px; }
.dist { min-width: 3.4em; padding: 6px 8px; text-align: center; border: 1px solid var(--line); border-radius: 6px; background: var(--verde-50); font-family: var(--mono); }

.flashcard { max-width: 560px; margin: 18px auto; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 4px 16px rgba(18, 57, 31, .08); text-align: center; }
.fc-term { font-size: 1.6rem; margin: 6px 0 14px; }
.fc-back summary { cursor: pointer; display: inline-block; padding: 8px 14px; border: 1px solid var(--verde-600); border-radius: 8px; color: var(--verde-700); font-weight: 600; }
.fc-back[open] summary { margin-bottom: 12px; }
.fc-back p { text-align: left; }
.fc-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.lesson-test { margin: 28px 0; padding: 18px 20px; border: 2px solid var(--verde-600); border-radius: var(--radius); background: var(--surface); }
.lesson-test h2 { margin-top: 0; }

@media (max-width: 760px) {
  .plant-layout { grid-template-columns: 1fr; }
  .plant-figure { position: static; max-width: 340px; margin-inline: auto; }
  .timeline::before { left: 19px; }
  .tl-item { grid-template-columns: 40px minmax(0, 1fr); gap: 10px; }
  .tl-marker { width: 40px; height: 40px; font-size: .85rem; }
  .flashcard { padding: 18px; }
}

/* ---------- Página inicial (topo com foto, vantagens e carrossel de culturas) ---------- */
body.area-usuario { overflow-x: clip; }
.brand { font-size: 1.45rem; letter-spacing: -.01em; }
.brand-hl { color: #8fd19e; }
.btn-ico { width: 18px; height: 18px; margin-right: 6px; vertical-align: -3px; flex: none; }
/* Na página inicial o conteúdo usa uma largura um pouco maior, como na referência. */
.main-home { padding-top: 0; gap: 0; max-width: 1280px; }
.main-home > * + * { margin-top: 28px; }
.main-home > .features, .main-home > .features + .categories { margin-top: 0; }
.hero2, .features { width: 100vw; margin-left: calc(50% - 50vw); }

/* Banner: foto de lavoura (Wikimedia Commons) com gradiente verde-escuro; altura controlada. */
.hero2 { position: relative; color: #fff;
  background: linear-gradient(90deg, rgba(10, 38, 20, .94) 0%, rgba(10, 38, 20, .86) 45%, rgba(10, 38, 20, .5) 72%, rgba(10, 38, 20, .15) 100%),
    url("https://upload.wikimedia.org/wikipedia/commons/thumb/7/7d/SojaBrasnorte.jpg/1280px-SojaBrasnorte.jpg") center / cover no-repeat var(--verde-900); }
@media (min-width: 1400px) {
  .hero2 { background: linear-gradient(90deg, rgba(10, 38, 20, .94) 0%, rgba(10, 38, 20, .86) 45%, rgba(10, 38, 20, .5) 72%, rgba(10, 38, 20, .15) 100%),
    url("https://upload.wikimedia.org/wikipedia/commons/thumb/7/7d/SojaBrasnorte.jpg/1920px-SojaBrasnorte.jpg") center / cover no-repeat var(--verde-900); }
}
.hero2-in { max-width: 1280px; margin: 0 auto; min-height: clamp(340px, 44vh, 420px); padding: clamp(28px, 4vh, 40px) 16px clamp(32px, 4.5vh, 44px);
  display: grid; grid-template-columns: minmax(0, 820px); align-items: center; box-sizing: border-box; }
.hero2-text { display: flex; flex-direction: column; gap: 14px; }
.hero2-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #e6f3e8; }
.hero2-eyebrow .ico { width: 20px; height: 20px; color: #7bd389; }
.hero2 h1 { margin: 0; color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.1; letter-spacing: -.02em; font-weight: 800; }
.hero2-hl { display: block; color: #8ee05a; }
.hero2-lede { margin: 0; max-width: 52ch; color: #eef6ef; font-size: 1.08rem; line-height: 1.5; }
.hero-search { display: flex; max-width: 640px; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.hero-search-field { flex: 1; display: flex; align-items: center; gap: 12px; padding: 7px 16px; cursor: text; min-width: 0; }
.hero-search-ico { width: 22px; height: 22px; color: var(--ink); flex: none; }
.hero-search-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.hero-search-label { font-size: .92rem; font-weight: 600; color: var(--ink); }
.hero-search input { border: 0; padding: 2px 0; min-height: 0; font-size: .88rem; background: transparent; color: var(--ink); width: 100%; }
.hero-search input:focus { outline: none; }
.hero-search:focus-within { box-shadow: 0 0 0 3px #8ee05a, 0 8px 24px rgba(0,0,0,.25); }
.hero-search-btn { display: inline-flex; align-items: center; gap: 8px; padding: 0 26px; border: 0; background: var(--verde-700); color: #fff; font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; }
.hero-search-btn .ico { width: 20px; height: 20px; }
.hero-search-btn:hover { background: var(--verde-600); }
.hero2-examples { margin: 0; font-size: .92rem; color: #cfe5d4; }
.hero2-examples a { color: #fff; font-weight: 600; text-decoration-color: rgba(255,255,255,.45); text-underline-offset: 3px; }
.hero2-examples a:hover { text-decoration-color: #8ee05a; }
.hero2-credit { position: absolute; right: 10px; bottom: 6px; margin: 0; font-size: .68rem; color: #fff; background: rgba(0,0,0,.45); padding: 1px 8px; border-radius: 4px; }
.hero2-credit a { color: #fff; }

/* Faixa compacta de vantagens, logo abaixo do banner. */
.features { list-style: none; margin-top: 0; padding: 16px max(16px, calc(50vw - 624px)); background: #eef4ee; border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; box-sizing: border-box; }
.features li { display: flex; gap: 12px; align-items: center; padding: 2px 18px; border-left: 1px solid #cbd9cd; min-width: 0; }
.features li:first-child { border-left: 0; padding-left: 0; }
.features-ico { flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--verde-900); color: #fff; }
.features-ico .ico { width: 26px; height: 26px; }
.features strong { display: block; color: var(--verde-900); font-size: .97rem; line-height: 1.25; }
.features li > span:last-child > span { display: block; font-size: .84rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.home-hello { margin: 0; font-weight: 600; color: var(--verde-700); }
.main-home > .home-hello + * { margin-top: 10px; }

/* Categorias: começam logo depois das vantagens; cards uniformes. */
.categories { padding-top: 24px; }
.categories-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.categories-head h2 { margin: 2px 0 0; font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--verde-900); letter-spacing: -.01em; }
.cat-eyebrow { color: var(--verde-900); }
.cat-eyebrow .ico { color: var(--verde-600); }
.cat-nav { display: flex; gap: 8px; }
.cat-nav[hidden] { display: none; }
.cat-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.cat-btn .ico { width: 20px; height: 20px; }
.cat-btn:hover:not(:disabled) { border-color: var(--verde-600); color: var(--verde-700); }
.cat-btn:disabled { opacity: .4; cursor: default; }
.cat-track { list-style: none; margin: 0; padding: 0 0 6px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 16px) / 6); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.cat-card { scroll-snap-align: start; min-width: 0; }
.cat-card a { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--verde-700); color: #fff; text-decoration: none; }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.cat-card a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(10, 38, 20, .9) 100%); }
.cat-card a:hover img { transform: scale(1.04); }
.cat-card-label { position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 1; display: flex; align-items: center; gap: 10px; }
.cat-card-ico { flex: none; width: 42px; height: 42px; border-radius: 50%; background: rgba(42, 122, 67, .92); display: grid; place-items: center; }
.cat-card-ico .crop-icon { width: 24px; height: 24px; color: #fff; }
.cat-card-name { font-weight: 800; font-size: 1.08rem; text-shadow: 0 1px 3px rgba(0,0,0,.5); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-card-arrow { width: 18px; height: 18px; color: #8ee05a; flex: none; }
.cat-more { margin: 8px 0 0; font-size: .9rem; }

/* Tablet: espaçamentos menores; benefícios em 2 colunas; 4 cards por vez. */
@media (max-width: 1100px) {
  .cat-track { grid-auto-columns: calc((100% - 3 * 14px) / 4.2); gap: 14px; }
}
@media (max-width: 900px) {
  .main-home > * + * { margin-top: 22px; }
  .hero2-in { min-height: 0; padding: 28px 16px 36px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; padding-block: 14px; }
  .features li:nth-child(3) { border-left: 0; padding-left: 0; }
  .cat-track { grid-auto-columns: calc((100% - 2 * 14px) / 3.2); }
}
/* Celular: banner em coluna, pesquisa adaptada, benefícios em lista compacta de 2 colunas. */
@media (max-width: 560px) {
  .brand { font-size: 1.25rem; }
  .hero2 { background: linear-gradient(180deg, rgba(10, 38, 20, .84), rgba(10, 38, 20, .92)),
    url("https://upload.wikimedia.org/wikipedia/commons/thumb/7/7d/SojaBrasnorte.jpg/960px-SojaBrasnorte.jpg") center / cover no-repeat var(--verde-900); }
  .hero2-in { padding: 22px 16px 14px; }
  .hero2-text { gap: 12px; }
  .hero2 h1 { font-size: 1.75rem; }
  .hero2-lede { font-size: .93rem; }
  .hero-search { flex-direction: column; }
  .hero-search-btn { justify-content: center; padding: 11px; }
  .hero2-credit { position: static; display: block; margin: 0 16px 10px; width: fit-content; max-width: calc(100% - 32px); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; padding: 14px 16px; }
  .features li, .features li:nth-child(3) { border-left: 0; padding: 0; gap: 8px; align-items: flex-start; }
  .features-ico { width: 34px; height: 34px; }
  .features-ico .ico { width: 18px; height: 18px; }
  .features strong { font-size: .86rem; }
  .features li > span:last-child > span { font-size: .76rem; }
  .categories { padding-top: 18px; }
  .cat-track { grid-auto-columns: 64%; gap: 12px; }
}
/* Cabeçalho com a mesma largura do conteúdo da página inicial, para os alinhamentos baterem. */
.topbar-in { max-width: 1280px; }
.main-home > .home-hello { margin-top: 32px; }

/* ---------- Tela de login ---------- */
.page-login .topbar, .page-login .footer { display: none; }
.page-login { background: #f3f8f0; }
.page-login main, .page-login .wrap.main { max-width: none; padding: 0; margin: 0; }
.lg { position: relative; overflow: hidden; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; gap: clamp(16px, 3vh, 28px);
  padding: clamp(16px, 3vw, 36px) clamp(16px, 4vw, 48px); box-sizing: border-box;
  background: radial-gradient(70% 60% at 100% 0%, rgba(110, 190, 80, .28), transparent 70%), radial-gradient(60% 50% at 100% 100%, rgba(40, 130, 60, .30), transparent 70%), #f3f8f0; }
.lg::before { content: ""; position: absolute; right: -12vw; bottom: -18vh; width: 70vw; height: 46vh; border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: linear-gradient(160deg, #6fc04a, #1d6b34); opacity: .9; transform: rotate(-8deg); z-index: 0; }
.lg::after { content: ""; position: absolute; right: -8vw; top: -16vh; width: 48vw; height: 40vh; border-radius: 0 0 50% 50% / 0 0 100% 100%; background: linear-gradient(200deg, #7fcf55, rgba(127, 207, 85, 0)); opacity: .55; transform: rotate(-10deg); z-index: 0; }
.lg > * { position: relative; z-index: 1; }
.lg-top { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.lg-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; letter-spacing: -.03em; color: #14532d; }
.lg-brand b { color: #2f8f3a; font-weight: 800; }
.lg-sprout { width: clamp(38px, 5vw, 56px); height: auto; color: #2f8f3a; }
.lg-slogan { padding-left: 22px; border-left: 2px solid #14532d; font-style: italic; color: #14532d; font-size: clamp(.95rem, 1.6vw, 1.2rem); }
.lg-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 3.5vw, 48px); align-items: center; max-width: 1360px; width: 100%; margin: 0 auto; }
.lg-hero { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: clamp(18px, 3vh, 30px); min-height: clamp(460px, 64vh, 640px);
  padding: clamp(28px, 4vw, 52px) clamp(24px, 4vw, 52px) clamp(180px, 26vh, 280px); border-radius: 28px; color: #fff;
  background: radial-gradient(90% 70% at 85% 10%, rgba(80, 160, 70, .35), transparent 60%), linear-gradient(180deg, #0f3d22 0%, #14532d 55%, #1d5e2c 100%); box-shadow: 0 24px 50px rgba(15, 61, 34, .25); }
.lg-hero-sprout { position: absolute; left: clamp(18px, 3vw, 40px); top: clamp(22px, 3.4vw, 44px); width: clamp(54px, 8vw, 110px); height: auto; color: #7fd35a; }
.lg-hero h1 { margin: 0 0 0 clamp(64px, 10vw, 140px); color: #fff; font-size: clamp(1.8rem, 3.6vw, 3.1rem); line-height: 1.08; letter-spacing: -.025em; font-weight: 800; max-width: 15ch; }
.lg-hero h1 em { font-style: normal; color: #8fe060; }
.lg-hero h1::after { content: ""; display: block; width: 46%; height: 4px; margin-top: 14px; border-radius: 4px; background: linear-gradient(90deg, #6fc04a, transparent); }
.lg-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; }
.lg-feats li { display: flex; align-items: center; gap: 12px; padding: 4px clamp(10px, 1.6vw, 22px); font-weight: 600; font-size: clamp(.86rem, 1.15vw, 1.05rem); line-height: 1.25; }
.lg-feats li span { white-space: nowrap; }
.lg-feats li + li { border-left: 1px solid rgba(255, 255, 255, .25); }
.lg-feats li:first-child { padding-left: 0; }
.lg-feats .login-ico { flex: none; width: clamp(34px, 3.4vw, 46px); height: clamp(34px, 3.4vw, 46px); color: #7fd35a; stroke-width: 1.6; }
.lg-hero .login-art { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(170px, 26vh, 270px); }
.lg-card { display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 560px; justify-self: center; box-sizing: border-box; background: #fff; border-radius: 26px;
  padding: clamp(24px, 3.4vw, 44px); box-shadow: 0 24px 50px rgba(18, 57, 31, .14), 0 2px 8px rgba(18, 57, 31, .06); }
.lg-card-head { display: flex; align-items: center; gap: 18px; margin-bottom: 6px; }
.lg-avatar { flex: none; width: clamp(60px, 6vw, 84px); height: clamp(60px, 6vw, 84px); border-radius: 50%; display: grid; place-items: center; background: linear-gradient(160deg, #1f7a3a, #14532d); color: #fff; box-shadow: 0 8px 18px rgba(20, 83, 45, .3); }
.lg-avatar .login-ico { width: 52%; height: 52%; stroke-width: 2; }
.lg-card h2 { margin: 0; font-size: clamp(1.45rem, 2.2vw, 2rem); color: #14532d; letter-spacing: -.02em; font-weight: 800; }
.lg-card-head p { margin: 4px 0 0; color: #5d6b61; font-size: clamp(.9rem, 1.2vw, 1.05rem); }
.lg-card .field { gap: 8px; }
.lg-card label { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1rem; color: #1f2d1a; }
.lg-card label .login-ico { width: 20px; height: 20px; color: #1f2d1a; stroke-width: 2.2; }
.login2-input { position: relative; display: flex; align-items: center; }
.login2-input .login-ico { position: absolute; left: 14px; width: 20px; height: 20px; color: #7a8a7e; pointer-events: none; }
.login2-input input { width: 100%; min-height: 48px; padding-left: 44px; border-radius: 10px; font-size: 1rem; box-sizing: border-box; }
.login2-input input#f-password { padding-right: 48px; }
.login2-input:focus-within .login-ico { color: #1f7a3a; }
.login2-eye { position: absolute; right: 8px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: #6b7b6f; cursor: pointer; }
.login2-eye[hidden] { display: none; }
.login2-eye:hover { background: #eef5ea; color: #1f7a3a; }
.login2-eye[aria-pressed="true"] { color: #1f7a3a; }
.login2-eye .login-ico { position: static; width: 22px; height: 22px; color: inherit; }
.lg-card .login2-input input { min-height: 54px; background: #f6f8f5; border: 1px solid #e4ebe1; border-radius: 12px; }
.lg-card .login2-input input:focus { background: #fff; }
.lg-submit { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; margin-top: 6px; font-size: 1.15rem; font-weight: 700; border-radius: 12px;
  background: linear-gradient(180deg, #1a6b35, #14532d); border-color: #14532d; box-shadow: 0 8px 18px rgba(20, 83, 45, .25); }
.lg-submit:hover { background: #1f7a3a; }
.lg-submit .login-ico { position: static; width: 24px; height: 24px; color: #fff; }
.lg-ou { display: flex; align-items: center; gap: 14px; color: #5d6b61; font-size: .92rem; }
.lg-ou::before, .lg-ou::after { content: ""; flex: 1; height: 1px; background: #dfe6dc; }
.lg-help { margin: 0; text-align: center; color: #1f2d1a; }
.lg-help a, .lg-ig a { color: #2f8f3a; font-weight: 700; }
.lg-ig { margin: 0; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px; border-radius: 12px; background: #eef5ea; border: 1px solid #e0ebdb; color: #1f2d1a; }
.lg-ig .login-ico { width: 22px; height: 22px; color: #14532d; stroke-width: 2; }
.lg-foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; color: #14532d; font-weight: 500; }
.lg-foot span { display: inline-flex; align-items: center; gap: 10px; }
.lg-foot span + span { padding-left: 22px; border-left: 1px solid #9bb59f; }
.lg-foot .login-ico { width: 26px; height: 26px; color: #2f8f3a; stroke-width: 2; }
.lg-foot-sprout { width: 26px; height: 26px; color: #2f8f3a; }
@media (max-width: 900px) {
  .lg-grid { grid-template-columns: 1fr; }
  .lg-card { order: 1; max-width: 520px; }
  .lg-hero { order: 2; min-height: 0; padding-bottom: 200px; }
  .lg-br { display: none; }
  .lg-hero .login-art { height: 160px; }
  .lg-feats { grid-template-columns: 1fr; gap: 10px; }
  .lg-feats li { padding: 0; }
  .lg-feats li + li { border-left: 0; }
  .lg::before { width: 120vw; height: 24vh; bottom: -12vh; }
}
@media (max-width: 520px) {
  .lg-slogan { padding-left: 0; border-left: 0; width: 100%; }
  .lg-top { gap: 4px; }
  .lg-hero h1 { margin-left: 0; margin-top: 60px; font-size: 1.7rem; }
  .lg-hero-sprout { width: 48px; }
  .lg-card { border-radius: 20px; }
  .lg-card-head { gap: 14px; }
  .lg-foot { flex-direction: column; gap: 8px; font-size: .9rem; }
  .lg-foot span + span { padding-left: 0; border-left: 0; }
}

/* ---------- Página inicial: seções enxutas abaixo das categorias ---------- */
.main-home > .home-sec { margin-top: 36px; }
.home-sec .block-head { margin-bottom: 12px; }
.home-sec h2 { margin: 0; font-size: 1.3rem; color: var(--verde-900); }
.continue2 { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 24px; align-items: center;
  padding: 18px 22px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--verde-600); border-radius: 12px; }
.continue2-last, .continue2-progress { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.continue2 .continue-title { font-size: 1.15rem; font-weight: 700; color: var(--verde-900); text-decoration: none; }
.continue2 .continue-title:hover { text-decoration: underline; }
.continue2-progress progress { width: 100%; height: 8px; }
.continue2 .btn { white-space: nowrap; }
.continue2-others { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 8px 24px; }
.continue2-others li { display: grid; grid-template-columns: auto minmax(60px, 1fr) auto; gap: 10px; align-items: center; }
.continue2-others progress { width: 100%; height: 6px; }
.theme-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.theme-pills a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  color: var(--verde-900); font-weight: 600; font-size: .92rem; text-decoration: none; }
.theme-pills a:hover { border-color: var(--verde-600); background: var(--verde-50); }
.theme-pills span { min-width: 22px; padding: 0 6px; border-radius: 999px; background: var(--verde-100); color: var(--verde-700); font-size: .78rem; text-align: center; }
.recent-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.recent-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.recent-list a { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent-list .small { white-space: nowrap; }
.main-home > .home-note { margin-top: 28px; font-size: .82rem; color: var(--muted); }
@media (max-width: 760px) {
  .continue2 { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
  .continue2 .btn { justify-self: start; }
  .recent-list { grid-template-columns: 1fr; }
  .recent-list li { flex-direction: column; gap: 2px; }
  .recent-list a { white-space: normal; }
  .main-home > .home-sec { margin-top: 28px; }
}

/* ---------- Quiz de plantas daninhas ---------- */
.wq-areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.wq-card { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.wq-card h2 { margin: 0; font-size: 1.2rem; color: var(--verde-900); }
.wq-card p { margin: 0; }
.wq-card .chip { align-self: flex-start; }
.wq-card .btn { align-self: flex-start; margin-top: auto; }
.wq-daily { border-top: 4px solid var(--verde-600); }
.wq-done { color: var(--verde-700); font-weight: 600; }
.wq-progress { display: flex; align-items: center; gap: 10px; margin: 0; font-size: .9rem; color: var(--muted); }
.wq-progress progress { flex: 0 1 220px; min-width: 90px; height: 8px; }
.wq-sizes fieldset { border: 0; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.wq-size { position: relative; }
.wq-size input { position: absolute; opacity: 0; inset: 0; }
.wq-size span { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; cursor: pointer; }
.wq-size input:checked + span { background: var(--verde-700); border-color: var(--verde-700); color: #fff; }
.wq-size input:focus-visible + span { outline: 3px solid var(--verde-600); outline-offset: 2px; }
.wq-sizes .btn { margin-top: 6px; }
.wq-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.wq-stats > div { padding: 8px 10px; background: var(--verde-50); border-radius: 8px; }
.wq-stats dt { font-size: .78rem; color: var(--muted); }
.wq-stats dd { margin: 0; font-size: 1.3rem; font-weight: 800; color: var(--verde-900); }
.wq-stats-wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.wq-question { display: flex; flex-direction: column; gap: 16px; }
.wq-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.wq-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.wq-photo { margin: 0; }
.wq-photo img { display: block; width: 100%; max-height: 520px; object-fit: contain; background: #0f2416; border-radius: 12px; }
.wq-photo figcaption { margin-top: 6px; font-size: .78rem; color: var(--muted); }
.wq-side { display: flex; flex-direction: column; gap: 14px; }
.wq-prompt { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--verde-900); }
.wq-form fieldset { border: 0; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wq-option { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; font-weight: 600; }
.wq-option:hover { border-color: var(--verde-600); }
.wq-option input { margin: 0; accent-color: var(--verde-700); }
.wq-option:has(input:checked) { border-color: var(--verde-700); background: var(--verde-50); box-shadow: 0 0 0 2px var(--verde-100); }
.wq-letter { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--verde-100); color: var(--verde-900); font-weight: 800; font-size: .85rem; }
.wq-options { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wq-options li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; color: var(--muted); }
.wq-options .opt-right { border-color: var(--verde-600); background: var(--ok-bg); color: var(--verde-900); }
.wq-options .opt-right .wq-letter { background: var(--verde-700); color: #fff; }
.wq-options .opt-wrong { border-color: #e4a99b; background: var(--danger-bg); color: var(--danger); }
.wq-options .opt-wrong .wq-letter { background: var(--danger); color: #fff; }
.wq-result { padding: 12px 14px; border-radius: 10px; }
.wq-result.is-ok { background: var(--ok-bg); color: var(--verde-900); }
.wq-result.is-bad { background: var(--danger-bg); color: var(--danger); }
.wq-diff, .wq-info { padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.wq-diff { border-left: 4px solid var(--danger); }
.wq-diff h2 { margin: 0 0 10px; font-size: 1.15rem; }
.wq-diff h3 { margin: 0 0 6px; font-size: 1rem; }
.wq-info h3 { margin: 0; font-size: 1.2rem; color: var(--verde-900); }
.wq-info h3 em { font-weight: 500; color: var(--muted); }
.wq-info h4 { margin: 14px 0 4px; font-size: .95rem; color: var(--verde-700); }
.wq-info ul { margin: 0; padding-left: 20px; }
.wq-note { margin: 0; padding: 10px 14px; background: var(--warn-bg); border-radius: 8px; }
.wq-review { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 10px; }
.wq-review a { display: flex; gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); text-decoration: none; color: var(--ink); }
.wq-review img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; flex: none; background: var(--verde-50); }
.wq-review span { display: flex; flex-direction: column; }
.wq-review .is-ok a { border-left: 4px solid var(--verde-600); }
.wq-review .is-bad a { border-left: 4px solid var(--danger); }
.wq-one { grid-template-columns: 1fr; }
.wq-library { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.wq-lib-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.wq-lib-card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--verde-50); }
.wq-lib-card > div { padding: 12px 14px; }
.wq-lib-card h2 { margin: 0; font-size: 1.1rem; color: var(--verde-900); }
.wq-lib-card ul { padding-left: 18px; margin: 6px 0; }
.wq-credit { margin: 6px 0 0; font-size: .72rem; color: var(--muted); }
.wq-admin-photos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 10px; }
.wq-admin-photos li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; }
.wq-admin-photos li.is-off { opacity: .55; }
.wq-admin-photos img { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; }
.wq-admin-photos div { display: flex; flex-direction: column; gap: 4px; }
.wq-admin-photos form { margin-top: auto; }
.wq-admin-preview { max-width: 360px; width: 100%; border-radius: 10px; }
@media (max-width: 900px) {
  .wq-areas { grid-template-columns: 1fr; }
  .wq-layout { grid-template-columns: 1fr; }
  .wq-stats-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Área de quizzes ---------- */
.quiz-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.quiz-card > a, .quiz-card > div { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; }
.quiz-card > a:hover { border-color: var(--verde-600); box-shadow: 0 4px 14px rgba(18, 57, 31, .08); }
.quiz-card.is-soon > div { background: transparent; border-style: dashed; color: var(--muted); }
.quiz-ico { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--verde-900); color: #fff; }
.quiz-ico .ico { width: 28px; height: 28px; }
.is-soon .quiz-ico { background: var(--verde-100); color: var(--verde-700); }
.quiz-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.quiz-body strong { font-size: 1.15rem; color: var(--verde-900); }
.is-soon .quiz-body strong { color: var(--muted); }
.quiz-meta { font-size: .85rem; color: var(--verde-700); font-weight: 600; }
@media (max-width: 560px) {
  .quiz-card > a, .quiz-card > div { grid-template-columns: auto minmax(0, 1fr); }
  .quiz-go, .quiz-card .pill { grid-column: 1 / -1; justify-self: start; }
}
/* Com o item Quizzes no menu, a busca do topo fica mais estreita para caber numa linha. */
.top-search { flex: 1 1 140px; max-width: 230px; }
@media (max-width: 1360px) { .nav a { padding: 6px 7px; font-size: .92rem; } .topbar-in { gap: 10px 12px; } }
.btn-admin .lbl-short { display: none; }
@media (min-width: 561px) { .btn-admin .lbl-long { display: none; } .btn-admin .lbl-short { display: inline; } }
.top-search { max-width: 210px; }

/* ---------- Quizzes de texto ---------- */
.qz-hero { display: flex; gap: 18px; align-items: center; padding: 22px 24px; border-radius: 16px; color: #fff;
  background: radial-gradient(120% 120% at 0% 0%, #2a7a43 0%, var(--verde-900) 70%); }
.qz-hero h1 { margin: 2px 0 6px; color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.qz-hero p { margin: 0; color: #d7ead9; max-width: 70ch; }
.qz-hero .eyebrow { color: #a8dcb4; }
.qz-hero-ico { width: 64px; height: 64px; flex: none; background: rgba(255,255,255,.12); }
.qz-hero-ico .ico { width: 34px; height: 34px; }
.qz-cat { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--verde-900); font-weight: 600; font-size: .9rem; }
.qz-cat span { min-width: 22px; padding: 0 6px; border-radius: 999px; background: var(--verde-100); color: var(--verde-700); font-size: .78rem; text-align: center; }
.qz-card { max-width: 820px; display: flex; flex-direction: column; gap: 14px; padding: clamp(18px, 3vw, 28px); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.qz-prompt { font-size: 1.12rem; color: var(--ink); }
.qz-prompt p { margin: 0 0 8px; }
.qz-figure img { max-height: 360px; }
.qz-exp h2 { margin: 0 0 6px; font-size: 1.1rem; color: var(--verde-900); }
.qz-exp h3 { margin: 12px 0 4px; font-size: .95rem; color: var(--verde-700); }
.qz-review { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-width: 900px; }
.qz-review a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); text-decoration: none; }
.qz-review a > span:last-child { display: flex; flex-direction: column; }
.qz-review .is-ok a { border-left: 4px solid var(--verde-600); }
.qz-review .is-bad a { border-left: 4px solid var(--danger); }
.qz-mark { font-weight: 800; width: 18px; }
.is-ok .qz-mark { color: var(--verde-700); }
.is-bad .qz-mark { color: var(--danger); }
.qz-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 760px; }
.qz-cats li { display: grid; grid-template-columns: minmax(0, 260px) minmax(80px, 1fr) auto; gap: 12px; align-items: center; }
.qz-cats progress { width: 100%; height: 10px; }
.qz-admin-opts { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: grid; gap: 8px; }
.qz-admin-opt { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: end; }
.qz-admin-img summary { cursor: pointer; font-weight: 600; }
@media (max-width: 560px) {
  .qz-hero { flex-direction: column; align-items: flex-start; padding: 18px; }
  .qz-cats li { grid-template-columns: 1fr; gap: 4px; }
}
.wq-progress span { white-space: nowrap; }
.qz-question { max-width: 820px; margin-inline: auto; width: 100%; }
.qz-question .qz-card { max-width: none; }

/* ---------- Sistema de questões (concursos, simulados, revisão) ---------- */
.qz-origin { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; }
.qz-origin > span:not(.pill) { color: var(--ink); }
.qz-prov { margin-top: 8px; padding: 8px 12px; background: var(--verde-50); border-radius: 8px; }
.qz-prov summary { cursor: pointer; font-weight: 600; color: var(--verde-900); }
.qz-prov dl { margin: 8px 0 0; display: grid; grid-template-columns: minmax(0, 180px) minmax(0, 1fr); gap: 4px 12px; }
.qz-prov dt { font-weight: 600; color: var(--verde-700); }
.qz-prov dd { margin: 0; }
.qz-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.qz-notes li { padding: 6px 10px; border-left: 3px solid var(--line); background: var(--surface); }
.qz-notes li.is-right { border-left-color: var(--verde-600); background: var(--ok-bg); }
.qz-report { font-size: .9rem; }
.qz-report summary { cursor: pointer; color: var(--muted); }
.qz-report form { margin-top: 8px; max-width: 520px; }
.qz-sim-review { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.qz-sim-review > li { max-width: 860px; }
.qz-sim-review h3 { margin: 0 0 6px; font-size: 1.05rem; color: var(--verde-900); }
.qz-flow { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.qz-flow a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; }
.qz-checklist { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: grid; gap: 6px; }
.qz-week { border-collapse: collapse; width: 100%; max-width: 640px; }
.qz-week th, .qz-week td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.qz-bar { width: 120px; height: 8px; vertical-align: middle; }
.qz-reports li { margin-bottom: 6px; }
form.inline { display: inline; }
.qz-exam h2 { margin: 0; font-size: 1.15rem; color: var(--verde-900); }
.qz-exam p { margin: 0; }
.qz-levels { margin-top: 16px; }
.qz-levels h2 { margin: 0; font-size: 1.1rem; }
@media (max-width: 560px) {
  .qz-prov dl { grid-template-columns: 1fr; }
  .qz-bar { display: none; }
  .qz-week th, .qz-week td { padding: 6px 4px; font-size: .85rem; }
}

/* ---------- Visual de aplicativo no celular (modelo out/2026) ---------- */
.crop-facts dt svg { display: none; }
.quick-access { margin: 0 0 20px; }
.quick-access h2 { margin: 0 0 10px; font-size: 1.05rem; color: var(--verde-900); }
.quick-access ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.quick-access a { display: flex; align-items: center; gap: 10px; height: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); color: var(--verde-900); font-weight: 600; font-size: .92rem; text-decoration: none; line-height: 1.25; }
.quick-access a:hover { border-color: var(--verde-600); background: var(--verde-50); }
.qa-ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--verde-50); color: var(--verde-700); }
.qa-ico svg { width: 22px; height: 22px; }
.module > summary { grid-template-columns: auto minmax(0, 1fr) auto; }
.module-thumb { width: 72px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--verde-50); display: grid; place-items: center; flex: none; }
.module-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.module-thumb-ico .crop-icon { width: 30px; height: 30px; color: var(--verde-700); }
.btn-arrow { margin-left: 10px; font-size: 1.3em; line-height: 1; }
.tabbar { display: none; }

@media (max-width: 760px) {
  /* Barra inferior fixa substitui o menu do topo. */
  .has-tabbar .nav { display: none; }
  .has-tabbar { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(15, 36, 22, .08); padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 2px 9px; color: var(--muted); text-decoration: none; font-size: .72rem; font-weight: 600; }
  .tabbar svg { width: 24px; height: 24px; }
  .tabbar a[aria-current="page"] { color: var(--verde-700); }
  .tabbar a[aria-current="page"] svg { stroke-width: 2.3; }
  .tabbar a:focus-visible { outline: 3px solid var(--verde-600); outline-offset: -3px; }

  /* Capa da cultura com a foto ao fundo. */
  .crop-hero.has-cover { position: relative; overflow: hidden; padding: 0; border: 0; border-radius: 16px; color: #fff; display: block; background: var(--verde-900); }
  .crop-hero.has-cover .crop-cover { position: absolute; inset: 0; order: 0; }
  .crop-hero.has-cover .crop-cover img { width: 100%; height: 100%; max-height: none; min-height: 0; aspect-ratio: auto; border-radius: 0; }
  .crop-hero.has-cover .crop-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 30, 16, .25) 0%, rgba(10, 30, 16, .55) 45%, rgba(10, 30, 16, .92) 100%); }
  .crop-hero.has-cover .crop-cover figcaption { position: absolute; z-index: 2; top: 8px; right: 10px; left: 40%; text-align: right; font-size: .62rem; color: rgba(255, 255, 255, .8); }
  .crop-hero.has-cover .crop-cover figcaption a { color: #fff; }
  .crop-hero.has-cover .crop-hero-text { position: relative; z-index: 1; padding: 120px 16px 16px; }
  .crop-hero.has-cover .crop-hero-title .crop-icon { display: none; }
  .crop-hero.has-cover .eyebrow { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--verde-600); color: #fff; letter-spacing: .08em; }
  .crop-hero.has-cover h1 { color: #fff; font-size: 2rem; }
  .crop-hero.has-cover .crop-sci, .crop-hero.has-cover .lede { color: #e3efe5; }
  .crop-hero.has-cover .small a { color: #fff; }
  .crop-hero.has-cover .crop-facts { background: var(--surface); color: var(--ink); border-radius: 12px; padding: 12px 10px; margin-top: 4px; }
  .crop-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .crop-facts div { align-items: flex-start; }
  .crop-facts dt { display: flex; flex-direction: column; gap: 4px; font-size: .62rem; letter-spacing: .02em; text-transform: none; font-weight: 600; }
  .crop-facts dt svg { display: block; width: 22px; height: 22px; color: var(--verde-700); }
  .crop-facts dd { font-size: .82rem; font-weight: 700; color: var(--verde-900); }
  .crop-facts .fact-wide { display: none; }

  .study-progress { border-radius: 14px; }
  .study-next .btn { justify-content: space-between; }
  .quick-access a { flex-direction: column; justify-content: flex-start; text-align: center; gap: 6px; padding: 12px 6px; font-size: .74rem; }
  .qa-ico { width: 34px; height: 34px; }
  .module > summary { grid-template-columns: auto minmax(0, 1fr); padding: 12px 38px 12px 12px; gap: 6px 12px; }
  .module-thumb { width: 64px; height: 64px; grid-row: span 2; }
  .module-meta { grid-column: 2; }
}
@media (max-width: 420px) {
  .quick-access ul { gap: 8px; }
}
@media (max-width: 760px) {
  /* Topo compacto numa linha: marca à esquerda, Painel e Sair à direita. */
  .has-tabbar .topbar-in { flex-wrap: nowrap; padding-block: 10px; gap: 8px; }
  .has-tabbar .top-search { display: none; }
  .has-tabbar .top-actions { margin-left: auto; }
  .has-tabbar .btn-admin .lbl-long { display: none; }
  .has-tabbar .btn-admin .lbl-short { display: inline; }
  .has-tabbar .top-actions .btn { padding: 7px 10px; font-size: .85rem; }
  .crop-hero.has-cover .crop-cover img { color: transparent; }
}

/* ---------- Início e topo no celular (modelo out/2026) ---------- */
.main-home > .why, .main-home > .why + .categories { margin-top: 0; }
.why-head, .hero-chips, .top-mobile, .features-go { display: none; }
.features li > a { display: flex; gap: 12px; align-items: center; color: inherit; text-decoration: none; min-width: 0; }
.features li > a:hover strong { text-decoration: underline; }
.features li > a > span:nth-child(2) > span { display: block; font-size: .84rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }

@media (max-width: 760px) {
  /* Topo: botão amarelo da conta/painel e menu de três linhas. */
  .has-tabbar .top-actions { display: none; }
  .has-tabbar .top-mobile { display: flex; align-items: center; gap: 10px; margin-left: auto; }
  .top-user { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--amarelo); color: #1d1606; }
  .top-user .btn-ico { margin: 0; width: 22px; height: 22px; }
  .top-menu { position: relative; }
  .top-menu > summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #fff; cursor: pointer; }
  .top-menu > summary::-webkit-details-marker { display: none; }
  .top-menu > summary svg { width: 28px; height: 28px; }
  .top-menu > summary:focus-visible { outline: 3px solid #8fd19e; }
  .top-menu[open] > summary { background: rgba(255, 255, 255, .12); }
  .top-menu-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; width: min(80vw, 280px); padding: 8px; border-radius: 14px;
    background: var(--surface); box-shadow: 0 12px 32px rgba(15, 36, 22, .25); border: 1px solid var(--line); }
  .top-menu-panel nav { display: flex; flex-direction: column; }
  .top-menu-panel nav a { padding: 11px 12px; border-radius: 8px; color: var(--verde-900); font-weight: 600; text-decoration: none; }
  .top-menu-panel nav a:hover, .top-menu-panel nav a[aria-current="page"] { background: var(--verde-50); }
  .logout-menu { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
  .logout-menu .btn { width: 100%; justify-content: flex-start; color: var(--danger); border: 0; background: none; padding: 11px 12px; }

  /* Banner com a foto bem visível e a busca sobrepondo a borda. */
  .main-home .hero2 { background: linear-gradient(180deg, rgba(10, 38, 20, .55) 0%, rgba(10, 38, 20, .35) 45%, rgba(10, 38, 20, .7) 100%),
    url("https://upload.wikimedia.org/wikipedia/commons/thumb/7/7d/SojaBrasnorte.jpg/960px-SojaBrasnorte.jpg") center / cover no-repeat var(--verde-900); }
  .main-home .hero2-in { padding: 34px 20px 0; }
  .main-home .hero2-eyebrow:not(.cat-eyebrow), .main-home .hero2-examples { display: none; }
  .main-home .hero2 h1 { font-size: 2.1rem; text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
  .main-home .hero2-lede { font-size: 1rem; text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }
  .main-home .hero-search { flex-direction: row; align-items: center; gap: 8px; margin: 10px 0 -34px; padding: 8px 8px 8px 16px; border-radius: 22px;
    background: #fff; box-shadow: 0 10px 28px rgba(15, 36, 22, .18); position: relative; z-index: 2; }
  .main-home .hero-search-btn { flex: none; width: 54px; height: 54px; padding: 0; border-radius: 50%; justify-content: center; }
  .main-home .hero-search-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .main-home .hero-search-btn .ico { margin: 0; width: 24px; height: 24px; }
  .main-home .hero2-credit { position: absolute; top: 6px; right: 8px; bottom: auto; margin: 0; font-size: .58rem; max-width: 70%; background: rgba(0, 0, 0, .35); }

  /* Botões de atalho logo abaixo da busca. */
  .main-home > .hero-chips { display: flex; list-style: none; margin: 52px -16px 0; padding: 0 16px 4px; gap: 10px; overflow-x: auto; scrollbar-width: none; }
  .hero-chips::-webkit-scrollbar { display: none; }
  .hero-chips a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 10px 16px; border-radius: 999px; background: #fff;
    border: 1px solid var(--line); color: var(--verde-900); font-weight: 600; text-decoration: none; box-shadow: 0 2px 8px rgba(15, 36, 22, .06); }
  .hero-chips a.is-main { background: var(--verde-900); border-color: var(--verde-900); color: #fff; }
  .hero-chips .ico { width: 22px; height: 22px; color: var(--verde-700); }
  .hero-chips a.is-main .ico { color: #8ee05a; }

  /* "Por que estudar": quatro cartões em grade. */
  .main-home > .why { margin-top: 22px; padding: 18px 14px 14px; border-radius: 18px; background: #eaf3ea; }
  .why-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
  .why-head > .ico { flex: none; width: 34px; height: 34px; color: var(--verde-700); }
  .why-head h2 { margin: 0; font-size: 1.3rem; color: var(--verde-900); line-height: 1.2; }
  .why-head p { margin: 4px 0 0; font-size: .88rem; color: var(--muted); }
  .why .features { width: auto; margin: 0; padding: 0; background: none; border: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .why .features li, .why .features li:nth-child(3) { display: block; padding: 0; border: 0; }
  .why .features li > a, .why .features li { position: relative; }
  .why .features li > a, .why .features li:not(:has(a)) { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; height: 100%; box-sizing: border-box;
    padding: 14px 26px 14px 12px; border-radius: 14px; background: #fff; box-shadow: 0 2px 10px rgba(15, 36, 22, .06); }
  .why .features-ico { width: 52px; height: 52px; background: #dcebdc; color: var(--verde-900); }
  .why .features-ico .ico { width: 26px; height: 26px; }
  .why .features strong { font-size: .95rem; }
  .why .features li > a > span:nth-child(2) > span, .why .features li > span:last-child > span { font-size: .8rem; }
  .why .features-go { display: block; position: absolute; right: 8px; top: 50%; color: var(--verde-900); }
  .why .features-go .ico { width: 18px; height: 18px; }
}

/* ---------- Página Quiz (modelo moderno) ---------- */
.qhub-hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding: clamp(18px, 3vw, 28px);
  border-radius: 20px; color: #fff; background: radial-gradient(130% 140% at 100% 0%, #3c9a52 0%, #1d6b34 38%, var(--verde-900) 80%); box-shadow: 0 10px 30px rgba(15, 36, 22, .18); }
.qhub-hero-text { display: flex; gap: 16px; align-items: center; flex: 1 1 360px; min-width: 0; }
.qhub-badge { flex: none; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: #ffd25a; }
.qhub-badge .ico { width: 36px; height: 36px; }
.qhub-hero h1 { margin: 0 0 4px; color: #fff; font-size: clamp(1.35rem, 3vw, 1.9rem); line-height: 1.15; letter-spacing: -.01em; }
.qhub-hero p { margin: 0; color: #d9eedd; font-size: .95rem; max-width: 60ch; }
.qhub-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; flex: 0 1 360px; }
.qhub-stats > div { padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .12); backdrop-filter: blur(2px); }
.qhub-stats dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #bfe3c7; }
.qhub-stats dd { margin: 2px 0 0; font-size: 1.35rem; font-weight: 800; color: #fff; }
.qhub-title { margin: 26px 0 12px; font-size: 1.15rem; color: var(--verde-900); }
.qhub-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.qcard { --qc: var(--verde-700); --qc-bg: #e3f1e6; }
.qcard-laranja { --qc: #c86a12; --qc-bg: #fdecd8; }
.qcard-roxo { --qc: #6b4bb8; --qc-bg: #ece6f8; }
.qcard-terra { --qc: #8a5a2b; --qc-bg: #f4e9dc; }
.qcard-vermelho { --qc: #b23a2a; --qc-bg: #fbe5e1; }
.qcard-oliva { --qc: #5b6b1f; --qc-bg: #eef1dc; }
.qcard-ambar { --qc: #8a5a00; --qc-bg: #fdf3dc; }
.qcard-azul { --qc: #24578a; --qc-bg: #e3edf7; }
.qcard > a, .qcard > div { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; height: 100%; box-sizing: border-box;
  padding: 18px 18px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  box-shadow: 0 2px 10px rgba(15, 36, 22, .05); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.qcard > a::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 0 4px 4px 0; background: var(--qc); }
.qcard > a:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 36, 22, .1); border-color: var(--qc); }
.qcard > a:focus-visible { outline: 3px solid var(--qc); outline-offset: 2px; }
.qcard-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--qc-bg); color: var(--qc); }
.qcard-ico .ico { width: 30px; height: 30px; }
.qcard-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.qcard-kind { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--qc); }
.qcard-body strong { font-size: 1.2rem; color: var(--verde-900); line-height: 1.2; }
.qcard-text { font-size: .9rem; color: var(--muted); line-height: 1.4; }
.qcard-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.qcard-meta span { padding: 3px 9px; border-radius: 999px; background: var(--verde-50); color: var(--verde-900); font-size: .78rem; font-weight: 600; }
.qcard-state { align-self: flex-start; margin-top: 6px; font-size: .8rem; font-weight: 700; }
.qcard-state.is-ok { color: var(--verde-700); }
.qcard-state.is-andamento { color: #b56a00; }
.qcard-state.is-novo { color: var(--qc); }
.qcard-state.is-soon { padding: 3px 10px; border-radius: 999px; background: #edf0ed; color: #6b786e; }
.qcard-go { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; margin-top: 4px; padding: 11px 14px;
  border-radius: 12px; background: var(--qc); color: #fff; font-weight: 700; }
.qcard-go .ico { width: 20px; height: 20px; }
.qcard.is-soon > div { background: transparent; border-style: dashed; box-shadow: none; }
.qcard.is-soon .qcard-ico { filter: grayscale(.6); opacity: .7; }
.qcard.is-soon strong { color: var(--muted); }
@media (max-width: 560px) {
  .qhub-hero { border-radius: 18px; }
  .qhub-badge { width: 52px; height: 52px; border-radius: 14px; }
  .qhub-badge .ico { width: 30px; height: 30px; }
  .qhub-stats { flex-basis: 100%; }
  .qhub-stats dd { font-size: 1.15rem; }
  .qcard > a, .qcard > div { padding: 16px 14px 14px; }
  .qcard-ico { width: 48px; height: 48px; border-radius: 14px; }
}

/* ---------- Caderno de campo ---------- */
.fb-hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding: clamp(18px, 3vw, 28px);
  border-radius: 18px; color: #fff; background: radial-gradient(130% 140% at 100% 0%, #3c9a52 0%, #1d6b34 40%, var(--verde-900) 85%); }
.fb-hero h1 { margin: 2px 0 6px; color: #fff; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.fb-hero p { margin: 0; max-width: 70ch; color: #d9eedd; }
.fb-hero .eyebrow { color: #a8dcb4; }
.fb-hero-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.fb-hero-actions .btn:not(.btn-primary) { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .35); }
.fb-plots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.fb-plots a { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--line); border-left: 4px solid var(--verde-600); border-radius: 14px;
  background: var(--surface); color: var(--ink); text-decoration: none; }
.fb-plots a:hover { border-color: var(--verde-600); }
.fb-plots strong { font-size: 1.1rem; color: var(--verde-900); }
.fb-plot-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.fb-plot-meta span { padding: 2px 8px; border-radius: 999px; background: var(--verde-50); font-size: .78rem; font-weight: 600; color: var(--verde-900); }
.fb-empty { padding: 18px; border: 1px dashed var(--line); border-radius: 14px; background: var(--surface); }
.fb-empty p { margin: 0 0 10px; }
.fb-tip { margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: var(--verde-50); border-left: 4px solid var(--verde-600); font-size: .92rem; }
.fb-notes { white-space: pre-line; padding: 10px 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.fb-filter .field-row { align-items: flex-end; }
.fb-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 12px; }
.fb-item { padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--verde-600); scroll-margin-top: 80px; }
.fb-item-praga { border-top-color: #c86a12; }
.fb-item-doenca { border-top-color: #6b4bb8; }
.fb-item header h3 { margin: 2px 0 6px; font-size: 1.05rem; color: var(--verde-900); }
.fb-item header h3 em { font-weight: 500; color: var(--muted); }
.fb-item h4 { margin: 8px 0 2px; font-size: .85rem; color: var(--verde-700); }
.fb-item ul { margin: 0; padding-left: 18px; }
.fb-item p { margin: 4px 0; }
.fb-item:target { box-shadow: 0 0 0 3px var(--verde-600); }
.fb-kind { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fb-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fb-timeline a { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); color: var(--ink); text-decoration: none; }
.fb-timeline a > span:last-child { flex-basis: 100%; }
.fb-timeline li.has-alert a { border-left: 4px solid #c86a12; }
.fb-date { font-weight: 700; color: var(--verde-900); }
.fb-stage { padding: 2px 8px; border-radius: 999px; background: var(--verde-100); color: var(--verde-900); font-size: .8rem; font-weight: 700; }
.fb-alert-pill { padding: 2px 8px; border-radius: 999px; background: #fdecd8; color: #9a4f08; font-size: .78rem; font-weight: 700; }
.fb-evo { border-collapse: collapse; min-width: 100%; font-size: .88rem; }
.fb-evo th, .fb-evo td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
.fb-evo th[scope="row"] { text-align: left; white-space: normal; min-width: 160px; }
.fb-sev-cell { font-weight: 800; }
.fb-sev-cell.fb-sev-baixa, .fb-sev.fb-sev-baixa { background: #eef6e6; color: #3d6b1f; }
.fb-sev-cell.fb-sev-media, .fb-sev.fb-sev-media { background: #fff3d6; color: #8a5a00; }
.fb-sev-cell.fb-sev-alta, .fb-sev.fb-sev-alta { background: #fde2dc; color: #9b2c16; }
.fb-sev { padding: 2px 8px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.fb-over { background: #fdecd8; color: #9a4f08; font-weight: 700; }
.fb-alerts { margin: 0 0 14px; padding: 12px 16px; border-radius: 12px; background: #fdecd8; border-left: 4px solid #c86a12; color: #5c3305; }
.fb-alerts ul { margin: 6px 0; padding-left: 18px; }
.fb-mip-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 0 0 14px; }
.fb-mip-list > div { padding: 8px 10px; background: var(--verde-50); border-radius: 10px; }
.fb-mip-list dt { font-size: .75rem; color: var(--muted); }
.fb-mip-list dd { margin: 0; font-size: 1.2rem; font-weight: 800; color: var(--verde-900); }
.fb-occ { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fb-occ > li { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.fb-occ > li > div { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
.fb-occ .small { flex-basis: 100%; margin: 0; }
.fb-mip { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.fb-mip legend { font-weight: 700; color: var(--verde-900); padding: 0 4px; }
.fb-form { max-width: 900px; }
.fb-archive { margin-top: 18px; }
@media (max-width: 560px) {
  .fb-hero-actions, .fb-hero-actions .btn { width: 100%; }
  .fb-occ > li { flex-direction: column; }
}

/* caderno: grupos recolhíveis do guia completo */
.fb-group > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; border-radius: 12px; background: var(--surface, #fff); border: 1px solid var(--line, #e3e7e1); }
.fb-group > summary::-webkit-details-marker { display: none; }
.fb-group > summary::after { content: "▾"; font-size: 1.1rem; transition: transform .2s; }
.fb-group[open] > summary::after { transform: rotate(180deg); }
.fb-group > summary h2 { margin: 0; font-size: 1.1rem; }
.fb-group[open] > summary { margin-bottom: 12px; }

/* Análise de Solo: conversor de unidades */
.conv-rules { margin: 0 0 18px; padding: 12px 16px; border-radius: 12px; background: var(--verde-50); border-left: 4px solid var(--verde-600); }
.conv-rules p { margin: 0 0 6px; }
.conv-rules ul { margin: 0 0 6px; padding-left: 20px; }
.conv-rules li { margin-bottom: 3px; }
.conv-value { margin: 0; font-size: 1.6rem; font-weight: 700; color: var(--verde-700, #1d5b2f); overflow-wrap: anywhere; }
.conv-examples { margin: 0; padding-left: 18px; }
.conv-examples li { margin-bottom: 4px; }
.conv-extra { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 20px; margin: 20px 0; align-items: start; }
.conv-extra h2 { margin: 0; font-size: 1.15rem; }

/* ===== Player do curso: menu lateral com módulos + conteúdo selecionado ===== */
.player { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 28px; align-items: start; }
.player-main { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.player-drawer { position: sticky; top: 12px; }
.player-drawer-toggle { display: none; }
.player-side { display: flex; flex-direction: column; gap: 12px; background: #f4f6f4; border: 1px solid var(--line); border-radius: 14px; padding: 16px 12px 12px;
  max-height: calc(100vh - 24px); overflow-y: auto; }
.player-course { display: flex; align-items: center; gap: 10px; padding: 0 6px; font-size: 1.3rem; font-weight: 800; color: var(--verde-900); text-decoration: none; }
.player-course .crop-icon { width: 30px; height: 30px; color: var(--verde-700); flex: none; }
.player-course:hover span, .player-course.is-current span { text-decoration: underline; text-underline-offset: 4px; }
.player-progress { display: flex; flex-direction: column; gap: 6px; padding: 0 6px; font-size: .85rem; color: var(--muted); }
.player-progress progress { width: 100%; height: 10px; appearance: none; border: 0; border-radius: 99px; background: #dfe5e0; overflow: hidden; }
.player-progress progress::-webkit-progress-bar { background: #dfe5e0; border-radius: 99px; }
.player-progress progress::-webkit-progress-value { background: var(--verde-600); border-radius: 99px; }
.player-progress progress::-moz-progress-bar { background: var(--verde-600); border-radius: 99px; }
.player-search { display: flex; gap: 6px; padding: 0 2px; }
.player-search input { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: .9rem; background: #fff; }
.player-modules { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.player-module { border-radius: 10px; overflow: hidden; background: #fff; }
.player-module > summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; gap: 3px; padding: 12px 40px 12px 14px; position: relative;
  background: var(--verde-700); color: #fff; }
.player-module > summary::-webkit-details-marker { display: none; }
.player-module > summary::after { content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); transition: transform .15s; }
.player-module[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
.player-module > summary:hover { background: var(--verde-600); }
.player-module > summary:focus-visible { outline: 3px solid #f0c24b; outline-offset: -3px; }
.pm-title { font-weight: 700; font-size: .95rem; line-height: 1.3; }
.pm-meta { font-size: .8rem; opacity: .9; }
.pm-lessons { list-style: none; margin: 0; padding: 6px; display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 10px 10px; }
.pm-lessons a, .pm-lessons li.pending { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; padding: 8px; border-radius: 8px; font-size: .9rem; line-height: 1.35; color: var(--ink); text-decoration: none; }
.pm-lessons a:hover { background: var(--verde-50); }
.pm-lessons a[aria-current="page"] { background: var(--verde-50); color: var(--verde-900); font-weight: 700; box-shadow: inset 3px 0 0 var(--verde-600); }
.pm-lessons li.pending { color: #9aa79d; }
.pm-lessons .side-concluida .side-mark { color: var(--verde-600); font-weight: 700; }
.pm-num { font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.player-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.player-crumbs { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font-weight: 700; color: var(--verde-900); font-size: 1.05rem; }
.player-crumbs a { color: var(--verde-900); text-decoration: none; }
.player-crumbs a:hover { text-decoration: underline; }
.player-crumbs span[aria-hidden] { color: var(--muted); }
.player-crumbs [aria-current] { font-weight: 600; font-size: .95rem; }
.player-done { margin: 0; }
.player-done .btn { border-radius: 99px; padding-inline: 22px; }
.btn-done { background: var(--verde-50); color: var(--verde-700); border-color: var(--verde-600); }
.player-hint { margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--verde-50); color: var(--verde-900); }
.hint-mob { display: none; }
.player-results-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.player-results-head h2 { margin: 0; }
.results-mod { margin: 14px 0 8px; font-size: 1rem; color: var(--verde-900); }
@media (max-width: 900px) {
  .player { grid-template-columns: 1fr; gap: 16px; }
  .player-drawer { position: static; }
  .player-drawer-toggle { display: flex; justify-content: space-between; align-items: center; gap: 10px; list-style: none; cursor: pointer;
    padding: 12px 16px; border-radius: 12px; background: var(--verde-700); color: #fff; font-weight: 700; }
  .player-drawer-toggle::-webkit-details-marker { display: none; }
  .player-drawer-toggle::after { content: "▾"; margin-left: auto; }
  .player-drawer[open] .player-drawer-toggle { border-radius: 12px 12px 0 0; }
  .player-drawer[open] .player-drawer-toggle::after { content: "▴"; }
  .player-side { max-height: none; border-radius: 0 0 12px 12px; border-top: 0; }
  .hint-desk { display: none; } .hint-mob { display: inline; }
}

.pm-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pm-sub { display: block; font-size: .78rem; font-weight: 400; color: var(--muted); }
.pm-test.chip-pass { color: var(--verde-700); font-weight: 700; background: none; padding: 0; }
.pm-test.chip-retry { color: var(--warn); background: none; padding: 0; }

/* link de quiz no fim do módulo do player */

/* página Quiz: tópico da soja */
.qhub-group { margin-bottom: 1.5rem; }
.qhub-count { font-size: .8rem; font-weight: 600; color: var(--muted); margin-left: .4rem; }
.qhub-sub { margin: -.4rem 0 .8rem; color: var(--muted); font-size: .92rem; }

/* ---------- página Quiz por área e por cultura ---------- */
.qa-layout { display: grid; gap: 14px; margin-top: 22px; }
@media (min-width: 900px) { .qa-layout { grid-template-columns: 1fr 1fr; align-items: start; gap: 18px; } }
.qa-col-2 { display: grid; gap: 12px; }

.qa-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.qa-row > a, .qa-row > div { display: grid; grid-template-columns: 104px 1fr auto; align-items: center; gap: 14px; min-height: 76px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: var(--ink); text-decoration: none;
  box-shadow: 0 1px 2px rgba(18, 57, 31, .06); padding-right: 14px; }
.qa-row > a:hover { border-color: var(--verde-600); box-shadow: 0 3px 10px rgba(18, 57, 31, .12); }
.qa-row > a:focus-visible { outline: 3px solid var(--verde-600); outline-offset: 2px; }
.qa-media { display: block; width: 104px; height: 100%; min-height: 76px; background: var(--verde-100); }
.qa-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qa-media-ico { display: grid; place-items: center; color: var(--verde-700); background: linear-gradient(135deg, var(--verde-100), var(--verde-50)); }
.qa-media-ico .ico { width: 34px; height: 34px; }
.qa-text { display: grid; gap: 2px; padding: 10px 0; }
.qa-text strong { font-size: 1.05rem; color: var(--verde-900); line-height: 1.25; }
.qa-sub { font-size: .85rem; color: var(--muted); }
.qa-meta { font-size: .8rem; font-weight: 600; color: var(--verde-700); }
.qa-meta.is-soon { color: var(--muted); font-weight: 500; }
.qa-go { color: var(--verde-900); }
.qa-go .ico { width: 22px; height: 22px; }
.qa-row.is-soon > div { opacity: .78; grid-template-columns: 104px 1fr; }
.qa-crops { background: var(--verde-50); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.qa-crops-head { display: flex; align-items: center; gap: 12px; background: var(--verde-700); color: #fff; padding: 14px 18px; }
.qa-crops-head .ico { width: 36px; height: 36px; color: #f2c14e; }
.qa-crops-head h2 { margin: 0; font-size: 1.35rem; color: #fff; }
.qa-crops-head p { margin: 0; font-size: .9rem; opacity: .9; }
.qa-crop-grid { list-style: none; margin: 0; padding: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 420px) { .qa-crop-grid { grid-template-columns: repeat(2, 1fr); } }
.qc-tile > a, .qc-tile > div { display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  color: var(--ink); text-decoration: none; height: 100%; }
.qc-tile > a:hover { border-color: var(--verde-600); }
.qc-tile > a:focus-visible { outline: 3px solid var(--verde-600); outline-offset: 2px; }
.qc-media { display: block; aspect-ratio: 16 / 10; background: var(--verde-100); }
.qc-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qc-label { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 8px 6px 0; text-align: center; color: var(--verde-900); }
.qc-label .ico { width: 16px; height: 16px; }
.qc-tile .qa-meta { text-align: center; padding: 0 6px 8px; font-size: .72rem; }
.qc-tile.is-soon > div { opacity: .78; }
.qa-credits { margin: 22px 0 6px; font-size: .82rem; color: var(--muted); }
.qa-credits ul { margin: 6px 0 0; padding-left: 18px; }
.qa-group-head { display: flex; gap: 16px; align-items: center; margin: 6px 0 18px; }
.qa-group-head h1 { margin: 2px 0 4px; }
.qa-media-lg { width: 120px; height: 90px; min-height: 0; border-radius: 12px; overflow: hidden; flex: none; }
.qc-media.qa-media-ico { display: grid; place-items: center; }

/* Grandes Culturas: fechado; as culturas aparecem ao tocar */
.qa-crops > summary { list-style: none; cursor: pointer; }
.qa-crops > summary::-webkit-details-marker { display: none; }
.qa-crops > summary:focus-visible { outline: 3px solid #f2c14e; outline-offset: -3px; }
.qa-crops-title { display: grid; flex: 1; }
.qa-crops-h { font-size: 1.35rem; font-weight: 700; line-height: 1.2; }
.qa-crops-p { font-size: .9rem; opacity: .9; }
.qa-crops-chev .ico { width: 26px; height: 26px; color: #fff; transform: rotate(90deg); transition: transform .2s; }
.qa-crops[open] .qa-crops-chev .ico { transform: rotate(-90deg); }
.qa-crops:not([open]) { border-color: var(--verde-700); }

.qc-label strong { line-height: 1.2; }
.qa-crop-grid .qc-tile > a, .qa-crop-grid .qc-tile > div { align-content: start; }

/* ---------- início (modelo nov/2026): banner, busca, seu aprendizado, explore, jornada ---------- */
.hero3 .hero2-in { max-width: 1100px; min-height: clamp(260px, 36vh, 380px); padding-bottom: 64px; }
.hero3 h1 { margin: 0; font-size: clamp(1.9rem, 6.4vw, 3rem); line-height: 1.1; max-width: 15ch; }
.hero3-btn { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin-top: 6px; padding: 11px 20px; border-radius: 999px;
  background: var(--verde-700); color: #fff; font-weight: 700; text-decoration: none; border: 2px solid #8fd19e; }
.hero3-btn:hover { background: var(--verde-600); }
.hero3-btn .ico { width: 20px; height: 20px; }
.home3 { position: relative; margin: -36px auto 0; max-width: 1100px; padding: 16px 16px 8px; background: var(--bg); border-radius: 26px 26px 0 0; display: grid; gap: 18px; }
.home3-search { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 18px;
  box-shadow: 0 2px 10px rgba(18, 57, 31, .08); }
.home3-search label { display: flex; color: var(--ink); }
.home3-search .ico { width: 24px; height: 24px; }
.home3-search input { flex: 1; border: 0; background: transparent; font: inherit; font-size: 1.05rem; padding: 12px 0; min-width: 0; color: var(--ink); }
.home3-search input:focus { outline: none; }
.home3-search:focus-within { border-color: var(--verde-600); box-shadow: 0 0 0 3px rgba(42, 122, 67, .2); }
.learn-card { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px; padding: 18px; border-radius: 18px; overflow: hidden;
  background: linear-gradient(90deg, #e7f3e8 0%, #e7f3e8 55%, rgba(231, 243, 232, .6) 100%); border: 1px solid var(--line); min-height: 150px; }
.learn-media { position: absolute; inset: 0 0 0 auto; width: 48%; }
.learn-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.learn-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #e7f3e8 0%, rgba(231, 243, 232, .25) 55%, rgba(231, 243, 232, 0) 100%); }
.learn-body { position: relative; display: grid; gap: 6px; max-width: 62%; }
.learn-tag { display: inline-flex; align-items: center; gap: 6px; justify-self: start; background: var(--verde-900); color: #fff; border-radius: 999px; padding: 5px 12px;
  font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.learn-tag .ico { width: 15px; height: 15px; }
.learn-body h2 { margin: 4px 0 0; font-size: 1.3rem; color: var(--verde-900); line-height: 1.2; }
.learn-body p { margin: 0; color: var(--muted); }
.learn-body progress { width: 100%; height: 8px; margin-top: 6px; }
.learn-pct { font-size: .85rem; font-weight: 700; color: var(--verde-900); }
.learn-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--verde-900); color: #fff;
  font-weight: 700; text-decoration: none; border: 2px solid #fff; white-space: nowrap; }
.learn-btn .ico { width: 18px; height: 18px; }
.learn-btn:hover { background: var(--verde-700); }
.explore-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.explore-head > .ico { width: 30px; height: 30px; color: var(--verde-700); }
.explore-head h2 { margin: 0; flex: 1; font-size: 1.4rem; color: var(--verde-900); }
.explore-head a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--verde-700); text-decoration: none; white-space: nowrap; }
.explore-head a .ico { width: 18px; height: 18px; }
.explore-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .explore-grid { grid-template-columns: repeat(4, 1fr); } }
.explore-grid a { display: grid; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none;
  color: var(--ink); box-shadow: 0 1px 3px rgba(18, 57, 31, .08); }
.explore-grid a:hover { border-color: var(--verde-600); }
.explore-media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--verde-100); }
.explore-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.explore-ico { position: absolute; left: 12px; bottom: -20px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--verde-900); color: #fff; border: 3px solid var(--surface); }
.explore-ico .ico { width: 22px; height: 22px; }
.explore-text { display: grid; gap: 2px; padding: 26px 12px 12px; }
.explore-text strong { font-size: 1.05rem; color: var(--verde-900); }
.explore-text span { font-size: .85rem; color: var(--muted); }
.journey { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; text-decoration: none; color: var(--ink); border: 1px solid var(--line);
  background: linear-gradient(90deg, #eef7e4 0%, #e1f0d3 60%, #cfe7bd 100%); }
.journey-ico { flex: none; width: 50px; height: 50px; display: grid; place-items: center; color: #c79a1b; }
.journey-ico .ico { width: 44px; height: 44px; }
.journey-text { flex: 1; display: grid; gap: 2px; }
.journey-text strong { font-size: 1.1rem; color: var(--verde-900); }
.journey-text span { font-size: .9rem; color: var(--ink); }
.journey-go { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--verde-900); color: #fff; }
.journey-go .ico { width: 20px; height: 20px; }
.journey:hover { border-color: var(--verde-600); }
@media (max-width: 480px) {
  .learn-card { grid-template-columns: 1fr; }
  .learn-body { max-width: 66%; }
  .learn-btn { justify-self: end; }
}

/* ===================== Jogos Educativos e Minha Fazenda ===================== */
.jg-c-verde { --jg: #2a7a43; --jg-bg: #e4f1e7; }
.jg-c-azul { --jg: #24578a; --jg-bg: #e3edf7; }
.jg-c-terra { --jg: #8a5a2b; --jg-bg: #f4ebe1; }
.jg-c-ambar { --jg: #9a7413; --jg-bg: #fbf2d9; }
.jg-c-vermelho { --jg: #a3341f; --jg-bg: #fbeae6; }
.jg-coin { width: 1.1em; height: 1.1em; vertical-align: -.2em; flex: none; }
.jg-head-links { display: flex; flex-wrap: wrap; gap: 8px; }
.jg-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.jg-stat { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; min-width: 0; }
.jg-stat > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.jg-stat strong { font-size: 1.05rem; line-height: 1.2; }
.jg-stat-ico { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--verde-50); color: var(--verde-700); flex: none; }
.jg-stat-ico .jg-coin { width: 26px; height: 26px; }
.jg-fire { background: #fdecdc; color: #c45a12; }
.jg-stat-farm:hover { border-color: var(--verde-600); color: var(--ink); }
.jg-lv { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--verde-700); color: #fff; font-weight: 800; }
.jg-bar, .jg-timebar { appearance: none; -webkit-appearance: none; width: 100%; height: 7px; border: 0; border-radius: 99px; background: var(--verde-100); overflow: hidden; margin: 4px 0 2px; }
.jg-bar::-webkit-progress-bar, .jg-timebar::-webkit-progress-bar { background: var(--verde-100); border-radius: 99px; }
.jg-bar::-webkit-progress-value, .jg-timebar::-webkit-progress-value { background: var(--verde-600); border-radius: 99px; transition: width .9s linear; }
.jg-bar::-moz-progress-bar, .jg-timebar::-moz-progress-bar { background: var(--verde-600); border-radius: 99px; }
.jg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.jg-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--jg); border-radius: var(--radius); overflow: hidden; }
.jg-card-art { background: var(--jg-bg); display: grid; place-items: center; padding: 18px 0 14px; }
.jg-art { width: 84px; height: 84px; }
.jg-art-lg { width: 96px; height: 96px; }
.jg-art-sm { width: 36px; height: 36px; }
.jg-card:hover .jg-art { transform: scale(1.06) rotate(-2deg); }
.jg-art { transition: transform .2s ease; }
.jg-card-body { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px 16px; flex: 1; }
.jg-card-body h2 { font-size: 1.08rem; }
.jg-card-body .btn { margin-top: auto; }
.jg-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0; }
.jg-facts div { background: var(--verde-50); border-radius: 8px; padding: 6px 8px; }
.jg-facts dt { font-size: .72rem; color: var(--muted); }
.jg-facts dd { margin: 0; font-weight: 700; white-space: nowrap; }
.jg-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.jg-challenges { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.jg-challenges li { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; background: var(--verde-50); }
.jg-check { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-weight: 800; color: #fff; font-size: .8rem; }
.jg-challenges .is-done .jg-check { background: var(--verde-600); border-color: var(--verde-600); }
.jg-challenges .is-done > span:nth-child(2) { text-decoration: line-through; color: var(--muted); }
.jg-note { max-width: 80ch; }
.jg-setup { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: start; }
.jg-levels { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.jg-levels legend { font-weight: 600; margin-bottom: 6px; }
.jg-level { position: relative; display: block; cursor: pointer; }
.jg-level input { position: absolute; opacity: 0; }
.jg-level > span { display: flex; flex-direction: column; gap: 2px; padding: 10px; border: 2px solid var(--line); border-radius: 8px; text-align: center; }
.jg-level input:checked + span { border-color: var(--verde-600); background: var(--verde-50); }
.jg-level input:focus-visible + span { outline: 3px solid var(--verde-600); outline-offset: 2px; }
.jg-go { min-height: 48px; font-size: 1.05rem; }
.jg-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.jg-tabs a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); font-size: .9rem; }
.jg-tabs a[aria-current="page"] { background: var(--verde-700); border-color: var(--verde-700); color: #fff; }

/* partida */
.jg-play { display: flex; flex-direction: column; gap: 14px; max-width: 760px; width: 100%; margin: 0 auto; }
.jg-play-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.jg-play-title { display: flex; align-items: center; gap: 8px; margin-right: auto; }
.jg-play-title > span { display: flex; flex-direction: column; line-height: 1.2; }
.jg-pill { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; }
.jg-timer { display: inline-flex; align-items: baseline; gap: 3px; padding: 4px 12px; border-radius: 999px; background: var(--verde-700); color: #fff; font-weight: 700; min-width: 64px; justify-content: center; }
.jg-timer-n { font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.jg-timer.is-low { background: var(--danger); animation: jg-pulse .9s ease-in-out infinite; }
@keyframes jg-pulse { 50% { transform: scale(1.06); } }
.jg-timebar { height: 6px; margin: 0; }
.jg-prompt { font-size: 1.12rem; font-weight: 600; }
.jg-prompt p { margin: 0 0 .4em; }
.jg-figure { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.jg-figure img { width: 100%; max-height: 340px; object-fit: contain; background: #0f1a12; border-radius: var(--radius); }
.jg-figure.is-big img { max-height: 58vh; }
.jg-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.jg-option { display: flex; align-items: center; gap: 10px; text-align: left; padding: 14px; min-height: 60px; border: 2px solid var(--line); border-radius: 10px; background: var(--surface); font: inherit; color: var(--ink); cursor: pointer; transition: transform .1s, border-color .1s; }
.jg-option:hover { border-color: var(--verde-600); transform: translateY(-1px); }
.jg-option.is-picked { border-color: var(--verde-700); background: var(--verde-50); }
.jg-letter { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--verde-100); color: var(--verde-700); font-weight: 800; }
.jg-verdict { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: var(--radius); font-size: 1.05rem; }
.jg-verdict.is-ok { background: var(--ok-bg); color: var(--verde-900); border-left: 5px solid var(--verde-600); }
.jg-verdict.is-bad { background: var(--danger-bg); color: #5c1c10; border-left: 5px solid var(--danger); }
.jg-answers { margin: 0; padding-left: 1.6em; display: grid; gap: 6px; }
.jg-answers li { padding: 6px 10px; border-radius: 8px; }
.jg-answers .is-right { background: var(--ok-bg); font-weight: 600; }
.jg-answers .is-chosen { background: var(--danger-bg); }
.jg-explain { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.jg-explain h2 { font-size: 1rem; }
.jg-explain h3 { font-size: .95rem; margin: 6px 0 0; color: var(--verde-700); }
.jg-refs summary { cursor: pointer; font-size: .9rem; color: var(--verde-700); }
.jg-next { align-self: flex-end; min-width: 160px; min-height: 46px; }

/* memória */
.jg-memory { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.jg-memory.n-16, .jg-memory.n-20 { grid-template-columns: repeat(4, 1fr); }
.jg-mcard { position: relative; aspect-ratio: 3 / 4; border: 0; padding: 0; border-radius: 10px; cursor: pointer; background: transparent; perspective: 600px; font: inherit; }
.jg-mback, .jg-mface { position: absolute; inset: 0; border-radius: 10px; display: grid; place-items: center; backface-visibility: hidden; transition: transform .35s ease; }
.jg-mback { background: linear-gradient(135deg, var(--verde-700), var(--verde-900)); color: #8fd19e; }
.jg-mback svg { width: 42%; height: 42%; }
.jg-mface { background: var(--surface); border: 2px solid var(--line); transform: rotateY(180deg); padding: 6px; overflow: hidden; }
.jg-mface span { font-size: clamp(.66rem, 1.6vw, .86rem); line-height: 1.25; text-align: center; overflow-wrap: anywhere; }
.jg-mface img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.jg-mcard.is-open .jg-mback, .jg-mcard.is-match .jg-mback { transform: rotateY(180deg); }
.jg-mcard.is-open .jg-mface, .jg-mcard.is-match .jg-mface { transform: rotateY(0); }
.jg-mcard.is-match .jg-mface { border-color: var(--verde-600); background: var(--verde-50); }
.jg-mcard.is-miss .jg-mface { border-color: var(--danger); }
@media (min-width: 700px) { .jg-memory.n-16, .jg-memory.n-20 { grid-template-columns: repeat(5, 1fr); } .jg-memory.n-12 { grid-template-columns: repeat(4, 1fr); } }

/* caça-palavras */
.jg-ws { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 16px; align-items: start; }
.jg-grid-ws { display: grid; gap: 2px; background: var(--line); border: 2px solid var(--line); border-radius: 8px; overflow: hidden; user-select: none; touch-action: manipulation; }
.jg-grid-ws.n-10 { grid-template-columns: repeat(10, 1fr); }
.jg-grid-ws.n-12 { grid-template-columns: repeat(12, 1fr); }
.jg-grid-ws.n-14 { grid-template-columns: repeat(14, 1fr); }
.jg-cell { aspect-ratio: 1; border: 0; background: var(--surface); font: 700 clamp(.7rem, 2.6vw, 1.05rem) var(--font); color: var(--ink); cursor: pointer; padding: 0; }
.jg-cell:hover { background: var(--verde-50); }
.jg-cell.is-start { background: var(--amarelo); color: #1d1606; }
.jg-cell.is-found { background: #b9dfc3; color: var(--verde-900); }
.jg-cell.is-miss { background: var(--danger-bg); }
.jg-wordlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.jg-wordlist li { display: flex; flex-direction: column; padding: 6px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); }
.jg-wordlist li.is-found { background: var(--ok-bg); border-color: #b9dfc3; }
.jg-wordlist li.is-found strong { text-decoration: line-through; }

/* resultado */
.jg-result { display: flex; flex-direction: column; gap: 16px; max-width: 760px; width: 100%; margin: 0 auto; }
.jg-result-top { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--radius); background: var(--jg-bg); border: 1px solid var(--line); }
.jg-result-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.jg-result-grid div { display: flex; flex-direction: column; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.jg-result-grid strong { font-size: 1.35rem; display: flex; align-items: center; gap: 4px; }
.jg-review { margin: 0; padding-left: 1.4em; display: grid; gap: 6px; }
.jg-review li { padding: 6px 10px; border-radius: 8px; }
.jg-review li > * { display: block; }
.jg-review .is-ok { background: var(--ok-bg); }
.jg-review .is-bad { background: var(--danger-bg); }
.jg-pairs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.jg-pairs li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: .9rem; }
.jg-pairs img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; flex: none; }
.jg-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.jg-rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-width: 640px; }
.jg-rank li { display: grid; grid-template-columns: 36px 1fr auto auto; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.jg-rank li:nth-child(-n+3) .jg-pos { background: var(--amarelo); color: #1d1606; }
.jg-rank li.is-me { border-color: var(--verde-600); background: var(--verde-50); }
.jg-pos { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--verde-100); font-weight: 800; }
.jg-ledger { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.jg-ledger li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.jg-ledger strong { color: var(--verde-700); min-width: 48px; text-align: right; }
.jg-ledger strong.neg { color: var(--danger); }
.jg-badges { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.jg-badges li { display: flex; flex-direction: column; padding: 10px; border: 1px dashed var(--line); border-radius: 8px; opacity: .55; }
.jg-badges li.is-on { opacity: 1; border-style: solid; border-color: var(--amarelo); background: #fffaf0; }

/* Minha Fazenda */
.jg-balance { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fffaf0; border: 1px solid #ecd9a6; font-size: 1.2rem; }
.jg-balance .jg-coin { width: 28px; height: 28px; }
.jg-farm { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.jg-farm-scene { display: block; width: 100%; height: auto; }
.jg-shop { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.jg-item { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.jg-item h3 { margin: 0 0 4px; font-size: 1rem; }
.jg-item form { display: flex; align-items: center; gap: 8px; }
.jg-item.is-owned { background: var(--verde-50); border-color: #b9dfc3; }
.journey-games { background: #eef4fb; border-color: #cfdcea; }
.journey-games .journey-ico { color: #24578a; }

@media (max-width: 760px) {
  .jg-stats { grid-template-columns: 1fr 1fr; }
  .jg-setup, .jg-ws { grid-template-columns: 1fr; }
  .jg-options { grid-template-columns: 1fr; }
  .jg-result-grid { grid-template-columns: 1fr 1fr; }
  .jg-rank li { grid-template-columns: 32px 1fr auto; }
  .jg-rank li > .small { display: none; }
}
@media (max-width: 420px) { .jg-stats { grid-template-columns: 1fr; } .jg-levels { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .jg-mback, .jg-mface, .jg-art, .jg-option { transition: none; } .jg-timer.is-low { animation: none; } }
.jg-item .pill { align-self: flex-start; }

/* Foto dentro do texto da aula ([[foto:N]]) */
.prose .lesson-figure { margin: 18px 0 22px; display: flex; flex-direction: column; gap: 6px; }
.prose .lesson-figure a { display: block; border-radius: 12px; overflow: hidden; background: #0f1a12; }
.prose .lesson-figure img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: contain; margin: 0 auto; }
.prose .lesson-figure figcaption { font-size: .88rem; color: var(--muted); line-height: 1.45; }
.prose .lesson-figure .credit { display: block; font-size: .78rem; margin-top: 2px; }

/* ===================== Desafio do Conhecimento ===================== */
:root { --df-dark: #0d3320; --df-mid: #145a32; --df-green: #2a7a43; --df-gold: #e3b341; --df-gold-2: #c99a2e; --df-gold-ink: #3a2a00; --df-red: #b23a2a; }
.df-coin { width: 1.05em; height: 1.05em; vertical-align: -.18em; flex: none; }
.df-ico { width: 20px; height: 20px; flex: none; }
.df-btn-gold { background: linear-gradient(180deg, #f3cd63, var(--df-gold-2)); color: var(--df-gold-ink); border: 1px solid #b38420; font-weight: 800; min-height: 48px; padding-inline: 22px;
  box-shadow: 0 3px 0 #9a7413, 0 6px 16px rgba(201,154,46,.28); }
.df-btn-gold:hover { filter: brightness(1.05); color: var(--df-gold-ink); border-color: #b38420; }
.df-btn-gold:active:not([disabled]) { transform: translateY(2px); box-shadow: 0 1px 0 #9a7413; }
.df-btn-gold[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }
.df-btn-xl { min-height: 58px; font-size: 1.15rem; padding-inline: 34px; border-radius: 14px; }
.df-btn-ghost { border-color: var(--df-green); color: var(--df-dark); }

/* tela inicial */
.df-page .crumbs { margin-bottom: 8px; }
.df-hero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 18px; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, var(--df-mid), var(--df-dark) 70%); box-shadow: inset 0 0 0 1px rgba(227,179,65,.35); }
.df-emblem { width: 64px; height: 64px; flex: none; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.df-kicker { margin: 0; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--df-gold); font-weight: 700; }
.df-hero h1 { margin: 0 0 2px; color: #fff; font-size: clamp(1.35rem, 3.6vw, 1.9rem); line-height: 1.15; }
.df-slogan { margin: 0; color: #f4d97a; font-style: italic; font-size: .95rem; }
.df-jackpot { display: flex; flex-direction: column; align-items: center; padding: 10px 18px; border-radius: 14px; text-align: center;
  background: linear-gradient(180deg, rgba(227,179,65,.22), rgba(227,179,65,.08)); border: 1px solid rgba(227,179,65,.6); }
.df-jackpot span { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: #f4d97a; font-weight: 700; }
.df-jackpot strong { display: flex; align-items: center; gap: 6px; font-size: clamp(1.6rem, 4.2vw, 2.3rem); font-weight: 900; color: var(--df-gold); font-variant-numeric: tabular-nums; line-height: 1.1; }
.df-jackpot small { color: #e4efe7; font-size: .74rem; }
.df-panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 10px; margin-top: 12px; }
.df-balance { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 14px; background: #fffaf0; border: 1px solid #ecd9a4; }
.df-balance span { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: #7a5a10; font-weight: 700; }
.df-balance strong { display: flex; align-items: center; gap: 8px; font-size: 1.7rem; color: var(--df-dark); font-variant-numeric: tabular-nums; }
.df-balance a { font-size: .85rem; color: var(--df-green); font-weight: 600; }
.df-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.df-mini div { display: flex; flex-direction: column; justify-content: center; padding: 10px 14px; }
.df-mini div + div { border-left: 1px solid var(--line); }
.df-mini dt { font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.df-mini dd { margin: 0; font-size: 1.3rem; font-weight: 800; color: var(--df-dark); font-variant-numeric: tabular-nums; }
.df-go { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 18px 0 14px; text-align: center; }
.df-go .df-btn-xl { width: min(100%, 420px); }
.df-go-note { margin: 0; color: var(--muted); font-size: .9rem; }
.df-links { display: flex; gap: 8px; }
.df-links a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--df-dark); font-weight: 600; font-size: .9rem; text-decoration: none; }
.df-links a:hover { border-color: var(--df-green); }
.df-links .df-ico { width: 17px; height: 17px; color: var(--df-gold-2); }
.df-rules { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 18px; }
.df-rules summary { cursor: pointer; font-weight: 700; color: var(--df-dark); }
.df-rules ol { padding-left: 1.2em; display: grid; gap: 6px; margin: 10px 0; }
.df-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }

/* assuntos */
.df-subjects { display: flex; flex-direction: column; gap: 16px; }
.df-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.df-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.df-tools[hidden] { display: none; }
.df-chip { min-height: 40px; padding: 7px 14px; border-radius: 999px; font-size: .9rem; }
.df-chip[disabled] { opacity: .45; cursor: default; }
.df-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.df-group legend { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--df-dark); margin-bottom: 8px; padding: 0; }
.df-group-n { font-size: .74rem; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: #e3f0e6; color: var(--df-green); }
.df-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 10px; }
.df-subject { position: relative; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.df-subject input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.df-subject-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 44px 14px 14px; border: 2px solid var(--line); border-radius: 14px; background: var(--surface); height: 100%;
  transition: border-color .15s, background .15s, box-shadow .15s; }
.df-subject:hover .df-subject-body { border-color: #9fc7aa; }
.df-subject strong { color: var(--df-dark); line-height: 1.3; }
.df-qcount { font-weight: 700; color: var(--df-green); font-size: .92rem; }
.df-diff { display: flex; flex-wrap: wrap; gap: 4px; }
.df-diff span { font-size: .74rem; padding: 1px 7px; border-radius: 999px; }
.df-diff .d1 { background: #d8efdc; color: #14532d; } .df-diff .d2 { background: #fdf0c8; color: #6b4d00; } .df-diff .d3 { background: #fde0cf; color: #8a3b0a; }
.df-check { position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #b9c9bd; background: #fff; display: grid; place-items: center; transition: background .15s, border-color .15s; }
.df-subject input:checked + .df-subject-body { border-color: var(--df-green); background: #eef7f0; box-shadow: 0 0 0 3px rgba(42,122,67,.15); }
.df-subject input:checked + .df-subject-body .df-check { background: var(--df-green); border-color: var(--df-green); }
.df-subject input:checked + .df-subject-body .df-check::after { content: ''; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); }
.df-subject input:focus-visible + .df-subject-body { outline: 3px solid var(--df-gold); outline-offset: 2px; }
.df-warn { color: #8a5a00; }
.df-start { position: sticky; bottom: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; margin: 4px -4px 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 -6px 20px rgba(13,51,32,.12); }
.df-count { margin: 0; color: var(--muted); font-size: .92rem; }
.df-count strong { color: var(--df-dark); }
.df-start .df-btn-gold { flex: none; }

/* partida */
.df-play { overflow-x: clip; display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 20px; align-items: start; }
.df-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; animation: df-in .35s ease both; }
.df-main.is-leaving { transform: translateX(-24px); transition: transform .2s ease-in; }
@keyframes df-in { from { transform: translateX(22px); } to { transform: none; } }
.df-hud { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; grid-template-areas: "num now money lv" "track track track track";
  align-items: center; gap: 10px 18px; padding: 12px 16px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--df-mid), var(--df-dark)); }
.df-qnum { grid-area: num; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 74px; height: 70px; border-radius: 16px;
  background: rgba(0,0,0,.22); border: 2px solid var(--df-gold); font-size: .62rem; line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; color: #f4d97a; text-align: center; }
.df-qnum strong { font-size: 1.9rem; color: #fff; letter-spacing: 0; animation: df-pop .45s ease both; }
@keyframes df-pop { 0% { transform: scale(.6); } 70% { transform: scale(1.12); } 100% { transform: none; } }
.df-now { grid-area: now; display: flex; flex-direction: column; }
.df-now span { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #f4d97a; font-weight: 700; }
.df-now strong { display: flex; align-items: center; gap: 6px; font-size: 1.75rem; font-weight: 900; color: var(--df-gold); font-variant-numeric: tabular-nums; line-height: 1.1; }
.df-money { grid-area: money; display: flex; gap: 8px; margin: 0; flex-wrap: wrap; }
.df-money div { padding: 4px 10px; border-radius: 10px; background: rgba(255,255,255,.09); }
.df-money dt { font-size: .66rem; text-transform: uppercase; letter-spacing: .05em; opacity: .8; }
.df-money dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; }
.df-money .is-safe dt::before { content: '◆ '; color: var(--df-gold); }
.df-level { grid-area: lv; justify-self: end; padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.df-lv1 { background: #d8efdc; color: #14532d; } .df-lv2 { background: #fdf0c8; color: #6b4d00; }
.df-lv3 { background: #fde0cf; color: #8a3b0a; } .df-lv4 { background: #f8d2cc; color: #7a1d10; }
.df-track { grid-area: track; display: grid; grid-template-columns: repeat(15, minmax(0, 1fr)); gap: 3px; }
.df-track span { height: 6px; border-radius: 99px; background: rgba(255,255,255,.16); }
.df-track .is-safe { box-shadow: 0 0 0 1px rgba(227,179,65,.7); }
.df-track .is-done { background: #7fc093; }
.df-track .is-now { background: var(--df-gold); animation: df-blink 1.6s ease-in-out infinite; }
@keyframes df-blink { 50% { background: #fff3c4; } }
.df-notice { margin: 0; padding: 10px 14px; border-radius: 12px; font-weight: 600; animation: df-pop .45s ease both; }
.df-notice.is-final { background: linear-gradient(90deg, #f3cd63, #e3b341); color: var(--df-gold-ink); font-weight: 800; }
.df-notice.is-safe { background: #fff7e0; color: #6b4d00; border-left: 5px solid var(--df-gold-2); }

.df-question { padding: 22px 22px 20px; border-radius: 18px; background: linear-gradient(180deg, #ffffff, #f6faf6); border: 2px solid var(--df-green); box-shadow: 0 8px 22px rgba(13,51,32,.10); }
.df-subject-tag { margin: 0 0 10px; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.df-prompt { font-size: clamp(1.15rem, 2.8vw, 1.45rem); font-weight: 700; color: var(--df-dark); line-height: 1.4; }
.df-prompt p { margin: 0 0 .4em; } .df-prompt p:last-child { margin-bottom: 0; }
.df-figure { margin: 12px 0 0; } .df-figure img { width: 100%; max-height: 42vh; object-fit: contain; background: #0f1a12; border-radius: 10px; }
/* tensão crescente */
.df-t2 .df-question { border-color: #b8952e; }
.df-t3 .df-question { border-color: var(--df-gold-2); box-shadow: 0 0 0 4px rgba(227,179,65,.18), 0 10px 26px rgba(13,51,32,.14); }
.df-t4 .df-question { border-color: var(--df-gold); animation: df-glow 2.4s ease-in-out infinite; }
.df-t3 .df-hud { background: linear-gradient(135deg, #1f4a2c, #0b2617); }
.df-t4 .df-hud { background: linear-gradient(135deg, #3a2d0c, #0b2617 70%); box-shadow: 0 0 0 2px rgba(227,179,65,.5); }
@keyframes df-glow { 50% { box-shadow: 0 0 0 6px rgba(227,179,65,.28), 0 10px 30px rgba(201,154,46,.3); } }

.df-answer { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.df-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.df-option { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; min-height: 68px; text-align: left; font: inherit; cursor: pointer; line-height: 1.35;
  border-radius: 16px; border: 2px solid var(--df-mid); background: var(--df-dark); color: #fff; transition: transform .12s, background .15s, box-shadow .15s, border-color .15s; -webkit-tap-highlight-color: transparent; }
.df-option input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.df-option:hover:not(.is-gone) { background: var(--df-mid); box-shadow: 0 0 0 3px rgba(227,179,65,.35); }
.df-option:has(input:focus-visible) { outline: 3px solid var(--df-gold); outline-offset: 2px; }
.df-options .df-option.is-picked, .df-options .df-option:has(input:checked) { background: #f3cd63; color: var(--df-gold-ink); border-color: #b38420; box-shadow: 0 0 0 4px rgba(227,179,65,.35); transform: scale(1.01); }
.df-option.is-gone { opacity: .3; text-decoration: line-through; cursor: not-allowed; }
.df-option.is-gone input { cursor: not-allowed; }
.df-letter { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--df-gold); color: var(--df-gold-ink); font-weight: 900; }
.df-options .df-option.is-picked .df-letter, .df-options .df-option:has(input:checked) .df-letter { background: var(--df-dark); color: var(--df-gold); }
.df-opt-text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.is-locked .df-option { pointer-events: none; }
.is-locked .df-option.is-off { opacity: .45; transform: none; }
.is-locked .df-option.is-final { animation: df-suspense .9s ease-in-out infinite; }
@keyframes df-suspense { 50% { box-shadow: 0 0 0 8px rgba(227,179,65,.15); background: #ffe08a; } }
.df-confirm { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.df-confirm.is-ready { border-color: var(--df-gold-2); background: #fffaf0; }
.df-confirm-msg { margin: 0; color: var(--muted); font-size: .92rem; }
.df-confirm.is-ready .df-confirm-msg { color: var(--df-dark); font-weight: 600; }
.df-confirm-btn { flex: none; min-width: 200px; }
.df-vote { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: .85rem; min-width: 86px; }
.df-vote progress { width: 46px; height: 6px; appearance: none; -webkit-appearance: none; border: 0; border-radius: 99px; background: rgba(255,255,255,.2); }
.df-vote progress::-webkit-progress-bar { background: rgba(255,255,255,.2); border-radius: 99px; }
.df-vote progress::-webkit-progress-value { background: var(--df-gold); border-radius: 99px; }
.df-vote progress::-moz-progress-bar { background: var(--df-gold); }
.df-hint { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: #fff7e0; border-left: 5px solid var(--df-gold-2); }
.df-hint p { margin: 0; } .df-hint .df-ico { color: var(--df-gold-2); margin-top: 2px; }
.df-comm-note { margin: 0; color: var(--muted); }
.df-helps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.df-helps form { margin: 0; }
.df-help { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px 8px; border-radius: 14px; font: inherit; cursor: pointer;
  border: 2px solid var(--df-gold-2); background: #fffaf0; color: var(--df-dark); }
.df-help .df-ico { width: 24px; height: 24px; color: #9a7413; }
.df-help strong { font-size: .9rem; }
.df-help span { font-size: .72rem; color: var(--muted); }
.df-badge { position: absolute; top: -8px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; font-size: .75rem; font-weight: 800;
  background: var(--df-green); color: #fff; border: 2px solid var(--surface); }
.df-help:hover:not([disabled]) { background: #fff1c9; }
.df-help[disabled] { opacity: .45; cursor: not-allowed; border-style: dashed; }
.df-help[disabled] .df-badge { background: #9aa59d; }
.df-foot { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px; }
.df-stop { flex: 1 1 260px; padding: 10px 14px; border-radius: 12px; border: 1px solid #f0c9b8; background: #fff8f4; }
.df-stop summary { cursor: pointer; font-weight: 700; color: #8a3b0a; display: flex; align-items: center; gap: 8px; list-style: none; }
.df-stop summary::-webkit-details-marker { display: none; }
.df-stop form { margin-top: 8px; } .df-stop p { margin: 0 0 8px; }
.df-sound { font: inherit; font-size: .82rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.df-sound[aria-pressed="false"] { opacity: .65; }

/* escada */
.df-side { position: sticky; top: 12px; min-width: 0; }
.df-ladder { list-style: none; margin: 0; padding: 10px; border-radius: 16px; background: var(--df-dark); display: flex; flex-direction: column; gap: 3px; box-shadow: 0 8px 22px rgba(13,51,32,.18); }
.df-ladder li { display: grid; grid-template-columns: 28px minmax(0, 1fr) 16px; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 10px; color: #cfe3d4; font-variant-numeric: tabular-nums; font-size: .98rem;
  border-left: 3px solid transparent; }
.df-ladder .t1 { border-left-color: #4f9a66; } .df-ladder .t2 { border-left-color: #c9a640; } .df-ladder .t3 { border-left-color: #d9824a; } .df-ladder .t4 { border-left-color: #d0533d; }
.df-ladder .df-step { font-weight: 700; opacity: .7; font-size: .85rem; }
.df-ladder .df-val { text-align: right; font-weight: 800; }
.df-ladder .is-safe { color: #f4d97a; background: rgba(227,179,65,.08); }
.df-ladder .df-safe { color: var(--df-gold); font-size: .8rem; text-align: center; }
.df-ladder .is-done { color: #7fb08f; }
.df-ladder .is-done .df-val::after { content: ' ✓'; }
.df-ladder .is-now { background: var(--df-gold); color: var(--df-gold-ink); box-shadow: 0 4px 14px rgba(227,179,65,.45); font-size: 1.1rem; }
.df-ladder .is-now .df-step { opacity: 1; }
.df-ladder .is-now .df-safe { color: var(--df-dark); }
.df-legend { margin: 8px 2px 0; font-size: .8rem; color: var(--muted); }
.df-ladder-m { display: none; }

/* resposta */
.df-verdict { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; font-size: 1.05rem; }
.df-verdict > div { display: flex; flex-direction: column; gap: 2px; }
.df-verdict strong { font-size: 1.3rem; }
.df-verdict-ico { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; font-size: 1.6rem; font-weight: 900; color: #fff; }
.df-verdict.is-ok { background: #e3f4e7; border: 2px solid #7fc093; color: #0d3320; }
.df-verdict.is-ok .df-verdict-ico { background: var(--df-green); }
.df-verdict.is-bad { background: #fbe5e1; border: 2px solid #ec9f90; color: #5c1c10; }
.df-verdict.is-bad .df-verdict-ico { background: var(--df-red); }
.df-options-done .df-option { cursor: default; }
.df-options-done .is-dim { opacity: .5; }
.df-options-done .is-right { background: #1f7a3c; border-color: #7fe0a0; box-shadow: 0 0 0 4px rgba(127,224,160,.35); }
.df-options-done .is-right .df-letter { background: #fff; color: #1f7a3c; }
.df-options-done .is-wrong { background: var(--df-red); border-color: #f2a395; }
.df-options-done .is-wrong .df-letter { background: #fff; color: var(--df-red); }
.df-tag { flex: none; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.2); }
.is-fresh .df-verdict.is-ok { animation: df-pop .5s ease both; }
.is-fresh .df-verdict.is-bad { animation: df-shake .5s ease both; }
.is-fresh .df-options-done .is-wrong { animation: df-shake .5s ease both; }
.is-fresh .df-options-done .is-right { animation: df-reveal 1s ease .35s both; }
@keyframes df-shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
@keyframes df-reveal { 0% { box-shadow: 0 0 0 0 rgba(127,224,160,.8); transform: scale(1); } 40% { transform: scale(1.03); } 100% { box-shadow: 0 0 0 4px rgba(127,224,160,.35); transform: none; } }
.df-explain { padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.df-explain h2 { font-size: 1.05rem; margin-top: 0; color: var(--df-dark); }
.df-refs summary { cursor: pointer; color: var(--df-green); }
.df-next-bar { display: flex; flex-wrap: wrap-reverse; align-items: center; justify-content: space-between; gap: 10px; }
.df-next { min-width: 240px; flex-direction: column; gap: 0; line-height: 1.2; }
.df-next small { font-weight: 600; font-size: .78rem; }

/* resultado */
.df-result { text-align: center; padding: 28px 18px; border-radius: 18px; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: radial-gradient(120% 120% at 50% 0%, var(--df-mid), var(--df-dark) 75%); animation: df-pop .5s ease both; }
.df-result h1 { color: #fff; margin: 6px 0 0; }
.df-result.is-win { box-shadow: 0 0 0 3px var(--df-gold), 0 12px 30px rgba(201,154,46,.35); }
.df-result.is-win h1 { color: #f4d97a; }
.df-result.is-lose { background: radial-gradient(120% 120% at 50% 0%, #3b2a1e, #1d140e 75%); }
.df-prize { font-size: 2.2rem; font-weight: 900; color: var(--df-gold); margin: 6px 0 0; display: flex; align-items: center; gap: 8px; }
.df-prize small { font-size: .9rem; color: #f4d97a; }
.df-stats, .df-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-top: 14px; }
.df-summary > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.df-summary span { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.df-summary strong { font-size: 1.35rem; color: var(--df-dark); }
.df-review ol { list-style: none; padding: 0; display: grid; gap: 6px; }
.df-review li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); }
.df-review .is-ok span { color: var(--df-green); font-weight: 700; } .df-review .is-bad span { color: var(--df-red); font-weight: 700; }
.df-weak { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.df-weak li { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 8px 12px; border-radius: 10px; background: #fff7e0; }
.df-me { font-size: 1.05rem; }
.df-rank tr.is-me td { background: #eef7f0; font-weight: 700; }
.journey-desafio { background: linear-gradient(135deg, #0d3320, #145a32); border-color: #c99a2e; }
.journey-desafio strong, .journey-desafio .journey-text span { color: #fff; }
.journey-desafio .journey-ico, .journey-desafio .journey-go { color: var(--df-gold); }

@media (max-width: 900px) {
  .df-play { grid-template-columns: minmax(0, 1fr); }
  .df-side { display: none; }
  .df-ladder-m { display: block; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); padding: 8px 12px; }
  .df-ladder-m summary { cursor: pointer; font-weight: 700; color: var(--df-dark); }
  .df-ladder-m .df-ladder { margin-top: 8px; max-height: 60vh; overflow-y: auto; }
  .df-ladder-m .df-ladder li { padding: 4px 10px; font-size: .92rem; }
  .df-ladder-m .df-ladder .is-now { transform: none; }
}
@media (max-width: 760px) {
  .has-tabbar .df-start { bottom: calc(66px + env(safe-area-inset-bottom)); }
  .df-playing .crumbs { display: none; }
  .df-hero { grid-template-columns: auto minmax(0, 1fr); padding: 14px 16px; gap: 12px; }
  .df-emblem { width: 52px; height: 52px; }
  .df-jackpot { grid-column: 1 / -1; flex-direction: row; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 8px 12px; }
  .df-panel { grid-template-columns: minmax(0, 1fr); }
  .df-hud { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "num now lv" "num money money" "track track track"; gap: 6px 12px; padding: 10px 12px; }
  .df-qnum { width: 64px; height: 62px; font-size: .56rem; } .df-qnum strong { font-size: 1.6rem; }
  .df-now strong { font-size: 1.45rem; }
  .df-level { align-self: start; font-size: .72rem; padding: 3px 9px; }
  .df-money { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .df-money div { padding: 2px 8px; min-width: 0; }
  .df-money dt { font-size: .58rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .df-hide-sm { display: none; }
  .df-question { padding: 16px; }
  .df-options { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .df-option { min-height: 58px; padding: 10px 14px; }
  .df-confirm { position: sticky; bottom: calc(70px + env(safe-area-inset-bottom)); z-index: 20; box-shadow: 0 -6px 20px rgba(13,51,32,.14); padding: 8px 8px 8px 12px; }
  .df-confirm-msg { font-size: .82rem; }
  .df-confirm-btn { min-width: 0; }
  .df-helps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .df-help { padding: 8px 2px 6px; } .df-help strong { font-size: .78rem; } .df-help span { font-size: .64rem; line-height: 1.15; text-align: center; }
  .df-next-bar { position: sticky; bottom: calc(70px + env(safe-area-inset-bottom)); z-index: 20; padding: 8px; margin: 0 -8px; border-radius: 16px; background: var(--surface); box-shadow: 0 -6px 20px rgba(13,51,32,.12); }
  .df-next { flex: 1; min-width: 0; }
  .df-start { flex-wrap: wrap; }
  .df-start .df-btn-gold { flex: 1 1 auto; }
}
@media (max-width: 400px) {
  .df-mini dd { font-size: 1.1rem; } .df-mini div { padding: 8px 10px; }
  .df-hud .df-money dt { font-size: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .df-main, .df-verdict, .df-result, .df-notice, .df-qnum strong, .df-track .is-now, .df-t4 .df-question, .is-locked .df-option.is-final,
  .is-fresh .df-verdict, .is-fresh .df-options-done .df-option { animation: none !important; }
  .df-option, .df-main.is-leaving { transition: none; }
}

/* Treinar (página única) */
.tr-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.tr-stats div { display: flex; flex-direction: column; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.tr-stats span { font-size: .78rem; color: var(--muted); }
.tr-stats strong { font-size: 1.2rem; color: var(--verde-900); }
.tr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tr-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; transition: transform .12s, box-shadow .12s; }
.tr-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(13,51,32,.10); color: var(--ink); }
.tr-ico { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--verde-50); color: var(--verde-700); }
.tr-ico .ico { width: 30px; height: 30px; }
.tr-body { display: flex; flex-direction: column; gap: 4px; }
.tr-body strong { font-size: 1.12rem; color: var(--verde-900); }
.tr-meta { font-size: .82rem; color: var(--muted); }
.tr-featured { grid-column: 1 / -1; background: radial-gradient(120% 140% at 0% 0%, #145a32, #0d3320 70%); border-color: #c99a2e; color: #fff; }
.tr-featured strong { color: #f4d97a; } .tr-featured .tr-meta, .tr-featured span { color: #e4efe7; }
.tr-featured .tr-ico { background: rgba(227,179,65,.15); color: #e3b341; }
@media (max-width: 640px) { .tr-grid { grid-template-columns: 1fr; } .tr-stats { grid-template-columns: 1fr 1fr; } }

/* ===================== Minha Fazenda ===================== */
.fz-coin { width: 1.1em; height: 1.1em; vertical-align: -.2em; flex: none; }
.fz-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.fz-eyebrow { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: #9a7413; font-weight: 800; }
.fz-title h1 { margin: 0; font-size: clamp(1.3rem, 4vw, 1.8rem); color: var(--df-dark, #0d3320); line-height: 1.15; }
.fz-stage { display: inline-block; margin-top: 4px; padding: 2px 10px; border-radius: 999px; background: #e3f0e6; color: #1f6b36; font-weight: 700; font-size: .82rem; }
.fz-wallet { display: flex; flex-direction: column; align-items: flex-end; padding: 8px 14px; border-radius: 14px; background: #fffaf0; border: 1px solid #ecd9a4; flex: none; }
.fz-wallet span { display: flex; align-items: center; gap: 6px; font-size: 1.45rem; font-weight: 900; color: #0d3320; font-variant-numeric: tabular-nums; }
.fz-wallet small { color: #7a5a10; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.fz-scene-box { border-radius: 18px; overflow: auto; border: 3px solid #6f9e4f; background: #8fc46a; box-shadow: 0 10px 26px rgba(13,51,32,.16); -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.fz-scene { display: block; width: 100%; height: auto; min-width: 0; }
.fz-hit { cursor: pointer; outline: none; }
.fz-hit > g { transition: transform .15s; }
.fz-hit:hover > g, .fz-hit:focus-visible > g { filter: brightness(1.08) drop-shadow(0 0 6px rgba(255,236,170,.95)); }
.fz-hit:focus-visible > g { filter: drop-shadow(0 0 0 #fff) drop-shadow(0 0 5px #e3b341); }
.fz-hit.is-spot:hover rect:first-child { fill: rgba(255,255,255,.55); }
.fz-ready { animation: fz-bounce 1.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes fz-bounce { 50% { transform: translateY(-4px); } }
.fz-hover { animation: fz-float 2.4s ease-in-out infinite; }
@keyframes fz-float { 50% { transform: translateY(-5px); } }
.fz-bee { animation: fz-float 1.4s ease-in-out infinite; }
.fz-pivo-arm { transform-origin: 120px 120px; animation: fz-spin 40s linear infinite; }
@keyframes fz-spin { to { transform: rotate(360deg); } }
.fz-hint { margin: 6px 2px 12px; font-size: .84rem; color: var(--muted); }
.fz-hint-pan { display: none; }
.fz-indic { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 10px; align-items: stretch; }
.fz-level { display: flex; flex-direction: column; gap: 4px; padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.fz-level span { font-weight: 800; color: #0d3320; font-size: .92rem; }
.fz-level small { color: var(--muted); font-size: .78rem; }
.fz-level progress, .fz-progress { width: 100%; height: 10px; appearance: none; -webkit-appearance: none; border: 0; border-radius: 99px; background: #e6ece7; overflow: hidden; }
.fz-level progress::-webkit-progress-bar, .fz-progress::-webkit-progress-bar { background: #e6ece7; border-radius: 99px; }
.fz-level progress::-webkit-progress-value, .fz-progress::-webkit-progress-value { background: linear-gradient(90deg, #2a7a43, #e3b341); border-radius: 99px; }
.fz-level progress::-moz-progress-bar, .fz-progress::-moz-progress-bar { background: #2a7a43; }
.fz-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.fz-kpis div { display: flex; flex-direction: column; justify-content: center; padding: 8px 10px; min-width: 0; }
.fz-kpis div + div { border-left: 1px solid var(--line); }
.fz-kpis dt { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.fz-kpis dd { margin: 0; font-size: 1.2rem; font-weight: 800; color: #0d3320; font-variant-numeric: tabular-nums; }
.fz-goal { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 10px 0 14px; padding: 10px 14px; border-radius: 14px; background: #fff7e0; border: 1px solid #ecd9a4; }
.fz-goal p { margin: 0; }
.fz-btn { min-height: 46px; border-radius: 12px; font-weight: 800; }
.fz-btn-gold { background: linear-gradient(180deg, #f3cd63, #c99a2e); color: #3a2a00; border: 1px solid #b38420; box-shadow: 0 3px 0 #9a7413; }
.fz-btn-gold:hover { filter: brightness(1.05); color: #3a2a00; border-color: #b38420; }
.fz-btn[disabled] { opacity: .55; cursor: not-allowed; box-shadow: none; }
.fz-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 8px; position: sticky; top: 0; z-index: 5; background: var(--bg, #f5f7f4); }
.fz-tabs::-webkit-scrollbar { display: none; }
.fz-tabs a { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: #0d3320; font-weight: 700; font-size: .9rem; text-decoration: none; }
.fz-tabs a[aria-current="page"] { background: #0d3320; border-color: #0d3320; color: #fff; }
.fz-badge { min-width: 20px; height: 20px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 999px; background: #e3b341; color: #3a2a00; font-size: .72rem; }
.fz-panes { scroll-margin-top: 70px; }
.fz-pane { padding-top: 4px; }
.fz-h3 { font-size: 1rem; margin: 14px 0 8px; color: #0d3320; }
.fz-meta { color: var(--muted); font-size: .9rem; margin: 6px 0; }
.fz-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 8px; }
.fz-row { position: relative; display: flex; align-items: center; gap: 8px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.fz-row.is-sale { border-color: #d9b44a; background: #fffaf0; }
.fz-row.is-locked { opacity: .75; }
.fz-row-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 8px 12px; color: inherit; text-decoration: none; min-height: 64px; }
.fz-row-main span { display: flex; flex-direction: column; min-width: 0; }
.fz-row-main strong { color: #0d3320; }
.fz-row-main small { color: var(--muted); font-size: .8rem; }
.fz-row-img { width: 64px; height: 48px; flex: none; }
.fz-row-act { padding-right: 12px; font-weight: 800; color: #9a7413; font-size: .85rem; }
.fz-dot { position: absolute; top: -6px; right: -4px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #e3b341; color: #3a2a00; font-weight: 900; font-size: .8rem; }
.fz-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.fz-chips[hidden] { display: none; }
.fz-chip { flex: none; min-height: 38px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: inherit; font-size: .85rem; font-weight: 700; color: #0d3320; cursor: pointer; }
.fz-chip[aria-pressed="true"] { background: #2a7a43; border-color: #2a7a43; color: #fff; }
.fz-shop { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px; }
.fz-card { display: grid; grid-template-columns: 76px minmax(0, 1fr); grid-template-areas: "img body" "act act"; gap: 6px 10px; padding: 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.fz-card.is-owned { background: #f1f8f2; border-color: #b7dcc0; }
.fz-card-img { grid-area: img; display: grid; place-items: center; border-radius: 10px; background: #e9f4df; min-height: 64px; }
.fz-thumb { width: 100%; max-width: 76px; height: 64px; }
.fz-card-body { grid-area: body; min-width: 0; }
.fz-card-body h4 { margin: 0; font-size: .95rem; color: #0d3320; }
.fz-card-body p { margin: 2px 0 4px; font-size: .78rem; color: var(--muted); line-height: 1.3; }
.fz-card .fz-form { grid-area: act; }
.fz-card .fz-btn { width: 100%; min-height: 42px; }
.fz-state { display: inline-block; font-size: .72rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: #eef0ee; color: #4b5a50; }
.fz-state.is-owned { background: #d8efdc; color: #14532d; }
.fz-state.is-sale { background: #fdf0c8; color: #6b4d00; }
.fz-state.is-locked { background: #eceae4; color: #6b6458; }
.fz-form { display: flex; flex-direction: column; gap: 4px; margin: 8px 0 0; }
.fz-short { font-size: .8rem; color: #8a5a00; }
.fz-prod { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.fz-prod li { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 12px; background: #fff7e0; border: 1px solid #ecd9a4; }
.fz-prod strong { font-size: 1.3rem; color: #0d3320; } .fz-prod span { font-size: .82rem; } .fz-prod small { color: var(--muted); font-size: .74rem; }
.fz-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.fz-tags li { padding: 4px 10px; border-radius: 999px; background: #e3f0e6; color: #14532d; font-size: .82rem; font-weight: 600; }
.fz-earn { margin-top: 18px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(135deg, #0d3320, #145a32); color: #e4efe7; }
.fz-earn h2 { color: #f4d97a; font-size: 1.05rem; margin: 0 0 4px; }
.fz-earn p { margin: 4px 0; } .fz-earn strong { color: #fff; } .fz-earn .fz-meta { color: #c7dccd; }
.fz-earn-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.fz-earn-links .btn { background: rgba(255,255,255,.1); border-color: rgba(227,179,65,.6); color: #fff; }
/* painel (folha inferior no celular, janela no computador) */
.fz-sheet { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; }
.fz-sheet[hidden] { display: none; }
.fz-sheet-back { position: absolute; inset: 0; background: rgba(8,24,14,.5); }
.fz-sheet-card { position: relative; width: min(520px, calc(100% - 32px)); max-height: min(86vh, 720px); overflow-y: auto; padding: 18px 18px 20px; border-radius: 20px; background: var(--surface); box-shadow: 0 20px 50px rgba(0,0,0,.3); animation: fz-up .22s ease both; }
@keyframes fz-up { from { transform: translateY(24px); } to { transform: none; } }
.fz-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #eef0ee; color: #0d3320; font-size: 1.5rem; text-decoration: none; line-height: 1; }
.fz-panel-head { display: flex; align-items: center; gap: 12px; padding-right: 44px; margin-bottom: 8px; }
.fz-panel-head .fz-thumb { width: 96px; max-width: 96px; height: 80px; flex: none; border-radius: 12px; background: #e9f4df; padding: 4px; }
.fz-panel-head h2 { margin: 0 0 4px; font-size: 1.2rem; color: #0d3320; }
.fz-panel p { margin: 6px 0; }
.fz-func { padding: 8px 12px; border-radius: 10px; background: #f1f8f2; font-size: .92rem; }
.fz-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 8px 0; }
.fz-dl div { padding: 8px 10px; border-radius: 10px; background: #f6f8f6; border: 1px solid var(--line); }
.fz-dl dt { font-size: .72rem; color: var(--muted); text-transform: uppercase; } .fz-dl dd { margin: 0; font-weight: 800; font-size: 1.1rem; color: #0d3320; }
.fz-crops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.fz-crop { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px; border-radius: 14px; border: 2px solid #b7dcc0; background: #f6fbf6; font: inherit; cursor: pointer; color: #0d3320; min-height: 120px; }
.fz-crop:hover:not([disabled]) { border-color: #2a7a43; background: #eaf6ec; }
.fz-crop[disabled] { opacity: .5; cursor: not-allowed; }
.fz-crop-img { width: 100%; height: 64px; }
.fz-crop span { font-size: .74rem; color: var(--muted); text-align: center; }
.fz-stages { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.fz-stages li { font-size: .72rem; padding: 3px 8px; border-radius: 999px; background: #eef0ee; color: #4b5a50; }
.fz-stages li.is-now { background: #2a7a43; color: #fff; font-weight: 800; }
body.fz-sheet-open { overflow: hidden; }
@media (max-width: 760px) {
  .fz-head { align-items: flex-start; }
  .fz-wallet { padding: 6px 10px; } .fz-wallet span { font-size: 1.2rem; }
  .fz-scene-box { margin: 0 -16px; border-radius: 0; border-left: 0; border-right: 0; height: min(72vh, 600px); }
  .fz-scene { width: auto; height: 100%; min-width: 0; max-width: none; }
  .fz-hint-pan { display: inline; }
  .fz-indic { grid-template-columns: minmax(0, 1fr); }
  .fz-kpis dd { font-size: 1.05rem; }
  .fz-goal .fz-btn { width: 100%; }
  .fz-sheet { align-items: flex-end; }
  .fz-sheet-card { width: 100%; max-height: 82vh; border-radius: 20px 20px 0 0; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .fz-ready, .fz-hover, .fz-bee, .fz-pivo-arm, .fz-sheet-card { animation: none; } }

/* ---------- Minha Fazenda: agricultor animado ---------- */
.fz-farmer { pointer-events: none; }
.fz-farmer.is-driving { visibility: hidden; }
.fz-farmer .fz-leg, .fz-farmer .fz-arm, .fz-farmer .fz-upper, .fz-farmer .fz-head { transform-box: view-box; }
.fz-farmer .fz-leg-b { transform-origin: -2.5px -17px; } .fz-farmer .fz-leg-f { transform-origin: 3px -17px; }
.fz-farmer .fz-arm-b { transform-origin: -7.8px -29px; } .fz-farmer .fz-arm-f { transform-origin: 7.7px -29px; }
.fz-farmer .fz-upper { transform-origin: 0 -17px; } .fz-farmer .fz-head { transform-origin: 0 -34px; }
.fz-farmer .fz-tool { display: none; }
.fz-farmer .fz-seed, .fz-farmer .fz-grain, .fz-farmer .fz-drops circle { transform-box: fill-box; }
/* parado: respira e pisca */
.fz-farmer.is-idle .fz-upper { animation: fzf-breathe 2.6s ease-in-out infinite; }
.fz-farmer .fz-eye { animation: fzf-blink 4.2s steps(1) infinite; }
@keyframes fzf-breathe { 50% { transform: translateY(.7px); } }
@keyframes fzf-blink { 0%, 96% { opacity: 1; } 97%, 99% { opacity: 0; } }
/* caminhando */
.fz-farmer.is-walk .fz-leg-b, .fz-farmer.is-walk .fz-arm-f { animation: fzf-swing .46s ease-in-out infinite alternate; }
.fz-farmer.is-walk .fz-leg-f, .fz-farmer.is-walk .fz-arm-b { animation: fzf-swing .46s ease-in-out infinite alternate-reverse; }
.fz-farmer.is-walk .fz-upper { animation: fzf-step .23s ease-in-out infinite alternate; }
@keyframes fzf-swing { from { transform: rotate(26deg); } to { transform: rotate(-26deg); } }
@keyframes fzf-step { to { transform: translateY(-1.3px); } }
/* agachado (plantar e colher) */
.fz-farmer.is-plantar .fz-upper, .fz-farmer.is-colher .fz-upper { transform: translateY(4.5px) rotate(8deg); }
.fz-farmer.is-plantar .fz-leg-f, .fz-farmer.is-colher .fz-leg-f { transform: rotate(-32deg); }
.fz-farmer.is-plantar .fz-leg-b, .fz-farmer.is-colher .fz-leg-b { transform: rotate(18deg); }
/* plantar: joga sementes na linha */
.fz-farmer.is-plantar .fz-tool-seeds { display: inline; }
.fz-farmer.is-plantar .fz-arm-f { animation: fzf-sow .7s ease-in-out infinite; }
.fz-farmer.is-plantar .fz-seed { animation: fzf-fall .7s ease-in infinite; }
.fz-farmer.is-plantar .fz-seed:nth-child(2) { animation-delay: .23s; } .fz-farmer.is-plantar .fz-seed:nth-child(3) { animation-delay: .46s; }
@keyframes fzf-sow { 0%, 100% { transform: rotate(-15deg); } 50% { transform: rotate(-55deg); } }
@keyframes fzf-fall { from { transform: translate(0, 0); opacity: 1; } to { transform: translate(3px, 14px); opacity: 0; } }
/* regar */
.fz-farmer.is-regar .fz-tool-can { display: inline; }
.fz-farmer.is-regar .fz-arm-f { animation: fzf-pour 1.4s ease-in-out infinite; }
.fz-farmer.is-regar .fz-drops circle { animation: fzf-fall .55s linear infinite; }
.fz-farmer.is-regar .fz-drops circle:nth-child(2) { animation-delay: .18s; } .fz-farmer.is-regar .fz-drops circle:nth-child(3) { animation-delay: .36s; }
@keyframes fzf-pour { 0%, 100% { transform: rotate(-55deg); } 50% { transform: rotate(-70deg); } }
/* colher: braços alternam, cesto na mão */
.fz-farmer.is-colher .fz-tool-basket { display: inline; }
.fz-farmer.is-colher .fz-arm-f { animation: fzf-pick .55s ease-in-out infinite alternate; }
.fz-farmer.is-colher .fz-arm-b { animation: fzf-pick .55s ease-in-out infinite alternate-reverse; }
@keyframes fzf-pick { from { transform: rotate(-20deg); } to { transform: rotate(-85deg); } }
/* trabalhar: enxada */
.fz-farmer.is-trabalhar .fz-tool-hoe { display: inline; }
.fz-farmer.is-trabalhar .fz-arm-f { animation: fzf-hoe .75s cubic-bezier(.5, 0, .7, 1) infinite; }
.fz-farmer.is-trabalhar .fz-upper { animation: fzf-lean .75s ease-in-out infinite; }
@keyframes fzf-hoe { 0% { transform: rotate(-150deg); } 55% { transform: rotate(-10deg); } 100% { transform: rotate(-150deg); } }
@keyframes fzf-lean { 55% { transform: rotate(10deg) translateY(1.5px); } }
/* alimentar: joga milho para os animais */
.fz-farmer.is-alimentar .fz-tool-feed { display: inline; }
.fz-farmer.is-alimentar .fz-arm-f { animation: fzf-throw .8s ease-out infinite; }
.fz-farmer.is-alimentar .fz-grain { animation: fzf-toss .8s ease-out infinite; }
.fz-farmer.is-alimentar .fz-grain:nth-child(3) { animation-delay: .1s; } .fz-farmer.is-alimentar .fz-grain:nth-child(4) { animation-delay: .2s; }
@keyframes fzf-throw { 0% { transform: rotate(10deg); } 40% { transform: rotate(-80deg); } 100% { transform: rotate(10deg); } }
@keyframes fzf-toss { 0%, 30% { transform: translate(0, 0); opacity: 0; } 40% { opacity: 1; } 100% { transform: translate(14px, 16px); opacity: 0; } }
/* inspecionar: prancheta e olhar atento */
.fz-farmer.is-inspecionar .fz-tool-board { display: inline; }
.fz-farmer.is-inspecionar .fz-arm-f { transform: rotate(-60deg); }
.fz-farmer.is-inspecionar .fz-head { animation: fzf-look 1.6s ease-in-out infinite; }
@keyframes fzf-look { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(10deg); } 65% { transform: rotate(-6deg); } }
.fz-farmer.is-paused *, .fz-sheet-open .fz-farmer * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .fz-farmer * { animation: none !important; } }

/* Desafio: revelação na própria pergunta (com o toque de acerto/erro) */
.df-answer .df-options .df-option.is-hit { background: #1f7a3c; color: #fff; border-color: #7fe0a0; box-shadow: 0 0 0 5px rgba(127,224,160,.45); animation: df-pop .45s ease both; }
.df-answer .df-options .df-option.is-hit .df-letter { background: #fff; color: #1f7a3c; }
.df-answer .df-options .df-option.is-miss { background: #b23a2a; color: #fff; border-color: #f2a395; animation: df-shake .45s ease both; }
.df-answer .df-options .df-option.is-miss .df-letter { background: #fff; color: #b23a2a; }
.df-answer .df-options .df-option.is-reveal { background: #1f7a3c; color: #fff; border-color: #7fe0a0; opacity: 1; animation: df-reveal .9s ease .3s both; }
.df-answer .df-options .df-option.is-reveal .df-letter { background: #fff; color: #1f7a3c; }
/* Jogos: mesma revelação nas questões */
.jg-option.is-hit { background: #1f7a3c !important; color: #fff !important; border-color: #7fe0a0 !important; animation: df-pop .45s ease both; }
.jg-option.is-miss { background: #b23a2a !important; color: #fff !important; border-color: #f2a395 !important; animation: df-shake .45s ease both; }
.jg-option.is-reveal { background: #1f7a3c !important; color: #fff !important; border-color: #7fe0a0 !important; opacity: 1 !important; }

/* ===================== Início (modelo nov/2026 v2) ===================== */
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand-tag { font-size: .62rem; font-weight: 500; font-style: italic; letter-spacing: .01em; color: #e3f1e5; opacity: .9; margin-top: 2px; }
.top-bell { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #fff; text-decoration: none; flex: none; }
.top-bell svg { width: 26px; height: 26px; }
.top-bell:hover { background: rgba(255,255,255,.1); color: #fff; }
.top-bell-dot { position: absolute; top: 8px; right: 9px; width: 10px; height: 10px; border-radius: 50%; background: #ef4444; border: 2px solid var(--verde-900, #12391f); }
.top-menu summary { color: #fff; }
/* banner em carrossel */
.page-home .hc { position: relative; width: 100vw; margin-left: calc(50% - 50vw); background: var(--verde-900); }
.hc-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hc-track::-webkit-scrollbar { display: none; }
.hc-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; min-height: clamp(300px, 40vh, 420px); display: flex; align-items: center; overflow: hidden; color: #fff; }
.hc-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hc-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,38,20,.92) 0%, rgba(10,38,20,.78) 40%, rgba(10,38,20,.25) 75%, rgba(10,38,20,.05) 100%); }
.hc-text { position: relative; z-index: 1; width: 100%; max-width: 1100px; margin: 0 auto; padding: 28px 20px 70px; display: flex; flex-direction: column; gap: 16px; box-sizing: border-box; }
.hc-text h1, .hc-title { margin: 0; color: #fff; font-size: clamp(1.75rem, 4.6vw, 3rem); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; max-width: 18ch; }
.hc-dots { position: absolute; left: 0; right: 0; bottom: 46px; display: flex; justify-content: center; gap: 10px; z-index: 2; }
.hc-dots button { width: 11px; height: 11px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.55); cursor: pointer; }
.hc-dots button[aria-current="true"] { background: #8ee05a; width: 13px; height: 13px; }
.page-home .hero3-btn { border-color: #8ee05a; background: rgba(42,122,67,.9); }
/* busca com filtro */
.home3-filter { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--verde-900); flex: none; }
.home3-filter .ico { width: 24px; height: 24px; }
.home3-filter:hover { background: var(--verde-100, #e8f3ea); }
/* seções */
.home-sec { display: grid; gap: 10px; }
.hs-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hs-head h2 { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 1.3rem; color: var(--verde-900); }
.hs-head h2 .ico { width: 26px; height: 26px; color: var(--verde-700); }
.hs-head a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--verde-700); text-decoration: none; white-space: nowrap; font-size: .95rem; }
.hs-head a .ico { width: 18px; height: 18px; }
/* seu aprendizado */
.lc { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 20px; overflow: hidden;
  background: radial-gradient(120% 140% at 100% 0%, #c5e6b0 0%, #e2f2d6 45%, #eef8e8 100%); border: 1px solid #d3e8c8; }
.lc::after { content: ""; position: absolute; right: -30px; top: -40px; width: 180px; height: 180px; border-radius: 50% 0 50% 0; background: rgba(124,201,90,.18); transform: rotate(20deg); pointer-events: none; }
.lc-ring-box { position: relative; width: 84px; height: 84px; display: grid; place-items: center; }
.lc-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.lc-ring-box strong { position: relative; font-size: 1.35rem; color: var(--verde-900); }
.lc-body { min-width: 0; position: relative; z-index: 1; }
.lc-body h3 { margin: 0 0 4px; font-size: 1.2rem; color: var(--verde-900); line-height: 1.2; }
.lc-body p { margin: 0; color: var(--muted); }
.lc-btn { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 16px; background: var(--verde-900); color: #fff; font-weight: 800; text-decoration: none; white-space: nowrap; }
.lc-btn:hover { background: var(--verde-700); color: #fff; }
.lc-btn .ico { width: 20px; height: 20px; }
/* acesso rápido */
.qa4 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) { .qa4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.qa4 a { display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px 12px 14px 14px; border-radius: 16px; text-decoration: none; color: var(--ink); box-sizing: border-box; min-height: 88px; }
.qa4 a:hover { filter: brightness(.97); }
.qa4-ico { flex: none; width: 46px; height: 46px; display: grid; place-items: center; }
.qa4-ico .ico { width: 40px; height: 40px; }
.qa4-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.qa4-txt strong { font-size: 1.05rem; color: #1b2a20; }
.qa4-txt small { font-size: .8rem; color: #4b5a50; line-height: 1.25; }
.qa4-go .ico { width: 20px; height: 20px; color: #4b5a50; }
.qa-verde { background: #e2f2dc; } .qa-verde .qa4-ico { color: #1f6b36; }
.qa-ouro { background: #f8ecd3; } .qa-ouro .qa4-ico { color: #b5781b; }
.qa-azul { background: #dceaf7; } .qa-azul .qa4-ico { color: #1d5fa8; }
.qa-pessego { background: #f6e3d3; } .qa-pessego .qa4-ico { color: #7a4520; }
/* culturas em destaque */
.fc { list-style: none; margin: 0 -16px; padding: 2px 16px 6px; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.fc::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .fc { margin: 0; padding: 2px 0 6px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); overflow: visible; } }
.fc li { flex: 0 0 clamp(118px, 30vw, 170px); scroll-snap-align: start; }
.fc a { position: relative; display: block; aspect-ratio: 1 / .85; border-radius: 14px; overflow: hidden; text-decoration: none; background: var(--verde-900); }
.fc img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.fc a:hover img { transform: scale(1.05); }
.fc a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.65) 100%); }
.fc span { position: absolute; left: 0; right: 0; bottom: 8px; z-index: 1; text-align: center; color: #fff; font-weight: 800; font-size: 1rem; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
/* desafio do dia */
.dd { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; text-decoration: none; color: #fff; background: linear-gradient(90deg, #0f3a20, #164a2a); box-shadow: 0 6px 16px rgba(13,51,32,.2); }
.dd:hover { color: #fff; filter: brightness(1.06); }
.dd-ico { flex: none; width: 48px; height: 48px; display: grid; place-items: center; color: #e3b341; }
.dd-ico .ico { width: 40px; height: 40px; }
.dd-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dd-txt strong { font-size: 1.15rem; } .dd-txt span { font-size: .85rem; color: #d7eadb; }
.dd-go { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border-radius: 999px; background: #a3e635; color: #0f3a20; font-weight: 800; }
.dd-go .ico { width: 18px; height: 18px; }
/* novidades */
.news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.news-list a { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); }
.news-list a:hover { border-color: var(--verde-600); }
.news-crop { font-size: .78rem; color: var(--verde-700); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.news-sum { color: var(--muted); font-size: .9rem; } .news-list time { font-size: .78rem; color: var(--muted); }
@media (max-width: 760px) {
  .hc-slide { min-height: 300px; }
  .hc-slide::after { background: linear-gradient(90deg, rgba(10,38,20,.88) 0%, rgba(10,38,20,.6) 55%, rgba(10,38,20,.15) 100%); }
  .hc-text { padding: 26px 18px 72px; gap: 14px; }
  .hs-head h2 { font-size: 1.12rem; white-space: nowrap; } .hs-head h2 .ico { width: 22px; height: 22px; } .hs-head a { font-size: .86rem; }
  .lc { grid-template-columns: auto minmax(0, 1fr) auto; padding: 12px; gap: 10px; }
  .lc-ring-box { width: 64px; height: 64px; } .lc-ring-box strong { font-size: 1.05rem; }
  .lc-body h3 { font-size: .98rem; } .lc-body p { font-size: .84rem; }
  .lc-btn { padding: 10px 12px; border-radius: 14px; font-size: .9rem; gap: 6px; } .lc-btn .ico { width: 16px; height: 16px; }
  .qa4 a { padding: 12px 6px 12px 10px; gap: 8px; min-height: 84px; }
  .qa4-go .ico { width: 16px; height: 16px; }
  .qa4-ico { width: 38px; height: 38px; } .qa4-ico .ico { width: 34px; height: 34px; }
  .qa4-txt strong { font-size: .98rem; } .qa4-txt small { font-size: .74rem; }
  .dd { padding: 12px; gap: 10px; } .dd-ico { width: 38px; height: 38px; } .dd-ico .ico { width: 32px; height: 32px; }
  .dd-txt strong { font-size: 1.02rem; } .dd-txt span { font-size: .78rem; }
  .dd-go { padding: 9px 14px; }
}
@media (min-width: 761px) { .lc-btn { align-self: center; } }
@media (max-width: 359px) { .lc { grid-template-columns: auto minmax(0, 1fr); } .lc-btn { grid-column: 1 / -1; justify-content: center; } }

/* ===================== Treinar (modelo nov/2026) ===================== */
.tr-page .crumbs { margin-bottom: 4px; }
.tr-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46%); align-items: center; gap: 8px; margin: 0 -16px; padding: 4px 16px 0;
  background: radial-gradient(90% 120% at 100% 30%, #e6f4d8 0%, rgba(230,244,216,0) 70%); overflow: hidden; }
.tr-hero h1 { margin: 0; display: flex; align-items: center; gap: 12px; font-size: clamp(1.7rem, 6vw, 2.5rem); line-height: 1.05; color: var(--verde-900); letter-spacing: -.02em; }
.tr-trophy { width: clamp(64px, 18vw, 92px); height: clamp(64px, 18vw, 92px); flex: none; color: #d9a521; stroke-width: 1.6; filter: drop-shadow(0 4px 6px rgba(201,154,46,.35)); }
.tr-hero p { margin: 10px 0 14px; color: #3e4c43; font-size: 1.05rem; font-weight: 600; max-width: 30ch; }
.tr-hero-art { width: 100%; height: auto; display: block; }
.tr-kpis { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: -6px 0 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(18,57,31,.08); }
.tr-kpis > * { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 6px; text-align: center; color: inherit; text-decoration: none; min-width: 0; }
.tr-kpis > * + * { border-left: 1px solid var(--line); }
.tr-kpis a:hover { background: #f6faf4; }
.tr-kpis strong { font-size: 1.3rem; color: var(--verde-900); line-height: 1.15; overflow-wrap: anywhere; }
.tr-kpis small { font-size: .78rem; color: #4b5a50; }
.k-ico .ico { width: 28px; height: 28px; } .k-verde { color: #2f8a3f; } .k-ouro { color: #e0a51b; }
.tr-daily { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 20px; text-decoration: none; color: #fff; overflow: hidden;
  background: radial-gradient(80% 140% at 0% 50%, #1f6b36, #0f3a20 70%); box-shadow: 0 8px 20px rgba(13,51,32,.25); }
.tr-daily:hover { color: #fff; filter: brightness(1.05); }
.tr-medal svg { width: 74px; height: 84px; display: block; filter: drop-shadow(0 4px 6px rgba(0,0,0,.3)); }
.tr-daily-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.tr-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(227,179,65,.6); background: rgba(227,179,65,.12); color: #f4d97a; font-weight: 700; font-size: .8rem; }
.tr-tag .ico { width: 16px; height: 16px; }
.tr-daily-txt strong { font-size: 1.2rem; line-height: 1.2; }
.tr-daily-txt small { color: #cfe3d4; font-size: .82rem; }
.tr-go { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: #a3e635; color: #0f3a20; font-weight: 800; font-size: 1.05rem; box-shadow: 0 4px 0 #6fa51c; }
.tr-go .ico { width: 20px; height: 20px; }
.tr-cats { margin-top: 20px; display: grid; gap: 10px; }
.tr-raio { color: #3fae4a; }
.tc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) { .tc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tc-grid form { margin: 0; height: 100%; }
.tc { width: 100%; height: 100%; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); font: inherit; text-align: left; cursor: pointer; color: var(--ink); box-shadow: 0 1px 3px rgba(18,57,31,.06); }
.tc:hover { border-color: var(--verde-600); box-shadow: 0 4px 12px rgba(18,57,31,.1); }
.tc-art { width: 62px; height: 62px; flex: none; border-radius: 50%; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.tc-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tc-txt strong { font-size: 1rem; color: #1b2a20; }
.tc-txt small { font-size: .8rem; color: #4b5a50; line-height: 1.3; }
.tc-txt em { font-style: normal; font-size: .72rem; color: var(--verde-700); font-weight: 700; }
.tc-go { width: 20px; height: 20px; color: #1b2a20; flex: none; }
.tr-tip { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 16px; border-radius: 16px; background: linear-gradient(90deg, #eef8e2, #dff0cc); border: 1px solid #cfe6b8; }
.tr-bulb { width: 40px; height: 40px; flex: none; color: #d9a521; }
.tr-tip strong { color: var(--verde-900); font-size: 1.05rem; } .tr-tip p { margin: 2px 0 0; color: #2c3a30; font-size: .9rem; }
@media (max-width: 760px) {
  .tr-hero { grid-template-columns: minmax(0, 1fr) 42%; }
  .tr-hero p { font-size: .92rem; margin-bottom: 10px; }
  .tr-kpis strong { font-size: 1.05rem; } .tr-kpis small { font-size: .68rem; } .k-ico .ico { width: 24px; height: 24px; } .tr-kpis > * { padding: 10px 2px; }
  .tr-daily { padding: 12px; gap: 10px; } .tr-medal svg { width: 52px; height: 60px; }
  .tr-daily-txt strong { font-size: 1rem; } .tr-daily-txt small { font-size: .72rem; }
  .tr-go { padding: 10px 14px; font-size: .95rem; }
  .tc { flex-direction: row; padding: 10px 8px; gap: 8px; align-items: center; } .tc-art { width: 48px; height: 48px; }
  .tc-txt strong { font-size: .9rem; } .tc-txt small { font-size: .72rem; } .tc-go { width: 16px; height: 16px; }
}
@media (max-width: 380px) { .tr-daily { flex-wrap: wrap; } .tr-go { width: 100%; justify-content: center; } }
.tr-cats, .home-sec { grid-template-columns: minmax(0, 1fr); }
.tr-cats .hs-head h2 { white-space: normal; min-width: 0; }
@media (max-width: 760px) {
  .tr-hero { grid-template-columns: minmax(0, 1fr) 38%; }
  .tr-hero h1 { font-size: 1.6rem; gap: 8px; } .tr-trophy { width: 52px; height: 52px; }
  .tr-cats .hs-head h2 { font-size: 1.05rem; }
}
@media (max-width: 420px) {
  .tc { padding: 10px 8px; gap: 8px; } .tc-art { width: 42px; height: 42px; } .tc-go { display: none; }
  .tc-txt small { hyphens: auto; overflow-wrap: anywhere; } .tc-txt strong { font-size: .88rem; }
}
@media (min-width: 761px) { .tr-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); } .tr-hero-art { max-height: 230px; } }

/* Categorias para marcar (escolha do Desafio) e Minha Fazenda no Treinar */
.df-cat-head h1 { display: flex; align-items: center; gap: 8px; } .df-cat-head h1 .ico { width: 28px; height: 28px; flex: none; }
.tc-pick { position: relative; cursor: pointer; padding-right: 40px; }
.tc-pick input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.tc-check { position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #b9c9bd; background: #fff; display: grid; place-items: center; }
.tc-pick:has(input:checked) { border-color: #2a7a43; background: #eef7f0; box-shadow: 0 0 0 3px rgba(42,122,67,.18); }
.tc-pick:has(input:checked) .tc-check { background: #2a7a43; border-color: #2a7a43; }
.tc-pick:has(input:checked) .tc-check::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); }
.tc-pick:has(input:focus-visible) { outline: 3px solid #e3b341; outline-offset: 2px; }
.tf { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; align-items: center; gap: 14px; margin-top: 18px; padding: 12px; border-radius: 20px; text-decoration: none; color: var(--ink);
  background: linear-gradient(90deg, #f2f9ea, #e3f2d3); border: 1px solid #cfe6b8; box-shadow: 0 2px 8px rgba(18,57,31,.06); }
.tf:hover { border-color: #2a7a43; color: var(--ink); }
.tf-scene { width: 100%; height: auto; display: block; border-radius: 14px; }
.tf-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tf-tag { color: #1f6b36; background: #fff; border-color: #b7dcc0; }
.tf-txt strong { font-size: 1.25rem; color: var(--verde-900); }
.tf-txt small { color: #4b5a50; font-size: .85rem; }
.tf-go { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; background: var(--verde-900); color: #fff; font-weight: 800; white-space: nowrap; }
.tf-go .ico { width: 18px; height: 18px; }
@media (max-width: 760px) {
  .tf { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .tf-go { justify-content: center; }
}
/* fazenda isométrica */
.fz-iso .fz-pivo-arm { transform-box: view-box; transform-origin: 0 0; }
.fz-iso .fz-hit:hover > g, .fz-iso .fz-hit:focus-visible > g { filter: brightness(1.06) drop-shadow(0 0 5px rgba(255,236,170,.95)); }
.fz-scene-box:has(.fz-iso) { background: linear-gradient(180deg, #cfeaf8 0%, #e6f4fb 55%, #d9efc6 100%); }

/* ===================== Guia de campo (fichas didáticas) ===================== */
.gc-head h1 { margin: 2px 0 6px; color: var(--verde-900); }
.gc-tabs { display: flex; gap: 6px; margin: 10px 0 14px; overflow-x: auto; scrollbar-width: none; }
.gc-tabs a { flex: none; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--verde-900); font-weight: 700; text-decoration: none; font-size: .92rem; }
.gc-tabs a[aria-current="page"] { background: #145a32; border-color: #145a32; color: #fff; }
.gc-strip { position: sticky; top: 0; z-index: 6; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 8px 2px; margin: 0 0 10px; background: var(--bg, #f5f7f4); }
.gc-strip::-webkit-scrollbar { display: none; }
.gc-chip { flex: none; min-width: 44px; text-align: center; padding: 6px 10px; border-radius: 10px; font-weight: 800; font-size: .85rem; text-decoration: none; border: 1px solid; }
.gc-chip.gc-vegetativo { color: #1f6b36; border-color: #b7dcc0; background: #eef7f0; }
.gc-chip.gc-reprodutivo { color: #6b3d8a; border-color: #d9c4ea; background: #f6effb; }
.gc-chip[aria-current="true"] { color: #fff; background: #145a32; border-color: #145a32; }
.gc-chip.gc-reprodutivo[aria-current="true"] { background: #6b3d8a; border-color: #6b3d8a; }
.gc-how { padding: 14px 16px; border-radius: 16px; background: #fffaf0; border: 1px solid #ecd9a4; margin-bottom: 14px; }
.gc-how h2 { margin: 0 0 6px; font-size: 1.1rem; color: var(--verde-900); }
.gc-how ol { margin: 0 0 6px; padding-left: 1.2em; display: grid; gap: 4px; }
.gc-tip { margin: 0; font-size: .9rem; }
.gc-list { display: grid; gap: 14px; }
.gc-dif { padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid #d6e6cc; margin-bottom: 14px; }
.gc-dif h2 { margin: 0 0 4px; font-size: 1.1rem; color: var(--verde-900); }
.gc-dif-intro { margin: 0 0 10px; }
.gc-dif-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.gc-dif-item { display: block; padding: 10px; border-radius: 12px; border: 1px solid #e3ecdc; background: #fbfdf9; color: inherit; text-decoration: none; }
.gc-dif-item:hover, .gc-dif-item:focus-visible { border-color: #7fb06a; }
.gc-dif-art { display: block; width: 100%; height: auto; margin-bottom: 6px; }
.gc-dif-item h3 { margin: 0 0 4px; font-size: 1rem; color: var(--verde-900); }
.gc-dif-item dl { margin: 0 0 6px; display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; font-size: .9rem; }
.gc-dif-item dt { font-weight: 600; color: #5a6b52; }
.gc-dif-item dd { margin: 0; }
.gc-dif-key { margin: 0 0 4px; padding: 6px 8px; border-radius: 8px; background: #fff4e6; border-left: 3px solid #e07b1a; font-size: .92rem; }
.gc-dif-dano { margin: 0; font-size: .88rem; color: #5a6b52; }
.gc-dif-h { margin: 12px 0 4px; font-size: 1rem; color: var(--verde-900); }
.gc-dif-conf { margin: 0 0 6px; padding-left: 1.2em; display: grid; gap: 4px; }
.gc-card { border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(18,57,31,.07); scroll-margin-top: 64px; }
.gc-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #145a32; color: #fff; }
.gc-reprodutivo .gc-bar { background: linear-gradient(90deg, #145a32, #4e2f6b); }
.gc-bar h3 { margin: 0; flex: 1; font-size: 1.05rem; color: #fff; }
.gc-code { flex: none; min-width: 46px; height: 34px; padding: 0 8px; display: grid; place-items: center; border-radius: 9px; background: #e3b341; color: #3a2a00; font-weight: 900; font-size: 1rem; }
.gc-ico { width: 20px; height: 20px; }
.gc-phase { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.gc-body { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 14px; padding: 12px 14px 14px; align-items: start; }
.gc-fig { margin: 0; background: linear-gradient(180deg, #eaf6ff 0%, #f4fbef 82%); border-radius: 12px; padding: 4px; text-align: center; }
.gc-plant { width: 100%; height: auto; display: block; }
.gc-fig figcaption { font-size: .66rem; color: var(--muted); padding: 0 0 2px; }
.gc-txt h4 { margin: 2px 0 4px; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: #1f6b36; }
.gc-txt > p { margin: 0; }
.gc-txt h4 + p { font-size: 1rem; }
.gc-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.gc-check li { position: relative; padding-left: 24px; font-size: .94rem; line-height: 1.4; }
.gc-check li::before { content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 4px; background: #e3f2e6; border: 1.5px solid #2a7a43; }
.gc-check li::after { content: ""; position: absolute; left: 5px; top: 5px; width: 4px; height: 8px; border: solid #2a7a43; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.gc-src { display: inline-block; font-size: .74rem; color: var(--muted); }
.gc-src a { color: var(--muted); }
p.gc-src { margin: 2px 0 10px; }
/* contas */
.gc-calc .gc-bar { background: linear-gradient(90deg, #145a32, #1f6b36); }
.gc-calc-body { padding: 12px 14px 14px; display: grid; gap: 10px; }
.gc-when { margin: 0; color: #3e4c43; }
.gc-inputs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 8px; margin: 0; }
.gc-inputs label { display: flex; flex-direction: column; gap: 3px; font-size: .8rem; color: #4b5a50; font-weight: 600; }
.gc-in { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
.gc-in:focus-within { border-color: #2a7a43; box-shadow: 0 0 0 3px rgba(42,122,67,.15); }
.gc-in input { flex: 1; min-width: 0; border: 0; padding: 9px 10px; font: inherit; font-size: 1rem; font-weight: 700; color: var(--verde-900); background: transparent; }
.gc-in input:focus { outline: none; }
.gc-in em { font-style: normal; padding: 0 10px; color: var(--muted); font-size: .78rem; background: #f4f6f4; align-self: stretch; display: grid; place-items: center; }
.gc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gc-steps li { display: flex; gap: 10px; align-items: flex-start; }
.gc-n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #145a32; color: #fff; font-weight: 800; font-size: .85rem; }
.gc-steps li > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.gc-steps strong { color: #1b2a20; }
.gc-formula { align-self: flex-start; padding: 4px 10px; border-radius: 6px; background: #c9e3a3; color: #23401a; font-size: .86rem; font-weight: 600; }
.gc-res { font-size: 1rem; color: #1b2a20; }
.gc-res b { font-size: 1.2rem; color: #145a32; }
.gc-flash { animation: gc-flash .5s ease; }
@keyframes gc-flash { 0% { background: #fff2b8; } 100% { background: transparent; } }
.gc-note { margin: 0; padding: 8px 12px; border-radius: 10px; background: #fff7e0; border-left: 4px solid #c99a2e; font-size: .9rem; }
.gc-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; }
.gc-more { font-weight: 700; color: #1f6b36; text-decoration: none; }
@media (max-width: 560px) {
  .gc-body { grid-template-columns: 136px minmax(0, 1fr); gap: 10px; padding: 10px; }
  .gc-txt h4 + p { font-size: .94rem; }
  .gc-check li { font-size: .88rem; }
  .gc-bar h3 { font-size: .98rem; }
}
@media (prefers-reduced-motion: reduce) { .gc-flash { animation: none; } }

/* Guia de campo dentro do curso de soja */
.player-guide{display:flex;gap:.6rem;align-items:center;margin:.6rem 0;padding:.65rem .75rem;border-radius:12px;background:#eef6e6;border:1px solid #cfe3bd;color:#1d4d22;text-decoration:none}
.player-guide:hover,.player-guide.is-current{background:#dff0cf}
.player-guide small{display:block;font-size:.78rem;color:#4b6b45}
.pg-ico{font-size:1.25rem}
.guide-banner{display:flex;align-items:center;gap:.9rem;margin:1rem 0;padding:1rem 1.1rem;border-radius:16px;background:linear-gradient(120deg,#1f5c2a,#2f7d3a);color:#fff;text-decoration:none;box-shadow:0 6px 18px rgba(31,92,42,.18)}
.guide-banner:hover{filter:brightness(1.06)}
.gb-tag{flex:none;background:#e8c36a;color:#3a2a00;font-weight:700;font-size:.75rem;padding:.2rem .55rem;border-radius:999px}
.gb-txt{flex:1;min-width:0}.gb-txt strong{display:block;font-size:1.05rem}.gb-txt small{display:block;opacity:.9;font-size:.85rem;line-height:1.35}
.gb-go{font-size:1.8rem;line-height:1}

/* Guia de campo: fichas de pragas, doenças e nutrientes */
.gc-art { width: 100%; height: auto; display: block; border-radius: 10px; }
.gc-ficha .gc-fig { background: #f6faf2; }
.gc-stage-soja .gc-body { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); }
.gc-stage-svg { border-radius: 10px; }
.gc-ficha .gc-body { grid-template-columns: minmax(0, 460px) minmax(0, 1fr); }
.gc-pair { display: grid; grid-template-columns: 3fr 2fr; gap: 8px; align-items: start; min-width: 0; }
.gc-pair.gc-solo { grid-template-columns: minmax(0, 220px); }
.gc-pair .gc-fig { min-width: 0; }
.gc-ficha .gc-bar { flex-wrap: wrap; row-gap: 2px; }
.gc-praga .gc-bar { background: linear-gradient(90deg, #145a32, #6b4a1f); }
.gc-doenca .gc-bar { background: linear-gradient(90deg, #145a32, #7a2e2e); }
.gc-nutri .gc-bar { background: linear-gradient(90deg, #145a32, #8a6a12); }
.gc-dots { margin: 0 0 6px; padding-left: 1.1em; display: grid; gap: 3px; }
.gc-act { margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: #eef7e6; border-left: 4px solid #2f7d3a; }
.gc-act h4 { margin-top: 0; }
.gc-act p { margin: 0 0 2px; }
.gc-sub { font-size: 1.05rem; color: var(--verde-900); margin: 18px 0 8px; }
.gc-tabs a { white-space: nowrap; }
.gc-strip .gc-chip:not(.gc-vegetativo):not(.gc-reprodutivo) { color: #1f4d22; border-color: #cfe3bd; background: #f3f9ec; font-weight: 700; }
@media (max-width: 640px) {
  .gc-ficha .gc-body { grid-template-columns: minmax(0, 1fr); }
  .gc-stage-soja .gc-body { grid-template-columns: minmax(0, 1fr); }
  .gc-pair { grid-template-columns: 3fr 2fr; }
  .gc-pair.gc-solo { grid-template-columns: minmax(0, 260px); justify-content: center; }
}
.gc-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 10px; background: #e7efe0; }
.gc-credit { font-size: .62rem; }
.gc-credit a { color: inherit; }
.gc-photo a { display: block; }
.gc-ilus-svg { width: 100%; height: auto; aspect-ratio: 4 / 3; display: block; border-radius: 10px; }
.gc-ilus figcaption { text-align: left; padding: 4px 2px 2px; }
.gc-photo figcaption { text-align: left; padding: 4px 2px 2px; }

/* ===== Laudo interativo de análise de solo ===== */
.lz-examples { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 16px; }
.lz-ex-t { font-weight: 700; color: var(--verde-900); font-size: .9rem; }
.lz-examples .chip { font-size: .85rem; padding: 6px 12px; text-decoration: none; background: #fff; box-shadow: inset 0 0 0 1px #cfdccb; color: #2b4a2e; }
.lz-examples .chip[aria-current] { background: var(--verde-700, #2f7d3a); color: #fff; box-shadow: none; }
.lz-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.lz-paper { background: #fffdf8; border: 1px solid #e3dccb; border-radius: 14px; box-shadow: 0 6px 22px rgba(60, 50, 20, .08); padding: 18px 18px 12px; }
.lz-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-bottom: 2px solid #2b4a2e; padding-bottom: 10px; margin-bottom: 10px; }
.lz-lab { margin: 0; font-weight: 800; letter-spacing: .06em; color: #2b4a2e; font-size: .9rem; }
.lz-sub, .lz-ident { margin: 0; font-size: .82rem; color: #6a6450; }
.lz-units { display: flex; gap: 8px; align-items: center; justify-content: flex-end; font-size: .82rem; margin-bottom: 4px; }
.lz-units select { padding: 4px 6px; font-size: .82rem; }
.lz-table { width: 100%; border-collapse: collapse; margin: 6px 0 14px; }
.lz-cap { text-align: left; font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: #6a6450; padding: 6px 0; }
.lz-table thead th { font-size: .72rem; color: #8a826a; text-align: left; font-weight: 700; border-bottom: 1px solid #e3dccb; padding: 4px 6px; }
.lz-row th, .lz-row td { padding: 6px; border-bottom: 1px dashed #e8e1cf; vertical-align: middle; }
.lz-name { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #22311f; font-size: .92rem; }
.lz-name:focus-visible { outline: 2px solid var(--verde-600, #2f7d3a); outline-offset: 2px; border-radius: 4px; }
.lz-i { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #e8f1e1; color: #2f7d3a; font-size: .72rem; font-weight: 800; font-style: italic; font-family: Georgia, serif; flex: none; }
.lz-item.is-open .lz-i { background: #2f7d3a; color: #fff; }
.lz-val { white-space: nowrap; }
.lz-val input { width: 76px; padding: 5px 6px; font-size: .95rem; font-weight: 700; text-align: right; border: 1px solid #d9d2bf; border-radius: 8px; background: #fff; font-variant-numeric: tabular-nums; }
.lz-val output { display: inline-block; width: 76px; text-align: right; font-weight: 800; font-size: .95rem; font-variant-numeric: tabular-nums; color: #22311f; }
.lz-unit { font-size: .74rem; color: #8a826a; margin-left: 6px; }
.lz-calc .lz-row { background: #f8f5ea; }
.lz-badge { display: inline-block; font-size: .75rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.lz-good { background: #dff1d8; color: #1f5a25; } .lz-warn { background: #fdf0cc; color: #7a5600; } .lz-bad { background: #fbdcd6; color: #8b2414; } .lz-info { background: #e3edf8; color: #24507d; } .lz-none { background: #eee; color: #888; }
.lz-detail td { padding: 0; }
.lz-paper.js .lz-detail { display: none; }
.lz-paper.js .lz-item.is-open .lz-detail { display: table-row; }
.lz-detail-in { margin: 4px 0 10px; padding: 12px 14px; background: #fff; border: 1px solid #e3dccb; border-left: 4px solid #2f7d3a; border-radius: 10px; font-size: .9rem; display: grid; gap: 6px; }
.lz-detail-in p { margin: 0; }
.lz-scale-t { font-size: .8rem; font-weight: 700; color: #4a574d; margin: 2px 0 0 !important; }
.lz-gauge { width: 100%; max-width: 420px; height: auto; display: block; margin-top: 4px; overflow: visible; }
.lz-gauge text { font-size: 9px; fill: #6a6450; }
.lz-g-good { fill: #8ccf7e; } .lz-g-warn { fill: #f3cf6a; } .lz-g-bad { fill: #ee8a77; } .lz-g-info { fill: #9fc1e6; }
.lz-g-mark { fill: #22311f; } .lz-g-line { fill: #22311f; }
.lz-formula { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .84rem; background: #f4f7f1; padding: 6px 10px; border-radius: 8px; }
.lz-meaning { padding: 6px 10px; border-radius: 8px; background: #f2f4f1; }
.lz-m-good { background: #e9f6e4; } .lz-m-warn { background: #fdf5dc; } .lz-m-bad { background: #fde8e3; } .lz-m-info { background: #eaf1f9; }
.lz-more { font-size: .8rem; color: #6a6450; }
.lz-foot { margin: 0; }
.lz-side { display: grid; gap: 14px; position: sticky; top: 76px; }
.lz-diag h2, .lz-how h2 { font-size: 1.05rem; margin: 0 0 8px; }
.lz-diag-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lz-diag-list li { padding: 8px 10px 8px 12px; border-radius: 10px; font-size: .86rem; border-left: 4px solid; }
.lz-diag-list a { color: inherit; text-decoration: none; }
.lz-diag-list a:hover { text-decoration: underline; }
.lz-d-bad { background: #fde8e3; border-color: #d65a43; } .lz-d-warn { background: #fdf5dc; border-color: #d6a21e; } .lz-d-info { background: #eaf1f9; border-color: #4f86c2; } .lz-d-good { background: #e9f6e4; border-color: #3f9a3c; }
.lz-how ol { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; font-size: .88rem; }
.lz-ctc-sec, .lz-cal, .lz-quiz { margin-top: 18px; }
.lz-parts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 4px; }
.lz-parts figure { margin: 0; background: #f6faf2; border-radius: 12px; padding: 8px 10px; }
.lz-parts figcaption { font-size: .85rem; }
.lz-part { width: 100%; height: auto; display: block; }
.lz-p-clay { fill: #b88a5c; } .lz-p-neg { fill: #fff; font-size: 16px; font-weight: 800; }
.lz-p-ion { stroke: #fff; stroke-width: 1.5; } .lz-p-it { fill: #fff; font-size: 9px; font-weight: 800; }
.lz-p-ca, .lz-c-ca { fill: #3f8f4a; background: #3f8f4a; } .lz-p-mg, .lz-c-mg { fill: #7cb85a; background: #7cb85a; } .lz-p-k, .lz-c-k { fill: #d9a520; background: #d9a520; }
.lz-p-al, .lz-c-al { fill: #c8553d; background: #c8553d; } .lz-p-h, .lz-c-h { fill: #9a8f80; background: #9a8f80; }
.lz-p-lost circle { fill: #d9a520; opacity: .55; } .lz-p-lost text { fill: #fff; font-size: 9px; font-weight: 800; } .lz-p-lost path { stroke: #4f86c2; stroke-width: 2; }
.lz-p-cap { font-size: 9px; fill: #4f6a8a; }
.lz-ctc { width: 100%; height: auto; display: block; margin: 6px 0; }
.lz-ctc text { font-size: 13px; font-weight: 800; fill: #fff; }
.lz-ctc .lz-c-vt, .lz-ctc .lz-c-at { fill: #4a574d; font-size: 11px; font-weight: 700; }
.lz-c-v { stroke: #3f8f4a; stroke-width: 4; } .lz-c-a { stroke: #c8553d; stroke-width: 4; }
.lz-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 0 0 10px; font-size: .82rem; }
.lz-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; }
.lz-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 10px 0; }
.lz-cmp { border-radius: 12px; padding: 12px 14px; font-size: .9rem; }
.lz-cmp h3 { margin: 0 0 6px; font-size: 1rem; }
.lz-cmp ul { margin: 6px 0 0; padding-left: 1.1em; display: grid; gap: 4px; }
.lz-cmp-low { background: #fdf5dc; } .lz-cmp-high { background: #e9f6e4; }
.lz-cal-t { width: 100%; border-collapse: collapse; font-size: .88rem; margin: 6px 0; }
.lz-cal-t th, .lz-cal-t td { text-align: left; padding: 6px 8px; border-bottom: 1px solid #e6ece2; }
.lz-q { border: 1px solid #e3e8df; border-radius: 12px; padding: 10px 12px; margin: 0 0 10px; }
.lz-q legend { font-weight: 700; padding: 0 4px; }
.lz-opts { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 6px; }
.lz-opt { padding: 7px 14px; border-radius: 999px; border: 1px solid #cfdccb; background: #fff; font-weight: 700; cursor: pointer; }
.lz-opt:hover:not(:disabled) { background: #f1f7ec; }
.lz-opt.is-hit { background: #3f9a3c; color: #fff; border-color: #3f9a3c; }
.lz-opt.is-miss { background: #d65a43; color: #fff; border-color: #d65a43; }
.lz-opt:disabled { cursor: default; }
.lz-why summary { cursor: pointer; font-size: .82rem; color: #4a574d; }
.lz-why p { margin: 4px 0 0; font-size: .88rem; }
@media (max-width: 900px) {
  .lz-layout { grid-template-columns: minmax(0, 1fr); }
  .lz-side { position: static; }
}
@media (max-width: 560px) {
  .lz-paper { padding: 12px 10px 8px; }
  .lz-row th, .lz-row td { padding: 6px 3px; }
  .lz-name { font-size: .84rem; }
  .lz-val input, .lz-val output { width: 58px; font-size: .9rem; }
  .lz-unit { display: block; margin: 2px 0 0; font-size: .66rem; }
  .lz-parts, .lz-compare { grid-template-columns: minmax(0, 1fr); }
  .lz-cal-t td:nth-child(2), .lz-cal-t th:nth-child(2) { display: none; }
}
.lz-units select { width: auto; flex: none; }
.lz-table, .lz-cal-t { table-layout: fixed; min-width: 0; }
.lz-table thead th:nth-child(1) { width: 46%; }
.lz-table thead th:nth-child(2) { width: 32%; }
.lz-table thead th:nth-child(3) { width: 22%; }
.lz-name { white-space: normal; }
.lz-detail-in { overflow-wrap: anywhere; }
.lz-cal-t { table-layout: fixed; }
.lz-cal-t td { overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .lz-table thead th:nth-child(1) { width: 44%; }
  .lz-table thead th:nth-child(2) { width: 30%; }
  .lz-table thead th:nth-child(3) { width: 26%; }
  .lz-badge { font-size: .68rem; padding: 2px 6px; white-space: normal; text-align: center; }
  .lz-ctc text { font-size: 22px; }
  .lz-ctc .lz-c-vt, .lz-ctc .lz-c-at { font-size: 18px; }
  .lz-cal-t th:first-child, .lz-cal-t td:first-child { width: 30%; }
}
@media (max-width: 560px) {
  .lz-ctc .lz-c-vt, .lz-ctc .lz-c-at { font-size: 24px; }
  .lz-gauge text { font-size: 13px; }
}

/* ===== Página Culturas ===== */
.ct-head { margin: 4px 0 18px; max-width: 640px; }
.ct-head .eyebrow { display: block; margin-bottom: 4px; }
.ct-head h1 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); line-height: 1.1; margin: 0; color: #13301b; letter-spacing: -.02em; }
.ct-head p { margin: 8px 0 0; color: #566457; font-size: 1rem; line-height: 1.5; }
.ct-tools { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; padding: 10px; margin-bottom: 26px; background: #fff; border: 1px solid #e4e9e1; border-radius: 16px; box-shadow: 0 1px 2px rgba(20, 40, 20, .04); }
.ct-search { flex: 1 1 240px; display: flex; align-items: center; gap: 10px; background: #f4f7f2; border-radius: 10px; padding: 0 14px; }
.ct-search svg { width: 18px; height: 18px; fill: none; stroke: #708071; stroke-width: 2; flex: none; }
.ct-search input { border: 0; background: transparent; padding: 11px 0; flex: 1; min-width: 0; font-size: .95rem; box-shadow: none; }
.ct-search input:focus { outline: none; }
.ct-search:focus-within { box-shadow: inset 0 0 0 2px #2f7d3a; background: #fff; }
.ct-chips { display: flex; gap: 6px; }
.ct-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 14px; border-radius: 10px; border: 0; background: transparent; font-weight: 600; font-size: .9rem; color: #3b4a3c; cursor: pointer; }
.ct-chip:hover { background: #f1f5ef; }
.ct-chip-n { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: #eef2ec; color: #5b6a5c; font-size: .75rem; font-weight: 700; text-align: center; }
.ct-chip[aria-pressed="true"] { background: #173d22; color: #fff; }
.ct-chip[aria-pressed="true"] .ct-chip-n { background: rgba(255, 255, 255, .18); color: #fff; }
.ct-sec { margin-bottom: 30px; }
.ct-sec-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid #e4e9e1; }
.ct-sec-head h2 { margin: 0; font-size: 1.05rem; color: #13301b; font-weight: 700; }
.ct-sec-n { font-size: .85rem; color: #6b786c; }
.ct-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ct[hidden] { display: none; }
.ct-link { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid #e4e9e1; border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 1px 2px rgba(20, 40, 20, .04); transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease; }
.ct-link:hover { border-color: #cdd8c9; box-shadow: 0 12px 28px -10px rgba(20, 50, 20, .22); transform: translateY(-2px); }
.ct-link:focus-visible { outline: 3px solid #2f7d3a; outline-offset: 2px; }
.ct-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e9efe6; }
.ct-media { display: grid; place-items: center; }
.ct-media > .ct-art, .ct-media > .ct-icon { width: 40%; height: auto; opacity: .55; }
.ct-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.ct-media.no-img::after { display: none; }
.ct-link:hover .ct-media img { transform: scale(1.04); }
.ct-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(10, 30, 10, .18)); pointer-events: none; }
.ct-media-art { display: grid; place-items: center; background: linear-gradient(135deg, #eef4e9, #dfeadb); }
.ct-media-art::after { display: none; }
.ct-media-art .ct-art, .ct-media-art .ct-icon { width: 46%; height: auto; opacity: 1; }
.ct-media-art .ct-icon { width: 72px; height: 72px; color: #2f7d3a; }
.ct-tag { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #173d22; font-size: .72rem; font-weight: 700; letter-spacing: .02em; }
.ct-body { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 16px; }
.ct-txt { display: grid; gap: 2px; min-width: 0; }
.ct-title { margin: 0; font-size: 1.08rem; font-weight: 700; color: #13301b; }
.ct-sci { font-size: .8rem; font-style: italic; color: #7a867b; }
.ct-count { margin-top: 4px; font-size: .84rem; color: #4f5e50; font-weight: 600; }
.ct-go { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #dbe4d7; color: #1f5a2a; transition: background .2s, color .2s, border-color .2s; }
.ct-go svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.ct-link:hover .ct-go { background: #173d22; border-color: #173d22; color: #fff; }
.ct-prog { display: flex; align-items: center; gap: 8px; padding: 0 16px 14px; margin-top: -6px; font-size: .75rem; color: #5b6a5c; font-weight: 600; }
.ct-prog progress { flex: 1; height: 5px; }
.ct-empty { margin-top: 12px; }
@media (max-width: 900px) { .ct-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .ct-tools { padding: 8px; background: transparent; border: 0; box-shadow: none; }
  .ct-search { flex-basis: 100%; background: #fff; border: 1px solid #e4e9e1; }
  .ct-chips { width: calc(100% + 32px); margin: 0 -16px; padding: 0 16px 2px; overflow-x: auto; scrollbar-width: none; }
  .ct-chip { flex: none; background: #fff; border: 1px solid #e4e9e1; }
  .ct-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ct-link { flex-direction: row; align-items: stretch; }
  .ct-media { aspect-ratio: auto; width: 112px; flex: none; }
  .ct-tag { top: 6px; left: 6px; font-size: .66rem; }
  .ct-body { flex: 1; padding: 12px 12px 12px 14px; }
  .ct-link { position: relative; }
  .ct-prog { position: absolute; left: 126px; right: 12px; bottom: 6px; padding: 0; margin: 0; }
}
/* Desafio: atalho para a Minha Fazenda */
.df-farm { display: flex; align-items: center; gap: 16px; margin: 18px 0; padding: 16px 18px; border-radius: 16px; background: linear-gradient(135deg, #1d4a26, #2f6b35); color: #fff; text-decoration: none; box-shadow: 0 8px 22px -12px rgba(20, 60, 20, .6); }
.df-farm:hover { filter: brightness(1.06); }
.df-farm-ico { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(255, 255, 255, .14); color: #f3c64a; }
.df-farm-ico svg { width: 30px; height: 30px; }
.df-farm-txt { display: grid; gap: 3px; flex: 1; min-width: 0; }
.df-farm-txt strong { font-size: 1.1rem; }
.df-farm-txt small { color: #d7e6d3; font-size: .88rem; line-height: 1.4; }
.df-farm-go { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #f3c64a; color: #1d3a12; font-weight: 700; font-size: .9rem; }
.df-farm-go svg { width: 14px; height: 14px; }
@media (max-width: 560px) { .df-farm { flex-wrap: wrap; } .df-farm-go { margin-left: 68px; } }
/* ===== Carreiras: guia da profissão ===== */
.cg-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 18px; }
.cg-nav a { padding: 7px 13px; border-radius: 999px; border: 1px solid #dfe7db; background: #fff; color: #1f4d29; font-weight: 600; font-size: .86rem; text-decoration: none; }
.cg-nav a:hover { background: #173d22; border-color: #173d22; color: #fff; }
.cg-sec { margin: 30px 0; scroll-margin-top: 80px; }
.cg-lede { margin: 0 0 12px; color: #4f5e50; }
.cg-areas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cg-areas li { display: flex; flex-direction: column; gap: 6px; padding: 16px; background: #fff; border: 1px solid #e4e9e1; border-radius: 14px; }
.cg-areas h3 { margin: 0; font-size: 1rem; color: #13301b; }
.cg-areas p { margin: 0; font-size: .88rem; line-height: 1.5; color: #4b5a4c; }
.cg-tip { padding: 8px 10px; border-radius: 8px; background: #f2f7ef; color: #2c5a33 !important; font-size: .82rem !important; font-weight: 600; }
.cg-areas .cg-tip { margin-top: auto; }
.cg-more { font-size: .85rem; font-weight: 700; color: #1f6a2c; }
.cg-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cg-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cg-card { padding: 18px; background: #fff; border: 1px solid #e4e9e1; border-radius: 14px; }
.cg-card h3 { margin: 0 0 8px; font-size: 1.02rem; color: #13301b; }
.cg-card p { margin: 0 0 10px; line-height: 1.55; color: #3f4d40; font-size: .93rem; }
.cg-warn { border-color: #ecd89a; background: #fffbef; }
.cg-ref { font-size: .8rem !important; color: #6b786c !important; margin: 0; }
.cg-src { color: #2c6a35; }
.cg-table { width: 100%; min-width: 0; border-collapse: collapse; background: #fff; border: 1px solid #e4e9e1; border-radius: 12px; overflow: hidden; font-size: .92rem; }
.cg-table th, .cg-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #eef2ec; vertical-align: top; }
.cg-table th { background: #f4f7f2; color: #34503a; font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; }
.cg-check { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cg-check label { display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: #fff; border: 1px solid #e4e9e1; border-radius: 12px; cursor: pointer; height: 100%; box-sizing: border-box; }
.cg-check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: #2f7d3a; }
.cg-check span { display: grid; gap: 3px; }
.cg-check small { color: #5b6a5c; line-height: 1.45; font-size: .84rem; }
.cg-check li.is-done label { background: #f2f8ef; border-color: #b9d6b0; }
.cg-check li.is-done strong { text-decoration: line-through; color: #4d6b50; }
.cg-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cg-links { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cg-links a { display: grid; gap: 3px; padding: 14px; background: #fff; border: 1px solid #e4e9e1; border-radius: 12px; text-decoration: none; color: #13301b; height: 100%; box-sizing: border-box; }
.cg-links a:hover { border-color: #b9d6b0; }
.cg-links small { color: #5b6a5c; }
@media (max-width: 1000px) { .cg-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cg-cols { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .cg-areas, .cg-check, .cg-links, .cg-cols-2 { grid-template-columns: minmax(0, 1fr); } .cg-nav { flex-wrap: nowrap; overflow-x: auto; margin: 4px -16px 18px; padding: 0 16px; } .cg-nav a { flex: none; } }
.cg-table-wrap { overflow-x: auto; border-radius: 12px; }
@media (max-width: 640px) { .cg-table { font-size: .82rem; } .cg-table th, .cg-table td { padding: 8px; } .cg-table td:nth-child(2) { min-width: 130px; } }
.cg-top li { position: relative; }
.cg-rank { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #173d22; color: #f3c64a; font-weight: 800; font-size: .85rem; }
.cg-other { margin-top: 14px; }
.cg-other summary { cursor: pointer; font-weight: 700; color: #1f5a2a; padding: 10px 0; }
.cg-other .cg-areas { margin-top: 6px; }
.cg-profs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cg-profs li { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: #fff; border: 1px solid #e4e9e1; border-radius: 14px; }
.cg-prof-head { display: flex; align-items: center; gap: 10px; }
.cg-prof-head h3 { margin: 0; font-size: 1.08rem; color: #13301b; }
.cg-profs p { margin: 0; color: #3f4d40; line-height: 1.5; font-size: .93rem; }
.cg-dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; padding: 12px; border-radius: 10px; background: #f7f9f5; }
.cg-dl dt { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #6b786c; }
.cg-dl dd { margin: 2px 0 0; font-size: .87rem; color: #263a2a; line-height: 1.4; }
.cg-profs .cg-tip { margin-top: auto; }
@media (max-width: 760px) { .cg-profs, .cg-dl { grid-template-columns: minmax(0, 1fr); } }
.cg-dl-1 { grid-template-columns: minmax(0, 1fr); }
.cg-sub { margin: 20px 0 10px; font-size: 1rem; color: #13301b; }
.cg-trainee-tips { margin-top: 14px; }
.cg-trainee-tips ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: #3f4d40; font-size: .93rem; line-height: 1.5; }
#cg-trainee .cg-table td:first-child { font-weight: 700; white-space: nowrap; }
#cg-trainee .cg-table-wrap + .cg-ref { margin-top: 8px; }
/* ===== Agro 360: figuras das aulas ===== */
.a3-hint { display: none; }
.a3-fig { margin: 18px 0; padding: 14px; background: #fff; border: 1px solid #e4e9e1; border-radius: 14px; }
.a3-svg { display: block; width: 100%; height: auto; max-height: 440px; }
.a3-svg .fg-t { font: 600 14px/1 Inter, system-ui, sans-serif; fill: #24332a; }
.a3-svg .fg-s { font: 500 13px/1 Inter, system-ui, sans-serif; fill: #3d4c40; }
.a3-svg .fg-h { font: 700 15px/1 Inter, system-ui, sans-serif; fill: #13301b; }
.a3-svg .fg-w { fill: #fff; }
@media (max-width: 640px) { .a3-fig { padding: 10px; } .a3-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; } .a3-scroll .a3-svg { min-width: 560px; } .a3-hint { display: block; font-size: .75rem; color: #6b786c; margin-top: 4px; } }
/* ===== Agro 360: página dos cinco tópicos ===== */
.a3-head { max-width: 700px; }
.a3-overall { margin-top: 10px !important; font-size: .92rem !important; color: #2c5a33 !important; }
.a3-grid { list-style: none; margin: 4px 0 16px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.a3-link { display: flex; align-items: center; gap: 14px; height: 100%; box-sizing: border-box; padding: 16px; background: #fff; border: 1px solid #e4e9e1; border-radius: 16px; text-decoration: none; color: inherit; transition: box-shadow .2s, border-color .2s, transform .2s; }
.a3-link:hover { border-color: #cdd8c9; box-shadow: 0 12px 28px -12px rgba(20, 50, 20, .25); transform: translateY(-2px); }
.a3-link:focus-visible { outline: 3px solid #2f7d3a; outline-offset: 2px; }
.a3-ico { flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; }
.a3-ico svg { width: 38px; height: 38px; }
.a3-c1 .a3-ico { background: #e8f3e1; color: #3f8a2e; }
.a3-c2 .a3-ico { background: #fdf3dc; color: #c58a12; }
.a3-c3 .a3-ico { background: #f4e8dc; color: #9a6232; }
.a3-c4 .a3-ico { background: #e3eef7; color: #2f6f9f; }
.a3-c5 .a3-ico { background: #f3e6f0; color: #8a4a7c; }
.a3-body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.a3-n { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6b786c; }
.a3-title { margin: 0; font-size: 1.1rem; color: #13301b; }
.a3-sub { font-size: .84rem; color: #5b6a5c; line-height: 1.35; }
.a3-meta { margin-top: 4px; font-size: .8rem; font-weight: 600; color: #3f4d40; }
.a3-bar { display: block; height: 5px; margin-top: 6px; border-radius: 999px; background: #edf1ea; overflow: hidden; }
.a3-fill { display: block; height: 100%; width: 0; background: #2f7d3a; border-radius: 999px; }
.a3-go { flex: none; align-self: center; display: inline-flex; align-items: center; gap: 4px; padding: 7px 12px; border-radius: 999px; background: #f1f5ef; color: #1f5a2a; font-weight: 700; font-size: .82rem; }
.a3-go svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.a3-link:hover .a3-go { background: #173d22; color: #fff; }
.a3-note { margin: 8px 0 18px; padding: 12px 14px; border-left: 4px solid #c9a33e; background: #fffbef; border-radius: 0 10px 10px 0; color: #4a4a3a; font-size: .9rem; }
.a3-more { margin: 10px 0 24px; border-top: 1px solid #e4e9e1; padding-top: 6px; }
.a3-more > summary { cursor: pointer; font-weight: 700; color: #1f5a2a; padding: 10px 0; }
.a3-more-h { font-size: 1rem; margin: 14px 0 10px; color: #13301b; }
@media (max-width: 560px) {
  .a3-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .a3-link { padding: 12px; gap: 12px; }
  .a3-ico { width: 48px; height: 48px; border-radius: 12px; } .a3-ico svg { width: 30px; height: 30px; }
  .a3-go { padding: 0; background: none; font-size: 0; } .a3-go svg { width: 18px; height: 18px; }
}
@media (min-width: 561px) {
  .a3-link { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px; }
  .a3-body { width: 100%; }
  .a3-go { align-self: flex-start; margin-top: auto; }
  .a3-title { font-size: 1.15rem; }
}
.a3-cg .a3-ico { background: #eef1e6; color: #5b6d2e; }

/* Agro 360: cabeçalho com progresso e cartões alinhados */
.a3-hero { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr); gap: 20px 40px; align-items: end; margin: 6px 0 22px; padding: clamp(20px, 3vw, 32px);
  border: 1px solid #dfe9d8; border-radius: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='220' viewBox='0 0 420 220'%3E%3Cg fill='none' stroke='%232f7d3a' stroke-opacity='.09' stroke-width='1.2'%3E%3Cpath d='M-10 40c60-30 120 20 180-5s110-40 170 0 80 25 100 10'/%3E%3Cpath d='M-10 70c60-30 120 20 180-5s110-40 170 0 80 25 100 10'/%3E%3Cpath d='M-10 100c60-30 120 20 180-5s110-40 170 0 80 25 100 10'/%3E%3Cpath d='M-10 130c60-30 120 20 180-5s110-40 170 0 80 25 100 10'/%3E%3Cpath d='M-10 160c60-30 120 20 180-5s110-40 170 0 80 25 100 10'/%3E%3Cpath d='M-10 190c60-30 120 20 180-5s110-40 170 0 80 25 100 10'/%3E%3Cellipse cx='330' cy='60' rx='40' ry='18'/%3E%3Cellipse cx='330' cy='60' rx='22' ry='9'/%3E%3C/g%3E%3C/svg%3E") right top / 420px auto repeat, linear-gradient(135deg, #f1f6e9 0%, #e7f0dc 100%); }
.a3-hero h1 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin: 6px 0 8px; color: #13301b; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.02em; }
.a3-hero p { margin: 0; color: #4a5a4c; font-size: 1.02rem; line-height: 1.55; max-width: 62ch; }
.a3-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: #173d22; color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .02em; }
.a3-badge svg { width: 20px; height: 20px; color: #9fdc7a; }
.a3-prog { display: grid; gap: 10px; padding: 16px 18px; background: rgba(255, 255, 255, .85); border: 1px solid #dfe9d8; border-radius: 14px; }
.a3-prog-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.a3-prog-top strong { font-size: 1.25rem; color: #173d22; }
.a3-prog-top span { font-size: .9rem; color: #4a5a4c; }
.a3-prog-bar { display: block; height: 10px; border-radius: 999px; background: #e3ebdd; overflow: hidden; }
.a3-prog-bar .a3-fill { background: linear-gradient(90deg, #2f7d3a, #6fc04a); min-width: 4px; }
@media (max-width: 760px) { .a3-hero { grid-template-columns: 1fr; } }
.a3-ico { width: 64px; height: 64px; }
.a3-link:hover { border-color: #8cc58a; box-shadow: 0 18px 34px -14px rgba(20, 70, 30, .35); transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) { .a3-link:hover { transform: none; } }
.a3-next .a3-go { background: #173d22; color: #fff; }
.a3-next .a3-go svg { stroke: #fff; }
.a3-next .a3-link { border-color: #b9d8b2; }
@media (min-width: 561px) {
  .a3-body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
  .a3-meta { margin-top: auto; padding-top: 8px; }
  .a3-go { margin-top: 4px; }
}
@media (max-width: 560px) { .a3-next .a3-go { background: none; color: #173d22; } .a3-next .a3-go svg { stroke: #173d22; } }

/* Ferramentas */
.ft-search input { width: 100%; max-width: 520px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 999px; font: inherit; background: var(--surface); }
.ft-group, .ft-mine { margin-top: 18px; }
.ft-h, .ft-mine h2 { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; color: var(--verde-900); margin: 0; }
.ft-ico { width: 22px; height: 22px; color: var(--verde-700); }
.ft-card { position: relative; display: grid; }
.ft-card .tool-card { padding-right: 44px; height: 100%; }
.ft-fav { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: #b7791f; font-size: 1.1rem; cursor: pointer; }
.ft-fav[aria-pressed="true"] { background: #fff6e0; border-color: #e3b341; }
.ft-alert { margin: 10px 0 14px; padding: 12px 14px; border-radius: 12px; background: #fff7e6; border-left: 4px solid #d69e2e; }
.ft-alvos .gc-chip[aria-current="page"] { background: var(--verde-700); color: #fff; border-color: var(--verde-700); }
.ft-alvo-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.ft-alvo-h h2 { margin: 6px 0 0; }
.ft-alvo-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.chip.ft-fung { background: #fbe9e9; color: #7a2e2e; }
.chip.ft-ins { background: #e8f2e3; color: #1f4d22; }
.ft-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 760px) { .ft-two { grid-template-columns: minmax(0, 1fr); } }
.ft-apps { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ft-apps li { display: flex; gap: 8px; align-items: end; padding: 8px; border-radius: 10px; border: 1px solid var(--line); }
.ft-apps li.is-erro { border-color: #c0392b; background: #fdecea; }
.ft-apps li.is-aviso { border-color: #d69e2e; background: #fff8e6; }
.ft-apps label { display: grid; gap: 2px; font-size: .78rem; color: var(--muted); }
.ft-apps .ft-g { flex: 1; }
.ft-apps input, .ft-apps select { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; min-width: 0; }
.ft-n { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--verde-700); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .85rem; align-self: center; }
.ft-alerts { list-style: none; padding: 0; display: grid; gap: 6px; }
.ft-alerts li { padding: 8px 10px; border-radius: 8px; }
.ft-alerts .is-erro { background: #fdecea; border-left: 4px solid #c0392b; }
.ft-alerts .is-aviso { background: #fff8e6; border-left: 4px solid #d69e2e; }
.ft-ok { color: #1f6b36; font-weight: 700; }
.ft-erro { color: #b42318; font-weight: 700; }
.ft-seq { display: grid; gap: 4px; padding-left: 1.2em; }
.ft-gtag { display: inline-block; margin-right: 4px; padding: 1px 8px; border-radius: 6px; background: #eef1ee; font-weight: 700; font-size: .85rem; }
.ft-verdict { display: grid; justify-items: start; gap: 2px; padding: 14px; border-radius: 12px; }
.ft-verdict.is-erro { background: #fdecea; border-left: 5px solid #c0392b; }
.ft-verdict.is-ok { background: #e8f5e9; border-left: 5px solid #2f7d3a; }
.ft-big { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.ft-fontes summary { cursor: pointer; font-weight: 700; }
.gc-prod a { font-weight: 700; }

/* vídeo da aula */
.lesson-video{margin:1.25rem 0;padding:1rem;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.lesson-video h2{margin:0 0 .6rem;font-size:1.15rem}
.lesson-video video{display:block;width:100%;aspect-ratio:16/9;height:auto;border-radius:10px;background:#0f3d22}
.lesson-video p{margin:.5rem 0 0}
.video-transcricao{margin-top:.6rem}
.video-transcricao summary{cursor:pointer;font-weight:600}
.video-transcricao p{margin:.4rem 0;font-size:.95rem}

/* ---------- Agro 360 · Proteção de Cultivos ---------- */
.pc-page { --pcH: #3f8a2e; --pcHb: #e8f3e1; --pcI: #c4661f; --pcIb: #fcebdc; --pcF: #2f6f9f; --pcFb: #e3eef7; --pcN: #8a5a2b; --pcNb: #f4e8dc; --pcB: #1f8a7a; --pcBb: #dff3ef; --pcR: #7a4fa0; --pcRb: #efe6f6; }
.pc-lH { --c: var(--pcH); --cb: var(--pcHb); } .pc-lI { --c: var(--pcI); --cb: var(--pcIb); } .pc-lF { --c: var(--pcF); --cb: var(--pcFb); }
.pc-lN { --c: var(--pcN); --cb: var(--pcNb); } .pc-lB { --c: var(--pcB); --cb: var(--pcBb); } .pc-lR { --c: var(--pcR); --cb: var(--pcRb); } .pc-lX { --c: #5b6b5f; --cb: #eef1ec; }
.pc-i { width: 20px; height: 20px; flex: none; }
.pc-i-lg { width: 30px; height: 30px; }
.pc-hero { padding: 26px 0 8px; max-width: 820px; }
.pc-hero h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 4px 0 8px; letter-spacing: -.02em; }
.pc-hero > p { color: var(--muted); font-size: 1.05rem; max-width: 64ch; margin: 0 0 18px; }
.pc-h2 { font-size: 1.15rem; margin: 26px 0 12px; }
.pc-search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px 6px 6px 14px; margin: 12px 0; max-width: 760px; box-shadow: 0 6px 20px -14px rgba(20, 50, 20, .35); }
.pc-search:focus-within { border-color: var(--verde-600); box-shadow: 0 0 0 3px rgba(42, 122, 67, .15); }
.pc-search .pc-i { color: var(--muted); }
.pc-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; padding: 8px 2px; background: transparent; }
.pc-search-big input { font-size: 1.05rem; padding: 11px 2px; }
.pc-upd { display: flex; gap: 8px; align-items: flex-start; font-size: .85rem; color: var(--muted); margin: 14px 0; }
.pc-upd .pc-i { width: 17px; height: 17px; margin-top: 1px; color: var(--verde-600); }
.pc-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.pc-cat { display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px; background: #fff; border: 1px solid #e4e9e1; border-radius: 16px; color: inherit; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.pc-cat:hover { border-color: var(--c); box-shadow: 0 12px 28px -14px rgba(20, 50, 20, .3); transform: translateY(-2px); }
.pc-cat:focus-visible { outline: 3px solid var(--c); outline-offset: 2px; }
.pc-cat-ico { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 15px; background: var(--cb); color: var(--c); }
.pc-cat-body { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.pc-cat-body strong { font-size: 1.05rem; }
.pc-cat-body small { color: var(--muted); font-size: .87rem; }
.pc-cat-meta { font-size: .8rem; font-weight: 600; color: var(--c); margin-top: 4px; }
.pc-go { color: #a6b0a7; }
.pc-cat:hover .pc-go { color: var(--c); }
.pc-tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin: 22px 0; }
.pc-tool { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--verde-50); border: 1px solid #dfeadf; color: inherit; text-decoration: none; }
.pc-tool:hover { background: var(--verde-100); }
.pc-tool .pc-i { color: var(--verde-700); margin-top: 2px; }
.pc-tool span { display: flex; flex-direction: column; gap: 2px; }
.pc-tool small { color: var(--muted); font-size: .85rem; }
.pc-legal { margin: 22px 0; padding: 16px 18px; border-radius: 14px; background: var(--warn-bg); border: 1px solid #f0dfb3; }
.pc-legal h2 { display: flex; align-items: center; gap: 8px; font-size: 1rem; margin: 0 0 8px; color: #6b4600; }
.pc-legal ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: .93rem; }
.pc-small { font-size: .84rem; color: var(--muted); }
.pc-fontes { margin: 18px 0; font-size: .88rem; }
.pc-fontes summary { cursor: pointer; font-weight: 600; color: var(--verde-700); }
.pc-fontes ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 5px; color: var(--muted); }
.pc-head { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0 6px; }
.pc-head h1 { margin: 2px 0 6px; font-size: clamp(1.6rem, 3.4vw, 2.2rem); letter-spacing: -.015em; }
.pc-head .lede { margin: 0; max-width: 70ch; }
.pc-jump { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; }
.pc-jump a { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .87rem; text-decoration: none; color: var(--ink); }
.pc-jump a:hover { border-color: var(--verde-600); color: var(--verde-700); }
.pc-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.pc-card { background: #fff; border: 1px solid #e4e9e1; border-radius: 14px; padding: 16px 18px; margin: 12px 0; }
.pc-grid2 > .pc-card { margin: 0; }
.pc-grid2 { margin: 12px 0; }
.pc-card h2 { font-size: 1.02rem; margin: 0 0 8px; }
.pc-card h2 + p, .pc-card p { margin: 0 0 6px; }
.pc-card > h2:not(:first-child) { margin-top: 16px; }
.pc-dl { margin: 0; display: grid; gap: 0; }
.pc-dl > div { display: grid; grid-template-columns: minmax(120px, 210px) 1fr; gap: 14px; padding: 9px 0; border-top: 1px solid #eef2ec; }
.pc-dl > div:first-child { border-top: 0; }
.pc-dl dt { font-weight: 600; }
.pc-dl dd { margin: 0; color: #2c3a2f; }
.pc-res ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.pc-sec { margin: 22px 0; }
.pc-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; }
.pc-sec-head h2 { margin: 0 0 6px; font-size: 1.12rem; }
.pc-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid #e4e9e1; border-radius: 12px; background: #fff; margin-top: 8px; }
.pc-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.pc-table th, .pc-table td { padding: 10px 12px; border-bottom: 1px solid #eef2ec; vertical-align: top; }
.pc-table tr:last-child > * { border-bottom: 0; }
.pc-table thead th { background: var(--verde-50); }
.pc-num { text-align: right; white-space: nowrap; }
.pc-ias { min-width: 220px; }
.pc-moa { display: inline-block; padding: 2px 8px; border-radius: 7px; font-size: .78rem; font-weight: 700; background: var(--cb); color: var(--c); white-space: nowrap; border: 1px solid color-mix(in srgb, var(--c) 25%, transparent); }
.pc-moa-line { display: flex; gap: 8px; align-items: baseline; margin: 2px 0; }
.pc-chip { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .76rem; font-weight: 600; background: var(--cb, #eef1ec); color: var(--c, #3d4c40); white-space: nowrap; }
.pc-chip-link { text-decoration: none; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: .85rem; padding: 4px 11px; }
.pc-chip-link small { color: var(--muted); margin-left: 3px; }
.pc-chip-link:hover { border-color: var(--verde-600); }
.pc-tox { display: inline-block; padding: 2px 8px; border-radius: 7px; font-size: .76rem; font-weight: 600; background: #eef1ec; color: #3d4c40; }
.pc-tox1, .pc-tox2 { background: #fbe3df; color: #8a2414; } .pc-tox3 { background: #fdf0d0; color: #7a5200; } .pc-tox4 { background: #e2edf8; color: #24527a; } .pc-tox5 { background: #e2f1e3; color: #23602f; }
.pc-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px 12px; align-items: end; padding: 14px; background: #fff; border: 1px solid #e4e9e1; border-radius: 14px; margin: 12px 0 16px; }
.pc-f { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pc-f label { font-size: .8rem; font-weight: 600; color: var(--muted); }
.pc-f input, .pc-f select { font: inherit; padding: 9px 10px; border: 1px solid var(--line); border-radius: 9px; background: #fff; min-width: 0; width: 100%; }
.pc-f select:disabled { background: #f3f5f2; color: #8a968c; }
.pc-f-q { grid-column: span 2; }
.pc-f-btn { flex-direction: row; gap: 8px; }
.pc-iahits { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px; font-size: .88rem; color: var(--muted); }
.pc-prods { list-style: none; margin: 8px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.pc-prod { display: flex; gap: 12px; align-items: center; height: 100%; padding: 10px 14px 10px 10px; background: #fff; border: 1px solid #e4e9e1; border-radius: 14px; color: inherit; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.pc-prod:hover { border-color: #c4d3c4; box-shadow: 0 10px 22px -16px rgba(20, 50, 20, .4); }
.pc-jug { display: block; border-radius: 12px; background: #f3f6f1; }
.pc-jug-sm { width: 64px; height: 80px; flex: none; }
.pc-jug-lg { width: 180px; height: 225px; }
.pc-prod-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pc-prod-name { font-size: 1rem; }
.pc-prod-ia { font-size: .86rem; color: #2c3a2f; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pc-prod-tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 2px 0; }
.pc-prod-meta { font-size: .76rem; color: var(--muted); }
.pc-empty { padding: 18px; background: #fff; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); }
.pc-pag { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 16px 0; }
.pc-ficha-head { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; padding: 22px 0 8px; }
.pc-ficha-head h1 { margin: 4px 0 4px; font-size: clamp(1.7rem, 3.6vw, 2.3rem); }
.pc-ficha-fig { margin: 0; text-align: center; }
.pc-ficha-fig figcaption { font-size: .72rem; color: var(--muted); margin-top: 4px; max-width: 180px; }
.pc-ficha-ia { margin: 0 0 8px; font-size: 1.05rem; color: #2c3a2f; }
.pc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.pc-actions .btn { display: inline-flex; align-items: center; gap: 7px; }
.pc-props { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 22px; }
.pc-props > div { padding: 9px 0; border-bottom: 1px solid #eef2ec; }
.pc-props dt { font-size: .78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.pc-props dd { margin: 3px 0 0; }
.pc-usos-q { font: inherit; width: 100%; max-width: 360px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; margin: 4px 0 10px; }
.pc-usos { display: grid; gap: 6px; }
.pc-uso { border: 1px solid #eef2ec; border-radius: 10px; padding: 0 12px; }
.pc-uso summary { cursor: pointer; display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; }
.pc-uso ul { margin: 0 0 10px; padding: 0; list-style: none; columns: 2 260px; column-gap: 20px; font-size: .88rem; }
.pc-uso li { padding: 3px 0; break-inside: avoid; }
.pc-uso em { color: var(--muted); font-size: .82rem; }
.pc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 14px 0; }
.pc-stats > div { background: #fff; border: 1px solid #e4e9e1; border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; }
.pc-stats strong { font-size: 1.6rem; color: var(--verde-700); line-height: 1.1; }
.pc-stats span { font-size: .84rem; color: var(--muted); }
.pc-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: .88rem; }
.pc-bars li { display: grid; grid-template-columns: minmax(90px, 150px) 1fr 34px; gap: 10px; align-items: center; }
.pc-bar { height: 8px; border-radius: 99px; background: #eef2ec; overflow: hidden; }
.pc-bar > span { display: block; height: 100%; width: 0; background: var(--verde-600); border-radius: 99px; transition: width .5s; }
.pc-bars small { text-align: right; color: var(--muted); }
.pc-list { margin: 0; padding-left: 18px; font-size: .9rem; display: grid; gap: 3px; }
.pc-cmp-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; align-items: end; padding: 14px; background: #fff; border: 1px solid #e4e9e1; border-radius: 14px; margin: 12px 0; }
.pc-cmp th[scope="row"] { width: 190px; font-weight: 600; background: #fafbf9; }
.pc-cmp thead th a { font-size: 1rem; }
.pc-cmp td { min-width: 170px; }
.pc-alert { padding: 12px 14px; border-radius: 12px; background: var(--danger-bg); border: 1px solid #e5b7ad; color: #6f2213; }
.pc-ok { padding: 12px 14px; border-radius: 12px; background: var(--ok-bg); border: 1px solid #c6dfcb; color: #1f5f34; }
.pc-steps { list-style: none; counter-reset: pc; margin: 12px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px; }
.pc-steps li { counter-increment: pc; position: relative; padding: 14px 14px 14px 52px; background: #fff; border: 1px solid #e4e9e1; border-radius: 14px; display: flex; flex-direction: column; gap: 3px; }
.pc-steps li::before { content: counter(pc); position: absolute; left: 14px; top: 13px; width: 26px; height: 26px; border-radius: 50%; background: var(--verde-100); color: var(--verde-700); font-weight: 700; font-size: .85rem; display: grid; place-items: center; }
.pc-steps span { font-size: .9rem; color: var(--muted); }
.pc-soon { padding: 18px; border-radius: 14px; background: var(--pcBb); border: 1px solid #bfe3db; margin: 14px 0; }
.a3-cp .a3-ico { background: #e3eef7; color: #2f6f9f; }
@media (max-width: 640px) {
  .pc-f-q { grid-column: auto; }
  .pc-ficha-head { grid-template-columns: 1fr; }
  .pc-ficha-fig { justify-self: center; }
  .pc-jug-lg { width: 140px; height: 175px; }
  .pc-dl > div { grid-template-columns: 1fr; gap: 2px; }
  .pc-head { padding-top: 14px; }
  .pc-search { padding-left: 10px; }
  .pc-search .btn { padding-inline: 12px; }
  .pc-prods, .pc-cats { grid-template-columns: 1fr; }
}
/* Proteção de Cultivos: mapa conceitual e slides dos mecanismos */
.pc-map { position: relative; margin: 14px 0; padding: 18px; border-radius: 18px; background: linear-gradient(180deg, var(--cb) 0, #fff 140px); border: 1px solid #e4e9e1; }
.pc-map-root { display: flex; align-items: center; gap: 10px; width: max-content; max-width: 100%; margin: 0 auto 26px; padding: 10px 18px 10px 10px; background: #fff; border: 2px solid var(--c); border-radius: 999px; position: relative; box-shadow: 0 8px 20px -14px rgba(0, 0, 0, .4); }
.pc-map-root .pc-cat-ico { width: 38px; height: 38px; border-radius: 50%; }
.pc-map-root strong { font-size: 1.05rem; }
.pc-map-root small { color: var(--muted); font-size: .8rem; }
.pc-map-root::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 14px; background: var(--c); opacity: .5; }
.pc-map-br { list-style: none; margin: 0; padding: 14px 0 0; display: grid; align-items: start; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; border-top: 2px solid color-mix(in srgb, var(--c) 45%, transparent); position: relative; }
.pc-map-b { position: relative; background: #fff; border: 1px solid #e1e7de; border-radius: 14px; padding: 12px; }
.pc-map-b::before { content: ""; position: absolute; left: 22px; top: -16px; width: 2px; height: 16px; background: color-mix(in srgb, var(--c) 45%, transparent); }
.pc-map-bh { display: flex; flex-direction: column; gap: 2px; padding: 0 2px 8px; border-bottom: 1px dashed #e1e7de; margin-bottom: 8px; }
.pc-map-bh strong { color: var(--c); font-size: .95rem; }
.pc-map-bh small { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.pc-map-leaves { list-style: none; margin: 0; padding: 0 0 0 12px; display: grid; gap: 6px; border-left: 2px solid color-mix(in srgb, var(--c) 25%, transparent); }
.pc-node { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; padding: 7px 9px; border-radius: 10px; background: #fafbf9; border: 1px solid #e8ede6; color: inherit; text-decoration: none; transition: border-color .15s, background .15s, transform .15s; }
.pc-node::before { content: ""; position: absolute; left: -14px; top: 50%; width: 12px; height: 2px; background: color-mix(in srgb, var(--c) 25%, transparent); }
.pc-node:hover, .pc-node:focus-visible { border-color: var(--c); background: var(--cb); transform: translateX(2px); }
.pc-node:focus-visible { outline: 2px solid var(--c); outline-offset: 2px; }
.pc-node .pc-moa { min-width: 38px; text-align: center; }
.pc-node-t { font-size: .84rem; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pc-node-n { font-size: .74rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.pc-tabela { margin: 10px 0 16px; }
.pc-tabela summary { cursor: pointer; font-weight: 600; color: var(--verde-700); }
.pc-mecs { display: grid; gap: 14px; margin: 16px 0; }
.pc-js .pc-mecs { display: none; }
.pc-mec { background: #fff; border: 1px solid #e4e9e1; border-radius: 16px; padding: 16px 18px; scroll-margin-top: 80px; }
.pc-mec-h { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; padding-right: 30px; }
.pc-mec-h h3 { margin: 0; font-size: 1.1rem; }
.pc-slides { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pc-slide { position: relative; padding: 14px 16px; border-radius: 12px; background: #fafbf9; border-left: 4px solid var(--c); }
.pc-slide h4 { margin: 0 0 6px; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c); }
.pc-slide p { margin: 0 0 8px; line-height: 1.55; }
.pc-sl-n { position: absolute; right: 12px; top: 12px; font-size: .72rem; color: var(--muted); }
.pc-sl-big { font-size: 1.15rem; font-weight: 700; }
.pc-sl-dl { margin: 6px 0 0; display: grid; gap: 6px; }
.pc-sl-dl div { display: grid; grid-template-columns: minmax(110px, 170px) 1fr; gap: 10px; }
.pc-sl-dl dt { font-weight: 600; font-size: .86rem; color: var(--muted); }
.pc-sl-dl dd { margin: 0; }
.pc-sl-ias { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pc-sl-ias a { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-size: .86rem; color: var(--ink); }
.pc-sl-ias a:hover { border-color: var(--c); }
.pc-sl-src { font-size: .78rem; color: var(--muted); margin: 10px 0 0; }
.pc-dialog { width: min(720px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 20px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45); }
.pc-dialog::backdrop { background: rgba(18, 36, 24, .55); backdrop-filter: blur(2px); }
.pc-dialog-in { position: relative; padding: 4px; }
.pc-dialog .pc-mec { border: 0; padding: 20px 22px 8px; }
.pc-dialog .pc-slides { display: block; }
.pc-dialog .pc-slide { min-height: 230px; padding: 20px 22px; font-size: 1.02rem; animation: pc-in .25s ease; }
.pc-dialog .pc-slide h4 { font-size: .85rem; }
@keyframes pc-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pc-dialog .pc-slide { animation: none; } }
.pc-dlg-x { position: absolute; right: 12px; top: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--muted); }
.pc-dlg-x:hover { color: var(--ink); }
.pc-sl-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 22px 20px; }
.pc-dots { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pc-dot { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: #d5ddd2; cursor: pointer; }
.pc-dot[aria-current="step"] { background: var(--verde-700); width: 24px; border-radius: 99px; }
@media (max-width: 640px) {
  .pc-map { padding: 12px; }
  .pc-map-br { grid-template-columns: 1fr; }
  .pc-dialog { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .pc-dialog .pc-mec { padding: 18px 16px 6px; }
  .pc-dialog .pc-slide { min-height: 0; padding: 16px; }
  .pc-sl-nav { padding: 8px 16px 18px; position: sticky; bottom: 0; background: #fff; }
  .pc-sl-dl div { grid-template-columns: 1fr; gap: 0; }
}
.pc-chain { list-style: none; margin: 4px 0 12px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: none; }
.pc-chain li { position: relative; padding: 9px 10px; border-radius: 10px; background: #fff; border: 1px solid #e1e7de; font-size: .86rem; font-weight: 600; line-height: 1.3; display: flex; flex-direction: column; gap: 3px; }
.pc-chain li small { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.pc-chain li:not(:last-child)::after { content: "→"; position: absolute; right: -15px; top: 50%; transform: translateY(-50%); color: var(--c); font-weight: 700; }
.pc-ch-b { border-color: #e5b7ad !important; background: #fdf1ee !important; }
.pc-ch-a { border-color: #f0d38a !important; background: #fdf6e3 !important; }
.pc-ch-ico { position: absolute; right: 8px; top: 6px; font-size: .85rem; color: #a3341f; }
.pc-ch-a .pc-ch-ico { color: #8a5a00; }
.pc-ch-res { background: var(--cb) !important; border-color: color-mix(in srgb, var(--c) 35%, transparent) !important; }
@media (max-width: 640px) {
  .pc-chain { grid-template-columns: 1fr; gap: 14px; }
  .pc-chain li:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -15px; transform: translateX(-50%); }
}
.pc-howto { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 3px; font-size: .9rem; color: #2c3a2f; max-width: 75ch; }
.pc-sug { display: grid; gap: 10px; margin: 4px 0 16px; padding: 12px 14px; background: #fff; border: 1px solid #e4e9e1; border-radius: 14px; }
.pc-sug-t { display: block; font-size: .8rem; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.pc-sug-igual { color: #8a2414; }
.pc-sug-l { display: flex; flex-wrap: wrap; gap: 6px; }
/* Botão Voltar (todas as páginas) */
.crumbs-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.crumbs-row .crumbs { flex: 1; min-width: 0; }
.back-btn { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px 6px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--verde-700); font-weight: 600; font-size: .88rem; text-decoration: none; flex: none; }
.back-btn svg { width: 18px; height: 18px; }
.back-btn:hover { border-color: var(--verde-600); background: var(--verde-50); }
.back-btn:focus-visible { outline: 3px solid var(--verde-600); outline-offset: 2px; }
.df-playing .back-btn { display: none; }
/* Agro 360: emojis nos cartões */

/* ---------- Ferramentas: central de cálculo ---------- */
.ft-crop-h { font-size: 1.1rem; margin: 28px 0 10px; }
.cx-central { margin: 10px 0 8px; padding: 18px; border-radius: 18px; background: linear-gradient(180deg, var(--verde-50), #fff 160px); border: 1px solid #dfeadf; }
.cx-central-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cx-central-head h2 { margin: 0; font-size: 1.2rem; }
.cx-central-head a { font-weight: 600; font-size: .9rem; }
.cx-cat { margin-top: 14px; }
.cx-cat h3 { font-size: .95rem; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.cx-cat h3 small { font-weight: 400; color: var(--muted); font-size: .82rem; }
.cx-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.cx-card { display: flex; gap: 12px; align-items: flex-start; height: 100%; padding: 14px; background: #fff; border: 1px solid #e1e8df; border-radius: 14px; color: inherit; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.cx-card:hover { border-color: var(--verde-600); box-shadow: 0 10px 24px -16px rgba(20, 50, 20, .45); transform: translateY(-2px); }
.cx-card:focus-visible { outline: 3px solid var(--verde-600); outline-offset: 2px; }
.cx-card-ico { flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 1.5rem; background: var(--verde-100); }
.cx-card strong { display: block; font-size: 1rem; }
.cx-card small { display: block; color: var(--muted); font-size: .84rem; margin-top: 2px; line-height: 1.35; }
.cx-head { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0 6px; }
.cx-head h1 { margin: 2px 0 6px; font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
.cx-head .lede { margin: 0; }
.cx-emoji { flex: none; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 1.9rem; background: var(--verde-100); }
.cx-ver { margin: 6px 0 0; font-size: .8rem; color: var(--muted); }
.cx-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; margin: 14px 0; }
.cx-form { background: #fff; border: 1px solid #e4e9e1; border-radius: 16px; padding: 6px 16px 14px; }
.cx-sec { border: 0; margin: 0; padding: 12px 0 4px; border-bottom: 1px solid #eef2ec; }
.cx-sec legend { font-weight: 700; font-size: .9rem; color: var(--verde-700); padding: 0; margin-bottom: 8px; }
.cx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px 12px; }
.cx-f { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cx-f label { font-size: .84rem; font-weight: 600; }
.cx-f select, .cx-in input { font: inherit; width: 100%; min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.cx-in { display: flex; align-items: stretch; }
.cx-in input { border-radius: 10px 0 0 10px; }
.cx-in input:only-child { border-radius: 10px; }
.cx-un { display: flex; align-items: center; padding: 0 10px; font-size: .8rem; color: var(--muted); background: #f4f7f3; border: 1px solid var(--line); border-left: 0; border-radius: 0 10px 10px 0; white-space: nowrap; }
.cx-f input:focus, .cx-f select:focus { outline: 2px solid var(--verde-600); outline-offset: 1px; border-color: var(--verde-600); }
.cx-help { font-size: .78rem; color: var(--muted); line-height: 1.35; }
.cx-req { color: #a3341f; }
.cx-opt { font-weight: 400; color: var(--muted); font-size: .75rem; }
.cx-err input { border-color: #c4553d; background: #fff7f5; }
.cx-msg { font-size: .78rem; color: #a3341f; font-weight: 600; }
.cx-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.cx-empty, .cx-pending { padding: 18px; border-radius: 16px; border: 1px dashed var(--line); background: #fff; color: var(--muted); }
.cx-pending { border-style: solid; border-color: #e5b7ad; background: var(--danger-bg); color: #6f2213; }
.cx-res { background: #fff; border: 1px solid #e4e9e1; border-radius: 16px; padding: 14px 16px; }
.cx-res-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.cx-res-head h2 { margin: 0; font-size: 1.15rem; }
.cx-res-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.cx-inline { display: inline; margin: 0; }
.cx-sub { margin-top: 14px; }
.cx-sub h3 { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; margin: 0 0 8px; }
.cx-sub h3 span { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; background: var(--verde-100); color: var(--verde-700); font-size: .72rem; }
.cx-sub summary { cursor: pointer; list-style: none; }
.cx-sub summary::-webkit-details-marker { display: none; }
.cx-sub summary h3::after { content: "▾"; color: var(--muted); font-size: .8rem; }
.cx-main { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.cx-main li { padding: 10px 12px; border-radius: 12px; background: #f6f9f5; border: 1px solid #e6ede4; display: flex; flex-direction: column; gap: 2px; }
.cx-main .cx-big { grid-column: 1 / -1; background: var(--verde-700); border-color: var(--verde-700); color: #fff; }
.cx-lbl { font-size: .8rem; color: var(--muted); }
.cx-big .cx-lbl, .cx-big .cx-note { color: #d9ecd9; }
.cx-main strong { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.cx-big strong { font-size: 2rem; }
.cx-main strong small { font-size: .8rem; font-weight: 600; margin-left: 5px; }
.cx-note { font-size: .76rem; color: var(--muted); }
.cx-mem ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: .9rem; }
.cx-mem li { display: flex; flex-direction: column; gap: 2px; }
.cx-mem code { font-family: var(--mono); font-size: .8rem; color: var(--verde-700); background: var(--verde-50); padding: 2px 6px; border-radius: 6px; width: max-content; max-width: 100%; white-space: normal; }
.cx-dados { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 4px 14px; font-size: .86rem; }
.cx-dados div { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-bottom: 1px dashed #eef2ec; }
.cx-dados dt { color: var(--muted); } .cx-dados dd { margin: 0; font-weight: 600; text-align: right; }
.cx-alerts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cx-alerts li { display: flex; gap: 8px; padding: 9px 11px; border-radius: 10px; font-size: .88rem; line-height: 1.45; }
.cx-a-bad { background: var(--danger-bg); color: #6f2213; } .cx-a-warn { background: var(--warn-bg); color: #5f4100; } .cx-a-info { background: #eef4fa; color: #23476b; } .cx-a-good { background: var(--ok-bg); color: #1f5f34; }
.cx-src { margin: 0; padding-left: 18px; font-size: .84rem; display: grid; gap: 4px; }
.cx-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cx-tw { overflow-x: auto; }
.cx-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.cx-table th, .cx-table td { padding: 7px 8px; border-bottom: 1px solid #eef2ec; text-align: left; vertical-align: top; }
.cx-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.cx-bad { background: #fbe3df; color: #8a2414; } .cx-warn { background: #fdf0d0; color: #7a5200; } .cx-info { background: #e2edf8; color: #24527a; } .cx-good { background: #e2f1e3; color: #23602f; } .cx-none { background: #eef1ec; color: #5b6b5f; }
.cx-hist-mini { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid #e4e9e1; font-size: .88rem; }
.cx-hist-mini h2 { font-size: .9rem; margin: 0 0 6px; }
.cx-hist-mini ul { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 4px; }
.cx-hist-mini li { display: flex; justify-content: space-between; gap: 8px; } .cx-hist-mini small { color: var(--muted); white-space: nowrap; }
.cx-hist { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 8px; }
.cx-hist li { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #e4e9e1; border-radius: 14px; padding: 6px 8px 6px 6px; }
.cx-hist li > a { flex: 1; display: flex; gap: 10px; align-items: center; padding: 6px; color: inherit; text-decoration: none; min-width: 0; }
.cx-hist li > a > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.cx-hist small { color: var(--muted); }
.cx-emoji-sm { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: var(--verde-100); }
.cx-print-only { display: none; }
@media (max-width: 860px) { .cx-layout { grid-template-columns: minmax(0, 1fr); } .cx-left, .cx-right { min-width: 0; } }
@media (max-width: 640px) {
  .cx-grid { grid-template-columns: 1fr 1fr; }
  .cx-form { padding: 4px 12px 12px; }
  .cx-emoji { width: 48px; height: 48px; font-size: 1.6rem; }
  .cx-cards { grid-template-columns: 1fr; }
  .cx-dados { grid-template-columns: 1fr; }
}
@media (max-width: 380px) { .cx-grid { grid-template-columns: 1fr; } }
@media print {
  .topbar, .tabbar, .crumbs-row, .crumbs, .cx-left, .cx-res-actions, .cx-hist-mini, .cx-links, .footer, .disclaimer, .back-btn, .flashes { display: none !important; }
  .cx-layout { display: block; }
  .cx-res { border: 0; padding: 0; }
  .cx-print-only { display: block; font-size: .85rem; color: #444; }
  .cx-main .cx-big { background: #fff !important; color: #000 !important; border: 2px solid #000; }
  .cx-big .cx-lbl, .cx-big .cx-note { color: #333 !important; }
  .cx-sub summary h3::after { content: ""; }
  body { background: #fff !important; }
}
.cx-f select { text-overflow: ellipsis; }
.cx-mem li { min-width: 0; overflow-wrap: anywhere; }
.cx-mem code { width: auto; display: inline-block; align-self: flex-start; overflow-wrap: anywhere; }
.cx-res, .cx-sub, .cx-mem { min-width: 0; max-width: 100%; }
/* Banco de cultivares */
.cv-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px 12px; align-items: end; padding: 14px; background: #fff; border: 1px solid #e4e9e1; border-radius: 16px; margin: 12px 0; }
.cv-f { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cv-f label { font-size: .8rem; font-weight: 600; color: var(--muted); }
.cv-f input, .cv-f select { font: inherit; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; width: 100%; min-width: 0; }
.cv-q { grid-column: span 2; }
.cv-btn { flex-direction: row; gap: 8px; }
.cv-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0; }
.cv-tabs a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); font-size: .88rem; }
.cv-tabs a[aria-current="page"] { background: var(--verde-700); border-color: var(--verde-700); color: #fff; }
.cv-count { color: var(--muted); font-size: .88rem; margin: 8px 0; }
.cv-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.cv-card { display: flex; gap: 12px; height: 100%; padding: 14px; background: #fff; border: 1px solid #e1e8df; border-radius: 14px; color: inherit; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.cv-card:hover { border-color: var(--verde-600); box-shadow: 0 10px 22px -16px rgba(20, 50, 20, .45); }
.cv-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.4rem; background: var(--verde-100); }
.cv-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cv-body small { color: var(--muted); }
.cv-ciclo { font-size: .84rem; color: #2c3a2f; }
.cv-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.cv-tag { display: inline-block; padding: 2px 8px; border-radius: 999px; background: #eef3ec; color: #2c4a33; font-size: .74rem; font-weight: 600; text-decoration: none; }
.cv-mato { background: #fdf0d0; color: #7a5200; }
.cv-criterio { margin: 22px 0; padding: 14px 16px; border-radius: 14px; background: var(--verde-50); border: 1px solid #dfeadf; font-size: .9rem; }
.cv-criterio h2 { font-size: 1rem; margin: 0 0 6px; }
.cv-ficha ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.cv-porque { background: var(--verde-50); }
@media (max-width: 640px) { .cv-q { grid-column: auto; } .cv-list { grid-template-columns: 1fr; } }

/* ---------- mapa conceitual (aulas) ---------- */
.cmap{margin:1.6rem 0;padding:1rem 1.1rem 1.1rem;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.cmap-headline{display:flex;align-items:baseline;justify-content:space-between;gap:1rem}
.cmap-headline h2{margin:0}
.cmap-modos{margin:.3rem 0 .8rem}
.cmap-app{position:relative;min-width:0}
.cmap-tabs{display:flex;gap:.3rem;padding:.25rem;background:var(--verde-50);border:1px solid var(--line);border-radius:999px;width:max-content;max-width:100%;overflow-x:auto;margin-bottom:.6rem}
.cmap-tab{border:0;background:transparent;font:inherit;font-size:.92rem;font-weight:600;color:var(--muted);padding:.4rem .9rem;border-radius:999px;cursor:pointer;white-space:nowrap}
.cmap-tab[aria-selected="true"]{background:var(--surface);color:var(--verde-700);box-shadow:0 1px 3px rgba(18,57,31,.15)}
.cmap-tab:focus-visible{outline:2px solid var(--verde-600);outline-offset:1px}
.cmap-intro{margin:.2rem 0 .6rem;color:var(--muted)}
.cmap-stage{position:relative;border:1px solid var(--line);border-radius:12px;background:radial-gradient(circle at 1px 1px,#dfe7e0 1px,transparent 1.2px) 0 0/18px 18px,var(--verde-50);overflow:hidden}
.cmap-tools{position:absolute;right:.5rem;top:.5rem;z-index:3;display:flex;gap:.25rem}
.cmap-tool{border:1px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;font-size:.85rem;font-weight:600;min-width:2.1rem;height:2.1rem;padding:0 .55rem;border-radius:8px;cursor:pointer}
.cmap-tool:hover{border-color:var(--verde-600)}
.cmap-tool[hidden]{display:none}
.cmap-view{overflow:auto;max-height:70vh;min-height:300px;padding:3rem .25rem .5rem}
.cmap-view:focus-visible{outline:2px solid var(--verde-600);outline-offset:-2px}
.cmap-sizer{position:relative;margin:0 auto}
.cmap-canvas{position:relative;transform-origin:0 0}
.cmap-svg{position:absolute;left:0;top:0;pointer-events:none;overflow:visible}
.cmap-edge{fill:none;stroke:#a9bfae;stroke-width:1.6}
.cmap-edge.is-hot{stroke:var(--verde-600);stroke-width:2.2}
.cmap-link{fill:none;stroke:#c9a46b;stroke-width:1.4;stroke-dasharray:5 5}
.cmap-link.is-hot{stroke:var(--terra);stroke-width:2}
.cmap-rel{position:absolute;transform:translate(-50%,-50%);font-size:.72rem;line-height:1.2;color:var(--muted);background:var(--verde-50);padding:.05rem .3rem;border-radius:6px;max-width:7rem;text-align:center;pointer-events:none}
.cmap-node{position:absolute;display:flex;align-items:center;gap:.45rem;text-align:left;font:inherit;font-size:.9rem;line-height:1.25;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-left:4px solid #9cc2a5;border-radius:10px;padding:.5rem .6rem;cursor:pointer;box-shadow:0 1px 2px rgba(18,57,31,.06);transition:box-shadow .15s,border-color .15s}
.cmap-node:hover{border-color:var(--verde-600);box-shadow:0 3px 10px rgba(18,57,31,.12)}
.cmap-node:focus-visible{outline:2px solid var(--verde-600);outline-offset:2px}
.cmap-node.lvl-0{background:var(--verde-700);color:#fff;border-color:var(--verde-700);font-weight:700;font-size:1rem;padding:.7rem .8rem}
.cmap-node.lvl-1{border-left-color:var(--verde-600);font-weight:650}
.cmap-node.lvl-3{font-size:.85rem;border-left-color:#c8dccd}
.cmap-node.is-sel{border-color:var(--verde-600);box-shadow:0 0 0 3px rgba(42,122,67,.22)}
.cmap-node.lvl-0.is-sel{box-shadow:0 0 0 3px rgba(42,122,67,.35)}
.cmap-ic{font-size:1.15rem;line-height:1;flex:none}
.cmap-lb{flex:1;min-width:0;overflow-wrap:anywhere}
.cmap-cnt{flex:none;font-size:.72rem;font-weight:700;color:var(--verde-700);background:var(--verde-100);border-radius:999px;padding:.1rem .4rem}
.cmap-node.lvl-0 .cmap-cnt{background:rgba(255,255,255,.2);color:#fff}
.cmap-panel{margin-top:.7rem;background:var(--surface);border:1px solid var(--line);border-left:4px solid var(--verde-600);border-radius:12px;box-shadow:0 4px 14px rgba(18,57,31,.08);padding:.9rem 1rem 1rem}
.cmap-full .cmap-panel{position:absolute;right:1.4rem;bottom:1.4rem;top:auto;z-index:4;width:min(380px,calc(100% - 2.8rem));max-height:60vh;overflow:auto;margin:0}
.cmap-panel[hidden]{display:none}
.cmap-ph{display:flex;align-items:flex-start;gap:.5rem}
.cmap-ph h3{margin:0;flex:1;font-size:1.08rem;line-height:1.3}
.cmap-pic{font-size:1.5rem;line-height:1}
.cmap-px{border:0;background:var(--verde-50);border-radius:8px;width:2rem;height:2rem;cursor:pointer;font-size:.95rem;flex:none}
.cmap-pctx{font-size:.85rem;color:var(--muted);margin:.5rem 0}
.cmap-ptxt{font-size:.95rem;line-height:1.5}
.cmap-ptxt p{margin:.5rem 0}
.cmap-ptxt ul{margin:.4rem 0;padding-left:1.1rem}
.cmap-panel h4{margin:.9rem 0 .35rem;font-size:.8rem;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}
.cmap-chips{display:flex;flex-wrap:wrap;gap:.3rem}
.cmap-chip{border:1px solid var(--line);background:var(--verde-50);font:inherit;font-size:.85rem;padding:.25rem .6rem;border-radius:999px;cursor:pointer;color:var(--ink);text-align:left}
.cmap-chip:hover{border-color:var(--verde-600)}
.cmap-plinks{list-style:none;padding:0;margin:0;display:grid;gap:.35rem}
.cmap-plinks li{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem}
.cmap-lrel{font-size:.8rem;color:var(--terra)}
.cmap-pfonte{font-size:.78rem;color:var(--muted);margin-top:.9rem;border-top:1px solid var(--line);padding-top:.5rem}
.cmap-dica{margin:.5rem 0 0}
.cmap-lista{margin-top:.7rem;font-size:.92rem}
.cmap-lista summary{cursor:pointer;color:var(--verde-700);font-weight:600}
.cmap-lista ul{padding-left:1.1rem}
.cmap-fontes{margin:.6rem 0 0}
.cmap-on + .cmap-lista{margin-top:.4rem}
/* árvore vertical (celular) */
.cmap-narrow .cmap-view{padding:3rem .6rem .8rem;max-height:none}
.cmap-narrow .cmap-canvas,.cmap-narrow .cmap-sizer{width:auto!important;height:auto!important;transform:none!important}
.cmap-tree{list-style:none;margin:0;padding:0}
.cmap-tree .cmap-tree{margin-left:.85rem;padding-left:.9rem;border-left:2px solid #c8dccd}
.cmap-ti{position:relative;padding:.3rem 0}
.cmap-tree .cmap-tree > .cmap-ti::before{content:"";position:absolute;left:-.9rem;top:1.45rem;width:.75rem;border-top:2px solid #c8dccd}
.cmap-trel{display:block;font-size:.72rem;color:var(--muted);margin:0 0 .15rem .1rem}
.cmap-narrow .cmap-node{position:static;width:100%!important}
.cmap-narrow .cmap-panel{position:fixed;left:0;right:0;bottom:0;top:auto;width:auto;max-height:72vh;border-radius:16px 16px 0 0;z-index:60;padding-bottom:calc(1rem + env(safe-area-inset-bottom))}
/* tela cheia */
.cmap-full{position:fixed;inset:0;z-index:50;margin:0;border-radius:0;display:flex;flex-direction:column;padding:.8rem}
.cmap-full .cmap-stage{flex:1;display:flex;flex-direction:column;min-height:0}
.cmap-full .cmap-view{flex:1;max-height:none}
.cmap-full.cmap-panel-on:not(.cmap-narrow) .cmap-view{padding-right:410px}
.cmap-app.cmap-full{background:var(--surface)}
html.cmap-lock{overflow:hidden}
@media (max-width:640px){.cmap{padding:.8rem .7rem}.cmap-tab{padding:.4rem .7rem;font-size:.85rem}}
/* editor do painel */
.cme-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:1rem;margin:.8rem 0}
.cme-tree{border:1px solid var(--line);border-radius:10px;padding:.5rem;max-height:520px;overflow:auto;background:var(--verde-50)}
.cme-list{list-style:none;margin:0;padding:0}
.cme-node{display:block;width:100%;text-align:left;border:0;background:transparent;font:inherit;font-size:.9rem;padding:.3rem .45rem;border-radius:6px;cursor:pointer;color:var(--ink)}
.cme-node:hover{background:var(--verde-100)}
.cme-node.is-sel{background:var(--verde-700);color:#fff}
.cme-form{display:grid;gap:.6rem;align-content:start}
.cme-f{display:grid;gap:.2rem}
.cme-fl{font-size:.85rem;font-weight:600}
.cme-f input,.cme-f textarea,.cme-f select,.cme-lrow input,.cme-lrow select,.cme-adv textarea{font:inherit;padding:.45rem .55rem;border:1px solid var(--line);border-radius:8px;width:100%;min-width:0}
.cme-acts{display:flex;flex-wrap:wrap;gap:.3rem}
.cme-links{margin:1rem 0}
.cme-lrow{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:.35rem;margin:.3rem 0}
.cme-save{position:sticky;bottom:0;background:var(--surface);padding:.7rem 0;display:flex;gap:.8rem;align-items:center;border-top:1px solid var(--line);z-index:5}
.cme-adv{margin:.8rem 0}
.cme-prev-card{margin-top:1rem}
.cmap-admin{border:0;padding:0;margin:0}
@media (max-width:760px){.cme-grid{grid-template-columns:1fr}.cme-lrow{grid-template-columns:1fr 1fr}}
/* fichas técnicas do mapa conceitual */
.cmap-fichas{display:grid;grid-template-columns:minmax(0,1fr);gap:.9rem;margin-top:1.2rem}
.cmap-ficha{min-width:0}
.cmap-fichas[hidden]{display:none}
.cmap-js .cmap-ficha:not(.is-open){display:none}
.cmap-js .cmap-ficha.is-open{margin-left:0}
.cmap-js .cmap-fup{display:none}
.cmap-ficha header .cmap-fx{margin-left:auto;flex:none;border:1px solid var(--line);background:var(--surface);color:var(--verde-900);border-radius:999px;padding:.3rem .75rem;font:inherit;font-size:.85rem;font-weight:600;cursor:pointer}
.cmap-ficha header .cmap-fx:hover{background:var(--verde-50)}
.cmap-ficha{border:1px solid var(--line);border-left:4px solid var(--verde-600);border-radius:12px;padding:.9rem 1.1rem 1rem;background:var(--surface);scroll-margin-top:5rem}
.cmap-ficha.nivel-0{border-left-color:var(--verde-900);background:var(--verde-50)}
.cmap-ficha.nivel-2,.cmap-ficha.nivel-3{border-left-color:#9cc2a5;margin-left:1.2rem}
.cmap-ficha.is-hot{animation:cmap-hot 1.6s ease}
@keyframes cmap-hot{0%{box-shadow:0 0 0 4px rgba(42,122,67,.35)}100%{box-shadow:0 0 0 0 rgba(42,122,67,0)}}
.cmap-ficha header{display:flex;gap:.6rem;align-items:flex-start}
.cmap-ficha header>div{flex:1;min-width:0}
.cmap-ficha h3{margin:0;font-size:1.12rem;line-height:1.3}
.cmap-fic{font-size:1.4rem;line-height:1.2}
.cmap-fctx{margin:.25rem 0 0;font-size:.85rem;color:var(--muted)}
.cmap-fup{font-size:.8rem;white-space:nowrap;color:var(--muted)}
.cmap-ftxt{font-size:.97rem;line-height:1.6;margin-top:.5rem}
.cmap-ftxt p{margin:.5rem 0}
.cmap-ftxt ul{margin:.4rem 0;padding-left:1.2rem}
.cmap-ftxt li{margin:.2rem 0}
.cmap-ftxt table{font-size:.9rem;min-width:0;width:100%}
.cmap-ftxt th,.cmap-ftxt td{padding:.4rem .55rem}
@media (max-width:520px){.cmap-ftxt table{font-size:.8rem}.cmap-ftxt th,.cmap-ftxt td{padding:.3rem .35rem}.cmap-ftxt th{letter-spacing:0}}
.cmap-fsub{font-size:.88rem;margin:.6rem 0 0;display:flex;flex-wrap:wrap;gap:.3rem;align-items:center}
.cmap-fsub>span{color:var(--muted);font-weight:600}
.cmap-fsub em{color:var(--terra);font-style:normal;font-size:.82rem}
a.cmap-chip{text-decoration:none;display:inline-block}
.cmap-ffonte{font-size:.78rem;color:var(--muted);margin:.7rem 0 0;border-top:1px solid var(--line);padding-top:.45rem}
@media (max-width:640px){.cmap-ficha.nivel-2,.cmap-ficha.nivel-3{margin-left:.5rem}.cmap-ficha{padding:.8rem .8rem .9rem}}

/* árvore do mapa na aula: raiz em cima, ramos em duas colunas no computador */
@media (min-width:700px){
  .cmap-narrow .cmap-canvas>.cmap-tree>.cmap-ti>.cmap-tree{column-count:2;column-gap:1.6rem}
  .cmap-narrow .cmap-canvas>.cmap-tree>.cmap-ti>.cmap-tree>.cmap-ti{break-inside:avoid}
}
.cmap-narrow .cmap-node{padding:.42rem .6rem}
.cmap-narrow .cmap-canvas>.cmap-tree>.cmap-ti>.cmap-node{margin-bottom:.3rem}

/* ---------- Mapa conceitual v2 (mapa mental com painel) ---------- */
.cmap-js .cmap-fichas, .cmap-js .cmap-modos { display: none; }
.cmx { --cmx-h: clamp(480px, 72vh, 700px); display: flex; flex-direction: column; gap: 10px; background: #f6faf3; border: 1px solid #dfe9d8; border-radius: 18px; padding: 12px; }
.cmx-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cmx-title { display: flex; align-items: center; gap: 8px; margin-right: auto; font-size: 1.05rem; color: #13301b; min-width: 0; }
.cmx-title strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmx-tic { font-size: 1.3rem; }
.cmx-seg { display: inline-flex; gap: 4px; padding: 4px; background: #fff; border: 1px solid #dfe9d8; border-radius: 999px; }
.cmx-seg[hidden] { display: none; }
.cmx-sb { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; font: inherit; font-size: .88rem; font-weight: 650; color: #3d4c40; padding: 7px 13px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.cmx-sb:hover { background: #eef5ea; }
.cmx-sb[aria-selected="true"] { background: #1f6b34; color: #fff; box-shadow: 0 2px 8px rgba(31, 107, 52, .3); }
.cmx-si { font-size: .95rem; }
.cmx-full-b { width: 38px; height: 38px; border: 1px solid #dfe9d8; background: #fff; border-radius: 50%; cursor: pointer; font-size: 1rem; color: #13301b; }
.cmx-status { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: .9rem; color: #4a5a4c; min-height: 1.4em; }
.cmx-status.is-pulse { animation: cmx-pulse .7s ease; }
@keyframes cmx-pulse { 0%, 100% { color: #4a5a4c; } 40% { color: #c0392b; } }
.cmx-prog { display: inline-block; width: 140px; height: 8px; border-radius: 999px; background: #e3ebdd; overflow: hidden; }
.cmx-prog-f { display: block; height: 100%; background: linear-gradient(90deg, #2f7d3a, #6fc04a); }
.cmx-link { border: 0; background: none; color: #1f6b34; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; padding: 0; }
.cmx-win { color: #1f6b34; }
.cmx-body { position: relative; display: flex; gap: 12px; height: var(--cmx-h); min-height: 0; }
.cmx-stage { position: relative; flex: 1; min-width: 0; border-radius: 14px; overflow: hidden; border: 1px solid #e3ecdc;
  background: radial-gradient(circle at 1px 1px, #dbe6d6 1px, transparent 1.3px) 0 0 / 22px 22px, linear-gradient(160deg, #fbfdf8, #eef6e8); }
.cmx-view { position: absolute; inset: 0; overflow: auto; cursor: grab; scrollbar-width: thin; }
.cmx-view.is-drag { cursor: grabbing; user-select: none; }
.cmx-view:focus-visible { outline: 2px solid #1f6b34; outline-offset: -2px; }
.cmx-sizer { position: relative; margin: 0 auto; }
.cmx-canvas { position: relative; transform-origin: 0 0; }
.cmx-svg { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; }
.cmx-edge { fill: none; stroke-width: 3.2; stroke-linecap: round; opacity: .85; }
.cmx-edge.is-hot { stroke-width: 4.6; opacity: 1; }
.cmx-link { fill: none; stroke: #c9a46b; stroke-width: 1.6; stroke-dasharray: 6 6; }
.cmx-svg .cmx-link.is-hot { stroke: #a5652a; stroke-width: 2.2; }
.cmx-card { position: absolute; display: flex; align-items: center; background: #fff; border: 2px solid color-mix(in srgb, var(--c) 55%, white); border-radius: 18px;
  box-shadow: 0 6px 18px -10px color-mix(in srgb, var(--c) 60%, transparent), 0 1px 2px rgba(0, 0, 0, .04); transition: box-shadow .2s, transform .2s; }
.cmx-card.lvl-1 { background: color-mix(in srgb, var(--c) 9%, white); }
.cmx-card:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px color-mix(in srgb, var(--c) 75%, transparent); }
.cmx-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 12px 10px 12px 12px; border: 0; background: transparent; font: inherit; text-align: left; cursor: pointer; color: #1f2d1a; border-radius: 16px; }
.cmx-main:focus-visible { outline: 3px solid color-mix(in srgb, var(--c) 60%, white); outline-offset: 2px; }
.cmx-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; font-size: 1.7rem; line-height: 1; border-radius: 12px; background: color-mix(in srgb, var(--c) 14%, white); }
.cmx-tx { display: grid; gap: 3px; min-width: 0; }
.cmx-lb { font-weight: 800; font-size: 1rem; line-height: 1.2; color: #13301b; overflow-wrap: break-word; hyphens: auto; }
.cmx-sub { font-size: .8rem; line-height: 1.3; color: #5d6b61; }
.cmx-card.lvl-2 .cmx-ic, .cmx-card.lvl-3 .cmx-ic { width: 36px; height: 36px; font-size: 1.35rem; }
.cmx-card.lvl-2 .cmx-lb, .cmx-card.lvl-3 .cmx-lb { font-size: .93rem; }
.cmx-exp { flex: none; width: 28px; height: 28px; margin-right: 10px; border-radius: 50%; border: 0; background: var(--c); color: #fff; font: 800 1.05rem/1 Inter, sans-serif; cursor: pointer; display: grid; place-items: center; box-shadow: 0 3px 8px -3px var(--c); }
.cmx-exp:hover { filter: brightness(1.1); }
.cmx-card.lvl-0 { background: linear-gradient(160deg, #23743a, #14532d); border-color: #14532d; border-radius: 22px; box-shadow: 0 16px 34px -14px rgba(20, 83, 45, .6); }
.cmx-card.lvl-0 .cmx-main { flex-direction: column; text-align: center; gap: 6px; padding: 18px 14px 16px; color: #fff; }
.cmx-card.lvl-0 .cmx-ic { width: 60px; height: 60px; font-size: 2.4rem; background: rgba(255, 255, 255, .12); border-radius: 50%; }
.cmx-card.lvl-0 .cmx-lb { color: #fff; font-size: 1.4rem; }
.cmx-card.lvl-0 .cmx-sub { color: #cfe8c2; font-size: .85rem; }
.cmx-card.lvl-0 .cmx-exp { position: absolute; right: -14px; top: 50%; transform: translateY(-50%); margin: 0; background: #fff; color: #14532d; }
.cmx-card.is-sel { box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 35%, transparent), 0 12px 26px -12px color-mix(in srgb, var(--c) 75%, transparent); }
.cmx-card.is-ok { border-color: #2f9a4a; }
.cmx-card.is-ok::after, .cmx-card.is-rev::after { position: absolute; top: -9px; left: -9px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 900; color: #fff; }
.cmx-card.is-ok::after { content: "✓"; background: #2f9a4a; }
.cmx-card.is-rev { border-color: #e8962a; }
.cmx-card.is-rev::after { content: "↻"; background: #e8962a; }
.cmx-card.is-blank { border-style: dashed; background: #fff; }
.cmx-q { font-size: 1.1rem; color: color-mix(in srgb, var(--c) 80%, black); }
.cmx-dica { font-style: italic; color: #34443a; }
.cmx-card.is-blank.is-alvo { border-color: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 30%, transparent); }
.cmx-placar { font-weight: 700; white-space: nowrap; }
.cmx-card.is-err { animation: cmx-shake .45s; border-color: #d4573f; }
@keyframes cmx-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.cmx-zoom { position: absolute; left: 12px; bottom: 12px; z-index: 3; display: grid; gap: 6px; }
.cmx-zb { width: 38px; height: 38px; border-radius: 12px; border: 1px solid #dfe9d8; background: #fff; font: 700 1.05rem/1 Inter, sans-serif; color: #13301b; cursor: pointer; box-shadow: 0 2px 6px rgba(0, 0, 0, .06); }
.cmx-zb:hover { border-color: #2f7d3a; }
.cmx-bank { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px; background: rgba(255, 255, 255, .95); border: 1px solid #dfe9d8; border-radius: 14px; box-shadow: 0 8px 20px -12px rgba(0, 0, 0, .25); }
.cmx-bank[hidden] { display: none; }
.cmx-bank.is-pego { position: sticky; top: 8px; z-index: 5; }
.cmx-bank-t { font-weight: 700; font-size: .85rem; color: #4a5a4c; }
.cmx-chip { border: 1px solid #d5e3cf; background: #f1f7ec; font: inherit; font-size: .86rem; font-weight: 600; padding: 6px 11px; border-radius: 999px; cursor: pointer; color: #1f2d1a; text-align: left; }
.cmx-chip:hover { border-color: #2f7d3a; }
.cmx-chip.is-on { background: #1f6b34; border-color: #1f6b34; color: #fff; }
.cmx-panel { flex: none; width: min(380px, 38%); display: flex; flex-direction: column; background: #fff; border: 1px solid #dfe9d8; border-top: 5px solid var(--c, #1f6b34); border-radius: 16px; box-shadow: 0 12px 30px -18px rgba(18, 57, 31, .35); overflow: hidden; }
.cmx-panel[hidden] { display: none; }
.cmx-ph { display: flex; align-items: flex-start; gap: 12px; padding: 16px 16px 12px; border-bottom: 1px solid #edf2ea; }
.cmx-ph > div { flex: 1; min-width: 0; }
.cmx-ph h3 { margin: 0; font-size: 1.15rem; line-height: 1.25; color: #13301b; }
.cmx-pic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; font-size: 1.8rem; border-radius: 14px; background: color-mix(in srgb, var(--c, #1f6b34) 14%, white); }
.cmx-pctx { margin: 6px 0 0; font-size: .82rem; color: #5d6b61; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.cmx-pctx .cmx-chip { font-size: .78rem; padding: 3px 9px; }
.cmx-px { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #f1f5ef; cursor: pointer; font-size: .95rem; }
.cmx-pbody { flex: 1; overflow: auto; padding: 4px 16px 16px; font-size: .93rem; line-height: 1.55; }
.cmx-pbody h4 { margin: 16px 0 6px; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: #5d6b61; }
.cmx-ftxt p { margin: .6rem 0; }
.cmx-ftxt ul { margin: .5rem 0; padding-left: 0; list-style: none; display: grid; gap: 6px; }
.cmx-ftxt ul li { position: relative; padding-left: 26px; }
.cmx-ftxt ul li::before { content: "✓"; position: absolute; left: 0; top: .1em; width: 18px; height: 18px; border-radius: 50%; background: color-mix(in srgb, var(--c, #1f6b34) 85%, black); color: #fff; font-size: .65rem; font-weight: 900; display: grid; place-items: center; }
.cmx-ftxt .table-wrap { overflow-x: auto; margin: .7rem 0; border: 1px solid #e3ebdd; border-radius: 10px; }
.cmx-ftxt table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.cmx-ftxt th { background: color-mix(in srgb, var(--c, #1f6b34) 12%, white); text-align: left; }
.cmx-ftxt th, .cmx-ftxt td { padding: 6px 8px; border-bottom: 1px solid #edf2ea; vertical-align: top; }
.cmx-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cmx-pfonte { margin-top: 16px; padding-top: 10px; border-top: 1px solid #edf2ea; font-size: .76rem; color: #6b7b6f; }
.cmx-recall { margin: 14px 0; padding: 18px; border-radius: 14px; background: #f4f8f0; border: 1px dashed #b9d0ae; text-align: center; }
.cmx-recall-q { font-weight: 800; font-size: 1.05rem; color: #13301b; margin: 0 0 4px; }
.cmx-mark { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 4px; padding-top: 12px; border-top: 1px solid #edf2ea; }
.cmx-mark[hidden] { display: none; }
.cmx-mk { border: 0; border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 700; cursor: pointer; color: #fff; }
.cmx-mk.ok { background: #2f9a4a; }
.cmx-mk.re { background: #e8962a; }
.cmx[data-estudo="revisao"] .cmx-sub { display: none; }
/* tela cheia */
.cmx.cmx-isfull { position: fixed; inset: 0; z-index: 60; border-radius: 0; border: 0; padding: 12px 14px; --cmx-h: auto; }
.cmx.cmx-isfull .cmx-body { flex: 1; height: auto; }
/* celular: o painel vira gaveta */
.cmx-mobile .cmx-sb span:not(.cmx-si) { display: none; }
.cmx-compact:not(.cmx-mobile) .cmx-panel { position: absolute; right: 10px; top: 10px; bottom: 10px; width: min(360px, calc(100% - 70px)); z-index: 5; }
.cmx-compact .cmx-lb { font-size: .92rem; }
.cmx-compact .cmx-sub { font-size: .76rem; }
.cmx-mobile .cmx-sb { padding: 8px 12px; }
.cmx-mobile .cmx-cont .cmx-sb { padding: 7px 11px; font-size: .82rem; }
.cmx-mobile .cmx-title { width: 100%; }
.cmx-mobile .cmx-body { height: clamp(440px, 72vh, 640px); }
.cmx-mobile .cmx-zoom { display: none; }
.cmx-mobile .cmx-view { cursor: default; overflow-x: hidden; }
.cmx-mobile .cmx-bank { padding: 8px; }
.cmx-mobile .cmx-bank .cmx-chip { font-size: .8rem; padding: 5px 9px; }
.cmx-mobile .cmx-card.lvl-0 .cmx-main { flex-direction: row; text-align: left; padding: 12px 40px 12px 12px; }
.cmx-mobile .cmx-card.lvl-0 .cmx-ic { width: 46px; height: 46px; font-size: 1.8rem; }
.cmx-mobile .cmx-card.lvl-0 .cmx-lb { font-size: 1.1rem; }
.cmx-mobile .cmx-card.lvl-0 .cmx-exp { right: 10px; }
.cmx-mobile .cmx-panel { position: fixed; left: 0; right: 0; bottom: 0; width: auto; max-height: 78vh; z-index: 70; border-radius: 20px 20px 0 0; box-shadow: 0 -12px 40px rgba(0, 0, 0, .25); padding-bottom: env(safe-area-inset-bottom); }
@media (max-width: 640px) { .cmx { padding: 8px; border-radius: 14px; } }

/* ---------- Central de cálculo (cartões com entradas e saídas) ---------- */
.cx2 { margin: 1.2rem 0 2rem; padding: clamp(16px, 2.4vw, 26px); background: #fff; border: 1px solid #e3ebdd; border-radius: 18px; box-shadow: 0 10px 30px -22px rgba(18, 57, 31, .3); }
.cx2-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.cx2-head h2 { margin: 0; font-size: clamp(1.15rem, 2vw, 1.4rem); color: #13301b; }
.cx2-head h2 small { font-weight: 400; font-size: .95rem; color: #4a5a4c; margin-left: 6px; }
.cx2-hist { font-weight: 700; color: #1f6b34; }
.cx2-cat { margin-top: 18px; }
.cx2-cat-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.cx2-cat-h h3 { margin: 0; font-size: 1.02rem; color: #13301b; }
.cx2-cat-h h3 small { font-weight: 400; font-size: .85rem; color: #6b7b6f; margin-left: 6px; }
.cx2-cat-h a { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: #2f4a33; }
.cx2-q { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; border: 1.5px solid currentColor; font-size: .68rem; font-weight: 800; text-decoration: none; }
.cx2-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 14px; }
.cx2-card { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; background: #fff; border: 1px solid #e3ebdd; border-top: 4px solid var(--c); border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 14px -10px rgba(18, 57, 31, .35); transition: transform .15s, box-shadow .15s, border-color .15s; }
.cx2-card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -16px rgba(18, 57, 31, .45); border-color: color-mix(in srgb, var(--c) 45%, #e3ebdd); }
.cx2-card:focus-visible { outline: 3px solid color-mix(in srgb, var(--c) 60%, white); outline-offset: 2px; }
.cx2-top { flex: 1; display: flex; gap: 14px; padding: 16px 16px 12px; }
.cx2-ico { flex: none; display: grid; place-items: center; width: 50px; height: 50px; font-size: 1.7rem; border-radius: 12px; background: color-mix(in srgb, var(--c) 12%, white); }
.cx2-txt { display: grid; gap: 4px; min-width: 0; font-size: .86rem; line-height: 1.35; color: #3d4c40; }
.cx2-txt strong { font-size: 1.02rem; color: #13301b; margin-bottom: 2px; }
.cx2-txt b { color: #13301b; }
.cx2-go { display: flex; justify-content: flex-end; align-items: center; gap: 6px; padding: 8px 14px; background: #f6f9f4; border-top: 1px solid #edf2ea; font-size: .84rem; font-weight: 700; color: #2f4a33; }
.cx2-card:hover .cx2-go { color: color-mix(in srgb, var(--c) 80%, black); }
.cx2-solo { --c: #4f9d3a; }
.cx2-plantio { --c: #e8962a; }
.cx2-aplicacao { --c: #2e8fcf; }

/* ===== Simuladores das aulas (public/simuladores.js) ===== */
.sim { margin: 22px 0; padding: 16px; background: linear-gradient(180deg, #f3f9f1, #fff 60%); border: 1px solid #cfe3cf; border-radius: 16px; }
.sim-head { display: grid; gap: 4px; margin-bottom: 10px; }
.sim-head h3 { margin: 0; font-size: 1.08rem; color: var(--verde-900); }
.sim-head p { margin: 0; color: var(--muted); font-size: .93rem; }
.sim-tag { justify-self: start; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--verde-600); padding: 2px 8px; border-radius: 999px; }
.sim-on .sim-nojs { display: none; }
.sim-ctls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 6px 0 10px; }
.sim-ctls-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sim-ctls-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sim-ctl { display: grid; gap: 2px; min-width: 180px; font-size: .9rem; }
.sim-ctl-l b { color: var(--verde-700); font-variant-numeric: tabular-nums; }
.sim-ctl-l small { color: var(--muted); }
.sim-ctl input[type=range] { width: 100%; accent-color: var(--verde-600); }
.sim-seg { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.sim-seg button { font: inherit; font-size: .88rem; padding: 6px 12px; border-radius: 999px; border: 1px solid #bcd6bf; background: #fff; color: var(--verde-900); cursor: pointer; }
.sim-seg button[aria-pressed="true"] { background: var(--verde-600); border-color: var(--verde-600); color: #fff; }
.sim-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.sim-num { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.sim-big { font-size: 1.6rem; font-weight: 800; color: var(--verde-900); }
.sim-svg { display: block; width: 100%; height: auto; margin: 6px 0; background: #fff; border-radius: 12px; border: 1px solid #e4ece2; }
.sim-msg { margin: 8px 0 0; padding: 10px 12px; border-radius: 10px; background: #eef5fb; border-left: 4px solid #4a90c2; font-size: .94rem; line-height: 1.5; }
.sim-msg[data-tom="ok"] { background: var(--ok-bg); border-left-color: var(--verde-600); }
.sim-msg[data-tom="warn"] { background: var(--warn-bg); border-left-color: #d39a1c; }
@media (max-width: 640px) { .sim { padding: 12px; } .sim-ctls-2, .sim-ctls-3 { grid-template-columns: 1fr; } .sim-ctl { min-width: 0; } }
/* elementos SVG */
.sim-svg text { font-family: var(--font); }
.sv-t { font-size: 14px; font-weight: 600; fill: #24332a; }
.sv-s { font-size: 13px; font-weight: 500; fill: #4b5a4e; }
.sv-h { font-size: 15px; font-weight: 700; fill: #13301b; }
.sv-w { fill: #fff; font-size: 13px; font-weight: 700; }
.sv-mini { font-size: 11px; }
.sv-big2 { font-size: 24px; font-weight: 800; fill: #13301b; }
.sv-ok { fill: #1f7a3a; } .sv-alerta { fill: #b0451f; }
.sv-vidro { fill: none; stroke: #6f8a93; stroke-width: 3; stroke-linejoin: round; }
.sv-bases { fill: #4f9d5a; } .sv-acidez { fill: #b9a08a; }
.sv-ca { fill: #3f8f4f; } .sv-mg { fill: #2f8f8a; } .sv-k { fill: #e0902a; }
.sv-carga { font-size: 16px; font-weight: 800; fill: #2f5f9f; }
.sv-meta { stroke: #c4566a; stroke-width: 2; stroke-dasharray: 6 4; }
.sv-escorre { fill: none; stroke: #6fb0de; stroke-width: 4; stroke-linecap: round; }
.sv-perda { fill: #e0902a; opacity: .75; }
.sv-seta { stroke: #4b5a4e; stroke-width: 2.4; fill: none; } .sv-seta-p { fill: #4b5a4e; }
.sv-painel { fill: #f6f9f4; stroke: #dbe6d8; }
.sv-faixa { fill: #e4f1e7; }
.sv-eixo { stroke: #4b5a4e; } .sv-cursor { stroke: #13301b; stroke-width: 3; }
.sv-b1 { fill: #4f9d5a; } .sv-b2 { fill: #2f8f8a; } .sv-b3 { fill: #e0a02a; } .sv-b4 { fill: #6aa040; } .sv-b5 { fill: #8a63c4; } .sv-b6 { fill: #c4566a; }
.sv-solo { fill: #8a5f37; } .sv-solo-claro { fill: #f1e4cf; }
.sv-agua { fill: #dcecf8; stroke: #4a90c2; }
.sv-cofre { fill: #e6e2dc; stroke: #8a8178; stroke-width: 2; } .sv-apagado { opacity: .45; }
.sv-cadeado { fill: none; stroke: #6b625a; stroke-width: 3; }
.sv-dot { fill: #f0c24a; stroke: #a5761a; } .sv-dot-preso { fill: #b8b0a6; stroke: #7a7168; }
.sv-destaque { stroke: #d39a1c; stroke-width: 4; } .sv-destaque-b { fill: none; stroke: #d39a1c; stroke-width: 3; stroke-dasharray: 6 4; }
.sv-pulso { fill: none; stroke: #4a90c2; stroke-width: 3; opacity: .5; }
.sv-raiz { fill: none; stroke: #e8cfa8; stroke-width: 10; stroke-linecap: round; }
.sv-raiz-grossa { stroke-width: 16; stroke: #c9a77a; }
.sv-raiz-fina { fill: none; stroke: #e8cfa8; stroke-width: 4; stroke-linecap: round; }
.sv-pelo { stroke: #e8cfa8; stroke-width: 1.4; }
.sv-ponta { fill: #f3e2c6; } .sv-ponta-morta { fill: #4a2e18; }
.sv-cadeira { fill: #9a8a74; }
.sv-al { fill: #c4566a; } .sv-base { fill: #4f9d5a; }
.sv-trilho { fill: #e9ece7; }
.sv-fluxo { fill: none; stroke: #8cc0e6; stroke-width: 10; opacity: .45; stroke-linecap: round; }
.sv-esgot { fill: #f8f1e4; }
.sv-raiz-corpo { fill: #e3c79a; stroke: #b58a5a; }
.sv-ion { fill: #e0902a; stroke: #9a5a12; stroke-width: .8; }
.sv-banheira { fill: #f4f1ea; stroke: #6f8a93; stroke-width: 4; stroke-linejoin: round; }
.sv-mo { fill: #5c3d22; }
.sv-cano { fill: none; stroke: #6f8a93; stroke-width: 6; stroke-linecap: round; }
.sv-jato { fill: #a87c52; opacity: .75; } .sv-saida { fill: #a87c52; opacity: .6; }
.sv-linha { fill: none; stroke: #5c3d22; stroke-width: 3; }
.sv-c1 { fill: #b0451f; } .sv-c2 { fill: #d9822b; } .sv-c3 { fill: #d9b02b; } .sv-c4 { fill: #4f9d5a; } .sv-c5 { fill: #2f7d4a; } .sv-c6 { fill: #2f6f8a; }
.sv-marca { fill: #13301b; }
.sv-agua-barril { fill: #6fb0de; opacity: .8; }
.sv-tabua { fill: #c99b6d; stroke: #8a5f37; } .sv-tabua-lim { fill: #e0902a; stroke: #9a5a12; }
.sv-aro { stroke: #5a4a3a; stroke-width: 5; }
.sv-vaza { fill: none; stroke: #6fb0de; stroke-width: 4; stroke-linecap: round; }

/* ===== Agro 360: Biblioteca de Conhecimento Agronômico ===== */
.lib-hero { position: relative; overflow: hidden; min-height: 230px; margin: 4px 0 22px; border-radius: 22px; background: #eef5e8; display: flex; align-items: center; box-shadow: 0 10px 30px -18px rgba(20, 60, 20, .35); }
.lib-hero-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.lib-hero-txt { position: relative; padding: 34px 36px; max-width: 640px; }
.lib-hero-txt h1 { margin: 6px 0 10px; color: #13301b; font-size: clamp(1.9rem, 4.2vw, 2.9rem); line-height: 1.08; letter-spacing: -.02em; }
.lib-hero-txt p { margin: 0; color: #2f3f31; font-size: 1.08rem; }
.lib-hero-txt p::after { content: ""; display: block; width: 120px; height: 3px; margin-top: 14px; border-radius: 3px; background: linear-gradient(90deg, #2f7d3a, rgba(47, 125, 58, 0)); }
.lib-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.lib-panel { border-radius: 22px; padding: 0 0 16px; overflow: hidden; border: 1px solid #d9e8d2; background: #fbfdf9; box-shadow: 0 14px 34px -22px rgba(20, 60, 20, .4); }
.lib-tecnico { border-color: #d3e2f2; background: #f8fbff; }
.lib-head { display: flex; align-items: center; gap: 14px; padding: 20px 20px 14px; background: linear-gradient(180deg, #e3f2d9, #f1f8ec); }
.lib-tecnico .lib-head { background: linear-gradient(180deg, #dceaf9, #eef5fc); }
.lib-hico { flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #2f7d3a; color: #fff; box-shadow: 0 6px 14px -6px rgba(31, 95, 52, .7); }
.lib-tecnico .lib-hico { background: #1f4f8f; box-shadow: 0 6px 14px -6px rgba(31, 79, 143, .7); }
.lib-hico svg { width: 30px; height: 30px; }
.lib-htxt { flex: 1; min-width: 0; }
.lib-htxt h2 { margin: 0; font-size: 1.45rem; color: #13301b; }
.lib-tecnico .lib-htxt h2 { color: #12294a; }
.lib-htxt p { margin: 2px 0 0; color: #2f5a35; font-weight: 600; }
.lib-tecnico .lib-htxt p { color: #2a4f7a; }
.lib-prog { flex: none; width: 140px; display: grid; gap: 2px; font-size: .78rem; color: #3f4d40; }
.lib-prog strong { font-size: 1.25rem; color: #13301b; }
.lib-pbar { display: block; height: 8px; border-radius: 999px; background: #d6e4cf; overflow: hidden; }
.lib-pbar .a3-fill { background: linear-gradient(90deg, #1f6a2f, #4fa63a); min-width: 4px; }
.lib-tecnico .lib-pbar { background: #d3e0ef; } .lib-tecnico .lib-pbar .a3-fill { background: linear-gradient(90deg, #1f4f8f, #4a8fd0); }
.lib-desc { display: flex; align-items: flex-end; gap: 10px; padding: 12px 20px 6px; }
.lib-desc p { flex: 1; margin: 0 0 10px; color: #33443a; font-size: .95rem; line-height: 1.5; }
.lib-art { flex: none; width: 170px; height: auto; }
.lib-items { list-style: none; margin: 0; padding: 6px 16px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lib-items .a3-link { display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px; background: #fff; border: 1px solid #e3ebdf; border-radius: 16px; color: inherit; text-decoration: none; box-shadow: 0 6px 16px -12px rgba(20, 50, 20, .35); transition: transform .15s, box-shadow .15s, border-color .15s; }
.lib-tecnico .lib-items .a3-link { border-color: #dfe8f3; }
.lib-items .a3-link:hover { transform: translateY(-2px); border-color: #9fcf8c; box-shadow: 0 14px 26px -14px rgba(20, 70, 30, .4); }
.lib-tecnico .lib-items .a3-link:hover { border-color: #9cbfe6; }
.lib-ico { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: #eef6e8; color: #3f8a2e; }
.lib-tecnico .lib-ico { background: #eaf2fb; color: #2f6f9f; }
.lib-ico svg { width: 36px; height: 36px; }
.lib-txt { flex: 1; min-width: 0; display: grid; gap: 1px; }
.lib-txt strong { font-size: 1rem; color: #13301b; line-height: 1.25; }
.lib-sub { font-size: .83rem; color: #55645a; line-height: 1.35; }
.lib-tag { font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6b786c; }
.lib-meta { margin-top: 3px; font-size: .74rem; font-weight: 600; color: #3f4d40; }
.lib-bar { display: block; height: 4px; margin-top: 3px; border-radius: 999px; background: #edf1ea; overflow: hidden; }
.lib-go { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #1f6a2f; color: #fff; }
.lib-tecnico .lib-go { background: #1f4f8f; }
.lib-go svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; }
@media (max-width: 1060px) { .lib-cols { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .lib-hero { min-height: 200px; } .lib-hero-txt { padding: 24px 20px; }
  .lib-items { grid-template-columns: 1fr; padding: 4px 12px 0; }
  .lib-head { flex-wrap: wrap; padding: 16px; } .lib-prog { width: 100%; }
  .lib-art { width: 110px; } .lib-desc { padding: 10px 16px 4px; }
}
@media (prefers-reduced-motion: reduce) { .lib-items .a3-link:hover { transform: none; } }
.lib-items .a3-link { flex-direction: row; align-items: center; text-align: left; }
.lib-items .lib-go { align-self: center; margin: 0; }
.lib-items .a3-link { padding: 12px; gap: 10px; }
.lib-ico { width: 44px; height: 44px; border-radius: 12px; } .lib-ico svg { width: 30px; height: 30px; }
.lib-txt strong { font-size: .97rem; }
@media (max-width: 640px) {
  .lib-hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .lib-hero-art { position: relative; inset: auto; height: 130px; order: 2; }
  .lib-hero-txt { padding: 22px 20px 6px; }
}
/* topo da Biblioteca com foto */
.lib-hero { min-height: 260px; background: #e9f1e4; }
.lib-hero-foto { position: absolute; top: 0; right: 0; width: 68%; height: 100%; object-fit: cover; object-position: center 60%; }
.lib-hero-veu { position: absolute; inset: 0; background: linear-gradient(90deg, #f4f8f1 0%, #f4f8f1 34%, rgba(244, 248, 241, .85) 44%, rgba(244, 248, 241, 0) 62%); }
.lib-hero-cred { position: absolute; right: 10px; bottom: 8px; padding: 2px 8px; border-radius: 6px; background: rgba(0, 0, 0, .45); color: #fff; font-size: .7rem; text-decoration: none; }
.lib-hero-cred:hover { color: #fff; text-decoration: underline; }
@media (max-width: 640px) {
  .lib-hero-foto { position: relative; width: 100%; height: 150px; order: 2; }
  .lib-hero-veu { display: none; }
  .lib-hero-cred { bottom: 6px; }
}
.lib-hero { background: linear-gradient(120deg, #f4f8f1 40%, #cfe3b8); }
.lib-foto { flex: none; position: relative; width: 190px; margin: 0 0 8px; border-radius: 14px; overflow: hidden; background: #dfe9d8; box-shadow: 0 8px 18px -10px rgba(20, 50, 20, .45); }
.lib-foto img { display: block; width: 100%; height: 110px; object-fit: cover; }
.lib-foto figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2px 6px; background: rgba(0, 0, 0, .45); font-size: .62rem; line-height: 1.3; }
.lib-foto figcaption a { color: #fff; text-decoration: none; }
@media (max-width: 640px) { .lib-foto { width: 120px; } .lib-foto img { height: 84px; } }
/* topo da Biblioteca sem imagem */
.lib-hero { min-height: 0; background: linear-gradient(120deg, #eef6e8 0%, #f7faf4 55%, #e6f0f8 100%); border: 1px solid #dfe9d8; }
.lib-hero-txt { padding: 30px 34px; max-width: none; }
.lib-desc p { margin-bottom: 4px; }

/* ===== Proteção de Cultivos: página da categoria reorganizada ===== */
.pc-head2 { display: grid; gap: 16px; padding: 22px 24px; margin: 6px 0 4px; border-radius: 20px; background: linear-gradient(135deg, #f1f8ec, #fff 70%); border: 1px solid #dfe9d8; }
.pc-head2.pc-lI { background: linear-gradient(135deg, #fdf1e6, #fff 70%); border-color: #f1dcc8; }
.pc-head2.pc-lF { background: linear-gradient(135deg, #e9f2fa, #fff 70%); border-color: #d3e2f0; }
.pc-head2.pc-lN { background: linear-gradient(135deg, #f5ece2, #fff 70%); border-color: #e7d8c6; }
.pc-head2.pc-lR { background: linear-gradient(135deg, #f2ecf8, #fff 70%); border-color: #e2d6ef; }
.pc-head2.pc-lB { background: linear-gradient(135deg, #e6f5f2, #fff 70%); border-color: #cfe7e2; }
.pc-head-top { display: flex; gap: 16px; align-items: flex-start; }
.pc-head2 .pc-search { margin: 0; max-width: none; }
.pc-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pc-stats li { display: grid; gap: 2px; padding: 12px 14px; background: rgba(255, 255, 255, .85); border: 1px solid #e4ebe1; border-radius: 14px; }
.pc-stats strong { font-size: 1.5rem; line-height: 1.1; color: #13301b; font-variant-numeric: tabular-nums; }
.pc-stats span { font-size: .82rem; color: #55645a; }
.pc-jump2 { position: sticky; top: 0; z-index: 5; margin: 12px 0 6px; padding: 8px 0; background: var(--bg); }
.pc-jump2 a { font-weight: 600; }
.pc-h2 { font-size: 1.2rem; margin: 22px 0 12px; color: #13301b; }
.pc-ov { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pc-ovc { display: flex; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid #e4e9e1; border-radius: 16px; }
.pc-ovc h3 { margin: 0 0 6px; font-size: 1rem; color: #13301b; }
.pc-ovc p { margin: 0; color: #2c3a2f; line-height: 1.55; }
.pc-ovc ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; color: #2c3a2f; }
.pc-ovi { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #eef6e8; color: #2f7d3a; }
.pc-ovi .pc-i { width: 24px; height: 24px; }
.pc-ovc-res { background: #fffbef; border-color: #f0e2b8; }
.pc-ovc-res .pc-ovi { background: #fdf0c8; color: #8a5a00; }
.pc-cls { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.pc-cls li { display: flex; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid #e4e9e1; border-radius: 14px; }
.pc-cls-n { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #173d22; color: #fff; font-weight: 700; font-size: .85rem; }
.pc-cls h3 { margin: 2px 0 4px; font-size: .98rem; color: #13301b; }
.pc-cls p { margin: 0; font-size: .92rem; color: #3a4a3d; line-height: 1.5; }
@media (max-width: 760px) {
  .pc-ov { grid-template-columns: 1fr; }
  .pc-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; } .pc-stats li { padding: 10px; } .pc-stats strong { font-size: 1.15rem; } .pc-stats span { font-size: .72rem; }
  .pc-head2 { padding: 16px; }
  .pc-jump2 { overflow-x: auto; flex-wrap: nowrap; } .pc-jump2 a { white-space: nowrap; }
}
#conteudo-tecnico.pc-sec, #classificacao.pc-sec { margin-top: 6px; padding-top: 0; }
#conteudo-tecnico .pc-h2, #classificacao .pc-h2 { margin-top: 14px; }
.pc-jump2 { margin-bottom: 0; }
.pc-cls { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
/* menu de seções da categoria */
.pc-tabs { position: sticky; top: 0; z-index: 6; margin: 14px 0 4px; padding: 8px 0; background: var(--bg); }
.pc-tabs-in { display: flex; align-items: center; gap: 4px; padding: 5px; background: #fff; border: 1px solid #e1e8de; border-radius: 16px; box-shadow: 0 8px 20px -14px rgba(20, 50, 20, .35); overflow-x: auto; scrollbar-width: none; }
.pc-tabs-in::-webkit-scrollbar { display: none; }
.pc-tabs a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 11px; color: #2c3a2f; font-weight: 600; font-size: .92rem; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.pc-tabs a .pc-i { width: 18px; height: 18px; color: #6b786c; transition: color .15s; }
.pc-tabs a:hover { background: #f1f6ee; color: #173d22; }
.pc-tabs a:hover .pc-i { color: #2f7d3a; }
.pc-tabs a.is-on { background: #173d22; color: #fff; }
.pc-tabs a.is-on .pc-i { color: #9fdc7a; }
.pc-tabs-sep { flex: none; width: 1px; height: 24px; margin: 0 6px; background: #e1e8de; }
.pc-tabs .pc-tab-go { color: #1f5f34; }
.pc-tabs .pc-tab-go .pc-i { color: #2f7d3a; }
.pc-tabs .pc-tab-go b { padding: 1px 8px; border-radius: 999px; background: #e4f1e7; color: #1f5f34; font-size: .78rem; }
.pc-tabs .pc-tab-go:last-child { margin-left: auto; background: #fff7e3; color: #7a5200; }
.pc-tabs .pc-tab-go:last-child .pc-i { color: #c58a12; }
.pc-tabs .pc-tab-go:last-child:hover { background: #fdeec6; }
.pc-tabs a:focus-visible { outline: 3px solid var(--verde-600); outline-offset: 1px; }
@media (max-width: 760px) { .pc-tabs a { padding: 8px 11px; font-size: .86rem; } .pc-tabs .pc-tab-go:last-child { margin-left: 0; } }
@media (min-width: 900px) { .qa4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Como ter acesso (página pública) */
.acesso h1 { color: #14532d; margin-bottom: .4em; }
.acesso h2 { color: #14532d; font-size: 1.2rem; margin: 1.6em 0 .6em; }
.acesso-lead { font-size: 1.08rem; color: #33402f; }
.acesso-areas, .acesso-passos { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.acesso-areas li, .acesso-passos li { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: #f3f7f1; border: 1px solid #e0ebdb; }
.acesso-passos { counter-reset: passo; }
.acesso-passos li { position: relative; padding-left: 52px; }
.acesso-passos li::before { counter-increment: passo; content: counter(passo); position: absolute; left: 12px; top: 12px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #2f8f3a; color: #fff; font-weight: 800; }
.acesso-areas b, .acesso-passos b { color: #14532d; }
.acesso-acoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.6em; }
.acesso-acoes .btn { display: inline-flex; align-items: center; gap: 8px; }
.acesso-acoes .login-ico { width: 20px; height: 20px; }

/* links longos (URLs nas fontes) quebram em vez de vazar no celular */
.pc-fontes li, #conteudo p a, #conteudo li a { overflow-wrap: anywhere; }
.pc-tabs { min-width: 0; max-width: 100%; }
.pc-map-br { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.pc-node { grid-template-columns: auto minmax(0, 1fr) auto; }
.pc-node-t { overflow-wrap: anywhere; }
/* Proteção de Cultivos: nada vaza para o lado no celular (clip não quebra o menu fixo) */
.pc-page main { overflow-x: clip; }

/* Termos de uso e Política de privacidade */
.legal h1 { color: #14532d; margin-bottom: .2em; }
.legal h2 { color: #14532d; font-size: 1.15rem; margin: 1.6em 0 .5em; }
.legal p, .legal li { line-height: 1.6; }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; }
.legal-date { color: var(--muted); font-size: .9rem; margin-top: 0; }
.legal-links { margin-top: 2em; padding-top: 1em; border-top: 1px solid #e1e8de; font-size: .92rem; }

/* ---------- Proteção de Cultivos · Dinâmica ---------- */
.dn-teaser { display: flex; align-items: center; gap: 14px; margin: 18px 0 6px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--c); background: var(--cb); color: inherit; text-decoration: none; }
.dn-teaser > .pc-i { color: var(--c); flex: none; }
.dn-teaser span { display: grid; gap: 2px; flex: 1; }
.dn-teaser small { color: #4d5a50; }
.dn-teaser:hover .pc-go { color: var(--c); }
.dn-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.dn-cats a, .dn-cats span { padding: 5px 12px; border-radius: 999px; border: 1px solid #d6dfd2; background: #fff; font-size: .88rem; text-decoration: none; color: inherit; }
.dn-cats span { background: var(--c); border-color: var(--c); color: #fff; font-weight: 600; }
.dn-toc { position: sticky; top: 0; z-index: 3; display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; margin: 8px 0 0; background: var(--bg); -webkit-overflow-scrolling: touch; }
.dn-toc a { flex: none; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid #e0e7dc; font-size: .86rem; text-decoration: none; color: #2c3a30; }
.dn-toc a:hover { border-color: var(--verde-600, #2f7a3f); }
.dn p { max-width: 72ch; }
.dn-figbox { margin: 14px 0; padding: 12px; background: #fff; border: 1px solid #e4e9e1; border-radius: 14px; }
.dn-fig { width: 100%; height: auto; display: block; }
.dn-fig-sm { max-width: 560px; }
.dn-leg { margin: 10px 0 0; padding-left: 22px; columns: 2 260px; column-gap: 24px; font-size: .9rem; }
.dn-leg li { break-inside: avoid; margin: 0 0 4px; }
.dn-ceu { fill: #eaf4fa; } .dn-solo1 { fill: #b98b5c; } .dn-solo2 { fill: #9c7046; } .dn-agua { fill: #7fb5dc; }
.dn-barra { fill: #3d4a41; } .dn-gota { stroke: #5aa0d0; stroke-width: 2; stroke-dasharray: 3 6; }
.dn-palha { fill: #d9b45d; } .dn-mol { fill: #2f9e44; stroke: #fff; stroke-width: 1; }
.dn-part { fill: #6b4a2c; } .dn-micro { fill: #f2e3c4; stroke: #6b4a2c; stroke-width: 1.2; }
.dn-sol { fill: #f6c443; } .dn-raio { stroke: #f0b429; stroke-width: 2.5; stroke-dasharray: 5 5; fill: none; }
.dn-semente { fill: #e7d3a4; stroke: #6b4a2c; stroke-width: 1.2; } .dn-broto { stroke: #3c9a3c; stroke-width: 3; fill: none; stroke-linecap: round; } .dn-raiz { stroke: #f3ead7; stroke-width: 2.5; fill: none; stroke-linecap: round; }
.dn-seta { fill: none; stroke-width: 3.5; stroke-linecap: round; } .dn-s-agua { stroke: #1f5f99; } .dn-s-ar { stroke: #6b7c88; } .dn-s-fung { stroke: #2f6f9f; }
.dn-ponta { fill: #334; }
.dn-mk circle { fill: #1e5b34; stroke: #fff; stroke-width: 2; } .dn-mk text { fill: #fff; font: 700 14px var(--font, sans-serif); }
.dn-lbl { fill: #22302a; font: 600 13px var(--font, sans-serif); } .dn-lbl-w { fill: #fff; } .dn-lbl-b { font-weight: 700; }
.dn-cuticula { fill: #e8d77a; } .dn-epi { fill: #cfe8c2; stroke: #9cc58a; } .dn-pal { fill: #a9d68f; stroke: #7fb768; } .dn-esp { fill: #c9e7b6; }
.dn-feixe { fill: #e9f1df; stroke: #7a9a6a; stroke-width: 2; } .dn-xilema { fill: #7fb5dc; }
.dn-div { stroke: #9aa79d; stroke-dasharray: 4 5; } .dn-vapor { fill: none; stroke: #2f6f9f; stroke-width: 2; stroke-dasharray: 2 4; }
.dn-bar-bg { fill: #eef2ec; } .dn-bar { fill: #3f8a2e; }
.dn-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; margin: 12px 0; }
.dn-card { background: #fff; border: 1px solid #e4e9e1; border-radius: 14px; padding: 14px 16px; }
.dn-card h3 { font-size: 1rem; margin: 0 0 6px; display: grid; gap: 2px; }
.dn-card h3 small { font-weight: 500; color: #5d6b61; font-size: .82rem; }
.dn-card p { margin: 0; font-size: .93rem; }
.dn-passos { list-style: none; padding: 0; margin: 14px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.dn-passos li { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid #e4e9e1; border-radius: 12px; padding: 12px; }
.dn-passos div { display: grid; gap: 2px; font-size: .9rem; }
.dn-pn { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--pcH, #3f8a2e); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.dn-destaque { border-left: 4px solid var(--c, #3f8a2e); background: var(--cb, #e8f3e1); padding: 12px 16px; border-radius: 0 12px 12px 0; margin: 14px 0; }
.dn-destaque h3, .dn-h3 { font-size: 1rem; margin: 0 0 6px; }
.dn-destaque p { margin: 0; }
.dn-props { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.dn-prop { background: #fff; border: 1px solid #e4e9e1; border-radius: 14px; padding: 16px; scroll-margin-top: 60px; }
.dn-prop header { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.dn-prop h3 { margin: 0; font-size: 1rem; } .dn-prop header small { color: #5d6b61; font-size: .82rem; }
.dn-sigla { flex: none; min-width: 48px; padding: 6px 8px; text-align: center; border-radius: 10px; background: #1e5b34; color: #fff; font-weight: 700; font-size: .9rem; }
.dn-prop p { font-size: .92rem; margin: 0 0 8px; }
.dn-classes { margin: 0 0 10px; display: grid; gap: 4px; }
.dn-classes div { display: grid; grid-template-columns: minmax(110px, 42%) 1fr; gap: 8px; font-size: .86rem; padding: 5px 8px; border-radius: 8px; background: #f4f7f2; }
.dn-classes dt { font-weight: 600; } .dn-classes dd { margin: 0; }
.dn-pratica { border-top: 1px dashed #dbe3d6; padding-top: 8px; }
.dn-tab th[scope="row"] { min-width: 170px; }
.dn-tab td { white-space: nowrap; }
.dn-modo { display: block; font-weight: 400; color: #5d6b61; font-size: .78rem; white-space: normal; margin-top: 2px; }
.dn-chip { display: block; width: max-content; margin-top: 4px; padding: 1px 8px; border-radius: 999px; font-size: .72rem; font-weight: 600; background: #eef1ec; color: #3b4a40; }
.dn-sw3, .dn-koc4, .dn-koc3, .dn-dt3, .dn-pv2, .dn-gus2 { background: #fde2dd; color: #8a2a1a; }
.dn-sw2, .dn-koc2, .dn-dt2, .dn-dt1, .dn-pv1, .dn-gus1 { background: #fff1cc; color: #7a5800; }
.dn-sw1, .dn-koc1, .dn-koc0, .dn-dt0, .dn-pv0, .dn-gus0 { background: #e3f1dc; color: #2b5e22; }
.dn-calcs { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 12px; }
.dn-calc { background: #fff; border: 1px solid #e4e9e1; border-radius: 14px; padding: 16px; display: grid; gap: 10px; align-content: start; }
.dn-calc h3 { margin: 0; font-size: 1rem; }
.dn-calc p { margin: 0; }
.dn-calc label { display: grid; gap: 4px; font-size: .88rem; font-weight: 600; }
.dn-calc input[type="number"], .dn-calc select { font: inherit; font-weight: 400; padding: 8px 10px; border: 1px solid #cfd9cb; border-radius: 8px; background: #fff; width: 100%; min-width: 0; }
.dn-calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dn-range input { width: 100%; }
.dn-out { display: block; padding: 10px 12px; border-radius: 10px; background: #f1f7ee; font-size: .92rem; }
.dn-out strong { font-size: 1.3rem; margin-right: 4px; }
.dn-bar2 { height: 10px; border-radius: 999px; background: #eef2ec; overflow: hidden; }
.dn-bar2 span { display: block; height: 100%; width: 0; background: #2f6f9f; transition: width .2s; }
.dn-bar2 .dn-pos { background: #c4661f; }
@media (max-width: 560px) {
  .dn-leg { columns: 1; }
  .dn-calc-row { grid-template-columns: 1fr; }
  .dn-classes div { grid-template-columns: 1fr; gap: 0; }
}
.dn > .pc-sec > p, .dn .pc-card > p { margin: 0 0 10px; }

/* Dinâmica · v2: figura do solo, seções numeradas, réguas de classes */
.dz { --tr: #8a5a2b; --tr2: #2f855a; --tf: #2b6cb0; --ar: #64748b; --ab: #6b46c1; font-family: var(--font, system-ui, sans-serif); }
.dz-mol { fill: #e0a526; stroke: #fff; stroke-width: 1.4; }
.dz-jato { fill: #6aa8d8; fill-opacity: .16; } .dz-bico { fill: #374151; } .dz-barra { fill: #374151; }
.dz-palha { fill: #d8b56a; stroke: #b48f45; stroke-width: 1; }
.dz-hz { stroke: #000; stroke-opacity: .18; stroke-dasharray: 6 6; }
.dz-cam { font-size: 13px; font-weight: 600; fill: #fff; fill-opacity: .85; letter-spacing: .02em; } .dz-cam-w { fill-opacity: 1; }
.dz-cap { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; fill: #4b5563; }
.dz-mo { fill: #3e2a1b; } .dz-mo2 { fill: #533a26; } .dz-arg { fill: #c9a27a; }
.dz-semente { fill: #f3e6c6; stroke: #8a6a3a; stroke-width: 1.4; } .dz-broto { fill: none; stroke: #4caf50; stroke-width: 4; stroke-linecap: round; } .dz-raiz { fill: none; stroke: #f5ecd9; stroke-width: 3; stroke-linecap: round; }
.dz-abs { stroke: var(--ab); stroke-width: 2; stroke-dasharray: 3 3; }
.dz-lider { stroke: #fff; stroke-opacity: .7; stroke-width: 1.2; }
.dz-micro { fill: #c6efd3; stroke: var(--tr2); stroke-width: 1.5; } .dz-frag { fill: #e0a526; fill-opacity: .7; }
.dz-sol { fill: #f6c445; } .dz-raio { stroke: #d99a1e; stroke-width: 2.5; stroke-dasharray: 6 6; fill: none; }
.dz-seta { fill: none; stroke-width: 4.5; stroke-linecap: round; } .dz-tf { stroke: var(--tf); } .dz-ar { stroke: var(--ar); }
.dz-pt-tf { fill: #2b6cb0; } .dz-pt-ar { fill: #64748b; } .dz-pt-tr { fill: #8a5a2b; } .dz-pt-tf2 { fill: #2f855a; } .dz-pt-ab { fill: #6b46c1; }
.dz-t { font-size: 18px; font-weight: 700; } .dz-s { font-size: 13.5px; fill: #374151; }
.dz-t-tr { fill: #f3dcc0; } .dz-t-tf { fill: var(--tf); } .dz-t-ar { fill: var(--ar); } .dz-t-tr2 { fill: #1f6b45; } .dz-t-ab { fill: #ffffff; }
.dz-t-tr ~ .dz-s, .dz-t-ab + .dz-s, .dz-t-tr + .dz-s { fill: #f4ece2; }
.dn-figwide { padding: 0; overflow: hidden; }
.dn-figscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dn-figscroll > .dn-fig { min-width: 720px; }
.dn-figleg { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 10px 14px; font-size: .84rem; color: #4b5563; border-top: 1px solid #e4e9e1; }
.dn-figleg span { display: inline-flex; align-items: center; gap: 6px; }
.dz-k { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.dz-k-mol { background: #e0a526; border-radius: 50%; } .dz-k-tr { background: #8a5a2b; } .dz-k-tr2 { background: #2f855a; } .dz-k-tf { background: #2b6cb0; } .dz-k-ab { background: #6b46c1; }
.dn-swipe { display: none !important; }
.dn-card-tr { border-top: 4px solid #8a5a2b; } .dn-card-tr2 { border-top: 4px solid #2f855a; } .dn-card-tf { border-top: 4px solid #2b6cb0; }
.dn-essencial { margin: 18px 0 6px; padding: 16px 18px; border-radius: 14px; background: #1e3a2a; color: #eef6f0; }
.dn-essencial h2 { margin: 0 0 8px; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #a7d7b5; }
.dn-essencial ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.dn-essencial li { max-width: 80ch; }
.dn-sh { display: flex; gap: 14px; align-items: flex-start; margin: 8px 0 10px; }
.dn-sh .pc-h2 { margin: 2px 0 4px; }
.dn-sh p { margin: 0; color: #3f4b43; max-width: 74ch; }
.dn-sn { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--c, #3f8a2e); color: #fff; display: grid; place-items: center; font-weight: 800; }
.dn .pc-sec { padding-top: 22px; margin-top: 10px; border-top: 1px solid #e4e9e1; }
.dn-toc a { display: inline-flex; align-items: center; gap: 6px; }
.dn-toc a span { width: 18px; height: 18px; border-radius: 50%; background: #eef2ec; display: grid; place-items: center; font-size: .72rem; font-weight: 700; }
.dn-grupo { margin: 14px 0 18px; }
.dn-gt { margin: 0; font-size: 1.02rem; }
.dn-gd { margin: 2px 0 10px !important; color: #5d6b61; font-size: .9rem; }
.dn-prop h4 { margin: 0; font-size: 1rem; }
.dn-regua { list-style: none; margin: 4px 0 12px; padding: 0; display: grid; gap: 3px; grid-auto-flow: column; grid-auto-columns: 1fr; }
.dn-regua li { padding: 7px 6px 6px; border-radius: 6px; display: grid; gap: 2px; align-content: start; font-size: .74rem; line-height: 1.25; }
.dn-regua li b { font-size: .78rem; }
.dn-regua li span { opacity: .85; }
.dn-regua li:nth-child(1) { background: #e7f2ea; color: #1d4d2f; }
.dn-regua li:nth-child(2) { background: #cfe6d6; color: #1d4d2f; }
.dn-regua li:nth-child(3) { background: #a9d2b6; color: #173f26; }
.dn-regua li:nth-child(4) { background: #6fae86; color: #fff; }
.dn-regua li:nth-child(5) { background: #3f7f57; color: #fff; }
.dn-regua3 li:nth-child(3) { background: #3f7f57; color: #fff; }
.dn-regua4 li:nth-child(4) { background: #3f7f57; color: #fff; }
.dn-duas { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.dn-passos-v { grid-template-columns: 1fr; margin: 0; }
.dn-passos-v li { position: relative; }
.dn-palha { margin-top: 12px; }
@media (max-width: 760px) {
  .dn-duas { grid-template-columns: 1fr; }
  .dn-swipe { display: inline-flex !important; color: #2b6cb0; }
  .dn-regua { grid-auto-flow: row; grid-auto-columns: auto; }
}
.dz-pl { fill-opacity: .94; } .dz-pl-tr { fill: #5e3b1c; } .dz-pl-tf { fill: #2b6cb0; } .dz-pl-tr2 { fill: #2f855a; } .dz-pl-ab { fill: #6b46c1; }
.dz-t-w { fill: #fff; } .dz-s-w { fill: #fff; fill-opacity: .9; }
.dn-regua4, .dn-regua5 { grid-auto-flow: row; grid-auto-columns: auto; }
.dn-regua4 li, .dn-regua5 li { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; padding: 6px 10px; }
.dn-regua4 li span, .dn-regua5 li span { text-align: right; }
@media (min-width: 761px) { .dn-props-n4, .dn-props-n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dn-duas p { margin: 0 0 10px; }

/* ===== Proteção de Cultivos: visual novo (29/11/2026, base da imagem de referência) ===== */
.pc-hero2 { position: relative; display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr); align-items: center; gap: 4px; margin: 8px 0 18px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(120deg, #f4faee 0%, #e6f2da 55%, #d6eac6 100%); border: 1px solid #dcebd0; box-shadow: 0 10px 28px -20px rgba(20, 60, 25, .45); min-height: 190px; }
.pc-hero2.pc-lI { background: linear-gradient(120deg, #fbf6ee, #f3ead9 60%, #e9dcc4); border-color: #ecdcc6; }
.pc-hero2.pc-lF { background: linear-gradient(120deg, #f3f8fb, #e5eff6 60%, #d7e6f0); border-color: #d3e2f0; }
.pc-hero2.pc-lN { background: linear-gradient(120deg, #faf5ee, #efe4d6 60%, #e3d4c0); border-color: #e7d8c6; }
.pc-hero2.pc-lR { background: linear-gradient(120deg, #f8f4fb, #ece4f4 60%, #e0d4ee); border-color: #e2d6ef; }
.pc-hero2-art { align-self: stretch; display: flex; align-items: flex-end; }
.pc-hero2-art .pc-art { width: 100%; height: auto; display: block; }
.pc-hero2-txt { padding: 18px 22px 18px 6px; }
.pc-hero2-txt .eyebrow { display: block; margin-bottom: 4px; }
.pc-hero2 h1 { margin: 0 0 6px; font-size: clamp(1.6rem, 4.4vw, 2.4rem); line-height: 1.08; color: var(--verde-900); letter-spacing: -.01em; }
.pc-hero2 p { margin: 0; color: #34483a; font-size: clamp(.92rem, 2.2vw, 1.05rem); line-height: 1.45; }

.pc-topics { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
@media (min-width: 760px) { .pc-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pc-topic { display: flex; align-items: center; gap: 14px; padding: 14px 14px 14px 12px; background: #fff; border: 1px solid #e3eadf; border-radius: 16px; text-decoration: none; color: var(--ink);
  box-shadow: 0 6px 18px -16px rgba(20, 60, 25, .5); transition: border-color .15s, transform .15s, box-shadow .15s; height: 100%; box-sizing: border-box; }
.pc-topic:hover { border-color: var(--verde-600); transform: translateY(-1px); box-shadow: 0 10px 22px -16px rgba(20, 60, 25, .55); color: var(--ink); }
.pc-topic-ico { flex: none; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--cb, #e9f4e1); color: var(--c, var(--verde-700)); }
.pc-topics:not([class*="pc-l"]) .pc-topic:not([class*="pc-l"]) .pc-topic-ico { background: #e9f4e1; color: var(--verde-700); }
.pc-topic-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pc-topic-b strong { font-size: 1.04rem; color: var(--verde-900); }
.pc-topic-b small { color: var(--muted); font-size: .88rem; line-height: 1.35; }
.pc-topic .pc-go { color: var(--verde-700); flex: none; }

.pc-dica { display: flex; align-items: center; gap: 14px; margin: 4px 0 22px; padding: 14px 18px; border-radius: 16px; color: #fff;
  background: linear-gradient(110deg, #145a32, #1f6b34 60%, #2a7a43); box-shadow: 0 10px 24px -18px rgba(10, 50, 20, .7); }
.pc-dica .pc-i { color: #f6d36b; flex: none; }
.pc-dica p { margin: 0; font-size: .95rem; line-height: 1.4; }
.pc-dica strong { display: block; color: #fff; margin-bottom: 2px; }

.pc-seg { display: flex; gap: 4px; padding: 4px; margin: -4px auto 16px; max-width: 420px; background: #fff; border: 1px solid #e3eadf; border-radius: 999px; box-shadow: 0 6px 18px -16px rgba(20, 60, 25, .5); }
.pc-seg > * { flex: 1; text-align: center; padding: 9px 12px; border-radius: 999px; font-weight: 600; text-decoration: none; color: var(--verde-900); }
.pc-seg > [aria-current] { background: var(--verde-700); color: #fff; box-shadow: 0 4px 10px -6px rgba(20, 60, 25, .7); }
.pc-seg > a:hover { background: var(--verde-50); }

.pc-cta { display: flex; align-items: center; gap: 14px; margin: 4px 0 18px; padding: 14px 16px; border-radius: 16px; background: #eef6e6; border: 1px solid #d6e8c8; text-decoration: none; color: var(--verde-900); }
.pc-cta:hover { border-color: var(--verde-600); color: var(--verde-900); }
.pc-cta > span { flex: 1; display: flex; flex-direction: column; }
.pc-cta small { color: var(--muted); }
.pc-cta .pc-i { color: var(--verde-700); flex: none; }

.pc-info { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 18px; padding: 16px 18px; border-radius: 16px; background: #eef6e6; border: 1px solid #d6e8c8; }
.pc-info .pc-i { color: var(--verde-700); flex: none; }
.pc-info p { margin: 0; }

.pc-clsg { margin: 0 0 16px; padding: 14px 16px; background: #fff; border: 1px solid #e3eadf; border-radius: 16px; }
.pc-clsg h2 { margin: 0 0 8px; font-size: 1.08rem; color: var(--verde-900); }
.pc-clsg p { margin: 8px 0 0; color: #34483a; }
.pc-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pc-chips li { padding: 7px 14px; border-radius: 999px; background: var(--verde-50); border: 1px solid #d6e8c8; font-weight: 600; font-size: .9rem; color: var(--verde-900); }

.pc-mgrid { display: grid; gap: 14px; margin: 8px 0 18px; }
.pc-mg { padding: 14px; background: #fff; border: 1px solid #e3eadf; border-radius: 16px; }
.pc-mg h3 { margin: 0; font-size: 1.04rem; color: var(--c, var(--verde-900)); }
.pc-mg > p { margin: 2px 0 10px; color: var(--muted); font-size: .88rem; }
.pc-mg ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 8px; }
.pc-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; height: 100%; box-sizing: border-box; padding: 14px 10px; border-radius: 14px; background: var(--cb, #f2f8ee);
  border: 1px solid transparent; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.pc-tile:hover { border-color: var(--c, var(--verde-600)); transform: translateY(-1px); color: var(--ink); }
.pc-tile .pc-moa { font-size: 1rem; min-width: 38px; }
.pc-tile strong { font-size: .9rem; line-height: 1.25; }
.pc-tile small { color: var(--muted); font-size: .78rem; }

.pc-txt { padding: 4px 2px 4px; }
.pc-txt h2 { font-size: 1.15rem; margin: 16px 0 6px; color: var(--verde-900); }
.pc-txt p { margin: 0 0 8px; }
.pc-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pc-check li { display: flex; gap: 10px; align-items: flex-start; }
.pc-check .pc-i { color: var(--verde-700); flex: none; margin-top: 2px; }
.pc-alerta { display: flex; gap: 14px; align-items: flex-start; margin: 16px 0; padding: 14px 18px; border-radius: 16px; background: #fdf3dc; border: 1px solid #efd9a2; }
.pc-alerta .pc-i { color: #b8860b; flex: none; }
.pc-alerta p { margin: 0; }
.pc-mais { margin: 18px 0; }

.pc-fchips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin: 0 0 8px; scrollbar-width: thin; }
.pc-fchips > * { flex: none; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid #dfe7da; text-decoration: none; color: var(--verde-900); font-weight: 600; font-size: .92rem; }
.pc-fchips > a:hover { border-color: var(--verde-600); }
.pc-fchips > [aria-current] { background: var(--cb, #e6f2da); border-color: var(--c, var(--verde-600)); color: var(--verde-900); }
.pc-fchips > [aria-current]:not([class*="pc-l"]) { background: #e6f2da; border-color: var(--verde-600); }
.pc-adv { margin: 0 0 14px; }
.pc-adv > summary { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--verde-700); padding: 6px 0; }
.pc-adv[open] > summary { margin-bottom: 8px; }

.pc-prods .pc-prod { align-items: center; border-radius: 16px; box-shadow: 0 6px 18px -16px rgba(20, 60, 25, .5); }
.pc-prod .pc-go { color: var(--verde-700); flex: none; }
.pc-prod-cat { color: var(--muted); font-size: .86rem; }
.pc-chip-modo { background: #eef6e6; color: var(--verde-900); border: 1px solid #d6e8c8; }

@media (max-width: 560px) {
  .pc-hero2 { grid-template-columns: minmax(0, 42%) minmax(0, 1fr); min-height: 150px; border-radius: 18px; }
  .pc-hero2-txt { padding: 12px 14px 12px 0; }
  .pc-hero2 h1 { font-size: 1.45rem; }
  .pc-hero2 p { font-size: .86rem; }
  .pc-hero2-txt .eyebrow { font-size: .68rem; }
  .pc-topic { padding: 12px 10px; gap: 12px; }
  .pc-topic-ico { width: 48px; height: 48px; }
}
.pc-lede { margin: -6px 0 16px; color: #34483a; font-size: 1rem; }
@media (min-width: 761px) { .pc-hero2 { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); min-height: 0; } .pc-hero2-txt { padding: 22px 28px 22px 10px; } }
/* banner mais baixo no computador (29/11/2026) */
@media (min-width: 761px) {
  .pc-hero2 { grid-template-columns: 210px minmax(0, 1fr); margin: 4px 0 12px; border-radius: 18px; }
  .pc-hero2-art .pc-art { max-height: 154px; }
  .pc-hero2-txt { padding: 14px 24px 14px 8px; }
  .pc-hero2 h1 { font-size: 1.9rem; margin-bottom: 4px; }
  .pc-hero2 p { font-size: 1rem; }
}
.pc-page .pc-search { margin: 8px 0 6px; }
.pc-page .pc-upd { margin: 0 0 14px; }
.pc-lede { margin: 0 0 12px; }
.pc-seg { margin: 0 auto 12px; }

/* ===== Proteção de Cultivos v2: fonte Poppins, menos espaço, cartões mais limpos (29/11/2026) ===== */
@font-face { font-family: "Poppins"; src: url("/static/poppins-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/static/poppins-medium.woff") format("woff"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/static/poppins-bold.woff") format("woff"); font-weight: 700 800; font-display: swap; }
.pc-page .main { font-family: "Poppins", var(--font); font-size: 15px; line-height: 1.55; gap: 14px; padding-top: 14px; letter-spacing: -.003em; }
.pc-page .main h1, .pc-page .main h2, .pc-page .main h3, .pc-page .main strong { letter-spacing: -.01em; }
.pc-page .main h1, .pc-page .main h2, .pc-page .main h3 { font-weight: 700; }
.pc-page .main strong { font-weight: 600; }
.pc-page .main input, .pc-page .main button, .pc-page .main select, .pc-page .main .btn { font-family: inherit; }
.pc-page .crumbs-row { margin-bottom: -4px; }
.pc-page .pc-h2 { font-size: 1.15rem; margin: 6px 0 10px; color: var(--verde-900); }
.pc-page .pc-small, .pc-page .pc-upd { font-size: .8rem; }
.pc-page .eyebrow { font-weight: 600; letter-spacing: .08em; }

.pc-hero2 { margin: 0; }
.pc-hero2 h1 { font-weight: 700; color: #12391f; }
.pc-hero2 p { color: #3b4d40; }
.pc-hero2 .pc-hero2-meta { margin-top: 8px; font-size: .8rem; font-weight: 500; color: var(--verde-700); }
@media (min-width: 761px) { .pc-hero2 { grid-template-columns: 230px minmax(0, 1fr); } .pc-hero2-art .pc-art { max-height: 168px; } .pc-hero2 h1 { font-size: 1.85rem; } }

.pc-seg { margin: 0 auto; max-width: 380px; }
.pc-seg > * { font-weight: 600; font-size: .95rem; padding: 8px 12px; }
.pc-topics { gap: 10px; margin: 0; }
.pc-topic { border-radius: 18px; padding: 12px 14px 12px 12px; gap: 14px; border-color: #e6ece2; box-shadow: 0 2px 2px rgba(20, 60, 25, .03), 0 8px 20px -16px rgba(20, 60, 25, .45); }
.pc-topic-ico { width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(145deg, #f0f8e8, #dcefcb); color: var(--verde-700); }
.pc-topic[class*="pc-l"] .pc-topic-ico, .pc-topics[class*="pc-l"] .pc-topic-ico { background: linear-gradient(145deg, #fff, var(--cb)); color: var(--c); }
.pc-topic-b strong { font-size: 1rem; font-weight: 600; color: #12391f; }
.pc-topic-b small { font-size: .82rem; }
.pc-cat-meta { font-size: .76rem; font-weight: 500; }

/* páginas de tópico */
.pc-page .pc-ov { display: grid; gap: 10px; }
.pc-page .pc-ovc { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid #e6ece2; border-radius: 18px; padding: 16px; box-shadow: 0 8px 20px -18px rgba(20, 60, 25, .45); }
.pc-page .pc-ovc h2 { font-size: 1.02rem; margin: 0 0 4px; color: #12391f; }
.pc-page .pc-ovc p { margin: 0; color: #3b4d40; }
.pc-page .pc-ovi { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(145deg, #f0f8e8, #dcefcb); color: var(--verde-700); }
.pc-clsg { border-radius: 18px; padding: 16px; border-color: #e6ece2; box-shadow: 0 8px 20px -18px rgba(20, 60, 25, .45); margin: 0; }
.pc-clsg h2 { font-size: 1.02rem; }
.pc-chips li { font-weight: 500; font-size: .86rem; padding: 6px 14px; background: #fff; border-color: #d6e8c8; box-shadow: 0 2px 6px -4px rgba(20, 60, 25, .4); }
.pc-chips li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--verde-600); margin-right: 8px; vertical-align: 1px; }
.pc-info, .pc-cta, .pc-alerta, .pc-dica { margin: 0; border-radius: 18px; }
.pc-mgrid { margin: 0; }
.pc-mg { border-radius: 18px; border-color: #e6ece2; box-shadow: 0 8px 20px -18px rgba(20, 60, 25, .45); }
.pc-mg h3 { font-size: 1rem; }
.pc-tile { border-radius: 16px; background: linear-gradient(160deg, #fff, var(--cb, #eef6e6)); border: 1px solid #e6ece2; }
.pc-tile .pc-moa { font-weight: 700; }
.pc-tile strong { font-weight: 600; font-size: .84rem; }
.pc-txt { background: #fff; border: 1px solid #e6ece2; border-radius: 18px; padding: 4px 18px 16px; box-shadow: 0 8px 20px -18px rgba(20, 60, 25, .45); }
.pc-txt h2 { font-size: 1.05rem; margin: 14px 0 4px; }
.pc-fchips > * { font-weight: 500; font-size: .86rem; }
.pc-prods .pc-prod { border-radius: 18px; border-color: #e6ece2; }
.pc-prod-name { font-weight: 600; }
.pc-page .pc-fontes, .pc-page .pc-mais { margin: 4px 0; }

/* ===== Manejo Inteligente ===== */
.mi-page .main { --mi-r: #a3341f; --mi-r-bg: #fbeae6; --mi-a: #8a5a00; --mi-a-bg: #fdf3dc; --mi-v: #1f5f34; --mi-v-bg: #e4f1e7; --mi-i: #4b5a70; --mi-i-bg: #edf0f5; }
.mi-page .main > * { min-width: 0; max-width: 100%; }
.mi-res, .mi-panel, .mi-itens, .mi-it, .mi-fz, .mi-tl { grid-template-columns: minmax(0, 1fr); }
.mi-i { width: 18px; height: 18px; flex: none; vertical-align: -3px; }
.mi-i-lg { width: 26px; height: 26px; }
.mi-banner { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; background: linear-gradient(120deg, #12391f, #2a7a43); color: #fff; text-decoration: none; box-shadow: 0 6px 18px rgba(18,57,31,.18); }
.mi-banner:hover { color: #fff; filter: brightness(1.06); }
.mi-banner-ico { font-size: 28px; }
.mi-banner strong { display: block; font-size: 17px; }
.mi-banner small { display: block; color: #cfe6d4; font-size: 13px; }
.mi-banner-go { margin-left: auto; white-space: nowrap; font-weight: 600; background: rgba(255,255,255,.15); padding: 6px 12px; border-radius: 999px; }
.mi-hero { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: 16px; background: linear-gradient(120deg, #12391f 0%, #1f5f34 60%, #2a7a43 100%); color: #fff; }
.mi-hero h1 { font-size: clamp(24px, 4vw, 32px); margin: 2px 0 6px; }
.mi-hero p { margin: 0; color: #d7ebdb; max-width: 62ch; font-size: 14.5px; }
.mi-hero .eyebrow { color: #a9d8b4; }
.mi-hero-art { width: 150px; flex: none; margin-left: auto; color: #bfe3c7; }
.mi-mods { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.mi-mod { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; height: 100%; }
.mi-mod:hover { border-color: var(--verde-600); box-shadow: 0 6px 16px rgba(31,95,52,.1); transform: translateY(-1px); color: var(--ink); }
.mi-mod strong { display: block; font-size: 15.5px; }
.mi-mod small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; }
.mi-mod-ico, .mi-head-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--verde-50); color: var(--verde-700); flex: none; }
.mi-go { margin-left: auto; color: var(--muted); }
.mi-hub-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.mi-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.mi-link b { background: var(--verde-700); color: #fff; border-radius: 999px; padding: 0 8px; font-size: 12px; }
.mi-leg { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; font-size: 12.5px; color: var(--muted); }
.mi-leg span { display: inline-flex; align-items: center; gap: 6px; }
.mi-leg i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.mi-c-restricao { --c: var(--mi-r); --cb: var(--mi-r-bg); }
.mi-c-atencao { --c: var(--mi-a); --cb: var(--mi-a-bg); }
.mi-c-verificada { --c: var(--mi-v); --cb: var(--mi-v-bg); }
.mi-c-insuficiente { --c: var(--mi-i); --cb: var(--mi-i-bg); }
.mi-aviso { margin: 0; padding: 10px 14px; border-radius: 10px; background: var(--warn-bg); color: #5c3d00; font-size: 13.5px; border-left: 4px solid var(--warn); }
.mi-head { display: flex; align-items: center; gap: 14px; }
.mi-head h1 { font-size: clamp(22px, 3.4vw, 28px); margin: 0; }
.mi-head p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.mi-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.mi-tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-size: 13.5px; white-space: nowrap; }
.mi-tabs a[aria-current] { background: var(--verde-700); border-color: var(--verde-700); color: #fff; }
.mi-grid { display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); gap: 16px; align-items: start; }
.mi-grid-1 { grid-template-columns: minmax(0, 1fr); }
.mi-panel { display: grid; gap: 12px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
@media (min-width: 900px) { .mi-grid:not(.mi-grid-1) > .mi-panel { position: sticky; top: 12px; } }
.mi-res { display: grid; gap: 12px; min-width: 0; transition: opacity .15s; }
.mi-res.mi-carregando { opacity: .55; }
.mi-field { display: grid; gap: 4px; }
.mi-field label, .mi-pick > label { font-size: 13px; font-weight: 600; color: var(--muted); }
.mi-page input:not([type=range]):not([type=checkbox]), .mi-page select, .mi-page textarea { width: 100%; min-height: 40px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font: inherit; font-size: 14.5px; }
.mi-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mi-hint { margin: 0; color: var(--muted); font-size: 13.5px; }
.mi-nota { margin: 0; color: var(--muted); font-size: 13px; }
.mi-h2 { font-size: 17px; margin: 0; }
.mi-pick { display: grid; gap: 6px; }
.mi-pick-row { display: flex; gap: 6px; }
.mi-pick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: 300px; overflow: auto; }
.mi-pick-list:empty { display: none; }
.mi-pick-list a, .mi-pick-list button { display: block; width: 100%; text-align: left; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--verde-50); color: var(--ink); text-decoration: none; cursor: pointer; font: inherit; }
.mi-pick-list a:hover, .mi-pick-list button:hover, .mi-pick-list button:focus-visible { border-color: var(--verde-600); background: #fff; }
.mi-pick-list strong { display: block; font-size: 14px; }
.mi-pick-list span { display: block; font-size: 12.5px; color: var(--muted); }
.mi-pick-none { font-size: 13px; color: var(--muted); padding: 4px 2px; }
.mi-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mi-chip { position: relative; display: grid; padding: 7px 34px 7px 11px; border-radius: 10px; background: var(--verde-50); border: 1px solid #cfe3d4; min-width: 0; max-width: 100%; }
.mi-chip strong { font-size: 14px; }
.mi-chip small { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mi-chip button, .mi-salvas form button, .mi-anexos form button, .mi-suc-x { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 24px; height: 24px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; padding: 0; }
.mi-chip button:hover, .mi-salvas form button:hover, .mi-anexos form button:hover, .mi-suc-x:hover { background: var(--danger-bg); color: var(--danger); }
.mi-chip button .mi-i, .mi-salvas .mi-i, .mi-anexos form .mi-i, .mi-suc-x .mi-i { width: 15px; height: 15px; }
.mi-cont { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mi-cont li { display: grid; gap: 1px; padding: 8px 12px; border-radius: 10px; background: var(--cb); color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 22%, transparent); }
.mi-cont b { font-size: 22px; line-height: 1.1; }
.mi-cont span { font-size: 12px; font-weight: 600; }
.mi-cont .mi-zero { opacity: .5; }
.mi-itens { display: grid; gap: 10px; }
.mi-it { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--c); border-radius: 12px; padding: 12px 14px; display: grid; gap: 6px; }
.mi-it header { display: grid; gap: 4px; justify-items: start; }
.mi-it h3 { font-size: 15.5px; margin: 0; line-height: 1.3; }
.mi-it > p { margin: 0; font-size: 14px; }
.mi-badge { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--c); background: var(--cb); padding: 2px 8px; border-radius: 999px; }
.mi-q summary, .mi-src summary { cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--verde-700); }
.mi-q dl { margin: 8px 0 0; display: grid; gap: 8px; }
.mi-q dl > div { padding: 6px 0 0; border-top: 1px dashed var(--line); }
.mi-q dt { font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.mi-q dd { margin: 2px 0 0; font-size: 14px; }
.mi-q .mi-q-vazio dd { color: var(--muted); font-style: italic; font-size: 13px; }
.mi-src ol { margin: 6px 0 0; padding-left: 18px; font-size: 12.5px; color: var(--muted); display: grid; gap: 4px; }
.mi-src-none { margin: 0; font-size: 12.5px; color: var(--muted); }
.mi-open { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.mi-vazio { padding: 22px; text-align: center; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); background: var(--surface); }
.mi-tres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mi-tres-c { display: grid; gap: 3px; justify-items: start; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--c); }
.mi-tres-c strong { font-size: 14.5px; }
.mi-tres-c small { font-size: 12.5px; color: var(--muted); }
.mi-tab-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.mi-tab { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.mi-tab caption { text-align: left; padding: 10px 12px 4px; font-weight: 700; font-size: 14px; }
.mi-tab th, .mi-tab td { padding: 8px 10px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.mi-tab thead th { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; background: var(--verde-50); }
.mi-tab tbody th small, .mi-tab td small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }
.mi-l { display: block; }
.mi-l + .mi-l { margin-top: 4px; }
.mi-moa { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 1px 7px; border-radius: 6px; background: #eef3ff; color: #2c4a8a; margin: 0 3px 3px 0; white-space: nowrap; }
.mi-form { font-weight: 700; }
.mi-ok { color: var(--mi-v); font-weight: 600; } .mi-no { color: var(--mi-r); font-weight: 600; }
.mi-ordem { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.mi-ordem figcaption { font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.mi-ordem figcaption small { font-weight: 400; color: var(--muted); margin-left: 6px; }
.mi-ordem ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; overflow-x: auto; counter-reset: o; }
.mi-ordem li { counter-increment: o; flex: 1 0 92px; display: grid; align-content: start; gap: 3px; padding: 8px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); font-size: 12px; position: relative; }
.mi-ordem li::before { content: counter(o); font-size: 11px; color: var(--muted); }
.mi-ordem li b { font-size: 13px; }
.mi-ordem li small { color: var(--muted); }
.mi-ordem li.mi-on { background: var(--verde-50); border-color: var(--verde-600); }
.mi-ordem-p { display: block; background: var(--verde-700); color: #fff; border-radius: 6px; padding: 2px 6px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mi-save { display: flex; gap: 8px; flex-wrap: wrap; }
.mi-save input { flex: 1 1 220px; }
.mi-save .btn, .mi-btn-out { display: inline-flex; align-items: center; gap: 6px; justify-self: start; }
.mi-seq { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: s; }
.mi-seq-i { counter-increment: s; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); display: grid; gap: 6px; }
.mi-seq-h { display: flex; align-items: center; gap: 8px; }
.mi-seq-h::before { content: counter(s); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--verde-700); color: #fff; font-size: 12px; font-weight: 700; flex: none; }
.mi-seq-h strong { font-size: 14px; flex: 1; min-width: 0; }
.mi-seq-h button { border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: 2px; border-radius: 6px; }
.mi-seq-h button:hover { color: var(--danger); background: var(--danger-bg); }
.mi-seq-f { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mi-seq-f label { display: grid; gap: 2px; font-size: 12px; color: var(--muted); font-weight: 600; }
.mi-seq-f label:last-child:nth-child(3) { grid-column: 1 / -1; }
.mi-tl { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 8px; }
.mi-tl figcaption { font-weight: 700; font-size: 14px; }
.mi-tl figcaption small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.mi-tl-rows { display: grid; gap: 6px; }
.mi-tl-row { display: grid; grid-template-columns: 150px 1fr auto; gap: 10px; align-items: center; }
.mi-tl-lab strong { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mi-tl-lab small { font-size: 11.5px; color: var(--muted); }
.mi-tl-track { width: 100%; height: 22px; display: block; }
.mi-tl-base { fill: var(--line); } .mi-tl-dt { fill: #cfe3d4; } .mi-tl-dot { fill: var(--verde-700); }
.mi-tl-gaps { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--muted); }
.mi-suc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.mi-suc-e { position: relative; display: grid; align-content: start; gap: 8px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); }
.mi-suc-n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--verde-700); color: #fff; font-weight: 700; font-size: 13px; }
.mi-add { justify-self: start; display: inline-flex; align-items: center; gap: 6px; }
.mi-flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; }
.mi-flow-c { display: grid; align-content: start; gap: 2px; padding: 10px 14px; border-radius: 12px; background: var(--verde-50); border: 1px solid #cfe3d4; min-width: 120px; }
.mi-flow-c strong { font-size: 15px; color: var(--verde-900); }
.mi-flow-c small { font-size: 12px; color: var(--muted); }
.mi-flow-a { align-self: center; font-size: 22px; color: var(--verde-600); }
.mi-solo { display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); gap: 16px; align-items: start; }
.mi-props { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mi-props div { background: var(--bg); border-radius: 8px; padding: 6px 8px; }
.mi-props dt { font-size: 11.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; }
.mi-props dd { margin: 0; font-size: 13px; }
.mi-cmp { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.mi-cens { display: grid; gap: 10px; }
.mi-cen { border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px 10px; margin: 0; display: grid; gap: 6px; }
.mi-cen legend { font-weight: 700; font-size: 14px; padding: 0 4px; }
.mi-cen[data-mi-cen="B"] { background: #f7f9fd; }
.mi-sl { display: grid; gap: 0; font-size: 13px; }
.mi-sl output { font-weight: 700; color: var(--verde-700); }
.mi-sl small { color: var(--muted); }
.mi-sl input { width: 100%; accent-color: var(--verde-700); }
.mi-meter { display: inline-flex; gap: 2px; vertical-align: middle; margin-right: 6px; }
.mi-meter i { width: 14px; height: 8px; border-radius: 2px; background: var(--line); }
.mi-meter i.on { background: var(--verde-600); }
.mi-solo-t td b { font-size: 13px; }
.mi-up { color: #8a3b12; font-weight: 600; } .mi-dn { color: #1f4f8a; font-weight: 600; } .mi-eq { color: var(--muted); }
.mi-filtros { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.mi-filtros label { display: grid; gap: 2px; font-size: 12px; font-weight: 600; color: var(--muted); flex: 1 1 140px; }
.mi-fz { display: grid; gap: 8px; }
.mi-tal { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.mi-tal a { display: grid; gap: 2px; padding: 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.mi-tal a:hover { border-color: var(--verde-600); color: var(--ink); }
.mi-tal strong { font-size: 16px; } .mi-tal small { color: var(--muted); font-size: 12.5px; } .mi-tal span { font-size: 12.5px; color: var(--verde-700); font-weight: 600; }
.mi-hist { list-style: none; margin: 0; padding: 0 0 0 18px; display: grid; gap: 8px; border-left: 2px solid #cfe3d4; margin-left: 6px; }
.mi-hist li { position: relative; display: grid; gap: 2px; }
.mi-hist li::before { content: ""; position: absolute; left: -25px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--verde-700); border: 2px solid #fff; box-shadow: 0 0 0 1px #cfe3d4; }
.mi-hist time { font-size: 12px; font-weight: 700; color: var(--muted); }
.mi-hist a { display: grid; gap: 2px; padding: 8px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); position: relative; }
.mi-hist a:hover { border-color: var(--verde-600); color: var(--ink); }
.mi-hist small { color: var(--muted); font-size: 12.5px; }
.mi-anx { position: absolute; right: 10px; top: 8px; font-size: 12px; color: var(--muted); }
.mi-del { justify-self: start; }
.mi-dl { margin: 0; display: grid; gap: 6px; }
.mi-dl dt { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.mi-dl dd { margin: 0; font-size: 14px; }
.mi-anexos, .mi-salvas { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mi-anexos li, .mi-salvas li { position: relative; }
.mi-anexos a, .mi-salvas a { display: grid; gap: 2px; padding: 10px 40px 10px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.mi-anexos a:hover, .mi-salvas a:hover { border-color: var(--verde-600); color: var(--ink); }
.mi-anexos small, .mi-salvas small { color: var(--muted); font-size: 12.5px; }
.mi-anexos form, .mi-salvas form { position: absolute; top: 4px; right: 4px; }
.mi-chip-t { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--verde-700); }
.mi-upl { display: grid; gap: 8px; padding: 12px; border: 1px dashed var(--line); border-radius: 12px; background: var(--surface); }
.mi-2c { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mi-box { padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; display: grid; gap: 8px; align-content: start; }
.mi-box ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 13.5px; }
.mi-box p { margin: 0; font-size: 13.5px; color: var(--muted); }
.mi-box-falta { background: var(--mi-i-bg); }
.mi-fontes { list-style: none; padding: 0 !important; }
.mi-fontes li { display: grid; gap: 1px; padding-bottom: 6px; border-bottom: 1px dashed var(--line); }
.mi-fontes span { font-size: 13px; } .mi-fontes small { font-size: 12px; color: var(--muted); }
@media (max-width: 860px) {
  .mi-grid, .mi-solo, .mi-2c { grid-template-columns: minmax(0, 1fr); }
  .mi-hero-art { display: none; }
  .mi-cont { grid-template-columns: repeat(2, 1fr); }
  .mi-tres { grid-template-columns: 1fr; }
  .mi-tl-row { grid-template-columns: 1fr; gap: 2px; }
  .mi-tabs span { font-size: 13px; }
}
@media (max-width: 520px) { .mi-2, .mi-seq-f { grid-template-columns: 1fr; } .mi-banner small { display: none; } }

/* ===== Mecanismos de ação: figura do alvo e fichas por processo ===== */
.pc-cor0 { --k: #2f7d4f; } .pc-cor1 { --k: #c27c0e; } .pc-cor2 { --k: #2a6fb0; } .pc-cor3 { --k: #b0452a; } .pc-cor4 { --k: #7a4fb0; } .pc-cor5 { --k: #0f8a8a; }
.pc-cor6 { --k: #a1477a; } .pc-cor7 { --k: #5b7a1f; } .pc-cor8 { --k: #b06a2a; } .pc-cor9 { --k: #3d5a99; } .pc-cor10 { --k: #c0392b; } .pc-cor11 { --k: #6b6b6b; }
.pc-alvo { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(250px, 1fr); gap: 18px; align-items: center; padding: 16px; background: #fff; border: 1px solid #e1e7de; border-radius: 18px; box-shadow: 0 4px 18px rgba(30, 60, 35, .06); }
.pc-alvo-fig { margin: 0; }
.pc-alvo-svg { width: 100%; height: auto; display: block; border-radius: 12px; background: linear-gradient(180deg, #fbfdf9, #f1f7ee); }
.pc-alvo-fig figcaption { font-size: .72rem; color: var(--muted); margin-top: 4px; text-align: right; }
.pc-alvo-leg h2 { font-size: 1.15rem; margin: 0 0 4px; }
.pc-alvo-leg > p { margin: 0 0 10px; font-size: .86rem; color: var(--muted); }
.pc-alvo-leg ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pc-alvo-leg a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 11px; text-decoration: none; color: var(--ink); background: color-mix(in srgb, var(--k) 7%, #fff); border: 1px solid color-mix(in srgb, var(--k) 20%, transparent); transition: transform .12s, background .12s; }
.pc-alvo-leg a:hover { background: color-mix(in srgb, var(--k) 14%, #fff); transform: translateX(2px); color: var(--ink); }
.pc-alvo-leg strong { display: block; font-size: .9rem; line-height: 1.25; }
.pc-alvo-leg small { display: block; font-size: .74rem; color: var(--muted); }
.pc-proc-n { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--k); color: #fff; font-weight: 700; font-size: .88rem; box-shadow: 0 0 0 3px color-mix(in srgb, var(--k) 18%, transparent); }
.pc-ler { display: grid; gap: 8px; }
.pc-chain-demo { margin: 0; --c: #3f7f30; --cb: #e8f3e3; }
.pc-abrir { justify-self: start; }
.pc-proc { display: grid; gap: 10px; scroll-margin-top: 12px; }
.pc-proc-h { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(90deg, color-mix(in srgb, var(--k) 12%, #fff), #fff 80%); border-left: 5px solid var(--k); }
.pc-proc-h .pc-proc-n { width: 34px; height: 34px; font-size: 1rem; }
.pc-proc-h h2 { font-size: 1.12rem; margin: 2px 0 2px; color: color-mix(in srgb, var(--k) 70%, #18241b); }
.pc-proc-h p { margin: 0; font-size: .88rem; color: #46564a; }
.pc-fichas { display: grid; gap: 8px; }
.pc-ficha { background: #fff; border: 1px solid #e1e7de; border-radius: 14px; scroll-margin-top: 12px; transition: box-shadow .15s, border-color .15s; }
.pc-ficha[open] { border-color: color-mix(in srgb, var(--k) 45%, #e1e7de); box-shadow: 0 6px 20px rgba(30, 60, 35, .08); }
.pc-ficha > summary { display: flex; align-items: center; gap: 12px; padding: 11px 14px; cursor: pointer; list-style: none; }
.pc-ficha > summary::-webkit-details-marker { display: none; }
.pc-ficha > summary:hover { background: color-mix(in srgb, var(--k) 5%, #fff); border-radius: 14px; }
.pc-proc .pc-moa { --c: var(--k); --cb: color-mix(in srgb, var(--k) 12%, #fff); }
.pc-moa-lg { font-size: .86rem; min-width: 64px; text-align: center; padding: 4px 8px; }
.pc-ficha-t { flex: 1; min-width: 0; display: grid; }
.pc-ficha-t strong { font-size: .98rem; line-height: 1.3; }
.pc-ficha-t small { font-size: .8rem; color: var(--muted); line-height: 1.3; }
.pc-ficha-n { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.pc-ficha-ch { width: 18px; height: 18px; color: var(--muted); transform: rotate(90deg); transition: transform .15s; flex: none; }
.pc-ficha[open] .pc-ficha-ch { transform: rotate(-90deg); }
.pc-ficha-b { display: grid; gap: 12px; padding: 4px 14px 16px; border-top: 1px dashed #e1e7de; padding-top: 14px; margin: 0 2px; }
.pc-ficha-b .pc-chain { --c: var(--k); --cb: color-mix(in srgb, var(--k) 10%, #fff); margin: 0; }
.pc-sitio { display: flex; gap: 10px; align-items: center; margin: 0; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--k) 8%, #fff); font-weight: 600; font-size: .9rem; }
.pc-sitio small { display: block; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.pc-sitio .pc-i { color: var(--k); width: 22px; height: 22px; }
.pc-fx { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pc-fx-b { padding: 10px 12px; border-radius: 12px; background: #f8faf6; border: 1px solid #edf1ea; }
.pc-fx-b h4 { display: flex; align-items: center; gap: 7px; margin: 0 0 4px; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: color-mix(in srgb, var(--k) 75%, #18241b); }
.pc-fx-b h4 .pc-i { width: 18px; height: 18px; color: var(--k); }
.pc-fx-b p { margin: 0; font-size: .9rem; line-height: 1.5; }
.pc-fx-b p + p { margin-top: 6px; }
.pc-risco { font-size: .84rem !important; }
.pc-ficha-ex { margin: 0; font-size: .86rem; color: #46564a; }
.pc-ficha-ias > span { display: block; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 5px; }
.pc-ficha-ias ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; max-height: 140px; overflow: auto; }
.pc-ficha-ias a { display: inline-block; padding: 3px 9px; border-radius: 999px; background: #f1f5ef; border: 1px solid #e1e7de; font-size: .8rem; text-decoration: none; color: var(--ink); }
.pc-ficha-ias a:hover { border-color: var(--k); color: var(--k); }
.pc-ficha-btn { justify-self: start; }
@media (max-width: 860px) {
  .pc-alvo { grid-template-columns: minmax(0, 1fr); padding: 10px; }
  .pc-alvo-leg ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc-fx { grid-template-columns: minmax(0, 1fr); }
  .pc-ficha > summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "m t c" "m n c"; gap: 2px 10px; align-items: center; }
  .pc-ficha > summary .pc-moa { grid-area: m; align-self: start; min-width: 0; }
  .pc-ficha-t { grid-area: t; } .pc-ficha-n { grid-area: n; } .pc-ficha-ch { grid-area: c; }
}
@media (max-width: 420px) { .pc-alvo-leg ol { grid-template-columns: minmax(0, 1fr); } }
.pc-alvo-larga { grid-template-columns: minmax(0, 1fr); }
.pc-alvo-larga .pc-alvo-fig { max-width: 820px; justify-self: center; width: 100%; }
.pc-alvo-larga .pc-alvo-leg ol { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
@media (max-width: 860px) { .pc-alvo-larga .pc-alvo-leg ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pc-alvo-leg a { padding: 6px 8px; gap: 8px; } .pc-alvo-leg strong { font-size: .82rem; } }
@media (max-width: 340px) { .pc-alvo-larga .pc-alvo-leg ol { grid-template-columns: minmax(0, 1fr); } }

/* ===== Física do Solo: animações dos esquemas (estado final sem animação) ===== */
.a3-svg .fs-a-roda { transform: translateX(340px); }
.a3-svg .fs-a-esmaga { transform-box: fill-box; transform-origin: center; transform: scale(.62); }
.a3-svg .fs-a-faixa, .a3-svg .fs-a-capilar, .a3-svg .fs-a-frente { transform-box: fill-box; }
.a3-svg .fs-a-capilar { transform-origin: bottom; }
.a3-svg .fs-a-frente { transform-origin: top; }
.a3-svg .fs-a-faixa { transform-origin: left; }
@media (prefers-reduced-motion: no-preference) {
  .a3-svg .fs-a-cai.fs-a-rapido { animation: fs-cai-r 9s ease-in infinite; }
  .a3-svg .fs-a-cai.fs-a-medio { animation: fs-cai-m 9s ease-in infinite; }
  .a3-svg .fs-a-cai.fs-a-lento { animation: fs-cai-l 9s linear infinite; }
  .a3-svg .fs-a-sobe { animation: fs-sobe 1.6s ease-in-out infinite alternate; }
  .a3-svg .fs-a-capilar { animation: fs-encher 5s ease-out infinite; }
  .a3-svg .fs-a-frente.fs-a-rapido { animation: fs-frente-r 8s ease-out infinite; }
  .a3-svg .fs-a-frente.fs-a-medio { animation: fs-frente-m 8s ease-out infinite; }
  .a3-svg .fs-a-frente.fs-a-lento { animation: fs-frente-r 8s ease-out infinite; }
  .a3-svg .fs-a-gota { animation: fs-gota 1.4s ease-in infinite; }
  .a3-svg .fs-a-gota:nth-of-type(2n) { animation-delay: .5s; }
  .a3-svg .fs-a-gota:nth-of-type(3n) { animation-delay: .9s; }
  .a3-svg .fs-a-roda { animation: fs-roda 7s linear infinite; }
  .a3-svg .fs-a-faixa { animation: fs-faixa 7s linear infinite; }
  .a3-svg .fs-a-esmaga { animation: fs-esmaga 7s ease-in-out infinite; }
  .a3-svg .fs-a-raiz { stroke-dasharray: 420; animation: fs-raiz 7s ease-out infinite; }
  .a3-svg .fs-a-salpico { animation: fs-salpico 1.4s ease-out infinite; }
  .a3-svg .fs-a-enxurrada { animation: fs-enx 1.2s linear infinite; }
}
@keyframes fs-cai-r { 0% { transform: translateY(0); opacity: 1; } 12%, 88% { transform: translateY(262px); opacity: 1; } 100% { transform: translateY(262px); opacity: 0; } }
@keyframes fs-cai-m { 0% { transform: translateY(0); } 70%, 100% { transform: translateY(200px); } }
@keyframes fs-cai-l { 0% { transform: translateY(0); } 100% { transform: translateY(24px); } }
@keyframes fs-sobe { from { transform: translateY(-8px); } to { transform: translateY(8px); } }
@keyframes fs-encher { 0% { transform: scaleY(.02); } 70%, 100% { transform: scaleY(1); } }
@keyframes fs-frente-r { 0% { transform: scaleY(0); } 55%, 100% { transform: scaleY(1); } }
@keyframes fs-frente-m { 0% { transform: scaleY(0); } 90%, 100% { transform: scaleY(.45); } }
@keyframes fs-gota { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(46px); opacity: 0; } }
@keyframes fs-roda { 0% { transform: translateX(-70px); } 100% { transform: translateX(750px); } }
@keyframes fs-faixa { 0%, 26% { transform: scaleX(0); } 66%, 100% { transform: scaleX(1); } }
@keyframes fs-esmaga { 0%, 30% { transform: scale(1); } 62%, 100% { transform: scale(.62); } }
@keyframes fs-raiz { 0% { stroke-dashoffset: 420; } 70%, 100% { stroke-dashoffset: 0; } }
@keyframes fs-salpico { 0% { transform: translate(0, 0); opacity: 1; } 100% { transform: translate(14px, -26px); opacity: 0; } }
@keyframes fs-enx { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -52; } }

/* ===== Agro 360: trilha da disciplina (página do tópico) ===== */
.trilha { display: grid; gap: 10px; }
.trilha-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px; }
.trilha-head h2 { margin: 0; font-size: 1.2rem; }
.trilha-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: none; }
.trilha-item a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid #dfe7dc; border-radius: 14px; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.trilha-item a:hover { border-color: var(--verde-600); box-shadow: 0 6px 16px rgba(31, 95, 52, .08); transform: translateY(-1px); color: var(--ink); }
.trilha-n { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #eef4ec; color: var(--verde-700); font-weight: 700; border: 2px solid #cfe0cb; }
.trilha-txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.trilha-txt strong { font-size: 1rem; }
.trilha-txt small { color: var(--muted); font-size: .86rem; line-height: 1.35; }
.trilha-meta { font-size: .78rem; color: #5b6b5f; font-weight: 600; }
.trilha-bar { display: block; height: 5px; border-radius: 999px; background: #e6ede4; overflow: hidden; margin-top: 4px; max-width: 260px; }
.trilha-go { color: var(--muted); font-size: 1.4rem; }
.trilha-atual a { border-color: var(--verde-600); background: linear-gradient(90deg, #f1f8ee, #fff 70%); }
.trilha-atual .trilha-n { background: var(--verde-700); color: #fff; border-color: var(--verde-700); }
.trilha-feito .trilha-n { background: #2f7d3a; color: #fff; border-color: #2f7d3a; }

/* ---------- Mapa da molécula e comparador (Proteção de Cultivos) ---------- */
.mol-c-a { --c: #1f5f34; } .mol-c-b { --c: #8a6410; } .mol-c-c { --c: #7a3fa8; } .mol-c-d { --c: #b0452e; }
.mol-c-e { --c: #2f6f8a; } .mol-c-f { --c: #4f7f2a; } .mol-c-g { --c: #a83a5a; } .mol-c-h { --c: #2c6e6a; }
.mol-wrap, .mol-cmp { margin: 1.5rem 0 2rem; }
.mol-head h2 { margin: 0 0 .2rem; }
.mol-head p { margin: 0 0 1rem; color: #4a5a44; }
.mol-map { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 28px; align-items: center; padding: 8px 0; }
.mol-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.mol-ln { stroke: var(--c); stroke-width: 2.5; vector-effect: non-scaling-stroke; fill: none; opacity: .45; stroke-dasharray: 6 5; }
.mol-map[data-ativo] .mol-ln { opacity: .25; }
@media (prefers-reduced-motion: no-preference) {
  .mol-ln { stroke-dasharray: 600; stroke-dashoffset: 600; animation: molln 1.1s ease-out forwards; }
  @keyframes molln { to { stroke-dashoffset: 0; stroke-dasharray: 6 5; } }
  .mol-no { transition: transform .15s ease, background .15s ease, color .15s ease; }
  .mol-no:hover { transform: translateY(-2px); }
}
.mol-no { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 4px; min-height: 92px; justify-content: center; padding: 12px 14px 12px 18px;
  background: #fff; border: 2px solid var(--c); border-radius: 16px; color: #16301c; text-decoration: none; box-shadow: 0 4px 14px rgba(20,60,30,.08); }
.mol-no::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 5px; border-radius: 0 4px 4px 0; background: var(--c); }
.mol-no-t { font-weight: 800; color: var(--c); line-height: 1.2; }
.mol-no-v { font-size: .88rem; color: #4a5a44; line-height: 1.3; }
.mol-no.on { background: var(--c); color: #fff; box-shadow: 0 6px 18px rgba(20,60,30,.22); }
.mol-no.on .mol-no-t, .mol-no.on .mol-no-v { color: #fff; }
.mol-no.on::before { background: #fff; }
.mol-centro { position: relative; z-index: 1; justify-self: center; display: grid; place-items: center; text-align: center; gap: 4px; width: min(100%, 210px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2a7a43, #12391f); color: #fff; padding: 18px; box-shadow: 0 0 0 8px #e4f1e7, 0 10px 26px rgba(18,57,31,.3); }
.mol-centro strong { font-size: 1.35rem; line-height: 1.1; }
.mol-centro small { font-size: .8rem; opacity: .85; line-height: 1.2; }
.mol-cat { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.16); padding: 3px 10px; border-radius: 999px; }
.mol-paineis { margin-top: 1.2rem; display: grid; gap: 14px; }
.mol-painel { background: #fff; border: 1px solid #dce7d3; border-left: 6px solid var(--c); border-radius: 14px; padding: 16px 20px; }
.mol-painel:focus { outline: none; }
.mol-painel h3 { margin: 0 0 .6rem; color: var(--c); }
.mol-painel h4 { margin: 1rem 0 .4rem; }
.mol-painel[hidden] { display: none; }
.mol-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin: 0 0 1rem; }
.mol-dl div { background: #f2f8f3; border-radius: 10px; padding: 10px 12px; }
.mol-dl dt { font-size: .82rem; color: #4a5a44; }
.mol-dl dd { margin: 2px 0 0; }
.mol-tag { display: inline-block; font-size: .78rem; font-weight: 700; background: #e4f1e7; color: #1f5f34; padding: 2px 8px; border-radius: 999px; }
.mol-tag-f { background: var(--c, #1f5f34); color: #fff; }
.mol-big { font-size: 1.15rem; }
.mol-exp { border-top: 1px solid #e3ebde; padding: 8px 0; }
.mol-exp summary { cursor: pointer; font-weight: 700; color: #1f5f34; }
.mol-cls { border-collapse: collapse; width: 100%; margin: .6rem 0; font-size: .9rem; }
.mol-cls caption { text-align: left; font-weight: 700; padding-bottom: 4px; }
.mol-cls th, .mol-cls td { text-align: left; padding: 5px 8px; border-bottom: 1px solid #e3ebde; vertical-align: top; }
.mol-cls th { font-weight: 600; width: 45%; }
.mol-pratica { background: #f6f1df; border-radius: 10px; padding: 10px 12px; }
.mol-leitura { background: #e4f1e7; border-radius: 10px; padding: 10px 12px; }
.mol-itens { padding-left: 1.1rem; display: grid; gap: 6px; }
.mol-forms { list-style: none; padding: 0; display: grid; gap: 6px; }
.mol-forms li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed #dce7d3; padding-bottom: 4px; }
.mol-forms small { color: #4a5a44; white-space: nowrap; }
.mol-mec { border-bottom: 1px solid #e3ebde; padding-bottom: 8px; margin-bottom: 8px; }
.mol-mec p { margin: .4rem 0; }
.mol-nada { color: #4a5a44; font-style: italic; }
.mol-small { font-size: .88rem; color: #4a5a44; }
.mol-fontes { margin-top: .8rem; font-size: .85rem; }
.mol-fontes summary { cursor: pointer; color: #4a5a44; }
.mol-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 1rem; }
@media (max-width: 760px) {
  .mol-map { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mol-lines { display: none; }
  .mol-centro { grid-column: 1 / -1; order: -1; width: 170px; margin-bottom: 8px; }
  .mol-no { min-height: 76px; padding: 10px 10px 10px 14px; border-radius: 12px; }
  .mol-no-t { font-size: .92rem; }
  .mol-no-v { font-size: .8rem; }
  .mol-painel { padding: 14px; }
}
/* lista de moléculas */
.mol-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.mol-card { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid #dce7d3; border-radius: 12px; background: #fff; text-decoration: none; color: #16301c; height: 100%; }
.mol-card strong { color: #1f5f34; }
.mol-card small { color: #4a5a44; font-size: .8rem; }
.mol-card:hover { border-color: #2a7a43; }
/* comparador */
.mol-legs { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 12px; }
.mol-leg, .mol-row-v span { display: inline-flex; align-items: center; gap: 6px; }
.mol-cmp b[class^="mol-c-"], .mol-resumo b[class^="mol-c-"] { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--c); color: #fff; font-size: .75rem; }
.mol-resumo th a { font-weight: 700; }
.mol-row { background: #fff; border: 1px solid #dce7d3; border-radius: 14px; margin: 10px 0; }
.mol-row > summary { list-style: none; cursor: pointer; padding: 12px 16px; display: grid; gap: 6px; }
.mol-row > summary::-webkit-details-marker { display: none; }
.mol-row-h small { color: #4a5a44; }
.mol-row-v { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .92rem; }
.mol-row-mais { font-size: .8rem; color: #2a7a43; font-weight: 700; }
.mol-row[open] .mol-row-mais { display: none; }
.mol-row-b { padding: 0 16px 14px; }
.mol-esc { width: 100%; height: auto; display: block; }
.mol-bd0 { fill: #e4f1e7; } .mol-bd1 { fill: #f2ecd6; } .mol-bd2 { fill: #f7e3d6; } .mol-bd3 { fill: #f1dbe2; } .mol-bd4 { fill: #dfe9ef; }
.mol-bdt { font: 600 11px Inter, system-ui, sans-serif; fill: #4a5a44; }
.mol-mk-l { stroke: #c9d6c1; stroke-dasharray: 3 4; }
.mol-mk { fill: var(--c); stroke: #fff; stroke-width: 2; }
.mol-mkt { font: 800 11px Inter, system-ui, sans-serif; fill: #fff; }
.mol-esc { max-width: 720px; }
.mol-ct { stroke: #8fa585; stroke-width: 1; }
.mol-ctt { font: 600 10px Inter, system-ui, sans-serif; fill: #4a5a44; }
.mol-ln { opacity: .6; stroke-width: 3; }
.mol-map[data-ativo] .mol-ln { opacity: .3; }
.mol-map .mol-ln.on { opacity: 1; stroke-dasharray: none; }
.mol-map { gap: 30px 48px; }
@media (max-width: 760px) { .mol-map { gap: 10px; } }
@media (max-width: 760px) {
  .mol-bdt { font-size: 19px; } .mol-ctt { font-size: 17px; } .mol-mkt { font-size: 17px; }
  .mol-mk { r: 13px; }
  .mol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.mol-cls { table-layout: fixed; }
.mol-cls th, .mol-cls td { overflow-wrap: anywhere; }
.mol-row-v small { color: #4a5a44; }
@media (max-width: 760px) { .mol-bdt { display: none; } .mol-row-v { flex-direction: column; gap: 4px; } }
.mol-destaque { display: flex; align-items: center; gap: 14px; margin: 1rem 0 1.4rem; padding: 16px 18px; border-radius: 16px; text-decoration: none;
  background: linear-gradient(135deg, #12391f, #2a7a43); color: #fff; box-shadow: 0 8px 22px rgba(18,57,31,.25); }
.mol-destaque:hover { color: #fff; filter: brightness(1.06); }
.mol-destaque strong { display: block; font-size: 1.1rem; }
.mol-destaque small { display: block; opacity: .9; line-height: 1.35; margin-top: 2px; }
.mol-destaque-ico { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 12px; background: rgba(255,255,255,.15); }
.mol-destaque .pc-go { margin-left: auto; flex: none; }
/* Desafio: escolher tópicos dentro de cada cartão */
.tc-li { display: flex; flex-direction: column; gap: 6px; }
.tc-li > .tc { flex: 1 1 auto; }
.tc-topicos { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 6px 10px; font-size: .92rem; }
.tc-topicos summary { cursor: pointer; color: var(--verde-700); font-weight: 600; min-height: 32px; display: flex; align-items: center; }
.tc-topicos-help { margin: 4px 0 6px; color: var(--muted); font-size: .85rem; }
.tc-topicos ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tc-topicos label { display: flex; align-items: center; gap: 8px; min-height: 36px; cursor: pointer; }
.tc-topicos label span { flex: 1; }
.tc-topicos small { color: var(--muted); }
.tc-topicos em { font-style: normal; color: var(--muted); font-size: .85rem; }
.tc-topicos input { width: 18px; height: 18px; accent-color: #2a7a43; flex: none; }
