/* Symfonet360 Status: complementa ../../assets/css/styles.css (mismos tokens, sólo oscuro). */
:root {
  --st-ok: #59B265;
  --st-menor: #E3C04B;
  --st-parcial: #E8893A;
  --st-caida: #EF5E5E;
  --st-nd: #36405A;
}
.st-nav { display: flex; align-items: center; gap: 1rem; }
.st-nav a:not(.boton) { color: var(--texto); min-height: 44px; display: inline-flex; align-items: center; }
.st-main { padding-top: clamp(1.5rem, 4vw, 3rem); padding-bottom: 4rem; max-width: 960px; }

.st-banner { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.25rem; border-radius: var(--radio); border: 1px solid var(--borde-fuerte); background: var(--superficie); }
.st-banner p { margin: 0; font-family: var(--f-titulo); font-weight: 600; font-size: clamp(1.1rem, 1rem + .6vw, 1.4rem); }
.st-banner--ok { border-color: var(--st-ok); }
.st-banner--caida { border-color: var(--st-caida); }
.st-actualizado { color: var(--texto-2); font-size: .875rem; margin: .6rem 0 2rem; }

.st-punto { width: 12px; height: 12px; border-radius: 50%; flex: none; background: var(--st-nd); }
.st-punto--ok { background: var(--st-ok); }
.st-punto--caida { background: var(--st-caida); border-radius: 2px; transform: rotate(45deg); }
.st-punto--nd { background: transparent; border: 2px solid var(--texto-2); }

.st-componentes__cab { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.st-componentes__cab h2 { font-size: 1.25rem; margin: 0; }
.st-periodo { display: inline-flex; border: 1px solid var(--borde-fuerte); border-radius: 999px; padding: 3px; }
.st-periodo a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 .85rem; border-radius: 999px; color: var(--texto); text-decoration: none; font-size: .875rem; }
.st-periodo a[aria-current="page"] { background: var(--acento); color: var(--sobre-acento); font-weight: 600; }

.st-comp { background: var(--superficie); border: 1px solid var(--borde); border-radius: var(--radio); padding: 1.1rem 1.25rem; margin-bottom: 1rem; }
.st-comp__cab { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .9rem; }
.st-comp__cab h3 { margin: 0; font-size: 1.0625rem; }
.st-estado { display: inline-flex; align-items: center; gap: .45rem; font-size: .875rem; color: var(--texto-2); }
.st-estado--ok { color: #8FD39A; }
.st-estado--caida { color: #FF9C9C; }

.st-barras { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; height: 34px; }
.st-barras--90 { gap: 1px; }
.st-barras--180 { gap: 0; }
.st-b { flex: 1 1 0; min-width: 0; border-radius: 2px; background: var(--st-nd); display: block; }
.st-barras--180 .st-b { border-radius: 0; }
.st-b--ok { background: var(--st-ok); }
.st-b--menor { background: var(--st-menor); }
.st-b--parcial { background: var(--st-parcial); }
.st-b--caida { background: var(--st-caida); }
.st-b:hover { opacity: .75; }
.st-comp__pie { display: flex; justify-content: space-between; gap: .5rem; margin-top: .5rem; font-size: .8125rem; color: var(--texto-2); }
.st-uptime { color: var(--texto); font-weight: 500; text-align: center; }

.st-detalle { margin-top: .75rem; font-size: .875rem; }
.st-detalle summary { cursor: pointer; color: var(--verde-texto); min-height: 32px; display: inline-flex; align-items: center; }
.st-detalle table { width: 100%; border-collapse: collapse; margin-top: .5rem; }
.st-detalle th, .st-detalle td { text-align: left; padding: .35rem .5rem; border-bottom: 1px solid var(--borde); }
.st-detalle th { color: var(--texto-2); font-weight: 500; }

.st-leyenda { margin: 1.25rem 0 2.5rem; }
.st-leyenda h3 { font-size: .9375rem; color: var(--texto-2); font-weight: 500; font-family: var(--f-texto); }
.st-leyenda ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .875rem; }
.st-leyenda li { display: inline-flex; align-items: center; gap: .45rem; }
.st-leyenda .st-b { width: 10px; height: 18px; flex: none; }

.st-incidencias h2 { font-size: 1.25rem; }
.st-incidencias ul { padding-left: 1.1rem; color: var(--texto-2); }
.st-nota { margin-top: 2rem; font-size: .875rem; color: var(--texto-2); }

/* ---------- Instalador y panel ---------- */
.st-admin__main { padding-top: 2rem; padding-bottom: 4rem; max-width: 880px; }
.st-intro { color: var(--texto-2); }
.st-form { display: grid; gap: .4rem; }
.st-form--angosto { max-width: 420px; }
.st-form fieldset { border: 1px solid var(--borde); border-radius: var(--radio); padding: 1rem 1.25rem 1.25rem; margin: 0 0 1.25rem; display: grid; gap: .4rem; }
.st-form legend { font-family: var(--f-titulo); font-weight: 600; padding: 0 .4rem; }
.st-form label { font-weight: 500; margin-top: .4rem; }
.st-form input:not([type="checkbox"]) {
  width: 100%; min-height: 44px; padding: .55rem .75rem; border-radius: var(--radio-chico);
  border: 1px solid var(--borde-fuerte); background: var(--lienzo); color: var(--texto); font: inherit;
}
.st-form input.mono, .mono { font-family: var(--f-mono); }
.st-form button { justify-self: start; margin-top: .75rem; cursor: pointer; }
.st-ayuda { font-size: .875rem; color: var(--texto-2); margin: 0; }
.st-codigo { background: var(--superficie); border: 1px solid var(--borde); border-radius: var(--radio-chico); padding: .9rem 1rem; overflow-x: auto; font-family: var(--f-mono); font-size: .875rem; }
.st-aviso { border-radius: var(--radio-chico); padding: .8rem 1rem; margin: 0 0 1.25rem; border: 1px solid; }
.st-aviso p { margin: 0; }
.st-aviso ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.st-aviso--error { border-color: var(--st-caida); background: #2A1518; }
.st-aviso--ok { border-color: var(--st-ok); background: #13261A; }
.st-panel-barra { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; padding: .75rem 1rem; background: var(--superficie); border-radius: var(--radio-chico); margin-bottom: 2rem; }
.st-panel-barra p { margin: 0; color: var(--texto-2); }
.st-panel-barra form button { margin: 0; }
.st-bloque { margin-bottom: 2.5rem; }
.st-componente { background: var(--superficie); border: 1px solid var(--borde); border-radius: var(--radio); padding: 1rem 1.25rem; margin-bottom: 1rem; }
.st-componente h3 { margin: 0; font-size: 1rem; }
.st-rejilla { display: grid; gap: .25rem 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .st-rejilla { grid-template-columns: 1fr 1fr; } .st-ancho { grid-column: 1 / -1; } }
.st-check { display: flex; align-items: center; gap: .5rem; margin-top: 1.4rem; }
.st-check input { width: 20px; height: 20px; accent-color: var(--acento); }
.st-check label { margin: 0; }
.st-acciones { display: flex; flex-wrap: wrap; gap: .5rem; }
.st-acciones button { margin-top: .5rem; }
.st-peligro { border-color: var(--st-caida); color: #FF9C9C; }
.st-recaptcha { margin-top: .75rem; }
.st-corto { display: none; }
@media (max-width: 559.98px) {
  .st-largo { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .st-corto { display: inline; }
  .st-nav { gap: .5rem; }
  .st-nav .boton { padding: .5rem .8rem; }
}
.st-demo { display: inline-block; vertical-align: middle; margin-left: .4rem; padding: .1rem .55rem; border-radius: 999px; border: 1px dashed var(--st-menor); color: #F0D57A; font-family: var(--f-mono); font-size: .75rem; font-weight: 500; letter-spacing: .02em; }

/* ---------- Vista calendario ---------- */
.st-controles { display: flex; flex-wrap: wrap; gap: .5rem; }
.st-uptime--cal { margin: 0 0 .75rem; font-size: .875rem; text-align: left; }
.st-cal { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 1rem 1.25rem; }
.st-mes__nombre { margin: 0 0 .35rem; font-size: .8125rem; font-weight: 600; color: var(--texto-2); }
.st-mes__dias { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.st-ds { font-family: var(--f-mono); font-size: .6875rem; color: var(--texto-2); text-align: center; }
.st-c { aspect-ratio: 1; border-radius: 3px; display: grid; place-items: center; font-size: .6875rem; font-weight: 600; color: #0B0F1D; background: var(--st-nd); }
.st-c.st-b--ok { background: var(--st-ok); }
.st-c.st-b--menor { background: var(--st-menor); }
.st-c.st-b--parcial { background: var(--st-parcial); }
.st-c.st-b--caida { background: var(--st-caida); }
.st-c.st-b--nd { color: var(--texto); }
.st-c--vacio { background: transparent; }
