/* Week 38 compact dashboard refinement — v1.0.1
   Status text carries meaning; color and gauge position are secondary cues. */
.tlr-status-dashboard{
  margin:1rem 0 1.35rem;
  padding:1rem;
  border:1px solid rgba(187,213,255,.24);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(10,28,49,.94),rgba(8,22,39,.9));
  box-shadow:0 14px 42px rgba(0,0,0,.22);
}
.tlr-status-dashboard__head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:.75rem;
}
.tlr-status-dashboard__head h2{
  margin:0;
  color:#f6f1e8;
  font-size:clamp(1.18rem,2vw,1.55rem);
  line-height:1.12;
  letter-spacing:-.015em;
}
.tlr-status-dashboard__meta{
  color:#9eabc0;
  font-size:.8rem;
  white-space:nowrap;
}
.tlr-status-dashboard__grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:.72rem;
}
.tlr-status-card{
  --domain:#69a7ff;
  display:flex;
  min-width:0;
  min-height:158px;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:.78rem .7rem .72rem;
  border:1px solid color-mix(in srgb,var(--domain) 50%,transparent);
  border-radius:17px;
  background:linear-gradient(160deg,color-mix(in srgb,var(--domain) 12%,transparent),rgba(255,255,255,.018));
  color:#f6f1e8;
  text-align:center;
  text-decoration:none;
  transition:transform .16s ease,border-color .16s ease,background .16s ease;
}
.tlr-status-card:hover,.tlr-status-card:focus-visible{
  transform:translateY(-1px);
  border-color:color-mix(in srgb,var(--domain) 78%,white 8%);
  background:linear-gradient(160deg,color-mix(in srgb,var(--domain) 17%,transparent),rgba(255,255,255,.028));
}
.tlr-status-card--events{--domain:#69a7ff}
.tlr-status-card--conditions{--domain:#e7b348}
.tlr-status-card--access{--domain:#ed8b3a}
.tlr-status-card--alerts{--domain:#e56560}
.tlr-mini-gauge{
  width:100%;
  max-width:98px;
  height:49px;
  margin:0 auto .22rem;
  color:var(--domain);
}
.tlr-mini-gauge svg{display:block;width:100%;height:100%;overflow:visible}
.tlr-mini-gauge__track{
  fill:none;
  stroke:rgba(202,214,231,.22);
  stroke-width:11;
  stroke-linecap:round;
}
.tlr-mini-gauge__value{
  fill:none;
  stroke:currentColor;
  stroke-width:11;
  stroke-linecap:round;
  stroke-dasharray:53 100;
}
.tlr-mini-gauge__needle{
  stroke:#f6f1e8;
  stroke-width:3.1;
  stroke-linecap:round;
}
.tlr-mini-gauge__hub{fill:currentColor;stroke:#f6f1e8;stroke-width:1.5}
.tlr-status-card__value{
  margin:0;
  font-size:clamp(1.35rem,2.2vw,1.75rem);
  line-height:1;
  font-weight:700;
  letter-spacing:-.02em;
}
.tlr-status-card__label{
  margin-top:.22rem;
  color:var(--domain);
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:.76rem;
  font-weight:800;
  line-height:1;
  letter-spacing:.105em;
  text-transform:uppercase;
}
.tlr-status-card__sub{
  margin:.42rem 0 0;
  color:#b7c3d5;
  font-size:.8rem;
  line-height:1.22;
}
.tlr-status-dashboard__shortcuts{
  display:flex;
  flex-wrap:wrap;
  gap:.45rem;
  margin-top:.72rem;
}
.tlr-status-chip{
  display:inline-flex;
  min-height:36px;
  align-items:center;
  gap:.4rem;
  padding:.38rem .67rem;
  border:1px solid rgba(187,213,255,.24);
  border-radius:999px;
  background:rgba(255,255,255,.025);
  color:#e8edf5;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:.78rem;
  line-height:1.15;
  text-decoration:none;
}
.tlr-status-chip::before{
  width:.52rem;
  height:.52rem;
  flex:0 0 .52rem;
  border-radius:50%;
  background:var(--chip,#69a7ff);
  box-shadow:0 0 0 4px color-mix(in srgb,var(--chip,#69a7ff) 18%,transparent);
  content:"";
}
.tlr-status-chip--event{--chip:#69a7ff}
.tlr-status-chip--condition{--chip:#e7b348}
.tlr-status-chip--access{--chip:#ed8b3a}
.tlr-status-chip--alert{--chip:#e56560}
.tlr-status-dashboard__note{
  margin:.68rem 0 0;
  padding-top:.62rem;
  border-top:1px solid rgba(187,213,255,.13);
  color:#9eabc0;
  font-size:.78rem;
  line-height:1.35;
}
@media(max-width:760px){
  .tlr-status-dashboard{padding:.85rem}
  .tlr-status-dashboard__head{display:block;margin-bottom:.65rem}
  .tlr-status-dashboard__meta{display:block;margin-top:.2rem;white-space:normal}
  .tlr-status-dashboard__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.58rem}
  .tlr-status-card{min-height:142px;padding:.65rem .55rem}
  .tlr-mini-gauge{max-width:84px;height:42px;margin-bottom:.16rem}
  .tlr-mini-gauge__track,.tlr-mini-gauge__value{stroke-width:10}
  .tlr-status-card__sub{font-size:.74rem}
  .tlr-status-dashboard__shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:.45rem}
  .tlr-status-chip{border-radius:12px;padding:.45rem .55rem}
}
@media(max-width:390px){
  .tlr-status-dashboard__shortcuts{grid-template-columns:1fr}
}
@media print{
  .tlr-status-dashboard{background:#fff;color:#000;border:1px solid #999;box-shadow:none}
  .tlr-status-card{background:#fff;border:1px solid #999;color:#000}
  .tlr-status-card__value{color:#000}
  .tlr-status-card__sub,.tlr-status-dashboard__note,.tlr-status-dashboard__meta{color:#333}
  .tlr-mini-gauge__track{stroke:#ccc}
  .tlr-mini-gauge__needle{stroke:#111}
  .tlr-status-chip{background:#fff;color:#000;border-color:#aaa}
}
