/* Shen Lab - clean light theme (ASCII-safe, system fonts) */
:root {
  --ink: #152033;
  --ink2: #2c3a4f;
  --muted: #5f6b7c;
  --line: #e4ebf2;
  --bg: #f4f8fb;
  --card: #ffffff;
  --teal: #0d8a8a;
  --teal-d: #0a6b6b;
  --blue: #2f7de0;
  --mint: #e7f7f5;
  --sky: #eaf2ff;
  --shadow: 0 8px 28px rgba(21, 32, 51, 0.07);
  --radius: 18px;
  --nav: 68px;
  --max: 1100px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav) + 12px); }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; border: 0; background: none; cursor: pointer; }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -80px;
  z-index: 2000;
  background: var(--teal);
  color: #fff;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  font-weight: 600;
}
.skip:focus { top: 0.8rem; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.is-hidden { display: none !important; }

/* Header */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav);
  z-index: 1000;
  background: rgba(255,255,255,0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.topbar-inner {
  height: var(--nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  color: var(--ink);
}
.logo-mark {
  width: 36px; height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  box-shadow: 0 6px 16px rgba(13, 138, 138, 0.25);
}
.logo-text strong { display: block; font-size: 1rem; line-height: 1.1; }
.logo-text span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-top: 0.1rem;
}
.menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.menu a {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink2);
}
.menu a:hover { background: var(--mint); color: var(--teal-d); }
.menu a.active {
  background: rgba(13, 138, 138, 0.12);
  color: var(--teal-d);
  font-weight: 650;
}
.menu-btn {
  display: none;
  width: 42px; height: 42px;
  place-items: center;
  flex-direction: column;
  gap: 5px;
  border-radius: 10px;
}
.menu-btn span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.2s;
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  padding: calc(var(--nav) + 3rem) 0 3.2rem;
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(47,125,224,0.1), transparent 55%),
    radial-gradient(ellipse 60% 45% at 0% 100%, rgba(13,138,138,0.12), transparent 50%),
    linear-gradient(165deg, #f8fcfd 0%, #eef8f7 50%, #f2f7fc 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 2rem;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(21,32,51,0.04);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-d);
  margin-bottom: 1rem;
}
.pill::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(13,138,138,0.15);
}
.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 750;
  margin-bottom: 1rem;
  color: var(--ink);
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--teal), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: 1.04rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 1.5rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-main {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  box-shadow: 0 10px 22px rgba(13,138,138,0.25);
}
.btn-side {
  color: var(--ink2);
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 2px 10px rgba(21,32,51,0.04);
}
.btn-side:hover { border-color: rgba(13,138,138,0.35); color: var(--teal-d); }
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 0.65rem;
  max-width: 400px;
}
.stat {
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem;
}
.stat b {
  display: block;
  font-size: 1.3rem;
  color: var(--teal-d);
  letter-spacing: -0.02em;
}
.stat span { font-size: 0.74rem; color: var(--muted); font-weight: 500; }

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.panel h3 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.85rem;
  font-weight: 700;
}
.focus { display: grid; gap: 0.6rem; }
.focus-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.8rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--mint), var(--sky));
  border: 1px solid rgba(13,138,138,0.08);
}
.focus-n {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: #fff;
  color: var(--teal-d);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(21,32,51,0.05);
}
.focus-item strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.1rem;
}
.focus-item p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Sections */
main { flex: 1; width: 100%; }
.section { padding: 4rem 0; }
.section-white { background: #fff; }
.section-soft {
  background: linear-gradient(180deg, #f0f9f8 0%, #eef4fb 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head { max-width: 620px; margin-bottom: 1.8rem; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.55rem;
}
.section-head h2 {
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  color: var(--ink);
}
.section-head p { color: var(--muted); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: 0 4px 16px rgba(21,32,51,0.04);
  transition: 0.18s ease;
}
a.card { color: inherit; }
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(13,138,138,0.22);
}
.num {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--mint), var(--sky));
  color: var(--teal-d);
  font-weight: 800;
  font-size: 0.8rem;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(13,138,138,0.08);
}
.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
  letter-spacing: -0.01em;
}
.card p { color: var(--muted); font-size: 0.94rem; }
.more {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--teal-d);
}
.tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.7rem; }
.tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--mint);
  color: var(--teal-d);
  border: 1px solid rgba(13,138,138,0.1);
}
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.9rem;
}
.links a {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal-d);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: var(--mint);
  border: 1px solid rgba(13,138,138,0.12);
}
.links a:hover { background: var(--sky); }
.center { text-align: center; margin-top: 1.5rem; }

/* Inner page banner */
.banner {
  padding: calc(var(--nav) + 2.3rem) 0 2rem;
  background:
    radial-gradient(ellipse 50% 80% at 100% 0%, rgba(47,125,224,0.08), transparent 50%),
    linear-gradient(180deg, #f7fbfc 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.banner h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}
.banner p { color: var(--muted); max-width: 48rem; }
.crumbs {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
  font-weight: 500;
}
.crumbs a { color: var(--teal-d); font-weight: 650; }
.crumbs a:hover { text-decoration: underline; }

/* Research */
.rlist { display: grid; gap: 1rem; }
.ritem {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: 0 4px 16px rgba(21,32,51,0.04);
}
.rnum {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 750;
  background: linear-gradient(145deg, var(--teal), var(--blue));
  box-shadow: 0 8px 18px rgba(13,138,138,0.22);
}
.ritem h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.ritem p { color: var(--muted); margin-bottom: 0.75rem; max-width: 68ch; }

/* Pubs */
.filters { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.4rem; }
.filters button {
  border: 1px solid #d7e0ea;
  background: #fff;
  color: var(--ink2);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 650;
}
.filters button:hover,
.filters button.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.year {
  font-size: 1.3rem;
  margin: 1.8rem 0 0.35rem;
  color: var(--teal-d);
  padding-bottom: 0.45rem;
  border-bottom: 2px solid rgba(13,138,138,0.12);
  font-weight: 750;
}
.pub {
  border-bottom: 1px solid var(--line);
  padding: 1.05rem 0.1rem 1.1rem;
}
.pub:hover { background: rgba(13,138,138,0.03); }
.pub-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; margin-bottom: 0.3rem; }
.journal { font-size: 0.88rem; font-weight: 750; color: var(--teal); }
.badge {
  font-size: 0.68rem;
  font-weight: 750;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  background: var(--sky);
  color: #1d4f9c;
}
.badge.soft { background: #f1f5f9; color: #64748b; }
.pub h3 { font-size: 1rem; font-weight: 650; line-height: 1.45; margin-bottom: 0.3rem; max-width: 72ch; }
.authors { font-size: 0.9rem; color: var(--muted); }
.authors .me { color: var(--ink); font-weight: 750; }
.pub-links { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 0.45rem; }
.pub-links a { font-size: 0.82rem; font-weight: 700; color: var(--teal-d); }
.pub-links a:hover { text-decoration: underline; }

/* Members */
.layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 1.5rem;
  align-items: start;
}
.side { position: sticky; top: calc(var(--nav) + 1rem); }
.profile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(21,32,51,0.04);
}
.photo {
  width: 128px; height: 128px;
  border-radius: 26px;
  object-fit: cover;
  margin: 0 auto 0.9rem;
  border: 3px solid #fff;
  box-shadow: var(--shadow);
  background: #e8eef5;
}
.profile h2 { font-size: 1.25rem; margin-bottom: 0.15rem; }
.en { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.6rem; }
.title { font-size: 0.88rem; color: var(--ink2); line-height: 1.5; margin-bottom: 0.9rem; }
.plink { display: grid; gap: 0.4rem; }
.plink a {
  display: block;
  padding: 0.55rem;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--teal-d);
}
.plink a:hover { background: var(--mint); }
.cv-nav { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.9rem; }
.cv-nav a {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink2);
}
.cv-nav a:hover { background: var(--mint); border-color: rgba(13,138,138,0.3); color: var(--teal-d); }
.block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  box-shadow: 0 4px 16px rgba(21,32,51,0.04);
  margin-bottom: 1rem;
  scroll-margin-top: calc(var(--nav) + 14px);
}
.block h3 {
  font-size: 1.12rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
  color: var(--teal-d);
}
.block p { color: var(--ink2); margin-bottom: 0.65rem; max-width: 65ch; }
.timeline { display: grid; gap: 0.85rem; }
.titem {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.8rem;
  padding-left: 0.9rem;
  border-left: 2px solid rgba(13,138,138,0.28);
}
.when { font-size: 0.82rem; font-weight: 750; color: var(--teal); }
.what strong { display: block; margin-bottom: 0.1rem; }
.what span { color: var(--muted); font-size: 0.9rem; }
.mgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}
.mcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(21,32,51,0.04);
}
.avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  margin: 0 auto 0.8rem;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 750;
  font-size: 1.2rem;
  background: linear-gradient(145deg, var(--teal), var(--blue));
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(21,32,51,0.08);
}
.mcard h4 { font-size: 1.02rem; margin-bottom: 0.15rem; }
.role { font-size: 0.78rem; font-weight: 700; color: var(--teal); margin-bottom: 0.35rem; }
.mcard p { font-size: 0.87rem; color: var(--muted); }
.box {
  margin-top: 1.5rem;
  padding: 1.35rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--mint), var(--sky));
  border: 1px solid rgba(13,138,138,0.12);
}
.box h3 { margin-bottom: 0.5rem; font-size: 1.05rem; }
.box p { color: var(--muted); margin-bottom: 0.7rem; max-width: 70ch; }

/* Tools */
.tool { display: flex; flex-direction: column; min-height: 100%; }
.tool-top {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 0.7rem;
}
.status {
  font-size: 0.7rem;
  font-weight: 750;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--mint);
  color: var(--teal-d);
  border: 1px solid rgba(13,138,138,0.12);
  white-space: nowrap;
}
.tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.95rem;
}

/* Contact */
.cgrid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.2rem;
}
.ccard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: 0 4px 16px rgba(21,32,51,0.04);
}
.ccard h2 { font-size: 1.3rem; margin-bottom: 1rem; color: var(--teal-d); }
.crow {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.8rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.crow:last-child { border-bottom: 0; }
.cicon {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--mint);
  color: var(--teal-d);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
}
.crow h4 { font-size: 0.88rem; margin-bottom: 0.15rem; }
.crow p, .crow a { color: var(--muted); font-size: 0.94rem; }
.crow a:hover { color: var(--teal-d); }
.addr {
  min-height: 100%;
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--teal) 0%, var(--blue) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.6rem;
  box-shadow: var(--shadow);
}
.addr .label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  font-weight: 750;
  margin-bottom: 0.55rem;
}
.addr h3 { font-size: 1.15rem; margin-bottom: 0.45rem; }
.addr p { opacity: 0.92; font-size: 0.94rem; line-height: 1.55; }

/* Baidu map */
.map-block {
  margin-top: 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(21,32,51,0.04);
}
.map-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, var(--mint), var(--sky));
}
.map-head h3 {
  font-size: 1.05rem;
  color: var(--teal-d);
  margin: 0;
}
.map-head p {
  margin: 0.2rem 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}
.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.map-frame-wrap {
  position: relative;
  width: 100%;
  height: 440px;
  background: #e8eef4;
}
.map-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  z-index: 1;
  background: #fff;
}
.map-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1.25rem;
  text-align: center;
  color: var(--muted);
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(13,138,138,0.08), transparent 60%),
    #eef3f7;
}
.map-fallback strong { color: var(--ink); }

@media (max-width: 720px) {
  .map-frame-wrap { height: 340px; }
  .map-head { flex-direction: column; align-items: flex-start; }
}

/* Footer */
.footer {
  background: #102033;
  color: rgba(255,255,255,0.72);
  padding: 2.5rem 0 1.3rem;
  margin-top: auto;
}
.fgrid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.fbrand { display: flex; gap: 0.75rem; }
.fbrand strong { display: block; color: #fff; margin-bottom: 0.3rem; }
.fbrand p { font-size: 0.9rem; max-width: 28rem; line-height: 1.55; }
.fcol h4 {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.fcol a {
  display: block;
  font-size: 0.9rem;
  padding: 0.2rem 0;
  color: rgba(255,255,255,0.68);
}
.fcol a:hover { color: #9ce8e0; }
.fbot {
  padding-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  justify-content: space-between;
  font-size: 0.8rem;
}





.note {
  font-size: 0.88rem;
  color: var(--muted);
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #fff;
  border: 1px dashed #d7e0ea;
}
.note a { color: var(--teal-d); font-weight: 700; }
.pi { max-width: 900px; margin: 0 auto; }

/* Responsive */
@media (max-width: 1100px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 960px) {
  .hero-grid, .layout, .cgrid, .fgrid { grid-template-columns: 1fr; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .side { position: static; }
  .ritem { grid-template-columns: 1fr; }
  .titem { grid-template-columns: 1fr; gap: 0.2rem; }
  .menu-btn { display: grid; }
  .menu {
    position: fixed;
    top: var(--nav);
    left: 0.85rem;
    right: 0.85rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    padding: 0.6rem;
    max-height: calc(100vh - var(--nav) - 1rem);
    overflow: auto;
  }
  .menu.open { display: flex; }
  .menu a { padding: 0.85rem 0.95rem; }
}
@media (max-width: 720px) {
  .stats { grid-template-columns: 1fr; max-width: 220px; }
  .section { padding: 3rem 0; }
  .tool-actions .btn { width: 100%; }
}
@media (max-width: 560px) {
  .wrap { width: min(var(--max), calc(100% - 1.25rem)); }
  .hero h1 { font-size: 1.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card:hover, .btn:hover { transform: none; }
}

/* Email actions */
.email-line { margin-bottom: 0.45rem; }
.email-text {
  color: var(--teal-d) !important;
  font-weight: 750;
  font-size: 1.02rem;
  word-break: break-all;
}
.email-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.45rem;
}
.btn-sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
}
.email-hint {
  margin-top: 0.55rem;
  margin-bottom: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}
.btn.is-copied {
  background: #0a7a4b !important;
  box-shadow: none;
}

/* Beian line - same style as university sites (AHMU) */
.beian-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", SimSun, sans-serif;
}
.beian-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,0.65) !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.beian-link:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}
.beian-icon {
  width: 14px !important;
  height: 14px !important;
  display: inline-block;
  vertical-align: middle;
  margin: 0 !important;
  border: 0;
}
.fbot {
  font-size: 12px;
}
@media (max-width: 560px) {
  .beian-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
}
