/* Split controls share the existing station panel; ordinary station cards keep their shared styles. */
#sd-ring-split {grid-column: 1 / -1;}
#sd-ring-split[hidden] {display: none;}
#station-detail-panel .ring-edit-content {
  color: var(--ui-text);
  font: inherit;
}
#station-detail-panel .ring-edit-group {
  padding: 18px 0;
  border-bottom: 1px solid var(--ui-line);
}
#station-detail-panel .ring-edit-group h3 {font-size: 13px; font-weight: 600; margin: 0 0 10px;}
#station-detail-panel .ring-edit-edges {display: flex; flex-wrap: wrap; gap: 8px 16px;}
#station-detail-panel .ring-edit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
  font-size: 13px;
  overflow-wrap: anywhere;
}
#station-detail-panel .ring-edit-content button {
  --material-button-fill: transparent;
  --material-button-hover: transparent;
  --material-button-border: transparent;
  --material-button-shadow: none;
  --material-inset: transparent;
  --ui-field: transparent;
  --ui-selection: transparent;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--ui-text);
  font: inherit;
  font-size: 12px;
  min-height: 44px;
  position: relative;
  padding: 8px 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
#station-detail-panel .ring-edit-content button[aria-pressed="true"] {font-weight: 700;}
#station-detail-panel .ring-edit-content button[aria-pressed="true"]::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: calc(50% - 10px);
  width: 20px;
  height: 2px;
  background: currentColor;
}
#station-detail-panel .ring-edit-content button:focus-visible {outline: 2px solid var(--ui-focus); outline-offset: 2px;}
#station-detail-panel .ring-edit-content button:disabled {opacity: .45; cursor: default;}
#station-detail-panel .ring-edit-content [hidden] {display: none;}
#station-detail-panel .ring-edit-message {font-size: 13px; line-height: 1.6; margin: 20px 0; white-space: pre-line;}
#station-detail-panel .ring-edit-message:empty {display: none;}

#station-detail-panel.ring-editing #sd-action-stack button {
  color: var(--ui-text);
  font-weight: 600;
  border: 0;
  background: transparent;
  box-shadow: none;
}
#station-detail-panel.ring-editing #sd-action-stack button:disabled {opacity: .45;}
