:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #5d6978;
  --line: #d9e1e8;
  --paper: #ffffff;
  --wash: #f3f6f8;
  --blue: #1769aa;
  --teal: #007f73;
  --green: #17803d;
  --amber: #a35b00;
  --red: #b03030;
  --violet: #6250a8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--wash);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #0b4e86;
}

.site-header {
  background:
    linear-gradient(115deg, rgba(23, 105, 170, 0.12), rgba(0, 127, 115, 0.09)),
    #ffffff;
  border-bottom: 1px solid var(--line);
}

.header-inner,
main,
.anchor-nav {
  width: 90vw;
  margin: 0 auto;
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.9fr);
  gap: 28px;
  padding: 42px 0 34px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: 42px;
  line-height: 1.14;
}

h2 {
  margin-bottom: 12px;
  font-size: 26px;
  line-height: 1.25;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.35;
}

.summary {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.meta-panel {
  margin: 0;
  display: grid;
  gap: 10px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.meta-panel div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 12px;
}

.meta-panel dt {
  color: var(--muted);
  font-weight: 700;
}

.meta-panel dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.anchor-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  gap: 8px;
  padding: 12px 0;
  background: rgba(243, 246, 248, 0.94);
  backdrop-filter: blur(8px);
  overflow-x: auto;
}

.anchor-nav a {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

main {
  padding: 10px 0 54px;
}

.notice-band,
.section {
  margin-top: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.notice-band {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.9fr);
  gap: 24px;
  padding: 22px;
}

.notice-band p {
  margin-bottom: 0;
  color: var(--muted);
}

.status-strip {
  display: grid;
  gap: 10px;
}

.status-strip span {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 12px;
  border-left: 4px solid var(--teal);
  background: #eef8f6;
  border-radius: 6px;
}

.status-strip strong {
  margin-right: 6px;
  font-size: 22px;
}

.section {
  padding: 24px;
  scroll-margin-top: 72px;
}

.section-heading {
  margin-bottom: 16px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  background: #ffffff;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #edf3f8;
  color: #273748;
  font-size: 14px;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.divider-row td {
  background: #f6f1e8;
  color: #714700;
  font-weight: 800;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.doc-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.done {
  color: #0f5c2d;
  background: #e9f7ee;
}

.doing {
  color: #124f83;
  background: #e8f2fb;
}

.waiting {
  color: #875000;
  background: #fff2dd;
}

.planned {
  color: #53448e;
  background: #f0edfb;
}

.later {
  color: #6d3b16;
  background: #f8eee7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 220px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.service-card p {
  color: var(--muted);
}

.service-card a,
.service-card code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

ul,
ol {
  margin: 0;
  padding-left: 22px;
}

li + li {
  margin-top: 6px;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.checklist > div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.workflow ol {
  display: grid;
  gap: 10px;
  counter-reset: steps;
  list-style: none;
  padding: 0;
}

.workflow li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 50px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.workflow li::before {
  content: counter(steps);
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 50%;
  font-weight: 800;
}

@media (max-width: 820px) {
  .header-inner,
  .notice-band,
  .service-grid,
  .checklist {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 34px;
  }

  .summary {
    font-size: 16px;
  }

  .meta-panel div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media (max-width: 520px) {
  .header-inner,
  main,
  .anchor-nav {
    width: calc(100% - 20px);
  }

  .header-inner {
    padding-top: 28px;
  }

  h1 {
    font-size: 30px;
  }

  .section,
  .notice-band {
    padding: 16px;
  }

  .anchor-nav a {
    padding: 7px 10px;
  }
}
