:root {
  --accent: #1759a4;
  --on-accent: #fff;
  --background: #f3f6fb;
  --ink: #18324c;
  --muted: #5a6e82;
  --border: #d9e3ee;
  --surface: #fff;
  --soft: #eaf1fa;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font:
    15px/1.55 system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 3px;
}
a {
  color: var(--accent);
}
.site-header {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 22px max(24px, calc((100vw - 1240px) / 2));
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: #235a90;
}
.brand img {
  width: 42px;
  height: 42px;
}
.environment,
.pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 30px;
  background: #edf3fb;
  color: #315d89;
  font-size: 12px;
  font-weight: 700;
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
#identity {
  font-size: 13px;
  color: var(--muted);
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 10px max(24px, calc((100vw - 1240px) / 2));
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.nav-link {
  border: 0;
  background: none;
  color: #34516d;
  padding: 10px 13px;
  border-radius: 7px;
  cursor: pointer;
}
.nav-link.active {
  background: var(--soft);
  color: var(--accent);
  font-weight: 700;
}
main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}
h1 {
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin: 8px 0 12px;
}
h2 {
  font-size: 20px;
  line-height: 1.35;
  margin: 0 0 16px;
}
h3 {
  font-size: 16px;
  margin: 0 0 10px;
}
p {
  margin: 0 0 14px;
}
.muted,
small {
  color: var(--muted);
}
.eyebrow {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: 800;
  text-transform: uppercase;
}
.hero {
  padding: 30px;
  background: linear-gradient(120deg, #fff, #eaf1fb);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 24px;
}
.hero p {
  max-width: 750px;
  color: var(--muted);
}
.row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.split {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.grow {
  flex: 1;
}
.push {
  margin-left: auto;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 3px 12px #18324c04;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.metric strong {
  display: block;
  font-size: 30px;
  color: var(--accent);
}
.metric span {
  font-size: 13px;
  color: var(--muted);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid var(--accent);
  border-radius: 7px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
}
.button:hover {
  filter: brightness(0.95);
}
.button.quiet {
  background: #fff;
  color: var(--accent);
  border-color: var(--border);
}
.button.small {
  min-height: 34px;
  padding: 5px 10px;
  font-size: 12px;
}
.button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 20px;
}
.toolbar h1 {
  margin-right: auto;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
td,
th {
  padding: 13px 15px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
th {
  font-size: 12px;
  background: #f7f9fc;
  color: #4b637b;
  white-space: nowrap;
}
tr:last-child td {
  border-bottom: 0;
}
.actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.auth {
  max-width: 520px;
  margin: 24px auto;
}
.auth .panel {
  padding: 30px;
}
.auth h1 {
  font-size: 26px;
}
.auth-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.auth-tabs button {
  flex: 1;
}
.field {
  display: block;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 650;
}
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  padding: 11px 12px;
  margin-top: 6px;
  border: 1px solid #c3d2e1;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-weight: 400;
}
.field textarea {
  min-height: 110px;
  resize: vertical;
}
.field input[type="color"] {
  padding: 4px;
  height: 45px;
}
.field input[type="checkbox"],
.field input[type="radio"] {
  display: inline;
  width: auto;
  margin-right: 8px;
}
.field small {
  display: block;
  font-weight: 400;
  margin-top: 5px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}
.form-grid .wide {
  grid-column: 1/-1;
}
.empty {
  padding: 26px;
  color: var(--muted);
  text-align: center;
}
.loading {
  padding: 45px;
  color: var(--muted);
  text-align: center;
}
.error {
  color: #9d2940;
}
.success {
  color: #24744c;
}
.status {
  position: fixed;
  right: 20px;
  bottom: 22px;
  max-width: min(500px, calc(100vw - 40px));
  padding: 14px 20px;
  background: #193d60;
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 30px #193d6030;
  z-index: 20;
  display: none;
}
.status.visible {
  display: block;
}
.quick {
  position: fixed;
  left: 18px;
  bottom: 20px;
  z-index: 15;
}
.quick > button {
  border-radius: 40px;
  box-shadow: 0 4px 16px #18324c35;
}
.quick > div {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  max-height: 65vh;
  overflow: auto;
  box-shadow: 0 8px 30px #18324c20;
  margin-bottom: 12px;
  min-width: 230px;
}
.quick .nav-link {
  display: block;
  width: 100%;
  text-align: left;
}
dialog {
  width: min(800px, calc(100vw - 30px));
  max-height: 90vh;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 25px;
  color: var(--ink);
}
dialog::backdrop {
  background: #112d4c60;
}
.dialog-header {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.dialog-header h2 {
  margin: 0;
}
fieldset {
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 18px;
  margin-bottom: 16px;
}
legend {
  font-size: 13px;
  font-weight: 700;
  padding: 0 8px;
}
.note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.line-item {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 16px;
}
.readable {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.code {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
  background: #f2f5f9;
  padding: 12px;
  border-radius: 7px;
}
.course {
  cursor: pointer;
}
.progress {
  height: 8px;
  background: #e5edf6;
  border-radius: 5px;
  overflow: hidden;
  margin: 12px 0;
}
.progress > span {
  display: block;
  height: 100%;
  background: var(--accent);
}
footer {
  padding: 20px 24px 75px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
@media (max-width: 800px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split {
    display: block;
  }
  .header-actions #identity {
    display: none;
  }
  .site-header {
    padding: 16px 20px;
    gap: 12px;
  }
  .brand {
    font-size: 21px;
  }
  .environment {
    font-size: 10px;
  }
  nav {
    padding: 8px 12px;
  }
  main {
    padding: 24px 16px 80px;
  }
  .hero {
    padding: 24px;
  }
  .grid.two {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .wide {
    grid-column: auto;
  }
}
@media (max-width: 480px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .site-header {
    flex-wrap: wrap;
  }
  .header-actions {
    margin-left: auto;
  }
  .header-actions #install {
    font-size: 11px;
    min-height: 32px;
    padding: 5px 8px;
  }
  .panel {
    padding: 18px;
  }
  .auth .panel {
    padding: 22px;
  }
  h1 {
    font-size: 25px;
  }
  td,
  th {
    padding: 11px;
  }
  .quick {
    left: 12px;
    bottom: 12px;
  }
  .button {
    min-height: 42px;
  }
  .toolbar {
    align-items: stretch;
  }
  .toolbar h1 {
    width: 100%;
  }
}
@media print {
  header,
  nav,
  .quick,
  .toolbar button,
  .status,
  footer {
    display: none !important;
  }
  body {
    background: white;
  }
  main {
    padding: 0;
  }
  .panel {
    box-shadow: none;
    break-inside: avoid;
  }
  .hero {
    background: white;
  }
}

nav details {
  position: relative;
}
nav summary {
  list-style: none;
}
.nav-dropdown {
  position: absolute;
  top: 45px;
  left: 0;
  background: white;
  z-index: 12;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 8px 30px #18324c20;
  display: grid;
  grid-template-columns: repeat(2, minmax(170px, 1fr));
  max-height: 65vh;
  overflow: auto;
}
@media (max-width: 480px) {
  .nav-dropdown {
    grid-template-columns: 1fr;
    min-width: 230px;
    left: auto;
    right: 0;
  }
}
/* BoilerSocial V2 */
.brand img[src="/social-logo.png"] {
  width: 200px;
  height: auto;
  max-height: 55px;
  object-fit: contain;
}
.brand:has(img[src="/social-logo.png"]) #brand {
  display: none;
}
.back-bar {
  max-width: 1440px;
  margin: auto;
  padding: 12px 24px 0;
}
.social-hero {
  background: linear-gradient(120deg, #103f3c, #166752);
  border-radius: 18px;
  padding: 36px;
  color: #fff;
  margin-bottom: 24px;
}
.social-hero h1 {
  color: #fff;
  max-width: 700px;
}
.social-hero p {
  color: #e2f5ea;
}
.social-hero .eyebrow {
  color: #aef0ce;
}
.social-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.social-metrics .panel {
  margin: 0;
}
.social-metrics strong {
  font-size: 1.6rem;
}
.social-project-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid #dbe5e2;
}
.phase-pill {
  font-size: 0.78rem;
  background: #e3f3ea;
  color: #175a42;
  padding: 5px 10px;
  border-radius: 20px;
}
.phase-track {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.phase-track span {
  background: #e8edf0;
  color: #415364;
  padding: 9px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
}
.phase-track .current {
  background: #176448;
  color: #fff;
  font-weight: 700;
}
.social-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
  border-bottom: 1px solid #cad8d4;
  padding-bottom: 12px;
}
.social-tabs button {
  background: white;
  color: #234b46;
  border: 1px solid #cad8d4;
  border-radius: 8px;
  padding: 11px 14px;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
}
.social-tabs button.active {
  background: #174c40;
  color: white;
  border-color: #174c40;
}
.social-section,
.social-entry {
  padding: 16px 0;
  border-bottom: 1px solid #dce6e1;
}
.social-entry summary,
.social-section summary {
  cursor: pointer;
  line-height: 1.8;
}
.social-entry dl {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 10px;
}
.social-entry dt {
  color: #566b65;
}
.social-entry dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.state-pill {
  font-size: 0.75rem;
  padding: 5px 9px;
  border-radius: 5px;
  background: #e9edef;
  color: #344550;
}
.state-pill.ok {
  background: #157543;
  color: #fff;
}
.state-pill.bad {
  background: #a22f39;
  color: white;
}
.state-pill.pending {
  background: #ffdc28;
  color: #292100;
}
.budget-line {
  border: 1px solid #c8d9d1;
  border-radius: 10px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
.budget-line legend {
  padding: 0 8px;
  font-weight: 700;
}
.budget-total {
  font-size: 1.4rem;
  font-weight: 700;
  text-align: right;
}
.password-eye {
  align-self: flex-start;
}
.readable {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.social-project-card h3 {
  margin: 14px 0;
}
.social-project-card p {
  margin-bottom: 0;
}
@media (max-width: 650px) {
  .social-hero {
    padding: 24px;
  }
  .back-bar {
    padding: 12px;
  }
  .social-project-card {
    align-items: flex-start;
    flex-direction: column;
  }
  .budget-line {
    grid-template-columns: 1fr;
  }
  .social-entry dl {
    grid-template-columns: 1fr;
  }
  .social-entry dd {
    margin-bottom: 10px;
  }
  .brand img[src="/social-logo.png"] {
    width: 160px;
  }
  .social-tabs {
    gap: 5px;
  }
  .social-tabs button {
    padding: 9px;
  }
}
@media print {
  .back-bar,
  .social-tabs,
  .quick,
  .header-actions,
  button {
    display: none !important;
  }
  .social-entry {
    break-inside: avoid;
  }
}

.ecosystem-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  margin-top: 16px;
}
.ecosystem-links a {
  color: #175343;
  text-underline-offset: 4px;
}

/* EAD_VINCULO_V1 */
.ead-logo-previa { max-height: 90px; max-width: 260px; background: #fff; padding: 6px; border: 1px solid #d6e0e8; border-radius: 8px; }

/* ACESSO_V1 */
.acesso-abas { display: flex; gap: .5rem; flex-wrap: wrap; margin: .4rem 0 1rem; }
.acesso-matriz { display: flex; flex-wrap: wrap; gap: .35rem; margin: .5rem 0; }
.acesso-matriz span { font-size: .8rem; padding: .15rem .55rem; border-radius: 999px; border: 1px solid #d6e0e8; }
.acesso-n0 { opacity: .45; } .acesso-n1 { background: #eef4fb; } .acesso-n2 { background: #e3f4ea; } .acesso-n3 { background: #fff2d6; font-weight: 600; }
.acesso-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .5rem; }
.acesso-horario { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; border: 1px solid #d6e0e8; border-radius: 8px; padding: .6rem; }
.acesso-org, .acesso-org ul { list-style: none; padding-left: 1.2rem; border-left: 2px solid #d6e0e8; }
.acesso-org { border-left: 0; padding-left: 0; }
.acesso-no { display: inline-block; margin: .25rem 0; padding: .3rem .6rem; border: 1px solid #d6e0e8; border-radius: 8px; background: #fff; }

/* REGULARIDADE_V1 */
.reg-topo { display: grid; grid-template-columns: minmax(180px, 240px) 1fr; gap: 1rem; }
@media (max-width: 700px) { .reg-topo { grid-template-columns: 1fr; } }
.reg-nota { text-align: center; display: flex; flex-direction: column; justify-content: center; }
.reg-nota strong { font-size: 3.4rem; line-height: 1.1; }
.reg-nota.reg-ok strong { color: #1f8a5b; } .reg-nota.reg-atencao strong { color: #c98a00; } .reg-nota.reg-vencido strong { color: #c0392b; }
.reg-alertas ul { margin: 0; padding-left: 1.1rem; }
.reg-alertas li { margin: .25rem 0; }
.reg-ok { color: #1f8a5b; font-weight: 600; }
.reg-aviso { color: #44607a; }
.reg-atencao { color: #b07700; font-weight: 600; }
.reg-urgente { color: #d35400; font-weight: 700; }
.reg-vencido { color: #c0392b; font-weight: 700; }
.reg-arquivado { color: #8a99a8; }
.reg-linha { padding-left: 1.2rem; } .reg-linha li { margin: .3rem 0; } .reg-linha time { color: #5b6b7b; font-size: .85rem; }

/* PARCERIAS_V1 */
.par-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .8rem; margin-bottom: 1rem; }
.par-card { display: flex; flex-direction: column; gap: .2rem; }
.par-card span { font-size: .8rem; color: #5b6b7b; text-transform: uppercase; letter-spacing: .04em; }
.par-card strong { font-size: 1.35rem; }
.par-card small { color: #5b6b7b; }
.panel progress { width: 120px; height: .6rem; vertical-align: middle; }

/* CERTIDOES_V1 */
.cert-filtros { display: flex; flex-wrap: wrap; gap: .5rem; }
.cert-filtros input[type="search"] { flex: 1 1 260px; }
.cert-kits { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-top: .7rem; }
.cert-kits span { font-size: .85rem; color: #5b6b7b; }
.cert-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: .8rem; margin: 1rem 0; }
.cert-item { background: #fff; border: 1px solid #d8e2ec; border-radius: 10px; padding: .85rem; display: flex; flex-direction: column; gap: .3rem; }
.cert-item small { color: #5b6b7b; }
.cert-item .note { margin: .2rem 0; font-size: .82rem; }
.cert-item .actions { margin-top: auto; padding-top: .4rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.cert-top { display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; }
.cert-uf { font-weight: 700; font-size: .78rem; color: #1759a4; }
.cert-tag { font-size: .72rem; border: 1px solid #c9d6e2; border-radius: 99px; padding: 0 .45rem; color: #3b4b5b; }
.cert-nv { border-color: #e0a100; color: #8a6200; }
.cert-fav { border-color: #1759a4; color: #1759a4; }
.cert-sit { font-size: .85rem; min-height: 1.1em; }

/* CAPTACAO_SOCIAL_V1 */
.cap-meta { width: 100%; height: .8rem; margin: -.4rem 0 1rem; }
.cap-chk { display: inline-flex; gap: .3rem; align-items: center; margin: .15rem .7rem .15rem 0; font-size: .9rem; }
table.cap-j input, table.cap-j textarea { width: 100%; min-width: 60px; box-sizing: border-box; font: inherit; }
table.cap-j input[type="checkbox"] { width: auto; min-width: 0; }
table.cap-j td { vertical-align: top; }
#cap-edital { width: 100%; box-sizing: border-box; font: .85rem/1.4 monospace; }

/* SUAS_V1 */
.su-linha { display: flex; flex-direction: column; gap: .6rem; }
.su-reg { border-left: 3px solid #1759a4; padding: .3rem .7rem; background: #f7fafd; }
.su-reg p { margin: .3rem 0; }
#su-lista input, #su-lista select { width: 100%; box-sizing: border-box; }

/* TRANSPARENCIA_V1 + PAINEIS_V1 */
.p7-prazos, .p7-pend { margin: 0; padding-left: 1.1rem; }
.p7-prazos li, .p7-pend li { margin: .25rem 0; }
.p7-bars { min-width: 160px; display: flex; flex-direction: column; gap: 2px; }
.p7-bar { height: 6px; border-radius: 3px; min-width: 2px; }
.p7-bar.a, .p7-leg.a { background: #1759a4; }
.p7-bar.b, .p7-leg.b { background: #2e9d6a; }
.p7-bar.c, .p7-leg.c { background: #d08a17; }
.p7-leg { display: inline-block; width: 12px; height: 8px; border-radius: 2px; }
#t7-form .cap-j input { width: 100%; box-sizing: border-box; }
@media print { .acesso-abas, .actions, nav, header { display: none !important; } }

/* TERRITORIO_V1 */
.t10-nova { border-left-color: #d08a17; background: #fff8ec; }
.panel h3 { font-size: 1rem; margin: 1rem 0 .4rem; }

/* COMUNICACAO_V1 */
.c11-chat { display: grid; grid-template-columns: 260px 1fr; gap: 14px; align-items: start; }
.c11-canais { display: flex; flex-direction: column; gap: 4px; }
.c11-canal { text-align: left; background: #fff; border: 1px solid #d9e3ee; border-radius: 10px; padding: 9px 12px; font: inherit; cursor: pointer; color: inherit; }
.c11-canal.ativo { background: #0f3d6e; color: #fff; border-color: #0f3d6e; }
.c11-badge { display: inline-block; min-width: 20px; text-align: center; border-radius: 999px; background: #d08a17; color: #fff; font-size: .75rem; padding: 0 6px; margin-left: 4px; }
.c11-badge-eu { background: #b5312a; }
.c11-conversa h3 { margin: 0 0 .6rem; }
.c11-msgs { max-height: 55vh; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 4px; }
.c11-msg { background: #f2f6fa; border-radius: 12px; padding: 8px 12px; max-width: 85%; }
.c11-minha { background: #e3f0e8; align-self: flex-end; }
.c11-cab small { color: #5b6d80; }
.c11-cab .button { padding: 0 6px; min-height: 0; font-size: .75rem; }
.c11-txt { white-space: normal; word-break: break-word; }
.c11-mencao { color: #0f5aa6; }
.c11-eu { background: #fff1c7; border-radius: 4px; padding: 0 2px; }
.c11-escrever { display: flex; gap: 8px; align-items: flex-end; margin-top: 10px; }
.c11-escrever textarea { flex: 1; }
.c11-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 12px; }
.c11-foto { margin: 0; background: #fff; border: 1px solid #d9e3ee; border-radius: 12px; overflow: hidden; }
.c11-foto img { width: 100%; height: 160px; object-fit: cover; display: block; }
.c11-foto figcaption, .c11-foto .actions { padding: 6px 10px; }
.c11-proj { display: block; margin: 10px 0 4px; font-weight: 600; }
@media (max-width: 760px) { .c11-chat { grid-template-columns: 1fr; } .c11-canais { flex-direction: row; overflow-x: auto; } .c11-canal { white-space: nowrap; } }

/* PLATAFORMA_V1 */
.p12-topicos { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin-top: 10px; }
.p12-topico { text-align: left; background: #fff; border: 1px solid #d9e3ee; border-radius: 12px; padding: 12px; font: inherit; color: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 4px; }
.p12-topico small { color: #5b6d80; }
.p12-topico.ativo { border-color: #0f3d6e; box-shadow: 0 0 0 2px #0f3d6e33; }
.p12-videos { margin: .5rem 0; padding-left: 1.1rem; }
.p12-modulos { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.p12-modulo { background: #fff; border: 1px solid #d9e3ee; border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.p12-modulo small { color: #5b6d80; flex: 1; }
.p12-modulo.atual { border-color: #16695a; background: #f2faf6; }

/* MENU_AGRUPADO_V1 */
.nav-sec { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #6b7c8f; padding: 12px 12px 3px; }
.nav-dropdown .nav-sec:first-child { padding-top: 4px; }
.mg-bar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0 12px; padding: 8px 12px; background: #f3f6fa; border: 1px solid #dde5ee; border-radius: 10px; font-size: .9rem; }
.mg-bar span { color: #5b6d80; margin-right: 4px; }

/* MENU_AGRUPADO_V1b */
.nav-dropdown .nav-sec, #quick-links .nav-sec { grid-column: 1 / -1; text-align: left; width: 100%; border-top: 1px solid #e3eaf2; margin-top: 4px; }
.nav-dropdown .nav-sec:first-child, #quick-links .nav-sec:first-child { border-top: 0; margin-top: 0; }
