.page-title {
  font-size: 2rem;
  font-weight: 600;
  margin: 8px 0 18px 0;
}

.spectrum-page {
  width: 100%;
}

.spectrum-grid {
  display: grid;
  grid-template-columns: 38% 62%;
  gap: 16px;
  align-items: start;
}

.spectrum-col {
  min-width: 0;
}

.panel-card {
  background: #fff;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: none;
}

.panel-card-header {
  background: #f5f5f5;
  border-bottom: 1px solid #cfcfcf;
  padding: 10px 14px;
  font-size: 1rem;
  font-weight: 600;
  color: #222;
}

.panel-card-body {
  padding: 14px;
}

.section-block {
  margin-bottom: 8px;
}

.section-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.section-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.section-subtitle {
  color: #777;
  font-size: 0.9rem;
}

.section-divider {
  border: 0;
  border-top: 1px solid #d7d7d7;
  margin: 18px 0;
}

.upload-drop-zone {
  border: 1px dashed #b7b7b7;
  border-radius: 4px;
  background: #fafafa;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  text-align: center;
  padding: 12px;
}

.upload-drop-zone.dragover {
  border-color: #0d6efd;
  background: #eef5ff;
}

.inline-form-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.compact-input {
  width: 260px;
  max-width: 100%;
}

.radio-list {
  margin-top: 10px;
}

.plot-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.toolbar-label {
  font-weight: 500;
  color: #333;
}

.plot-frame {
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  background: #fff;
  min-height: 280px;
  padding: 8px;
}

#time-series-plot,
#spectrum-plot {
  width: 100%;
  min-height: 300px;
}

.resolution-text {
  font-size: 1.05rem;
  color: #333;
}

.app-btn-primary {
  border: none;
  border-radius: 4px;
  background-color: #4a90ff;
  color: #fff;
  padding: 7px 18px;
  font-weight: 500;
  box-shadow: none;
}

.app-btn-primary:hover,
.app-btn-primary:focus {
  background-color: #337df5;
  color: #fff;
}

.app-btn-primary:disabled {
  background-color: #9ebcf2;
  color: #fff;
}

@media (max-width: 1100px) {
  .spectrum-grid {
    grid-template-columns: 1fr;
  }
}