.watch-dashboard {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 138, 114, 0.08), rgba(37, 99, 235, 0.07)),
    #ffffff;
}

.watch-dashboard-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.watch-dashboard-eyebrow {
  display: inline-flex;
  margin-bottom: 6px;
  color: #0f766e;
  font-size: 12px;
  font-weight: 800;
}

.watch-dashboard h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}

.watch-dashboard p {
  margin: 6px 0 0;
  color: #5e7086;
  font-size: 14px;
  line-height: 1.65;
}

.watch-dashboard-sync {
  flex: 0 0 180px;
  display: grid;
  gap: 5px;
  min-height: 72px;
  padding: 12px;
  border: 1px solid #d9e4ef;
  border-radius: 8px;
  background: #fbfdff;
}

.watch-dashboard-sync strong {
  color: #173f76;
  font-size: 18px;
}

.watch-dashboard-sync span {
  color: #5e7086;
  font-size: 12px;
  line-height: 1.45;
}

.watch-dashboard-sync.is-ok {
  border-color: #b8ddd4;
  background: #eefaf7;
}

.watch-dashboard-sync.is-attention {
  border-color: #edcf99;
  background: #fff8e8;
}

.watch-dashboard-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.watch-dashboard-strip article {
  min-height: 88px;
  padding: 12px;
  border: 1px solid #d9e4ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.watch-dashboard-strip span,
.watch-dashboard-strip small {
  display: block;
  color: #5e7086;
  font-size: 12px;
  line-height: 1.45;
}

.watch-dashboard-strip strong {
  display: block;
  margin: 7px 0 4px;
  color: #102033;
  font-size: 16px;
  overflow-wrap: anywhere;
}

.watch-dashboard-guidance {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid #b8ddd4;
  border-radius: 8px;
  background: #eefaf7;
}

.watch-dashboard-guidance strong {
  color: #0f766e;
  font-size: 15px;
}

.watch-dashboard-guidance span {
  color: #345066;
  font-size: 13px;
  line-height: 1.55;
}

.watch-dashboard-guidance.is-attention {
  border-color: #f0b66b;
  background: #fff8e8;
}

.watch-dashboard-guidance.is-attention strong {
  color: #b42318;
}

.watch-dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.watch-metric-card {
  display: grid;
  gap: 7px;
  min-height: 142px;
  padding: 13px;
  border: 1px solid #d9e4ef;
  border-left-width: 4px;
  border-radius: 8px;
  background: #fff;
}

.watch-metric-card span {
  color: #5e7086;
  font-size: 13px;
  font-weight: 700;
}

.watch-metric-card strong {
  color: #102033;
  font-size: 24px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.watch-metric-card small,
.watch-metric-card em {
  color: #5e7086;
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.watch-metric-card.is-ok {
  background: #f7fcfa;
}

.watch-metric-card.is-info {
  background: #fffaf0;
  border-color: #edcf99;
}

.watch-metric-card.is-info strong {
  color: #9a3412;
}

.watch-metric-card.is-info small {
  color: #9a3412;
  font-weight: 700;
}

.watch-metric-card.is-attention {
  background: #fffaf0;
  border-color: #f0b66b;
}

.watch-metric-card.is-critical {
  background: #fff5f4;
  border-color: #dc4a42;
}

.watch-metric-card.is-attention strong,
.watch-metric-card.is-critical strong {
  color: #b42318;
}

.watch-metric-card.is-attention small,
.watch-metric-card.is-critical small {
  color: #9f3412;
  font-weight: 800;
}

.watch-metric-card.is-muted {
  background: #f8fafc;
}

.watch-metric-card.tone-red { border-left-color: #dc4a42; }
.watch-metric-card.tone-blue { border-left-color: #2563eb; }
.watch-metric-card.tone-amber { border-left-color: #b45309; }
.watch-metric-card.tone-green { border-left-color: #0f8a72; }
.watch-metric-card.tone-indigo { border-left-color: #4f46e5; }
.watch-metric-card.tone-orange { border-left-color: #ea580c; }
.watch-metric-card.tone-teal { border-left-color: #0891b2; }
.watch-metric-card.tone-slate { border-left-color: #64748b; }

.watch-dashboard-footer {
  display: grid;
  gap: 10px;
  padding-top: 2px;
}

.watch-dashboard-bars {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 6px;
}

.watch-dashboard-bars span {
  height: 8px;
  border-radius: 999px;
  background: #d9e4ef;
}

.watch-dashboard-bars span.is-filled {
  background: linear-gradient(90deg, #0f8a72, #2563eb);
}

.watch-dashboard-footer p {
  margin: 0;
  color: #5e7086;
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .watch-dashboard-header,
  .watch-dashboard-strip {
    grid-template-columns: 1fr;
  }

  .watch-dashboard-header {
    display: grid;
  }

  .watch-dashboard-sync {
    flex-basis: auto;
  }

  .watch-dashboard-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .watch-dashboard {
    padding: 14px;
  }

  .watch-dashboard-metrics,
  .watch-dashboard-strip {
    grid-template-columns: 1fr;
  }

  .watch-dashboard h3 {
    font-size: 20px;
  }
}
