:root {
  color-scheme: light;
  --bg: #f3f6f8;
  --ink: #0f172a;
  --muted: #5f6b7a;
  --line: #dfe6ec;
  --nav: #102233;
  --cyan: #0891b2;
  --cyan-soft: #ecfeff;
  --module-space: 104px;
  --submodule-space: 56px;
  --card-radius: 24px;
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { min-width: 320px; margin: 0; background: var(--bg); color: var(--ink); }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid rgb(34 211 238 / .42); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 40; width: 276px; display: flex; flex-direction: column;
  padding: 20px 16px; color: #dce5ec; background: var(--nav); border-right: 1px solid rgb(255 255 255 / .08);
  box-shadow: 18px 0 55px rgb(15 23 42 / .14); transition: transform .28s ease;
}
.sidebar.is-closed { transform: translateX(-100%); }
.brand-row { display: grid; grid-template-columns: 40px minmax(0,1fr) 32px; gap: 12px; align-items: start; padding: 0 8px; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; color: #071722; background: #67e8f9; border-radius: 15px; box-shadow: 0 10px 26px rgb(103 232 249 / .18); }
.brand-row strong { display: block; margin-top: 2px; font-size: 14px; color: #fff; }
.brand-row span { display: block; margin-top: 4px; font-size: 12px; color: #8293a3; }
.icon-button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; color: #506071; background: #fff; border: 1px solid #dce4ea; border-radius: 12px; }
.sidebar .icon-button { width: 32px; height: 32px; color: #b9c6d1; background: transparent; border-color: transparent; }
.sidebar .icon-button:hover { color: #fff; background: rgb(255 255 255 / .08); }
.sidebar-status { margin: 30px 8px 0; padding: 16px; border: 1px solid rgb(103 232 249 / .14); background: rgb(103 232 249 / .06); border-radius: 17px; }
.sidebar-status small, .sidebar-nav > small { display: block; font-size: 10px; font-weight: 800; letter-spacing: .15em; color: #67e8f9; text-transform: uppercase; }
.sidebar-status strong { display: block; margin-top: 9px; font-size: 14px; color: #fff; }
.sidebar-status p { margin: 8px 0 0; font-size: 12px; line-height: 1.75; color: #8ea0af; }
.sidebar-nav { flex: 1; margin-top: 28px; padding: 0 4px; overflow-y: auto; }
.sidebar-nav > small { padding: 0 12px 8px; color: #607384; }
.sidebar-nav a { display: flex; align-items: center; gap: 12px; margin-top: 4px; padding: 11px 12px; font-size: 14px; color: #92a3b2; border-radius: 12px; transition: .18s ease; }
.sidebar-nav a span { width: 16px; text-align: center; font-weight: 400; }
.sidebar-nav a b { font-weight: 600; }
.sidebar-nav a:hover { color: #fff; background: rgb(255 255 255 / .07); }
.sidebar-nav a.is-active { color: #071722; background: #67e8f9; }
.sidebar-nav a.is-active b { font-weight: 800; }
.sidebar-foot { display: flex; gap: 9px; margin: 0 8px; padding-top: 16px; font-size: 12px; line-height: 1.65; color: #8ea0af; border-top: 1px solid rgb(255 255 255 / .08); }
.sidebar-foot span { color: #67e8f9; }
.sidebar-foot p { margin: 0; }

.page { min-height: 100vh; padding-left: 276px; transition: padding-left .28s ease; }
.page.is-wide { padding-left: 0; }
.topbar { position: sticky; top: 0; z-index: 20; padding: 12px 32px; background: rgb(243 246 248 / .9); border-bottom: 1px solid rgb(215 224 231 / .8); backdrop-filter: blur(12px); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1500px; margin: 0 auto; }
.topbar-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.topbar-title strong, .topbar-title span { display: block; }
.topbar-title strong { font-size: 14px; font-weight: 800; }
.topbar-title span { margin-top: 3px; font-size: 12px; color: #6b7785; }
.top-badge { padding: 6px 10px; font-size: 12px; font-weight: 700; color: #155e75; background: #ecfeff; border: 1px solid #a5f3fc; border-radius: 999px; }
.content { max-width: 1500px; margin: 0 auto; padding: 42px 32px 96px; }

.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) 420px; gap: 40px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 30px; box-shadow: 0 18px 60px rgb(15 23 42 / .06); scroll-margin-top: 90px; }
.hero-copy { padding: 48px 0 44px 40px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; align-items: center; width: fit-content; padding: 5px 9px; font-size: 12px; font-weight: 800; border-radius: 999px; }
.badge-dark { color: #fff; background: #0f172a; }
.badge-blue { color: #1e40af; background: #eff6ff; border: 1px solid #bfdbfe; }
.badge-green { color: #166534; background: #f0fdf4; border: 1px solid #bbf7d0; }
.badge-solid-blue { color: #fff; background: #1d4ed8; }
.badge-neutral { color: #475569; background: #fff; border: 1px solid #cbd5e1; }
.hero h1 { max-width: 860px; margin: 24px 0 0; font-size: clamp(38px, 4vw, 58px); line-height: 1.08; letter-spacing: -.055em; }
.hero-copy > p { max-width: 760px; margin: 24px 0 0; font-size: 16px; line-height: 2; color: var(--muted); }
.hero-rules { align-self: center; margin-right: 40px; padding: 26px; color: #fff; background: linear-gradient(145deg,#102233 0%,#153b4a 64%,#176c68 100%); border-radius: 26px; box-shadow: 0 18px 34px rgb(15 23 42 / .13); }
.hero-rules > small { font-size: 11px; font-weight: 800; letter-spacing: .16em; color: #a5f3fc; text-transform: uppercase; }
.hero-rules > div { display: flex; gap: 12px; margin-top: 15px; padding: 14px; background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .1); border-radius: 16px; }
.hero-rules b { font: 700 11px/1.5 Consolas, monospace; color: #a5f3fc; }
.hero-rules p, .hero-rules strong, .hero-rules span { display: block; margin: 0; }
.hero-rules strong { font-size: 14px; }
.hero-rules span { margin-top: 5px; font-size: 12px; line-height: 1.6; color: #c4d1dc; }
.archive-panel { grid-column: 1 / -1; padding: 32px 40px 38px; background: #f8fafc; border-top: 1px solid #edf1f4; }
.type-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.type-tabs button { position: relative; min-height: 164px; padding: 20px; text-align: left; background: rgb(255 255 255 / .78); border: 1px solid #dbe3e9; border-radius: 19px; transition: .2s ease; }
.type-tabs button:hover { background: #fff; border-color: #b9c8d2; transform: translateY(-1px); }
.type-tabs button.is-selected { background: #fff; border-color: #06b6d4; box-shadow: 0 9px 26px rgb(8 145 178 / .1), 0 0 0 2px #cffafe; }
.type-icon { display: grid; place-items: center; width: 40px; height: 40px; font-weight: 900; color: #4d5c6c; background: #f1f5f9; border-radius: 12px; }
.is-selected .type-icon { color: #fff; background: var(--cyan); }
.type-tabs b, .type-tabs small { display: block; }
.type-tabs b { margin-top: 14px; font-size: 18px; }
.type-tabs small { margin-top: 7px; font-size: 13px; line-height: 1.6; color: #657383; }
.type-tabs em { position: absolute; top: 20px; right: 20px; padding: 4px 8px; font-size: 11px; font-style: normal; font-weight: 700; color: #657383; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 999px; }
.filters { display: grid; grid-template-columns: minmax(0,1fr) 260px; gap: 12px; margin-top: 28px; }
.search-box { position: relative; }
.search-box span { position: absolute; top: 50%; left: 14px; color: #8a97a4; transform: translateY(-50%); }
.filters input, .filters select { width: 100%; height: 46px; color: #334155; background: #fff; border: 1px solid #d8e1e8; border-radius: 12px; outline: none; }
.filters input { padding: 0 14px 0 40px; }
.filters select { padding: 0 12px; }
.filters input:focus, .filters select:focus { border-color: #06b6d4; box-shadow: 0 0 0 3px #cffafe; }
.report-list { margin-top: 24px; }
.empty-state { padding: 44px 24px; text-align: center; background: #fff; border: 1px dashed #cbd5e1; border-radius: 22px; }
.empty-state .empty-icon { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto; font-size: 20px; color: #94a3b8; background: #f1f5f9; border-radius: 14px; }
.empty-state h3 { margin: 16px 0 0; font-size: 16px; }
.empty-state p { max-width: 640px; margin: 9px auto 0; font-size: 13px; line-height: 1.8; color: #6b7785; }
.report-card { display: block; padding: 20px; background: #fff; border: 1px solid #dbe3e9; border-radius: 18px; transition: .2s ease; }
.report-card + .report-card { margin-top: 12px; }
.report-card:hover { border-color: #67e8f9; box-shadow: 0 8px 24px rgb(15 23 42 / .07); }
.report-card-head { display: flex; justify-content: space-between; gap: 20px; }
.report-card-badges { display: flex; flex-wrap: wrap; gap: 7px; }
.report-card h3 { margin: 14px 0 0; font-size: 17px; }
.report-card p { margin: 8px 0 0; font-size: 13px; line-height: 1.7; color: #637181; }
.report-card-arrow { flex: 0 0 auto; font-size: 13px; font-weight: 800; color: #0e7490; }

.report-section { margin-top: var(--module-space); padding-top: 64px; border-top: 1px solid #dfe6ec; scroll-margin-top: 80px; }
.section-heading { max-width: 900px; }
.section-heading small { font-size: 11px; font-weight: 800; letter-spacing: .16em; color: #0e7490; }
.section-heading h2 { margin: 14px 0 0; font-size: clamp(31px, 3.2vw, 46px); line-height: 1.15; letter-spacing: -.045em; }
.section-heading p { margin: 17px 0 0; font-size: 16px; line-height: 1.9; color: var(--muted); }
.period-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 20px; margin-top: 38px; }
.period-card, .check-card, .module-list, .metadata-grid article, .state-grid article, .publish-grid article { border: 1px solid var(--line); border-radius: var(--card-radius); box-shadow: 0 8px 30px rgb(15 23 42 / .04); }
.period-card { padding: 28px; color: #172554; background: #eff6ff; border-color: #bfdbfe; }
.period-card > div:first-child { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.period-card h3 { margin: 22px 0 0; font-size: 28px; letter-spacing: -.03em; }
.period-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.period-notes p { margin: 0; font-size: 13px; line-height: 1.85; }
.check-card { padding: 28px; background: #fff; }
.check-card h3 { margin: 0 0 20px; font-size: 16px; }
.check-card p { display: flex; gap: 9px; margin: 13px 0 0; font-size: 13px; line-height: 1.7; color: #5e6b79; }
.check-card p span { color: #0e7490; font-weight: 900; }
.module-list { margin-top: 40px; overflow: hidden; background: #fff; }
.module-list article { display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 16px; padding: 28px 32px; }
.module-list article + article { border-top: 1px solid #eef2f5; }
.module-list article > b { font: 900 13px/1.6 Consolas, monospace; color: #0e7490; }
.module-list h3 { margin: 0; font-size: 16px; }
.module-list p { margin: 8px 0 0; font-size: 13px; line-height: 1.85; color: #5f6d7c; }
.metadata-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 38px; }
.metadata-grid article { padding: 21px; background: #fff; border-radius: 18px; }
.metadata-grid h3 { margin: 0; font-size: 14px; }
.metadata-grid p { margin: 10px 0 0; font-size: 13px; line-height: 1.7; color: #637181; }
.warning-card { display: flex; gap: 14px; margin-top: 30px; padding: 24px; color: #881337; background: #fff1f2; border: 1px solid #fecdd3; border-radius: 22px; }
.warning-card > span { display: grid; flex: 0 0 auto; place-items: center; width: 32px; height: 32px; font-weight: 900; color: #fff; background: #be123c; border-radius: 11px; }
.warning-card h3, .warning-card p { margin: 0; }
.warning-card h3 { font-size: 15px; }
.warning-card p { margin-top: 8px; font-size: 13px; line-height: 1.85; }
.state-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 38px; }
.state-grid article { padding: 26px; }
.state-grid article > span { display: inline-flex; padding: 5px 10px; font-size: 12px; font-weight: 800; color: #fff; border-radius: 999px; }
.state-grid h3 { margin: 18px 0 0; font-size: 18px; }
.state-grid p { margin: 11px 0 0; font-size: 13px; line-height: 1.9; }
.state-ready { color: #064e3b; background: #ecfdf5; border-color: #a7f3d0 !important; }.state-ready > span { background: #047857; }
.state-test { color: #78350f; background: #fffbeb; border-color: #fde68a !important; }.state-test > span { background: #d97706; }
.state-watch { color: #172554; background: #eff6ff; border-color: #bfdbfe !important; }.state-watch > span { background: #1d4ed8; }
.state-hold { color: #1e293b; background: #f1f5f9; border-color: #cbd5e1 !important; }.state-hold > span { background: #475569; }
.publish-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 38px; }
.publish-grid article { padding: 26px; background: #fff; }
.publish-grid article > span { display: grid; place-items: center; width: 40px; height: 40px; font-size: 18px; font-weight: 900; color: #0e7490; background: #ecfeff; border-radius: 13px; }
.publish-grid h3 { margin: 18px 0 0; font-size: 17px; }
.publish-grid p { margin: 10px 0 0; font-size: 13px; line-height: 1.85; color: #637181; }
footer { margin-top: 88px; padding-top: 26px; font-size: 12px; line-height: 1.85; color: #687685; border-top: 1px solid #dfe6ec; }
.mobile-scrim { position: fixed; inset: 0; z-index: 35; width: 100%; height: 100%; padding: 0; background: rgb(15 23 42 / .35); border: 0; backdrop-filter: blur(1px); }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr 360px; }
  .metadata-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.is-mobile-open { transform: translateX(0); }
  .page, .page.is-wide { padding-left: 0; }
  .topbar { padding: 11px 18px; }
  .content { padding: 28px 20px 72px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 34px 26px 0; }
  .hero-rules { margin: 0 26px; }
  .archive-panel { padding: 28px 26px 32px; }
  .type-tabs { grid-template-columns: 1fr; }
  .type-tabs button { min-height: 134px; }
  .period-grid, .publish-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .topbar-title span, .top-badge { display: none; }
  .content { padding-right: 15px; padding-left: 15px; }
  .hero-copy { padding-right: 20px; padding-left: 20px; }
  .hero-rules { margin: 0 20px; padding: 20px; }
  .archive-panel { padding: 24px 20px 28px; }
  .filters, .period-notes, .metadata-grid, .state-grid { grid-template-columns: 1fr; }
  .module-list article { grid-template-columns: 44px minmax(0,1fr); padding: 24px 20px; }
  .report-section { margin-top: 84px; padding-top: 52px; }
  .hero h1 { font-size: 38px; }
  .report-card-head { display: block; }
  .report-card-arrow { display: block; margin-top: 14px; }
}

@media print {
  .sidebar, .topbar, .mobile-scrim, .filters { display: none !important; }
  .page { padding-left: 0; }
  .content { max-width: none; padding: 0; }
  .hero, .period-card, .check-card, .module-list, .metadata-grid article, .state-grid article, .publish-grid article { box-shadow: none; }
}
