/* ===== DESIGN TOKENS ===== */
:root {
  --navy:    #0A192F;
  --navy-80: #0d2240;
  --navy-bg: #1e4080;
  --red:     #D4291A;
  --red-lt:  #f5ebe9;
  --gold:    #B8962E;
  --white:   #FFFFFF;
  --cream:   #F8F6F2;
  --ink:     #1A1A2E;
  --muted:   #6B7A8D;
  --border:  #E2E4E9;
  --serif:   'Noto Serif SC', 'SimSun', serif;
  --sans:    'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --mono:    'JetBrains Mono', 'Cascadia Code', monospace;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAVBAR ===== */
.site-nav {
  background: var(--white);
  border-bottom: 3px solid var(--navy);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(10,25,47,.08);
}
.site-nav .container {
  display: flex;
  align-items: stretch;
  min-height: 60px;
}
.nav-brand {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--navy) !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: 0 1.5rem 0 0;
  border-right: 1px solid var(--border);
  margin-right: 1rem;
  letter-spacing: .02em;
}
.nav-brand .brand-icon {
  width: 32px; height: 32px;
  background: var(--red);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: .9rem; font-weight: bold;
  font-family: var(--serif);
  flex-shrink: 0;
}
.site-nav .nav-links {
  display: flex; align-items: center; gap: 0;
  list-style: none; margin: 0; padding: 0;
  flex: 1;
}
.site-nav .nav-links a {
  display: flex; align-items: center;
  height: 100%; padding: 0 1.1rem;
  color: var(--muted);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .02em;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  transition: color .2s, border-color .2s;
}
.site-nav .nav-links a:hover,
.site-nav .nav-links a.active { color: var(--navy); border-color: var(--red); }
.site-nav .nav-cta {
  margin-left: auto;
  display: flex; align-items: center;
}
.nav-toggler {
  background: none; border: none; cursor: pointer;
  display: none; padding: .5rem; color: var(--navy);
}
@media (max-width: 768px) {
  .nav-toggler { display: block; }
  .site-nav .nav-links, .site-nav .nav-cta { display: none; }
  .site-nav.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 63px; left: 0; right: 0;
    background: var(--white); border-top: 1px solid var(--border);
    padding: .5rem 0; box-shadow: 0 8px 24px rgba(0,0,0,.1);
  }
  .site-nav.open .nav-links a { height: auto; padding: .6rem 1.5rem; width: 100%; }
  .site-nav.open .nav-cta { display: flex; padding: .75rem 1.5rem; }
}

/* ===== BUTTONS ===== */
.btn-primary-custom {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: .65rem 1.6rem;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: 3px;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: .4rem;
  transition: background .2s, transform .15s, box-shadow .2s;
  cursor: pointer;
}
.btn-primary-custom:hover {
  background: #b52317; color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212,41,26,.35);
}
.btn-outline-custom {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  padding: .6rem 1.5rem;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: 3px;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: .4rem;
  transition: all .2s;
}
.btn-outline-custom:hover {
  background: var(--navy); color: var(--white);
}

/* ===== HERO ===== */
.hero {
  background: var(--navy-bg);
  min-height: 480px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: '招录先锋';
  font-family: var(--serif);
  font-size: clamp(100px, 18vw, 200px);
  font-weight: 900;
  color: rgba(255,255,255,.03);
  position: absolute;
  right: -2rem; bottom: -2rem;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(212,41,26,.12) 0%, transparent 60%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.015) 0, rgba(255,255,255,.015) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.015) 0, rgba(255,255,255,.015) 1px, transparent 1px, transparent 60px);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(212,41,26,.2);
  border: 1px solid rgba(212,41,26,.4);
  color: #ff8b7e;
  font-size: .78rem; font-weight: 600; letter-spacing: .1em;
  padding: .3rem .85rem; border-radius: 2px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px;
  background: var(--red); border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.7); }
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: .04em;
}
.hero h1 em {
  font-style: normal;
  color: var(--red);
  position: relative;
}
.hero-sub {
  color: rgba(255,255,255,.6);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-note {
  margin-top: 2rem;
  color: rgba(255,255,255,.3);
  font-size: .8rem;
  border-left: 2px solid rgba(255,255,255,.15);
  padding-left: .75rem;
}
.hero-right {
  display: flex; flex-direction: column; gap: 1rem;
}
.hero-stat {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  display: flex; flex-direction: column;
  backdrop-filter: blur(8px);
}
.hero-stat .stat-num {
  font-family: var(--serif);
  font-size: 2.2rem; font-weight: 900;
  color: var(--white); line-height: 1;
}
.hero-stat .stat-label {
  color: rgba(255,255,255,.5); font-size: .82rem; margin-top: .3rem;
}

/* ===== SECTION HEADINGS ===== */
.section-eyebrow {
  display: flex; align-items: center; gap: .75rem;
  color: var(--red); font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: .75rem;
}
.section-eyebrow::before {
  content: ''; width: 24px; height: 2px; background: var(--red); flex-shrink: 0;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 900; color: var(--navy); line-height: 1.2; margin-bottom: .75rem;
}
.section-desc { color: var(--muted); font-size: 1rem; max-width: 520px; }

/* ===== FEATURES ===== */
.features-section { padding: 4rem 0; }
.feature-card {
  border: 1px solid var(--border);
  border-radius: 8px; padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow .25s, transform .25s;
  background: var(--white);
  height: 100%;
}
.feature-card:hover {
  box-shadow: 0 8px 32px rgba(10,25,47,.1);
  transform: translateY(-4px);
}
.feature-icon-wrap {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin: 0 auto 1.25rem;
}
.feature-icon-wrap.c1 { background: #e8f0fe; color: #1a73e8; }
.feature-icon-wrap.c2 { background: #e6f4ea; color: #188038; }
.feature-icon-wrap.c3 { background: #fef7e0; color: #e37400; }
.feature-icon-wrap.c4 { background: #e4f7fb; color: #0097a7; }
.feature-title {
  font-size: 1.05rem; font-weight: 700; color: var(--navy);
  margin-bottom: .6rem;
}
.feature-desc { color: var(--muted); font-size: .88rem; line-height: 1.75; margin: 0; }

/* ===== COMPATIBILITY ===== */
.compat-section {
  background: var(--cream);
  padding: 5rem 0;
}
.compat-table {
  display: flex; flex-direction: column; gap: .5rem;
}
.compat-row {
  display: flex; align-items: center;
  padding: .9rem 1.25rem; background: var(--white);
  border-radius: 4px; border: 1px solid var(--border);
  gap: 1rem;
  transition: border-color .2s;
}
.compat-row:hover { border-color: var(--navy); }
.compat-status {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; flex-shrink: 0;
}
.compat-status.ok { background: #e8f5e9; color: #2e7d32; }
.compat-status.no { background: #fce4e4; color: #c62828; }
.compat-text { font-size: .9rem; color: var(--ink); }
.license-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px; padding: 2.5rem;
  color: var(--muted);
  height: 100%; display: flex; flex-direction: column; justify-content: center;
}
.license-box .lc-icon {
  font-size: 2.5rem; color: var(--navy-bg); margin-bottom: 1rem;
}
.license-box h4 {
  font-family: var(--serif); font-weight: 900;
  color: var(--navy); margin-bottom: .75rem;
}
.license-box a { color: var(--red); text-decoration: none; }
.license-box a:hover { text-decoration: underline; }
.license-box .btn-primary-custom,
.license-box .btn-primary-custom:hover { color: #ffffff; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy-bg);
  padding: 1.25rem 0;
  color: rgba(255,255,255,.45);
  font-size: .85rem;
  margin-top: auto;
}
.footer-brand {
  font-family: var(--serif); font-weight: 900;
  color: var(--white);
}

/* ===== DOCS PAGE ===== */
.docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 63px);
}
.docs-sidebar {
  background: var(--cream);
  border-right: 1px solid var(--border);
  padding: 2rem 0;
  position: sticky; top: 63px;
  height: calc(100vh - 63px);
  overflow-y: auto;
}
.docs-sidebar::-webkit-scrollbar { width: 4px; }
.docs-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.sidebar-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .12em;
  color: var(--muted); text-transform: uppercase;
  padding: 0 1.25rem; margin-bottom: .75rem;
}
.sidebar-nav { list-style: none; padding: 0; margin: 0; }
.sidebar-nav .top-item > a {
  display: block; padding: .5rem 1.25rem;
  color: var(--ink); text-decoration: none;
  font-size: .875rem; font-weight: 600;
  transition: color .15s, background .15s;
  border-left: 3px solid transparent;
  margin-left: -1px;
}
.sidebar-nav .top-item > a:hover { color: var(--navy); background: rgba(10,25,47,.04); }
.sidebar-nav .top-item > a.active {
  color: var(--red); border-left-color: var(--red);
  background: var(--red-lt);
}
.sidebar-nav .sub-nav { list-style: none; padding: 0; }
.sidebar-nav .sub-nav a {
  display: block; padding: .35rem 1.25rem .35rem 2rem;
  color: var(--muted); text-decoration: none;
  font-size: .825rem;
  border-left: 3px solid transparent;
  margin-left: -1px;
  transition: color .15s, background .15s;
}
.sidebar-nav .sub-nav a:hover { color: var(--navy); }
.sidebar-nav .sub-nav a.active {
  color: var(--red); border-left-color: var(--red);
  background: var(--red-lt); font-weight: 600;
}
.docs-main { padding: 2.5rem 3rem; max-width: 860px; }
.docs-breadcrumb {
  display: flex; align-items: center; gap: .4rem;
  font-size: .82rem; color: var(--muted); margin-bottom: 2rem;
}
.docs-breadcrumb a { color: var(--muted); text-decoration: none; }
.docs-breadcrumb a:hover { color: var(--navy); }
.docs-breadcrumb span { color: var(--border); }
.docs-content { line-height: 1.85; }
.docs-content h1 {
  font-family: var(--serif); font-weight: 900;
  font-size: 1.9rem; color: var(--navy);
  margin-bottom: 1.5rem; padding-bottom: .75rem;
  border-bottom: 2px solid var(--border);
}
.docs-content h2 {
  font-family: var(--serif); font-weight: 700;
  font-size: 1.3rem; color: var(--navy);
  margin: 2.5rem 0 .75rem;
  display: flex; align-items: center; gap: .6rem;
}
.docs-content h2::before {
  content: ''; width: 4px; height: 1.2em;
  background: var(--red); border-radius: 2px; flex-shrink: 0;
}
.docs-content h3 {
  font-size: 1.1rem; font-weight: 700; color: var(--ink);
  margin: 2rem 0 .6rem;
}
.docs-content p { margin-bottom: 1rem; }
.docs-content img {
  max-width: 100%; border: 1px solid var(--border);
  border-radius: 6px; margin: 1.25rem 0;
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
}
.docs-content table {
  width: 100%; border-collapse: collapse; margin: 1.5rem 0;
  font-size: .9rem;
}
.docs-content table th {
  background: var(--navy); color: rgba(255,255,255,.9);
  padding: .65rem 1rem; text-align: left; font-weight: 600;
  font-size: .82rem; letter-spacing: .04em;
}
.docs-content table td {
  padding: .6rem 1rem; border-bottom: 1px solid var(--border);
  color: var(--ink);
}
.docs-content table tr:last-child td { border-bottom: none; }
.docs-content table tr:hover td { background: var(--cream); }
.docs-content code {
  font-family: var(--mono);
  background: var(--cream); color: var(--red);
  padding: .1em .35em; border-radius: 3px;
  font-size: .88em; border: 1px solid var(--border);
}
.docs-content pre {
  background: var(--navy); border-radius: 6px;
  padding: 1.25rem; margin: 1.25rem 0; overflow-x: auto;
}
.docs-content pre code {
  background: none; color: rgba(255,255,255,.85);
  border: none; padding: 0; font-size: .85rem;
}
.docs-content blockquote {
  border-left: 3px solid var(--gold);
  background: #fdf9f0; padding: 1rem 1.25rem;
  margin: 1.25rem 0; border-radius: 0 4px 4px 0;
}
.docs-content ul, .docs-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.docs-content li { margin-bottom: .4rem; }
.docs-nav-bar {
  display: flex; justify-content: space-between;
  margin-top: 4rem; padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.docs-nav-btn {
  display: flex; flex-direction: column;
  text-decoration: none; padding: 1rem 1.25rem;
  border: 1px solid var(--border); border-radius: 6px;
  max-width: 260px; transition: border-color .2s, box-shadow .2s;
}
.docs-nav-btn:hover { border-color: var(--navy); box-shadow: 0 4px 16px rgba(10,25,47,.08); }
.docs-nav-btn .nav-direction {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .25rem;
}
.docs-nav-btn .nav-title { font-size: .9rem; font-weight: 600; color: var(--navy); }
.docs-nav-btn.next { align-items: flex-end; margin-left: auto; }

/* Mobile docs */
@media (max-width: 991px) {
  .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar { display: none; }
  .docs-main { padding: 1.5rem 1.25rem; }
}

/* ===== DOWNLOAD PAGE ===== */
.download-hero {
  background: var(--navy-bg); padding: 4rem 0; color: white;
}
.version-badge {
  display: inline-block;
  background: var(--red); color: white;
  font-size: .75rem; font-weight: 700; letter-spacing: .08em;
  padding: .25rem .7rem; border-radius: 2px;
  text-transform: uppercase; margin-bottom: 1rem;
}
.download-card {
  background: var(--white); border-radius: 8px;
  border: 1px solid var(--border);
  padding: 2.5rem; margin-top: 2rem;
}
.changelog-list { list-style: none; padding: 0; }
.changelog-list li {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .6rem 0; border-bottom: 1px solid var(--border);
  font-size: .9rem;
}
.changelog-list li:last-child { border-bottom: none; }
.changelog-list .ch-dot {
  width: 6px; height: 6px; background: var(--red);
  border-radius: 50%; flex-shrink: 0; margin-top: .45em;
}
.history-table th { font-size: .82rem; }

/* ===== CONTACT PAGE ===== */
.contact-hero { background: var(--cream); padding: 4rem 0; border-bottom: 1px solid var(--border); }
.info-card {
  border: 1px solid var(--border); border-radius: 8px;
  padding: 2rem; height: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.info-card:hover {
  border-color: var(--navy);
  box-shadow: 0 8px 32px rgba(10,25,47,.08);
}
.info-card-icon {
  width: 48px; height: 48px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.25rem;
}
.info-card-icon.red { background: var(--red-lt); color: var(--red); }
.info-card-icon.navy { background: rgba(10,25,47,.08); color: var(--navy); }
.info-card h5 {
  font-family: var(--serif); font-weight: 700;
  color: var(--navy); margin-bottom: .75rem;
}
.step-list { list-style: none; padding: 0; counter-reset: steps; }
.step-list li {
  counter-increment: steps;
  display: flex; gap: 1rem; margin-bottom: 1rem;
  align-items: flex-start;
}
.step-list li::before {
  content: counter(steps);
  min-width: 28px; height: 28px;
  background: var(--navy); color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700; flex-shrink: 0;
}
.step-text { font-size: .9rem; color: var(--ink); padding-top: .3rem; }

/* ===== HERO CAROUSEL ===== */
/* RobotCoder 20260515: Hero 轮播样式 */
.hero-carousel .carousel-item .hero { width: 100%; }
.hero-carousel .carousel-indicators {
  bottom: 1.25rem; margin: 0; gap: .4rem;
}
.hero-carousel .carousel-indicators button {
  width: 8px; height: 8px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.3);
  opacity: 1; transition: background .3s, transform .3s;
  flex-shrink: 0;
}
.hero-carousel .carousel-indicators button.active {
  background: var(--red); transform: scale(1.25);
}
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 3rem; opacity: .35; transition: opacity .2s;
}
.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover { opacity: .85; }

/* ===== NAV BACK LINK ===== */
/* RobotCoder 20260515: 返回套件链接样式 */
.site-nav .nav-links a.nav-back {
  font-size: .78rem;
  opacity: .55;
  letter-spacing: .03em;
}
.site-nav .nav-links a.nav-back:hover {
  opacity: 1;
  border-color: transparent;
  color: var(--muted);
}

/* ===== PRODUCT CARDS (套件首页) ===== */
/* RobotCoder 20260515: 双产品入口卡片 */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2.5rem 2rem;
  height: 100%;
  display: flex; flex-direction: column;
  transition: box-shadow .25s, transform .2s;
}
.product-card:hover {
  box-shadow: 0 12px 40px rgba(10,25,47,.12);
  transform: translateY(-3px);
}
.product-card-icon {
  width: 52px; height: 52px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: white;
  margin-bottom: 1.25rem; flex-shrink: 0;
}
.product-card-icon.zlxf { background: var(--navy); }
.product-card-icon.tzs  { background: var(--red); }
.product-card-name {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: .4rem;
}
.product-card-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: .2rem .6rem;
  border-radius: 3px;
  margin-bottom: 1rem;
}
.product-card-tag.zlxf { background: rgba(10,25,47,.08); color: var(--navy); }
.product-card-tag.tzs  { background: var(--red-lt); color: var(--red); }
.product-card-desc {
  color: var(--muted); font-size: .9rem; line-height: 1.8;
  margin-bottom: 1.5rem; flex: 1;
}
.product-card-features {
  list-style: none; padding: 0; margin-bottom: 1.75rem;
  display: flex; flex-direction: column; gap: .45rem;
}
.product-card-features li {
  font-size: .85rem; color: var(--ink);
  display: flex; align-items: center; gap: .5rem;
}
.product-card-features li i { color: var(--red); flex-shrink: 0; }
.product-card-actions {
  display: flex; gap: .75rem; flex-wrap: wrap;
}

/* ===== NAV AUTH (院校登录态) ===== */
/* RobotCoder 20260708: 导航"联系/授权"之后的 分隔符 + 登录/院校控制台/退出 */
.site-nav .nav-links li.nav-sep {
  display: flex; align-items: center; padding: 0 .35rem;
}
.site-nav .nav-links li.nav-sep span {
  width: 1px; height: 18px; background: var(--border);
}
.site-nav .nav-links .nav-logout-item form { margin: 0; height: 100%; display: flex; }
.site-nav .nav-links .nav-logout-item button {
  display: flex; align-items: center; height: 100%;
  padding: 0 1.1rem; background: none; border: none; cursor: pointer;
  color: var(--muted); font-family: inherit; font-size: .88rem; font-weight: 500;
  letter-spacing: .02em;
  border-bottom: 3px solid transparent; margin-bottom: -3px;
  transition: color .2s, border-color .2s;
}
.site-nav .nav-links .nav-logout-item button:hover {
  color: var(--navy); border-color: var(--red);
}
@media (max-width: 768px) {
  .site-nav .nav-links li.nav-sep { display: none; }
  .site-nav.open .nav-links .nav-logout-item form { height: auto; }
  .site-nav.open .nav-links .nav-logout-item button {
    height: auto; padding: .6rem 1.5rem; width: 100%;
  }
}

/* ===== SCHOOL 院校后台 ===== */
/* RobotCoder 20260708: 院校后台表单/卡片样式，复用设计 token */
.school-form .form-label {
  font-weight: 600; color: var(--navy); font-size: .88rem; margin-bottom: .35rem;
}
.school-form .form-control {
  border-radius: 4px; border: 1px solid var(--border);
  font-size: .92rem; padding: .55rem .8rem;
}
.school-form .form-control:focus {
  border-color: var(--navy); box-shadow: 0 0 0 .18rem rgba(10,25,47,.1);
}
.school-form .form-control[readonly] { background: var(--cream); color: var(--muted); }
.school-alert {
  border-radius: 4px; padding: .7rem 1rem; font-size: .88rem;
  margin-bottom: 1.25rem; border: 1px solid transparent;
}
.school-alert.ok  { background: #e8f5e9; color: #2e7d32; border-color: #c8e6c9; }
.school-alert.err { background: var(--red-lt); color: var(--red); border-color: #f0c9c4; }
.school-page-title {
  font-family: var(--serif); font-weight: 900; color: var(--navy);
  font-size: 1.5rem; margin-bottom: .35rem;
}
.school-page-desc { color: var(--muted); font-size: .9rem; margin-bottom: 1.75rem; }
.tpl-current {
  display: flex; align-items: center; gap: .75rem;
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 6px; padding: 1rem 1.25rem; margin-bottom: 1.5rem;
}
.tpl-current i { font-size: 1.4rem; color: var(--navy); }

/* ===== UTILITIES ===== */
.text-red { color: var(--red); }
.text-navy { color: var(--navy); }
.text-muted-custom { color: var(--muted); }
.bg-navy { background: var(--navy); }
.bg-cream { background: var(--cream); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .6s ease both; }
.fade-up-1 { animation-delay: .1s; }
.fade-up-2 { animation-delay: .2s; }
.fade-up-3 { animation-delay: .3s; }
.fade-up-4 { animation-delay: .4s; }

/* RobotCoder 20260711 begin: 智汇通知书「不留空·不错位·不错字」亮点板块样式 */
/* 零差错徽标 */
.zero-error-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--red-lt); color: var(--red);
  font-weight: 700; font-size: .82rem; letter-spacing: .04em;
  padding: .45rem 1.1rem; border-radius: 999px;
  border: 1px solid #f0c9c4;
}
.zero-error-badge i { font-size: 1rem; }

/* 传统 vs 智汇 对比小卡 */
.compare-card {
  border-radius: 8px; padding: 1.5rem 1.6rem; height: 100%;
  border: 1px solid var(--border); background: var(--white);
}
.compare-card.bad  { border-left: 4px solid var(--red);  background: var(--red-lt); }
.compare-card.good { border-left: 4px solid #188038;      background: #eef7f0; }
.compare-card .compare-head {
  display: flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: 1rem; margin-bottom: .6rem;
}
.compare-card.bad  .compare-head { color: var(--red); }
.compare-card.good .compare-head { color: #188038; }
.compare-card p { color: var(--ink); font-size: .9rem; line-height: 1.8; margin: 0; }
.compare-card p strong { color: var(--navy); }
.compare-card.bad p strong { color: var(--red); }

/* 双产品亮点轮播：产品名 pill 切换（id 作用域，彻底覆盖 Bootstrap carousel-indicators 默认条状样式） */
#highlightCarousel .carousel-indicators.highlight-tabs {
  position: static; margin: 0 0 2rem; padding: 0; z-index: auto;
  justify-content: center; gap: .75rem; flex-wrap: wrap;
}
#highlightCarousel .carousel-indicators.highlight-tabs [data-bs-target] {
  box-sizing: border-box; flex: 0 0 auto;
  width: auto; height: auto; text-indent: 0; opacity: 1; margin: 0;
  border: 1px solid var(--border); border-radius: 999px;
  padding: .5rem 1.4rem;
  background: var(--white); color: var(--muted);
  font-weight: 700; font-size: .9rem; line-height: 1.4;
  transition: background .2s, border-color .2s, color .2s;
}
#highlightCarousel .carousel-indicators.highlight-tabs [data-bs-target]:hover {
  border-color: var(--navy); color: var(--navy);
}
#highlightCarousel .carousel-indicators.highlight-tabs [data-bs-target].active {
  background: var(--navy); border-color: var(--navy); color: #fff;
}
/* RobotCoder 20260711 end */
