:root {
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: #1f2933;
  background: #edf1f4;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  background: #edf1f4;
}

.portal-shell {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 32px;
}

.portal-content {
  width: min(880px, 100%);
  margin: auto;
}

.portal-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.heading-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #17324d;
  color: #f2b84b;
  font-size: 20px;
  font-weight: 800;
}

.portal-heading h1 {
  margin: 0;
  color: #172b3d;
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: 0;
}

.portal-heading p {
  margin: 4px 0 0;
  color: #71808d;
  font-size: 13px;
  letter-spacing: 0;
}

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

.system-card {
  min-width: 0;
  min-height: 132px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border: 1px solid #d5dde4;
  border-radius: 8px;
  background: #fff;
  color: #22313d;
  text-decoration: none;
  box-shadow: 0 8px 22px rgb(26 47 65 / 7%);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.system-card:hover {
  border-color: #8fa4b5;
  box-shadow: 0 12px 28px rgb(26 47 65 / 12%);
  transform: translateY(-2px);
}

.system-card:focus-visible {
  outline: 3px solid #2c78a0;
  outline-offset: 3px;
}

.system-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 800;
}

.procurement-card .system-mark {
  background: #f5c45f;
  color: #17324d;
}

.cloud-card .system-mark {
  background: #dcece4;
  color: #245d46;
}

.system-copy {
  min-width: 0;
}

.system-copy strong,
.system-copy small {
  display: block;
  letter-spacing: 0;
}

.system-copy strong {
  overflow-wrap: anywhere;
  font-size: 18px;
  line-height: 1.35;
}

.system-copy small {
  margin-top: 7px;
  color: #70808d;
  font-size: 13px;
  line-height: 1.5;
}

.system-arrow {
  color: #7d8b96;
  font-family: Arial, sans-serif;
  font-size: 29px;
  line-height: 1;
  text-align: center;
}

.filing-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding-top: 32px;
  color: #768590;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.filing-footer a {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.filing-footer a:hover,
.filing-footer a:focus-visible {
  color: #1c6189;
}

.public-security {
  gap: 5px;
}

.public-security img {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  object-fit: contain;
}

@media (max-width: 720px) {
  .portal-shell {
    padding: 24px 14px 16px;
  }

  .portal-content {
    margin-top: 10vh;
  }

  .portal-heading {
    margin-bottom: 18px;
  }

  .heading-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .portal-heading h1 {
    font-size: 22px;
  }

  .system-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .system-card {
    min-height: 108px;
    grid-template-columns: 44px minmax(0, 1fr) 20px;
    gap: 13px;
    padding: 18px 16px;
  }

  .system-mark {
    width: 44px;
    height: 44px;
  }

  .filing-footer {
    gap: 4px 12px;
    padding-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .system-card {
    transition: none;
  }
}
