/* Shared shell of every public page: fixed top bar, footer, and the dark look of the plain data pages. */
html{scroll-padding-top:104px}
.sitebar,.sitefoot{font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}
.sitebar{position:sticky;top:0;z-index:60;background:rgba(8,10,18,.9);-webkit-backdrop-filter:saturate(140%) blur(14px);backdrop-filter:saturate(140%) blur(14px);border-bottom:1px solid #1b1d2a}
.sitebar-in{width:min(1192px,calc(100% - 96px));margin-inline:auto;height:74px;display:flex;align-items:center;gap:24px}
.sitebrand{display:flex;flex:0 0 auto}
.sitebrand img{width:132px;height:auto;display:block}
.sitenav{display:flex;align-items:center;gap:26px;margin-left:26px;flex:1;min-width:0}
.sitebar .sitenav a{color:#b9baca;font-size:14px;line-height:1.2;text-decoration:none;white-space:nowrap;font-weight:400;transition:color .2s}
.sitebar .sitenav a:hover,.sitebar .sitenav a[aria-current="page"]{color:#fff}
.sitenav .push{margin-left:auto}
.sitebar a.sitecta{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:40px;padding:8px 17px;border:1px solid #6b5fff;border-radius:8px;background:#4637f4;color:#fff;font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap;transition:background .18s}
.sitebar a.sitecta:hover{background:#594bff;color:#fff}
.sitebar a:focus-visible,.sitefoot a:focus-visible{outline:2px solid #bcb6ff;outline-offset:4px}
.sitefoot{width:min(1192px,calc(100% - 96px));margin:72px auto 0;border-top:1px solid #2e263a;padding:28px 0 26px;color:#aa9bb9}
.sitefoot a{color:#ccbddb;text-decoration:none}
.sitefoot a:hover{color:#fff}
.sitefoot-top{display:flex;align-items:center;justify-content:space-between;gap:25px;font-size:14px}
.sitefoot-top img{width:119px;height:auto;display:block}
.sitefoot-top p{margin:0}
.sitefoot-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px 20px;margin-top:26px;font-size:12px;color:#8b7d9b}
.sitefoot-bottom nav{display:flex;flex-wrap:wrap;gap:10px 22px}
.sitefoot-bottom nav a{color:#a18eaf}
@media(max-width:1020px){
  .sitebar-in{width:calc(100% - 40px);height:auto;flex-wrap:wrap;gap:0 12px;padding-top:12px}
  .sitebrand img{width:112px}
  .sitebar a.sitecta{margin-left:auto;min-height:38px;padding:7px 12px;font-size:13px}
  .sitenav{order:3;flex:0 0 100%;margin:6px 0 0;gap:22px;padding:10px 0 13px;overflow-x:auto;scrollbar-width:none}
  .sitenav::-webkit-scrollbar{display:none}
  .sitenav .push{margin-left:0}
  html{scroll-padding-top:120px}
  .sitefoot{width:calc(100% - 40px);margin-top:56px}
  .sitefoot-top{display:grid;grid-template-columns:1fr 1fr;gap:16px}
  .sitefoot-top p{grid-column:1/-1;grid-row:2}
  .sitefoot-top>a{justify-self:end}
}

/* plain data pages in the same identity */
:root.pub.pub{color-scheme:dark;--bg:#080a12;--text:#f4f4fa;--muted:#a6a8bc;--brand:#4637f4;--brand-h:#594bff;--side:#10121e;--line:#252737;--line2:#1b1d2a;--field:#34364a;--soft:#171a2a;--danger:#ff8a80;--card:#10121e;--code:#141727}
.pub body{font:16px/1.6 Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}
.pub .wrap{max-width:1192px;padding:44px 48px 40px}
.pub .wrap a{color:#b5adff}
.pub .wrap a:hover{color:#fff}
.pub h1{font-weight:500;font-size:clamp(2rem,4vw,3rem);line-height:1.08;letter-spacing:-.045em;margin:0 0 18px}
.pub .hero{padding:26px 0 18px}
.pub .hero h1{font-size:clamp(2.3rem,5vw,3.75rem);max-width:20ch}
.pub h2{font-weight:500;font-size:clamp(1.45rem,2.4vw,1.9rem);line-height:1.15;letter-spacing:-.035em;margin:52px 0 14px}
.pub h3{font-size:1.05rem;font-weight:600;margin:18px 0 8px}
.pub .lead{font-size:1.125rem;color:#b3b4c7;max-width:66ch}
.pub .card{border-radius:14px;padding:22px}
.pub th{background:#141727;color:#c9cbe0}
.pub .wrap a.btn,.pub .btn{background:#4637f4;border:1px solid #6b5fff;border-radius:8px;color:#fff;min-height:46px;padding:10px 20px}
.pub .wrap a.btn:hover,.pub .btn:hover{background:#594bff;color:#fff}
.pub .wrap a.btn.sec,.pub .btn.sec{background:#151322;border-color:#3b3a55;color:#f4f4fa}
.pub .wrap a.btn.sec:hover,.pub .btn.sec:hover{background:#211d3e}
.pub input,.pub select,.pub textarea{background:#0c0e18;border-color:#34364a;color:#f4f4fa;border-radius:8px}
.pub input:focus,.pub select:focus,.pub textarea:focus{outline:2px solid #6b5fff;outline-offset:1px;border-color:#6b5fff}
.pub input::placeholder{color:#6f7289}
.pub input[type="checkbox"],.pub input[type="radio"]{accent-color:#6b5fff}
.pub .tag{background:#1d2033;color:#c9cbe0}
.pub .t-ok{background:#0f2e22;color:#6fdba8}
.pub .t-warn{background:#33270f;color:#ffc46b}
.pub .t-bad{background:#3a1717;color:#ff9a90}
.pub .t-info{background:#1a1f45;color:#b5adff}
.pub .msg.ok{background:#0f2e22;color:#8be6b9;border:1px solid #1d4a37}
.pub .msg.err{background:#1d1626;color:#e9d9ff;border:1px solid #4a3a6e}
.pub code,.pub pre{color:#d9d6ff}
.pub details summary{cursor:pointer}
@media(max-width:1020px){.pub .wrap{padding:28px 20px 30px}}
