/* Beach conditions board: lifeguard-stand whiteboard */
.board {
  border: 2px solid var(--border);
  border-top: 6px solid var(--brand);
  border-radius: var(--radius);
  background: var(--surface);
  position: relative;
}
.board::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 1.25rem;
  width: 2.25rem;
  height: 1.4rem;
  background: var(--brand);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translateY(-100%);
  opacity: .9;
}
.board__label {
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 .5rem;
}
.board .field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: .75rem;
  margin-bottom: 1rem;
}
.board .field input,
.board .field select {
  min-width: 64px;
  width: 100%;
}
.board__checks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .4rem .9rem;
  margin-bottom: 1rem;
}
.board__checks .check {
  padding: .45rem .6rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  line-height: 1.3;
}
.board .result-value[data-level="2"] { color: var(--brand); }
.board .result-value[data-level="1"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brand); text-underline-offset: .25em; }
.board .result-value[data-level="0"] { color: var(--ink); }
.board .result-list li span:first-child { color: var(--ink); }
.board .result-list li span.num { color: var(--muted); text-align: right; }
.board .result-list li.is-flag span.num { color: var(--brand); font-weight: 600; }
/* Long button labels (e.g. compare pages) wrap instead of overflowing */
.btn {
  white-space: normal;
  max-width: 100%;
  height: auto;
  text-align: center;
  overflow-wrap: anywhere;
}
@media (max-width: 480px) {
  .board::before { right: .75rem; width: 1.75rem; }
  .board__checks { grid-template-columns: 1fr; }
}