:root {
  --bg: #fdfdfb;
  --surface: #ffffff;
  --ink: #293a35;
  --muted: #76827a;
  --subtle: #9ba59c;
  --accent: #527867;
  --accent-dark: #355c4b;
  --line: #e7eae3;
  --soft: #f4f6ef;
  --code: #f7f8f4;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .45; cursor: not-allowed; }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, pre:focus-visible, .table-wrap:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #9bb9a5; outline-offset: 3px; }
.skip-link { position: fixed; z-index: 100; top: -60px; left: 20px; padding: 12px; border-radius: 6px; background: var(--accent); color: #fff; font-size: 13px; }
.skip-link:focus { top: 10px; }
.topbar { height: 77px; position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 20px; padding: 0 31px; border-bottom: 1px solid var(--line); background: #fdfdfbf5; backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; gap: 9px; flex: none; }
.brand-icon { width: 32px; height: 34px; background: var(--accent); color: white; border-radius: 8px; display: grid; place-items: center; }
.brand-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.brand strong { font-size: 21px; letter-spacing: -.8px; font-weight: 650; }
.brand strong span { color: #97a198; font-weight: 400; margin-left: 2px; }
.brand-separator { width: 1px; height: 21px; background: var(--line); margin: 0 -4px; }
.site-label { font-size: 12px; color: #7e887e; white-space: nowrap; }
.search-wrap { position: relative; margin-left: auto; width: min(350px, 30vw); }
.search-field { display: flex; align-items: center; height: 36px; gap: 9px; border: 1px solid #e4e8de; border-radius: 7px; background: #f7f8f3; padding: 0 11px; }
.search-field svg { width: 15px; height: 15px; fill: none; stroke: #98a38f; stroke-width: 1.6; flex: none; }
.search-field input { border: 0; outline: 0; min-width: 0; width: 100%; background: transparent; font-size: 11px; color: var(--ink); height: 100%; }
.search-field:focus-within { border-color: #98b19e; box-shadow: 0 0 0 2px #5278670c; }
.search-field input::placeholder { color: #9ca596; }
.search-field kbd { white-space: nowrap; font: 9px ui-monospace, monospace; color: #a7afa0; border: 1px solid #e1e5da; border-radius: 3px; padding: 2px 4px; }
.search-results { position: absolute; top: 44px; left: -30px; right: -30px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); box-shadow: 0 10px 40px #24372a16; padding: 8px; max-height: 460px; overflow: auto; }
.search-summary { font-size: 10px; color: var(--muted); padding: 9px; line-height: 1.8; }
.search-result { display: block; padding: 12px 10px; border-radius: 5px; }
.search-result:hover, .search-result:focus { background: var(--soft); }
.search-result strong { display: block; font-size: 12px; font-weight: 550; line-height: 1.8; }
.search-result small { display: block; font-size: 10px; color: var(--subtle); margin-top: 5px; line-height: 1.7; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-links { display: flex; gap: 24px; align-items: center; margin-left: 10px; font-size: 11px; color: #818d80; white-space: nowrap; }
.top-links a:hover { color: var(--accent-dark); }
.github-link { display: flex; align-items: center; gap: 7px; color: #52634f; }
.github-link svg { width: 17px; height: 17px; }
.layout { max-width: 1700px; margin: auto; display: grid; grid-template-columns: 244px minmax(0, 1fr) 205px; }
.sidebar { padding: 33px 22px 20px; border-right: 1px solid var(--line); height: calc(100vh - 77px); position: sticky; top: 77px; overflow: auto; scrollbar-width: thin; display: flex; flex-direction: column; }
.sidebar-label { font-size: 8px; letter-spacing: 1.7px; font-weight: 600; color: #a0aa9a; padding: 0 12px; margin-bottom: 8px; }
.nav-group { font-size: 10px; font-weight: 600; color: #697761; margin: 25px 12px 9px; }
.nav-link { font-size: 12px; display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; line-height: 1.6; color: #929c8e; border-radius: 5px; margin: 2px 0; }
.nav-link:hover { color: #56754e; background: #f5f7f0; }
.nav-link[aria-current=page] { color: #4d745a; background: #edf2e7; font-weight: 550; }
.nav-badge { font-size: 8px; font-weight: 400; background: #e4ebdb; color: #7a926e; padding: 1px 5px; border-radius: 3px; }
.sidebar-kit { display: flex; align-items: center; gap: 9px; background: #f3f6ed; border: 1px solid #e6ebdc; border-radius: 7px; padding: 12px 10px; margin: 30px 2px 16px; }
.sidebar-kit:hover { border-color: #b5c7aa; }
.kit-icon { height: 27px; width: 27px; flex: none; border: 1px solid #dce5d3; background: #fbfcf8; border-radius: 5px; display: grid; place-items: center; color: #7b986d; font-size: 18px; }
.sidebar-kit strong { font-size: 10px; font-weight: 550; color: #647b56; display: block; }
.sidebar-kit small { display: block; font-size: 8px; color: #a1ad95; margin-top: 5px; }
.sidebar-kit > span:last-child { margin-left: auto; color: #a6b69b; font-size: 11px; }
.sidebar-version { display: flex; align-items: center; gap: 6px; margin: auto 10px 0; padding-top: 10px; color: #a1aa9b; font-size: 9px; }
.sidebar-version i { width: 5px; height: 5px; border-radius: 50%; background: #9bb58d; }
.sidebar-version span:last-child { margin-left: auto; }
main { padding: 31px clamp(28px, 4vw, 68px) 35px; min-width: 0; max-width: 1040px; width: 100%; margin: 0 auto; }
main:focus { outline: none; }
.breadcrumb { display: flex; gap: 9px; font-size: 10px; color: #a2ac9b; margin: 5px 0 38px; }
.breadcrumb a:hover { color: var(--accent); }
.toc { padding: 79px 27px 25px 8px; position: sticky; top: 77px; height: max-content; max-height: calc(100vh - 77px); overflow: auto; }
.toc > span { font-size: 10px; font-weight: 550; color: #7c8972; display: block; margin-bottom: 14px; }
.toc nav { border-left: 1px solid var(--line); padding-left: 14px; }
.toc-link { display: block; font-size: 10px; line-height: 1.8; color: #a0aa97; padding: 7px 0; }
.toc-link:hover, .toc-link.current { color: #547851; }
.toc-help { border-top: 1px solid var(--line); padding-top: 21px; margin-top: 28px; }
.toc-help strong { font-size: 10px; font-weight: 500; color: #7e8c73; }
.toc-help p { font-size: 9px; line-height: 1.8; color: #a4ad9d; margin: 9px 0; }
.toc-help a { font-size: 9px; color: #759066; }
.hero-eyebrow { display: flex; align-items: center; gap: 8px; font-size: 8px; color: #8c9c7e; letter-spacing: 1.7px; font-weight: 550; margin-bottom: 24px; }
.small-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #8caa77; }
.version-pill { margin-left: auto; font-size: 8px; letter-spacing: 0; font-weight: 400; color: #97a68b; border: 1px solid #e2e8d9; background: #f7f9f2; padding: 4px 8px; border-radius: 20px; }
.hero h1 { font-size: clamp(30px, 3.3vw, 47px); letter-spacing: -1.8px; line-height: 1.5; font-weight: 550; margin: 0 0 18px; }
.hero h1 em { font-style: normal; color: #72916a; }
.hero-description { font-size: 12px; line-height: 2; color: #929e88; white-space: pre-line; margin: 0; }
.hero-actions { display: flex; gap: 10px; margin-top: 26px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 38px; font-size: 11px; font-weight: 500; padding: 10px 17px; border-radius: 6px; border: 1px solid transparent; line-height: 1.4; }
.primary { background: #577b60; color: #fff; border-color: #577b60; }
.primary:hover { background: #416448; }
.secondary { background: #fff; border-color: #e0e6d9; color: #6b805e; }
.secondary:hover { border-color: #a3b695; background: #fbfcf8; }
.quick-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; margin: 36px 0 25px; }
.quick-card { position: relative; border: 1px solid #e5eadf; border-radius: 7px; padding: 18px 15px 17px; background: #fff; }
.quick-card:hover { border-color: #b4c5a7; background: #fcfdf9; }
.card-number { font: 10px ui-monospace, monospace; color: #9caf8c; display: block; margin-bottom: 17px; }
.quick-card strong { display: block; font-size: 12px; color: #637a56; font-weight: 550; margin-bottom: 7px; }
.quick-card small { display: block; font-size: 9px; color: #a1ad96; line-height: 1.8; }
.card-arrow { position: absolute; top: 16px; right: 13px; color: #b4c1a9; font-size: 12px; }
.hero-code { border: 1px solid #e0e7d6; border-radius: 8px; background: #f6f8f0; overflow: hidden; margin-bottom: 42px; }
.hero-code-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 17px; border-bottom: 1px solid #e3e8db; font-size: 9px; color: #a0ae92; }
.file-tab { color: #7f976c; font: 10px ui-monospace, monospace; }
.hero-code-lines { padding: 18px 18px 22px; font: 11px/2.1 ui-monospace, 'SFMono-Regular', Consolas, 'PingFang SC', monospace; }
.hero-code-lines > div { display: flex; gap: 20px; color: #889a78; min-height: 23px; }
.line-number { user-select: none; color: #c0cbb4; font-size: 9px; width: 15px; }
.hero-code-lines .code-title { color: #58734c; }
.hero-code-foot { display: flex; gap: 8px; align-items: center; border-top: 1px solid #e3e9da; padding: 12px 17px; font-size: 8px; color: #98a88b; }
.hero-code-foot a { margin-left: auto; color: #7a9468; }
.check-dot { width: 12px; height: 12px; border-radius: 50%; background: #dee9d4; color: #8ea77c; display: inline-grid; place-items: center; font-size: 8px; }
.doc-header { margin-bottom: 34px; border-bottom: 1px solid var(--line); padding-bottom: 25px; }
.doc-tag { font-size: 9px; color: #7a926e; letter-spacing: .5px; background: #eff4e9; border: 1px solid #e5ecdD; border-radius: 4px; padding: 4px 8px; display: inline-block; }
.doc-header h1 { font-size: 34px; font-weight: 550; letter-spacing: -.8px; margin: 16px 0 12px; }
.doc-header > p { font-size: 12px; line-height: 1.9; color: #8b9782; margin: 0; }
.doc-actions { display: flex; align-items: center; gap: 19px; margin-top: 21px; }
.text-button { padding: 0; background: none; border: 0; font-size: 10px; color: #7d936d; }
.text-button:hover, .text-link:hover { color: #3f653e; }
.text-link { font-size: 10px; color: #98a68d; }
.doc-section { margin: 31px 0 38px; scroll-margin-top: 105px; }
.doc-section h2 { font-size: 19px; letter-spacing: -.25px; font-weight: 550; margin: 0 0 18px; }
.doc-section h2 a:hover::after { content: ' #'; color: #b2bea7; }
.article p { font-size: 13px; color: #7b8772; line-height: 2; margin: 14px 0 17px; overflow-wrap: anywhere; }
.content-list { font-size: 12px; color: #7b8971; padding-left: 19px; line-height: 2; margin: 17px 0 21px; }
.content-list li { padding: 3px 0 3px 4px; overflow-wrap: anywhere; }
.content-list li::marker { color: #b8c3ae; }
.note { padding: 16px 18px; border: 1px solid #e2e9d8; border-left: 3px solid #a9bd95; border-radius: 5px; background: #f6f9f0; margin: 21px 0; }
.note strong { color: #6d8859; font-size: 11px; font-weight: 550; }
.article .note p { color: #8b9c7c; font-size: 11px; line-height: 1.9; margin: 7px 0 0; }
.table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; margin: 20px 0; }
table { width: 100%; border-collapse: collapse; font-size: 11px; line-height: 1.9; min-width: 410px; }
th { font-weight: 500; color: #879779; background: #f7f9f2; }
th, td { text-align: left; padding: 12px 15px; border-bottom: 1px solid var(--line); vertical-align: top; }
td { color: #8b9781; overflow-wrap: anywhere; }
td:first-child { color: #637c56; min-width: 100px; }
tr:last-child td { border-bottom: 0; }
.code-block { border: 1px solid #e1e7d9; border-radius: 7px; overflow: hidden; background: #f7f9f3; margin: 20px 0; }
.code-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid #e4eadc; color: #9aaa8b; font-size: 9px; }
.copy-button { border: 1px solid #e1e8d8; background: #fdfefa; color: #8da17b; border-radius: 4px; padding: 4px 9px; font-size: 9px; flex: none; }
.copy-button:hover { border-color: #adc39a; color: #5d7e44; }
.code-block pre, .agent-preview { overflow: auto; padding: 18px; margin: 0; font: 11px/1.95 ui-monospace, 'SFMono-Regular', Consolas, 'PingFang SC', monospace; color: #667f54; tab-size: 2; }
.code-block pre { max-height: 500px; }
.agent-builder { border: 1px solid #dee7d4; border-radius: 8px; overflow: hidden; }
.agent-form { padding: 22px; background: #fcfdf9; }
.agent-form label { font-size: 11px; color: #678452; font-weight: 500; display: block; margin-bottom: 10px; }
.agent-form input, .agent-form select, .agent-form textarea { border: 1px solid #dbe4d0; border-radius: 5px; background: #fff; width: min(100%, 350px); padding: 11px 12px; font-size: 12px; color: #526c42; display: block; }
.agent-form input::placeholder, .agent-form textarea::placeholder { color: #b0bea4; }
.agent-form textarea { min-height: 96px; resize: vertical; width: 100%; }
.agent-form label[for="task-description"] { margin-top: 18px; }
.input-help { display: block; font-size: 10px; color: #98aa87; line-height: 1.8; margin-top: 9px; }
.article .input-error { font-size: 10px; color: #b2634f; margin: 7px 0 0; }
.input-error:empty { display: none; }
.agent-actions { display: flex; align-items: center; gap: 8px; padding: 14px 22px; background: #f3f7ec; border-block: 1px solid #e0e8d4; flex-wrap: wrap; }
.agent-meta { font-size: 9px; color: #9aab88; margin-left: auto; }
.agent-preview { background: #f8faf4; max-height: 560px; white-space: pre-wrap; overflow-wrap: anywhere; padding: 22px; }
.download-list { border: 1px solid var(--line); border-radius: 7px; overflow: hidden; margin: 20px 0; }
.download-item { display: flex; gap: 13px; align-items: center; background: white; padding: 17px; border-bottom: 1px solid var(--line); }
.download-item:last-child { border-bottom: 0; }
.download-item:hover { background: #f9fbf4; }
.file-badge { border: 1px solid #e3ebd8; color: #8fa779; background: #f4f8ed; border-radius: 5px; height: 36px; width: 36px; display: grid; place-items: center; font: 9px ui-monospace, monospace; flex: none; }
.download-item strong { display: block; font-size: 12px; color: #6b8555; font-weight: 500; }
.download-item small { display: block; font-size: 10px; color: #a4b197; line-height: 1.7; margin-top: 5px; }
.download-arrow { font-size: 17px; color: #a3b78f; margin-left: auto; padding: 0 6px; }
.pager { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 24px; margin-top: 45px; }
.pager a { display: flex; flex-direction: column; gap: 7px; }
.pager a:last-child { text-align: right; }
.pager small { font-size: 9px; color: #a7b49c; }
.pager strong { font-size: 12px; font-weight: 500; color: #74915f; }
.doc-footer { margin-top: 38px; font-size: 9px; color: #b1bba7; line-height: 1.9; }
.not-found-title { font-size: 28px; font-weight: 500; line-height: 1.5; }
main > p { color: var(--muted); font-size: 12px; margin-bottom: 25px; }
.toast { position: fixed; z-index: 100; bottom: 25px; left: 50%; transform: translateX(-50%); background: #365543; border: 1px solid #4e6e54; border-radius: 7px; padding: 12px 19px; color: #eff6e8; box-shadow: 0 7px 25px #2d442520; font-size: 12px; max-width: calc(100vw - 30px); text-align: center; }
#copy-dialog { width: min(720px, calc(100vw - 30px)); border: 1px solid #d9e1d2; border-radius: 10px; padding: 22px; color: var(--ink); background: var(--bg); }
#copy-dialog::backdrop { background: #25332966; backdrop-filter: blur(3px); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.dialog-head h2 { font-size: 17px; margin: 0; font-weight: 550; }
.dialog-head button { width: 32px; height: 32px; border: 0; color: #6f8068; background: #eff3e8; border-radius: 4px; font-size: 20px; }
#copy-dialog p { font-size: 11px; color: #8b9a7e; line-height: 1.8; }
#copy-fallback { width: 100%; height: 350px; border: 1px solid #e0e8d6; border-radius: 5px; padding: 15px; color: #687d59; background: #f9fbf4; font: 11px/1.8 ui-monospace, monospace; resize: vertical; }
.noscript { position: fixed; bottom: 20px; left: 10%; right: 10%; background: #eef3e4; border: 1px solid #bdcbb0; padding: 20px; font-size: 13px; line-height: 2; }
.noscript a { text-decoration: underline; }
.mobile-toggle { display: none; }
@media (min-width: 1600px) { .layout { grid-template-columns: 260px minmax(0, 1fr) 225px; } main { padding-inline: 70px; } .hero h1 { font-size: 49px; } }
@media (max-width: 1250px) { .layout { grid-template-columns: 220px minmax(0, 1fr); } .toc { display: none; } .sidebar { padding-inline: 17px; } main { max-width: 900px; padding: 30px 44px; } .topbar { gap: 15px; padding-inline: 24px; } .top-links { gap: 15px; } .hero h1 { font-size: 41px; } }
@media (max-width: 900px) { .site-label, .brand-separator { display: none; } .search-wrap { width: min(360px, 40vw); } .top-links > a:first-child { display: none; } .layout { grid-template-columns: 198px minmax(0, 1fr); } main { padding: 27px; } .sidebar { padding-inline: 12px; } .sidebar-label { font-size: 7px; letter-spacing: 1px; } .hero h1 { font-size: 33px; letter-spacing: -.8px; } .quick-cards { grid-template-columns: 1fr; gap: 8px; } .quick-card { padding: 14px 15px 14px 50px; } .card-number { position: absolute; left: 15px; top: 16px; margin: 0; } .quick-card strong { font-size: 12px; margin-bottom: 5px; } .hero-code-foot { flex-wrap: wrap; } .hero-code-foot a { margin-left: 20px; } }
@media (max-width: 640px) {
  .topbar { height: 67px; padding: 0 15px; gap: 10px; flex-wrap: wrap; }
  .mobile-toggle { display: inline-grid; place-items: center; background: none; border: 1px solid #e4e9dc; color: #829672; width: 30px; height: 30px; border-radius: 5px; font-size: 14px; }
  .brand { gap: 7px; }
  .brand strong { font-size: 18px; }
  .brand-icon { width: 27px; height: 29px; border-radius: 6px; }
  .brand-icon svg { width: 24px; height: 24px; }
  .top-links { margin-left: auto; font-size: 0; gap: 0; }
  .github-link { gap: 0; }
  .github-link svg { width: 19px; height: 19px; }
  .search-wrap { position: absolute; top: 79px; left: 18px; right: 18px; width: auto; margin: 0; }
  .search-field { height: 37px; background: #f7f9f2; }
  .search-results { left: 0; right: 0; max-height: min(440px, 65vh); }
  .layout { display: block; padding-top: 60px; }
  .sidebar { position: fixed; z-index: 29; top: 67px; bottom: 0; left: 0; width: 255px; height: auto; background: var(--bg); transform: translateX(-100%); padding: 25px 18px; transition: transform .18s ease; }
  .sidebar-label { font-size: 8px; letter-spacing: 1.3px; }
  .menu-open .sidebar { transform: translateX(0); }
  .menu-open .search-wrap { visibility: hidden; }
  .menu-open { overflow: hidden; }
  .mobile-backdrop { position: fixed; inset: 67px 0 0; background: #27382c40; z-index: 28; }
  main { padding: 20px 20px 28px; max-width: 100%; }
  .breadcrumb { font-size: 9px; margin: 3px 0 28px; }
  .hero-eyebrow { font-size: 7px; letter-spacing: 1px; gap: 6px; margin-bottom: 19px; }
  .version-pill { font-size: 7px; padding: 3px 6px; }
  .hero h1 { font-size: 32px; line-height: 1.5; letter-spacing: -1.2px; margin-bottom: 14px; }
  .hero-description { font-size: 11px; line-height: 1.9; }
  .hero-actions { gap: 8px; margin-top: 23px; }
  .button { font-size: 10px; min-height: 38px; padding: 10px 13px; }
  .quick-cards { margin-top: 28px; }
  .hero-code { margin-bottom: 31px; }
  .hero-code-head { padding: 11px 13px; font-size: 8px; }
  .hero-code-lines { padding: 16px 12px; font-size: 10px; }
  .hero-code-lines > div { gap: 11px; }
  .hero-code-foot { font-size: 7px; padding: 11px 12px; gap: 6px; }
  .hero-code-foot a { margin-left: auto; }
  .doc-header h1 { font-size: 28px; margin-top: 14px; }
  .doc-header > p { font-size: 11px; }
  .doc-section { scroll-margin-top: 138px; margin-top: 27px; }
  .doc-section h2 { font-size: 17px; line-height: 1.6; }
  .article p { font-size: 12px; line-height: 2; }
  .content-list { font-size: 11px; line-height: 2; padding-left: 17px; }
  .note { padding: 14px; }
  .article .note p { font-size: 10px; }
  table { font-size: 10px; min-width: 400px; }
  th, td { padding: 10px 12px; }
  .code-head { font-size: 8px; padding: 10px 12px; }
  .code-block pre { font-size: 10px; padding: 14px; }
  .agent-form { padding: 17px; }
  .agent-actions { padding: 13px 16px; gap: 8px; }
  .agent-meta { flex-basis: 100%; margin-left: 0; margin-top: 2px; font-size: 8px; }
  .agent-preview { padding: 16px; font-size: 10px; max-height: 460px; }
  .download-item { padding: 15px 12px; gap: 10px; }
  .download-item strong { font-size: 11px; }
  .download-item small { font-size: 9px; }
  .pager { margin-top: 32px; padding-top: 21px; }
  .doc-footer { margin-top: 29px; font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
/* Reading text stays distinct from quiet decorative labels. */
.article p { color: #5c6d55; font-size: 14px; }
.content-list { color: #627458; font-size: 13px; }
.article .note p { color: #6b8159; font-size: 12px; }
.nav-link { color: #73816a; }
.hero-description, .doc-header > p { color: #738569; }
td { color: #6e805f; }
.hero-code-lines { color: #637c51; }
.agent-preview { color: #526d42; }
@media (max-width: 640px) {
  .article p { font-size: 13px; }
  .content-list { font-size: 12px; }
  .article .note p { font-size: 11px; }
}
/* Small navigation and help text meets normal-text contrast on pale surfaces. */
.nav-link, .toc-link, .toc-help p, .sidebar-version, .sidebar-label,
.breadcrumb, .site-label, .top-links, .search-summary, .search-result small,
.hero-description, .doc-header > p, .quick-card small, .card-number,
.hero-code-head, .hero-code-foot, .doc-actions .text-link, .doc-footer,
.pager small, .download-item small, .agent-meta, .input-help, .range-ends,
.sidebar-kit small, .sidebar-kit > span:last-child { color: #65745b; }
.article .note p, td, th, .code-head, .copy-button,
.agent-preview, .code-block pre, .hero-code-lines > div,
.file-tab, .hero-code-foot a, .hero-code-head > span { color: #526b43; }
.doc-tag, .nav-badge, .version-pill, .hero-eyebrow, .toc-help a,
.sidebar-kit strong, .download-arrow, .file-badge { color: #5b744a; }
.search-field input::placeholder { color: #718065; }
/* Reuse the production orbital-lens mark and the established PhysicsOS mascot. */
.brand-site-icon { width: 34px; height: 34px; object-fit: contain; flex: none; }
.hero-intro { display: grid; grid-template-columns: minmax(0, 1fr) 250px; align-items: center; gap: 10px; }
.hero-copy { min-width: 0; }
.hero-intro h1 { font-size: clamp(30px, 2.7vw, 41px); letter-spacing: -1.4px; }
.hero-mascot { margin: 0 -10px 0 0; width: 260px; align-self: center; }
.hero-mascot img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.hero-mascot picture { display: block; }
@media (min-width: 1600px) { .hero-intro { grid-template-columns: minmax(0, 1fr) 280px; } .hero-mascot { width: 290px; } .hero-intro h1 { font-size: 43px; } }
@media (min-width: 901px) and (max-width: 1100px) { .hero-intro { grid-template-columns: minmax(0, 1fr) 185px; gap: 0; } .hero-mascot { width: 195px; } .hero-intro h1 { font-size: 30px; letter-spacing: -1px; } }
@media (min-width: 641px) and (max-width: 900px) { .hero-intro { grid-template-columns: 1fr; } .hero-mascot { width: 220px; margin: 15px auto -15px; } }
@media (max-width: 640px) {
  .brand-site-icon { width: 29px; height: 29px; }
  .hero-intro { grid-template-columns: 1fr; }
  .hero-intro h1 { font-size: 31px; }
  .hero-mascot { width: 210px; margin: 13px auto -14px; }
}

.template-release-notice p { margin: 0; }
.template-release-notice .button { margin-top: 10px; }
.template-release-notice .prompt-content-sha { margin-top: 8px; font-size: 11px; overflow-wrap: anywhere; opacity: .8; }
.download-item[aria-disabled="true"] { opacity: .6; cursor: not-allowed; }
/* Developer studio: the same glass controls as the signed-in workspaces. */
:root { --studio-glass: linear-gradient(155deg, #fffefb 0%, #ffffffbb 45%, #e3ece590 100%); --studio-rim: inset 0 1px 0 #fff, inset 0 0 0 1px #ffffff55; }
.button, .copy-button, .dialog-head button, .mobile-toggle { appearance: none; border: 1px solid #d4e1d8; border-radius: 13px; background: var(--studio-glass); box-shadow: var(--studio-rim), 0 4px 10px -6px #284d3840; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #355b48; transition: transform 160ms ease, box-shadow 160ms ease; }
.button { min-height: 42px; font-size: 12px; padding: 11px 17px; gap: 7px; }
.button:hover:not(:disabled), .copy-button:hover { transform: translateY(-1px); box-shadow: var(--studio-rim), 0 8px 18px -8px #284d3840; }
.button.primary { color: #244f3e; border-color: #f3fff9; background: linear-gradient(155deg, #effff4, #c9e6d3 52%, #a6cbb7); box-shadow: var(--studio-rim), 0 8px 20px -8px #39765050; }
.copy-button { min-height: 32px; font-size: 11px; padding: 6px 11px; border-radius: 10px; }
.agent-builder { border-radius: 21px; border-color: #d8e4dc; box-shadow: var(--studio-rim), 0 14px 35px -25px #31534260; }
.agent-form { padding: 25px; background: linear-gradient(145deg, #ffffffd9, #f1f6f0b0); }
.agent-form label { font-size: 13px; color: #49634f; }
.agent-form input, .agent-form select, .agent-form textarea { border-radius: 12px; padding: 13px 14px; font-size: 13px; border-color: #d4e1d8; box-shadow: inset 0 2px 4px #35533a04; background: #ffffffc4; }
.agent-actions { padding: 16px 24px; gap: 10px; background: #edf4edd9; }
.agent-meta { font-size: 11px; line-height: 1.7; }
.agent-preview { padding: 24px; font-size: 12px; line-height: 1.85; background: #f9fbf7; color: #405c45; }
.input-help { font-size: 11px; }
.template-release-notice { border-radius: 16px; background: linear-gradient(130deg, #edf7ef, #f6faf3); border-color: #d7e7dc; }
.download-list { border: 0; border-radius: 0; display: grid; gap: 10px; overflow: visible; }
.download-item { border: 1px solid #dbe5db; border-radius: 15px; padding: 18px; background: var(--studio-glass); box-shadow: var(--studio-rim), 0 4px 10px -7px #345c3f33; }
.download-item:last-child { border-bottom: 1px solid #dbe5db; }
.download-item strong { font-size: 13px; }
.download-item small { font-size: 11px; }
.file-badge { border-radius: 11px; width: 42px; height: 44px; background: #eaf2e6; }
@media (max-width: 640px) { .button { font-size: 12px; min-height: 42px; } .agent-form { padding: 19px; } .agent-actions { padding: 15px 18px; } .agent-actions .button { flex: 1 1 auto; } .agent-preview { padding: 18px; font-size: 11px; } .agent-meta { font-size: 10px; } }
.studio-header { position: relative; padding-right: 158px; min-height: 178px; }
.studio-mascot { position: absolute; right: -8px; top: -10px; width: 155px; height: 155px; object-fit: contain; }
.doc-actions .text-button, .doc-actions .text-link { display: inline-flex; align-items: center; min-height: 38px; padding: 9px 13px; border: 1px solid #d4e1d8; border-radius: 12px; background: var(--studio-glass); box-shadow: var(--studio-rim), 0 4px 10px -7px #345c3f33; color: #355b48; font-size: 11px; }
@media (max-width: 640px) { .studio-header { padding-right: 0; } .studio-mascot { width: 95px; height: 95px; opacity: .2; top: -7px; right: -5px; z-index: -1; } }
