:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Malgun Gothic", sans-serif; color: #272d33; background: #fff; font-size: 15px; }
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.85; }
a { color: #17669a; text-decoration: none; }
a:hover { text-decoration: underline; }
button, input { font: inherit; }
button { cursor: pointer; border: 1px solid #cbd1d6; background: #fff; border-radius: 3px; color: #37414a; padding: 5px 12px; }
button:hover { background: #edf2f5; }
button:disabled { cursor: wait; opacity: .6; }
:focus-visible { outline: 2px solid #2773a4; outline-offset: 3px; }
[hidden] { display: none !important; }
.skip-link { position: absolute; top: -60px; left: 16px; z-index: 10; background: white; padding: 6px; }
.skip-link:focus { top: 8px; }
.topbar { min-height: 58px; background: #2d353d; color: #e8edf0; display: flex; align-items: center; gap: 22px; padding: 0 30px; border-bottom: 1px solid #20272d; }
.topbar a { color: #e8edf0; }
.brand { font-size: 19px; font-weight: 650; white-space: nowrap; letter-spacing: -.6px; }
.book-label { color: #bfc8ce; font-size: 12px; }
.topbar nav { margin-left: auto; display: flex; gap: 23px; font-size: 13px; }
.layout { display: grid; grid-template-columns: 272px minmax(0, 1fr); min-height: calc(100vh - 58px); }
.sidebar { background: #f7f8f9; border-right: 1px solid #e1e5e8; padding: 25px 20px 30px; }
.toc { position: sticky; top: 22px; max-height: calc(100vh - 44px); overflow-y: auto; scrollbar-width: thin; }
.toc > summary { font-weight: 600; font-size: 16px; list-style: none; padding: 0 3px 13px; cursor: pointer; }
.toc > summary::-webkit-details-marker { display: none; }
.search-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
#toc-search { width: 100%; border: 1px solid #d6dce0; border-radius: 3px; background: #fff; height: 35px; padding: 5px 10px; font-size: 13px; margin: 0 0 10px; }
.toc-group { padding: 8px 0 12px; }
.toc-group h2 { font-size: 13px; margin: 0 0 7px; color: #363f47; font-weight: 650; }
.toc-link { display: block; font-size: 13px; padding: 5px 9px; color: #52616e; margin: 2px -8px 2px 0; line-height: 1.55; border-left: 2px solid transparent; }
.toc-link.active { background: #e8eef2; color: #175d88; border-color: #28759e; font-weight: 600; }
.toc-number { color: #84929b; font-variant-numeric: tabular-nums; font-size: 11px; }
.sidebar-footer { border-top: 1px solid #e0e5e8; padding-top: 16px; font-size: 12px; display: flex; gap: 18px; }
main { min-width: 0; padding: 34px 52px 20px; }
article { max-width: 820px; margin: 0 auto; }
.article-meta { display: flex; justify-content: space-between; gap: 18px; color: #81909b; font-size: 12px; padding-bottom: 17px; border-bottom: 1px solid #e7eaec; }
h1 { font-size: 30px; font-weight: 600; letter-spacing: -1px; line-height: 1.4; margin: 28px 0 24px; }
h2 { font-size: 19px; font-weight: 600; letter-spacing: -.45px; margin: 33px 0 12px; line-height: 1.5; }
p { margin: 15px 0; overflow-wrap: anywhere; }
.updated { color: #7b8892; font-size: 12px; margin-top: -12px; margin-bottom: 24px; }
.table-scroll { overflow-x: auto; margin: 23px 0; }
table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.7; }
th, td { border: 1px solid #e0e5e8; padding: 11px 14px; text-align: left; vertical-align: top; }
th { background: #f5f7f8; font-weight: 600; white-space: nowrap; }
td { overflow-wrap: anywhere; }
.code-block { border: 1px solid #e0e5e8; border-radius: 3px; margin: 20px 0; background: #f6f8fa; overflow: hidden; }
.code-label { display: flex; justify-content: space-between; align-items: center; padding: 5px 13px; border-bottom: 1px solid #e4e9ec; color: #778690; font-size: 11px; }
.copy-button { padding: 0 8px; font-size: 11px; border-color: #dde3e6; }
pre { font-family: Consolas, "SFMono-Regular", monospace; font-size: 12px; line-height: 1.8; padding: 15px 18px; margin: 0; overflow-x: auto; color: #324555; tab-size: 2; }
.context-preview { border-top: 1px solid #e2e7ea; margin-top: 32px; }
.knowledge-filter { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 18px; margin: 24px 0; background: #f7f8f9; border: 1px solid #e0e5e8; }
.knowledge-filter label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; min-width: 0; }
.knowledge-filter input, .knowledge-filter select { width: 100%; min-width: 0; padding: 9px; border: 1px solid #c9d2d9; background: white; color: #253746; font: inherit; font-size: 16px; border-radius: 3px; }
.knowledge-query { grid-column: 1 / -1; }
.knowledge-filter-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; font-size: 14px; }
.knowledge-filter-actions button { padding: 8px 20px; }
@media (max-width: 650px) { .knowledge-filter { grid-template-columns: 1fr; padding: 14px; } }
#context-status { color: #647581; font-size: 12px; }
#context-output { background: #f6f8fa; border: 1px solid #e0e5e8; max-height: 460px; }
.page-navigation { border-top: 1px solid #e1e6e9; margin-top: 46px; padding-top: 18px; display: flex; justify-content: space-between; font-size: 13px; gap: 20px; }
.page-footer { max-width: 820px; margin: 38px auto 0; color: #8a959c; font-size: 11px; padding-top: 16px; }
@media (min-width: 1550px) { main { padding-right: 12vw; } }
@media (max-width: 950px) { main { padding: 28px; } .layout { grid-template-columns: 230px minmax(0, 1fr); } .sidebar { padding: 24px 16px; } .book-label { display: none; } }
@media (max-width: 650px) {
  .topbar { padding: 10px 17px; gap: 12px; min-height: 54px; }
  .brand { font-size: 16px; } .topbar nav { gap: 13px; font-size: 11px; } .topbar nav a:first-child { display: none; }
  .layout { display: block; } .sidebar { padding: 12px 18px; border-right: 0; border-bottom: 1px solid #e1e5e8; }
  .toc { position: static; max-height: none; overflow: visible; } .toc > summary { padding: 0; font-size: 13px; }
  .toc > summary::after { content: " ▾"; color: #8997a1; } .toc[open] > summary { margin-bottom: 12px; }
  main { padding: 24px 20px; } h1 { font-size: 25px; margin-top: 23px; } h2 { font-size: 18px; }
  .article-meta { font-size: 11px; gap: 10px; } body { font-size: 14px; } td, th { padding: 9px 10px; }
  .page-navigation { font-size: 12px; } .page-footer { font-size: 10px; }
}
.direction-form{border:1px solid #d5ddd5;padding:18px;margin:18px 0}.direction-form label{display:block;margin:12px 0}.direction-form input[type=range]{display:block;width:90%;max-width:480px}.direction-form input[name=task]{display:block;width:100%;padding:8px}.direction-form button{padding:8px 14px;cursor:pointer}.direction-form output{font-variant-numeric:tabular-nums}.direction-form pre{max-height:440px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.versions-link{margin-left:16px}.direction-url{display:block;overflow-wrap:anywhere}
.direction-form textarea{display:block;width:100%;min-height:100px;font:inherit;padding:8px}.direction-form select,.direction-form input[type=url]{display:block;max-width:100%;width:100%;padding:8px}#saved-preferences section,#my-feedback section{border-bottom:1px solid #d5ddd5;padding:12px 0}
#saved-preferences .saved-context{max-height:420px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}
