* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  color: #0f172a;
  background:
    radial-gradient(circle at 20% 0%, rgba(37, 99, 235, 0.12), transparent 32%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

body {
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.portal-shell {
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 40px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border: 1px solid #dbe4f0;
  border-radius: 999px;
  color: #2563eb;
  background: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.hero h1 {
  margin: 16px 0 10px;
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero p {
  max-width: 680px;
  margin: 0;
  color: #475569;
  font-size: 16px;
  line-height: 1.7;
}

.status-card,
.entry-card,
.review-notes {
  border: 1px solid #dbe4f0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.status-card {
  padding: 20px;
}

.status-card span,
.status-card small {
  display: block;
  color: #64748b;
}

.status-card strong {
  display: block;
  margin: 8px 0;
  font-size: 24px;
}

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

.entry-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  min-height: 228px;
  padding: 24px;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.entry-card:hover {
  transform: translateY(-2px);
  border-color: #93b4f8;
  box-shadow: 0 22px 60px rgba(37, 99, 235, 0.16);
}

.entry-card.primary {
  background: #0f172a;
  color: #ffffff;
}

.entry-card.primary p {
  color: #cbd5e1;
}

.entry-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #2563eb;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
}

.entry-card h2 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: 0;
}

.entry-card p {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
}

.entry-card b {
  width: max-content;
  padding: 9px 14px;
  border-radius: 8px;
  background: #2563eb;
  color: #ffffff;
  font-size: 14px;
}

.review-notes {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
  margin-top: 24px;
  padding: 20px;
  box-shadow: none;
}

.review-notes h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.review-notes p {
  margin: 0;
  color: #64748b;
  line-height: 1.6;
}

.review-notes ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.review-notes li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafc;
}

@media (max-height: 820px) and (min-width: 861px) {
  .portal-shell {
    padding: 24px 0;
  }

  .hero {
    margin-bottom: 20px;
  }

  .hero h1 {
    margin: 12px 0 8px;
    font-size: 36px;
  }

  .hero p {
    font-size: 15px;
    line-height: 1.55;
  }

  .status-card {
    padding: 16px;
  }

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

  .entry-card {
    min-height: 200px;
    padding: 20px;
  }

  .entry-icon {
    width: 48px;
    height: 48px;
  }

  .review-notes {
    grid-template-columns: 260px 1fr;
    gap: 16px;
    margin-top: 20px;
    padding: 16px;
  }
}

.review-notes b {
  color: #0f172a;
}

.review-notes span {
  color: #475569;
}

@media (max-width: 860px) {
  .portal-shell {
    width: min(100vw - 32px, 560px);
    padding: 32px 0;
  }

  .hero,
  .entry-grid,
  .review-notes {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 34px;
  }

  .entry-card {
    min-height: auto;
  }
}
