/* ポータブル電源で家電が何時間使えるか — ツール固有のスタイル（共通は /_shared/ie-sunpo.css） */
.pp-modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 0.5rem; }
.pp-mode {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--su-line);
  border-radius: var(--su-radius-sm);
  background: var(--su-surface-alt);
  cursor: pointer; font-size: 0.92rem; font-weight: 700;
}
.pp-mode:has(input:checked) { border-color: var(--su-accent); background: var(--su-accent-tint); }
.pp-mode input { accent-color: var(--su-accent); width: 1.1rem; height: 1.1rem; margin: 0; }
.pp-group[hidden] { display: none; }
.pp-line { margin: 0.5rem 0 0; font-weight: 700; }
.pp-note { margin: 0.4rem 0 0; font-size: 0.9rem; }
.pp-out { margin: 1rem 0 0; }
.pp-out[hidden] { display: none; }
.pp-out__pick > * { background: var(--su-accent-tint); font-weight: 700; }
.pp-errors { margin: 0.75rem 0 0; padding-left: 1.2em; }
.pp-formula {
  font-weight: 700;
  background: var(--su-surface-alt);
  border-left: 4px solid var(--su-accent);
  border-radius: 0 var(--su-radius-sm) var(--su-radius-sm) 0;
  padding: 0.6rem 0.9rem;
}
.pp-doc { margin-top: 2.75rem; }
.pp-doc > h2:first-child { margin-top: 0; }
.pp-pub th[scope="row"] { font-weight: 400; white-space: nowrap; }
.pp-pub td { white-space: nowrap; }
#quick-table th[scope="row"] { white-space: nowrap; }
.pp-items { border: 1px solid var(--su-line); border-radius: var(--su-radius-sm); padding: 0.6rem 0.75rem 0.4rem; margin: 0 0 1rem; }
.pp-items legend { padding: 0 0.3rem; }
.pp-item { display: grid; grid-template-columns: 1.6rem repeat(3, minmax(0, 1fr)); gap: 0.5rem; align-items: end; margin-bottom: 0.6rem; }
.pp-item__no { font-weight: 700; color: var(--su-muted); padding-bottom: 0.55rem; text-align: center; }
.pp-mini { display: grid; gap: 0.2rem; font-size: 0.8rem; color: var(--su-muted); }
.pp-mini .su-control { width: 100%; min-width: 0; }
.pp-judge { margin: 0.4rem 0 0; font-size: 0.92rem; }
.pp-judge--ok { color: var(--su-accent-ink); font-weight: 700; }
.pp-judge--ng { color: #b3261e; font-weight: 700; }
