:root{color:#102033;background:radial-gradient(circle at 100% 0,#fee4b380,#0000 32%),radial-gradient(circle at 0 18%,#aadbff66,#0000 28%),linear-gradient(#fff9f0 0%,#f5fbff 55%,#eef4fb 100%);font-family:Avenir Next,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{min-height:100vh}.shell{max-width:1300px;margin:0 auto;padding:32px 20px 60px}.hero{grid-template-columns:minmax(0,1.8fr) minmax(320px,1fr);align-items:stretch;gap:24px;margin-bottom:28px;display:grid}.hero-card{background:#ffffffd9;border:1px solid #1020331a;border-radius:22px;padding:28px;box-shadow:0 16px 48px #1b426e1c}.badge{color:#fff;letter-spacing:.08em;text-transform:uppercase;background:#102033;border-radius:999px;padding:5px 12px;font-size:11px;display:inline-block}h1{margin:14px 0 10px;font-family:Georgia,Times New Roman,serif;font-size:46px;font-weight:700;line-height:1.1}h2{margin:0 0 10px;font-family:Georgia,Times New Roman,serif;font-size:26px;font-weight:700}h3{margin:0 0 8px;font-family:Georgia,Times New Roman,serif;font-size:18px;font-weight:700}h4{text-transform:uppercase;letter-spacing:.05em;color:#0d5c9e;margin:0 0 10px;font-size:14px;font-weight:700}p{color:#364b63;margin:0;line-height:1.65}code{background:#0d5c9e14;border-radius:4px;padding:1px 5px;font-family:Consolas,Liberation Mono,monospace;font-size:.9em}pre{color:#dfeaf6;white-space:pre;background:#0f2137;border-radius:12px;margin:10px 0;padding:12px 14px;font-family:Consolas,Liberation Mono,monospace;font-size:12.5px;line-height:1.6;overflow-x:auto}pre.code{color:#1a2f47;background:#f0f5fa;border:1px solid #10203314}.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px;display:grid}.feature{color:#364b63;background:linear-gradient(#fff 0%,#f2f7fb 100%);border:1px solid #10203312;border-radius:14px;padding:12px 14px;font-size:13.5px;line-height:1.5}.feature strong{color:#102033;text-transform:uppercase;letter-spacing:.05em;margin-bottom:3px;font-size:12px;display:block}.hero-setup{grid-template-rows:auto auto 1fr auto;gap:16px;display:grid}.step{align-items:flex-start;gap:12px;display:flex}.step>div{min-width:0}.step-num{color:#fff;background:#0d5c9e;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;font-size:14px;font-weight:700;display:flex}.step strong{color:#102033;margin-bottom:6px;font-size:13px;display:block}.hero-setup pre{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;font-size:11.5px;line-height:1.55}.cta-row{flex-wrap:wrap;gap:10px;margin-top:18px;display:flex}.btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#d24b2a 0%,#1f5ba7 100%);border-radius:999px;padding:10px 18px;font-size:14px;font-weight:600;text-decoration:none;display:inline-block}.btn.secondary{color:#14324f;background:#edf4fa;border:1px solid #14324f1f}.layout{grid-template-columns:minmax(0,1fr) 280px;align-items:start;gap:24px;display:grid}.panels{flex-direction:column;gap:24px;display:flex}.panel{background:#ffffffd9;border:1px solid #1020331a;border-radius:22px;padding:24px;box-shadow:0 16px 48px #1b426e1a}.panel-header{flex-direction:column;gap:6px;margin-bottom:18px;display:flex}.demo-grid{grid-template-columns:1fr;gap:18px;display:grid}.demo-card{background:linear-gradient(#fff 0%,#f7fafc 100%);border:1px solid #10203314;border-radius:18px;min-width:0;padding:18px;overflow:hidden}.demo-card.full{grid-column:1/-1}.chart-frame{background:#fff;border:1px solid #10203312;border-radius:14px;min-width:0;min-height:300px;margin-top:14px;padding:8px;overflow:hidden}.chart-host{width:100%;min-width:0;display:block}.chart-host,.chart-host>div,.chart-host .highcharts-container,.chart-host .highcharts-root,.chart-host svg{max-width:100%!important}.chart-host>div,.chart-host .highcharts-container{width:100%!important}.chart-host{min-height:300px}.chart-placeholder{color:#4b6178;background:linear-gradient(135deg,#eef4fbb3,#fff9f0e6);place-items:center;font-weight:700;display:grid}.controls{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}button{appearance:none;font:inherit;color:#fff;cursor:pointer;background:linear-gradient(135deg,#d24b2a 0%,#1f5ba7 100%);border:0;border-radius:999px;padding:9px 15px;font-size:13px;font-weight:600}button.secondary{color:#14324f;background:#edf4fa;border:1px solid #14324f1f}button.ghost{color:#14324f;background:0 0;border:1px dashed #14324f38}button.small{padding:6px 12px;font-size:12px}.note{color:#6f4a16;background:#fff6e8;border:1px solid #d2801f29;border-radius:12px;margin-top:12px;padding:10px 12px;font-size:13px}.module-error{color:#b14a36;margin:12px 0 0;font-size:.92rem;line-height:1.5}.ref-panel .ref-grid{flex-direction:column;gap:18px;display:flex}.ref-card{background:linear-gradient(#fff 0%,#f7fafc 100%);border:1px solid #10203314;border-radius:14px;padding:16px}.api-table{border-collapse:collapse;width:100%;font-size:13px}.api-table th{text-align:left;color:#102033;text-transform:uppercase;letter-spacing:.04em;background:#0d5c9e0f;padding:6px 10px;font-size:12px}.api-table td{color:#364b63;vertical-align:top;border-top:1px solid #1020330f;padding:6px 10px}.api-table td:first-child{white-space:nowrap}.log-panel{background:#ffffffd9;border:1px solid #1020331a;border-radius:22px;flex-direction:column;gap:10px;min-width:0;max-height:calc(100vh - 40px);padding:20px;display:flex;position:sticky;top:20px;overflow:hidden;box-shadow:0 16px 48px #1b426e1a}.log-controls{justify-content:flex-end;display:flex}.log-list{flex-direction:column;flex:1;gap:6px;display:flex;overflow-y:auto}.log-entry{color:#27425f;word-break:break-all;background:#f6f9fc;border:1px solid #10203312;border-radius:12px;padding:9px 12px;font-family:Consolas,Liberation Mono,monospace;font-size:12.5px;line-height:1.45}.footer{color:#c8d8ea;background:#102033eb;border-radius:18px;margin-top:28px;padding:20px 24px}@media (width<=1280px){.layout{grid-template-columns:minmax(0,1fr) 260px}.demo-card.full{grid-column:auto}}@media (width<=1100px){.hero,.layout{grid-template-columns:1fr}.layout{gap:18px}.panels,.log-panel{min-width:0}.log-panel{order:2;max-height:min(360px,50vh);position:static}}@media (width<=760px){.demo-grid{grid-template-columns:1fr}.demo-card.full{grid-column:auto}.chart-frame{min-height:240px;padding:4px}.chart-host{min-height:240px}h1{font-size:34px}.feature-grid{grid-template-columns:1fr}}@media (width<=500px){.shell{padding:18px 12px 40px}.hero-card,.panel,.log-panel{border-radius:16px;padding:16px}.chart-frame,.chart-host{min-height:220px}}
