@charset "UTF-8";
:root {
  --primary: #1B3A4B;
  --teal: #2DD4BF;
  --deep: #0F172A;
  --background: #F8FAFC;
  --surface: #FFFFFF;
  --surface-muted: #F1F5F9;
  --text: #1E293B;
  --muted: #64748B;
  --amber: #F59E0B;
  --line: #DCE5EC;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(15, 23, 42, .06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
a:hover { color: #087E78; }
button, input, select { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(45, 212, 191, .65); outline-offset: 3px; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 8px 14px; background: #fff; }
.skip-link:focus { top: 12px; }
.site-header { background: var(--deep); color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
.header-inner {
  width: min(1160px, calc(100% - 40px)); min-height: 76px; margin: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; }
.brand img { width: 42px; height: 42px; object-fit: contain; border-radius: 9px; background: #fff; }
.brand strong { display: block; font-size: 19px; line-height: 1.25; letter-spacing: .02em; }
.brand small { display: block; color: #B8C8D2; font-size: 11px; line-height: 1.5; }
.primary-nav { display: flex; align-items: center; gap: 8px; }
.primary-nav a { padding: 9px 17px; border-radius: 8px; color: #D8E3E9; font-size: 14px; transition: background .2s, color .2s; }
.primary-nav a:hover, .primary-nav a.is-active { color: #fff; background: rgba(45,212,191,.15); }
.menu-toggle { display: none; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; border-radius: 8px; padding: 7px 11px; cursor: pointer; }
.hero {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, .8fr);
  gap: 46px; align-items: center; padding-block: 66px 58px;
}
.eyebrow { margin: 0 0 9px; color: #087E78; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.hero h1 { max-width: 720px; margin: 0; color: var(--deep); font-size: clamp(30px, 4vw, 44px); line-height: 1.3; letter-spacing: -.035em; font-weight: 750; }
.hero-intro { max-width: 690px; margin: 17px 0 24px; color: var(--muted); font-size: 16px; }
.search-form { display: flex; gap: 10px; }
.hero-search { max-width: 700px; padding: 7px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.search-form input, .search-form select {
  min-width: 0; height: 48px; border: 0; border-radius: 8px; padding: 0 14px;
  color: var(--text); background: #fff; outline-offset: 1px;
}
.search-form input { flex: 1; }
.search-form select { border: 1px solid var(--line); min-width: 130px; }
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 7px;
  min-height: 44px; padding: 9px 19px; border: 1px solid transparent;
  border-radius: 8px; font-weight: 650; font-size: 14px; cursor: pointer; transition: .2s ease;
}
.button-primary { color: #fff; background: var(--primary); }
.button-primary:hover { color: #fff; background: #24556B; transform: translateY(-1px); }
.button-secondary { color: var(--primary); border-color: #B8CBD5; background: #fff; }
.button-secondary:hover { color: var(--primary); background: var(--surface-muted); }
.button-light { color: var(--deep); background: #fff; }
.button-light:hover { color: var(--primary); background: #E8FFFB; }
.quick-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 15px; color: var(--muted); font-size: 12px; }
.quick-tags a, .tag-list a { padding: 3px 9px; border-radius: 5px; color: #426273; background: #EAF2F5; font-size: 12px; }
.quick-tags a:hover, .tag-list a:hover { color: var(--deep); background: #D7F8F1; }
.hero-aside { position: relative; padding: 25px 26px 24px; border: 1px solid #D8E8E9; border-radius: var(--radius); background: linear-gradient(145deg, #E9F8F6, #F5FAFC 70%); }
.aside-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: var(--deep); background: var(--teal); font-size: 22px; font-weight: 800; }
.hero-aside h2 { margin: 15px 0 5px; font-size: 19px; }
.hero-aside p { margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: #087E78; font-size: 13px; font-weight: 700; }
.text-link:hover { color: var(--primary); }
.content-section { padding-block: 34px 26px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 19px; }
.section-heading h2, .note-template h2 { margin: 0; color: var(--deep); font-size: 24px; line-height: 1.35; }
.section-heading .eyebrow { margin-bottom: 5px; }
.section-note { margin: 0; color: var(--muted); font-size: 13px; }
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.category-card {
  display: flex; align-items: center; gap: 11px; min-height: 88px; padding: 14px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: .2s ease;
}
.category-card:hover { border-color: #9BDCD2; box-shadow: var(--shadow); transform: translateY(-2px); }
.category-symbol { display: grid; flex: 0 0 39px; place-items: center; width: 39px; height: 39px; border-radius: 9px; color: var(--primary); background: #E5F7F4; font-size: 18px; font-weight: 750; }
.category-card strong, .category-card small { display: block; }
.category-card strong { font-size: 14px; }
.category-card small { color: var(--muted); font-size: 11px; line-height: 1.5; }
.card-arrow { margin-left: auto; color: #8BA1AD; }
.work-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; border-top: 1px solid var(--line); }
.work-row { display: flex; gap: 15px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.work-poster, .result-cover {
  display: grid; flex: 0 0 72px; place-items: center; width: 72px; height: 96px;
  border-radius: 8px; color: #C7F9F0; background: linear-gradient(145deg, #1B3A4B, #286477);
  font-size: 27px; font-weight: 800;
}
.work-info { min-width: 0; }
.work-meta { display: flex; gap: 10px; color: var(--muted); font-size: 11px; }
.work-meta span:first-child { color: #087E78; font-weight: 700; }
.work-info h3, .result-body h3 { margin: 2px 0 4px; color: var(--deep); font-size: 17px; }
.work-info p, .result-body > p { margin: 0 0 8px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-list a { font-size: 10px; }
.assistant-band {
  display: flex; justify-content: space-between; align-items: center; gap: 25px;
  margin-top: 32px; padding: 27px 31px; border-radius: 12px; color: #fff; background: var(--primary);
}
.assistant-band .eyebrow { color: var(--teal); }
.assistant-band h2 { margin: 0 0 5px; font-size: 22px; }
.assistant-band p:not(.eyebrow) { margin: 0; color: #D0DEE5; font-size: 13px; }
.faq-section { padding-bottom: 60px; }
.faq-section details { padding: 14px 0; border-bottom: 1px solid var(--line); }
.faq-section summary, .detail-toggle summary { cursor: pointer; color: var(--deep); font-weight: 650; }
.faq-section details p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.site-footer { margin-top: 35px; color: #D4E0E6; background: var(--deep); }
.footer-inner { width: min(1160px, calc(100% - 40px)); margin: auto; padding: 30px 0 20px; display: grid; grid-template-columns: 1fr auto; gap: 14px 35px; }
.footer-brand strong { color: #fff; font-size: 18px; }
.footer-brand p { max-width: 460px; margin: 5px 0 0; color: #AFC0CA; font-size: 12px; }
.footer-links { display: flex; align-items: center; gap: 20px; font-size: 12px; }
.footer-links a:hover { color: var(--teal); }
.copyright { grid-column: 1 / -1; margin: 9px 0 0; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.12); color: #91A5B1; font-size: 11px; }
.page-main { min-height: 65vh; padding-top: 23px; }
.breadcrumb ol { display: flex; gap: 9px; padding: 0; margin: 0 0 22px; list-style: none; color: var(--muted); font-size: 12px; }
.breadcrumb li + li::before { content: "/"; margin-right: 9px; color: #A4B3BC; }
.page-intro { max-width: 820px; margin: 0 0 26px; }
.page-intro h1 { margin: 0 0 9px; color: var(--deep); font-size: clamp(27px, 3vw, 36px); line-height: 1.35; }
.page-intro > p:last-child { margin: 0; color: var(--muted); }
.search-panel { padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.search-panel input { border: 1px solid var(--line); }
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin: 30px 0 13px; }
.results-head h2 { margin: 0; font-size: 19px; }
.results-head span { color: var(--muted); font-size: 12px; }
.search-results { display: grid; gap: 12px; }
.result-card { display: flex; gap: 18px; padding: 17px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.result-cover { flex-basis: 86px; width: 86px; height: 112px; font-size: 31px; }
.result-body { flex: 1; min-width: 0; }
.result-body h3 { font-size: 18px; }
.result-body > p { max-width: 850px; font-size: 13px; }
.detail-toggle { margin-top: 10px; padding-top: 9px; border-top: 1px dashed var(--line); font-size: 12px; }
.detail-toggle p { margin: 7px 0 0; color: var(--muted); }
.empty-state { padding: 48px 20px; text-align: center; border: 1px dashed #B9C9D1; border-radius: 12px; background: #fff; }
.empty-icon { color: #0D9488; font-size: 38px; }
.empty-state h2 { margin: 5px 0; font-size: 20px; }
.empty-state p { margin: 0 0 17px; color: var(--muted); font-size: 13px; }
.search-help { margin: 28px 0 50px; padding: 19px 22px; border-left: 3px solid var(--teal); background: var(--surface-muted); }
.search-help h2 { margin: 0 0 5px; font-size: 17px; }
.search-help p { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.assistant-overview { display: grid; grid-template-columns: 1.4fr .8fr; gap: 25px; padding: 25px; border: 1px solid #D8E8E9; border-radius: 12px; background: linear-gradient(120deg, #EAF8F6, #fff); }
.overview-main h2 { margin: 0 0 8px; font-size: 22px; }
.overview-main p { max-width: 620px; margin: 0 0 17px; color: var(--muted); font-size: 13px; }
.overview-side { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; gap: 8px; }
.overview-stat { padding: 12px 8px; text-align: center; border-left: 1px solid #D2E4E4; }
.overview-stat strong, .overview-stat span { display: block; }
.overview-stat strong { color: #087E78; font-size: 26px; }
.overview-stat span { color: var(--muted); font-size: 11px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.guide-card { padding: 20px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.guide-number { color: #0D9488; font-size: 12px; font-weight: 800; }
.guide-card h3 { margin: 5px 0; font-size: 18px; }
.guide-card > p { min-height: 48px; margin: 0 0 12px; color: var(--muted); font-size: 12px; }
.guide-card ol { margin: 0; padding-left: 19px; color: #435867; font-size: 12px; }
.guide-card li { padding: 3px 0; }
.note-template { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; margin: 35px 0; padding: 25px; border-radius: 12px; background: var(--surface-muted); }
.note-template > div:first-child p:last-child { color: var(--muted); font-size: 13px; }
.template-sheet { padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.template-sheet h3 { margin: 9px 0 3px; font-size: 13px; }
.template-sheet p { margin: 2px 0; color: var(--muted); font-size: 12px; }
.error-page { display: grid; justify-items: center; align-content: center; min-height: 65vh; padding-block: 60px; text-align: center; }
.error-code { color: var(--teal); font-size: clamp(70px, 12vw, 120px); font-weight: 850; line-height: 1; }
.error-page h1 { margin: 12px 0 5px; color: var(--deep); font-size: 27px; }
.error-page p { max-width: 540px; color: var(--muted); }
.error-actions { display: flex; gap: 10px; margin-top: 12px; }
@media (max-width: 900px) {
  .hero { gap: 25px; grid-template-columns: 1.3fr .8fr; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .work-list { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr 1fr; }
  .guide-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  body { font-size: 14px; }
  .shell, .header-inner, .footer-inner { width: min(100% - 28px, 560px); }
  .header-inner { min-height: 66px; }
  .menu-toggle { display: block; }
  .primary-nav {
    display: none; position: absolute; z-index: 20; top: 66px; left: 0; right: 0;
    padding: 10px 14px 14px; background: var(--deep); border-top: 1px solid rgba(255,255,255,.1);
  }
  .primary-nav.is-open { display: grid; }
  .primary-nav a { padding: 11px 12px; }
  .hero { grid-template-columns: 1fr; padding-block: 38px 28px; gap: 22px; }
  .hero h1 { font-size: 30px; }
  .hero-intro { font-size: 14px; }
  .hero-aside { padding: 19px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
  .section-heading h2, .note-template h2 { font-size: 21px; }
  .category-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .category-card { min-height: 76px; padding: 10px; gap: 8px; }
  .category-symbol { flex-basis: 33px; width: 33px; height: 33px; }
  .work-row { gap: 11px; }
  .work-poster { flex-basis: 60px; width: 60px; height: 82px; }
  .assistant-band { align-items: flex-start; flex-direction: column; padding: 21px; }
  .footer-inner { grid-template-columns: 1fr; gap: 10px; }
  .footer-links { flex-wrap: wrap; gap: 14px; }
  .copyright { grid-column: auto; }
  .page-main { padding-top: 17px; }
  .page-intro h1 { font-size: 27px; }
  .search-panel { flex-wrap: wrap; }
  .search-panel input { flex-basis: 100%; }
  .search-panel select { flex: 1; }
  .results-head { align-items: flex-start; flex-direction: column; gap: 3px; }
  .result-card { gap: 12px; padding: 12px; }
  .result-cover { flex-basis: 62px; width: 62px; height: 84px; font-size: 25px; }
  .assistant-overview { grid-template-columns: 1fr; padding: 19px; }
  .overview-side { border-top: 1px solid #D2E4E4; padding-top: 10px; }
  .overview-stat:first-child { border-left: 0; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-card:last-child { grid-column: auto; }
  .guide-card > p { min-height: 0; }
  .note-template { grid-template-columns: 1fr; gap: 10px; padding: 18px; }
}
@media (max-width: 390px) {
  .hero-search { flex-wrap: wrap; }
  .hero-search input { flex-basis: 100%; }
  .hero-search button { width: 100%; }
  .category-grid { grid-template-columns: 1fr; }
  .result-card { flex-direction: column; }
  .result-cover { width: 100%; height: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* 内容检索细节与状态反馈 */
.search-form input::placeholder { color: #94A3B8; opacity: 1; }
.search-form input:focus, .search-form select:focus {
  outline: 2px solid rgba(45, 212, 191, .55);
  border-color: #55BFB1;
}
.search-form button { flex: 0 0 auto; }
.result-card:hover { border-color: #B7DCD7; }
.result-card .tag-list { margin-top: 9px; }
.detail-toggle summary { display: inline-flex; align-items: center; gap: 7px; }
.detail-toggle summary::marker { color: #0D9488; }
.detail-toggle[open] { padding-bottom: 3px; }
.category-card:focus-visible, .work-info a:focus-visible, .tag-list a:focus-visible {
  outline-offset: 4px;
}
.work-info h3 a:hover { text-decoration: underline; text-decoration-color: var(--teal); text-underline-offset: 4px; }
.breadcrumb a:hover { color: #087E78; text-decoration: underline; }
.guide-card { position: relative; overflow: hidden; }
.guide-card::after {
  content: ""; position: absolute; right: -20px; top: -22px; width: 72px; height: 72px;
  border: 1px solid rgba(45, 212, 191, .25); border-radius: 50%;
}
.template-sheet { box-shadow: 0 5px 18px rgba(15, 23, 42, .035); }
.error-actions .button { min-width: 116px; }
@media (min-width: 1200px) {
  .hero { padding-top: 74px; padding-bottom: 66px; }
  .content-section { padding-top: 39px; }
}
@media (max-width: 680px) {
  .quick-tags { row-gap: 9px; }
  .assistant-band h2 { font-size: 20px; }
  .search-help { margin-bottom: 35px; padding: 16px; }
  .guide-card { padding: 17px; }
  .template-sheet { padding: 15px; overflow-wrap: anywhere; }
  .error-actions { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 360px) {
  .shell, .header-inner, .footer-inner { width: calc(100% - 22px); }
  .brand strong { font-size: 17px; }
  .page-intro h1 { font-size: 24px; }
  .results-head h2 { font-size: 17px; }
  .search-panel select { min-width: 0; }
}
