:root {
  color-scheme: dark;
  --ink: #f3efe3;
  --muted: #c6bba7;
  --matcha: #c5d07f;
  --line: #433629;
  background: #0b0704;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--matcha); text-underline-offset: 4px; }
a:focus-visible { outline: 2px solid var(--matcha); outline-offset: 5px; }
.site-header, main, footer { width: min(calc(100% - 48px), 1120px); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; letter-spacing: .05em; text-decoration: none; }
.brand img { border-radius: 50%; background: var(--ink); }
.intro { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(28px, 6vw, 90px); padding-block: clamp(48px, 8vw, 110px); }
.eyebrow { margin: 0; color: var(--matcha); font-size: .9rem; }
h1 { margin: 14px 0 18px; font-size: clamp(3rem, 7vw, 6rem); line-height: .99; letter-spacing: -.04em; }
h1 span { color: var(--matcha); }
h2 { margin: 0 0 24px; font-size: clamp(1.65rem, 4vw, 2.5rem); }
h3 { margin: 0 0 6px; font-size: 1.05rem; }
p, dd { color: var(--muted); line-height: 1.75; }
.intro p { max-width: 32em; }
.action { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; margin-top: 6px; background: var(--matcha); color: #22260c; border-radius: 999px; font-weight: 700; text-decoration: none; }
figure { margin: 0; text-align: center; }
figure img { display: block; width: 100%; height: auto; background: radial-gradient(ellipse, #292516, transparent 68%); }
figcaption { color: var(--muted); font-size: .85rem; }
.section { border-top: 1px solid var(--line); padding-block: 42px; }
table { width: 100%; border-collapse: collapse; line-height: 1.55; }
th, td { padding: 12px 10px 12px 0; text-align: left; border-bottom: 1px solid var(--line); }
thead, code { color: var(--matcha); }
tbody th { font-weight: 600; }
code { display: inline-block; font-size: .85em; }
.levels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; margin: 28px 0 0; }
dt { font-weight: 700; }
dd { margin: 6px 0 0; }
.steps { scroll-margin-top: 24px; }
.steps ol { max-width: 780px; padding-left: 1.45em; }
.steps li { padding: 10px 0 12px 8px; }
.steps li::marker { color: var(--matcha); font-weight: 700; }
.steps li p, .draft { margin: 0; }
.draft { margin-top: 20px; font-size: .88rem; }
.report-check { max-width: 780px; margin-top: 32px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; }
.report-check label { display: block; margin: 14px 0 8px; font-weight: 600; }
.report-check input { width: 100%; min-height: 44px; font: inherit; color: var(--ink); }
.report-check input::file-selector-button { min-height: 44px; margin-right: 10px; padding-inline: 14px; border-radius: 8px; border: 1px solid var(--line); color: var(--ink); background: #272017; font: inherit; cursor: pointer; }
.report-check input:focus-visible { outline: 2px solid var(--matcha); outline-offset: 4px; }
#report-status { color: var(--matcha); }
#report-status:empty { margin: 0; }
#report-status.error { color: #f0a49b; }
.report-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; }
.report-summary[hidden] { display: none; }
.report-summary dd { overflow-wrap: anywhere; }
.report-summary div:last-child { grid-column: 1 / -1; }
footer { border-top: 1px solid var(--line); padding-block: 24px 42px; }
@media (max-width: 680px) {
  .site-header, main, footer { width: calc(100% - 36px); }
  .intro, .levels { grid-template-columns: 1fr; }
  .intro { gap: 16px; }
  figure { width: min(100%, 290px); margin-inline: auto; }
  .report-check { padding: 16px; }
  th, td { padding-right: 8px; font-size: .83rem; }
}
