:root {
  color: #292a2e;
  background: #f5f5f7;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: #f5f5f7;
}

.page-shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.brand-logo {
  display: block;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  object-fit: cover;
}

h1, h2, p { margin: 0; }

h1 {
  margin-top: 3px;
  font-size: clamp(25px, 4vw, 34px);
  letter-spacing: -0.8px;
}

.eyebrow {
  color: #74767d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.7px;
}

.overview {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  margin-bottom: 28px;
  border: 1px solid #dedfe3;
  border-radius: 22px;
  background: white;
  box-shadow: 0 12px 34px rgba(25, 31, 45, 0.06);
}

.overview h2 {
  margin: 5px 0 4px;
  font-size: clamp(18px, 3vw, 24px);
  letter-spacing: -0.35px;
}

.status-dot {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #74767d;
  box-shadow: 0 0 0 6px rgba(116, 118, 125, 0.12);
}

.status-dot.operational { background: #009b57; box-shadow: 0 0 0 6px rgba(0, 155, 87, 0.12); }
.status-dot.degraded { background: #e58a00; box-shadow: 0 0 0 6px rgba(229, 138, 0, 0.12); }
.status-dot.outage { background: #f12a26; box-shadow: 0 0 0 6px rgba(241, 42, 38, 0.12); }

.muted {
  color: #74767d;
  font-size: 13px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-heading h2 { font-size: 18px; }

.auto-pill {
  padding: 6px 9px;
  border-radius: 999px;
  color: #0638b4;
  background: #f0f5ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.45px;
}

.microsoft-pill {
  padding: 6px 9px;
  border-radius: 999px;
  color: #4f4f55;
  background: #ececf0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.45px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.service-card {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 74px;
  padding: 16px;
  border: 1px solid #dedfe3;
  border-radius: 17px;
  background: white;
}

.service-card .status-dot {
  width: 10px;
  height: 10px;
  box-shadow: none;
}

.service-content {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.service-name {
  flex: 1;
  font-size: 14px;
  font-weight: 750;
}

.service-summary {
  color: #5e6067;
  font-size: 11px;
  line-height: 1.35;
}

.service-health {
  flex: 0 0 auto;
  color: #74767d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.25px;
}

.incidents-section {
  margin-top: 28px;
}

.incident-list {
  display: grid;
  gap: 10px;
}

.incident-card {
  padding: 16px;
  border: 1px solid rgba(229, 138, 0, 0.28);
  border-radius: 17px;
  background: rgba(229, 138, 0, 0.06);
}

.incident-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 13px;
}

.incident-heading span {
  color: #b76d00;
  font-size: 10px;
  font-weight: 800;
}

.incident-card .incident-title {
  color: #15171b;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.incident-card .incident-description {
  margin: 0 0 10px;
  color: #45464b;
  font-size: 13px;
  line-height: 1.5;
}

.incident-card small {
  display: block;
  margin-top: 7px;
  color: #74767d;
  font-size: 11px;
}

.deletion-shell {
  width: min(720px, calc(100% - 32px));
}

.deletion-card,
.deletion-note {
  margin-bottom: 16px;
  padding: 22px;
  border: 1px solid #dedfe3;
  border-radius: 20px;
  background: white;
  box-shadow: 0 10px 28px rgba(25, 31, 45, 0.05);
}

.deletion-card h2,
.deletion-note h2 {
  margin-bottom: 9px;
  color: #15171b;
  font-size: 18px;
}

.deletion-card p,
.deletion-note p {
  color: #45464b;
  font-size: 14px;
  line-height: 1.55;
}

.deletion-button {
  display: inline-flex;
  margin-top: 18px;
  text-decoration: none;
}

.deletion-note {
  background: #f9fafb;
  box-shadow: none;
}

.source-note {
  margin-top: 10px;
  color: #74767d;
  font-size: 11px;
  line-height: 1.4;
}

footer {
  margin-top: 24px;
  color: #74767d;
  font-size: 12px;
  line-height: 1.45;
}

.auth-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
}

.auth-card {
  width: min(520px, 100%);
  padding: 32px;
  border: 1px solid #dedfe3;
  border-radius: 22px;
  background: white;
  box-shadow: 0 12px 34px rgba(25, 31, 45, 0.06);
  text-align: center;
}

.auth-card .brand-logo {
  margin: 0 auto 18px;
}

.auth-card h1 {
  margin: 6px 0 14px;
}

.auth-card > p {
  color: #5e6067;
  font-size: 15px;
  line-height: 1.5;
}

.auth-open-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 10px;
  padding: 0 22px;
  border-radius: 14px;
  color: white;
  background: #0638b4;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.auth-help {
  margin: 14px 0 0;
  font-size: 12px !important;
}

@media (max-width: 600px) {
  .page-shell { width: min(100% - 24px, 920px); padding-top: 22px; }
  .service-grid { grid-template-columns: 1fr; }
  .overview { padding: 20px; }
}
