/* Keep the nautical desktop character, with room for decisions and touch targets. */
main > *, .grid2 > *, .row > *, .pick { min-width: 0; }
h1 { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; }
p { max-width: 95ch; }
button, .button, button.small, .button.small { min-height: 36px; line-height: 1.3; display: inline-flex; align-items: center; justify-content: center; }
button:disabled { opacity: .65; cursor: default; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
summary { cursor: pointer; min-height: 40px; padding: 9px 0; font-weight: 600; }
details + details { margin-top: 12px; border-top: 1px solid var(--line); }
.decision-context { background: var(--chip); border-left: 3px solid var(--accent); padding: 12px 14px; margin: 12px 0; }
.choice-detail { display: block; max-width: 34ch; margin: 6px 0; line-height: 1.45; }
.item .actions { gap: 12px; align-items: start; }
.item .actions form { flex: 1 1 170px; }
.map-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 12px; background: var(--panel); }
.pick { padding: 14px; gap: 8px; }
.pick p { margin: 4px 0 10px; }
.board-review { padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
table.freight td.num { white-space: normal; min-width: 96px; }
table.freight td:nth-child(6) { min-width: 185px; }
@media (max-width: 600px) {
  button, .button, button.small, .button.small, input:not([type="checkbox"]):not([type="radio"]), select { min-height: 44px; }
  .picks { grid-template-columns: minmax(0, 1fr); }
  .row > label { flex: 1 1 140px; }
  .row select { width: 100%; }
  .map-tools { align-items: start; }
  .map-tools .small { max-width: 55%; }
  .item .actions form { flex-basis: 100%; }
  header.top .brand { white-space: normal; }
}

.freight-filters .row { padding: 8px 0; }
@media (max-width: 600px) {
  table.freight, table.freight tbody, table.freight tr, table.freight td { display: block; width: 100%; min-width: 0; }
  table.freight tr:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  table.freight tr { margin: 14px 0; padding: 10px; border: 1px solid var(--line); }
  table.freight td { text-align: left; border: 0; padding: 5px 0; }
  table.freight td[data-label]::before { content: attr(data-label); display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
  table.freight .hide-sm { display: none; }
  table.freight td:last-child { white-space: normal !important; }
  .freight-filters { flex: 1 1 100%; order: 2; }
}
