/* Subnet Planner. The shared look is in ../tool.css. */
.modes { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 12px 0 8px; padding: 0; border: 0; }
.modes legend { float: left; width: 100%; padding: 0; }
.modes label { display: flex; align-items: center; gap: 6px; min-height: 28px; cursor: pointer; }
.needs { max-width: 560px; }
.needs td { padding: 3px 6px; }
.needs input { width: 100%; height: 30px; padding: 0 6px; background: #fff; border: 1px solid #7f9db9; border-radius: 0; }
.needs td:nth-child(2) { width: 9em; }
.needs td:last-child { width: 2.5em; text-align: center; }
.remove { width: 28px; height: 28px; padding: 0; font-size: 16px; line-height: 1; color: #a01c0c; background: none; border: 1px solid transparent; border-radius: 3px; cursor: pointer; }
.remove:hover { border-color: #9293aa; background: var(--silver-button); }
.needs-tools, .plan-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 8px 0 0; }
.needs-tools .hint, .plan-tools .hint { margin: 0; }
#equal-size { width: 100%; max-width: 560px; }
.plan td, .plan th { white-space: nowrap; }
.plan td:first-child { white-space: normal; min-width: 8em; }
.plan .copy { font-size: 14px; }
.free { margin-top: 12px; }
.free ul { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 4px 0 0; padding: 0; list-style: none; }

@media (max-width: 520px) {
  .needs input { height: 44px; font-size: 16px; }
  .remove { width: 44px; height: 44px; }
}
