:root {
  color-scheme: light;
  --ink: #152033;
  --muted: #667084;
  --line: #dfe5ee;
  --surface: #ffffff;
  --soft: #f3f6fa;
  --blue: #1769e0;
  --green: #1f8a70;
  --gold: #a86f18;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(180deg, rgb(245 248 252 / 92%), rgb(255 255 255 / 98%)),
    repeating-linear-gradient(135deg, rgb(23 105 224 / 8%) 0 1px, transparent 1px 14px);
  color: var(--ink);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.hub-shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 44px 0 56px;
}

.hub-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0 26px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
}

.record-link {
  color: var(--muted);
  font-size: 13px;
}

.status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: rgb(255 255 255 / 74%);
  font-size: 13px;
  color: var(--muted);
}

.status-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.status-strip span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

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

.app-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 142px;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgb(32 45 64 / 7%);
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.app-card:hover {
  border-color: rgb(23 105 224 / 42%);
  box-shadow: 0 16px 38px rgb(32 45 64 / 11%);
  transform: translateY(-1px);
}

.app-card.primary {
  border-color: rgb(23 105 224 / 34%);
}

.app-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(23 105 224 / 20%);
  border-radius: 8px;
  background: rgb(23 105 224 / 8%);
  color: var(--blue);
}

.app-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.app-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.25;
}

.app-card small {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.open-mark {
  min-width: 58px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}

.primary .open-mark {
  background: rgb(31 138 112 / 12%);
  color: var(--green);
}

@media (max-width: 760px) {
  .hub-shell {
    width: min(100% - 24px, 1120px);
    padding-top: 24px;
  }

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

  h1 {
    font-size: 28px;
  }

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

  .app-card {
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: 132px;
    padding: 17px;
  }

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

  .open-mark {
    grid-column: 2;
    justify-self: start;
  }
}
