/* icestorm.css v4 — widgets + branding */

/* ══════ ANTI-REACT: Hide elements CSS-first, JS adds siblings ══════ */

/* Mobile header vendor logo — hidden, Ice Storm canvas injected as sibling */
svg.app-titlebar__brand-logo {
  display: none !important;
}

/* Widget containers inside Shadow DOM */
.ledgeos-widget {
  width: 100%;
  min-height: 100px;
  margin: 12px 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-2, #f5f5f5);
  border: 1px solid var(--bg-3, #e0e0e0);
}
.ledgeos-widget canvas {
  max-width: 100%;
}

/* Leaflet map fix inside Shadow DOM */
.ledgeos-widget .leaflet-container {
  width: 100%;
  height: 300px;
}

/* Trading chart */
.ledgeos-widget[data-widget-type="trading"] {
  height: 320px;
  background: var(--bg-1, #fff);
}

/* Data table */
.ledgeos-widget table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.ledgeos-widget th {
  background: var(--bg-1, #fafafa);
  font-weight: 600;
  text-align: left;
}
.ledgeos-widget th, .ledgeos-widget td {
  padding: 8px 12px;
  border: 1px solid var(--bg-3, #e0e0e0);
}
.ledgeos-widget tr:hover td {
  background: var(--bg-2, #f5f5f5);
}
