.mca-tools { max-width: 920px; margin: 0 auto; padding: 0; font-family: inherit; }
.mca-tools-page { padding: 48px 16px 80px; }
.mca-page-tools #secondary,
.mca-page-tools .widget-area { display: none !important; }
.mca-medicao-box {
  background: #e8f3ea;
  border-radius: 18px;
  padding: 22px 22px 18px;
  border: 1px solid #cfe3d3;
}
.mca-medicao-box h2 {
  margin: 0 0 16px;
  color: #1b5e20;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mca-medicao-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.mca-tools label { display: block; font-weight: 700; color: #1b5e20; font-size: 14px; }
.mca-tools input[type="text"],
.mca-tools input[type="number"],
.mca-tools select,
.mca-tools textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid #d7e3d9;
  border-radius: 10px;
  padding: 11px 12px;
  background: #fff;
}
.mca-check {
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.mca-check input { width: auto; margin: 0; }
.mca-potencia { margin: 18px 0; }
.mca-potencia-top { display: flex; justify-content: space-between; margin-bottom: 8px; font-weight: 700; color: #1b5e20; }
.mca-potencia-top strong { color: #e88900; }
.mca-potencia input[type="range"] { width: 100%; accent-color: #1b5e20; }
.mca-potencia-scale { display: flex; justify-content: space-between; color: #6b7c6e; font-size: 12px; margin-top: 4px; }
.mca-medicao-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0; }
.mca-medicao-kpis .kpi { border-radius: 14px; padding: 16px 12px; text-align: center; }
.mca-medicao-kpis span { display: block; font-size: 13px; margin-bottom: 6px; }
.mca-medicao-kpis b { font-size: 26px; }
.mca-medicao-kpis .k1 { background: #e8f3ea; color: #1b5e20; }
.mca-medicao-kpis .k2 { background: #fff1de; color: #e88900; }
.mca-medicao-kpis .k3 { background: #eef0f2; color: #333; }
.mca-medicao-go {
  width: 100%;
  border: 0;
  background: #1b5e20;
  color: #fff !important;
  font-weight: 800;
  padding: 14px 16px;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none !important;
  display: inline-block;
  text-align: center;
}
.mca-medicao-go:hover { background: #164d1a; color: #fff !important; }
.mca-parc-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 14px; }
.mca-parc-cad {
  border: 1.5px solid #1b5e20;
  color: #1b5e20 !important;
  text-decoration: none !important;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.mca-parc-filtros { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.mca-parc-filtros a {
  border: 1px solid #d7e3d9;
  border-radius: 999px;
  padding: 7px 12px;
  text-decoration: none !important;
  color: #334 !important;
  font-size: 13px;
  font-weight: 700;
}
.mca-parc-filtros a.on { border-color: #1b5e20; color: #1b5e20 !important; background: #e8f3ea; }
.mca-tec-card {
  background: #fff;
  border: 1px solid #e4e8e5;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 12px;
}
.mca-tec-top { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.mca-tec-foto img, .mca-tec-ph {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover; display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.mca-tec-ph {
  background: #e8f3ea;
  color: #1b5e20;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
}
.mca-tec-card h3 {
  margin: 0 0 2px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #1b1d21;
}
.mca-badge { display: inline-block; background: #f5c518; color: #3a2b00; font-size: 11px; font-weight: 800; border-radius: 999px; padding: 2px 8px; vertical-align: middle; }
.mca-tec-loc, .mca-tec-nota { margin: 0; color: #556; font-size: 13px; }
.mca-tec-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 12px; }
.mca-tec-tags span { background: #e8f3ea; color: #1b5e20; border-radius: 999px; padding: 4px 8px; font-size: 12px; font-weight: 700; }
.mca-tec-acoes { display: flex; gap: 8px; }
.mca-tec-acoes a {
  flex: 1; text-align: center; padding: 10px 12px; border-radius: 10px; font-weight: 800; text-decoration: none !important;
}
.mca-tec-acoes .out { border: 1.5px solid #1b5e20; color: #1b5e20 !important; }
.mca-tec-acoes .in { background: #1b5e20; color: #fff !important; }
.mca-parc-cad { background: #fff; cursor: pointer; font-family: inherit; font-size: 14px; }
.mca-parc-cad:hover { background: #e8f3ea; }
.mca-parc-modal[hidden] { display: none !important; }
.mca-parc-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.mca-parc-modal-bg { position: absolute; inset: 0; background: rgba(16, 28, 20, .55); }
.mca-parc-modal-box {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  padding: 22px 20px 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
}
.mca-parc-modal-box h2 { margin: 0 0 14px; color: #1b5e20; font-size: 22px; }
.mca-parc-modal-x {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #556;
}
body.mca-modal-lock { overflow: hidden; }
.mca-esp-list { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 8px; }
.mca-flash-ok { background: #dcfce7; color: #166534; padding: 10px 12px; border-radius: 10px; margin-bottom: 12px; }
@media (max-width: 700px) {
  .mca-medicao-grid, .mca-medicao-kpis, .mca-parc-head { grid-template-columns: 1fr; display: grid; }
  .mca-tec-acoes { flex-direction: column; }
}
