:root {
  --bh-paper: #ffffff;
  --bh-surface: #ffffff;
  --bh-ink: #111111;
  --bh-muted: #66655f;
  --bh-line: #111111;
  --bh-soft-line: rgba(17, 17, 17, 0.18);
  --bh-good: #54c74d;
  --bh-watch: #e8e515;
  --bh-service: #ffb21c;
  --bh-danger: #dc4949;
  --bh-font-display: "Barlow Condensed", "Helvetica Neue", Arial, sans-serif;
  --bh-font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --bh-jp-section-size: clamp(34px, 4.2vw, 54px);
}

[data-theme="dark"] {
  --bh-paper: #121212;
  --bh-surface: #1b1b1b;
  --bh-ink: #f5f4ef;
  --bh-muted: #a7a59d;
  --bh-line: #f5f4ef;
  --bh-soft-line: rgba(245, 244, 239, 0.2);
}

body.battery-health-page {
  --bh-paper: #ffffff;
  --bh-surface: #ffffff;
  --bh-ink: #111111;
  --bh-muted: #66655f;
  --bh-line: #111111;
  --bh-soft-line: rgba(17, 17, 17, 0.18);
  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-surface-elevated: #ffffff;
  --color-text-primary: #111111;
  --color-text-secondary: #66655f;
  --color-text-muted: #77766f;
  --color-border: rgba(17, 17, 17, 0.18);
  --color-border-strong: #111111;
  --bg: #ffffff;
  --bg-alt: #ffffff;
  --text: #111111;
  --text-2: #66655f;
  --text-muted: #77766f;
  --border: rgba(17, 17, 17, 0.18);
  --border-strong: #111111;
  --header-bg: rgba(255, 255, 255, 0.94);
  color-scheme: light;
  background: #ffffff;
  color: #111111;
  font-family: var(--bh-font-jp);
}

.battery-health-main {
  overflow: clip;
}

.bh-hero {
  border-bottom: 1px solid var(--bh-line);
  background: var(--bh-paper);
}

.bh-hero__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.bh-hero__copy,
.bh-hero__visual {
  min-width: 0;
}

.bh-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(64px, 8vw, 104px) 0 clamp(52px, 6vw, 76px);
  text-align: center;
}

.bh-kicker,
.bh-section-kicker {
  margin: 0 0 14px;
  font-family: var(--bh-font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.bh-hero h1 {
  max-width: 980px;
  margin: 0;
  font-family: var(--font-product-display, var(--bh-font-display));
  font-size: clamp(72px, 10vw, 128px);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.bh-hero__jp-title {
  display: block;
  max-width: 760px;
  margin-top: 22px;
  font-family: var(--font-ja-display, var(--bh-font-jp));
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  white-space: nowrap;
}

.bh-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
}

.bh-hero__start {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  min-width: 220px;
  padding: 17px 20px;
  border: 1px solid var(--bh-line);
  background: var(--bh-ink);
  color: var(--bh-paper);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.bh-hero__start:hover,
.bh-hero__start:focus-visible {
  transform: translateY(-2px);
  background: var(--bh-good);
  color: #111;
}

.bh-hero__visual {
  scroll-margin-top: 76px;
  padding: clamp(42px, 5vw, 64px) 0 clamp(64px, 7vw, 88px);
  border-top: 1px solid var(--bh-line);
}

.bh-hero__meter {
  display: grid;
  gap: 24px;
}

.bh-hero__step {
  margin: 0;
  font-family: var(--bh-font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.bh-hero__question {
  margin: 0;
  font-family: var(--font-ja-display, var(--bh-font-jp));
  font-size: var(--bh-jp-section-size);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.bh-hero__meter-label {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--bh-line);
  padding-bottom: 12px;
  font-family: var(--bh-font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bh-hero__meter-label strong {
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.8;
  letter-spacing: -0.03em;
}

.bh-hero__status {
  display: block;
}

.bh-hero__drag-help {
  color: var(--bh-muted);
  font-size: 12px;
  font-weight: 600;
}

.bh-battery {
  position: relative;
  display: flex;
  align-items: center;
}

.bh-battery__body {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: clamp(4px, 0.55vw, 8px) solid currentColor;
  border-radius: clamp(18px, 2vw, 34px);
  background: var(--bh-surface);
}

.bh-battery__tip {
  order: 2;
  width: clamp(14px, 1.4vw, 24px);
  height: 30%;
  border-radius: 0 8px 8px 0;
  background: currentColor;
}

.bh-battery__fill {
  position: absolute;
  inset: clamp(8px, 1vw, 14px);
  width: auto;
  border-radius: clamp(10px, 1.2vw, 20px);
  background: var(--bh-watch);
  transform: scaleX(var(--battery-ratio, 0.84));
  transform-origin: left center;
  transition: transform 240ms ease, background-color 240ms ease;
}

.bh-battery__fill[data-tone="good"] {
  background: var(--bh-good);
}

.bh-battery__fill[data-tone="watch"] {
  background: var(--bh-watch);
}

.bh-battery__fill[data-tone="service"] {
  background: var(--bh-service);
}

.bh-battery__fill[data-tone="danger"] {
  background: var(--bh-danger);
}

.bh-battery__fill[data-tone="ink"] {
  background: var(--bh-ink);
}

.bh-battery__joint {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: calc(var(--battery-level, 84%) - 13px);
  width: 26px;
  height: 48px;
  border: 3px solid var(--bh-ink);
  border-radius: 999px;
  background: var(--bh-paper);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--bh-surface) 72%, transparent);
  transform: translate(-50%, -50%);
  transition: left 120ms ease;
  pointer-events: none;
}

.bh-battery__joint::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 16px;
  border-right: 1px solid var(--bh-ink);
  border-left: 1px solid var(--bh-ink);
  transform: translate(-50%, -50%);
}

.bh-battery__range {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.bh-battery--hero {
  --bh-battery-track-inset: clamp(7px, 0.8vw, 10px);
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
}

.bh-battery--hero .bh-battery__fill {
  inset: var(--bh-battery-track-inset) auto var(--bh-battery-track-inset) var(--bh-battery-track-inset);
  width: calc(clamp(var(--bh-battery-track-inset), var(--battery-level, 84%), calc(100% - var(--bh-battery-track-inset))) - var(--bh-battery-track-inset));
  transform: none;
  transition: width 240ms ease, background-color 240ms ease;
}

.bh-battery--hero .bh-battery__joint {
  left: clamp(var(--bh-battery-track-inset), var(--battery-level, 84%), calc(100% - var(--bh-battery-track-inset)));
  width: 20px;
  height: 30px;
  border-width: 2px;
  border-radius: 8px;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--bh-surface) 72%, transparent);
}

.bh-battery--hero .bh-battery__joint::after {
  width: 3px;
  height: 10px;
}

.bh-battery--hero:focus-within .bh-battery__body {
  outline: 3px solid var(--bh-good);
  outline-offset: 5px;
}

.bh-battery--hero .bh-battery__body {
  height: clamp(72px, 7.5vw, 96px);
  border-width: clamp(3px, 0.4vw, 5px);
  border-radius: clamp(14px, 1.4vw, 22px);
}

.bh-device-picker {
  scroll-margin-top: 76px;
  border-bottom: 1px solid var(--bh-line);
  background: var(--bh-surface);
}

.bh-device-picker__inner {
  display: block;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(64px, 7vw, 88px) 40px;
}

.bh-device-picker__header h2 {
  margin: 0;
  font-family: var(--font-ja-display, var(--bh-font-jp));
  font-size: var(--bh-jp-section-size);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.bh-device-picker__header > p:last-child {
  max-width: 730px;
  margin: 16px 0 0;
  color: var(--bh-muted);
  font-size: 14px;
  line-height: 1.85;
}

.bh-device-picker__control {
  margin-top: 34px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--bh-line);
  background: var(--bh-paper);
  box-shadow: none;
}

.bh-device-picker__control .bh-model-field {
  margin-top: 0;
}

.bh-device-picker__next {
  width: 100%;
  margin-top: 28px;
}

.bh-intro {
  border-bottom: 1px solid var(--bh-line);
  background: var(--bh-surface);
}

.bh-intro__inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 112px) clamp(24px, 5vw, 72px);
}

.bh-intro__title {
  margin: 0;
  font-family: var(--bh-font-display);
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 700;
  line-height: 0.9;
  text-transform: uppercase;
}

.bh-intro__body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--bh-line);
  border-left: 1px solid var(--bh-line);
}

.bh-intro__item {
  min-width: 0;
  padding: 22px;
  border-right: 1px solid var(--bh-line);
  border-bottom: 1px solid var(--bh-line);
}

.bh-intro__item span {
  display: block;
  margin-bottom: 28px;
  font-family: var(--bh-font-display);
  font-size: 13px;
  font-weight: 700;
}

.bh-intro__item strong {
  display: block;
  margin-bottom: 9px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.bh-intro__item p {
  margin: 0;
  color: var(--bh-muted);
  font-size: 13px;
  line-height: 1.8;
}

.bh-diagnosis {
  scroll-margin-top: 76px;
  border-bottom: 1px solid var(--bh-line);
  background: #ffffff;
}

.bh-diagnosis__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(64px, 7vw, 88px) 40px;
}

.bh-app {
  min-height: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.bh-progress {
  padding: 0 0 28px;
  border-bottom: 1px solid var(--bh-line);
}

.bh-progress__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  font-family: var(--bh-font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.bh-progress__track {
  height: 6px;
  background: color-mix(in srgb, var(--bh-ink) 12%, transparent);
}

.bh-progress__track span {
  display: block;
  height: 100%;
  background: var(--bh-ink);
  transition: width 260ms ease;
}

.bh-question {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: clamp(38px, 5vw, 56px) 0 0;
}

.bh-question__header,
.bh-question__panel {
  min-width: 0;
}

.bh-question__panel {
  align-self: start;
}

.bh-question__eyebrow,
.bh-result__eyebrow,
.bh-result__section-label {
  margin: 0 0 12px;
  font-family: var(--bh-font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bh-question h2,
.bh-result h2 {
  max-width: 820px;
  margin: 0;
  font-family: var(--bh-font-jp);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: 0;
  outline: none;
}

.bh-question h2 {
  font-size: var(--bh-jp-section-size);
}

.bh-question__lead {
  max-width: 730px;
  margin: 16px 0 0;
  color: var(--bh-muted);
  font-size: 14px;
  line-height: 1.85;
}

.bh-model-field {
  display: grid;
  gap: 9px;
  margin: 42px 0 0;
}

.bh-model-field > span,
.bh-number-field > span:first-child {
  font-size: 12px;
  font-weight: 700;
}

.bh-model-field input {
  width: 100%;
  min-height: 72px;
  border: 0;
  border-bottom: 2px solid var(--bh-line);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--bh-ink);
  font-family: var(--bh-font-jp);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 600;
}

.bh-model-field input::placeholder {
  color: color-mix(in srgb, var(--bh-ink) 30%, transparent);
}

.bh-model-field input:focus {
  border-bottom-color: var(--bh-good);
}

.bh-model-field input[aria-invalid="true"] {
  border-bottom-color: var(--bh-danger);
}

.bh-field-note {
  margin: 12px 0 0;
  color: var(--bh-muted);
  font-size: 12px;
  line-height: 1.7;
}

.bh-capacity-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.75fr);
  gap: 24px 44px;
  align-items: center;
  margin-top: 34px;
}

.bh-capacity-control__readout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  border-bottom: 1px solid var(--bh-line);
  padding-bottom: 12px;
}

.bh-capacity-control__readout > span {
  grid-column: 1;
  font-size: 12px;
  font-weight: 700;
}

.bh-capacity-control__readout output {
  grid-column: 1;
  font-family: var(--bh-font-display);
  font-size: clamp(76px, 10vw, 130px);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.035em;
}

.bh-capacity-control__readout em {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  margin-bottom: 4px;
  padding: 6px 9px;
  background: var(--bh-watch);
  color: #111;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.bh-battery--control .bh-battery__body {
  height: 100px;
  border-width: 5px;
  border-radius: 18px;
}

.bh-battery--control .bh-battery__tip {
  width: 14px;
}

.bh-capacity-control input[type="range"] {
  grid-column: 1 / -1;
  width: 100%;
  height: 28px;
  accent-color: var(--bh-ink);
  cursor: pointer;
}

.bh-number-field {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--bh-soft-line);
}

.bh-number-field > span:last-child {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-family: var(--bh-font-display);
  font-size: 26px;
  font-weight: 700;
}

.bh-number-field input {
  width: 76px;
  border: 1px solid var(--bh-line);
  border-radius: 0;
  background: var(--bh-surface);
  color: var(--bh-ink);
  font: inherit;
  text-align: center;
}

.bh-help {
  margin-top: 24px;
  border-top: 1px solid var(--bh-soft-line);
  border-bottom: 1px solid var(--bh-soft-line);
}

.bh-help summary {
  padding: 13px 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.bh-help p {
  margin: 0;
  padding: 0 0 16px;
  color: var(--bh-muted);
  font-size: 13px;
  line-height: 1.8;
}

.bh-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
  border-top: 1px solid var(--bh-line);
  border-left: 1px solid var(--bh-line);
}

.bh-option {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: start;
  min-width: 0;
  min-height: 128px;
  padding: 20px;
  border: 0;
  border-right: 1px solid var(--bh-line);
  border-bottom: 1px solid var(--bh-line);
  background: var(--bh-surface);
  color: var(--bh-ink);
  font-family: var(--bh-font-jp);
  text-align: left;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  box-shadow: none;
  transform: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.bh-option:hover {
  background: color-mix(in srgb, var(--bh-good) 22%, var(--bh-surface));
}

.bh-option:focus-visible {
  background: color-mix(in srgb, var(--bh-good) 22%, var(--bh-surface));
  outline: none;
}

.bh-option.is-selected,
.bh-option.is-selected:hover,
.bh-option.is-selected:focus-visible {
  background: color-mix(in srgb, var(--bh-good) 20%, var(--bh-surface));
  color: var(--bh-ink);
  box-shadow: none;
  transform: none;
}

.bh-option:active {
  box-shadow: none;
  transform: none;
}

.bh-option__index {
  font-family: var(--bh-font-display);
  font-size: 12px;
  font-weight: 700;
  opacity: 0.58;
}

.bh-option__copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.bh-option__copy strong {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.bh-option__copy > span {
  color: currentColor;
  font-size: 12px;
  line-height: 1.65;
  opacity: 0.66;
}

.bh-option__mark {
  width: 17px;
  height: 17px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.bh-option.is-selected .bh-option__mark {
  border: 5px solid var(--bh-surface);
  background: var(--bh-good);
  box-shadow: 0 0 0 1px var(--bh-line);
}

.bh-option:focus-visible .bh-option__mark {
  box-shadow: 0 0 0 1px var(--bh-line), 0 0 0 4px color-mix(in srgb, var(--bh-good) 42%, transparent);
}

.bh-controls {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  margin-top: 38px;
}

.bh-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 18px;
  border: 1px solid var(--bh-line);
  border-radius: 0;
  background: var(--bh-surface);
  color: var(--bh-ink);
  font-family: var(--bh-font-jp);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.bh-button:hover,
.bh-button:focus-visible {
  transform: translateY(-2px);
  outline: 2px solid var(--bh-line);
  outline-offset: 2px;
}

.bh-button--next {
  gap: 32px;
  min-width: 180px;
  justify-content: space-between;
  background: var(--bh-ink);
  color: var(--bh-paper);
}

.bh-button--next:hover,
.bh-button--next:focus-visible {
  background: var(--bh-good);
  color: #111;
}

.bh-button:disabled {
  opacity: 0.32;
  cursor: not-allowed;
  transform: none;
}

.bh-button--back {
  justify-self: start;
  border-color: transparent;
  background: transparent;
}

.bh-result {
  --bh-result-meter-color: var(--bh-good);
  min-height: 610px;
  padding: clamp(34px, 6vw, 72px);
}

.bh-result[data-tone="watch"] {
  --bh-result-meter-color: var(--bh-watch);
}

.bh-result[data-tone="service"] {
  --bh-result-meter-color: var(--bh-service);
}

.bh-result[data-tone="danger"] {
  --bh-result-meter-color: var(--bh-danger);
}

.bh-result[data-tone="ink"] {
  --bh-result-meter-color: var(--bh-ink);
}

.bh-result__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.34fr);
  gap: 40px;
  align-items: end;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--bh-line);
}

.bh-result__hero > div:first-child > p:last-child {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--bh-muted);
  font-size: 15px;
  line-height: 1.8;
}

.bh-result__meter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 16px;
  align-content: end;
  min-width: 210px;
  padding: 8px 0 4px 24px;
  border-left: 1px solid var(--bh-soft-line);
}

.bh-result__meter-label {
  align-self: end;
  padding-bottom: 2px;
  font-family: var(--bh-font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.bh-result__meter strong {
  font-family: var(--bh-font-display);
  font-size: clamp(58px, 6vw, 76px);
  line-height: 0.75;
  letter-spacing: -0.03em;
}

.bh-result__battery {
  position: relative;
  grid-column: 1 / -1;
  height: 24px;
  margin-right: 10px;
  padding: 4px;
  border: 2px solid var(--bh-line);
  border-radius: 8px;
  background: var(--bh-surface);
}

.bh-result__battery::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -8px;
  width: 6px;
  height: 10px;
  border-radius: 0 3px 3px 0;
  background: var(--bh-line);
  transform: translateY(-50%);
}

.bh-result__battery-fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 3px;
  background: var(--bh-result-meter-color);
  transform: scaleX(var(--battery-ratio, 0.84));
  transform-origin: left center;
}

.bh-result__caution {
  margin: 22px 0 0;
  padding: 14px 16px;
  background: color-mix(in srgb, var(--bh-service) 18%, var(--bh-surface));
  font-size: 13px;
  line-height: 1.8;
}

.bh-result[data-tone="danger"] .bh-result__caution {
  background: color-mix(in srgb, var(--bh-danger) 16%, var(--bh-surface));
}

.bh-result__decision {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 30px;
  border-top: 1px solid var(--bh-line);
  border-left: 1px solid var(--bh-line);
}

.bh-result__decision > div {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-right: 1px solid var(--bh-line);
  border-bottom: 1px solid var(--bh-line);
}

.bh-result__decision span {
  color: var(--bh-muted);
  font-size: 12px;
  font-weight: 700;
}

.bh-result__decision strong {
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 600;
  line-height: 1.4;
}

.bh-result__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
  margin-top: 48px;
}

.bh-result__grid h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
}

.bh-result__grid ul,
.bh-result__grid ol {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding-left: 22px;
}

.bh-result__grid li {
  padding-left: 5px;
  color: var(--bh-muted);
  font-size: 13px;
  line-height: 1.8;
}

.bh-result__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 46px;
}

.bh-result__restart {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--bh-soft-line);
}

.bh-result__restart button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--bh-muted);
  font-family: var(--bh-font-jp);
  font-size: 12px;
  cursor: pointer;
}

.bh-result[data-tone="good"] .bh-result__eyebrow,
.bh-result[data-tone="good"] .bh-progress__track span {
  color: var(--bh-good);
}

.bh-result[data-tone="watch"] .bh-result__eyebrow {
  color: #969300;
}

.bh-result[data-tone="service"] .bh-result__eyebrow {
  color: #bc7300;
}

.bh-result[data-tone="danger"] .bh-result__eyebrow {
  color: var(--bh-danger);
}

.bh-result[data-tone="ink"] .bh-result__hero {
  border-top: 10px solid var(--bh-ink);
  padding-top: 24px;
}

.bh-guide {
  border-bottom: 1px solid var(--bh-line);
  background: var(--bh-surface);
}

.bh-guide__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(64px, 7vw, 88px) 40px;
}

.bh-guide__header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 38px;
}

.bh-guide__header h2,
.bh-source h2 {
  margin: 0;
  font-family: var(--font-product-display, var(--bh-font-display));
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 700;
  line-height: 0.94;
  text-transform: uppercase;
  white-space: nowrap;
}

.bh-guide__header p {
  max-width: 760px;
  margin: 0;
  color: var(--bh-muted);
  font-size: 14px;
  line-height: 1.85;
}

.bh-thresholds {
  display: grid;
  border-top: 1px solid var(--bh-line);
}

.bh-threshold {
  display: grid;
  grid-template-columns: 152px 164px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--bh-line);
}

.bh-threshold__battery {
  position: relative;
  width: 140px;
  height: 52px;
}

.bh-threshold__battery::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 8px;
  height: 22px;
  border-radius: 0 5px 5px 0;
  background: var(--bh-ink);
  transform: translateY(-50%);
}

.bh-threshold__battery span {
  position: relative;
  display: block;
  width: 132px;
  height: 52px;
  overflow: hidden;
  border: 3px solid var(--bh-ink);
  border-radius: 13px;
  background: #ffffff;
}

.bh-threshold__battery span::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 7px;
  background: var(--threshold-color, var(--bh-good));
  transform: scaleX(var(--threshold-ratio, 0.8));
  transform-origin: left center;
}

.bh-threshold strong {
  font-size: 19px;
  font-weight: 600;
}

.bh-threshold p {
  margin: 0;
  color: var(--bh-muted);
  font-size: 13px;
  line-height: 1.75;
}

.bh-source {
  background: var(--bh-paper);
}

.bh-source__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(64px, 7vw, 88px) 40px;
}

.bh-source__body {
  border-top: 1px solid var(--bh-line);
}

.bh-source__body p {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--bh-line);
  color: var(--bh-muted);
  font-size: 13px;
  line-height: 1.85;
}

.bh-source__body a {
  color: var(--bh-ink);
  font-weight: 600;
  text-underline-offset: 3px;
}

.bh-source__note {
  font-size: 11px !important;
}

.bh-noscript {
  padding: 36px;
  font-size: 14px;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .bh-hero__inner {
    padding: 0 24px;
  }

  .bh-hero__copy,
  .bh-hero__visual {
    padding-right: 0;
    padding-left: 0;
  }

  .bh-hero__copy {
    padding-top: 64px;
    padding-bottom: 52px;
  }

  .bh-hero__visual {
    padding-top: 42px;
    padding-bottom: 64px;
  }

  .bh-device-picker__inner,
  .bh-diagnosis__inner,
  .bh-guide__inner,
  .bh-source__inner {
    padding-right: 24px;
    padding-left: 24px;
  }

  .bh-intro__title {
    margin-bottom: 34px;
  }
}

@media (max-width: 700px) {
  .bh-hero h1 {
    font-size: clamp(52px, 15vw, 76px);
  }

  .bh-hero__jp-title {
    font-size: clamp(17px, 4.7vw, 23px);
  }

  .bh-device-picker__inner {
    padding-top: 58px;
    padding-bottom: 64px;
  }

  .bh-intro__body {
    grid-template-columns: 1fr;
  }

  .bh-app {
    min-height: 0;
    box-shadow: none;
  }

  .bh-progress {
    padding: 0 0 24px;
  }

  .bh-question {
    padding: 34px 0 0;
  }

  .bh-result {
    padding: 34px 0;
  }

  .bh-capacity-control {
    grid-template-columns: 1fr;
  }

  .bh-battery--control {
    grid-row: 2;
  }

  .bh-capacity-control input[type="range"],
  .bh-number-field {
    grid-column: 1;
  }

  .bh-options {
    grid-template-columns: 1fr;
  }

  .bh-option {
    min-height: 106px;
  }

  .bh-controls {
    grid-template-columns: auto 1fr;
  }

  .bh-button--next {
    min-width: 0;
  }

  .bh-result__hero,
  .bh-result__grid,
  .bh-result__decision {
    grid-template-columns: 1fr;
  }

  .bh-result__meter {
    width: 100%;
    max-width: none;
    padding: 24px 0 0;
    border-top: 1px solid var(--bh-soft-line);
    border-left: 0;
  }

  .bh-result__links {
    display: grid;
  }

  .bh-threshold {
    grid-template-columns: 130px 1fr;
    gap: 14px;
  }

  .bh-threshold p {
    grid-column: 1 / -1;
  }

  .bh-threshold__battery span {
    width: 116px;
    height: 46px;
  }

  .bh-threshold__battery {
    width: 124px;
    height: 46px;
  }

  .bh-threshold__battery::after {
    height: 18px;
  }
}

@media (max-width: 420px) {
  .bh-hero__inner {
    padding-right: 18px;
    padding-left: 18px;
  }

  .bh-hero__actions {
    display: grid;
  }

  .bh-hero__start {
    min-width: 0;
  }

  .bh-threshold {
    grid-template-columns: 1fr;
  }

  .bh-threshold p {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bh-battery__fill,
  .bh-progress__track span,
  .bh-button,
  .bh-option,
  .bh-hero__start {
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}
