/* CT13 — mantém identidade verde do portal, compacto no mobile. */
.ct13-comments{margin:3rem auto 3.5rem;padding-top:1.7rem;border-top:1px solid #d4dfd6;max-width:1080px}
.ct13-comments h2,.ct13-admin h2{color:#143f32}
.ct13-comment-list{display:grid;gap:.8rem;margin:1rem 0}
.ct13-comment{padding:1rem 1.2rem;background:#fff;border:1px solid #d7e2da;border-radius:12px}
.ct13-comment-by{margin:.1rem 0 .5rem}.ct13-comment-by small,.ct13-small{color:#526a60;font-size:.86rem;line-height:1.5}
.ct13-comment-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;margin:.35rem 0 0}
.ct13-login-prompt,.ct13-highlight,.ct13-empty{background:#f1f6f2;padding:.9rem 1.1rem;border-radius:10px}
.ct13-dialog{border:1px solid #cadcd1;border-radius:16px;width:min(94vw,530px);max-height:88vh;overflow:auto;padding:1.35rem 1.5rem;box-shadow:0 15px 50px #142a2240;color:#173e31;background:#fff}
.ct13-dialog::backdrop{background:#0d211b99}.ct13-dialog h2{font-size:1.5rem;margin:0 0 .5rem}
.ct13-dialog p{line-height:1.5}
.ct13-form{display:grid;gap:.5rem}.ct13-form label:not(.ct13-check){font-weight:600}
.ct13-form input:not([type=checkbox]):not([type=hidden]),.ct13-form textarea{box-sizing:border-box;width:100%;border:1px solid #bdd1c4;border-radius:8px;background:#fff;padding:.8rem;font:inherit;color:#173e31}
.ct13-check{display:flex;align-items:flex-start;gap:.7rem;font-weight:400;margin:.7rem 0;line-height:1.5;font-size:.92rem}
.ct13-check input{flex:0 0 auto;margin-top:.2rem;accent-color:#14523b}
.ct13-dialog-actions{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:flex-end}
.ct13-primary,.ct13-secondary{border:1px solid #194938;border-radius:8px;font:inherit;cursor:pointer;padding:.7rem 1rem}
.ct13-primary{background:#154a37;color:#fff}.ct13-secondary{background:transparent;color:#154a37}
.ct13-comment-form{max-width:760px;margin-top:1.3rem}
.ct13-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.ct13-admin{margin:2rem auto 4rem}.ct13-admin-stats{display:flex;gap:1rem;flex-wrap:wrap}
.ct13-admin-stats p{background:#edf4ef;padding:1rem;border-radius:9px}
.ct13-table-scroll{max-width:100%;overflow-x:auto;margin:1rem 0 3rem}
.ct13-table{width:100%;border-collapse:collapse;background:#fff;min-width:780px;font-size:.9rem}
.ct13-table th,.ct13-table td{padding:.75rem;border:1px solid #d8e4db;vertical-align:top;text-align:left}
.ct13-table th{background:#e9f0eb}.ct13-table td form{margin:.3rem 0}
.ct13-table td .ct13-primary,.ct13-table td .ct13-secondary{padding:.35rem .6rem}
.ct13-message{min-width:210px;max-width:320px;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:700px){.ct13-comments{margin:2rem auto;padding:1rem 0}.ct13-dialog{padding:1rem}.ct13-dialog-actions button{flex:1}.ct13-admin h1{font-size:2rem}}

/* CT14 — dashboard de interações e listas especializadas. */
.ct14-panel{max-width:1380px}
.ct14-intro{max-width:900px}
.ct14-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin:1.7rem 0}
.ct14-metric{min-height:105px;padding:1.1rem 1.3rem;border:1px solid #d7e2da;border-radius:13px;background:#fff;display:grid;align-content:start;gap:.25rem}
.ct14-metric span{font-size:.89rem;color:#3b5d4e}.ct14-metric strong{font-size:2.2rem;line-height:1.15;color:#133f31;font-variant-numeric:tabular-nums}.ct14-metric small{color:#6a8073}
.ct14-area-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1.2rem 0 2.5rem}
.ct14-area-card{border:1px solid #d1dfd5;border-radius:16px;background:#f7faf6;padding:1.5rem;display:flex;flex-direction:column;gap:.65rem}
.ct14-area-card h2{font-size:1.65rem;margin:0}.ct14-area-card p{margin:0 0 .6rem;color:#39584d;line-height:1.6}.ct14-area-top{display:flex;justify-content:space-between;align-items:center;font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;color:#597366}
.ct14-area-top strong{font-size:1.45rem;color:#143f32;letter-spacing:0}.ct14-action{display:flex;align-items:center;justify-content:space-between;gap:1rem;align-self:flex-start;background:#164a38;color:#fff!important;text-decoration:none;padding:.75rem 1rem;border-radius:8px;font-weight:650;margin-top:auto}
.ct14-action:hover{background:#0c3827}
.ct14-data-section{border-top:1px solid #dce5de;padding:1.6rem 0 2rem;margin-top:1.4rem}
.ct14-section-heading{display:flex;gap:1rem;justify-content:space-between;align-items:end;flex-wrap:wrap;margin-bottom:1rem}.ct14-section-heading h2{margin:.15rem 0;font-size:1.65rem}
.ct14-section-heading .eyebrow{margin:0}
.ct14-legend{display:flex;gap:1.3rem;align-items:center;font-size:.84rem;color:#355548;margin-bottom:1.1rem}.ct14-legend span{display:inline-flex;align-items:center;gap:.5rem}.ct14-swatch{height:12px;width:12px;display:inline-block;border-radius:2px}
.ct14-wa{background:#176c4e}.ct14-co{background:#dca845}
.ct14-chart-scroll{overflow-x:auto;border:1px solid #d6e1d9;border-radius:12px;background:#fff;padding:1rem .5rem .6rem}
.ct14-chart{min-width:730px;display:grid;grid-template-columns:repeat(30,minmax(0,1fr));gap:4px;height:215px;align-items:stretch}
.ct14-chart-day{display:flex;flex-direction:column;justify-content:flex-end;min-width:0;align-items:center}
.ct14-chart-bars{height:180px;width:100%;display:flex;justify-content:center;align-items:end;gap:2px;border-bottom:1px solid #cad8ce;background:repeating-linear-gradient(to top,transparent 0,transparent 44px,#edf2ee 44px,#edf2ee 45px)}
.ct14-bar{width:42%;max-width:12px;min-height:0;border-radius:3px 3px 0 0;display:block}.ct14-bar-wa{background:#176c4e}.ct14-bar-co{background:#dca845}.ct14-day-label{height:25px;white-space:nowrap;font-size:.68rem;color:#687e70;margin-top:7px}
.ct14-chart-details{margin-top:.8rem;font-size:.89rem;color:#365c48}.ct14-chart-details summary{cursor:pointer}
.ct14-sections-table{min-width:650px}.ct14-sections-table td a{font-weight:600}
.ct14-nav{display:flex;justify-content:space-between;gap:1rem;margin:1rem 0;flex-wrap:wrap}
.ct14-filters{display:flex;flex-wrap:wrap;align-items:end;gap:.8rem;border:1px solid #d7e2da;background:#f7faf7;border-radius:12px;padding:1rem;margin-top:1.2rem}
.ct14-filters label{display:grid;gap:.4rem;font-weight:600;color:#193d31;font-size:.85rem;flex:1 1 205px}
.ct14-filters input,.ct14-filters select{box-sizing:border-box;width:100%;min-height:43px;padding:.6rem .75rem;border:1px solid #bcd1c3;border-radius:8px;background:#fff;font:inherit;font-size:.92rem;color:#173e31}
.ct14-filters .ct13-primary{min-height:43px}.ct14-reset{min-height:43px;display:inline-flex;align-items:center;padding:.5rem .7rem}
.ct14-pagination{display:flex;justify-content:space-between;gap:1rem;align-items:center;margin-top:1.2rem;flex-wrap:wrap;font-size:.93rem}
@media(max-width:800px){.ct14-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ct14-area-grid{grid-template-columns:1fr}}
@media(max-width:450px){.ct14-metrics{gap:.55rem}.ct14-metric{padding:.85rem;min-height:90px}.ct14-metric strong{font-size:1.7rem}.ct14-area-card{padding:1.1rem}.ct14-data-section{padding-top:1.1rem}}

/* CT15_COMMENTS_LAYOUT_START — correção isolada do formulário de comentários. */
.ct13-comments .ct13-comment-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  max-width: 820px;
  margin: 1.4rem auto 0;
  padding: clamp(1.15rem, 3vw, 1.7rem);
  gap: .75rem;
  background: #fff;
  border: 1px solid #d6e2d9;
  border-radius: 15px;
  box-sizing: border-box;
  min-width: 0;
}
.ct13-comments .ct13-comment-form > h3 {
  margin: 0 0 .25rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -.02em;
  color: #163e32;
}
.ct13-comments .ct13-comment-form > label[for="ct13-comment-text"] {
  margin: .15rem 0 0;
  font-size: .95rem;
  line-height: 1.4;
}
.ct13-comments .ct13-comment-form > #ct13-comment-text {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 148px;
  margin: 0;
  padding: .9rem 1rem;
  box-sizing: border-box;
  line-height: 1.55;
  border-radius: 10px;
}
/* A regra global input{width:100%} quebrava o checkbox: forçar dimensões fixas. */
.ct13-comments .ct13-comment-form > label.ct13-check {
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr) !important;
  align-items: start;
  justify-content: start;
  column-gap: 12px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: .1rem 0 0;
  padding: .9rem 1rem;
  border: 1px solid #d5e3d9;
  border-radius: 10px;
  background: #f5f8f5;
  color: #254b3d;
  font-size: .9rem;
  font-weight: 400;
  line-height: 1.55;
  box-sizing: border-box;
}
.ct13-comments .ct13-comment-form > label.ct13-check > input[type="checkbox"] {
  display: block;
  appearance: auto;
  box-sizing: border-box;
  flex: none;
  width: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  height: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  accent-color: #164b37;
}
.ct13-comments .ct13-comment-form > label.ct13-check > span {
  display: block;
  width: auto;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  white-space: normal;
  overflow-wrap: break-word;
  font-weight: 400;
  line-height: 1.55;
  text-align: left;
}
.ct13-comments .ct13-comment-form > button.ct13-primary {
  width: 100%;
  min-height: 48px;
  margin-top: .1rem;
  padding: .8rem 1rem;
  font-weight: 650;
  text-align: center;
  border-radius: 8px;
}
@media (max-width: 600px) {
  .ct13-comments .ct13-comment-form {padding: 1rem; gap: .65rem; border-radius: 12px;}
  .ct13-comments .ct13-comment-form > #ct13-comment-text {min-height: 132px;}
  .ct13-comments .ct13-comment-form > label.ct13-check {padding: .75rem; column-gap: 10px; font-size: .87rem;}
}
/* CT15_COMMENTS_LAYOUT_END */
