/* Battery Pack Assembly Machine, Figma 7364:2576. */
.battery-page .biz-process__subtitle { color: #444; line-height: 1.4; }
.battery-page .biz-process__features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.battery-page .biz-process__features li:last-child { padding-inline: 20px; }
.battery-page .battery-heading--fiber { gap: 8px; }
.battery-spec { overflow: hidden; border: 1px solid #d9d9d9; border-radius: 20px; background: var(--process-gray); }
.battery-spec h3 { padding: 14px; background: var(--process-navy); color: #fff; font-size: 20px; line-height: 1.2; text-align: center; }
.battery-spec dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 32px 0; }
.battery-spec dl > div { display: flex; flex-direction: column; justify-content: center; gap: 8px; min-width: 0; padding: 0 30px; text-align: center; }
.battery-spec dl > div + div { border-left: 1px solid #d9d9d9; }
.battery-spec dt { color: var(--process-navy); font-size: 36px; font-weight: 700; line-height: 1; }
.battery-spec dt.battery-spec__text { font-size: 28px; line-height: 1.1; }
.battery-spec dd { color: #8b8b8b; font-size: 16px; line-height: 1.4; }
.battery-group { display: flex; flex-direction: column; gap: 20px; }
.battery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 20px; }
.battery-grid--detail { grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr); }
.battery-card { min-width: 0; overflow: hidden; border: 1px solid #d9d9d9; border-radius: 20px; background: var(--process-gray); }
.battery-card h4 { margin: 0; padding: 12px; background: var(--process-navy); color: #fff; font-size: 16px; font-weight: 700; line-height: 1.2; text-align: center; }
.battery-card--detail h4 { background: var(--process-blue); }
.battery-card__body { display: flex; flex-direction: column; gap: 16px; padding: 20px; }
.battery-card__note { color: #666; font-size: 12px; line-height: 1.4; text-align: center; }
.battery-note-red { color: red; }
.battery-page .battery-card__captions { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; color: #3e3e3e; font-size: 14px; line-height: 1.5; list-style: none; }
.battery-card__captions li { display: flex; align-items: baseline; gap: 8px; }
.battery-card__captions li::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 4px; background: var(--process-blue); }
.battery-image { position: relative; display: block; border-radius: 12px; background: #fff; }
.battery-image__canvas { position: relative; display: block; width: 100%; aspect-ratio: 650 / 300; }
.battery-image__canvas > img { position: absolute; display: block; height: auto; max-width: none; }
.battery-image--pack .battery-image__canvas { aspect-ratio: 622 / 380; }
.battery-image--pack .battery-image__canvas > img:first-child { left: 17.97%; top: 12.68%; width: 63.91%; }
/* Marker geometry is relative to the same Figma image canvas, at every scale. */
.battery-image__canvas > .battery-image__marker { width: 18.1672%; }
.battery-image__marker--resistance { left: 12.2186%; top: 43.4211%; }
.battery-image__marker--laser { left: 57.717%; top: 17.9474%; }
.battery-image--resistance-detail .battery-image__canvas { aspect-ratio: 622 / 300; }
.battery-image--resistance-detail img { left: 15.72%; top: 4.47%; width: 71.62%; }
/* Fit the complete front-view source: the Figma crop trims its upper edge. */
.battery-image--dc-front img { left: 23%; top: 0; width: 46.9%; }
.battery-image--dc-side img { left: 24.95%; top: .1%; width: 44.79%; }
.battery-image--laser-detail .battery-image__canvas { aspect-ratio: 622 / 378; }
.battery-image--laser-detail img { left: 2.3%; top: 11.5%; width: 95.47%; }
.battery-image--inspection .battery-image__canvas { aspect-ratio: 650 / 354; }
.battery-image--inspection img { left: 27.18%; top: 8.8%; width: 41.95%; }
.battery-image--laser-exterior .battery-image__canvas { aspect-ratio: 650 / 380; }
.battery-image--laser-exterior img { left: 3.02%; top: 5.16%; width: 94.06%; }
.battery-image__enlarge { position: absolute; right: 8px; bottom: 4px; display: flex; align-items: center; min-height: 44px; padding: 0 8px; border-radius: 6px; background: rgb(255 255 255 / 92%); color: var(--process-blue); font-size: 12px; opacity: 0; transition: opacity .2s ease; }
.battery-image:hover .battery-image__enlarge, .battery-image:focus-visible .battery-image__enlarge { opacity: 1; }
.battery-connector { align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--process-blue); font-weight: 700; text-align: center; }
.battery-connector > span { font-size: 28px; }
.battery-connector p { font-size: 18px; line-height: 1.3; }
.battery-divider { margin: 60px 0; height: 2px; border: 0; background: #e8e8e8; }
.battery-lightbox { width: min(1100px, calc(100% - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 20px; border: 1px solid #d9d9d9; border-radius: 20px; color: #111; background: #f5f7f9; }
.battery-lightbox::backdrop { background: rgb(0 0 0 / 70%); }
.battery-lightbox form { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.battery-lightbox h2 { margin: 0; font-size: 18px; word-break: keep-all; }
.battery-lightbox button { flex-shrink: 0; min-height: 44px; padding: 8px 16px; border: 0; border-radius: 8px; color: #fff; background: #121f65; cursor: pointer; }
.battery-lightbox__hint { margin: 0 0 12px; color: #444; font-size: 14px; }
.battery-lightbox__content { max-height: 75dvh; overflow: auto; background: #fff; border-radius: 12px; }
.battery-lightbox__content .battery-image { min-width: 800px; cursor: zoom-out; }
.battery-lightbox__content .battery-image__enlarge { display: none; }
@media (max-width: 1280px) {
  .battery-spec dl > div { padding-inline: 20px; }
  .battery-spec dt { font-size: 30px; }
  .battery-spec dt.battery-spec__text { font-size: 24px; }
}
@media (max-width: 768px) {
  .battery-page .biz-process__features, .battery-grid, .battery-grid--detail { grid-template-columns: 1fr; }
  .battery-spec h3 { font-size: 18px; }
  .battery-spec dl { grid-template-columns: 1fr; padding: 0 24px; }
  .battery-spec dl > div { padding: 24px 0; }
  .battery-spec dl > div + div { border-left: 0; border-top: 1px solid #d9d9d9; }
  .battery-card__body { padding: 16px; }
  .battery-image__enlarge { opacity: 1; }
  .battery-connector { gap: 8px; flex-direction: row; }
  .battery-connector > span { transform: rotate(90deg); }
  .battery-connector p br { display: none; }
  .battery-divider { margin-block: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .battery-image__enlarge { transition: none; }
}
