:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #1b2c3c;
  background: #f4f6f7;
  line-height: 1.6;
  font-synthesis: none;
  --line: #d4dee5;
  --muted: #506575;
  --blue: #1f5272;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 20px; }
body { margin: 0; font-size: 14px; }
a { color: #225d7d; text-underline-offset: 3px; }
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #137ba1; outline-offset: 3px; }
.skip { position: absolute; top: -80px; left: 14px; padding: 12px; background: white; z-index: 5; }
.skip:focus { top: 10px; }
header { background: #132335; color: #fff; }
.header-inner { max-width: 1240px; margin: auto; padding: 0 32px; min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-size: 23px; font-weight: bold; color: #fff; text-decoration: none; letter-spacing: -.04em; }
.brand span { margin-left: 20px; padding-left: 20px; border-left: 1px solid #5b7081; font-size: 12px; font-weight: normal; letter-spacing: 0; color: #c7d7e3; }
nav { display: flex; gap: 24px; font-size: 12px; }
nav a { color: #e0e9ef; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.preview { padding: 9px 24px; text-align: center; font-size: 11px; background: #e5edf2; border-bottom: 1px solid #cbd9e3; color: #486275; }
.layout { max-width: 1240px; margin: auto; padding: 36px 32px 70px; display: grid; grid-template-columns: 205px minmax(0, 1fr); gap: 42px; }
aside { position: sticky; top: 24px; align-self: start; font-size: 12px; }
aside p { font-weight: bold; margin-top: 0; }
aside a { display: block; text-decoration: none; padding: 7px 0; color: #526a7c; }
aside a:hover { color: #163e57; text-decoration: underline; }
main { min-width: 0; max-width: 880px; }
.breadcrumb { color: #647b8b; font-size: 11px; margin-bottom: 14px; }
.breadcrumb a { color: #506575; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
h1 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -.04em; line-height: 1.15; margin: 0 0 18px; }
h2 { font-size: 23px; letter-spacing: -.025em; line-height: 1.3; margin: 0 0 14px; }
h3 { font-size: 16px; line-height: 1.4; margin: 25px 0 9px; }
p { color: var(--muted); margin: 12px 0; }
.lead { font-size: 17px; line-height: 1.7; max-width: 770px; }
.notice { border: 1px solid #bfd2de; border-left: 3px solid #497c9a; background: #edf4f8; padding: 17px 20px; margin: 25px 0; }
.notice strong { color: #254d65; }
.notice p { margin: 6px 0 0; font-size: 13px; }
.notice.neutral { background: #edf0f2; border-color: #cad5dd; }
.summary { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: white; margin: 26px 0 0; }
.summary div { padding: 17px; }
.summary div + div { border-left: 1px solid var(--line); }
dt { font-size: 11px; font-weight: bold; }
dd { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
section { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 30px; }
section.notice { padding-top: 17px; }
.config { background: white; border: 1px solid var(--line); padding: 23px; display: grid; gap: 18px; margin-top: 20px; }
.config label { display: block; color: #344e61; font-size: 12px; font-weight: bold; }
.config input,
.config select { width: 100%; padding: 11px 12px; border: 1px solid #a8bccb; background: #fff; color: #182d3d; margin: 7px 0 5px; border-radius: 0; }
.config label span { font-size: 11px; color: #607687; font-weight: normal; display: block; }
.primary { justify-self: start; background: var(--blue); color: #fff; border: 1px solid var(--blue); padding: 11px 17px; font-weight: bold; font-size: 13px; }
.primary:hover { background: #163c54; }
.small { font-size: 12px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; overflow-wrap: anywhere; color: #26485e; }
.code-block { border: 1px solid #c8d6df; margin: 19px 0; background: white; }
.code-bar { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 9px 13px; border-bottom: 1px solid #d8e2e9; background: #e9eff3; font-size: 11px; color: #426075; }
.code-bar-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.code-bar button, footer button { border: 1px solid #a9bdca; background: #fff; padding: 5px 10px; color: #244e68; font-size: 11px; min-height: 32px; }
.code-bar button:hover, footer button:hover { background: #f3f7f9; }
.code-bar button:disabled { opacity: 0.55; cursor: not-allowed; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; padding: 17px; margin: 0; font: 12px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #243e52; }
.status { font-size: 12px; color: #35644e; margin: 0; }
.status.error { color: #9a302b; }
details { border: 1px solid var(--line); padding: 13px 17px; background: white; }
summary { font-weight: bold; font-size: 13px; cursor: pointer; }
li { margin: 8px 0; color: var(--muted); }
.checks { background: white; border: 1px solid var(--line); margin: 20px 0 14px; }
.checks label { display: flex; gap: 12px; padding: 15px; color: #415d70; font-size: 13px; cursor: pointer; }
.checks label + label { border-top: 1px solid #e3eaf0; }
.checks input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; accent-color: #2f627f; }
.table-wrap { overflow: auto; border: 1px solid var(--line); background: white; }
table { width: 100%; border-collapse: collapse; min-width: 540px; }
caption { text-align: left; padding: 12px 16px; font-size: 12px; font-weight: bold; color: #344e61; background: #f6f9fb; border-bottom: 1px solid #dce5eb; }
th, td { text-align: left; padding: 14px 16px; vertical-align: top; font-size: 12px; }
th { background: #e9eff3; font-weight: bold; }
td { border-top: 1px solid #dce5eb; color: #506778; }
td:first-child { width: 31%; color: #213e53; }
.references { padding-left: 20px; }
footer { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 24px; color: #607787; font-size: 11px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
#copy-status { position: fixed; bottom: 18px; right: 18px; background: #132335; color: #fff; padding: 0; max-width: 340px; font-size: 12px; }
#copy-status:not(:empty) { padding: 11px 16px; }
@media(max-width:850px) {
  .layout { grid-template-columns: 1fr; gap: 0; padding: 26px 20px 50px; }
  aside { position: static; display: flex; flex-wrap: wrap; gap: 4px 17px; border-bottom: 1px solid var(--line); margin-bottom: 24px; padding-bottom: 14px; }
  aside p { width: 100%; margin: 0; }
  aside a { font-size: 11px; }
  .header-inner { padding: 16px 20px; flex-wrap: wrap; gap: 12px; }
  nav { flex-wrap: wrap; gap: 17px; }
  .summary { grid-template-columns: 1fr; }
  .summary div + div { border-left: 0; border-top: 1px solid var(--line); }
  .code-bar { flex-wrap: wrap; }
}
@media print {
  header, aside, .preview, .code-bar button, .primary, #print-guide, #copy-status, .skip { display: none; }
  body { background: white; }
  .layout { display: block; max-width: none; padding: 0; }
  main { max-width: none; }
  section { break-inside: auto; }
  .code-block, .notice { break-inside: avoid; }
}
