/* [project]/app/globals.css [app-client] (css) */
:root {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --bg: #06101d;
  --panel: #0d1b2d;
  --panel2: #10243c;
  --line: #213d5d;
  --text: #f6f8fc;
  --muted: #91a7c1;
  --accent: #7eb7ff;
  --good: #7bd8a7;
  --warn: #f4bd6a;
}

* {
  box-sizing: border-box;
}

html, body {
  background: radial-gradient(circle at 88% -5%, #173f6d 0, transparent 30%),
    radial-gradient(circle at -10% 30%, #112b49 0, transparent 26%),
    var(--bg);
  min-height: 100%;
  color: var(--text);
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
}

body {
  min-height: 100vh;
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 24px 100px;
}

.topbar {
  justify-content: space-between;
  align-items: center;
  gap: 34px;
  display: flex;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 800;
}

h1 {
  letter-spacing: -.055em;
  margin: 8px 0 14px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: .98;
}

h2 {
  letter-spacing: -.035em;
  margin: 7px 0;
  font-size: 28px;
}

p {
  color: var(--muted);
  line-height: 1.6;
}

.muted {
  color: var(--muted);
}

.warningText {
  color: var(--warn);
}

.headerPills {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.socBlock {
  align-items: center;
  gap: 20px;
  display: flex;
}

.socRing {
  text-align: center;
  background: #0a1c30b8;
  border: 14px solid #315d87;
  border-radius: 50%;
  place-content: center;
  width: 164px;
  height: 164px;
  display: grid;
  box-shadow: inset 0 0 0 1px #4e799f, 0 24px 60px #00000040;
}

.socRing strong {
  letter-spacing: -.05em;
  font-size: 34px;
}

.socRing span, .rangeMini span {
  color: var(--muted);
  font-size: 12px;
}

.rangeMini {
  min-width: 110px;
}

.rangeMini strong {
  letter-spacing: -.03em;
  font-size: 24px;
  display: block;
}

.sourceRow {
  color: var(--muted);
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 18px 0 28px;
  font-size: 12px;
  display: flex;
}

.sourceRow span + span:before {
  content: "•";
  margin-right: 12px;
}

.textButton {
  color: var(--accent);
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  margin-left: auto;
  font-weight: 750;
}

.grid {
  gap: 14px;
  display: grid;
}

.overviewGrid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.batteryGrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.metric, .panel, .debugPanel {
  border: 1px solid var(--line);
  background: linear-gradient(#112640f0, #09182af2);
  border-radius: 22px;
  box-shadow: 0 18px 45px #00000029;
}

.metric {
  flex-direction: column;
  justify-content: space-between;
  min-height: 132px;
  padding: 20px;
  display: flex;
}

.metricTop {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  display: flex;
}

.metricTop > span {
  color: var(--muted);
  font-size: 13px;
}

.metric strong {
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
  font-size: 26px;
}

.metric small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.panel, .debugPanel {
  margin-top: 14px;
  padding: 26px;
}

.debugPanel {
  background: #071220b8;
}

.sectionHeader {
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  display: flex;
}

.split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  display: grid;
}

.pill {
  color: #c9d8e8;
  background: #10253dcc;
  border: 1px solid #385571;
  border-radius: 999px;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
}

.pill.good {
  color: var(--good);
  background: #20553c38;
  border-color: #7bd8a75c;
}

.pill.warn {
  color: var(--warn);
  background: #63441738;
  border-color: #f4bd6a6b;
}

.freshnessTag {
  color: #7692ae;
  white-space: nowrap;
  font-size: 10px;
}

.freshnessTag.stale {
  color: var(--warn);
}

.statusList {
  border-top: 1px solid var(--line);
  margin-top: 18px;
}

.statusList > div {
  border-bottom: 1px solid #213d5da6;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  display: grid;
}

.statusList span {
  color: var(--muted);
  font-size: 13px;
}

.statusList strong {
  font-size: 14px;
}

.bigValue {
  letter-spacing: -.055em;
  margin: 24px 0 10px;
  font-size: 54px;
  font-weight: 800;
}

.tires {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
  display: grid;
}

.tires div {
  border: 1px solid var(--line);
  background: #06111f7a;
  border-radius: 16px;
  flex-direction: column;
  justify-content: space-between;
  min-height: 110px;
  padding: 16px;
  display: flex;
}

.tires span {
  color: var(--muted);
  font-weight: 800;
}

.tires strong {
  font-size: 22px;
}

.tires small {
  color: var(--muted);
}

.sectionFreshness {
  margin-top: 12px;
}

.historyStats {
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 22px 0;
  display: grid;
}

.historyStats div {
  border: 1px solid var(--line);
  background: #06111f61;
  border-radius: 14px;
  padding: 14px;
}

.historyStats span {
  color: var(--muted);
  margin-bottom: 5px;
  font-size: 11px;
  display: block;
}

.historyStats strong {
  font-size: 18px;
}

.chartGrid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  display: grid;
}

.sparkWrap, .sparkEmpty {
  border: 1px solid var(--line);
  background: #06111f6b;
  border-radius: 16px;
  min-height: 196px;
  padding: 16px;
}

.sparkWrap {
  color: var(--accent);
}

.sparkHeader {
  color: var(--text);
  justify-content: space-between;
  font-size: 13px;
  display: flex;
}

.sparkWrap svg {
  width: 100%;
  height: 130px;
  margin-top: 8px;
}

.sparkRange {
  color: var(--muted);
  justify-content: space-between;
  display: flex;
}

.sparkEmpty {
  flex-direction: column;
  justify-content: center;
  display: flex;
}

.sparkEmpty span {
  margin-bottom: 6px;
  font-weight: 750;
}

.sparkEmpty small {
  color: var(--muted);
}

.button, .secondary, .secondaryLink {
  font: inherit;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  display: inline-flex;
}

.button {
  background: var(--text);
  color: #07111f;
  padding: 13px 20px;
  text-decoration: none;
}

.secondary, .secondaryLink {
  color: var(--text);
  cursor: pointer;
  background: #183350;
  border: 1px solid #315372;
  padding: 10px 15px;
  font-size: 13px;
  text-decoration: none;
}

.secondary:disabled {
  opacity: .5;
  cursor: wait;
}

.raw {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 18px;
}

.raw summary {
  cursor: pointer;
  color: var(--accent);
  font-weight: 750;
}

pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #cfdded;
  background: #030b15;
  border: 1px solid #162a42;
  border-radius: 14px;
  max-height: 500px;
  padding: 18px;
  font-size: 12px;
  line-height: 1.5;
  overflow: auto;
}

.connectPanel {
  margin-top: 10vh;
}

@media (max-width: 980px) {
  .overviewGrid, .batteryGrid, .tires {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  main {
    padding-top: 30px;
  }

  .topbar, .socBlock {
    align-items: flex-start;
  }

  .socRing {
    border-width: 10px;
    width: 122px;
    height: 122px;
  }

  .socRing strong {
    font-size: 25px;
  }

  .rangeMini strong {
    font-size: 19px;
  }

  .split, .chartGrid {
    grid-template-columns: 1fr;
  }

  .historyStats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .topbar {
    display: block;
  }

  .socBlock {
    justify-content: space-between;
    margin-top: 22px;
  }

  .overviewGrid, .batteryGrid {
    grid-template-columns: 1fr;
  }

  .tires {
    grid-template-columns: repeat(2, 1fr);
  }

  .sectionHeader {
    align-items: flex-start;
  }

  .sourceRow .textButton {
    margin-left: 0;
  }
}

/*# sourceMappingURL=app_globals_0yg4wg8plh8sv.css.map*/