@font-face {font-family: 'Geist Variable';font-style: normal;font-display: swap;font-weight: 100 900;src: url(/guide-assets/geist-latin-ext-wght-normal-824f485b5d26.woff2) format('woff2-variations');unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face {font-family: 'Geist Variable';font-style: normal;font-display: swap;font-weight: 100 900;src: url(/guide-assets/geist-latin-wght-normal-19f9c92546aa.woff2) format('woff2-variations');unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face {font-family: 'Geist Variable';font-style: italic;font-display: swap;font-weight: 100 900;src: url(/guide-assets/geist-latin-ext-wght-italic-56dc9ac98e3f.woff2) format('woff2-variations');unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face {font-family: 'Geist Variable';font-style: italic;font-display: swap;font-weight: 100 900;src: url(/guide-assets/geist-latin-wght-italic-9b10496762af.woff2) format('woff2-variations');unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face {font-family: 'Geist Mono Variable';font-style: normal;font-display: swap;font-weight: 100 900;src: url(/guide-assets/geist-mono-latin-ext-wght-normal-1a189eb997c3.woff2) format('woff2-variations');unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face {font-family: 'Geist Mono Variable';font-style: normal;font-display: swap;font-weight: 100 900;src: url(/guide-assets/geist-mono-latin-wght-normal-684ad5b531f8.woff2) format('woff2-variations');unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
:root,
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0d10;
  --surface: #111419;
  --raised: #171b21;
  --hover: #1d2229;
  --border: #1f242b;
  --border-strong: #2c323b;
  --text: #e8eaed;
  --text-2: #a2a8b1;
  --muted: #6c727b;
  --accent: #f0b43c;
  --accent-text: #f0b43c;
  --accent-subtle: rgba(240, 180, 60, 0.12);
  --on-accent: #0e1014;
  --up: #38c789;
  --down: #f0555b;
  --up-subtle: rgba(56, 199, 137, 0.14);
  --down-subtle: rgba(240, 85, 91, 0.14);
  --replay: #ab91f2;
  --replay-subtle: rgba(171, 145, 242, 0.12);
  --warn: #fc9252;
  --focus: rgba(240, 180, 60, 0.28);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  --future: rgba(255, 255, 255, 0.028);
  --on-series: #0b0d10;
  --grid: rgba(255, 255, 255, 0.035);
  --cross: #5a616b;
  --legend-bg: rgba(17, 20, 25, 0.78);
  --band-alpha: 0.07;
  --hatch: rgba(255, 255, 255, 0.07);
  --logo-1: #ffd54f;
  --logo-2: #f7a928;
  --logo-3: #ee7a12;
  /* 16 series colours: two lightness levels × 8 hues, calibrated to the background */
  --s01: #ff9b93; --s02: #fba962; --s03: #d8bd51; --s04: #90d281;
  --s05: #37d8c9; --s06: #53cdff; --s07: #a5b6ff; --s08: #ed9ee5;
  --s09: #d6673f; --s10: #c07c00; --s11: #939300; --s12: #1ea662;
  --s13: #00a5b0; --s14: #2193e0; --s15: #8c79e0; --s16: #ca62a1;
  /* order book heat scale, low → high */
  --heat-1: #06233d; --heat-2: #005382; --heat-3: #0099ae; --heat-4: #eebc4a; --heat-5: #fcf2cd;
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f4f2;
  --surface: #ffffff;
  --raised: #ffffff;
  --hover: #efefec;
  --border: #e4e3df;
  --border-strong: #cdcbc5;
  --text: #15171a;
  --text-2: #555a62;
  --muted: #80848b;
  --accent: #f0b43c;
  --accent-text: #8f620a;
  --accent-subtle: rgba(200, 140, 20, 0.13);
  --on-accent: #15171a;
  --up: #00935d;
  --down: #cc3239;
  --up-subtle: rgba(0, 147, 93, 0.1);
  --down-subtle: rgba(204, 50, 57, 0.1);
  --replay: #734dbe;
  --replay-subtle: rgba(115, 77, 190, 0.08);
  --warn: #c0571e;
  --focus: rgba(240, 180, 60, 0.35);
  --shadow: 0 8px 24px rgba(20, 20, 20, 0.12);
  --future: rgba(0, 0, 0, 0.03);
  --on-series: #ffffff;
  --grid: rgba(0, 0, 0, 0.045);
  --cross: #9a9ea5;
  --legend-bg: rgba(255, 255, 255, 0.82);
  --band-alpha: 0.08;
  --hatch: rgba(0, 0, 0, 0.08);
  --logo-1: #d99a16;
  --logo-2: #c8760f;
  --logo-3: #b9520b;
  --s01: #bc4945; --s02: #b25900; --s03: #907100; --s04: #3d892a;
  --s05: #008f80; --s06: #0081ba; --s07: #5d69cb; --s08: #a34f9e;
  --s09: #7a2a06; --s10: #6c3a00; --s11: #4d4c00; --s12: #005928;
  --s13: #005961; --s14: #004b83; --s15: #493883; --s16: #722756;
  --heat-1: #e3f1fb; --heat-2: #9fcbe6; --heat-3: #338fc7; --heat-4: #795bbf; --heat-5: #73176f;
}

:root {
  --font-ui: "Geist Variable", "Geist", system-ui, sans-serif;
  --font-mono: "Geist Mono Variable", "Geist Mono", ui-monospace, monospace;
  /* radius: badge · control · panel */
  --r-badge: 2px;
  --r-control: 4px;
  --r-panel: 6px;
  /* heights */
  --h-dense: 24px;
  --h-default: 28px;
  --h-form: 32px;
  --h-code: 44px;
  --h-topbar: 44px;
  --h-status: 24px;
  /* spacing scale 2 4 6 8 12 16 24 32 48 */
  --sp-1: 2px;
  --sp-2: 4px;
  --sp-3: 6px;
  --sp-4: 8px;
  --sp-5: 12px;
  --sp-6: 16px;
  --sp-7: 24px;
  --sp-8: 32px;
  --sp-9: 48px;
  --nav-w: 56px;
  --panel-w: 288px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:72px;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font:400 15px/1.65 var(--font-ui);-webkit-font-smoothing:antialiased;font-variant-numeric:tabular-nums}
a{color:var(--accent-text);text-decoration:none}a:hover{text-decoration:underline}
:focus-visible{outline:1px solid var(--accent-text);outline-offset:1px;box-shadow:0 0 0 3px var(--focus)}
code,kbd,pre{font-family:var(--font-mono)}
code{font-size:.86em;background:var(--raised);border:1px solid var(--border);border-radius:var(--r-badge);padding:1px 5px}
pre{background:var(--raised);border:1px solid var(--border);border-radius:var(--r-control);padding:12px 14px;overflow:auto;font-size:12.5px;line-height:1.55}
pre code{background:none;border:0;padding:0;font-size:inherit}
kbd{font-size:12px;background:var(--raised);border:1px solid var(--border-strong);border-bottom-width:2px;border-radius:var(--r-control);padding:0 5px;white-space:nowrap}
button{font:inherit;color:inherit}
.topbar{position:sticky;top:0;z-index:20;height:52px;background:var(--surface);border-bottom:1px solid var(--border)}
.topbar-inner{max-width:1320px;height:100%;margin:0 auto;padding:0 20px;display:flex;align-items:center;gap:14px}
.brand{display:flex;align-items:center;gap:14px;min-width:0}
.brand img{display:block;height:18px;width:auto}
.brand .logo-light{display:none}
html[data-theme=light] .brand .logo-dark{display:none}html[data-theme=light] .brand .logo-light{display:block}
.brand-sep{width:1px;height:20px;background:var(--border-strong)}
.brand-title{font:500 13px var(--font-ui);color:var(--text-2);white-space:nowrap}
.spacer{flex:1}
.seg{display:inline-flex;gap:2px;padding:2px;border:1px solid var(--border-strong);border-radius:var(--r-control);background:var(--bg)}
.seg button{height:24px;padding:0 10px;border:0;border-radius:var(--r-badge);background:transparent;color:var(--text-2);font:500 12px var(--font-mono);cursor:pointer}
.seg button:hover{color:var(--text)}
.seg button.active{background:var(--raised);color:var(--text);box-shadow:inset 0 0 0 1px var(--border-strong)}
.icon-btn{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:var(--r-control);background:transparent;color:var(--text-2);cursor:pointer;flex:none}
.icon-btn:hover{background:var(--hover);color:var(--text)}
.icon-btn svg{width:16px;height:16px}
.theme-btn .moon{display:none}html[data-theme=light] .theme-btn .sun{display:none}html[data-theme=light] .theme-btn .moon{display:block}
.menu-btn{display:none}
.layout{max-width:1320px;margin:0 auto;display:grid;grid-template-columns:268px minmax(0,1fr);gap:28px;padding:24px 20px 96px}
.side{position:sticky;top:76px;align-self:start;max-height:calc(100vh - 96px);overflow:auto;padding:2px 0 16px;scrollbar-width:thin}
.toc-title{font:500 11px var(--font-ui);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);padding:0 12px 8px}
.toc a{display:block;padding:6px 12px;border-left:2px solid transparent;border-radius:0 var(--r-control) var(--r-control) 0;color:var(--text-2);font-size:13px;line-height:1.35;text-decoration:none}
.toc a.d2{color:var(--text);font-weight:500}
.toc a.d3{display:none;padding-left:24px;font-size:12.5px}
.toc a.d3.open{display:block}
.toc a:hover{background:var(--hover)}
.toc a.current{border-left-color:var(--accent);background:var(--accent-subtle);color:var(--text)}
main{min-width:0}
article{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-panel);padding:40px 56px 64px}
.doc-head{padding-bottom:20px;border-bottom:1px solid var(--border)}
.doc-head h1{margin:0 0 8px;font:600 28px/1.15 var(--font-ui);letter-spacing:-.01em}
.doc-head p{margin:0;color:var(--text-2);font-size:13px}
article h2{position:relative;margin:56px 0 16px;padding-bottom:12px;border-bottom:1px solid var(--border);font:600 22px/1.25 var(--font-ui)}
article h2::after{content:"";position:absolute;left:0;bottom:-1px;width:48px;height:2px;background:var(--accent)}
article h3{margin:36px 0 10px;font:600 17px/1.3 var(--font-ui)}
article h4{margin:24px 0 8px;font:600 14px/1.4 var(--font-ui);color:var(--text-2)}
article h2 a.anchor,article h3 a.anchor,article h4 a.anchor{color:inherit;text-decoration:none}
article p{margin:0 0 14px}
article ul,article ol{margin:0 0 14px;padding-left:24px}
article li{margin:5px 0}
article li::marker{color:var(--muted)}
article strong{font-weight:600}
article hr{border:0;border-top:1px solid var(--border);margin:32px 0}
figure{margin:20px 0 26px}
figure img{display:block;max-width:100%;height:auto;margin:0 auto;border:1px solid var(--border-strong);border-radius:var(--r-panel);background:var(--bg);cursor:zoom-in}
figure img.shot-light{display:none}
html[data-theme=light] figure img.shot-light{display:block}html[data-theme=light] figure img.shot-dark{display:none}
figcaption{margin-top:8px;color:var(--text-2);font-size:12.5px;line-height:1.45;text-align:center}
.table-wrap{overflow-x:auto;margin:16px 0 20px;border:1px solid var(--border);border-radius:var(--r-panel)}
table{width:100%;border-collapse:collapse;font-size:13.5px;line-height:1.45}
th,td{padding:8px 12px;border-bottom:1px solid var(--border);text-align:left;vertical-align:top}
tbody tr:last-child td{border-bottom:0}
th{background:var(--raised);color:var(--text-2);font:500 11px var(--font-ui);letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.al-center{text-align:center}.al-right{text-align:right}
blockquote{margin:16px 0;padding:10px 16px;border-left:2px solid var(--border-strong);background:var(--raised);color:var(--text-2)}
blockquote p:last-child{margin-bottom:0}
.callout{margin:18px 0;padding:12px 16px 2px;border:1px solid var(--border);border-left:3px solid var(--muted);border-radius:var(--r-control);background:var(--raised)}
.callout-title{margin-bottom:6px;color:var(--text-2);font:600 11px var(--font-ui);letter-spacing:.08em;text-transform:uppercase}
.callout p,.callout ul,.callout ol{margin:0 0 10px}
.callout-plan{border-left-color:var(--accent)}.callout-plan .callout-title{color:var(--accent-text)}
.callout-tip{border-left-color:var(--up)}.callout-tip .callout-title{color:var(--up)}
.callout-warning{border-left-color:var(--warn)}.callout-warning .callout-title{color:var(--warn)}
.missing{color:var(--down);font-family:var(--font-mono)}
.tba{color:var(--warn);border-bottom:1px dashed var(--warn)}
.edition{display:inline-block;margin-left:10px;padding:1px 8px;vertical-align:5px;border:1px solid var(--accent);border-radius:var(--r-badge);background:var(--accent-subtle);color:var(--accent-text);font:500 11px/1.6 var(--font-ui);letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
html[data-lang=hu] [data-lang=en],html[data-lang=en] [data-lang=hu]{display:none}
.totop{position:fixed;right:20px;bottom:20px;width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border-strong);border-radius:var(--r-control);background:var(--raised);color:var(--text-2);box-shadow:var(--shadow);cursor:pointer;opacity:0;pointer-events:none;transition:opacity .2s}
.totop.show{opacity:1;pointer-events:auto}
.totop svg{width:16px;height:16px}
.lightbox{position:fixed;inset:0;z-index:50;display:none;overflow:auto;padding:24px;background:rgba(0,0,0,.84);cursor:zoom-out}
.lightbox.open{display:grid;place-items:center}
.lightbox img{max-width:none;border:1px solid var(--border-strong);border-radius:var(--r-panel);background:var(--bg)}
@media (max-width:960px){.layout{grid-template-columns:minmax(0,1fr);padding:12px 12px 72px}.side{display:none;position:fixed;top:52px;left:0;right:0;bottom:0;z-index:15;max-height:none;padding:12px 8px 24px;background:var(--surface)}.side.open{display:block}.menu-btn{display:inline-flex}.topbar-inner{padding:0 12px;gap:10px}.brand-sep,.brand-title{display:none}article{padding:20px 16px 40px}.doc-head h1{font-size:22px}article h2{font-size:19px}}
@media print{.topbar,.side,.totop,.lightbox{display:none!important}body{background:#fff}.layout{display:block;max-width:none;padding:0}article{border:0;border-radius:0;padding:0}article h2{break-before:page}article h2:first-of-type{break-before:auto}figure,table,.callout{break-inside:avoid}figure img{max-height:70vh;width:auto}figure img.shot-dark{display:none!important}figure img.shot-light{display:block!important}a{color:inherit}}