:root {
  color-scheme: light;
  --ink: #1d2433;
  --muted: #617084;
  --line: #d9dee8;
  --surface: #ffffff;
  --page: #f4f6f8;
  --brand: #1f6f78;
  --accent: #b4493a;
  --success: #3f7d4a;
  --shadow: 0 12px 34px rgba(25, 35, 52, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--page);
  font-family: Arial, Helvetica, sans-serif;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 48px;
}

.workspace-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.panel-kicker {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.55;
}

.status-pill {
  flex: 0 0 auto;
  border: 1px solid rgba(63, 125, 74, 0.35);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--success);
  background: rgba(63, 125, 74, 0.08);
  font-size: 0.9rem;
  font-weight: 700;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.panel {
  min-height: 180px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel p {
  margin-bottom: 0;
}

.module-table {
  padding: 24px 0 0;
}

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

.section-heading h2 {
  margin-bottom: 0;
}

.table {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.table-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 160px;
  gap: 16px;
  min-height: 58px;
  align-items: center;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
}

.table-row:first-child {
  border-top: 0;
}

.table-header {
  min-height: 46px;
  color: var(--muted);
  background: #f9fafb;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
}

.table-row span {
  min-width: 0;
}

.table-row span:first-child {
  font-weight: 700;
}

@media (max-width: 780px) {
  .workspace-heading,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .overview-grid {
    grid-template-columns: 1fr;
  }

  .table-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .table-header {
    display: none;
  }
}
