.bot-main { padding:48px 0 64px; }
.bot-hero { max-width:900px; margin-bottom:32px; }
.bot-hero h2 { margin:14px 0 20px; font-size:clamp(32px,5vw,56px); line-height:1.12; letter-spacing:-.04em; }
.bot-hero > p:not(.eyebrow) { margin:14px 0; color:var(--muted); font-size:15px; line-height:1.8; }
.bot-identity { display:flex; align-items:center; gap:20px; }
.bot-logo { display:block; flex:0 0 auto; object-fit:contain; border-radius:50%; }
.bot-identity h2,.bot-identity h4 { min-width:0; overflow-wrap:anywhere; }
.bot-hero .bot-identity { margin:14px 0 20px; }
.bot-hero .bot-identity h2 { margin:0; }
.bot-privacy-notice { padding:24px; border:1px solid var(--amber); background:var(--panel); }
.bot-privacy-notice h3 { margin-bottom:12px; color:var(--amber); font-size:18px; }
.bot-privacy-notice p { max-width:960px; font-size:14px; line-height:1.8; }
.bot-privacy-notice strong { color:var(--amber); }
.bot-categories { display:flex; flex-wrap:wrap; gap:12px; padding:30px 0; }
.bot-categories a { padding:10px 14px; border:1px solid var(--line); border-radius:5px; color:var(--mint); text-decoration:none; }
.bot-category { padding:12px 0 26px; }
.bot-category > h3 { margin-bottom:18px; font-size:23px; scroll-margin-top:24px; }
.bot-card-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.bot-card { display:flex; flex-direction:column; gap:14px; padding:26px; border:1px solid var(--line); border-radius:8px; background:var(--panel); }
.bot-card h4 { margin:0; font-size:23px; }
.bot-card h4 a { color:var(--ink); text-decoration:none; }
.bot-card p { color:var(--muted); font-size:14px; line-height:1.75; }
.bot-card .source-link { align-self:flex-start; margin-top:auto; }
.bot-card .bot-privacy,.bot-hero .bot-privacy { padding-left:12px; border-left:2px solid var(--amber); color:var(--ink); }
.bot-help { max-width:900px; margin-top:20px; padding-top:24px; border-top:1px solid var(--line); }
.bot-help h3 { margin-bottom:14px; font-size:22px; }
.bot-help p,.bot-help li { color:var(--muted); font-size:14px; line-height:1.8; }
.bot-help a,.bot-breadcrumb a { color:var(--mint); }
.bot-breadcrumb { margin-bottom:24px; color:var(--muted); }
.bot-guide-layout { display:grid; grid-template-columns:220px minmax(0,1fr); gap:40px; align-items:start; }
.bot-toc { position:sticky; top:24px; padding:20px; border:1px solid var(--line); background:var(--panel); }
.bot-toc h3 { margin-bottom:14px; font-size:16px; }
.bot-toc ul { margin:0; padding:0; list-style:none; }
.bot-toc li + li { margin-top:12px; }
.bot-toc a { color:var(--mint); text-decoration:none; line-height:1.6; }
.bot-guide-content { min-width:0; max-width:1000px; font-size:14px; line-height:1.85; }
.bot-guide-content p { margin:0 0 18px; color:var(--muted); }
.bot-guide-content h3 { margin:32px 0 16px; padding-top:20px; border-top:1px solid var(--line); font-size:24px; scroll-margin-top:24px; }
.bot-guide-content h4 { margin:24px 0 12px; font-size:19px; scroll-margin-top:24px; }
.bot-guide-content ul,.bot-guide-content ol { padding-left:24px; margin:14px 0 22px; color:var(--muted); }
.bot-guide-content li { padding-bottom:6px; }
.bot-guide-content strong { color:var(--ink); }
.bot-main code { font-family:var(--mono); font-size:.9em; overflow-wrap:anywhere; color:var(--ink); }
.bot-guide-content pre { max-width:100%; overflow:auto; padding:20px; border:1px solid var(--line); border-radius:6px; background:var(--panel); white-space:pre; }
.bot-guide-content pre code { overflow-wrap:normal; }
.bot-table-scroll { max-width:100%; overflow:auto; margin:20px 0; border:1px solid var(--line); }
.bot-table-scroll table { width:100%; min-width:480px; border-collapse:collapse; text-align:left; }
.bot-table-scroll th,.bot-table-scroll td { padding:13px 15px; border-bottom:1px solid var(--line); vertical-align:top; line-height:1.7; }
.bot-table-scroll th { background:var(--panel); color:var(--mint); font-weight:600; }
.bot-table-scroll td { color:var(--muted); }
.bot-table-scroll tbody tr:last-child td { border-bottom:0; }
.bot-main a:hover { text-decoration:underline; }
.bot-main a:focus-visible,.bot-main [tabindex]:focus-visible,.bot-skip-link:focus-visible { outline:2px solid var(--mint); outline-offset:4px; }
.bot-skip-link { position:absolute; top:-100px; left:20px; padding:12px; background:var(--panel); color:var(--mint); z-index:10; }
.bot-skip-link:focus { top:10px; }
@media (max-width:900px) {
  .bot-guide-layout { grid-template-columns:minmax(0,1fr); gap:24px; }
  .bot-toc { position:static; }
  .bot-toc ul { display:flex; flex-wrap:wrap; gap:12px 20px; }
  .bot-toc li + li { margin-top:0; }
}
@media (max-width:560px) {
  .bot-main { padding-top:30px; }
  .bot-card-grid { grid-template-columns:minmax(0,1fr); }
  .bot-card,.bot-privacy-notice { padding:20px; }
  .bot-hero .bot-identity { flex-direction:column; align-items:flex-start; gap:14px; }
  .bot-hero .bot-logo { width:96px; height:96px; }
  .bot-guides-shell .topbar-actions { justify-content:flex-start; flex-wrap:wrap; }
  .bot-guide-content pre { padding:14px; }
}
