.psm-sf {
  max-width: 760px;
  margin: 0 auto;
  padding-top: 24px;
  font-size: 16px;
  line-height: 1.4;
}
.psm-sf-form {
  padding: 24px;
  border-radius: 10px;
  background-color: #365287;
  text-align: center;
}
.psm-sf-title {
  display: block;
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 22px;
  font-weight: bold;
}
.psm-sf-row {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.psm-sf-zip {
  width: 220px;
  max-width: 60%;
  padding: 10px 14px !important;
  border: none !important;
  border-radius: 6px !important;
  font-size: 18px !important;
}
.psm-sf-button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  background-color: #e8a317;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}
.psm-sf-button:hover { filter: brightness(0.92); }
.psm-sf-button:disabled { opacity: 0.6; cursor: wait; }

.psm-sf-results h3,
.psm-sf-networks h3 {
  margin: 24px 0 10px;
  padding: 0;
  color: #365287;
  font-size: 20px;
  font-weight: bold;
}
.psm-sf-message,
.psm-sf-nearest {
  margin: 18px 0 0;
  padding: 0;
  font-size: 16px;
}
.psm-sf-list {
  margin: 10px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.psm-sf-station {
  margin-bottom: 10px;
  padding: 12px 16px;
  border-left: 4px solid #e8a317;
  border-radius: 6px;
  background-color: #e3e8f1;
  list-style: none;
}
.psm-sf-station-name { color: #222222; font-size: 17px; font-weight: bold; }
.psm-sf-station-place { margin: 2px 0 6px; color: #666666; font-size: 14px; }
.psm-sf-station-times { color: #333333; font-size: 15px; }

.psm-sf-network-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.psm-sf-network {
  padding: 14px 16px;
  border-radius: 8px;
  background-color: #e3e8f1;
  list-style: none;
}
.psm-sf-network-name { margin-bottom: 4px; color: #222222; font-size: 16px; font-weight: bold; }
.psm-sf-logo {
  display: block;
  max-width: 140px;
  max-height: 50px;
  margin-bottom: 8px;
  object-fit: contain;
}
.psm-sf-details { margin-top: 6px; color: #555555; font-size: 14px; }
.psm-sf-link {
  display: inline-block;
  margin-top: 8px;
  color: #365287;
  font-size: 14px;
  font-weight: bold;
  text-decoration: underline;
}

.psm-sf-all {
  margin-top: 24px;
}
.psm-sf-all summary {
  color: #365287;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}
.psm-sf-all table {
  width: 100%;
  margin-top: 12px;
  border-collapse: collapse;
  font-size: 14px;
}
.psm-sf-all th,
.psm-sf-all td {
  padding: 6px 8px;
  border: 1px solid #dddddd;
  text-align: left;
  vertical-align: top;
}

@media (max-width: 600px) {
  .psm-sf-row { flex-direction: column; align-items: stretch; }
  .psm-sf-zip { width: auto; max-width: none; }
}
