/* pokerbotdownload — IBM Carbon-ish docs aesthetic */
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0;overflow-x:hidden;background:#ffffff;color:#161616}
html{color-scheme:only light}
body{
  font-family:"IBM Plex Mono","SFMono-Regular",Menlo,Consolas,monospace;
  font-size:14px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img,svg,table,pre{max-width:100%}

h1,h2,h3,h4{font-family:"IBM Plex Serif",Georgia,serif;font-weight:400;color:#161616;letter-spacing:-0.01em;margin:0 0 .6em}
h1{font-size:32px;line-height:1.2}
h2{font-size:22px;line-height:1.3;margin-top:2.2em;border-top:1px solid #e0e0e0;padding-top:1.2em}
h3{font-size:17px;line-height:1.35;margin-top:1.6em;color:#393939}
p,li{font-size:14px;color:#393939}
p{margin:0 0 1em}
strong{color:#161616;font-weight:600}
em{color:#525252}
a{color:#0f62fe;text-decoration:none;border-bottom:1px solid transparent}
a:hover{border-bottom-color:#0f62fe}
code{font-family:inherit;background:#f4f4f4;color:#0f62fe;padding:1px 4px;border-radius:0;font-size:13px}
pre{background:#161616;color:#f4f4f4;padding:14px 16px;overflow-x:auto;font-size:13px}
pre code{background:transparent;color:inherit;padding:0}
ul,ol{padding-left:1.2em;margin:0 0 1em}
li{margin:.35em 0}
hr{border:0;border-top:1px solid #e0e0e0;margin:2em 0}

/* HEADER */
.header{
  position:sticky;top:0;z-index:50;
  background:#161616;color:#f4f4f4;
  border-bottom:1px solid #393939;
}
.header-inner{
  display:flex;align-items:center;
  max-width:1440px;margin:0 auto;
  padding:0 20px;
  min-height:48px;
  gap:24px;
}
.brand{
  font-family:"IBM Plex Serif",Georgia,serif;
  font-size:15px;font-weight:500;color:#f4f4f4;letter-spacing:.01em;
  border-bottom:none;
}
.brand .tag{color:#8d8d8d;font-family:"IBM Plex Mono",monospace;font-size:12px;margin-left:8px;font-weight:400}
.nav{display:flex;gap:18px;align-items:center;margin-left:auto;flex-wrap:wrap}
.nav a{color:#c6c6c6;font-size:13px;border-bottom:none}
.nav a:hover{color:#ffffff}
.btn{
  display:inline-block;
  background:#0f62fe;color:#ffffff;
  padding:8px 16px;
  font-family:"IBM Plex Mono",monospace;font-size:13px;font-weight:500;
  border:1px solid #0f62fe;border-radius:0;
  border-bottom:none;
  transition:background .12s;
  cursor:pointer;
}
.btn:hover{background:#0353e9;border-color:#0353e9;color:#fff;border-bottom:none}
.btn.ghost{background:transparent;color:#f4f4f4;border-color:#525252}
.btn.ghost:hover{background:#262626;border-color:#8d8d8d}
.btn.cta-large{padding:12px 22px;font-size:14px;width:auto}

/* SUB-HEADER strip */
.subhead{
  background:#f4f4f4;
  border-bottom:1px solid #e0e0e0;
  font-size:12px;color:#525252;
}
.subhead-inner{
  max-width:1440px;margin:0 auto;padding:8px 20px;
  display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;
}
.subhead .crumb a{color:#525252;border-bottom:none}
.subhead .crumb a:hover{color:#0f62fe}
.subhead .meta{color:#6f6f6f;font-family:"IBM Plex Mono",monospace}

/* LAYOUT — 12 col docs */
.layout{
  max-width:1440px;margin:0 auto;
  padding:0 20px;
  display:grid;
  grid-template-columns:240px minmax(0,1fr) 220px;
  gap:32px;
  align-items:start;
}
@media (max-width:1080px){
  .layout{grid-template-columns:220px minmax(0,1fr);gap:28px}
  .toc{display:none}
}
@media (max-width:820px){
  .layout{grid-template-columns:minmax(0,1fr);gap:0;padding:0 20px}
  .sidebar{display:none}
}

.sidebar{
  position:sticky;top:64px;
  padding:32px 0;
  font-size:13px;
  border-right:1px solid #e0e0e0;
  padding-right:16px;
  max-height:calc(100vh - 64px);
  overflow-y:auto;
}
.sidebar h4{
  font-family:"IBM Plex Mono",monospace;
  font-size:11px;text-transform:uppercase;letter-spacing:.08em;
  color:#6f6f6f;font-weight:600;
  margin:0 0 8px;
}
.sidebar ul{list-style:none;padding:0;margin:0 0 20px}
.sidebar li{margin:0;border-left:2px solid transparent}
.sidebar li.active{border-left-color:#0f62fe;background:#f4f4f4}
.sidebar a{
  display:block;padding:6px 10px;
  color:#393939;border-bottom:none;font-size:13px;
}
.sidebar a:hover{background:#f4f4f4;color:#0f62fe}
.sidebar li.active a{color:#0f62fe;font-weight:500}
.sidebar .ver{
  font-family:"IBM Plex Mono",monospace;color:#8d8d8d;
  font-size:11px;padding:4px 10px;
}

.main{padding:32px 0;min-width:0}
.main .lede{
  font-size:16px;color:#161616;
  border-left:3px solid #0f62fe;
  padding:4px 0 4px 16px;
  margin:0 0 24px;
  font-family:"IBM Plex Serif",Georgia,serif;
  line-height:1.5;
}

.toc{
  position:sticky;top:64px;
  padding:32px 0 32px 16px;
  border-left:1px solid #e0e0e0;
  font-size:12px;
  max-height:calc(100vh - 64px);
  overflow-y:auto;
}
.toc h4{
  font-family:"IBM Plex Mono",monospace;
  font-size:11px;text-transform:uppercase;letter-spacing:.08em;
  color:#6f6f6f;font-weight:600;
  margin:0 0 10px;
}
.toc ul{list-style:none;padding:0;margin:0}
.toc li{margin:5px 0}
.toc a{color:#525252;border-bottom:none;font-size:12px}
.toc a:hover{color:#0f62fe}

/* Tables */
table{width:100%;border-collapse:collapse;margin:1.2em 0;background:#ffffff}
th,td{
  text-align:left;
  padding:10px 12px;
  border-bottom:1px solid #e0e0e0;
  font-size:13px;
  color:#393939;
  vertical-align:top;
}
th{
  background:#f4f4f4;color:#161616;font-weight:600;
  font-family:"IBM Plex Mono",monospace;
  font-size:12px;text-transform:uppercase;letter-spacing:.04em;
  border-bottom:1px solid #c6c6c6;
}
.table-wrap{overflow-x:auto;border:1px solid #e0e0e0}

/* Version chip / release row */
.chip{
  display:inline-block;
  font-family:"IBM Plex Mono",monospace;font-size:11px;
  background:#e0e0e0;color:#161616;
  padding:2px 8px;border-radius:0;
  margin-right:6px;
}
.chip.blue{background:#0f62fe;color:#ffffff}
.chip.gray{background:#393939;color:#f4f4f4}
.chip.ghost{background:transparent;color:#525252;border:1px solid #c6c6c6}

.release-row{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:16px;
  padding:14px 0;
  border-bottom:1px solid #e0e0e0;
}
.release-row .ver{font-family:"IBM Plex Mono",monospace;color:#161616;font-weight:500;font-size:13px}
.release-row .ver small{display:block;color:#8d8d8d;font-weight:400;font-size:11px;margin-top:2px}
.release-row .body p{margin:0 0 .4em;font-size:13px}

.notice{
  background:#f4f4f4;
  border-left:3px solid #393939;
  padding:14px 16px;
  margin:1.6em 0;
  font-size:13px;
}
.notice.blue{border-left-color:#0f62fe}
.notice.warn{border-left-color:#da1e28;background:#fff1f1}

.callout-cta{
  border:1px solid #161616;
  background:#161616;color:#f4f4f4;
  padding:24px;
  margin:2em 0;
  display:flex;flex-direction:column;gap:14px;
}
.callout-cta h3{color:#ffffff;margin:0;font-family:"IBM Plex Serif",Georgia,serif;font-size:18px}
.callout-cta p{color:#c6c6c6;margin:0;font-size:13px}
.callout-cta .btn{width:auto;align-self:flex-start;font-size:14px;padding:12px 22px}

dl{margin:1em 0}
dt{font-family:"IBM Plex Mono",monospace;font-size:12px;text-transform:uppercase;color:#161616;font-weight:600;letter-spacing:.04em;margin-top:1em}
dd{margin:.2em 0 .8em;color:#393939;font-size:13px}

/* FOOTER */
.footer{
  border-top:1px solid #e0e0e0;
  background:#f4f4f4;
  margin-top:64px;
  padding:32px 20px;
  font-size:12px;color:#525252;
}
.footer-inner{max-width:1440px;margin:0 auto;display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}
.footer a{color:#525252;border-bottom:none}
.footer a:hover{color:#0f62fe}

/* MOBILE */
@media (max-width:620px){
  body{font-size:14px}
  h1{font-size:26px}
  h2{font-size:20px}
  .header-inner{flex-wrap:wrap;padding:10px 16px;gap:12px;min-height:0}
  .brand{font-size:14px}
  .nav{width:100%;gap:14px;margin-left:0;justify-content:flex-start;order:3}
  .header .btn{width:100%;text-align:center;display:block;order:2}
  .subhead-inner{padding:8px 16px}
  .layout{padding:0 16px}
  .main{padding:24px 0}
  .release-row{grid-template-columns:1fr;gap:4px}
  .callout-cta .btn{width:100%;text-align:center}
  table{font-size:12px}
  th,td{padding:8px 8px}
}
