* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f5f7fb;
  color: #172033;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 42px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 22px;
}

.eyebrow {
  margin: 0 0 6px;
  color: #5a6b85;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.18;
}

.status-pill {
  min-width: 120px;
  border: 1px solid #c8d4e6;
  border-radius: 8px;
  background: #ffffff;
  padding: 10px 12px;
  color: #255c49;
  font-weight: 700;
  text-align: center;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.summary-card,
.flow-card {
  border: 1px solid #d9e1ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.summary-card {
  padding: 14px;
}

.summary-card span {
  display: block;
  margin-bottom: 6px;
  color: #64748b;
  font-size: 13px;
}

.summary-card strong {
  font-size: 22px;
}

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

.flow-card {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 8px 12px;
  min-height: 132px;
  padding: 14px;
  color: inherit;
  text-decoration: none;
}

.flow-card:hover {
  border-color: #8aa4c8;
  box-shadow: 0 8px 20px rgba(37, 78, 128, 0.11);
}

.flow-card span {
  grid-row: span 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: #e8eef7;
  color: #24476f;
  font-size: 13px;
  font-weight: 800;
}

.flow-card strong {
  align-self: end;
  font-size: 17px;
}

.flow-card p {
  margin: 0;
  color: #5b6678;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .summary-grid,
  .acceptance-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100vw - 24px, 1180px);
    padding-top: 18px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .summary-grid,
  .acceptance-list {
    grid-template-columns: 1fr;
  }
}
