:root {
  color: #192329;
  background: #eef1f1;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  --ink: #192329;
  --muted: #647279;
  --line: #ced7d9;
  --paper: #ffffff;
  --brand: #173a47;
  --brand-2: #285a68;
  --accent: #e77b22;
  --green: #28735c;
  --soft: #e7edef;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: #eef1f1; }
button, input, select { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid rgb(231 123 34 / 34%);
  outline-offset: 2px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 66px;
  padding: 9px clamp(14px, 3vw, 38px);
  border-bottom: 1px solid rgb(255 255 255 / 16%);
  color: #fff;
  background: rgb(20 51 62 / 97%);
  box-shadow: 0 5px 20px rgb(20 41 49 / 16%);
}
.site-brand { display: flex; align-items: center; gap: 11px; min-width: 0; color: #fff; text-decoration: none; }
.brand-logo-panel {
  width: 116px;
  height: 42px;
  flex: 0 0 auto;
  padding: 4px 8px;
  border: 1px solid rgb(255 255 255 / 34%);
  border-radius: 6px;
  background: #fff;
}
.brand-logo-panel img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 2px solid rgb(255 255 255 / 88%);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 900;
}
.site-brand strong { display: block; overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.site-brand small { display: block; margin-top: 2px; color: #bdd0d5; font-size: 10px; }
.site-nav { display: flex; align-items: center; gap: 5px; }
.site-nav a {
  border-radius: 6px;
  padding: 9px 11px;
  color: #dce8eb;
  text-decoration: none;
  font-size: 11px;
  font-weight: 750;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #173a47; background: #fff; }
.shell { width: min(1440px, 100%); margin: 0 auto; padding: 24px clamp(14px, 3vw, 38px) 56px; }
.workspace-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 42%);
  align-items: stretch;
  gap: 22px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
}
.intro-copy { align-self: center; padding: 18px 0; }
.eyebrow { margin: 0 0 8px; color: var(--green); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
h1 { margin: 0; font-size: clamp(28px, 4vw, 48px); line-height: 1.16; letter-spacing: 0; }
.lead { max-width: 760px; margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.intro-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid #b9c6c9;
  border-radius: 7px;
  padding: 9px 14px;
  color: #29414b;
  background: #fff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.button.primary { border-color: var(--brand); color: #fff; background: var(--brand); }
.button.accent { border-color: #d66d18; color: #fff; background: #d96f19; }
.button:hover { filter: brightness(.96); }
.overview-media { position: relative; min-height: 330px; overflow: hidden; border: 1px solid #c7d0d2; border-radius: 7px; background: #dfe5e6; }
.overview-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.overview-media figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  border-radius: 5px;
  padding: 7px 9px;
  color: #fff;
  background: rgb(16 38 47 / 83%);
  font-size: 9px;
}
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 22px 0 0; }
.stat { padding: 13px 14px; border: 1px solid var(--line); border-radius: 7px; background: rgb(255 255 255 / 78%); }
.stat b { display: block; color: var(--brand); font-size: 22px; }
.stat span { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 30px 0 14px; }
.section-head h2 { margin: 0; font-size: 22px; }
.section-head p { max-width: 760px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tool-card { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #fff; box-shadow: 0 8px 22px rgb(26 49 58 / 5%); }
.tool-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #e1e7e8; }
.tool-copy { padding: 14px; }
.tool-card h3 { margin: 0; font-size: 16px; }
.tool-card p { min-height: 54px; margin: 7px 0 12px; color: var(--muted); font-size: 10px; line-height: 1.75; }
.tool-links { display: flex; flex-wrap: wrap; gap: 6px; }
.tool-links .button { flex: 1; padding-inline: 8px; }
.workflow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.workflow article { padding: 15px; border-top: 3px solid #718890; background: #fff; }
.workflow b { color: var(--brand); font-size: 12px; }
.workflow p { margin: 6px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.source-note { margin-top: 18px; padding: 12px 14px; border: 1px solid var(--line); border-left: 3px solid var(--accent); background: #fff; color: #56666d; font-size: 10px; line-height: 1.75; }
.filters { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0 14px; }
.filter {
  min-height: 34px;
  border: 1px solid #bdc9cc;
  border-radius: 999px;
  padding: 7px 12px;
  color: #3c5058;
  background: #fff;
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
}
.filter.is-active { border-color: var(--brand); color: #fff; background: var(--brand); }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.asset-card { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #fff; box-shadow: 0 8px 22px rgb(26 49 58 / 5%); }
.asset-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid #dce3e4; background: #dfe5e6; }
.asset-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.asset-card:hover .asset-media img { transform: scale(1.018); }
.asset-code, .asset-source {
  position: absolute;
  z-index: 2;
  top: 9px;
  border-radius: 4px;
  padding: 4px 7px;
  color: #fff;
  background: rgb(19 48 59 / 82%);
  font-size: 9px;
  font-weight: 850;
}
.asset-code { left: 9px; }
.asset-source { right: 9px; }
.asset-body { padding: 13px; }
.asset-title { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.asset-title h3 { margin: 0; font-size: 15px; line-height: 1.45; }
.asset-title span { flex: 0 0 auto; border-radius: 4px; padding: 4px 6px; color: #52636a; background: #edf1f1; font-size: 9px; }
.asset-detail { min-height: 35px; margin: 7px 0 10px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.asset-meta { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 11px; }
.asset-meta span { border-radius: 4px; padding: 4px 6px; color: #4a5e66; background: #edf1f1; font-size: 9px; }
.asset-actions { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(58px, .65fr)); gap: 7px; }
.asset-actions .button { padding: 8px; min-height: 36px; }
.download-banner { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; padding: 18px; border: 1px solid #bcc9cc; border-left: 5px solid var(--accent); background: #fff; }
.download-banner h2 { margin: 0; font-size: 18px; }
.download-banner p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.empty { grid-column: 1 / -1; padding: 30px; border: 1px solid var(--line); background: #fff; color: var(--muted); text-align: center; }
footer { padding: 22px; color: #77858a; text-align: center; font-size: 9px; }
@media (max-width: 1100px) {
  .workspace-intro { grid-template-columns: 1fr; }
  .overview-media { min-height: 300px; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .site-header { position: relative; align-items: stretch; flex-direction: column; gap: 8px; }
  .site-brand small { display: none; }
  .brand-logo-panel { width: 98px; height: 36px; }
  .site-nav { overflow-x: auto; }
  .site-nav a { flex: 0 0 auto; }
  .shell { padding-top: 14px; }
  .workspace-intro { gap: 10px; }
  .intro-copy { padding-top: 8px; }
  .overview-media { min-height: 220px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .section-head { align-items: start; flex-direction: column; gap: 5px; }
  .tool-grid, .catalog-grid, .workflow { grid-template-columns: 1fr; }
  .asset-actions { grid-template-columns: 1fr 72px 72px; }
  .tool-card p, .asset-detail { min-height: 0; }
  .download-banner { align-items: stretch; flex-direction: column; }
}
