/* 01-base.css — theme variables (dark/light), reset, base elements */
  :root{
    --bg:#0E1117;
    --bg-2:#121620;
    --panel:#161A23;
    --panel-2:#1A1F2B;
    --border:#232836;
    --border-2:#2C3242;
    --text:#EAECEF;
    --text-2:#8B8E97;
    --text-3:#5E6068;
    --accent:#A855F7;
    --accent-2:#C084FC;
    --accent-glow:rgba(168,85,247,.45);
    --accent-soft:rgba(168,85,247,.14);
    --green:#0ECB81;
    --green-soft:rgba(14,203,129,.12);
    --red:#F6465D;
    --red-soft:rgba(246,70,93,.12);
    --yellow:#F0B90B;
    --blue:#4F8CF7;
    --radius:10px;
    --radius-sm:6px;
    --sb-w:228px;
    --top-h:54px;
    --sym-h:46px;
    --topbar-bg:linear-gradient(180deg,#0F1219 0%,#0C0F16 100%);
    --scrollbar:#2C3242;
    --chart-bg:#0E1117;
    --chart-grid:#1B2030;
    --chart-vgrid:#161B26;
    --chart-axis:#5E6068;
    --chart-cross:#8B8E97;
    --draw-color:#C084FC;
  }
  /* ---------- LIGHT THEME ---------- */
  :root[data-theme="light"]{
    --bg:#F5F6F8;
    --bg-2:#FFFFFF;
    --panel:#FFFFFF;
    --panel-2:#F0F2F5;
    --border:#E3E6EB;
    --border-2:#D2D7DE;
    --text:#171A21;
    --text-2:#555B66;
    --text-3:#9099A5;
    --accent:#7C3AED;
    --accent-2:#6D28D9;
    --accent-glow:rgba(124,58,237,.28);
    --accent-soft:rgba(124,58,237,.10);
    --green:#15A35F;
    --green-soft:rgba(21,163,95,.12);
    --red:#E0394D;
    --red-soft:rgba(224,57,77,.10);
    --yellow:#B7791F;
    --blue:#2563EB;
    --topbar-bg:linear-gradient(180deg,#FFFFFF 0%,#F1F3F7 100%);
    --scrollbar:#C7CCD3;
    --chart-bg:#FFFFFF;
    --chart-grid:#E8ECF1;
    --chart-vgrid:#F0F2F5;
    --chart-axis:#9099A5;
    --chart-cross:#B6BCC4;
    --draw-color:#7C3AED;
  }
  *{box-sizing:border-box;margin:0;padding:0}
  html,body{height:100%}
  body{
    font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
    background:var(--bg);color:var(--text);font-size:13px;line-height:1.4;
    -webkit-font-smoothing:antialiased;overflow:hidden;
  }
  ::-webkit-scrollbar{width:8px;height:8px}
  ::-webkit-scrollbar-thumb{background:var(--scrollbar);border-radius:4px}
  ::-webkit-scrollbar-track{background:transparent}
  button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}
  input,select{font-family:inherit;color:inherit;outline:none}

