.eqToolPage {
  display: grid;
  gap: 10px;
}

.eqToolPage .btn {
  padding: 8px 10px;
  font-size: 0.84rem;
  min-height: 34px;
}

.eqToolHeader {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 10px;
  align-items: stretch;
}

.eqToolHeader h1 {
  margin: 0 0 4px;
  font-size: clamp(1.95rem, 2.8vw, 2.7rem);
  line-height: 1.05;
}

.eqToolHeader .eyebrow {
  margin: 0 0 4px;
  color: #95c6f5;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eqToolHeader .lede {
  margin: 0;
  font-size: 1rem;
  max-width: 780px;
}

.eqToolHeader .compactHow {
  margin-top: 6px;
  font-size: 0.9rem;
  color: #a7c2df;
}

.limitCard {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: linear-gradient(180deg, #101827, #0f1724);
  padding: 10px 12px;
}

.limitCard h2 {
  margin: 0 0 4px;
  font-size: 0.95rem;
}

.limitCard ul {
  margin: 0;
  padding-left: 1rem;
  line-height: 1.35;
}

.limitCard p {
  margin: 6px 0 0;
  font-size: 0.84rem;
}

.eqToolGrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 372px;
  gap: 10px;
}

.surface {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: linear-gradient(180deg, #101827, #0f1724);
  box-shadow: var(--shadow);
}

.eqMainSurface {
  padding: 10px;
}

.surfaceHead {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
}

.surfaceHead h2 {
  margin: 0;
  font-size: 0.98rem;
}

.surfaceHeadTitleRow {
  display: grid;
  gap: 2px;
}

.nodeHintTop {
  color: #9fb9d8;
  font-size: 0.7rem;
  line-height: 1.3;
}

.surfaceHeadActions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: nowrap;
}

.toggleRow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d7eaff;
  font-size: 0.9rem;
  white-space: nowrap;
  line-height: 1;
}

.graphWrap {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #0f2038;
}

#eqGraphCanvas {
  width: 100%;
  height: 518px;
  display: block;
}

.timelineWrap {
  margin-top: 8px;
  display: grid;
  gap: 5px;
}

.timelineTop {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#timelineTime {
  font-size: 0.88rem;
  color: #c5d9f2;
}

#timelineWaveform {
  width: 100%;
  height: 32px;
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(101, 129, 165, 0.35);
  background: rgba(7, 19, 37, 0.75);
  cursor: pointer;
}

#timelineWaveform.disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.eqSideSurface {
  padding: 8px;
  display: grid;
  gap: 6px;
  align-content: start;
}

.eqSideSurface h2 {
  margin: 0;
  font-size: 1.08rem;
}

.controlGroup {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 7px;
  background: rgba(15, 27, 44, 0.6);
}

.fieldLabel {
  margin: 0 0 5px;
  font-size: 0.9rem;
  color: #d6e8ff;
  font-weight: 700;
  display: inline-block;
}

.sliderGroup .fieldLabel {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.0;
}

.sliderGroup input[type="range"] {
  margin: 0 0 2px;
  display: block;
}

.sliderGroup .fieldLabel + input[type="range"] {
  margin-top: -8px;
}

.sliderGroup input[type="range"]:last-of-type {
  margin-bottom: 0;
}

.smallNote {
  margin: 4px 0 0;
  color: #9cb5d2;
  font-size: 0.86rem;
}

.actionsGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.btn-small {
  width: 100%;
  margin-top: 6px;
}

.bandList {
  display: grid;
  gap: 5px;
  max-height: 170px;
  overflow: auto;
}

.bandRow {
  display: grid;
  grid-template-columns: 1.22fr 1.04fr 1.04fr 0.98fr auto;
  gap: 5px;
  align-items: center;
}

.bandRow select {
  padding: 6px 8px;
  font-size: 0.86rem;
  min-width: 0;
}

.bandRow input[type="number"] {
  padding: 6px 8px;
  font-size: 0.88rem;
  min-width: 0;
}

.bandRow button {
  padding: 6px 8px;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.eqSeoGuide {
  padding: 12px;
}

.eqSeoGuide h2 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.eqSeoGuide p {
  margin: 0;
  color: #aecaeb;
  font-size: 0.9rem;
}

.eqSeoGrid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.eqSeoGrid h3 {
  margin: 0 0 5px;
  font-size: 0.9rem;
}

.eqSeoGrid ul {
  margin: 0;
  padding-left: 1rem;
  color: #aecaeb;
  font-size: 0.84rem;
  line-height: 1.38;
}

@media (max-width: 1100px) {
  .eqToolHeader {
    grid-template-columns: 1fr;
  }
  .eqToolGrid {
    grid-template-columns: 1fr;
  }
  #eqGraphCanvas {
    height: 340px;
  }
  .eqSeoGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 980px) {
  .eqToolHeader .lede {
    display: block;
    font-size: 0.9rem;
    max-width: 720px;
  }
  .eqToolPage {
    gap: 8px;
  }
  .eqToolHeader {
    gap: 8px;
  }
  #eqGraphCanvas {
    height: 478px;
  }
  .bandList {
    max-height: 140px;
  }
}
