/* =========================
   Tablero LuniSolar — Base
   ========================= */

.lcp-board{
  --bg: #0b0c10;
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.09);
  --line: rgba(255,255,255,.12);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --accent: #7a5cff;
  --good: #35c28a;
  --warn: #f2c14e;
  --bad:  #ff5a6a;

  color: var(--text);
  background: radial-gradient(1200px 600px at 20% 0%, rgba(122,92,255,.20), transparent 60%),
              radial-gradient(900px 500px at 80% 20%, rgba(53,194,138,.12), transparent 55%),
              var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 20px 55px rgba(0,0,0,.45);

  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

/* =========================
   Topbar
   ========================= */

.lcp-board__topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.05));
  backdrop-filter: blur(6px);
}

.lcp-board__topbar .wp-block-heading{
  margin: 0;
  font-size: 18px;
  letter-spacing: .2px;
}

.lcp-board__topbar p{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* =========================
   Grid principal
   ========================= */

.lcp-board__grid{
  display:grid;
  grid-template-columns: 430px 1fr;
  gap: 14px;
  margin-top: 14px;
}

.lcp-board__left,
.lcp-board__right{
  min-width: 0;
}

/* =========================
   Tarjetas
   ========================= */

.lcp-card{
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.05));
  padding: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

.lcp-card + .lcp-card{
  margin-top: 12px;
}

.lcp-card__title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.lcp-card__title h3{
  margin:0;
  font-size: 14px;
  letter-spacing:.3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.86);
}

/* =========================
   Chips
   ========================= */

.lcp-chip{
  display:inline-flex;
  align-items:center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.18);
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

/* =========================
   Filas tipo formulario
   ========================= */

.lcp-field{
  display:grid;
  grid-template-columns: 160px 1fr;
  gap: 10px;
  align-items:center;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  background: rgba(0,0,0,.18);
}

.lcp-field + .lcp-field{
  margin-top: 10px;
}

.lcp-field__label{
  color: var(--muted);
  font-size: 12px;
  letter-spacing:.2px;
}

.lcp-field__value{
  font-size: 13px;
  color: var(--text);
  overflow:hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* =========================
   Tabla compacta
   ========================= */

.lcp-table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}

.lcp-table th{
  text-align:left;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  padding: 0 10px 4px 10px;
  letter-spacing:.25px;
  text-transform: uppercase;
}

.lcp-table td{
  padding: 10px;
  border-top: 1px solid rgba(255,255,255,.10);
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  font-size: 13px;
}

.lcp-table tr td:first-child{
  border-left: 1px solid rgba(255,255,255,.10);
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.lcp-table tr td:last-child{
  border-right: 1px solid rgba(255,255,255,.10);
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

/* =========================
   Estados
   ========================= */

.lcp-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display:inline-block;
  margin-right: 8px;
  box-shadow: 0 0 0 3px rgba(255,255,255,.06);
}

.lcp-dot--good{ background: var(--good); }
.lcp-dot--warn{ background: var(--warn); }
.lcp-dot--bad{  background: var(--bad); }

/* =========================
   Ajustes columna derecha
   ========================= */

.lcp-board__right .lcp-card{
  padding: 14px;
}

.lcp-board__right .lcp-card__title h3{
  font-size: 15px;
}

/* =========================
   Sticky panel izquierdo
   ========================= */

@media (min-width: 1100px){
  .lcp-board__left{
    position: sticky;
    top: 18px;
    align-self: start;
  }
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 980px){
  .lcp-board__grid{
    grid-template-columns: 1fr;
  }

  .lcp-field{
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .lcp-field__value{
    white-space: normal;
  }
}

/* =========================
   Focus accesible
   ========================= */

.lcp-board :is(a, button, input, select, textarea):focus{
  outline: 2px solid rgba(122,92,255,.55);
  outline-offset: 2px;
  border-radius: 10px;
}

/* =========================
   Botones Bloque 1
   ========================= */

.lcp-cal-b1 button{
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.9);
  padding: 6px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: all .15s ease;
}

.lcp-cal-b1 button:hover{
  background: rgba(255,255,255,.08);
	
	document.documentElement.setAttribute(
  "data-lcp-utc-anchor",
  window.__LCP_EFFECTIVE_YMD
);

	.lcp-paragraph{
  font-weight: 400;
  line-height: 1.55;
  text-align: justify;
}
}