.wrap { width: min(100% - 64px, 1160px); }
.guide-layout { display: grid; grid-template-columns: 208px minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.contents { position: sticky; top: 32px; padding-top: 56px; max-height: calc(100vh - 32px); overflow-y: auto; }
.contents nav { display: flex; flex-direction: column; gap: 0; font-size: 13px; line-height: 1.4; }
.contents .eyebrow { margin-bottom: 18px; }
.contents a { padding: 9px 0; text-decoration: none; color: #626262; }
.contents a:hover { color: #262626; text-decoration: underline; }
.contents-details { border: 0; padding: 0; }
.contents-details > summary { display: none; }
main { min-width: 0; max-width: 780px; }
main:focus { outline: none; }
h1 { font-size: clamp(34px, 4vw, 48px); }
.lead { font-size: 19px; margin-bottom: 20px; }
.guide-intro { padding-bottom: 16px; }
section { border-top: 1px solid #e5e5e5; padding: 32px 0 24px; }
h2 { margin: 0 0 16px; font-size: 27px; }
h3 { margin: 28px 0 12px; font-size: 18px; font-weight: 550; line-height: 1.4; }
h2, h3, #content { scroll-margin-top: 28px; }
p, li, dd, td, th { overflow-wrap: anywhere; }
ol { padding-left: 24px; margin: 0 0 20px; }
li { padding-left: 3px; }
strong { font-weight: 600; }
.muted { color: #626262; font-size: 13px; font-weight: 400; }
.note { background: #efefeb; padding: 16px 18px; color: #505049; font-size: 14px; }
code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .86em; background: #efefeb; padding: 2px 4px; border-radius: 3px; }
.code-block { margin: 20px 0; border: 1px solid #deded8; border-radius: 8px; background: #f3f3f0; overflow: hidden; }
.code-tools { padding: 5px 10px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #deded8; color: #626262; font-size: 12px; }
.code-tools button { font: inherit; color: #444; background: transparent; border: 1px solid transparent; border-radius: 4px; min-height: 32px; padding: 4px 10px; cursor: pointer; }
.code-tools button:hover { border-color: #b7b7b0; background: #fafafa; }
pre { margin: 0; padding: 18px 20px; overflow-x: auto; font-size: 14px; line-height: 1.7; tab-size: 2; }
pre code { font-size: inherit; background: transparent; border-radius: 0; padding: 0; }
button:focus-visible, pre:focus-visible, summary:focus-visible, .table-scroll:focus-visible { outline: 2px solid #3651e6; outline-offset: -3px; }
.table-scroll { margin: 20px 0; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.55; }
th, td { text-align: left; vertical-align: top; padding: 14px 12px; border-bottom: 1px solid #e5e5e5; }
th { font-weight: 550; }
thead th { padding-top: 0; font-size: 12px; color: #626262; }
tbody th { width: 34%; }
th:first-child, td:first-child { padding-left: 0; }
th:last-child, td:last-child { padding-right: 0; }
blockquote { margin: 20px 0; padding: 18px 0; border-block: 1px solid #deded8; color: #505049; font-size: 18px; }
details { border-bottom: 1px solid #e5e5e5; padding: 0 0 4px; }
summary { padding: 16px 0; cursor: pointer; font-weight: 500; line-height: 1.5; }
details p { margin: 0 0 16px; }
.tool-list dt { margin-top: 18px; font-weight: 550; }
.tool-list dd { margin: 5px 0 20px; line-height: 2; }
.reference-links { margin-top: 24px; }
.guide-end { display: flex; gap: 20px; justify-content: space-between; flex-wrap: wrap; padding-top: 20px; font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 900px) {
  .guide-layout { grid-template-columns: 170px minmax(0, 1fr); gap: 32px; }
  .wrap { width: calc(100% - 40px); }
}
@media (max-width: 720px) {
  header { flex-wrap: wrap; padding-block: 22px; gap: 12px; }
  header nav { gap: 12px 18px; }
  .guide-layout { display: block; }
  .contents { position: static; max-height: none; padding: 24px 0; border-bottom: 1px solid #e5e5e5; }
  .contents-details > summary { display: list-item; padding: 0; font-size: 14px; }
  .contents-details[open] > summary { margin-bottom: 16px; }
  .contents nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .contents .eyebrow { display: none; }
  .contents a { padding-block: 8px; }
  main { padding-top: 32px; }
  h1 { font-size: 36px; }
  h2 { font-size: 25px; }
  section { padding-top: 28px; }
  pre { padding: 16px; font-size: 12px; }
  .code-tools button { min-height: 36px; }
  table { min-width: 480px; }
  th, td { padding-block: 12px; }
}
@media print {
  .contents, .code-tools, .skip-link, .guide-end { display: none; }
  .wrap { width: 100%; }
  .guide-layout { display: block; }
  main { max-width: none; }
  .table-scroll, pre { overflow: visible; }
  pre { white-space: pre-wrap; overflow-wrap: anywhere; }
  table { min-width: 0; }
  a { color: inherit; }
}
