:root {
  --bg: #f4f6f9; --card: #ffffff; --ink: #1c2530; --ink-2: #4a5868; --ink-3: #7a8796; --line: #dfe4ea;
  --brand: #0d3b66; --brand-2: #155e8f; --accent: #0f8b8d;
  --red: #b42318; --red-bg: #fdecea; --amber: #a15c00; --amber-bg: #fff4e0; --green: #1a7f37; --green-bg: #e7f6ec;
  --grey-bg: #eef1f4; --radius: 10px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; }
header.top { background: var(--brand); color: #fff; }
header.top .in { max-width: 1280px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
header.top .marca { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; }
header.top .marca:hover { text-decoration: none; }
header.top .logo { height: 40px; width: auto; display: block; }
header.top .sep { width: 1px; height: 34px; background: rgba(255,255,255,.28); }
header.top .nome { font-weight: 700; font-size: 19px; letter-spacing: .2px; line-height: 1.15; }
header.top .nome small { display: block; font-weight: 400; font-size: 11.5px; opacity: .78; letter-spacing: 0; }
header.top nav { display: flex; gap: 2px; margin-left: auto; flex-wrap: wrap; }
header.top .usuario { font-size: 12.5px; color: #c9dcee; white-space: nowrap; }
header.top .usuario a { color: #fff; }
@media (max-width: 760px) { header.top .sep, header.top .nome small { display: none; } header.top nav { margin-left: 0; } }
header.top nav a { color: #dbe7f3; padding: 6px 12px; border-radius: 6px; }
header.top nav a.on, header.top nav a:hover { background: rgba(255,255,255,.12); color: #fff; text-decoration: none; }
main { max-width: 1280px; margin: 0 auto; padding: 20px; }
.aviso { background: #fffbea; border: 1px solid #f1d98a; color: #6b5200; padding: 10px 14px; border-radius: var(--radius); font-size: 13.5px; margin-bottom: 18px; }
h1 { font-size: 22px; margin: 4px 0 14px; } h2 { font-size: 17px; margin: 0 0 12px; } h3 { font-size: 15px; margin: 0 0 8px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 18px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.kpi .v { font-size: 28px; font-weight: 700; line-height: 1.1; }
.kpi .l { color: var(--ink-2); font-size: 12.5px; margin-top: 4px; }
.kpi.destaque { border-color: #f3b4ae; background: #fff8f7; } .kpi.destaque .v { color: var(--red); }
.kpi.ok .v { color: var(--green); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 16px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .grid3 { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
@media (max-width: 900px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
.filtros { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.filtros select, .filtros input { padding: 7px 9px; border: 1px solid var(--line); border-radius: 7px; font: inherit; background: #fff; }
.btn { display: inline-block; padding: 7px 14px; border-radius: 7px; border: 1px solid var(--brand-2); background: var(--brand-2); color: #fff; font: inherit; cursor: pointer; }
.btn.sec { background: #fff; color: var(--brand-2); }
.btn:hover { text-decoration: none; filter: brightness(1.05); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: var(--ink-3); font-weight: 600; background: #fafbfc; }
tr:hover td { background: #fafcff; }
.tabela-wrap { overflow-x: auto; }
.chip { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.c-red { background: var(--red-bg); color: var(--red); } .c-amber { background: var(--amber-bg); color: var(--amber); }
.c-green { background: var(--green-bg); color: var(--green); } .c-grey { background: var(--grey-bg); color: var(--ink-2); }
.c-blue { background: #e6f0fa; color: var(--brand-2); }
.nota { font-weight: 700; font-variant-numeric: tabular-nums; }
.barra { height: 6px; background: var(--grey-bg); border-radius: 3px; margin-top: 4px; width: 70px; }
.barra i { display: block; height: 100%; border-radius: 3px; background: var(--red); }
.muted { color: var(--ink-3); } .small { font-size: 12.5px; }
.trecho { border-left: 3px solid var(--accent); background: #f3fafa; padding: 8px 12px; margin: 8px 0; border-radius: 0 6px 6px 0; font-style: italic; }
.trecho.nv { border-left-color: var(--ink-3); background: var(--grey-bg); }
.kv { display: grid; grid-template-columns: 170px 1fr; gap: 6px 12px; font-size: 14px; } .kv dt { color: var(--ink-3); } .kv dd { margin: 0; word-break: break-word; }
.captura { width: 100%; border: 1px solid var(--line); border-radius: 8px; max-height: 720px; object-fit: cover; object-position: top; }
.hash { font-family: ui-monospace, Consolas, monospace; font-size: 11.5px; word-break: break-all; color: var(--ink-2); }
details.caso { border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; margin: 8px 0; } details.caso summary { cursor: pointer; font-weight: 600; }
textarea { width: 100%; min-height: 70px; border: 1px solid var(--line); border-radius: 7px; padding: 8px; font: inherit; }
.passos { counter-reset: p; list-style: none; padding: 0; } .passos li { counter-increment: p; padding: 10px 0 10px 44px; position: relative; border-bottom: 1px solid var(--line); }
.passos li::before { content: counter(p); position: absolute; left: 0; top: 10px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; }
/* aviso discreto de uso de IA */
.ia-nota { display: inline-block; font-size: 11px; font-weight: 600; color: var(--ink-3); border: 1px solid var(--line);
  border-radius: 999px; padding: 0 7px; margin-left: 6px; vertical-align: middle; cursor: help; letter-spacing: .2px; }
h2 .ia-nota { font-size: 10.5px; }
.rodape-app { max-width: 1280px; margin: 8px auto 24px; padding: 12px 20px 0; border-top: 1px solid var(--line);
  font-size: 11.5px; color: var(--ink-3); }

/* gráficos de barras (série única, cor da marca; valor em tinta de texto) */
.barras { display: flex; flex-direction: column; gap: 2px; }
.barra-linha { display: grid; grid-template-columns: minmax(130px, 42%) 1fr 44px; align-items: center; gap: 10px; padding: 5px 4px; border-radius: 6px; }
.barra-linha:hover { background: #f1f6fb; }
.barra-rot { font-size: 13px; line-height: 1.25; color: var(--ink-2); }
.barra-trilho { height: 14px; display: block; }
.barra-trilho i { display: block; height: 100%; min-width: 3px; background: var(--brand-2); border-radius: 0 4px 4px 0; }
.barra-val { font-size: 13px; font-weight: 600; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }

/* página inicial (login) */
body.home { background: var(--brand); min-height: 100vh; }
.home-grade { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 100vh; }
.home-marca { color: #fff; padding: 56px 56px 32px; display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(circle at 20% 20%, #1c5a8f 0, var(--brand) 55%); }
.home-logo { width: 230px; height: auto; margin-bottom: 36px; }
.home-marca h1 { font-size: 46px; margin: 0 0 8px; letter-spacing: .3px; }
.home-mvp { font-size: .52em; font-weight: 600; color: #9fcbe8; letter-spacing: .5px; vertical-align: middle; }
.home-sub { font-size: 17px; color: #d6e6f5; max-width: 520px; margin: 0 0 22px; }
.home-lista { list-style: none; padding: 0; margin: 0; color: #e8f1fa; font-size: 14.5px; }
.home-lista li { padding: 7px 0 7px 26px; position: relative; }
.home-lista li::before { content: ""; position: absolute; left: 0; top: 13px; width: 12px; height: 3px; border-radius: 2px; background: #1c98cd; }
.home-rodape { margin-top: auto; padding-top: 40px; font-size: 12.5px; color: #b9d0e6; }
.home-rodape > p { margin: 0 0 12px; letter-spacing: .2px; }
.home-pd { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 10px; padding: 10px 16px; max-width: 540px; }
.home-pd img { height: 38px; width: auto; flex: none; }
.home-pd p { margin: 0; color: #1c2530; font-size: 12.5px; line-height: 1.4; }
.home-acesso { background: var(--bg); display: flex; align-items: center; justify-content: center; padding: 32px 20px; }
.home-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 30px 30px 24px; width: 100%; max-width: 380px;
  box-shadow: 0 10px 30px rgba(13, 59, 102, .12); }
.home-logo-cor { width: 150px; height: auto; display: block; margin-bottom: 18px; }
.home-card h2 { font-size: 20px; margin: 0 0 6px; color: var(--brand); }
.home-card label { display: block; font-size: 13px; color: var(--ink-2); margin: 12px 0 4px; }
.home-card input { width: 100%; padding: 10px 11px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.home-card input:focus { outline: 2px solid #9cc9e6; border-color: var(--brand-2); }
.home-erro { background: var(--red-bg); color: var(--red); border-radius: 8px; padding: 8px 10px; font-size: 13.5px; margin: 10px 0 0; }
@media (max-width: 860px) { .home-grade { grid-template-columns: 1fr; } .home-marca { padding: 36px 24px; } .home-marca h1 { font-size: 34px; } }

/* Prospecção de oportunidades: planos, tripé e evidências. */
.op-modulo { --op-teal: #087c7e; }
.op-cabecalho { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 10px 0 24px; }
.op-cabecalho h1 { color: var(--brand); font-size: 30px; margin: 0 0 8px; overflow-wrap: anywhere; }
.op-cabecalho p:last-child { margin: 0; color: var(--ink-2); max-width: 800px; }
.op-cabecalho > .btn { flex-shrink: 0; }
.op-kpis { grid-template-columns: repeat(4,minmax(0,1fr)); }
.op-kpis .kpi { border-top: 3px solid var(--op-teal); padding: 18px; }
.op-kpis .v { color: var(--brand); }
.op-kpis .op-custo { font-size: 23px; }
.op-tripe { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin: 22px 0; }
.op-tripe > div, .op-tripe > section { min-width: 0; background: #eaf3f6; padding: 22px; border: 1px solid #cddfe6; border-radius: 10px; }
.op-tripe span:first-child { color: var(--op-teal); font-size: 10.5px; letter-spacing: .7px; font-weight: 700; }
.op-tripe h2 { color: var(--brand); margin: 10px 0; }
.op-tripe p { font-size: 13.5px; color: var(--ink-2); margin-bottom: 0; }
.op-tripe-detalhe dt { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--ink-2); margin-top: 14px; }
.op-tripe-detalhe dd { margin: 4px 0 0; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.op-linha { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.op-filtros { margin: 20px 0; }
.op-filtros input { min-width: 220px; flex: 1; }
.op-planos { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.op-plano { border: 1px solid var(--line); border-radius: 8px; padding: 20px; min-width: 0; }
.op-plano h3 { font-size: 18px; margin: 16px 0 0; overflow-wrap: anywhere; }
.op-plano p { overflow-wrap: anywhere; }
.op-vazio { padding: 35px 20px; text-align: center; color: var(--ink-2); }
.op-vazio h2, .op-vazio h3 { color: var(--brand); }
.op-catalogo summary, .op-modulo details > summary { cursor: pointer; font-weight: 600; color: var(--brand); }
.op-catalogo .grid2 { margin-top: 24px; }
.op-catalogo p { font-size: 13px; color: var(--ink-2); }
.op-form .card { padding: 24px; }
.op-form label, .op-revisao label { display: block; font-size: 13px; color: var(--ink-2); font-weight: 600; margin: 15px 0 6px; }
.op-form input:not([type=checkbox]):not([type=hidden]), .op-form select, .op-revisao select { width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 7px; font: inherit; background: white; }
.op-form textarea { min-height: 92px; }
.op-campos { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; }
.op-campos > div { min-width: 0; }
.op-pilar { border-left: 4px solid var(--op-teal); }
.op-servicos { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.op-servico { display: flex !important; align-items: flex-start; gap: 10px; border: 1px solid var(--line); padding: 14px; border-radius: 8px; margin: 0 !important; font-weight: 400 !important; }
.op-servico input { flex-shrink: 0; margin-top: 4px; accent-color: var(--op-teal); }
.op-servico small { display: block; font-weight: 400; margin-top: 5px; color: var(--ink-2); }
.op-rodape-form, .op-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 22px; }
.op-acoes form { margin: 0; }
.op-executar { display: flex; justify-content: space-between; gap: 30px; align-items: center; background: #edf7f6; border-color: #bad9d6; }
.op-executar form { flex-shrink: 0; }
.op-executar p { max-width: 800px; }
.op-modulo .btn:disabled { background: #dfe6ec; border-color: #d0d9e2; color: #536273; cursor: not-allowed; }
.op-texto { white-space: pre-wrap; overflow-wrap: anywhere; }
.op-pesquisando { border-left: 4px solid var(--op-teal); }
.op-pesquisando p { margin-bottom: 0; }
.op-erros { border-color: #e7c997; background: #fffaf0; }
.op-erros li { margin: 8px 0; overflow-wrap: anywhere; }
.op-resultado { padding: 24px; border-top: 4px solid var(--op-teal); }
.op-resultado > h2 { font-size: 22px; color: var(--brand); margin-top: 16px; }
.op-resultado-tripe > section { padding: 18px; }
.op-resultado-tripe h3 { font-size: 15px; margin-top: 12px; }
.op-referencias { padding-left: 16px; margin-top: 14px; font-size: 12px; }
.op-referencias li { margin-bottom: 8px; overflow-wrap: anywhere; }
.op-proposta { padding: 18px; background: #f1f6fb; border-radius: 8px; }
.op-proposta p { font-size: 14px; }
.op-lacunas { margin: 18px 0; font-size: 13px; color: var(--ink-2); }
.op-revisao { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 20px; }
.op-revisao form { max-width: 700px; }
.op-revisao button { margin-top: 8px; }
.op-fontes-table { min-width: 750px; }
.op-fontes-table td { max-width: 440px; }
.op-fontes-table h3 { font-size: 14px; margin: 12px 0 6px; }
.op-url { overflow-wrap: anywhere; }
.op-fonte-texto, .op-json { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 650px; overflow-y: auto; background: #f5f7f9; padding: 18px; border: 1px solid var(--line); border-radius: 6px; font: 13px/1.7 system-ui,sans-serif; }
.op-trecho { border-left: 3px solid var(--op-teal); margin: 0 0 24px; padding: 12px 18px; background: #edf7f6; white-space: pre-wrap; overflow-wrap: anywhere; }
.op-modulo a:focus-visible, .op-modulo input:focus-visible, .op-modulo textarea:focus-visible, .op-modulo select:focus-visible, .op-modulo button:focus-visible, .op-modulo summary:focus-visible { outline: 3px solid #78b7d9; outline-offset: 3px; }
@media (max-width: 1000px) { .op-planos { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 760px) { .op-tripe, .op-campos, .op-servicos, .op-planos { grid-template-columns: minmax(0,1fr); } .op-cabecalho, .op-executar { flex-direction: column; align-items: flex-start; gap: 15px; } .op-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); } .op-cabecalho h1 { font-size: 26px; } .op-form .card, .op-resultado { padding: 18px; } .op-linha { flex-wrap: wrap; } .op-filtros input { min-width: 0; flex-basis: 100%; } .op-modulo .kv { grid-template-columns: minmax(0,1fr); } .op-modulo .kv dd { margin-bottom: 12px; } }
@media print { .op-acoes,.op-executar,.op-revisao { display: none; } .op-tripe { display: block; } .op-tripe > section { margin: 10px 0; } }

/* Administração de contas e auditoria. */
.admin-cabecalho { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 10px 0 22px; }
.admin-cabecalho h1 { color: var(--brand); font-size: 30px; margin: 0; }
.admin-cabecalho p:last-child { margin: 8px 0 0; }
.admin-abas { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.admin-abas a { padding: 8px 16px; border-radius: 7px; font-weight: 600; }
.admin-abas .ativa { background: var(--brand); color: white; }
.admin-usuarios-grade { display: grid; grid-template-columns: 300px minmax(0,1fr); gap: 18px; align-items: start; }
.admin-usuarios-grade > .card { min-width: 0; }
.admin-cadastro label { display: block; font-size: 13px; margin: 12px 0 5px; font-weight: 600; }
.admin-cadastro input:not([type=hidden]):not([type=checkbox]), .admin-cadastro select { width: 100%; padding: 9px; border: 1px solid var(--line); border-radius: 6px; font: inherit; background: white; }
.admin-cadastro input[readonly] { background: var(--grey-bg) !important; color: var(--ink-2); }
.admin-checkbox { display: flex !important; gap: 8px; align-items: center; margin: 16px 0 !important; }
.admin-acoes { min-width: 140px; }
.admin-acoes .btn { font-size: 12px; padding: 4px 9px; margin-bottom: 6px; }
.admin-acoes form { margin: 0; }
.admin-sucesso { padding: 12px 16px; border: 1px solid #acd6bb; color: var(--green); background: var(--green-bg); border-radius: 8px; }
.admin-filtros { align-items: end; }
.admin-filtros label { display: block; font-size: 12px; margin-bottom: 5px; }
.admin-logs { font-size: 13px; min-width: 1000px; }
.admin-logs .chip { white-space: normal; }
.admin-logs td { max-width: 260px; overflow-wrap: anywhere; }
.admin-logs summary { cursor: pointer; margin: 6px 0; font-size: 12px; color: var(--brand-2); }
.admin-diario { margin-top: 16px; max-height: 350px; overflow-y: auto; }
.admin-paginacao { display: flex; gap: 12px; margin-top: 16px; }
@media (max-width: 1000px) { .admin-usuarios-grade { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 600px) { .admin-cabecalho { flex-direction: column; align-items: start; } }

/* Dashboard de áreas: conteúdo documental, sem classificação por IA. */
.areas-dashboard { --area-teal: #087c7e; }
.areas-cabecalho { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 8px 0 24px; }
.areas-sobretitulo { color: var(--area-teal); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; margin: 0 0 7px; }
.areas-cabecalho h1 { color: var(--brand); font-size: 30px; margin: 0 0 8px; }
.areas-descricao { color: var(--ink-2); max-width: 790px; margin: 0; }
.areas-cabecalho > .btn { flex-shrink: 0; }
.areas-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.areas-kpis .kpi { border-top: 3px solid var(--area-teal); padding: 18px; }
.areas-kpis .v { color: var(--brand); }
.areas-kpis .areas-data { font-size: 23px; line-height: 1.34; }
.areas-visao { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; align-items: start; margin-top: 22px; }
.areas-visao > .card { padding: 22px; }
.areas-mapa { display: grid; gap: 2px; }
.areas-barra { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(45px, 1fr) 16px; gap: 12px; align-items: center; padding: 6px 4px; border-radius: 5px; color: var(--ink-2); font-size: 12.5px; }
.areas-barra:hover { background: #edf6f6; text-decoration: none; }
.areas-barra b { text-align: right; color: var(--ink); }
.areas-trilho { background: #edf2f5; height: 8px; border-radius: 5px; overflow: hidden; }
.areas-trilho i { background: var(--area-teal); height: 100%; display: block; border-radius: 5px; }
.areas-lateral .card { padding: 24px; }
.areas-documento { background: #eaf3f8; border-color: #c9dde9; }
.areas-documento .chip { font-size: 10px; white-space: normal; }
.areas-documento h2 { font-size: 22px; line-height: 1.3; color: var(--brand); margin-top: 18px; }
.areas-documento p { color: var(--ink-2); }
.areas-passos { padding-left: 20px; color: var(--ink-2); font-size: 14px; }
.areas-passos li { padding: 0 0 12px 5px; }
.areas-titulo-linha { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 16px 0 4px; }
.areas-titulo-linha h2 { font-size: 21px; color: var(--brand); }
.areas-catalogo, .areas-funcoes, #fontes, .area-card { scroll-margin-top: 18px; }
.areas-filtros { align-items: end; padding: 18px; gap: 12px; }
.areas-filtros > div { flex: 1 1 250px; min-width: 0; }
.areas-filtros label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.areas-filtros input, .areas-filtros select { width: 100%; min-width: 0; }
.areas-grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; margin-bottom: 24px; }
.area-card { margin: 0; padding: 22px; }
.area-titulo { display: flex; align-items: center; gap: 12px; }
.area-numero { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 8px; background: #e6f3f2; color: var(--area-teal); font-size: 13px; font-weight: 700; }
.area-titulo h3 { margin: 0; color: var(--brand); font-size: 17px; }
.area-escopo { color: var(--ink-2); font-size: 14px; margin: 14px 0 18px; }
.area-card summary { padding-top: 13px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--brand-2); cursor: pointer; }
.area-normas { padding-left: 20px; font-size: 13.5px; }
.area-normas li { margin-bottom: 12px; }
.area-observacao { background: #f0f6f8; border-left: 3px solid var(--area-teal); padding: 12px; font-size: 12.5px; color: var(--ink-2); }
.area-card h4 { margin: 18px 0 8px; font-size: 12px; }
.area-fontes { list-style: none; padding: 0; margin: 0 0 16px; font-size: 12px; }
.area-fontes li { margin-bottom: 8px; overflow-wrap: anywhere; }
.area-painel { margin-bottom: 0; }
.areas-vazio { grid-column: 1 / -1; padding: 36px; text-align: center; }
.areas-funcoes { padding: 24px; }
.areas-funcoes-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 26px; margin-top: 22px; }
.areas-funcoes-grade h3 { color: var(--area-teal); }
.areas-funcoes-grade p, .areas-base p { color: var(--ink-2); font-size: 13px; }
.areas-funcoes-grade p { margin: 0; }
.areas-fontes-titulo { cursor: pointer; font-size: 17px; font-weight: 600; }
.areas-lista-fontes { padding-left: 26px; font-size: 13px; }
.areas-lista-fontes li { margin: 10px 0; padding-left: 4px; overflow-wrap: anywhere; }
.areas-dashboard a:focus-visible, .areas-dashboard summary:focus-visible, .areas-dashboard input:focus-visible, .areas-dashboard select:focus-visible, .areas-dashboard button:focus-visible { outline: 3px solid #78b7d9; outline-offset: 3px; }
@media (max-width: 900px) { .areas-visao { grid-template-columns: 1fr; } .areas-lateral { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .areas-funcoes-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .areas-cabecalho { align-items: start; flex-direction: column; gap: 14px; } .areas-cabecalho h1 { font-size: 26px; } .areas-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .areas-kpis .areas-data { font-size: 19px; } .areas-grade, .areas-lateral, .areas-funcoes-grade { grid-template-columns: 1fr; } .areas-titulo-linha { align-items: start; flex-direction: column; gap: 0; margin-bottom: 12px; } .areas-barra { grid-template-columns: minmax(0, 2fr) minmax(35px, 1fr) 14px; gap: 8px; } .areas-filtros > div { flex-basis: 100%; } }

@media print { header.top, .noprint { display: none !important; } body { background: #fff; } main { padding: 0; } .card { border: none; padding: 0; } .areas-visao, .areas-filtros { display: none; } .areas-grade, .areas-funcoes-grade { display: block; } .area-card { break-inside: avoid; margin-bottom: 20px; } }

/* Planejamento assistido de oportunidades */
.op-assistente{background:#eef6fd;border-color:#a7c9e7}.op-assistente p:first-child{margin-top:0}
.op-sugestoes{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0 18px}.op-sugestao{border:1px solid #a5c7e2;border-radius:18px;background:#f0f7fc;color:#154f7b;padding:7px 11px;cursor:pointer;text-align:left;font:inherit;font-size:12px;max-width:100%}.op-sugestao:hover{background:#dceefb}.op-sugestao:disabled{background:#e6f4ec;color:#236044;opacity:1;cursor:default}.op-sugestao:focus-visible{outline:3px solid #4a9dde;outline-offset:2px}
.op-form details{margin:12px 0}.op-form details .btn{margin-bottom:14px}.op-documento{padding:14px 0;border-top:1px solid #e0e8f1}.op-documento h3{font-size:16px}.op-form textarea[name=plano_localizacao]{min-height:125px}
