/* Phone-first layout. Black field, large numerals, hairline rows.
   Inter is the text face. Brand purple stays in style.css for the mark only. */
body.w {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  background: #000;
}
body.w h1,
body.w h2,
body.w legend {
  font-weight: 500;
  letter-spacing: -0.02em;
}
body.w main {
  max-width: 390px;
  padding: 8px 0 128px;
}
body.w .page-h {
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 8px 20px 6px;
  color: #fff;
}
body.w .lede {
  margin: 0 20px 22px;
  color: #8e8e93;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}
.ring-fill { filter: none; }

.hero-num {
  display: block;
  font-size: 92px;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}
.hero-num.dash { color: #8e8e93; }
.ring-xl {
  width: auto;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.ring-xl em {
  font-style: normal;
  font-size: 17px;
  font-weight: 400;
  color: #8e8e93;
}
.hero {
  margin: 36px 0 48px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.spot { font-size: 22px; font-weight: 500; margin: 28px 0 0; }
.time { color: #8e8e93; font-size: 16px; font-weight: 400; margin-top: 6px; }

.group { margin: 0 0 28px; }
.group h2 {
  margin: 0 20px 8px;
  font-size: 13px;
  font-weight: 500;
  color: #8e8e93;
}
.fold {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.group .fold:last-of-type { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.fold summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 22px 20px;
  cursor: pointer;
}
.fold summary::-webkit-details-marker { display: none; }
.fold summary span { font-size: 17px; font-weight: 400; }
.fold summary b {
  font-size: 17px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.fold summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #8e8e93;
  border-bottom: 1.5px solid #8e8e93;
  transform: rotate(45deg);
  margin-left: 8px;
  flex: 0 0 auto;
}
.fold[open] summary::after { transform: rotate(-135deg); margin-top: 6px; }
.fold dl { margin: 0 20px 8px; }
.fold dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 15px;
}
.fold dt { color: #8e8e93; font-weight: 400; }
.fold dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.deeper, .places-link a {
  display: inline-block;
  margin: 4px 20px 18px;
  color: #fff;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 2px;
}
.places-link { margin: 8px 0 28px; }

.schedule-note {
  margin: 0 20px 18px;
  color: #8e8e93;
  font-size: 15px;
}
.place-list { list-style: none; margin: 8px 0 0; padding: 0; }
.place-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 22px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
}
.place-list b { font-weight: 500; font-variant-numeric: tabular-nums; }
.place-list small { grid-column: 1 / -1; color: #8e8e93; font-size: 14px; }
.place-list .empty { padding: 22px 20px; color: #8e8e93; }
.place-form { display: flex; flex-direction: column; gap: 18px; padding: 8px 20px 12px; }
.place-form label, .place-form legend { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: #8e8e93; }
.place-form input[type="text"],
.place-form input:not([type="range"]):not([type="checkbox"]):not([type="hidden"]) {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font: 400 20px/1.3 "Inter", system-ui, sans-serif;
  padding: 8px 0;
  border-radius: 0;
}
.radius b { font-size: 40px; font-weight: 400; color: #fff; letter-spacing: -0.03em; }
.radius input[type="range"] { width: 100%; accent-color: #fff; }
.hours { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.hour { position: relative; }
.hour input { position: absolute; opacity: 0; }
.hour span {
  display: block;
  text-align: center;
  padding: 10px 0;
  border-radius: 8px;
  background: #141414;
  color: #fff;
  font-size: 13px;
}
.hour input:checked + span { background: #fff; color: #000; }
.place-form .save, button.save {
  margin-top: 8px;
  background: #fff;
  color: #000;
  border: 0;
  border-radius: 8px;
  padding: 14px 16px;
  font: 500 16px/1 "Inter", system-ui, sans-serif;
}
.text-btn {
  background: transparent;
  color: #8e8e93;
  border: 0;
  padding: 12px 20px;
  font: 400 15px/1 "Inter", system-ui, sans-serif;
}
.chart-host { margin: 12px 8px 0; min-height: 260px; }
.empty-chart { margin: 28px 20px; font-size: 28px; font-weight: 400; color: #8e8e93; }
.back { margin: 8px 20px 0; }
.back a { color: #8e8e93; text-decoration: none; font-size: 15px; }
.legend-key { list-style: none; display: flex; gap: 16px; margin: 8px 20px 0; padding: 0; color: #8e8e93; font-size: 13px; }
.swatch { display: inline-block; width: 12px; height: 3px; margin-right: 6px; vertical-align: middle; background: #8e8e93; }
.swatch.on { background: #f4f4f4; }
.uplot, .u-wrap { background: transparent !important; }
.u-axis { color: #8e8e93; }

/* My Car: same black field, larger battery figure, flatter rows. */
body.mycar-w { background: #000; }
.mycar-w .mc-card {
  background: transparent;
  border-radius: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 26px 4px;
  margin: 0;
}
.mycar-w .mc-big { font-size: 84px; font-weight: 400; letter-spacing: -0.045em; line-height: 0.9; }
.mycar-w .mc-h1 { font-size: 28px; font-weight: 500; letter-spacing: -0.03em; }
.mycar-w .mc-tile { background: transparent; border-radius: 0; padding: 8px 0; }
.mycar-w .mc-tabs a { background: transparent; border-radius: 0; color: #8e8e93; font-weight: 500; }
.mycar-w .mc-tabs a.on { background: transparent; color: #fff; }
.mycar-w .mc-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-weight: 500;
}
.mycar-w .mc-list { display: block; }
.mycar-w .mc-group summary { font-size: 17px; }

/* Admin: same type and spacing. Purple title becomes white. */
.admin-w .page-h { color: #fff; }
.admin-w .card {
  background: transparent;
  border-radius: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 26px 0;
}
.admin-w .health-list li { padding: 16px 0; font-weight: 400; }
.admin-w .health-list b { font-size: 18px; font-weight: 500; font-variant-numeric: tabular-nums; }
.admin-badge { background: transparent; color: #8e8e93; border-radius: 0; letter-spacing: 0.08em; font-weight: 500; }
