
/* Rajdhani 500/600 and Share Tech Mono 400, inlined for offline use (SIL Open Font License). */
@font-face{font-family:"Rajdhani";font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/23afdb9b.woff2) format("woff2");}
@font-face{font-family:"Rajdhani";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/433a7007.woff2) format("woff2");}
@font-face{font-family:"Share Tech Mono";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/41e6b9f2.woff2) format("woff2");}
/* Classic CSS for the MCU2 browser. No nesting, layers, or color-mix. */

.cabin {
  min-height: 100vh;
  background: #090909;
  color: #ffd2cc;
  font-family: Rajdhani, "Arial Narrow", Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.cabin button,
.cabin input {
  font-family: inherit;
}

.cabin-mono,
.glance-v,
.speed-read,
.clock,
.side-value,
.setpoint {
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-weight: 400;
}

.eyebrow {
  margin: 0;
  color: #ff4b3e;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.preview-banner,
.asleep-banner,
.notice {
  margin: 0;
  padding: 8px 12px;
  text-align: center;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
}

.preview-banner {
  background: #2a140c;
  color: #ffb089;
}

.asleep-banner {
  background: #1a0c0c;
  color: #ff4b3e;
}

.notice {
  background: #140c0c;
  color: #ffd2cc;
  text-transform: none;
  letter-spacing: 0.02em;
}

.bezel-top,
.glance,
.wide-body,
.climate-bar,
.stack-section,
.connect-card,
.side-card {
  border-color: #4a2422;
}

.bezel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 10px 16px;
  border-bottom: 1px solid #4a2422;
}

.car-name {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.clock {
  margin: 0;
  font-size: 28px;
  color: #ff4b3e;
}

.link-pill {
  margin: 0;
  color: #c4524a;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
}

.glance {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #4a2422;
}

.glance-item {
  flex: 1 1 110px;
  min-height: 76px;
  padding: 10px 14px 12px;
  border-right: 1px solid #2c1616;
  box-sizing: border-box;
}

.glance-k,
.side-k,
.field-label {
  margin: 0 0 4px;
  color: #c4524a;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.glance-v {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  color: #ff4b3e;
}

.glance-u {
  margin-left: 4px;
  color: #c4524a;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.cabin-stack {
  display: block;
}

.cabin-wide {
  display: none;
}

.stack-section,
.connect-card {
  padding: 16px;
  border-bottom: 1px solid #2c1616;
}

.section-title {
  margin: 0 0 12px;
  color: #ff4b3e;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.speed-row {
  display: flex;
  align-items: flex-end;
  gap: 18px;
}

.speed-read {
  margin: 0;
  font-size: 84px;
  line-height: 0.85;
  color: #ff4b3e;
}

.gear-read {
  margin: 0 0 8px;
  font-size: 42px;
  letter-spacing: 0.12em;
  color: #ffd2cc;
}

.power {
  margin-top: 16px;
}

.power-track {
  position: relative;
  height: 10px;
  background: #1a0e0e;
  border: 1px solid #4a2422;
}

.power-zero {
  position: absolute;
  top: -3px;
  bottom: -3px;
  left: 50%;
  width: 1px;
  background: #c4524a;
}

.power-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  background: #ff4b3e;
}

.power-caption {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  color: #c4524a;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.hit {
  min-height: 48px;
  min-width: 48px;
  padding: 0 14px;
  background: #120c0c;
  color: #ffd2cc;
  border: 1px solid #5a3030;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 16px;
}

.hit-wide {
  width: 100%;
}

.hit.is-on,
.hit[aria-pressed="true"] {
  background: #ff4b3e;
  border-color: #ff4b3e;
  color: #1a0908;
}

.hit:disabled {
  opacity: 0.38;
}

.hit:focus {
  outline: 2px solid #ff4b3e;
  outline-offset: 2px;
}

.setpoint {
  min-width: 4.5ch;
  margin: 0;
  font-size: 40px;
  line-height: 1;
  color: #ff4b3e;
  text-align: center;
}

.field {
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  margin: 0 0 8px;
  padding: 0 12px;
  background: #090909;
  color: #ffd2cc;
  border: 1px solid #4a2422;
  font-size: 18px;
}

.field:focus {
  outline: 2px solid #ff4b3e;
  outline-offset: 1px;
}

.schematic {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin-top: 12px;
  background: #070707;
  border: 1px solid #4a2422;
}

.battery {
  width: 140px;
  height: 140px;
}

.side-value {
  margin: 0;
  font-size: 28px;
  color: #ff4b3e;
}

.climate-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 72px;
  padding: 10px 12px;
  box-sizing: border-box;
  background: #0c0c0c;
  border-top: 1px solid #4a2422;
}

.cabin-stack .climate-bar {
  position: sticky;
  bottom: 0;
}

.login-page {
  max-width: 420px;
  margin: 0 auto;
  padding: 48px 20px;
}

.login-page h1 {
  margin: 8px 0;
  font-size: 42px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-copy {
  margin: 0 0 18px;
  color: #c4524a;
  font-size: 18px;
}

.login-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cabin-miss {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #090909;
  color: #ffd2cc;
  font-family: Rajdhani, "Arial Narrow", Arial, sans-serif;
}

.cabin-miss a {
  color: #ff4b3e;
}

.connect-card p {
  margin: 0 0 10px;
  color: #c4524a;
}

.uri {
  word-break: break-all;
  color: #ffd2cc;
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 13px;
}

@media (min-width: 800px) and (orientation: landscape) {
  .cabin-stack {
    display: none;
  }

  .cabin-wide {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  .wide-body {
    flex: 1;
    display: flex;
    min-height: 0;
  }

  .rail {
    width: 168px;
    flex: 0 0 168px;
    border-right: 1px solid #4a2422;
    background: #0c0c0c;
  }

  .rail button {
    display: block;
    width: 100%;
    min-height: 56px;
    padding: 0 16px;
    text-align: left;
    background: transparent;
    color: #c4524a;
    border: 0;
    border-left: 3px solid transparent;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 16px;
  }

  .rail button.is-on {
    color: #ffd2cc;
    background: #1a0c0c;
    border-left-color: #ff4b3e;
  }

  .rail button:focus {
    outline: 2px solid #ff4b3e;
    outline-offset: -2px;
  }

  .panel {
    flex: 1;
    min-width: 0;
    overflow: auto;
    padding: 22px 28px 28px;
    display: flex;
    flex-direction: column;
  }

  .cabin-wide .panel .stack-section,
  .cabin-wide .panel .connect-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 0;
  }

  .side {
    width: 240px;
    flex: 0 0 240px;
    border-left: 1px solid #4a2422;
    padding: 16px;
    box-sizing: border-box;
  }

  .side-card {
    margin-bottom: 16px;
  }

  .speed-read {
    font-size: 112px;
  }

  .cabin-wide .climate-bar {
    position: static;
  }
}


html { color-scheme: dark; }
html, body {
  background: #090909;
  color: #ffd2cc;
  margin: 0;
  min-height: 100%;
}
button:not(:disabled),
[role="button"]:not(:disabled) {
  cursor: pointer;
}
.sign-label {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0;
  cursor: default;
  user-select: none;
}


a.hit {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-decoration: none;
  color: #ffd2cc;
  cursor: pointer;
}
