:root{
  --si3-blue:#1f3c88;
  --si3-blue-2:#2a56b8;
  --si3-orange:#e07b12;

  --bg:#f6f8fb;
  --card:#ffffff;
  --stroke: rgba(15, 23, 42, .10);
  --text:#0f172a;
  --muted: rgba(15,23,42,.70);

  --ok:#16a34a;
  --warn:#f59e0b;
  --down:#ef4444;
  --maint:#0ea5e9;

  --shadow: 0 18px 45px rgba(2,6,23,.10);
  --shadow-soft: 0 10px 24px rgba(2,6,23,.08);
}

body{
  background: var(--bg);
  color: var(--text);
  min-height:100vh;
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

.top{
  background: linear-gradient(135deg, var(--si3-blue-2), var(--si3-orange));
  color:#fff;
  padding: 20px 0;
  box-shadow: 0 12px 30px rgba(2,6,23,.12);
}

.container{
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.rowTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.brand img{
  height:40px;
  width:auto;
  background:#fff;
  border-radius:12px;
  padding:6px 10px;
}

.brand .title{
  margin:0;
  font-weight:900;
  letter-spacing:.2px;
  font-size:18px;
  line-height:1.1;
}

.brand .subtitle{
  margin:2px 0 0;
  opacity:.9;
  font-size:13px;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.28);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight:800;
  font-size:12px;
  white-space:nowrap;
}

.dot{
  width:10px;height:10px;border-radius:50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(255,255,255,.18);
}

.wrap{
  padding: 22px 0 50px;
}

.card{
  border: 1px solid var(--stroke);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.card-head{
  padding: 16px 18px;
  border-bottom: 1px solid var(--stroke);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}

.card-head h2{
  margin:0;
  font-size:16px;
  font-weight:900;
}

.meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  color: var(--muted);
  font-size:12px;
  align-items:center;
  width:100%;
}

.meta .chip{
  border:1px solid var(--stroke);
  background: rgba(2,6,23,.02);
  padding:6px 10px;
  border-radius:999px;
  font-weight:700;
}

.right-actions{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

.btn-si3{
  border:0;
  border-radius:12px;
  padding:10px 12px;
  font-weight:900;
  font-size:13px;
  color:#fff;
  background: linear-gradient(135deg, var(--si3-blue-2), rgba(42,86,184,.85));
  box-shadow: 0 12px 22px rgba(42,86,184,.16);
  cursor:pointer;
}

.btn-si3:hover{ filter:brightness(1.03); }

.status-grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:14px;
  padding: 18px;
}

.service{
  grid-column: span 6;
  border:1px solid var(--stroke);
  border-radius:14px;
  background:#fff;
  box-shadow: var(--shadow-soft);
  padding: 14px 14px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  transition: transform .15s ease, box-shadow .15s ease;
}

.service:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 35px rgba(2,6,23,.10);
}

@media (max-width: 768px){
  .service{ grid-column: span 12; }
}

.svc-left{ min-width:0; }
.svc-name{
  margin:0;
  font-weight:900;
  font-size:14px;
  letter-spacing:.1px;
}
.svc-desc{
  margin:4px 0 0;
  color: var(--muted);
  font-size:12px;
  line-height:1.35;
}

.badge-status{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border-radius: 999px;
  padding: 8px 10px;
  font-weight:900;
  font-size:12px;
  border:1px solid rgba(15,23,42,.10);
  white-space:nowrap;
  flex: 0 0 auto;
}

.b-ok{ background: rgba(22,163,74,.10); color: var(--ok); }
.b-warn{ background: rgba(245,158,11,.12); color: var(--warn); }
.b-down{ background: rgba(239,68,68,.10); color: var(--down); }
.b-maint{ background: rgba(14,165,233,.12); color: var(--maint); }

.mini-dot{
  width:10px;height:10px;border-radius:50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(15,23,42,.06);
}

.incidents{
  padding: 0 18px 18px;
}

.incidents h2{
  margin:0;
  font-size:16px;
  font-weight:900;
}

.incident{
  border:1px solid var(--stroke);
  border-radius:14px;
  background:#fff;
  padding: 14px 14px;
  margin-top: 12px;
  display:flex;
  gap:12px;
  align-items:flex-start;
  box-shadow: var(--shadow-soft);
}

.incident .icon{
  width:36px;height:36px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  font-weight:900;
  color:#fff;
  flex:0 0 auto;
  box-shadow: 0 10px 20px rgba(2,6,23,.10);
}

.i-maint{ background: linear-gradient(135deg, var(--maint), rgba(14,165,233,.70)); }
.i-warn{ background: linear-gradient(135deg, var(--warn), rgba(245,158,11,.70)); }
.i-down{ background: linear-gradient(135deg, var(--down), rgba(239,68,68,.75)); }

.incident h3{
  margin:0;
  font-size:14px;
  font-weight:900;
}

.incident .when{
  margin:3px 0 0;
  color: var(--muted);
  font-size:12px;
}

.incident .body{
  margin:8px 0 0;
  color: rgba(15,23,42,.78);
  font-size:13px;
  line-height:1.45;
}

footer{
  padding: 16px 0 0;
  color: rgba(15,23,42,.55);
  font-size: 12px;
  text-align:center;
}
