.pressure-planner {
  width: min(100%, 32rem);
  margin: 0.8rem auto;
  min-width: 0;
}
.planner-toggle { width: 100%; min-height: 44px; }
.planner-body {
  padding: 0.7rem;
  margin-top: 0.5rem;
  border: 2px dashed var(--ink);
  border-radius: var(--radius-card);
  background: var(--paper-2);
}
.planner-body p { margin: 0.35rem 0 0.65rem; font-size: 0.84rem; line-height: 1.45; }
.planner-choices { display: grid; grid-template-columns: 1fr; gap: 0.4rem; }
.planner-choice {
  display: grid;
  gap: 0.18rem;
  min-height: 64px;
  min-width: 44px;
  padding: 0.6rem;
  border: 2px solid var(--ink);
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.planner-choice strong { font-size: 0.87rem; }
.planner-choice span { font-size: 0.78rem; }
.planner-choice[aria-pressed="true"] { border-style: dashed; background: var(--outlet); }
.planner-choice[aria-pressed="true"] strong::before { content: "✓ "; }
.planner-board-label {
  position: relative;
  z-index: var(--z-water-effect);
  margin: 0 0 0.35rem;
  padding: 0.35rem;
  border: 2px dashed var(--ink);
  border-radius: 9px;
  background: var(--outlet);
  color: var(--ink);
  font: 700 0.75rem / 1.4 var(--font-mono);
  text-align: center;
}
.is-planned { outline: 3px dashed var(--ink); outline-offset: -6px; }
.pipe-tile.is-planned:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.planner-tile-mark {
  position: absolute;
  z-index: var(--z-water-effect);
  top: 3%;
  right: 3%;
  display: grid;
  place-items: center;
  width: 1.05rem;
  height: 1.05rem;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--outlet);
  color: var(--ink);
  font: 800 0.78rem / 1 var(--font-mono);
  pointer-events: none;
}
@media (min-width: 24rem) {
  .planner-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
