:root {
  --blue: #315cdb;
  --blue-dark: #244bbb;
  --ink: #202b3e;
  --muted: #5b6577;
  --line: #e6e9ef;
  --canvas: #f7f8fb;
  --soft: #edf2ff;
  --green: #397260;
  --amber: #9a692f;
  --red: #ab5145;
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
}
a {
  color: var(--blue);
  text-underline-offset: 4px;
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button,
a,
input,
textarea {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 28px;
  line-height: 1.5;
  font-weight: 650;
  letter-spacing: -0.5px;
}
h2 {
  font-size: 20px;
  line-height: 1.6;
  font-weight: 650;
}
h3 {
  font-size: 16px;
  font-weight: 600;
}
p + p {
  margin-top: 14px;
}
ul,
ol {
  padding-left: 24px;
}
li + li {
  margin-top: 8px;
}
svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.skip {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 10;
  background: white;
  padding: 9px 14px;
}
.skip:focus {
  top: 8px;
}
.site-header {
  height: 76px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1120px;
  margin: auto;
  padding: 0 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}
.brand img {
  height: 32px;
  width: 32px;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-header nav a {
  font-size: 13px;
  text-decoration: none;
  color: var(--muted);
}
.site-header nav a:hover,
.site-header nav a[aria-current] {
  color: var(--blue);
}
.site-header nav .return-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
}
.badge {
  border: 1px solid #dbe4fa;
  background: var(--soft);
  color: var(--blue);
  border-radius: 4px;
  padding: 1px 7px;
  white-space: nowrap;
}
.wrap {
  max-width: 1024px;
  margin: 0 auto;
  padding: 44px 24px 72px;
}
.hero {
  max-width: 740px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--blue);
  margin-bottom: 13px;
}
.hero .lede {
  font-size: 16px;
  color: var(--muted);
  margin-top: 16px;
  max-width: 680px;
}
.meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
  margin-top: 22px;
}
.meta span + span {
  border-left: 1px solid var(--line);
  padding-left: 14px;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 700px) 206px;
  gap: 56px;
  margin-top: 34px;
}
.article-body > section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.article-body > section > h2 {
  margin-bottom: 17px;
}
.article-body p,
.article-body li {
  color: #3a4c68;
}
.article-body strong {
  font-weight: 600;
  color: var(--ink);
}
.toc {
  position: sticky;
  top: 30px;
  align-self: start;
  padding: 17px 0 17px 18px;
  border-left: 1px solid var(--line);
  font-size: 13px;
}
.toc h2 {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 13px;
  font-weight: 500;
}
.toc a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  padding: 5px 0;
}
.toc a:hover {
  color: var(--blue);
}
.toc .small-note {
  font-size: 12px;
  line-height: 1.7;
  margin-top: 22px;
  color: var(--muted);
}
.callout {
  background: var(--canvas);
  padding: 18px 20px;
  border-radius: 8px;
  margin: 20px 0;
  font-size: 14px;
  border-left: 3px solid #b7c7f1;
}
.callout strong {
  display: block;
  margin-bottom: 5px;
}
.callout p {
  font-size: 14px;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 20px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 15px;
  border: 1px solid #d4dce9;
  border-radius: 6px;
  color: var(--ink);
  background: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}
.btn:hover {
  background: var(--canvas);
}
.btn.primary {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.btn.primary:hover {
  background: var(--blue-dark);
}
.status {
  font-size: 12px;
  color: var(--green);
  min-height: 22px;
  margin-top: 10px !important;
}
.label-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.inline-link {
  font-size: 13px;
}
.article-footer {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-top: 10px;
}
.article-footer p {
  font-size: 14px;
  color: var(--muted);
}
.related {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}
.related a {
  display: block;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px 16px;
  font-size: 14px;
  line-height: 1.6;
}
.related a:hover {
  border-color: #b7c7f1;
  background: #fafbff;
}
.related a span {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-bottom: 5px;
}
.site-footer {
  max-width: 1072px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}
.site-footer a {
  color: var(--muted);
}
.directory-list {
  margin-top: 43px;
  max-width: 920px;
  border-top: 1px solid var(--line);
}
.directory-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}
.directory-item:hover h2 {
  color: var(--blue);
}
.directory-index {
  font-size: 13px;
  color: var(--blue);
  padding-top: 4px;
}
.directory-item h2 {
  font-size: 20px;
}
.directory-item p {
  color: var(--muted);
  font-size: 14px;
  max-width: 650px;
  margin-top: 9px;
}
.directory-item .type {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.directory-arrow {
  align-self: center;
  color: var(--blue);
  font-size: 24px;
}
.route-strip {
  margin-top: 35px;
  padding: 22px 25px;
  background: var(--canvas);
  border-radius: 8px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.route-strip b {
  font-weight: 500;
  color: var(--ink);
}
.example {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 20px 0;
  overflow: hidden;
}
.example-head {
  padding: 13px 18px;
  background: var(--canvas);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.example-body {
  padding: 18px;
}
.task-line {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 14px;
}
.square {
  width: 17px;
  height: 17px;
  border: 1px solid #a7b2c2;
  display: inline-block;
  flex-shrink: 0;
  border-radius: 4px;
  margin-top: 4px;
}
.task-line strong {
  font-weight: 500;
}
.dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 19px;
}
.date-field {
  font-size: 12px;
  color: var(--muted);
  display: grid;
  gap: 6px;
}
.date-field input {
  width: 100%;
  padding: 8px 10px;
  height: 40px;
  background: white;
  border: 1px solid #ccd5e4;
  border-radius: 6px;
  color: var(--ink);
  font-size: 14px;
}
.deadline-field {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  color: var(--ink);
  height: 40px;
  display: flex;
  align-items: center;
}
.example .result {
  padding: 10px 13px;
  margin-top: 15px;
  background: var(--soft);
  font-size: 13px;
  color: var(--blue);
  border-radius: 6px;
  line-height: 1.7;
}
.example .result.conflict {
  background: #faf3e9;
  color: #865d29;
}
.example small {
  font-size: 12px;
  color: var(--muted);
}
.schedule {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 14px;
}
.schedule th,
.schedule td {
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  padding: 12px 11px;
}
.schedule th {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  background: var(--canvas);
}
.schedule th:first-child,
.schedule td:first-child {
  white-space: nowrap;
}
.schedule td small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}
.copy-text {
  width: 100%;
  min-height: 220px;
  resize: vertical;
  background: #fafbfd;
  border: 1px solid #d9e0eb;
  border-radius: 8px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.9;
  padding: 16px 18px;
  margin-top: 12px;
}
.copy-label {
  font-size: 13px;
  color: var(--muted);
  display: block;
  margin-top: 20px;
}
.demo-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 19px;
}
.demo-tabs button {
  font: inherit;
  font-size: 13px;
  min-height: 36px;
  border: 1px solid var(--line);
  background: white;
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 6px;
}
.demo-tabs button[aria-pressed='true'] {
  color: var(--blue);
  border-color: #d1ddf9;
  background: var(--soft);
}
.review-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 17px;
}
.review-facts div {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 13px;
  font-size: 12px;
  color: var(--muted);
}
.review-facts b {
  display: block;
  font-size: 24px;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 500;
}
.review-panel[hidden] {
  display: none;
}
.review-panel ul {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
}
.review-panel .copy-text {
  margin-top: 0;
  min-height: 192px;
}
.small-heading {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}
.understated {
  background: #f9fafc;
  border-top: 1px solid var(--line);
  padding: 19px 22px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
@media (max-width: 800px) {
  .site-header {
    padding: 0 20px;
    height: 68px;
  }
  .site-header nav {
    gap: 16px;
  }
  .site-header nav .optional-link {
    display: none;
  }
  .wrap {
    padding: 32px 20px 50px;
  }
  .article-layout {
    display: block;
    margin-top: 28px;
  }
  .toc {
    display: none;
  }
  .hero h1 {
    font-size: 28px;
  }
  .related {
    gap: 9px;
  }
  .site-footer {
    padding: 23px 20px;
  }
  .directory-item {
    grid-template-columns: 28px minmax(0, 1fr) 20px;
    gap: 13px;
  }
  .directory-item h2 {
    font-size: 18px;
  }
  .directory-item p {
    font-size: 14px;
  }
  .directory-list {
    margin-top: 28px;
  }
  .route-strip {
    padding: 18px;
    gap: 10px;
  }
  .btn,
  .demo-tabs button {
    min-height: 44px;
  }
  .dates {
    gap: 12px;
  }
  .date-field input,
  .deadline-field {
    min-height: 44px;
    height: 44px;
    font-size: 16px;
  }
  .copy-text {
    font-size: 16px;
  }
  .schedule {
    font-size: 13px;
  }
  .schedule th,
  .schedule td {
    padding: 10px 7px;
  }
  .review-facts {
    gap: 8px;
  }
  .review-facts div {
    padding: 9px;
  }
  .review-facts b {
    font-size: 20px;
  }
  .article-body > section {
    padding: 25px 0;
  }
  .site-footer {
    flex-direction: column;
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
