.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;
  }
}

.upload-drop-zone-modern {
  background: #f5f6fb;
  border: 2px dashed transparent;
  border-radius: 12px;
  padding: 22px 16px;
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
}

.upload-drop-zone-modern.dragover {
  border-color: #ef2b2d;
  background: #fff5f5;
}

.upload-btn-red {
  background: #ef2b2d;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 6px 12px rgba(239, 43, 45, 0.25);
}

.upload-btn-red:hover {
  opacity: 0.92;
}

.section-locked .section-title,
.section-locked button,
.section-locked input,
.section-locked select,
.section-locked textarea,
.section-locked label,
.section-locked .radio-list,
.section-locked .analysis-options,
.section-locked .inline-form-row,
.section-locked .text-center {
  opacity: 0.35;
  pointer-events: none;
  user-select: none;
}

#section-1.section-locked .plot-toolbar,
#section-1.section-locked .plot-toolbar input,
#section-1.section-locked .plot-toolbar label {
  opacity: 1 !important;
  pointer-events: auto !important;
  user-select: auto !important;
}

.min-h-0 {
  min-height: 0;
}