:root { color-scheme: light; font-family: system-ui, sans-serif; line-height: 1.55; color: #18202a; background: #faf9f5; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #064f8c; text-decoration-thickness: .08em; text-underline-offset: .15em; }
a:hover { color: #8b1734; }
.site-header, main, footer { max-width: 74rem; margin: 0 auto; padding: 1.25rem; }
.site-header { display: grid; grid-template-columns: auto 1fr minmax(15rem, 25rem); align-items: end; gap: 1.5rem; border-bottom: 1px solid #ccd2d8; }
.site-name { font-size: 1.4rem; font-weight: 750; color: #18202a; }
nav a { margin-right: 1rem; }
.site-search label { display: block; font-size: .85rem; font-weight: 650; }
.site-search span { display: flex; }
.site-search { margin-top: 0; }
.site-search > summary { cursor: pointer; font-weight: 650; }
input, button { font: inherit; padding: .55rem .7rem; border: 1px solid #8995a1; border-radius: .2rem; background: white; }
input { width: 100%; }
button { width: auto; background: #173b5f; color: white; border-color: #173b5f; cursor: pointer; }
button:disabled { background: #727a82; cursor: not-allowed; }
main { min-height: 65vh; }
footer { border-top: 1px solid #ccd2d8; color: #4a5560; font-size: .9rem; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.1; margin-bottom: .6rem; }
h2 { margin-top: 2rem; }
h3 { margin-bottom: .25rem; }
p { max-width: 75ch; }
.lead { font-size: 1.18rem; max-width: 68ch; }
.breadcrumbs { margin: .5rem 0 2rem; font-size: .9rem; color: #59636d; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1rem; list-style: none; padding: 0; }
.cards > li, aside, section { padding: 1rem; border: 1px solid #ccd2d8; background: white; }
.cards h2, .cards h3 { margin-top: 0; }
.link-list li, .method-list > li { margin: .75rem 0; }
.entity-list > li { margin: .45rem 0; }
.section-nav { margin: 1.5rem 0; padding: .8rem; border: 1px solid #ccd2d8; background: white; }
.section-nav a { display: inline-block; margin-left: .8rem; }
.related-link { margin: .2rem 0 .6rem; font-weight: 650; }
.machine-link { font-family: ui-monospace, monospace; font-size: .84rem; }
.long-text { max-width: 80ch; }
.method-list h3 { font-family: ui-monospace, monospace; }
.tool-form { max-width: 48rem; padding: 1.1rem; border: 1px solid #b8c0c8; background: white; }
.agent-get { padding: 1rem 1.2rem; border-left: .3rem solid #176b87; background: #f2f8fa; }
.agent-get pre { overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
.agent-entry-points { margin-top: 1rem; }
.agent-entry-points > li { background: #fff; }
.form-fallback { margin-top: 1.5rem; }
.form-fallback > summary { cursor: pointer; font-weight: 700; }
.code-access, .full-result { margin-top: 1rem; padding: .75rem 1rem; border: 1px solid #b8c0c8; background: #fafbfc; }
.code-access > summary, .full-result > summary { cursor: pointer; font-weight: 700; }
.compact-results .result-object { grid-template-columns: minmax(8rem, max-content) minmax(12rem, 1fr); }
.agent-tips { margin: 2rem 0 1rem; padding: .8rem 1rem; border: 1px solid #b8c0c8; background: #fafbfc; }
.agent-tips > h2 { margin-top: 0; }
.agent-guide-link { margin-top: 2rem; font-size: .9rem; color: #59636d; }
.tool-form > div { margin-bottom: 1rem; }
.tool-form label, .tool-form small, .tool-form .error { display: block; }
.tool-form small { color: #56616c; }
.error { color: #9b1635; font-weight: 650; overflow-wrap: anywhere; }
.error-banner { margin: 1rem 0 1.5rem; border: 2px solid #9b1635; border-left-width: .45rem; background: #fff3f5; }
.error-banner h2 { margin-top: 0; color: #7f102b; }
.meta, .empty, .result-count { color: #59636d; }
.result-object { display: grid; grid-template-columns: max-content max-content; margin: 0; font-size: .84rem; line-height: 1.35; max-width: 100%; overflow-x: auto; }
.result-object dt, .result-object dd { margin: 0; padding: .22rem .38rem; border-bottom: 1px solid #e2e5e8; overflow-wrap: anywhere; }
.result-object > dt, .result-object > dd { white-space: nowrap; }
.result-object dt { font-weight: 700; color: #3d4852; }
.result-object .result-object { font-size: inherit; white-space: normal; }
.result-object pre, .result-object p { white-space: normal; }
.result-count { margin: .25rem 0; font-size: .82rem; }
.result-list { padding-left: 1.5rem; margin: .35rem 0; }
.result-list > li { margin: .35rem 0; padding: .38rem .5rem; border: 1px solid #d5dade; background: #fafafa; }
.result-list .result-list > li { border: 0; border-bottom: 1px solid #e2e5e8; padding: .2rem .3rem; margin: 0; }
.result-object ul, .result-object ol { margin: .15rem 0; padding-left: 1.2rem; }
.result-object li { margin: .08rem 0; }
table { border-collapse: collapse; width: 100%; font-size: .84rem; line-height: 1.3; }
th, td { padding: .25rem .4rem; border: 1px solid #d9dee3; text-align: left; vertical-align: top; white-space: nowrap; }
th { background: #f0f2f3; font-weight: 700; }
pre, code { font-family: ui-monospace, monospace; overflow-wrap: anywhere; }
pre { white-space: pre-wrap; overflow-x: auto; }
@media (max-width: 48rem) {
  .site-header { grid-template-columns: 1fr; align-items: start; gap: .75rem; }
  .result-object { grid-template-columns: 1fr; }
  .result-object dt { border-bottom: 0; padding-bottom: 0; }
}
