:root {
  --egs-ink: #11395b;
  --egs-ink-deep: #052d4b;
  --egs-muted: #4f6f88;
  --egs-line: #b9d4e5;
  --egs-soft-line: #d9e8f1;
  --egs-bg: #eef7fb;
  --egs-panel: rgba(255, 255, 255, 0.94);
  --egs-teal: #08796f;
  --egs-teal-deep: #006458;
  --egs-gold: #a96c17;
  --egs-green-soft: #eaf8f3;
  --egs-blue-soft: #edf6ff;
  --egs-shadow: 0 18px 42px rgba(25, 72, 103, 0.16);
}

* {
  box-sizing: border-box;
}

.egs-body {
  min-width: 320px;
  margin: 0;
  color: var(--egs-ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 32%),
    linear-gradient(115deg, #eef8fb 0%, #f9fcfd 44%, #e5f2f7 100%);
}

.egs-topbar {
  width: min(1560px, calc(100% - 48px));
  min-height: 100px;
  margin: 28px auto 0;
  padding: 18px 26px;
  display: flex;
  align-items: center;
  gap: 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(100deg, #073656 0%, #06476f 48%, #07817c 100%);
  box-shadow: var(--egs-shadow);
}

.egs-brand {
  flex: 1 1 420px;
  color: #fff;
  text-decoration: none;
  min-width: 260px;
}

.egs-brand-main {
  display: block;
  font-size: clamp(28px, 3.1vw, 42px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0;
}

.egs-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.egs-nav a,
.jcpt-env-supply-nav {
  min-height: 42px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.11);
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.egs-nav a:hover,
.egs-nav a:focus-visible,
.jcpt-env-supply-nav:hover,
.jcpt-env-supply-nav:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
  outline: none;
}

.egs-nav a.active,
.jcpt-env-supply-nav.active {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.23);
}

.egs-page {
  width: min(1480px, calc(100% - 48px));
  margin: 26px auto 64px;
}

.egs-hero,
.egs-panel,
.egs-workflow,
.egs-card {
  border: 1px solid var(--egs-line);
  border-radius: 16px;
  background: var(--egs-panel);
  box-shadow: 0 12px 34px rgba(42, 84, 112, 0.12);
}

.egs-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  padding: 30px;
}

.egs-kicker {
  margin: 0 0 8px;
  color: var(--egs-teal);
  font-size: 13px;
  font-weight: 800;
}

.egs-hero h1,
.egs-panel h2 {
  margin: 0;
  color: var(--egs-ink-deep);
  letter-spacing: 0;
}

.egs-hero h1 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
}

.egs-lead {
  max-width: 820px;
  margin: 16px 0 0;
  color: var(--egs-muted);
  font-size: 17px;
  line-height: 1.9;
}

.egs-hero-actions,
.egs-search-row,
.egs-chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.egs-hero-actions {
  margin-top: 24px;
}

.egs-primary,
.egs-secondary,
.egs-button {
  min-height: 42px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--egs-line);
  color: var(--egs-ink);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.egs-primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(180deg, #15948d 0%, #056d64 100%);
  box-shadow: 0 10px 20px rgba(0, 112, 104, 0.22);
}

.egs-secondary,
.egs-button {
  background: #f4fbff;
}

.egs-primary:hover,
.egs-secondary:hover,
.egs-button:hover {
  filter: brightness(0.98);
  transform: translateY(-1px);
}

.egs-hints {
  padding: 20px;
  border-radius: 14px;
  border: 1px solid #d8c29c;
  background: linear-gradient(180deg, #fffaf1 0%, #fff 100%);
}

.egs-hints h2 {
  margin: 0 0 12px;
  color: #7a4d10;
  font-size: 20px;
}

.egs-hints ul {
  margin: 0;
  padding-left: 18px;
  color: #5d4c34;
  line-height: 1.8;
  font-size: 14px;
}

.egs-panel {
  margin-top: 22px;
  padding: 22px;
}

.egs-panel-head {
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.egs-panel-head h2 {
  font-size: 26px;
}

.egs-panel-head.compact {
  margin-bottom: 10px;
}

.egs-muted {
  margin: 0;
  color: var(--egs-muted);
  line-height: 1.75;
  font-size: 14px;
}

.egs-search-row {
  padding: 12px;
  border: 1px solid var(--egs-soft-line);
  border-radius: 14px;
  background: #f8fcfe;
}

.egs-search {
  flex: 1 1 540px;
  min-width: min(100%, 300px);
  display: flex;
  align-items: center;
  gap: 12px;
}

.egs-search span,
.egs-demand label span {
  flex: 0 0 auto;
  color: var(--egs-ink-deep);
  font-size: 14px;
  font-weight: 800;
}

.egs-search input,
.egs-demand input,
.egs-demand select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--egs-line);
  border-radius: 10px;
  padding: 9px 12px;
  color: var(--egs-ink);
  background: #fff;
  font: inherit;
  outline: none;
}

.egs-search input:focus,
.egs-demand input:focus,
.egs-demand select:focus {
  border-color: var(--egs-teal);
  box-shadow: 0 0 0 3px rgba(8, 121, 111, 0.14);
}

.egs-chip-row {
  margin-top: 14px;
}

.egs-chip {
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid var(--egs-line);
  border-radius: 999px;
  color: var(--egs-ink);
  background: #f8fcff;
  font-weight: 800;
  cursor: pointer;
}

.egs-chip.active {
  color: #fff;
  border-color: var(--egs-teal);
  background: var(--egs-teal);
}

.egs-result-meta {
  min-height: 26px;
  margin: 14px 0 8px;
  color: var(--egs-muted);
  font-size: 14px;
}

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

.egs-card {
  min-height: 244px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.egs-card h3 {
  margin: 0;
  color: var(--egs-ink-deep);
  font-size: 20px;
}

.egs-card p {
  margin: 0;
  color: var(--egs-muted);
  line-height: 1.7;
  font-size: 14px;
}

.egs-card-tags,
.egs-card-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.egs-card-tags span {
  padding: 5px 9px;
  border-radius: 999px;
  color: #045f58;
  background: var(--egs-green-soft);
  border: 1px solid #bce4dd;
  font-size: 12px;
  font-weight: 800;
}

.egs-card-checks span {
  padding: 4px 8px;
  border-radius: 8px;
  color: #68410c;
  background: #fff7e8;
  border: 1px solid #ead0a3;
  font-size: 12px;
}

.egs-empty {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px dashed var(--egs-line);
  border-radius: 14px;
  color: var(--egs-muted);
  background: #fbfdff;
  text-align: center;
}

.egs-hl {
  padding: 0 2px;
  border-radius: 4px;
  color: #083b35;
  background: #fff0a8;
}

.egs-workflow {
  margin-top: 22px;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.egs-workflow article {
  padding: 16px;
  border-radius: 14px;
  background: #f8fcff;
  border: 1px solid var(--egs-soft-line);
}

.egs-workflow span {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--egs-teal);
  font-weight: 900;
}

.egs-workflow h3 {
  margin: 10px 0 6px;
  color: var(--egs-ink-deep);
  font-size: 18px;
}

.egs-workflow p {
  margin: 0;
  color: var(--egs-muted);
  line-height: 1.7;
  font-size: 14px;
}

.egs-two-col {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
}

.egs-demand {
  margin-top: 0;
}

.egs-demand label {
  margin-bottom: 12px;
  display: grid;
  gap: 7px;
}

.egs-demand button {
  margin-top: 6px;
}

.egs-output {
  margin-top: 0;
}

.egs-output-list {
  margin: 0;
  padding-left: 18px;
  color: var(--egs-ink);
  line-height: 1.8;
}

.egs-output-list strong {
  color: var(--egs-ink-deep);
}

@media (max-width: 1180px) {
  .egs-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .egs-brand {
    flex: 0 1 auto;
  }

  .egs-nav {
    justify-content: flex-start;
  }

  .egs-hero,
  .egs-two-col {
    grid-template-columns: 1fr;
  }

  .egs-card-grid,
  .egs-workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .egs-topbar,
  .egs-page {
    width: calc(100% - 24px);
  }

  .egs-topbar {
    margin-top: 12px;
    padding: 14px;
    border-radius: 18px;
  }

  .egs-brand-main {
    font-size: 27px;
  }

  .egs-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .egs-nav a,
  .jcpt-env-supply-nav {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 14px;
  }

  .egs-page {
    margin-top: 14px;
  }

  .egs-hero,
  .egs-panel,
  .egs-workflow {
    padding: 16px;
    border-radius: 14px;
  }

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

  .egs-lead {
    font-size: 15px;
  }

  .egs-panel-head {
    flex-direction: column;
  }

  .egs-search {
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
  }

  .egs-card-grid,
  .egs-workflow {
    grid-template-columns: 1fr;
  }
}
