/* Shared look of the examples. Colors use the DaisyUI variable names (--color-base-100, ...):
   static_bi components and the ECharts "app" theme pick them up automatically. */
:root {
  --color-base-100: #ffffff;
  --color-base-200: #f3f4f6;
  --color-base-300: #e5e7eb;
  --color-base-content: #1f2937;
  --color-primary: #0891b2;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --color-base-100: #1e2530;
  --color-base-200: #151a22;
  --color-base-300: #374151;
  --color-base-content: #e5e7eb;
  --color-primary: #22d3ee;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  margin: 0; padding: 1.25rem; background: var(--color-base-200); color: var(--color-base-content);
  font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
h1 { font-size: 1.35rem; margin: 0 0 .25rem; }
h2 { font-size: 1rem; margin: 0 0 .5rem; }
p.lead { margin: 0 0 1rem; opacity: .75; }
.toolbar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-bottom: 1rem; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); margin-bottom: 1rem; }
.grid.cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
.card { background: var(--color-base-100); border: 1px solid var(--color-base-300); border-radius: .6rem; padding: 1rem; min-width: 0; }
.wide { grid-column: 1 / -1; }
button.plain {
  font: inherit; color: inherit; background: var(--color-base-100); border: 1px solid var(--color-base-300);
  border-radius: .4em; padding: .35em .7em; cursor: pointer;
}
code { font-size: .9em; }
