:root {
  --ink: #112346;
  --muted: #50617c;
  --blue: #204fd9;
  --line: #e0e8f4;
  --soft: #f3f7fd;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.65 system-ui, "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--ink); background: white; }
h1, h2, h3, p { margin: 0; }
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid #285cf2; outline-offset: 3px; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 86px; }
.wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 3; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.header-inner { min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 21px; font-weight: 800; letter-spacing: -.045em; text-decoration: none; }
.brand span { margin-left: -7px; color: var(--blue); }
.site-header nav, .site-footer nav { display: flex; gap: clamp(16px, 3vw, 42px); }
.site-header nav a, .site-footer nav a { color: var(--muted); font-size: 14px; text-decoration: none; }
.site-header nav a:hover, .site-footer nav a:hover { color: var(--blue); text-decoration: underline; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; padding: 10px 19px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 14px; border: 1px solid transparent; }
.primary { background: var(--blue); color: white; box-shadow: 0 6px 14px #204fd922; }
.primary:hover { background: #163cb0; }
.secondary { background: #fff; border-color: #cfdcf1; color: var(--ink); }
.secondary:hover { border-color: var(--blue); color: var(--blue); }
.hero { padding: 54px 0 31px; background: radial-gradient(ellipse at 76% 28%, #dce9ff, transparent 48%), radial-gradient(ellipse at 12% 40%, #dff5fb, transparent 40%), linear-gradient(#f6faff, #eaf1ff 74%, #fff); }
.hero-inner { text-align: center; }
.kicker { font-size: 12px; font-weight: 800; letter-spacing: .13em; color: var(--blue); }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #d2dff6; padding: 5px 12px; border-radius: 99px; background: #ffffffb3; }
.hero-kicker span, .sync-info span, .demo-badge i { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: #3778f4; }
h1 { margin-top: 14px; font-size: clamp(34px, 5.6vw, 67px); line-height: 1.16; letter-spacing: -.055em; }
h1 em { font-style: normal; color: var(--blue); }
.mobile-break { display: none; }
.hero-copy { margin: 16px auto 0; color: var(--muted); max-width: 620px; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 22px 0 30px; }
.app { border: 1px solid #cddbf1; border-radius: 16px; overflow: hidden; background: white; box-shadow: 0 20px 45px #254b8d20; text-align: left; font-size: 13px; }
.app-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 10px 18px; border-bottom: 1px solid var(--line); }
.app-brand { display: flex; align-items: center; gap: 7px; font-weight: 800; }
.app-crumb { color: var(--muted); }
.app-crumb span { margin: 0 5px; }
.demo-badge { background: #eaf2ff; color: #2047a6; padding: 2px 9px; border-radius: 5px; font-size: 11px; white-space: nowrap; }
.demo-badge i { width: 5px; height: 5px; vertical-align: 2px; }
.app-body { display: grid; grid-template-columns: 166px minmax(0, 1fr); }
.app-sidebar { display: flex; flex-direction: column; background: #fcfdff; border-right: 1px solid var(--line); padding: 17px 10px 12px; }
.side-caption { font-size: 11px; color: var(--muted); padding: 0 8px; margin-bottom: 8px; }
.app-sidebar nav { display: grid; gap: 4px; }
.app-sidebar button { text-align: left; border: 0; border-radius: 7px; padding: 7px 9px; background: transparent; color: var(--muted); white-space: nowrap; }
.app-sidebar button span { display: inline-block; width: 24px; font-weight: bold; }
.app-sidebar button:hover, .app-sidebar button[aria-pressed="true"] { background: #eaf1ff; color: #1846c4; }
.app-sidebar button[aria-pressed="true"] { font-weight: 750; }
.side-store { display: flex; align-items: center; gap: 7px; margin-top: auto; padding: 18px 3px 0; font-size: 11px; line-height: 1.5; }
.side-store > span { background: #dff3ee; color: #0a6755; padding: 6px; border-radius: 6px; font-weight: 800; }
.side-store small { display: block; color: var(--muted); font-size: 10px; font-weight: 500; }
.app-content { min-height: 410px; padding: 17px 20px; background: #f5f8fd; }
.app-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 13px; }
.app-context { color: var(--muted); font-size: 11px; }
.app-context span { margin: 0 3px; }
.app-heading h2 { font-size: 23px; line-height: 1.35; }
.sync-info { color: var(--muted); font-size: 11px; text-align: right; line-height: 1.6; }
.sync-info span { background: #16886c; width: 6px; height: 6px; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.metric, .panel, .list-panel { background: white; border: 1px solid var(--line); border-radius: 9px; }
.metric { padding: 10px 12px; }
.metric span, .metric small { display: block; color: var(--muted); font-size: 11px; }
.metric strong { font-size: 24px; letter-spacing: -.03em; line-height: 1.4; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 10px; }
.panel { padding: 12px; }
.panel-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 7px; margin-bottom: 9px; }
.panel-heading h3 { font-size: 14px; }
.panel-heading small { color: var(--muted); white-space: nowrap; }
.chart { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin: 0; padding: 0; list-style: none; }
.chart li { display: grid; grid-template-rows: 110px auto; gap: 5px; text-align: center; color: var(--muted); font-size: 10px; }
.chart-track { display: flex; flex-direction: column; align-items: center; justify-content: end; background: repeating-linear-gradient(to top, #e9eef7 0 1px, transparent 1px 27px); }
.chart-track b { color: var(--blue); }
.chart-bar { width: min(32px, 65%); height: var(--bar-height); background: linear-gradient(#5b8bfa, #2454dd); border-radius: 4px 4px 0 0; }
.task-list { padding: 0; margin: 0; list-style: none; }
.task-list button { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 8px; padding: 9px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; font-size: 12px; }
.task-list li:last-child button { border-bottom: 0; }
.task-list button:hover { color: var(--blue); }
.task-list small { display: block; color: var(--muted); }
.tag { display: inline-block; padding: 1px 7px; border-radius: 5px; font-size: 11px; white-space: nowrap; color: #244a9c; background: #ebf1ff; }
.tag.warn { color: #874400; background: #fff1db; }
.tag.ok { color: #08634e; background: #def5ec; }
.table-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding: 10px 12px; }
.table-tools input, .table-tools select { max-width: 100%; padding: 6px 9px; border: 1px solid #c9d6ea; border-radius: 6px; background: white; color: var(--ink); }
.table-tools p { margin-left: auto; color: var(--muted); }
.table-scroll { overflow-x: auto; }
table { width: 100%; min-width: 580px; border-collapse: collapse; white-space: nowrap; }
th, td { text-align: left; padding: 9px 12px; border-top: 1px solid var(--line); }
thead { background: #f6f9fe; color: var(--muted); }
tbody th { font-weight: 600; }
tbody tr:hover { background: #f8fbff; }
.record-link { padding: 0; background: transparent; border: 0; color: var(--blue); text-align: left; text-decoration: underline; text-underline-offset: 2px; }
.empty { text-align: center; padding: 24px; color: var(--muted); }
.demo-caption { margin-top: 13px; text-align: center; font-size: 13px; color: var(--muted); }
.section { padding-block: 64px; }
.section-heading { margin-bottom: 25px; }
.section-heading h2 { font-size: clamp(27px, 4vw, 41px); line-height: 1.2; margin: 8px 0 12px; letter-spacing: -.04em; }
.section-heading p:not(.kicker), .module p, .scope-note, .steps p, .info-card p:not(.kicker), .policy-grid p { color: var(--muted); }
.module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.module, .info-card { border: 1px solid var(--line); border-radius: 13px; padding: 20px; background: #fff; }
.module-icon { display: grid; place-items: center; width: 38px; height: 38px; background: #eaf1ff; color: var(--blue); border-radius: 8px; font-size: 21px; }
.module h3 { margin: 12px 0 5px; }
.module p, .module a, .scope-note { font-size: 14px; }
.module a { display: inline-block; margin-top: 12px; font-weight: 700; }
.scope-note { margin-top: 14px; }
.scenario { background: var(--soft); border-block: 1px solid var(--line); }
.workflow, .info-grid, .policy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.workflow .section-heading { margin: 0; }
.workflow .button { margin-top: 15px; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.steps li { display: flex; gap: 13px; padding: 13px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.steps li > span { color: var(--blue); font-weight: 800; }
.steps h3 { font-size: 16px; }
.steps p { font-size: 14px; }
.info-grid { padding-bottom: 24px; }
.info-card h2, .policy-grid h2 { margin-bottom: 7px; }
.info-card details { margin-bottom: 8px; }
.info-card summary { cursor: pointer; font-weight: 650; }
.policy-grid { padding-bottom: 54px; }
.policy-grid section { border-top: 1px solid var(--line); padding-top: 14px; }
.policy-grid h2 { font-size: 17px; }
.site-footer { background: var(--soft); border-top: 1px solid var(--line); padding-block: 24px; }
dialog { width: min(530px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 21px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); box-shadow: 0 18px 70px #14234455; }
dialog::backdrop { background: #10224599; }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.close { padding: 0 9px; background: var(--soft); border: 1px solid var(--line); border-radius: 6px; font-size: 22px; line-height: 1.3; color: var(--ink); }
.record-fields { margin: 0; }
.record-fields div { display: grid; grid-template-columns: 94px 1fr; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); }
.record-fields dt { color: var(--muted); }
.record-fields dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 860px) {
  .wrap { width: calc(100% - 36px); }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .app-body { grid-template-columns: 135px minmax(0, 1fr); }
  .app-content { padding: 12px; }
}
@media (max-width: 650px) {
  [id] { scroll-margin-top: 104px; }
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: 7px; padding-block: 8px; }
  .site-header nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: 6px; }
  .brand { font-size: 18px; }
  .header-cta { padding: 6px 8px; font-size: 12px; }
  .hero { padding-top: 32px; }
  .mobile-break { display: initial; }
  .app-crumb, .side-caption, .side-store { display: none; }
  .app-top { grid-template-columns: 1fr auto; padding-inline: 10px; }
  .app-body { display: block; }
  .app-sidebar { border-right: 0; border-bottom: 1px solid var(--line); padding: 5px; }
  .app-sidebar nav { display: flex; flex-wrap: wrap; gap: 2px; }
  .app-sidebar button { font-size: 11px; padding: 5px; }
  .app-sidebar button span { display: none; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid, .workflow, .info-grid, .policy-grid { grid-template-columns: 1fr; }
  .section { padding-block: 35px; }
  .module { padding: 12px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .site-footer nav { flex-wrap: wrap; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Public service documents share the homepage identity and work without scripts. */
.skip-link { position: absolute; left: 16px; top: -100px; padding: 8px 14px; background: white; z-index: 5; }
.skip-link:focus { top: 8px; }
.site-header nav a[aria-current="page"] { color: var(--blue); font-weight: 750; }
.document-page { padding-block: 46px 64px; }
.document-heading { max-width: 780px; }
.document-heading h1 { font-size: clamp(32px, 4vw, 46px); margin: 8px 0 12px; }
.document-heading > p:last-child { color: var(--muted); }
.draft-notice { background: #fff6e6; border: 1px solid #edd5aa; border-radius: 10px; padding: 14px 18px; margin: 24px 0 30px; color: #694010; }
.draft-notice p { font-size: 14px; margin-top: 4px; }
.document-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 38px; align-items: start; }
.document-toc { display: grid; gap: 8px; position: sticky; top: 94px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
.document-toc a { color: var(--muted); font-size: 14px; text-decoration: none; }
.document-toc a:hover { color: var(--blue); text-decoration: underline; }
.document-body { min-width: 0; overflow-wrap: anywhere; }
.document-body section + section { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 24px; }
.document-body h2 { font-size: 22px; line-height: 1.4; margin-bottom: 12px; }
.document-body p + p, .document-body p + ul, .document-body p + ol { margin-top: 12px; }
.document-body ul, .document-body ol { padding-left: 23px; }
.document-body li + li { margin-top: 7px; }
.document-body details { padding: 12px 0; border-bottom: 1px solid var(--line); }
.document-body summary { cursor: pointer; font-weight: 650; }
.document-body details p { margin-top: 10px; }
.pending { padding: 1px 4px; background: #fff0d4; color: #784300; border-radius: 4px; font-size: .9em; }
.document-table { overflow-x: auto; margin-top: 14px; border: 1px solid var(--line); border-radius: 8px; }
.document-table table { min-width: 580px; white-space: normal; table-layout: fixed; font-size: 14px; }
.document-table th, .document-table td { vertical-align: top; padding: 12px; }
.document-table th:first-child { width: 23%; }
.contact-list { margin: 16px 0; }
.contact-list div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-weight: 650; }
.contact-list dd { margin: 0; }
@media (max-width: 860px) {
  .document-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .document-toc { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .document-toc strong { grid-column: 1 / -1; }
}
@media (max-width: 650px) {
  .document-page { padding-block: 28px 40px; }
  .document-toc { grid-template-columns: 1fr; }
  .contact-list div { grid-template-columns: 1fr; gap: 5px; }
}

.footer-company { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.pricing-contact { margin-top: 14px; }
.footer-inner { flex-wrap: wrap; }
@media (max-width: 650px) {
  .footer-company { width: 100%; }
}
